[go: up one dir, main page]

DE102011018878B3 - Method for synchronizing data stored in database of distributed database system of e.g. smart phone, involves providing duplicator between databases for synchronizing databases, where databases are processed on fixed network node - Google Patents

Method for synchronizing data stored in database of distributed database system of e.g. smart phone, involves providing duplicator between databases for synchronizing databases, where databases are processed on fixed network node Download PDF

Info

Publication number
DE102011018878B3
DE102011018878B3 DE102011018878A DE102011018878A DE102011018878B3 DE 102011018878 B3 DE102011018878 B3 DE 102011018878B3 DE 102011018878 A DE102011018878 A DE 102011018878A DE 102011018878 A DE102011018878 A DE 102011018878A DE 102011018878 B3 DE102011018878 B3 DE 102011018878B3
Authority
DE
Germany
Prior art keywords
databases
database
network nodes
fixed network
duplicator
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
DE102011018878A
Other languages
German (de)
Inventor
Stefan Erl
Chen Tang
Javier Mulero Chaves
Anton Donner
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Deutsches Zentrum fuer Luft und Raumfahrt eV
Original Assignee
Deutsches Zentrum fuer Luft und Raumfahrt eV
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Deutsches Zentrum fuer Luft und Raumfahrt eV filed Critical Deutsches Zentrum fuer Luft und Raumfahrt eV
Priority to DE102011018878A priority Critical patent/DE102011018878B3/en
Application granted granted Critical
Publication of DE102011018878B3 publication Critical patent/DE102011018878B3/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor

Landscapes

  • Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Computing Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The method involves finding databases on a mobile network node and a fixed network node (14a), where the nodes are partially connected with each other over a wireless connection. Two databases (16a, 18a) are processed on the fixed network node, where the databases exchange data with the mobile- and fixed network nodes, respectively. A duplicator (20a) is provided between the databases for synchronizing the databases. Data modification of one of the databases is informed to the duplicator such that modified data is fetched from the database by the duplicator.

Description

Die Erfindung betrifft ein Verfahren zum Synchronisieren der Datenbestände von Datenbanken in einem verteilten Datenbanksystem, wobei sich Datenbanken auf mobilen Netzwerkknoten und auf festen Netzwerkknoten befinden, die zumindest teilweise über nicht ständig verfügbare Netzwerkverbindungen miteinander verbunden sind.The invention relates to a method for synchronizing the databases of databases in a distributed database system, wherein databases are located on mobile network nodes and on fixed network nodes, which are at least partially interconnected via non-permanently available network connections.

Hierbei können sich Datenbänke auf mobilen und festen Netzwerkknoten befinden. Mobile Netzwerkknoten sind häufig über nicht ständig verfügbare Netzverbindungen mit dem Kernnetz, das heißt mit den festen Netzwerkknoten verbunden. Beispielsweise können einzelne Instanzen des verteilten Datenbanksystems auf mobilen Geräten wie zum Beispiel Notebooks, Tablet-PCs, Smartphones usw. installiert sein, wobei die Netzanbindung dieser Geräte drahtlos erfolgen kann, so dass relativ häufig Verbindungsbeeinträchtigungen vorkommen. Replikationsmechanismen von verteilten Datenbanksystemen können mit diesen Linkunterbrechungen bzw. der damit verbundenen Änderung der Netzwerktopologie durch Wegfall und Wiedereintritt von Instanzen nicht automatisiert umgehen. Die Datenbankinstanzen, die auf den Netzwerkknoten installiert sind, verlieren somit ihre Konsistenz. Eine Veränderung der Netzwerktopologie erfordert entweder eine manuelle Umkonfigurierung des Replikationssystems oder entsprechende aufwändige Signalisierungen zwischen den Datenbankinstanzen. Diese kann bei häufigen Änderungen der Topologie, die beispielsweise verursacht werden kann, wenn viele mobile Instanzen bei schlechten Empfang mit dem Netzwerk verbunden sind, einen signifikanten Verbrauch von verfügbarer Bandbreite verursachen. Insbesondere schmalbandige, drahtlose Verbindungen zu den mobilen Instanzen leiden unter diesem zusätzlichen Signalisierungsverkehr, der die verfügbare Bandbreite für die eigentliche Übertragung von Nutzdaten beschränkt.In this case, databases can be located on mobile and fixed network nodes. Mobile network nodes are often connected to the core network via non-permanently available network connections, that is, to the fixed network nodes. For example, individual instances of the distributed database system can be installed on mobile devices such as notebooks, tablet PCs, smartphones, etc., whereby the network connection of these devices can be wireless, so that relatively often connection impairments occur. Replication mechanisms of distributed database systems can not handle these link breaks or the associated change in the network topology by eliminating and reentry of instances not automated. The database instances installed on the network nodes thus lose their consistency. A change in the network topology requires either a manual reconfiguration of the replication system or corresponding complex signaling between the database instances. This can cause significant consumption of available bandwidth if there are frequent changes to the topology, such as may be caused when many mobile instances are connected to the network in poor reception. In particular, narrowband wireless connections to the mobile entities suffer from this additional signaling traffic that limits the available bandwidth for the actual transmission of payload data.

