[go: up one dir, main page]

CN107979631A - The method and apparatus of data synchronization - Google Patents

The method and apparatus of data synchronization Download PDF

Info

Publication number
CN107979631A
CN107979631A CN201610941440.6A CN201610941440A CN107979631A CN 107979631 A CN107979631 A CN 107979631A CN 201610941440 A CN201610941440 A CN 201610941440A CN 107979631 A CN107979631 A CN 107979631A
Authority
CN
China
Prior art keywords
synchronization
server apparatus
synchrodata
data
operation interface
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.)
Granted
Application number
CN201610941440.6A
Other languages
Chinese (zh)
Other versions
CN107979631B (en
Inventor
尹相兵
李南熹
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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201610941440.6A priority Critical patent/CN107979631B/en
Publication of CN107979631A publication Critical patent/CN107979631A/en
Application granted granted Critical
Publication of CN107979631B publication Critical patent/CN107979631B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/178Techniques for file synchronisation in file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • Information Transfer Between Computers (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The present invention relates to information technology field, the method and apparatus for disclosing data synchronization, the method for client device includes:Send and ask to server apparatus, receive operation interface of the server apparatus transmitted by response to the request;Received operation interface is presented;After the synchronic command of input is received from operation interface, client-side program is called;Synchrodata is obtained from multiple data sources by the client-side program;The synchrodata obtained is encapsulated into data packet, delivers a packet to server apparatus to carry out data synchronization.This method can ensure to obtain complete synchrodata, each data for needing synchronization is synchronized in system, and improve the diversity of data synchronization.

Description

The method and apparatus of data synchronization
Technical field
The present invention relates to information technology field, and in particular, to a kind of method and apparatus of data synchronization.
Background technology
The user of application can carry out various businesses operation in equipment, when carrying out business operation, it is necessary to which business is grasped The basic information for making relevant information or some changes is synchronized in the remote end entities such as database or the operation system of distal end.For example, User can call local program of making out an invoice to make out an invoice using the billing system of make out an invoice software or access server end.Carry out Make out an invoice when operating, it is necessary to the information for having ended invoice or basic informations of some initialization, be synchronized to long-range application On server.
In the prior art, data are synchronously completed by service application software, wherein synchronous data source is fixed, this Cause synchronous data imperfect, do not need synchronous data to be synchronized in system by each.
The content of the invention
The object of the present invention is to provide a kind of method and apparatus of data synchronization, to solve above-mentioned technical problem at least partly Ground solves above-mentioned technical problem.
To achieve these goals, the present invention provides a kind of method of data synchronization, for client device, this method bag Include:Send and ask to server apparatus, receive operation interface of the server apparatus transmitted by response to the request;Presentation is connect The operation interface of receipts;After the synchronic command of input is received from operation interface, client-side program is called;Pass through the client End program obtains synchrodata from multiple data sources;The synchrodata obtained is encapsulated into data packet, is sent the packet within It is synchronous to carry out data to server apparatus.
Preferably, the method further includes:The synchronous condition of input is received from operation interface;The synchronization bar that will be received Part is encapsulated into data packet, delivers a packet to server apparatus to preserve synchronous condition.
Preferably, the method further includes:The log content project of input is received from operation interface;The day that will be received Will content item is encapsulated into data packet, delivers a packet to server apparatus;Server apparatus is received according to the daily record The synchronization log that content item is generated;Received synchronization log is presented.
Preferably, it is described synchrodata is obtained from multiple data sources by the client-side program to include:Client-side program Multiple types at least are obtained in both from database, application program and file system using Java Java technology and/or C++ technologies The synchrodata of type.
According to another aspect of the present invention, there is provided a kind of method of data synchronization, for server apparatus, this method bag Include:Receive the request that client device is sent;In response to the request, extraction operation interface, client is sent to by operation interface End equipment;Receive the data packet that client device is sent;Synchrodata is parsed from data packet, synchrodata is converted to together Form used in step, the synchrodata after format conversion is synchronized in one or more systems.
Preferably, the method further includes:Synchronous condition is parsed from data packet, preserves the synchronous condition;It is described Synchrodata after format conversion is synchronized to one or more systems includes:The synchronous condition preserved is loaded, according to described Synchrodata after format conversion is synchronized in one or more systems by synchronous condition.
Preferably, the method further includes:Log content project is parsed from data packet;According to log content project tune Corresponding log content information is taken, synchronization log is generated using log content information;Synchronization log is sent to client device.
According to another aspect of the invention, there is provided a kind of device of data synchronization, for client device, the device bag Include:Communication module, is asked for being sent to server apparatus, receives operation of the server apparatus transmitted by response to the request Interface;Processing module, for received operation interface to be presented, after the synchronic command of input is received from operation interface, Client-side program is called, synchrodata is obtained from multiple data sources by the client-side program, the synchrodata that will be obtained It is encapsulated into data packet;The communication module is additionally operable to deliver a packet to server apparatus to carry out data synchronization.
Preferably, the processing module is additionally operable to receive the synchronous condition of input from operation interface, same by what is received Step condition is encapsulated into data packet;The communication module is additionally operable to deliver a packet to server apparatus to preserve synchronization bar Part.
Preferably, the processing module is additionally operable to receive the log content project of input from operation interface, will be received Log content project be encapsulated into data packet;The communication module is additionally operable to deliver a packet to server apparatus, receives The synchronization log that server apparatus is generated according to the log content project;The processing module is additionally operable to be presented what is received Synchronization log.
Preferably, the processing module is used to utilize Java Java technology and/or C++ technologies from number by client-side program According at least both middle polytype synchrodatas of acquisition of storehouse, application program and file system.
A kind of device of data synchronization is provided according to another aspect of the invention, for server apparatus, the device bag Include:Receiving module, for receiving the request of client device transmission;Processing module, in response to the request, extraction operation Interface;Sending module, for the operation interface extracted to be sent to client device;The receiving module is additionally operable to receive visitor The data packet that family end equipment is sent;The processing module is additionally operable to parse synchrodata from data packet, and synchrodata is turned Form used in synchronization is changed to, the synchrodata after format conversion is synchronized in one or more systems.
Preferably, the processing module is additionally operable to parse synchronous condition from data packet, preserves the synchronous condition, adds The synchronous condition preserved is carried, the synchrodata after format conversion is synchronized to by one or more systems according to the synchronous condition In.
Preferably, the processing module is additionally operable to parse log content project from data packet, according to log content item Mesh transfers corresponding log content information, and synchronization log is generated using log content information;The sending module is additionally operable to synchronization Daily record is sent to client device.
Asked through the above technical solutions, being sent to server apparatus, receive server apparatus in response to transmitted by request Operation interface, received operation interface is presented, after the synchronic command of input is received from operation interface, calls client Program is held, synchrodata is obtained from multiple data sources by the client-side program, the synchrodata obtained is encapsulated into number Data synchronization is carried out according to server apparatus in bag, is delivered a packet to.In this way, in the present invention by asking from server Equipment obtains operation interface, when synchronic command is inputted in operation interface, calls and is used for the client-side program that synchronizes from more A data source obtains synchrodata and synchronizes operation, and then can ensure to obtain complete synchrodata, is needed each together The data of step are synchronized in system, and improve the diversity of data synchronization.
Other features and advantages of the present invention will be described in detail in subsequent specific embodiment part.
Brief description of the drawings
Attached drawing is for providing a further understanding of the present invention, and a part for constitution instruction, with following tool Body embodiment is used to explain the present invention together, but is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the flow chart of the method for the data synchronization for client device according to embodiments of the present invention;
Fig. 2 is the schematic diagram of operation interface according to embodiments of the present invention;
Fig. 3 is the flow chart of the process of offer synchronous condition according to embodiments of the present invention;
Fig. 4 is the flow chart of the process of self-defined synchronization log according to embodiments of the present invention;
Fig. 5 is the schematic diagram of synchronization log according to embodiments of the present invention;
Fig. 6 is the flow chart of the method for the data synchronization for server apparatus according to embodiments of the present invention;
Fig. 7 is the flow chart of the process of the self-defined synchronization log of generation according to embodiments of the present invention;
Fig. 8 is the schematic diagram of the exemplary scenario of carry out data synchronization according to embodiments of the present invention;
Fig. 9 is the flow chart of the method according to embodiments of the present invention that data synchronization is carried out in scene as shown in Figure 8;
Figure 10 is the structure chart of the device of the data synchronization for client device according to embodiments of the present invention;And
Figure 11 is the structure chart of the device of the data synchronization for client device according to embodiments of the present invention.
Embodiment
The embodiment of the present invention is described in detail below in conjunction with attached drawing.It should be appreciated that this place is retouched The embodiment stated is merely to illustrate and explain the present invention, and is not intended to limit the invention.
Fig. 1 is the flow chart of the method for data synchronization according to embodiments of the present invention, and this method can be used for various clients Equipment, such as PC (PC), smart mobile phone, tablet computer etc..As shown in Figure 1, this method may include following steps.
In step s 110, send and ask to server apparatus, receive server apparatus in response to asking transmitted behaviour Make interface.
For example, when opening synchronous related web page on a client device, client device send http request to Server apparatus.Operation interface is sent to client device by server apparatus extraction operation interface.
In the step s 120, received operation interface is presented.
Client device shows the operation interface of reception in display or screen, for example, operation circle as shown in Figure 2 Face.The operation interface have recorded the time of last time data synchronization, and the from date of last time execution and Close Date.
In addition, in another example, the implementation status of each synchrodata is can also look in operation interface, it is synchronous IP, port configuration, fixed setting condition etc..
In step s 130, after the synchronic command of input is received from operation interface, client-side program is called.
For example, when " synchronization " button is clicked in operation interface, synchronic command is received from operation interface, visitor Family end equipment can utilize the object and method call client-side program built in browser.
So, it is possible to obtain operation interface by way of accessing server apparatus, by operation interface operate come Call client-side program that synchrodata is sent to server apparatus, it is synchronous to carry out data by server apparatus.
In step S140, synchrodata is obtained from multiple data sources by client-side program.
In one embodiment, it is described synchrodata is obtained from multiple data sources by client-side program to may include client journey Sequence is a variety of from least obtaining in both for database, application program and file system using Java Java technology and/or C++ technologies The synchrodata of type.
For example, client-side program can be by java or C++ technologies, and from database, application program is (for example, make out an invoice Software), the different data sources such as file system, get different types of data, the data of different pieces of information structure.For example, structuring Different types of data may include the data such as character type in database, date type, numeric type, non-structured different type number According to the picture that may include in file system, video, text, word document etc..
It so, it is possible the data to different data sources, the data of different types of data and different structure synchronize, and carry The high diversity of data synchronizations.
In step S150, the synchrodata obtained is encapsulated into data packet, server is delivered a packet to and sets It is standby synchronous to carry out data.
For example, after client-side program gets data, by network encryption, data encoding and encapsulation, and pass through Socket (socket) is established with server apparatus and links passage, and data packet is delivered to server apparatus.Server apparatus connects After receiving data packet, data packet is decrypted and is decoded, parsing is carried out to data packet and obtains data, converts data to synchronization Form used, the data after format conversion are synchronized in the database system that either file system or others are applied.It is logical Cross encryption method and the security that can improve data transfer is encrypted.
Through the above technical solutions, can ensure to obtain complete synchrodata, need synchronous data synchronous by each Into system, and improve the diversity of data synchronization.
In one embodiment, as shown in figure 3, this method may also include the steps of.
In step s 302, the synchronous condition of input is received from operation interface.
In step s 304, the synchronous condition received is encapsulated into data packet, delivers a packet to server and set It is standby to preserve synchronous condition.
For example, user inputs synchronous condition in operation interface, and client device passes through network encryption, data encoding And encapsulation, and passage is linked by establishing socket (socket) with server apparatus, the data for carrying synchronous condition Bag is delivered to server apparatus.After server apparatus receives data packet, data packet is decrypted, data packet is parsed Synchronous condition is obtained, synchronous condition is preserved, and the synchronous condition progress data for being loaded directly into keeping in synchronization are same Step.
In this way, user is when synchrodata, server apparatus can automatic loading synchronous condition, user do not have to every time Synchronous condition is inputted, so that convenient for users.
In one embodiment, as shown in figure 4, this method may also include the steps of.
In step S402, the log content project of input is received from operation interface.
In step s 404, the log content project received is encapsulated into data packet, delivers a packet to service Device equipment.
In step S406, the synchronization log that server apparatus is generated according to log content project is received.
In step S408, received synchronization log is presented.
For example, user can customize synchronization log.User by operation interface input journal content item, for example, Operator, operating time, elapsed time, implementing result and failure cause of simultaneously operating etc..Client device passes through network Encryption, data encoding and encapsulation, and passage is linked by establishing socket (socket) with server apparatus, day will be carried The data packet of will content item is delivered to server apparatus.After server apparatus receives data packet, data packet is decrypted, Parsing is carried out to data packet and obtains log content project.Server apparatus extracts related letter according to log content project from record Breath, synchronization log is generated using relevant information, and synchronization log is sent to client device.Client's single device receives synchronization Presented after daily record, the synchronization log of presentation is as shown in Figure 5.
It so, it is possible to be needed to provide the synchronization log of customization according to user, be user-friendly, so as to when occurring extremely Location of mistake can be carried out in time.
Fig. 6 is the flow chart of the method for data synchronization according to embodiments of the present invention, and this method can be used for various servers Equipment, such as application server, system server etc..As shown in fig. 6, this method may include following steps.
In step S610, the request that client device is sent is received.
In step S620, in response to request, extraction operation interface, client device is sent to by operation interface.
In step S630, the data packet that client device is sent is received.
In step S640, synchrodata is parsed from data packet, synchrodata is converted into form used in synchronization, will Synchrodata after format conversion is synchronized in one or more systems.
For example, client device sends a http request to server apparatus, and server apparatus receives this Http request, responds the http request, extraction operation interface, client device is sent to by operation interface.User passes through operation Operation in interface causes client device to call client-side program that synchrodata is sent to server apparatus.For example, client After end program gets data, by network encryption, data encoding and encapsulation, and by establishing socket with server apparatus (socket) links passage, and data packet is delivered to server apparatus.After server apparatus receives data packet, data are carried out Decryption and decoding, carry out data packet parsing and obtain data used in synchronization.Server apparatus can be according to the form of setting with treating Correspondence between synchronous system carries out format conversion to data so that the data after format conversion are adapted to be synchronized System.Afterwards, the data after format conversion are synchronized to corresponding system to be synchronized, such as database or file system, Or the system of other applications.
Wherein, Netty open source technology frames can be used, multiple client equipment is realized and is carried out at the same time to server apparatus Transmission, and then improve efficiency of transmission.And it is possible to which data are encrypted with transmission, strengthen Information Security.
In one embodiment, the method may also include and synchronous condition is parsed from data packet, preserve synchronous condition.Institute The synchronous condition that the synchrodata after format conversion is synchronized to and may include that loading preserves in one or more systems is stated, according to same Synchrodata after format conversion is synchronized in one or more systems by step condition.
In this way, user is when synchrodata, server apparatus can automatic loading synchronous condition, user do not have to every time Synchronous condition is inputted, so that convenient for users.
In one embodiment, as shown in fig. 7, the method may also include the steps of.
In step S702, log content project is parsed from data packet.
In step S704, corresponding log content information is transferred according to log content project, is given birth to using log content information Into synchronization log.
In step S706, synchronization log is sent to client device.
It so, it is possible to be needed to provide the synchronization log of customization according to user, be user-friendly, so as to when occurring extremely Location of mistake can be carried out in time.
Fig. 8 is the schematic diagram of the exemplary scenario of carry out data synchronization according to embodiments of the present invention.It is synchronous to carry out data System include client device and server apparatus, client device includes browser and client-side program, client-side program Database, make out an invoice software and file system in addressable client device.Pass through between client device and server apparatus TCP/IP establishes connection, and server apparatus can carry out data to the file system of system, database and other application system It is synchronous.As shown in figure 9, method may include following steps in the present embodiment.
In step S902, the browser of client device sends http request to server apparatus.In step S904, Server apparatus receives http request, extraction operation interface.In step S906, server apparatus response http request will Operation interface is sent to client device.In step S908, client device receives server apparatus in response to http request Transmitted operation interface.In step S910, received operation interface is presented in the browser of client device, for example, such as Operation interface shown in Fig. 2.In step S912, when " synchronization " button is clicked in operation interface, connect from operation interface Synchronic command is received, client device utilizes the object and method call client-side program built in browser.In step S914, Client-side program is obtained polytype using Java technology and/or C++ technologies from database, application program and file system Synchrodata.In step S916, client device receives the synchronous condition of input from operation interface.In step S918, Synchrodata and synchronous condition encryption are encapsulated into data packet by client device, deliver a packet to server apparatus. In step S920, server apparatus receives the data packet that client device is sent, and data packet is decrypted, and therefrom parses same Step data and synchronous condition.In step S922, synchrodata is converted to form used in synchronization by server apparatus, according to synchronization Synchrodata after format conversion is synchronized in the file system in system, database and other application system by condition.In step In rapid S924, client device receives the log content project of input from operation interface.In step S926, client device The log content project received is encapsulated into data packet, delivers a packet to server apparatus.In step S928, clothes Device equipment of being engaged in receives the data packet of carrying log content project, and log content project is parsed from data packet.In step S930 In, server apparatus transfers corresponding log content information according to log content project, and synchronous day is generated using log content information Will, client device is sent to by synchronization log.In step S932, client device receives server apparatus according in daily record The synchronization log that appearance project is generated.In step S934, received synchronization log is presented in the browser of client device.
Above example is only used for illustrating technical solution in the present invention, is not used in the protection model of the limitation present invention Enclose.
Figure 10 is the structure chart of the device of data synchronization according to embodiments of the present invention, which can be used for various clients Equipment, such as PC (PC), smart mobile phone, tablet computer etc..As shown in Figure 10, which may include following module.
Communication module 1010, is asked for being sent to server apparatus, receives server apparatus in response to the request institute The operation interface of transmission.
Processing module 1020, for received operation interface to be presented, is receiving the synchronization of input from operation interface After instruction, client-side program is called, synchrodata is obtained from multiple data sources by the client-side program, it is same by what is obtained Step data is encapsulated into data packet;
Communication module 1010 is additionally operable to deliver a packet to server apparatus to carry out data synchronization.
In one embodiment, processing module 1020 is additionally operable to receive the synchronous condition of input from operation interface, will be connect The synchronous condition of receipts is encapsulated into data packet;Communication module 1010 is additionally operable to deliver a packet to server apparatus to preserve together Step condition.
In one embodiment, processing module 1020 is additionally operable to receive the log content project of input from operation interface, will The log content project received is encapsulated into data packet;Communication module 1010, which is additionally operable to deliver a packet to server, to be set It is standby, receive the synchronization log that server apparatus is generated according to the log content project;Processing module 1020 is additionally operable to present The synchronization log received.
In one embodiment, processing module 1020 is used to utilize Java Java technology and/or C++ skills by client-side program Art at least obtains polytype synchrodata in both from database, application program and file system.
Above device is corresponding with the method for being previously used for client device, and embodiment can be found in preceding method It is described in detail, details are not described herein.
Through the above technical solutions, can ensure to obtain complete synchrodata, need synchronous data synchronous by each Into system, and improve the diversity of data synchronization;When synchrodata, server apparatus can load together user automatically Step condition, user does not have to input synchronous condition every time, so that convenient for users;It can be needed to provide customization according to user Synchronization log, be user-friendly, so as to extremely occur when can carry out location of mistake in time.
Figure 11 is the structure chart of the device of data synchronization according to embodiments of the present invention, which can be used for various servers Equipment, such as application server, system server etc..As shown in figure 11, which may include following module.
Receiving module 1110, for receiving the request of client device transmission;
Processing module 1120, in response to the request, extraction operation interface;
Sending module 1130, for the operation interface extracted to be sent to client device;
Receiving module 1110 is additionally operable to receive the data packet that client device is sent;
Processing module 1120 is additionally operable to parse synchrodata from data packet, and synchrodata is converted to lattice used in synchronization Formula, the synchrodata after format conversion is synchronized in one or more systems.
In one embodiment, processing module 1120 is additionally operable to parse synchronous condition from data packet, preserves the synchronization Condition, loads the synchronous condition of preservation, and the synchrodata after format conversion is synchronized to one or more according to the synchronous condition In a system.
In one embodiment, processing module 1120 is additionally operable to parse log content project from data packet, according to daily record Content item transfers corresponding log content information, and synchronization log is generated using log content information;Sending module 1130 is additionally operable to Synchronization log is sent to client device.
Above device is corresponding with the method for being previously used for server apparatus, and embodiment can be found in preceding method It is described in detail, details are not described herein.
Through the above technical solutions, can ensure to obtain complete synchrodata, need synchronous data synchronous by each Into system, and improve the diversity of data synchronization;When synchrodata, server apparatus can load together user automatically Step condition, user does not have to input synchronous condition every time, so that convenient for users;It can be needed to provide customization according to user Synchronization log, be user-friendly, so as to extremely occur when can carry out location of mistake in time.
The preferred embodiment of the present invention is described in detail above in association with attached drawing, still, the present invention is not limited to above-mentioned reality The detail in mode is applied, in the range of the technology design of the present invention, a variety of letters can be carried out to technical scheme Monotropic type, these simple variants belong to protection scope of the present invention.
It is further to note that each particular technique feature described in above-mentioned embodiment, in not lance In the case of shield, can be combined by any suitable means, in order to avoid unnecessary repetition, the present invention to it is various can The combination of energy no longer separately illustrates.
In addition, various embodiments of the present invention can be combined randomly, as long as it is without prejudice to originally The thought of invention, it should equally be considered as content disclosed in this invention.

Claims (14)

1. a kind of method of data synchronization, for client device, this method includes:
Send and ask to server apparatus, receive operation interface of the server apparatus transmitted by response to the request;
Received operation interface is presented;
After the synchronic command of input is received from operation interface, client-side program is called;
Synchrodata is obtained from multiple data sources by the client-side program;
The synchrodata obtained is encapsulated into data packet, delivers a packet to server apparatus to carry out data synchronization.
2. according to the method described in claim 1, it is characterized in that, the method further includes:
The synchronous condition of input is received from operation interface;
The synchronous condition received is encapsulated into data packet, delivers a packet to server apparatus to preserve synchronous condition.
3. according to the method described in claim 1, it is characterized in that, the method further includes:
The log content project of input is received from operation interface;
The log content project received is encapsulated into data packet, delivers a packet to server apparatus;
Receive the synchronization log that server apparatus is generated according to the log content project;
Received synchronization log is presented.
4. according to the method described in claim 1, it is characterized in that, described obtained by the client-side program from multiple data sources Obtaining synchrodata includes:
Client-side program utilizes Java Java technology and/or C++ technologies from least the two of database, application program and file system Polytype synchrodata is obtained in person.
5. a kind of method of data synchronization, for server apparatus, this method includes:
Receive the request that client device is sent;
In response to the request, extraction operation interface, client device is sent to by operation interface;
Receive the data packet that client device is sent;
Synchrodata is parsed from data packet, synchrodata is converted into form used in synchronization, by the synchronization after format conversion Data are synchronized in one or more systems.
6. according to the method described in claim 5, it is characterized in that, the method further includes:
Synchronous condition is parsed from data packet, preserves the synchronous condition;
The synchrodata by after format conversion, which is synchronized to one or more systems, to be included:
The synchronous condition preserved is loaded, the synchrodata after format conversion is synchronized to by one or more according to the synchronous condition In system.
7. according to the method described in claim 5, it is characterized in that, the method further includes:
Log content project is parsed from data packet;
Corresponding log content information is transferred according to log content project, synchronization log is generated using log content information;
Synchronization log is sent to client device.
8. a kind of device of data synchronization, for client device, which includes:
Communication module, is asked for being sent to server apparatus, receives behaviour of the server apparatus transmitted by response to the request Make interface;
Processing module, for received operation interface to be presented, after the synchronic command of input is received from operation interface, is adjusted With client-side program, synchrodata is obtained from multiple data sources by the client-side program, the synchrodata obtained is sealed It is attached in data packet;
The communication module is additionally operable to deliver a packet to server apparatus to carry out data synchronization.
9. device according to claim 8, it is characterised in that the processing module is additionally operable to receive from operation interface defeated The synchronous condition entered, the synchronous condition received is encapsulated into data packet;
The communication module is additionally operable to deliver a packet to server apparatus to preserve synchronous condition.
10. device according to claim 8, it is characterised in that the processing module is additionally operable to receive from operation interface The log content project of input, the log content project received is encapsulated into data packet;
The communication module is additionally operable to deliver a packet to server apparatus, receives server apparatus according to the log content The synchronization log that project is generated;
The processing module is additionally operable to that received synchronization log is presented.
11. device according to claim 8, it is characterised in that the processing module is used to utilize by client-side program Java Java technology and/or C++ technologies are polytype from least obtaining in both for database, application program and file system Synchrodata.
12. a kind of device of data synchronization, for server apparatus, which includes:
Receiving module, for receiving the request of client device transmission;
Processing module, in response to the request, extraction operation interface;
Sending module, for the operation interface extracted to be sent to client device;
The receiving module is additionally operable to receive the data packet that client device is sent;
The processing module is additionally operable to parse synchrodata from data packet, and synchrodata is converted to form used in synchronization, Synchrodata after format conversion is synchronized in one or more systems.
13. device according to claim 12, it is characterised in that the processing module is additionally operable to parse from data packet Synchronous condition, preserves the synchronous condition, loads the synchronous condition of preservation, will be same after format conversion according to the synchronous condition Step data is synchronized in one or more systems.
14. device according to claim 12, it is characterised in that the processing module is additionally operable to parse from data packet Log content project, corresponding log content information is transferred according to log content project, and synchronous day is generated using log content information Will;
The sending module is additionally operable to synchronization log being sent to client device.
CN201610941440.6A 2016-10-25 2016-10-25 Data synchronization method and device Active CN107979631B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610941440.6A CN107979631B (en) 2016-10-25 2016-10-25 Data synchronization method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610941440.6A CN107979631B (en) 2016-10-25 2016-10-25 Data synchronization method and device

Publications (2)

Publication Number Publication Date
CN107979631A true CN107979631A (en) 2018-05-01
CN107979631B CN107979631B (en) 2021-06-22

Family

ID=62005129

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610941440.6A Active CN107979631B (en) 2016-10-25 2016-10-25 Data synchronization method and device

Country Status (1)

Country Link
CN (1) CN107979631B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858905A (en) * 2018-12-21 2019-06-07 航天信息软件技术有限公司 The electronic certificate processing method and processing device of cross-system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487414A (en) * 2002-09-30 2004-04-07 �Ҵ���˾ Meta catalogue proxy with expandable function
CN101477568A (en) * 2009-02-12 2009-07-08 清华大学 Integrated retrieval method for structured data and non-structured data
CN101609610A (en) * 2009-07-17 2009-12-23 中国民航大学 A flight information data collector and its processing method
CN101820449A (en) * 2010-04-20 2010-09-01 江苏电力调度通信中心 Cross-safety zone application service isolation platform
CN102063502A (en) * 2011-01-06 2011-05-18 天津神舟通用数据技术有限公司 Method for realizing synchronization of data in heterogeneous database
CN102137123A (en) * 2010-01-25 2011-07-27 腾讯科技(北京)有限公司 Device and method for realizing process-to-process communication of different application programs on mobile terminal
CN102891873A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method for storing log data and log data storage system
US8453191B2 (en) * 2008-09-19 2013-05-28 Texas Instruments Incorporated Method of broadcasting audio and video data over a time-slicing network, an audio and video data processor and a DVB-H system
CN104282093A (en) * 2013-07-04 2015-01-14 航天信息股份有限公司 Tax-control equipment collective invoicing system and method
CN104504094A (en) * 2014-12-26 2015-04-08 中国石油集团工程设计有限责任公司北京分公司 Various data source integrated management method for oil and gas field

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1487414A (en) * 2002-09-30 2004-04-07 �Ҵ���˾ Meta catalogue proxy with expandable function
US8453191B2 (en) * 2008-09-19 2013-05-28 Texas Instruments Incorporated Method of broadcasting audio and video data over a time-slicing network, an audio and video data processor and a DVB-H system
CN101477568A (en) * 2009-02-12 2009-07-08 清华大学 Integrated retrieval method for structured data and non-structured data
CN101609610A (en) * 2009-07-17 2009-12-23 中国民航大学 A flight information data collector and its processing method
CN102137123A (en) * 2010-01-25 2011-07-27 腾讯科技(北京)有限公司 Device and method for realizing process-to-process communication of different application programs on mobile terminal
CN101820449A (en) * 2010-04-20 2010-09-01 江苏电力调度通信中心 Cross-safety zone application service isolation platform
CN102063502A (en) * 2011-01-06 2011-05-18 天津神舟通用数据技术有限公司 Method for realizing synchronization of data in heterogeneous database
CN102891873A (en) * 2011-07-21 2013-01-23 腾讯科技(深圳)有限公司 Method for storing log data and log data storage system
CN104282093A (en) * 2013-07-04 2015-01-14 航天信息股份有限公司 Tax-control equipment collective invoicing system and method
CN104504094A (en) * 2014-12-26 2015-04-08 中国石油集团工程设计有限责任公司北京分公司 Various data source integrated management method for oil and gas field

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109858905A (en) * 2018-12-21 2019-06-07 航天信息软件技术有限公司 The electronic certificate processing method and processing device of cross-system
CN109858905B (en) * 2018-12-21 2023-04-25 航天信息软件技术有限公司 Cross-system electronic certificate processing method and device

Also Published As

Publication number Publication date
CN107979631B (en) 2021-06-22

Similar Documents

Publication Publication Date Title
US7865833B2 (en) Data processing apparatus, data processing server, data processing system, method of controlling data processing apparatus, method of controlling data processing server, computer program, and computer readable storage medium
CN104412601B (en) The system and method for accommodating the single KVM clients of a variety of different video compress techniques
CN103079176B (en) The method and system of a kind of remote controlled electronic device and mobile terminal and electronic equipment
WO2007026237A1 (en) Method for embedding svg content into an iso base media file format for progressive downloading and streaming of rich media content
JP2006262484A (en) Method and apparatus for composing images during video communication
JP2003219383A (en) Communications method using image and device for the same
KR20030040111A (en) Communication method using image and apparatus thereof
WO2017050067A1 (en) Video communication method, apparatus, and system
CN108347464A (en) Operating status synchronous method, system and the electronic equipment of application program
CN104202736A (en) Mobile terminal short message end-to-end encryption method oriented to Android system
US9521467B2 (en) Method and apparatus for program information exchange and communications system using a program comment instruction
CN106657136B (en) Terminal device, communication method of hidden channel and device thereof
CN109905490B (en) Virtual simulation experiment sharing platform architecture
US9245528B2 (en) Communication system, method, and apparatus
CN107979631A (en) The method and apparatus of data synchronization
CN111405233B (en) Encrypted graph transmission method, device, storage medium and system in video conference
EP3182666B1 (en) Secure transmission of local private encoding data
CN112019482B (en) Web-based communication method and computer-readable storage medium
CN107306385B (en) Video transmission and verification method based on short message
CN109547321B (en) Background updating device for instant messaging and terminal equipment
CN105306233B (en) Terminal management method and system, server and terminal
KR102053909B1 (en) Method for Providing Multimedia E-Mail Service by using Augmented Reality
CN112565799A (en) Video data processing method and device
EP4203479A1 (en) Rendering media streams
CN113709558B (en) Multimedia processing method and multimedia interactive system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant