Method of database replication and database system using the same
Abstract
A method of database replication and a database system using the same method are provided, wherein the method includes: coupling a switch to a first database and a filter, wherein the switch mirrors a data packet of the first database to the filter, wherein the filter adds a header to the data packet; and coupling a master receiver to the filter and a second database, wherein the master receiver receives the data packet from the filter and performs an inspection for the data packet according to the header, wherein the master receiver transmits the data packet to the second database in response to the data packet passing the inspection.
Claims
exact text as granted — not AI-modifiedWhat is claimed is:
1 . A database system for database replication, comprising:
a first database; a filter; a switch, coupled to the first database and the filter, wherein the switch mirrors a data packet of the first database to the filter, wherein the filter adds a header to the data packet; a second database; and a master receiver, coupled to the filter and the second database, wherein the master receiver receives the data packet from the filter and performs an inspection for the data packet according to the header, wherein the master receiver transmits the data packet to the second database in response to the data packet passing the inspection.
2 . The database system of claim 1 , wherein the master receiver receives the data packet from the filter via a first one-way link circuit.
3 . The database system of claim 1 , further comprising:
a slave receiver, coupled to the filter and the master receiver, wherein the filter generates a redundant data packet of the data packet with the header, wherein the slave receiver receives the redundant data packet from the filter and forwards the redundant data packet to the master receiver.
4 . The database system of claim 3 , wherein the master receiver transmits the redundant data packet to the second database in response to the data packet failing the inspection.
5 . The database system of claim 4 , wherein the master receiver performs a second inspection for the redundant data packet and transmits the redundant data packet to the second database in response to the redundant data packet passing the second inspection.
6 . The database system of claim 5 , wherein the master receiver discards the redundant data packet in response to the redundant data packet failing the second inspection.
7 . The database system of claim 3 , wherein the master receiver receives the redundant data packet from the filter via a second one-way link circuit.
8 . The database system of claim 1 , wherein the master receiver discards the data packet in response to the data packet failing the inspection, wherein the database system further comprising:
a diagnosis device, coupled to the master receiver, wherein the diagnosis device receives the data packet discarded by the master receiver and outputs a report according to the data packet.
9 . The database system of claim 1 , wherein the header comprises a sequence number corresponding to a data stream, wherein the master receiver performs the inspection according to the sequence number.
10 . The database system of claim 1 , wherein the first database generates a first event log associated with the data packet and transmits the first event log to the second database, wherein the second database generates a second event log associated with the data packet and outputs a report associated with a comparison result between the first event log and the second event log.
11 . The database system of claim 1 , wherein the master receiver removes the header from the data packet before transmitting the data packet to the second database.
12 . The database system of claim 1 , wherein the switch transmits the data packet to the filter via a physical layer port, wherein the filter transmits the data packet with header to the first one-way link circuit via the physical layer port.
13 . A method of database replication, comprising:
coupling a switch to a first database and a filter, wherein the switch mirrors a data packet of the first database to the filter, wherein the filter adds a header to the data packet; and coupling a master receiver to the filter and a second database, wherein the master receiver receives the data packet from the filter and performs an inspection for the data packet according to the header, wherein the master receiver transmits the data packet to the second database in response to the data packet passing the inspection.Join the waitlist — get patent alerts
Track US2023185821A1 — get alerts on status changes and closely related new filings.
We store only your email — no account needed. See our privacy policy.