Ein Beispiel eines verteilten Datenbanksystems ist in 1 dargestellt. Hier bilden mehrere feste Netzwerkknoten 14a, 14b, 14c ein Rumpfnetz 10a, innerhalb dessen sie über stabile Netzwerkverbindungen miteinander verbunden sind. Im Randbereich des Rumpfnetzes 10a sind die festen Netzwerkknoten 14a, 14b mit den mobilen Netzwerkknoten 12a bis 12f verbunden. Hierbei handelt es sich um instabile Verbindungen, wie beispielsweise drahtlose Verbindungen.An example of a distributed database system is in 1 shown. Here are several fixed network nodes 14a . 14b . 14c a hull net 10a within which they are interconnected via stable network connections. In the edge area of the hull network 10a are the fixed network nodes 14a . 14b with the mobile network nodes 12a to 12f connected. These are unstable connections, such as wireless connections.

Viele Replikationslösungen arbeiten nach dem Master-Slave oder Master-Master Prinzip, wobei jeweils nur zwei Instanzen miteinander verbunden sind. Der Ingres Replicator arbeitet nach dem peer-to-peer Prinzip, das heißt eine Instanz zwischen zwei anderen Instanzen kann derart konfiguriert werden, dass Transaktionen von einer Quelle zu einem Ziel weitergereicht werden können. Ingres Replicator verwendet zur Identifizierung von Transaktionen eine Kombination aus Quellen-ID und Transaktions-ID. Damit Transaktionen von jeder Quell-Instanz zu jeder Ziel-Instanz weiter geleitet werden können, muss jede Datenbankinstanz entsprechende Weiterleitungsregeln für alle Quellen und Ziele des Datenbanksystems kennen. Dies entspricht einer globalen Sicht auf das verteilte Datenbanksystem, die ständig Änderungen unterworfen ist, sobald mobile Instanzen im Datenbanksystem vorhanden sind. Diese Änderungen müssten entsprechend in den Weiterleitungsregeln aller beteiligten Datenbankinstanzen berücksichtigt werden.Many replication solutions operate on the master-slave or master-master principle, with only two instances connected at a time. The Ingres Replicator works on a peer-to-peer basis, meaning that an instance between two other instances can be configured to hand-off transactions from a source to a destination. Ingres Replicator uses a combination of source ID and transaction ID to identify transactions. To allow transactions to be forwarded from each source instance to each target instance, each database instance must be aware of appropriate forwarding rules for all database system sources and destinations. This corresponds to a global view of the distributed database system, which is subject to constant change as soon as mobile instances are present in the database system. These changes would have to be taken into account accordingly in the forwarding rules of all participating database instances.

DE 10 2009 038 672 A1 beschreibt ein Verfahren zum Durchführen von Programmcode-Updates in einem zumindest teilweise vermaschten Netzwerk, das mehrere Knotengruppen von Netzwerkknoten unterschiedlichen Typs aufweist. DE 10 2009 038 672 A1 describes a method for performing program code updates in an at least partially meshed network having multiple node groups of network nodes of different types.

US 2006/0 155 827 A1 beschreibt die Rekonfiguration einer Gruppe von Netzwerkknoten in einem Ad-hoc-Netzwerk, um die Konsistenz eines Software-Updates zu verbessern. US 2006/0 155 827 A1 describes how to reconfigure a group of network nodes in an ad hoc network to improve the consistency of a software update.

US 5 995 981 A betrifft die Initialisierung von Datenobjekten auf verteilten Datenbanken. Hierbei überwachen alle Knoten den Zustand der jeweils anderen Knoten durch Empfang von Knotenstatusmitteilungen über das Netzwerk. US Pat. No. 5,995,981 concerns the initialization of data objects on distributed databases. Here, all nodes monitor the state of each other's nodes by receiving node status messages over the network.

US 5 907 849 A beschreibt ein Verfahren zum Wiederherstellen von Fehlern in verteilten Datenbanksystemen. US 5 907 849 A describes a method for recovering errors in distributed database systems.

Aufgabe der Erfindung ist es, ein vereinfachtes Verfahren zum Synchronisieren der Datenbestände von Datenbanken in einem verteilten Datenbanksystem mit festen und mobilen Netzwerkknoten bereit zu stellen.The object of the invention is to provide a simplified method for synchronizing the databases of databases in a distributed database system with fixed and mobile network nodes.

Die Lösung der Aufgabe erfolgt erfindungsgemäß durch die Merkmale des Anspruchs 1.The object is achieved according to the invention by the features of claim 1.

Beim erfindungsgemäßen Verfahren werden Datenbestände von Datenbanken in einem verteilten Datenbanksystem synchronisiert, wobei sich Datenbanken auf mobilen Netzwerkknoten und festen Netzwerkknoten befinden. Diese sind zumindest teilweise über nicht ständig verfügbare Netzwerkverbindungen miteinander verbunden. Dies bedeutet, dass zumindest ein Teil der Netzwerkknoten über solche Netzwerkverbindungen mit dem Datenbanksystem verbunden ist, die nicht ständig verfügbar sind. Hierbei kann es sich beispielsweise um drahtlose Verbindungen handeln.In the method according to the invention, databases of databases in a distributed database system are synchronized, wherein databases are located on mobile network nodes and fixed network nodes. These are at least partially interconnected via non-permanently available network connections. This means that at least some of the network nodes are connected to the database system via such network connections, which are not always available. These may be, for example, wireless connections.

Erfindungsgemäß werden auf den festen Netzwerkknoten jeweils zwei Datenbanken betrieben, wobei die erste Datenbank Daten insbesondere ausschließlich mit mobilen Netzwerkknoten austauscht und die zweite Datenbank Daten insbesondere ausschließlich mit festen Netzwerkknoten austauscht. Diese festen Netzwerkknoten, mit denen Daten ausgetauscht werden, können den gleichen Aufbau, wie die zweite Datenbank aufweisen. Weiterhin ist zwischen der ersten und zweiten Datenbank ein Duplikator zum Synchronisieren der ersten und zweiten Datenbank angeordnet.According to the invention, two databases each are located on the fixed network nodes operated, wherein the first database exchanges data in particular exclusively with mobile network nodes and the second database exchanges data in particular exclusively with fixed network nodes. These fixed network nodes with which data is exchanged can have the same structure as the second database. Furthermore, a duplicator for synchronizing the first and second databases is arranged between the first and second databases.

Das verteilte Datenbanksystem wird somit erfindungsgemäß in ein stabiles Rumpfnetzwerk und eine veränderliche Anzahl mobiler Netzwerkknoten aufgeteilt. Innerhalb des stabilen Rumpfnetzwerkes sind feste Netzwerkknoten über stabile Netzwerkverbindungen miteinander verbunden. Im Randbereich des Rumpfnetzwerkes sind feste Netzwerkknoten mit einer veränderlichen Anzahl von mobilen Netzwerkknoten zum Beispiel drahtlos verbunden.The distributed database system is thus according to the invention divided into a stable trunk network and a variable number of mobile network nodes. Within the stable trunk network, fixed network nodes are interconnected via stable network connections. In the periphery of the trunk network, fixed network nodes are wirelessly connected to a variable number of mobile network nodes, for example.

Durch das erfindungsgemäße Verfahren ist somit ein einfaches Synchronisieren von Datenbeständen in einem verteilten Datenbanksystem möglich, wobei Ressourcen geschont werden, da wenig Signalisierungs- und bzw. Konfigurierungsaufwand betrieben werden muss. Die zur Verfügung stehende Bandbreite, beispielsweise bei drahtlosen Verbindungen kann somit zum Übertragen von Nutzdaten verwendet werden.The inventive method thus a simple synchronization of databases in a distributed database system is possible, with resources are spared because little signaling and configuration or configuration must be operated. The available bandwidth, for example in the case of wireless connections, can thus be used to transmit user data.

Es ist bevorzugt, dass für die Verbindung und Synchronisierung der einzelnen Datenbanken ausschließlich existierende Datenbankschnittstellen zur Anbindung externer Programme verwendet werden. Hierdurch kann ein tiefer Eingriff in die internen Abläufe des Datenbankmanagementsystems vermieden werden.It is preferred that only existing database interfaces for connecting external programs are used for the connection and synchronization of the individual databases. As a result, a deep intervention in the internal processes of the database management system can be avoided.

Durch die erfindungsgemäße Entkopplung der ersten und zweiten Datenbank in einem Netzwerkknoten kann ein mobiler Netzwerkknoten mit jedem anderen festen Netzwerkknoten Daten austauschen und ist nicht an einen bestimmten festen Netzwerkknoten gebunden. Es ist somit irrelevant, welchen festen Bezugsknoten ein mobiler Netzwerkknoten hat. Ein Wechsel des Bezugsknotens hat somit keinen Aufwand für die Signalisierung zur Folge.As a result of the inventive decoupling of the first and second databases in a network node, a mobile network node can exchange data with every other fixed network node and is not bound to a specific fixed network node. It is therefore irrelevant which fixed reference node has a mobile network node. A change of the reference node thus has no effort for the signaling result.

Weiterhin ermöglicht die erfindungsgemäße Entkopplung der ersten und zweiten Datenbank in den festen Netzwerkknoten eine Flexibilität hinsichtlich der Anzahl der mobilen Netzwerkknoten. Gemäß dem Stand der Technik ist es notwendig, dass das Datenbankmanagementsystem über eine globale Sicht über alle festen und mobilen Netzwerkknoten verfügt, so dass keine Flexibilitäten hinsichtlich der Anzahl mobiler Knoten möglich ist. Erfindungsgemäß ist es nicht notwendig, die Anzahl der mobilen Netzwerkknoten zu kennen, so dass eine volle Skalierbarkeit gegeben ist.Furthermore, the inventive decoupling of the first and second database in the fixed network node allows flexibility in terms of the number of mobile network nodes. According to the prior art, it is necessary for the database management system to have a global view of all the fixed and mobile network nodes, so that no flexibility in the number of mobile nodes is possible. According to the invention, it is not necessary to know the number of mobile network nodes, so that full scalability is given.

Weiterhin wird durch die genannten Merkmale der Erfindung eine leichtere Austauschbarkeit von einzelnen Replikatorsystemen oder Synchronisierungslösungen ermöglicht. In der jeweiligen ersten und zweiten Datenbank in einem festen Netzwerkknoten können jeweils angepasste unterschiedliche Lösungen verwendet werden, die die entsprechenden Anforderungen am Besten erfüllen. Hierbei kann es sich auch um Lösungen von unterschiedlichen Herstellern handeln.Furthermore, the features of the invention allow easier replaceability of individual replicator systems or synchronization solutions. In the respective first and second database in a fixed network node each adapted different solutions can be used, which meet the corresponding requirements best. These can also be solutions from different manufacturers.

Es ist bevorzugt, dass die Synchronisierung zwischen der ersten und zweiten Datenbank in einem festen Netzwerkknoten durch die folgenden Schritte stattfindet:
Zunächst wird der Duplikator durch eine der beiden Datenbanken über eine auf dieser Datenbank erfolgte Datenänderung informiert. Dieser Schritt wird als ”Notify” bezeichnet.
It is preferred that the synchronization between the first and second databases in a fixed network node occur through the following steps:
First, the duplicator is informed by one of the two databases about a data change made on this database. This step is called "notify".

Anschließend werden die geänderten Daten von dieser Datenbank durch den Duplikator abgeholt. Dieser Schritt wird auch als ”Fetch” bezeichnet.Subsequently, the changed data is retrieved from this database by the duplicator. This step is also called a "fetch".

Anschließend werden die abgeholten Daten durch den Duplikator an die andere Datenbank im festen Netzwerkknoten übertragen. Dieser Schritt wird als ”Check and Insert” bezeichnet.Subsequently, the fetched data is transmitted through the duplicator to the other database in the fixed network node. This step is called "Check and Insert".

Anschließend können die Daten von hieraus unter Verwendung der regulären Replikationsmechanismen im Bereich der festen Knoten weiter verteilt werden.Then the data can be further distributed from here using the regular replication mechanisms in the fixed node area.

Der Duplikator arbeitet bidirektional, das heißt Daten werden von der zweiten Datenbank, das heißt der Datenbank im Replikationsverbund in umgedrehter Weise an die angeschlossenen mobilen Instanzen weiter gereicht. Die oben genannten Verfahrensschritte sind derart formuliert, dass sie für ein Übertragen der Daten durch den Duplikator in beide Richtungen anwendbar sind.The duplicator operates bidirectionally, that is, data is passed from the second database, that is, the database in the replication network in an inverted manner to the connected mobile instances. The above-mentioned process steps are formulated to be applicable for transferring the data through the duplicator in both directions.

Die erste und zweite Datenbank, die auf den festen Netzwerkknoten betrieben wird, kann auch als Tabelle bezeichnet werden, wobei sich beide Tabellen oder Datenbanken auf dem selben Datenträger im festen Netzwerkknoten befinden können.The first and second database operating on the fixed network node may also be referred to as a table, where both tables or databases may reside on the same volume in the fixed network node.

Es ist bevorzugt, dass Daten zwischen den festen Netzwerkknoten und/oder zwischen den festen und mobilen Netzwerkknoten unter Verwendung üblicher Synchronisierungsverfahren synchronisiert werden. Dies bedeutet, dass der Datenaustausch zwischen den mobilen Datenbankinstanzen oder Netzwerkknoten und der jeweils ersten Datenbank in den festen Netzwerkknoten des Randbereichs des Rumpfnetzwerkes über übliche Synchronisierungsverfahren stattfindet. Selbiges gilt für den Datenaustausch zwischen den festen Knoten innerhalb des Rumpfnetzwerkes. Es müssen somit keine komplexen Synchronisierungsalgorithmen implementiert werden.It is preferred that data be synchronized between the fixed network nodes and / or between the fixed and mobile network nodes using conventional synchronization techniques. This means that the data exchange between the mobile database instances or network nodes and the respective first database in the fixed network nodes of the peripheral area of the trunk network takes place via customary synchronization methods. The same applies to the data exchange between the fixed nodes within the core network. Thus, no complex synchronization algorithms need to be implemented.

Bevorzugt sind in jedem festen Netzwerkknoten Weiterleitungsregeln für alle anderen festen Netzwerkknoten innerhalb des Datenbanksystems gespeichert. Diese Weiterleitungsregeln müssen jedoch in den mobilen Netzwerkknoten nicht gespeichert sein, so dass die benötigte globale Sicht im Replikationsverbund sich auf das Kernsystem und nicht auf die mobilen Netzwerkknoten beschränkt. Dies ist besonders leicht realisierbar.Forwarding rules for all other fixed network nodes within the database system are preferably stored in each fixed network node. However, these forwarding rules need not be stored in the mobile network nodes so that the required global view in the replication network is limited to the core system and not to the mobile network nodes. This is particularly easy to implement.

Erfindungsgemäß bilden die festen Netzwerkknoten ein Kern- oder Rumpfnetz. Es ist bevorzugt, dass die festen Netzwerkknoten aus dem Randbereich des Kernnetzes, die mit mobilen Netzwerkknoten verbunden sind, nur die mit ihnen verbundenen mobilen Netzwerkknoten nicht jedoch andere mobile Netzwerkknoten des Datenbanksystems kennen müssen.According to the invention, the fixed network nodes form a core or trunk network. It is preferred that the fixed network nodes from the edge area of the core network, which are connected to mobile network nodes, only need to know the mobile network nodes connected to them, but not other mobile network nodes of the database system.

Weiterhin ist es bevorzugt, dass beim Hinzufügen oder Entfernen von mobilen Netzwerkknoten zum oder vom Datenbanksystem keine Änderungen des Datenbankmanagementsystems notwendig ist.Furthermore, it is preferred that no changes to the database management system are necessary when adding or removing mobile network nodes to or from the database system.

Im Folgenden werden bevorzugte Ausführungsformen der Erfindung anhand von Figuren erläutert.In the following, preferred embodiments of the invention will be explained with reference to figures.

Es zeigen:Show it:

1 ein verteiltes Datenbanksystem gemäß dem Stand der Technik, 1 a distributed database system according to the prior art,

2 den Datenaustausch zwischen der ersten und zweiten Datenbank in einem festen Netzwerkknoten, und 2 the exchange of data between the first and second database in a fixed network node, and

3 eine Ausführungsform eines verteilten Datenbanksystems gemäß dem erfindungsgemäßen Verfahren. 3 an embodiment of a distributed database system according to the inventive method.

1 wurde bereits in Zusammenhang mit dem Stand der Technik erläutert. 1 has already been explained in connection with the prior art.

2 zeigt den Datenaustausch zwischen der ersten Datenbank 16a und der zweiten Datenbank 18a, die sich beide im festen Knoten 14a befinden. Zwischen diesen beiden Datenbanken ist der Duplikator 20a angeordnet. Die erste Datenbank 16a bedient eine oder mehrere mobile Datenbankinstanzen, die in 2 nicht dargestellt sind. Die zweite Datenbank 18a bedient die mit ihr verbundenen festen Netzwerkknoten, die in 2 ebenfalls nicht dargestellt sind. Der Ablauf ist wegen der besseren Übersichtlichkeit beispielhaft nur in einer Richtung dargestellt. 2 shows the data exchange between the first database 16a and the second database 18a , both in the fixed node 14a are located. Between these two databases is the duplicator 20a arranged. The first database 16a Serves one or more mobile database instances running in 2 are not shown. The second database 18a Serves the fixed network nodes connected to it in 2 also not shown. The process is shown as an example only in one direction because of the better clarity.

Gemäß 2 empfängt die erste Datenbank 16a in einem ersten Schritt Daten von einer mobilen Datenbankinstanz. Hierüber informiert sie im zweiten Schritt (”notify”) den Duplikator 20a. Dieser holt die in der ersten Datenbank 16a empfangenen Daten von dieser Datenbank 16a ab (Schritt 3: ”fetch”). In den Schritten 4 und 5 (”check and insert”) werden die abgeholten Daten durch den Duplikator 20a an die zweite Datenbank 18a übertragen. Gemäß Schritt 6 werden diese Daten an die festen Datenbankinstanzen übermittelt, die mit der zweiten Datenbank 18a verbunden sind.According to 2 receives the first database 16a in a first step, data from a mobile database instance. In the second step ("notify") she informs about the duplicator 20a , This one brings in the first database 16a received data from this database 16a from (step 3: "fetch"). In steps 4 and 5 ("check and insert") the collected data is passed through the duplicator 20a to the second database 18a transfer. According to step 6, this data is transmitted to the fixed database instances that are connected to the second database 18a are connected.

In 3 ist eine Ausführungsform eines verteilten Datenbanksystems 10 dargestellt, auf dem das erfindungsgemäße Verfahren ablaufen kann.In 3 is an embodiment of a distributed database system 10 represented, on which the inventive method can proceed.

Innerhalb des Rumpfnetzwerkes 10a sind die festen Knoten 14a, 14b, 14c angeordnet. In jedem dieser festen Netzwerkknoten befinden sich eine erste und eine zweite Datenbank 16a, 18a; 16b, 18b,; 16c, 18c. Weiterhin befinden sich in jedem festen Knoten 14a bis 14c jeweils ein Duplikator 20a bis 20c.Inside the hull network 10a are the solid nodes 14a . 14b . 14c arranged. Each of these fixed network nodes contains a first and a second database 16a . 18a ; 16b . 18b ; 16c . 18c , Continue to be in each fixed node 14a to 14c one duplicator each 20a to 20c ,

Die festen Netzwerkknoten 14a, 14b im Randbereich des Rumpfnetzwerkes 10a sind mit den mobilen Datenbankinstanzen 12a bis 12h verbunden. Die Daten, die von diesen mobilen Datenbankinstanzen an die festen Knoten 14a, 14b übermittelt werden, werden in diesen festen Knoten über die Duplikatoren 20a, 20b an die jeweils zweite Datenbank 18a, 18b übertragen. Von hieraus werden diese Daten an die verbundenen anderen festen Netzwerkknoten übertragen.The fixed network nodes 14a . 14b in the edge area of the hull network 10a are with the mobile database instances 12a to 12h connected. The data from these mobile database instances to the fixed nodes 14a . 14b are transmitted in these fixed nodes via the duplicators 20a . 20b to the second database 18a . 18b transfer. From here, this data is transmitted to the other connected fixed network nodes.

Das erfindungsgemäße Verfahren kann insbesondere im Rahmen eines Datenmanagements für den Katastrophenschutz eingesetzt werden. Neben einer solchen Anwendung sind weitere Anwendungen denkbar, bei denen eine Instanz eines verteilten Datenbanksystems auf einem mobilen Terminal laufen soll. Eine Umsetzung ist in allen Bereichen der mobilen Datenerfassung von Logistik, Waren und Wirtschaft möglich.The inventive method can be used in particular in the context of data management for civil protection. In addition to such an application, further applications are conceivable in which an instance of a distributed database system is to run on a mobile terminal. An implementation is possible in all areas of mobile data acquisition of logistics, goods and economy.

Claims (6)

Verfahren zum Synchronisieren der Datenbestände von Datenbanken in einem verteilten Datenbanksystem (10), wobei sich Datenbanken auf mobilen Netzwerkknoten (12a bis 12h) und auf festen Netzwerkknoten (14a, 14b, 14c) befinden, die zumindest teilweise über nicht ständig verfügbare Netzwerkverbindungen miteinander verbunden sind, dadurch gekennzeichnet, dass auf den festen Netzwerkknoten (14a bis 14c) jeweils zwei Datenbanken (16a, 18a; 16b, 18b; 16c, 18c) betrieben werden, wobei die erste Datenbank (16a, 16b, 16c) Daten insbesondere ausschließlich mit mobilen Netzwerkknoten (12a bis 12h) austauscht und die zweite Datenbank (18a, 18b, 18c) Daten insbesondere ausschließlich mit festen Netzwerkknoten (14a, 14b, 14c) austauscht und wobei zwischen der ersten Datenbank (16a, 16b, 16c) und der zweiten Datenbank (18a, 18b, 18c) ein Duplikator (20a, 20b, 20c) zum Synchronisieren der ersten und zweiten Datenbank vorgesehen ist.Method for synchronizing the databases of databases in a distributed database system ( 10 ), whereby databases on mobile network nodes ( 12a to 12h ) and on fixed network nodes ( 14a . 14b . 14c ), which are at least partially interconnected via non-permanently available network connections, characterized in that on the fixed network node ( 14a to 14c ) two databases each ( 16a . 18a ; 16b . 18b ; 16c . 18c ), the first database ( 16a . 16b . 16c ) Data, in particular exclusively with mobile network nodes ( 12a to 12h ) and the second database ( 18a . 18b . 18c ) Data, in particular exclusively with fixed network nodes ( 14a . 14b . 14c ) and between the first database ( 16a . 16b . 16c ) and the second database ( 18a . 18b . 18c ) a duplicator ( 20a . 20b . 20c ) is provided for synchronizing the first and second databases. Verfahren nach Anspruch 1, dadurch gekennzeichnet, dass die Synchronisierung zwischen der ersten Datenbank (16a bis 16c) und der zweiten Datenbank (18a bis 18c) in einem festen Netzwerkknoten (14a, 14b, 14c) durch die folgenden Schritte stattfindet: • Informieren des Duplikators (20a, 20b, 20c) durch eine der beiden Datenbanken (16a, 18a; 16b, 18b; 16c, 18c) über eine auf ihr erfolgte Datenänderung, • Abholen der geänderten Daten von dieser Datenbank durch den Duplikator (20a, 20b, 20c), • Übertragen der abgeholten Daten durch den Duplikator (20a, 20b, 20c) an die andere Datenbank im festen Netzwerkknoten (14a, 14b, 14c).Method according to claim 1, characterized in that the synchronization between the first database ( 16a to 16c ) and the second database ( 18a to 18c ) in a fixed network node ( 14a . 14b . 14c ) by the following steps: • informing the duplicator ( 20a . 20b . 20c ) by one of the two databases ( 16a . 18a ; 16b . 18b ; 16c . 18c ) about a data change made on it, • picking up the changed data from this database by the duplicator ( 20a . 20b . 20c ), • transfer of the retrieved data through the duplicator ( 20a . 20b . 20c ) to the other database in the fixed network node ( 14a . 14b . 14c ). Verfahren nach Anspruch 1 oder 2, dadurch gekennzeichnet, dass die Daten zwischen den festen Netzwerkknoten (14a bis 14c) und/oder zwischen den festen und mobilen Netzwerkknoten (12a bis 12h) unter Verwendung üblicher Synchronisationsverfahren synchronisiert werden.Method according to claim 1 or 2, characterized in that the data between the fixed network nodes ( 14a to 14c ) and / or between the fixed and mobile network nodes ( 12a to 12h ) are synchronized using conventional synchronization techniques. Verfahren nach einem der Ansprüche 1 bis 3, dadurch gekennzeichnet, dass in jedem festen Netzwerkknoten (14a bis 14c) Weiterleitungsregeln für alle anderen festen Netzwerkknoten (14a bis 14c) im Datenbanksystem (10) gespeichert sind, wobei diese Weiterleitungsregeln in den mobilen Netzwerkknoten (12a bis 12h) insbesondere nicht gespeichert sind.Method according to one of claims 1 to 3, characterized in that in each fixed network node ( 14a to 14c ) Forwarding rules for all other fixed network nodes ( 14a to 14c ) in the database system ( 10 ), these forwarding rules being stored in the mobile network nodes ( 12a to 12h ) are not stored in particular. Verfahren nach einem der Ansprüche 1 bis 4, dadurch gekennzeichnet, dass die festen Netzwerkknoten (14a bis 14c) ein Kernnetz (10a) bilden und die festen Netzwerkknoten (14a, 14b) aus dem Randbereich des Kernnetztes (10a), die mit mobilen Netzwerkknoten (12a bis 12h) verbunden sind, nur die mit ihnen verbundenen mobilen Netzwerkknoten, nicht jedoch andere mobile Netzwerkknoten des Datenbanksystems (10) kennen müssen.Method according to one of Claims 1 to 4, characterized in that the fixed network nodes ( 14a to 14c ) a core network ( 10a ) and the fixed network nodes ( 14a . 14b ) from the edge region of the core network ( 10a ) with mobile network nodes ( 12a to 12h ), only the mobile network nodes connected to them, but not other mobile network nodes of the database system ( 10 ). Verfahren nach einem der Ansprüche 1 bis 5, dadurch gekennzeichnet, dass beim Hinzufügen oder Entfernen von mobilen Netzwerkknoten (12a bis 12h) zum oder vom Datenbanksystem (10) keine Änderung des Datenbankmanagementsystem erfolgt.Method according to one of claims 1 to 5, characterized in that when adding or removing mobile network nodes ( 12a to 12h ) to or from the database system ( 10 ) no change of the database management system takes place.
DE102011018878A 2011-04-28 2011-04-28 Method for synchronizing data stored in database of distributed database system of e.g. smart phone, involves providing duplicator between databases for synchronizing databases, where databases are processed on fixed network node Expired - Fee Related DE102011018878B3 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
DE102011018878A DE102011018878B3 (en) 2011-04-28 2011-04-28 Method for synchronizing data stored in database of distributed database system of e.g. smart phone, involves providing duplicator between databases for synchronizing databases, where databases are processed on fixed network node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
DE102011018878A DE102011018878B3 (en) 2011-04-28 2011-04-28 Method for synchronizing data stored in database of distributed database system of e.g. smart phone, involves providing duplicator between databases for synchronizing databases, where databases are processed on fixed network node

Publications (1)

Publication Number Publication Date
DE102011018878B3 true DE102011018878B3 (en) 2012-09-27

Family

ID=46831869

Family Applications (1)

Application Number Title Priority Date Filing Date
DE102011018878A Expired - Fee Related DE102011018878B3 (en) 2011-04-28 2011-04-28 Method for synchronizing data stored in database of distributed database system of e.g. smart phone, involves providing duplicator between databases for synchronizing databases, where databases are processed on fixed network node

Country Status (1)

Country Link
DE (1) DE102011018878B3 (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019081071A1 (en) 2017-10-23 2019-05-02 Siemens Aktiengesellschaft METHOD AND CONTROL SYSTEM FOR CONTROLLING AND / OR MONITORING DEVICES
WO2019081085A1 (en) 2017-10-23 2019-05-02 Siemens Aktiengesellschaft METHOD AND CONTROL SYSTEM FOR CONTROLLING AND / OR MONITORING DEVICES
WO2019081434A1 (en) * 2017-10-23 2019-05-02 Siemens Aktiengesellschaft METHOD AND CONTROL SYSTEM FOR CONTROLLING AND / OR MONITORING DEVICES
WO2019141392A1 (en) * 2018-01-22 2019-07-25 Siemens Aktiengesellschaft Method and system for controlling and/or monitoring devices
WO2019141391A1 (en) * 2018-01-22 2019-07-25 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
WO2019201461A1 (en) * 2018-04-18 2019-10-24 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
JP2021500789A (en) * 2017-10-23 2021-01-07 シーメンス アクチエンゲゼルシヤフトSiemens Aktiengesellschaft Methods and control systems for controlling and / or monitoring equipment

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5907849A (en) * 1997-05-29 1999-05-25 International Business Machines Corporation Method and system for recovery in a partitioned shared nothing database system using virtual share disks
US5995981A (en) * 1997-06-16 1999-11-30 Telefonaktiebolaget Lm Ericsson Initialization of replicated data objects
US20060155827A1 (en) * 2002-08-22 2006-07-13 Docomo Laboratories Reconfiguration of a group of network nodes in an ad-hoc network
DE102009038672A1 (en) * 2009-08-24 2011-03-10 Siemens Aktiengesellschaft Method and apparatus for performing program code updates in a network

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5907849A (en) * 1997-05-29 1999-05-25 International Business Machines Corporation Method and system for recovery in a partitioned shared nothing database system using virtual share disks
US5995981A (en) * 1997-06-16 1999-11-30 Telefonaktiebolaget Lm Ericsson Initialization of replicated data objects
US20060155827A1 (en) * 2002-08-22 2006-07-13 Docomo Laboratories Reconfiguration of a group of network nodes in an ad-hoc network
DE102009038672A1 (en) * 2009-08-24 2011-03-10 Siemens Aktiengesellschaft Method and apparatus for performing program code updates in a network

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP7065956B2 (en) 2017-10-23 2022-05-12 シーメンス アクチエンゲゼルシヤフト Methods and control systems for controlling and / or monitoring equipment
WO2019081085A1 (en) 2017-10-23 2019-05-02 Siemens Aktiengesellschaft METHOD AND CONTROL SYSTEM FOR CONTROLLING AND / OR MONITORING DEVICES
WO2019081086A1 (en) 2017-10-23 2019-05-02 Siemens Aktiengesellschaft METHOD AND CONTROL SYSTEM FOR CONTROLLING AND / OR MONITORING DEVICES
WO2019081434A1 (en) * 2017-10-23 2019-05-02 Siemens Aktiengesellschaft METHOD AND CONTROL SYSTEM FOR CONTROLLING AND / OR MONITORING DEVICES
US12045027B2 (en) 2017-10-23 2024-07-23 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
US11665015B2 (en) 2017-10-23 2023-05-30 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
US11615007B2 (en) 2017-10-23 2023-03-28 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
EP3719713A1 (en) 2017-10-23 2020-10-07 Siemens Aktiengesellschaft Method and control system for controlling an execution of transactions
WO2019081071A1 (en) 2017-10-23 2019-05-02 Siemens Aktiengesellschaft METHOD AND CONTROL SYSTEM FOR CONTROLLING AND / OR MONITORING DEVICES
JP2021500789A (en) * 2017-10-23 2021-01-07 シーメンス アクチエンゲゼルシヤフトSiemens Aktiengesellschaft Methods and control systems for controlling and / or monitoring equipment
CN111869165A (en) * 2018-01-22 2020-10-30 西门子股份公司 Method and control system for controlling and/or monitoring a device
US11231958B2 (en) 2018-01-22 2022-01-25 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
CN111869165B (en) * 2018-01-22 2022-05-24 西门子股份公司 Method and control system for controlling and/or monitoring a device
US11362914B2 (en) 2018-01-22 2022-06-14 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
WO2019141391A1 (en) * 2018-01-22 2019-07-25 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
WO2019141392A1 (en) * 2018-01-22 2019-07-25 Siemens Aktiengesellschaft Method and system for controlling and/or monitoring devices
US11412047B2 (en) 2018-04-18 2022-08-09 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices
WO2019201461A1 (en) * 2018-04-18 2019-10-24 Siemens Aktiengesellschaft Method and control system for controlling and/or monitoring devices

Similar Documents

Publication Publication Date Title
DE102011018878B3 (en) Method for synchronizing data stored in database of distributed database system of e.g. smart phone, involves providing duplicator between databases for synchronizing databases, where databases are processed on fixed network node
DE602005000635T2 (en) Method and network node for configuring the topology of a network
DE69838506T2 (en) PROCEDURE FOR TRANSACTIONS BETWEEN DISTRIBUTED DATABASES
EP3446466B1 (en) Method for fast reconfiguration of gm clocks in the tsn network by means of an explicit teardown message
DE112018001386T5 (en) INFORMATION MANAGEMENT SYSTEM, VEHICLE IN-DEVICE, SERVER AND ROUTING TABLE CHANGE PROCEDURE
DE102011089587A1 (en) Subscriber station of a bus system and method for transmitting messages between subscriber stations of a bus system
DE102014206989A1 (en) Method and system for the deterministic autoconfiguration of a device
EP3472820B1 (en) Updating a digital map
EP3028182B1 (en) Method and system for synchronising data
EP3172869B1 (en) Method for reproducing delays in networks and corresponding gateway
DE112013003240B4 (en) Method for controlling a motor vehicle transmission
EP1810523B1 (en) Method and products for aligning data between a manager and an agent in a management network
DE60313746T2 (en) METHOD FOR NETWORK COMMUNICATION WITH A CHIP CARD USING ASYNCHRONOUS MESSAGES
EP1619849B1 (en) Method for synchronising a distributed system
EP3800517A1 (en) Redundant automation system, method for providing such an automation system, computer program and computer-readable medium
DE102013200845A1 (en) Method and system for time synchronization in an ad hoc network
DE102006054090A1 (en) Method for executing a service in a decentralized data network
DE102018004173A1 (en) Method and system for performing data transactions in exchange for assets in a network
DE102013003271A1 (en) Method for setting up and / or updating a programming of a control device of a means of transport
EP3396919A1 (en) Method for transferring data from one device to a data processing means, transmission unit, device and system
EP4335127B1 (en) Computer-implemented method for operating a high availability end-device in a network
WO2008012301A2 (en) Method for executing a service in a local data network
EP1195678A2 (en) Operating method for a data processing system with a redundant processing unit
EP3786026B1 (en) Railway system and method for controlling same
DE102015200954B4 (en) Method for processing vehicle-to-X messages, control device and storage medium

Legal Events

Date Code Title Description
R012 Request for examination validly filed
R016 Response to examination communication
R018 Grant decision by examination section/examining division
R020 Patent grant now final

Effective date: 20121228

R119 Application deemed withdrawn, or ip right lapsed, due to non-payment of renewal fee
R079 Amendment of ipc main class

Free format text: PREVIOUS MAIN CLASS: G06F0017300000

Ipc: G06F0016270000