CN106936862A - Method of data synchronization, apparatus and system - Google Patents

Method of data synchronization, apparatus and system Download PDF

Info

Publication number
CN106936862A
CN106936862A CN201511009134.0A CN201511009134A CN106936862A CN 106936862 A CN106936862 A CN 106936862A CN 201511009134 A CN201511009134 A CN 201511009134A CN 106936862 A CN106936862 A CN 106936862A
Authority
CN
China
Prior art keywords
data
database
identification information
terminal
terminal server
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
CN201511009134.0A
Other languages
Chinese (zh)
Other versions
CN106936862B (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.)
Beijing May 8th clapping Information Technology Co., Ltd
Original Assignee
Best Faith Racket (beijing) Mdt Infotech Ltd
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 Best Faith Racket (beijing) Mdt Infotech Ltd filed Critical Best Faith Racket (beijing) Mdt Infotech Ltd
Priority to CN201511009134.0A priority Critical patent/CN106936862B/en
Publication of CN106936862A publication Critical patent/CN106936862A/en
Application granted granted Critical
Publication of CN106936862B publication Critical patent/CN106936862B/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

Abstract

Method of data synchronization disclosed by the invention, including:Director server is received after the data of user input, by the data Cun Chudao databases;The announcement information for obtaining the data is sent to terminal server;After the data acquisition request that the terminal server sends is received, the data are searched from the database and the terminal server is sent said data to, so as to the terminal server sends said data to terminal be shown.The invention also discloses a kind of data synchronization unit and system.Compared with prior art, in this programme, after director server receives new data, actively announcement information will be sent to terminal server, so as to notify terminal server in time, it is further ensured that terminal real-time reception and can show the data message of goods to auction, improves Consumer's Experience.

Description

Method of data synchronization, apparatus and system
Technical field
The present invention relates to Internet technical field, more specifically, it is related to a kind of method of data synchronization, device and is System.
Background technology
With the development of internet arena, online auction is used as conveniently, safely and auction side without geographical restrictions Formula, is widely used.When auction users carry out online auction, being announced on Auction Site using Internet technology will Auction or the article or information on services of bid, auction user carry out price markup operation by Auction Site, until auction Goods to auction are sold to bid highest or minimum auction user, End of Auction by user.
Specifically, when auction users announce goods to auction information on Auction Site, bid server storage goods to auction information, And when auction user raises the price or conclude the business for the goods to auction, the price data and status data of goods to auction are received, will clap Price data or the status data storage corresponding with goods to auction information of product.And the terminal of auction is participated in, generally according to certain Cycle the price data and status data of goods to auction are read from bid server, and it is related to update the goods to auction that itself are shown Data message.
Because the related data information of goods to auction in correlation technique is stored by bid server, and terminal is needed according to certain Cycle update shown data message so that terminal compartment certain hour could update a goods to auction data message, And goods to auction price may have updated for several times in interlude, or the state of goods to auction has changed.As can be seen here, In correlation technique, terminal cannot real-time update goods to auction data message, so as to cause Consumer's Experience bad.
The content of the invention
In view of this, a kind of method of data synchronization, apparatus and system are the embodiment of the invention provides, end is can solve the problem that End cannot real-time update goods to auction data message problem.
In a first aspect, a kind of method of data synchronization is the embodiment of the invention provides, including:Director server receives user After the data of input, by the data Cun Chudao databases;The announcement information for obtaining the data is sent to terminal server; After the data acquisition request that the terminal server sends is received, the data are searched from the database and by institute Data is activation to the terminal server is stated, so as to the terminal server sends said data to terminal be shown.
Preferably, it is described by the data Cun Chudao databases, including:Read the identification information of the data;Judge Whether be stored with the identification information in one database;If the identification information is stored with first database, by institute State data and write corresponding with identification information position in first database;If do not stored in first database The identification information, first database is added to by the data and the identification information;According to first database The database of content synchronization second so that the content of second database is identical with the content of first database.
Preferably, the database of content synchronization second according to first database, including:Read first number According to the Operation Log in storehouse;Detect the content of the operation log recording;When the operation log recording has new content, parsing The action statement of the new content;Action statement according to the new content performs operation to second database.
Preferably, position corresponding with the identification information in write-in first database by the data, including: The former data in first database are replaced using the data;Or, the first database according to the data change Described in the corresponding status information of data.
It is preferably, described that the data are searched from the database and the terminal server is sent said data to, Including:The identification information of the data is read from the data acquisition request;The mark is searched in second database Knowledge information;After the identification information is found, by the data is activation corresponding to the identification information to the terminal service Device.
Preferably, after by the data Cun Chudao databases, also include:Sent to Memcache caching servers Obtain the announcement information of the data;After the data acquisition request that the Memcache caching servers send is received, The data are searched from the database and the Memcache caching servers are sent said data to.
Second aspect, the embodiment of the present invention additionally provides a kind of data synchronization unit, including:Memory module, is used for After the data for receiving user input, by the data Cun Chudao databases;Sending module, for terminal service Device sends the announcement information for obtaining the data;Searching modul, for being obtained in the data for receiving the terminal server transmission Take after request, the data are searched from the database and the terminal server is sent said data to, so that institute State terminal server and send said data to terminal and shown.
Preferably, the memory module includes reading unit, judging unit, writing unit, adding device and synchronization unit, Wherein, the reading unit, the identification information for reading the data;The judging unit, for judging the first number According to the identification information that whether is stored with storehouse;Said write unit, for the mark that is stored with first database During knowledge information, by position corresponding with the identification information in data write-in first database;The adding device, During for not storing the identification information in first database, the data and the identification information are added to described First database;The synchronization unit, for the database of content synchronization second according to first database, so that described The content of the second database is identical with the content of first database.
Preferably, the synchronization unit includes that first reads subelement, detection sub-unit, parsing subelement and operation execution Subelement, wherein, described first reads subelement, the Operation Log for reading first database;Detection Unit, the content for detecting the operation log recording;The parsing subelement, for having when the operation log recording During new content, the action statement of the new content is parsed;The operation performs subelement, for the behaviour according to the new content Make sentence and operation is performed to second database.
Preferably, said write unit includes replacing subelement and replacing subelement, wherein, the replacement subelement is used Former data in first database is replaced using the data;The replacing subelement, for according to the data more Change the corresponding status information of data described in first database.
Preferably, the searching modul includes that second reads subelement, searches subelement and transmission sub-unit, wherein, institute The second reading subelement is stated, the identification information for reading the data from the data acquisition request;It is described to search son list Unit, for searching the identification information in second database;The transmission sub-unit, the mark is found for working as After knowledge information, by the data is activation corresponding to the identification information to the terminal server.
Preferably, the sending module, is additionally operable to be sent to Memcache caching servers the notice for obtaining the data Information;The searching modul, be additionally operable to receive data acquisition request that the Memcache caching servers send it Afterwards, the data are searched from the database and the Memcache caching servers are sent said data to.
The third aspect, the embodiment of the present invention additionally provides a kind of data synchronous system, including:Director server and terminal take Business device, wherein, the director server is received after the data of user input, by the data Cun Chudao databases;To The terminal server sends the announcement information for obtaining the data;Receiving the data acquisition that the terminal server sends After request, the data are searched from the database and the terminal server is sent said data to;The end End server, the announcement information for receiving the acquisition data that the director server sends;Sent out to the director server Send the data acquisition request;Receiving the data that the director server sends, and send said data to terminal is carried out Display.
From above technical scheme, in order to solve the technical problem of correlation technique, what the embodiment of the present invention was provided Method of data synchronization, apparatus and system, director server are received after the data of user input, store data into data In storehouse, then, director server sends the announcement information for obtaining data to terminal server, in order to notify that terminal server has Data update.After the data acquisition request for receiving terminal server transmission, the searching data and by data from database Terminal server is sent to, is shown with transmitting data to each terminal by terminal server.Compared with prior art, In this programme, after director server receives new data, actively announcement information will be sent to terminal server such that it is able to and Shi Tongzhi terminal servers, are further ensured that terminal real-time reception and can show the data message of goods to auction, improve Consumer's Experience.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be in embodiment The required accompanying drawing for using is briefly described, it should be apparent that, drawings in the following description are only of the invention one A little embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can be with root Other accompanying drawings are obtained according to these accompanying drawings.By shown in accompanying drawing, above and other purpose of the invention, feature and advantage To become apparent from.Identical reference indicates identical part in whole accompanying drawings.Not deliberately by actual size etc. Proportional zoom draws accompanying drawing, it is preferred that emphasis is show purport of the invention.
Fig. 1 is the method flow diagram of method of data synchronization provided in an embodiment of the present invention;
Fig. 2 is data interaction schematic diagram provided in an embodiment of the present invention;
Fig. 3 is the structural representation of data synchronization unit provided in an embodiment of the present invention;
Fig. 4 is the structural representation of data synchronous system provided in an embodiment of the present invention.
Specific embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out it is clear, Complete description, it is clear that described embodiment is only a part of embodiment of the invention, rather than whole implementation Example.Based on the embodiment in the present invention, those of ordinary skill in the art are obtained under the premise of creative work is not made The every other embodiment for obtaining, belongs to the scope of protection of the invention.
The specific implementation method to the embodiment of the present invention is described below, refers to Fig. 1, and Fig. 1 is implemented for the present invention The method flow diagram of the method for data synchronization that example is provided, the described method comprises the following steps:
Step S101:Director server is received after the data of user input, by the data Cun Chudao databases.
Wherein, based on description of related art, user knows the data message of goods to auction by terminal, wherein, it is described Data message, can be the bidding data of goods to auction, it is possible to be input into oneself bid data to goods to auction by terminal, when After user input auction price, director server receives goods to auction price, and goods to auction price is stored in database, so as to In the data message for safeguarding goods to auction, supported to provide data to other users displaying in real time.
Fig. 2 is referred to, Fig. 2 is data interaction schematic diagram provided in an embodiment of the present invention, it can be seen that the present invention is real Apply in the technical scheme of example, director server 01 includes bid server 011, and in order to reduce bid server 011 Load, while can the corresponding data message of full maintenance goods to auction, director server 01 also include data server 012, Goods to auction information and the corresponding data message of goods to auction are maintain in data server 012.Therefore, user input data is worked as When, bid server 011 receives data, and received data is sent into data server 012, data, services Device 012 is by data correspondence storage in database.
Because the corresponding data message of each goods to auction can be modified at any time in database, and may at any time can be by Terminal server 02 reads, if the data message of same goods to auction needs to change and read simultaneously, the place of database Reason flow will produce disorder, not only bad for the maintenance of database, and be unfavorable for the management to data.
Therefore, further, the data server 012 described in this programme includes the first data server 0121 and the Two data servers 0122, wherein, safeguard there is the first database in the first data server 0121, the second data clothes Safeguard there is the second database in business device 0122.After bid server 011 receives data, send data to First data server 0121, the first data server 0121 reads the identification information of data, and judges the first database In whether be stored with identification information, if being stored with identification information in the first database, illustrate that received data is goods to auction Update the data, then write data into corresponding with identification information position in the first database, replace former data;If the first number According to identification information is not stored in storehouse, received data is illustrated for new goods to auction data, then by the corresponding mark letter of data and data Breath is added in the first database, and then, the first data server 0121 sends together to the second data server 0122 Step instruction, synchronous second database and the first database.
The present embodiment by setting two data servers, and cause two data servers safeguard respectively two it is identical Database, the first database can be write data into when data are write, and when data are read, can be from the second number Read according in storehouse such that it is able to separate data reading and writing, and independently carry out, so as to easily facilitate to database And the management and maintenance of data.
Can be using being connect it should be noted that the first data server 0121 in the first database to data are write The data of receipts replace the former data for being stored, for example, received data for goods to auction new bid when, new bidding is write Enter the first database;Can also be according to received data, the state of change correspondence goods to auction, for example, the friendship of goods to auction Easily after success, the state of goods to auction can be revised as the mark of closing the transaction from the mark concluded the business.For example, this hair In a bright preferred exemplary, status indicator when goods to auction are during auction is " 1 ", after goods to auction are concluded the business successfully, The state of goods to auction can be revised as " 0 ".
Additionally, when synchronous first database and the second database, can be using the first data server 0121 as main clothes Business device, using the second data server 0122 as from server, when synchronous, the second data server 0122 is from the One data server 0121 reads the Operation Log of the first database, and detects the content of operation log recording, works as operation When log recording has new content, the action statement of new content is parsed, and identical action statement is performed to the second database, So as to realize two synchronizations of database.
Step S102:The announcement information for obtaining the data is sent to terminal server.
Wherein, after the completion of database synchronization, the first data server 0122 sends synchronization to bid server 011 The announcement information of completion, then, bid server 011 sends the notice for obtaining data to terminal server 02, its In, the notice for obtaining data includes the identification information of data.
It should be noted that the terminal that user is used includes APP (Application, application program) terminal, web Terminal is clapped at terminal and scene, and different terminals are provided with corresponding server, therefore, described in the embodiment of the present invention Terminal server 02 can include:Server 023 is clapped at APP servers 021, web server 022 and scene, competing When valency server 011 sends the notice for obtaining data, while to APP servers 021, web server 022 and showing Clap server 023 and send acquisition data notification in field.
It should be noted that due to when any terminal reads data, being required to be read from the second database, therefore, In order to mitigate the load of the second database, the efficiency that terminal reads data is improved, be additionally provided with the present embodiment Memcache caching servers 03, when first terminal reads data, its corresponding server is from the second database Middle reading corresponding data, now, the data that terminal server is read are stored to Memcache caching servers simultaneously In 03, when the second station terminal again reads off identical data, directly can read from Memcache caching servers 03 Take such that it is able to greatly reduce the number of times for accessing the second database such that it is able to reduce the load of the second database.
Further, since Memcache caching servers 03 provide data source for terminal, therefore, Memcache caching clothes The data cached in business device 03 should also be as upgrading in time, so, when bid server 011 sends to terminal server While obtaining data notification, can be sent to Memcache caching servers 03 and obtain data notification, in order to Memcache caching servers 03 upgrade in time stored data.
Technical scheme described in this step, bid server 011 will update the data storage after, actively to terminal Server 02 sends and obtains data update notification, so that display is updated the data there is provided technique preparation in real time for terminal. Additionally, setting Memcache caching servers 03 can effectively reduce the access load of the second database, Er Qieneng Enough improve the speed that terminal reads data.
Step S103:After the data acquisition request that the terminal server sends is received, looked into from the database Look for the data and send said data to the terminal server.
Wherein, terminal server 02 receive bid server 011 transmission acquisition data notification after, Ke Yixiang Second data server 0122 sends data acquisition request, wherein, data acquisition request includes the corresponding mark of data Knowledge information, the second data server 0122 reads identification information after data acquisition request is received, and the Read identification information is searched in two databases, after identification information is found, by data hair corresponding to identification information Server 023 is clapped at APP servers 021, web server 022 and the scene for being sent to terminal server 02.APP takes After business device 021, web server 022 and scene bat server 023 receive data, each connection is separately sent to Terminal be shown, so as to realize the real-time exhibition of data.
Likewise, Memcache caching servers 03 receive bid server 011 transmission acquisition data notification it Afterwards, data acquisition request also is sent to the second data server 0122, wherein, data acquisition request includes data Corresponding identification information, the second data server 0122 reads identification information after data acquisition request is received, And read identification information is searched in the second database, it is after identification information is found, identification information is corresponding Data is activation is to Memcache caching servers 03, when the new access terminal of terminal server, the terminal of the new access Can read from Memcache caching servers 03 and show newest data.
Summary, the method for data synchronization that the embodiment of the present invention is provided compared with prior art, works as director server After receiving new data, actively announcement information will be sent to terminal server such that it is able to notify terminal server in time, enter One step ensures that terminal real-time reception and can show the data message of goods to auction, improves Consumer's Experience.
Corresponding with above-mentioned implementation method, the embodiment of the present invention additionally provides a kind of data synchronization unit, refers to Fig. 3, Fig. 3 are the structural representation of data synchronization unit provided in an embodiment of the present invention.
Described device includes:Memory module 11, sending module 12 and searching modul 13, wherein, memory module 11, For after the data for receiving user input, by the data Cun Chudao databases;Sending module 12, for end End server sends the announcement information for obtaining the data;Searching modul 13, for receiving the terminal server hair After the data acquisition request sent, the data are searched from the database and the terminal service is sent said data to Device, so as to the terminal server sends said data to terminal be shown.
Specifically, the memory module 11 includes reading unit, judging unit, writing unit, adding device and synchronization Unit, wherein, the reading unit, the identification information for reading the data;The judging unit, for judging Whether be stored with the identification information in the first database;Said write unit, for being stored with first database During the identification information, by position corresponding with the identification information in data write-in first database;It is described to add Plus unit, during for not storing the identification information in first database, the data are added with the identification information It is added to first database;The synchronization unit, for the database of content synchronization second according to first database, So that the content of second database is identical with the content of first database.
On the basis of above-described embodiment, the synchronization unit includes that first reads subelement, detection sub-unit, parsing Unit and operation perform subelement, wherein, described first reads subelement, the operation day for reading first database Will;The detection sub-unit, the content for detecting the operation log recording;The parsing subelement, for when described When operation log recording has new content, the action statement of the new content is parsed;It is described operation perform subelement, for according to The action statement of the new content performs operation to second database.
Said write unit includes replacing subelement and replacing subelement, wherein, the replacement subelement, for using State the former data during data replace first database;The replacing subelement, for according to the data change The corresponding status information of data described in one database.
Description based on above-described embodiment, in another embodiment, the searching modul 13 includes that second reads son Unit, subelement and transmission sub-unit are searched, wherein, described second reads subelement, for from the data acquisition request The middle identification information for reading the data;The lookup subelement, for searching the mark letter in second database Breath;The transmission sub-unit, for after the identification information is found, by data hair corresponding to the identification information It is sent to the terminal server.
In another embodiment, the sending module 12, is additionally operable to send acquisition to Memcache caching servers The announcement information of the data;The searching modul 13, is additionally operable to receiving the Memcache caching servers After the data acquisition request of transmission, the data are searched from the database and is sent said data to described Memcache caching servers.
The function of modules and unit and effect refer to the description of above-mentioned implementation method in described device, and the present invention is real Here is omitted to apply example.
As can be seen here, the data synchronization unit that the embodiment of the present invention is provided, compared with prior art, when total service After device receives new data, actively announcement information will be sent to terminal server such that it is able to notify terminal service in time Device, is further ensured that terminal real-time reception and can show the data message of goods to auction, improves Consumer's Experience.
Additionally, corresponding with the above method and device, the embodiment of the present invention additionally provides a kind of data synchronous system, Fig. 4 is referred to, Fig. 4 is the structural representation of data synchronous system provided in an embodiment of the present invention, and the system includes: Director server 01 and terminal server 02, specifically, after the director server 01 receives the data of user input, By the data Cun Chudao databases;The announcement information for obtaining the data is sent to the terminal server 02;Receiving After the data acquisition request sent to the terminal server 02, the data are searched from the database and by described in Data is activation is to the terminal server 02;
The terminal server 02, the announcement information of the acquisition data for receiving the transmission of the director server 01; The data acquisition request is sent to the director server 01;The data of the transmission of the director server 01 are received, and Terminal is sent said data to be shown.
The process of implementing refers to foregoing description, and here is omitted for the embodiment of the present invention.
Summary, in order to solve the technical problem of correlation technique, method of data synchronization that the embodiment of the present invention is provided, Apparatus and system, director server is received after the data of user input, in storing data into database, then, always Server sends the announcement information for obtaining data to terminal server, in order to notify that terminal server has data to update.When connecing Receive after the data acquisition request of terminal server transmission, searching data and terminal service is transmitted data to from database Device, is shown with transmitting data to each terminal by terminal server.Compared with prior art, in this programme, when After director server receives new data, actively announcement information will be sent to terminal server such that it is able to notify terminal clothes in time Business device, is further ensured that terminal real-time reception and can show the data message of goods to auction, improves Consumer's Experience.
The above is only specific embodiment of the invention, it is noted that for the ordinary skill of the art For personnel, under the premise without departing from the principles of the invention, some improvements and modifications can also be made, these improve and Retouching also should be regarded as protection scope of the present invention.

Claims (13)

1. a kind of method of data synchronization, it is characterised in that including:
Director server is received after the data of user input, by the data Cun Chudao databases;
The announcement information for obtaining the data is sent to terminal server;
After the data acquisition request that the terminal server sends is received, the data are searched from the database And the terminal server is sent said data to, so as to the terminal server sends said data to terminal be shown Show.
2. method of data synchronization as claimed in claim 1, it is characterised in that described by the data Cun Chudao databases, Including:
Read the identification information of the data;
Judge the identification information that whether is stored with the first database;
If being stored with the identification information in first database, by the data write in first database with Position corresponding to the identification information;
If not storing the identification information in first database, the data are added to institute with the identification information State the first database;
The database of content synchronization second according to first database, so that the content of second database and described The content of one database is identical.
3. method of data synchronization as claimed in claim 2, it is characterised in that described according in first database Hold synchronous second database, including:
Read the Operation Log of first database;
Detect the content of the operation log recording;
When the operation log recording has new content, the action statement of the new content is parsed;
Action statement according to the new content performs operation to second database.
4. method of data synchronization as claimed in claim 2, it is characterised in that described that the data are write described first The position corresponding with the identification information in database, including:
The former data in first database are replaced using the data;Or,
The corresponding status information of data described in the first database according to the data change.
5. the method for data synchronization as described in any claim in Claims 1-4, it is characterised in that described from the number According to searching the data in storehouse and send said data to the terminal server, including:
The identification information of the data is read from the data acquisition request;
The identification information is searched in second database;
After the identification information is found, by the data is activation corresponding to the identification information to the terminal server.
6. method of data synchronization as claimed in claim 1, it is characterised in that by the data Cun Chudao databases it Afterwards, also include:
The announcement information for obtaining the data is sent to Memcache caching servers;
After the data acquisition request that the Memcache caching servers send is received, searched from the database The data simultaneously send said data to the Memcache caching servers.
7. a kind of data synchronization unit, it is characterised in that including:
Memory module, for after the data for receiving user input, by the data Cun Chudao databases;
Sending module, the announcement information of the data is obtained for being sent to terminal server;
Searching modul, for after the data acquisition request that the terminal server sends is received, from the database It is middle to search the data and send said data to the terminal server, so that the terminal server sends out the data Terminal is sent to be shown.
8. data synchronization unit as claimed in claim 7, it is characterised in that the memory module include reading unit, Judging unit, writing unit, adding device and synchronization unit, wherein,
The reading unit, the identification information for reading the data;
The judging unit, for judging the identification information that whether is stored with the first database;
Said write unit, for be stored with first database identification information when, by the data write-in The position corresponding with the identification information in first database;
The adding device, during for not storing the identification information in first database, by the data and institute State identification information and be added to first database;
The synchronization unit, for the database of content synchronization second according to first database, so that second number Content according to storehouse is identical with the content of first database.
9. data synchronization unit as claimed in claim 8, it is characterised in that the synchronization unit includes that first reads Subelement, detection sub-unit, parsing subelement and operation perform subelement, wherein,
Described first reads subelement, the Operation Log for reading first database;
The detection sub-unit, the content for detecting the operation log recording;
The parsing subelement, for when the operation log recording has new content, parsing the operation language of the new content Sentence;
The operation performs subelement, and operation is performed to second database for the action statement according to the new content.
10. data synchronization unit as claimed in claim 8, it is characterised in that said write unit includes replacing son single Unit and replacing subelement, wherein,
The replacement subelement, for replacing the former data in first database using the data;
The replacing subelement, for the corresponding state letter of the data described in the first database according to the data change Breath.
11. data synchronization units as claimed in claim 7, it is characterised in that the searching modul includes that second reads Subelement, lookup subelement and transmission sub-unit, wherein,
Described second reads subelement, the identification information for reading the data from the data acquisition request;
The lookup subelement, for searching the identification information in second database;
The transmission sub-unit, for after the identification information is found, by the data corresponding to the identification information It is sent to the terminal server.
12. data synchronization units as claimed in claim 7, it is characterised in that
The sending module, is additionally operable to be sent to Memcache caching servers the announcement information for obtaining the data;
The searching modul, be additionally operable to receive data acquisition request that the Memcache caching servers send it Afterwards, the data are searched from the database and the Memcache caching servers are sent said data to.
A kind of 13. data synchronous systems, it is characterised in that including:Director server and terminal server, wherein,
The director server is received after the data of user input, by the data Cun Chudao databases;To the terminal Server sends the announcement information for obtaining the data;Receive data acquisition request that the terminal server sends it Afterwards, the data are searched from the database and the terminal server is sent said data to;
The terminal server, the announcement information for receiving the acquisition data that the director server sends;To described Director server sends the data acquisition request;Receive the data that the director server sends, and by the data is activation Shown to terminal.
CN201511009134.0A 2015-12-29 2015-12-29 Method of data synchronization, apparatus and system Active CN106936862B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201511009134.0A CN106936862B (en) 2015-12-29 2015-12-29 Method of data synchronization, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201511009134.0A CN106936862B (en) 2015-12-29 2015-12-29 Method of data synchronization, apparatus and system

Publications (2)

Publication Number Publication Date
CN106936862A true CN106936862A (en) 2017-07-07
CN106936862B CN106936862B (en) 2019-11-01

Family

ID=59458500

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201511009134.0A Active CN106936862B (en) 2015-12-29 2015-12-29 Method of data synchronization, apparatus and system

Country Status (1)

Country Link
CN (1) CN106936862B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543512A (en) * 2018-05-29 2019-12-06 优信拍(北京)信息科技有限公司 Information synchronization method, device and system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101873314A (en) * 2010-05-31 2010-10-27 程乐华 System for exchanging secrets in social network community
CN101364217B (en) * 2007-08-08 2011-06-22 华为技术有限公司 Data maintenance method, equipment and system thereof in data-base
CN104331829A (en) * 2014-10-28 2015-02-04 杭州联通计算机系统有限公司 Auction bidding management system
CN104700302A (en) * 2015-04-01 2015-06-10 携程计算机技术(上海)有限公司 Hotel online auction method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101364217B (en) * 2007-08-08 2011-06-22 华为技术有限公司 Data maintenance method, equipment and system thereof in data-base
CN101873314A (en) * 2010-05-31 2010-10-27 程乐华 System for exchanging secrets in social network community
CN104331829A (en) * 2014-10-28 2015-02-04 杭州联通计算机系统有限公司 Auction bidding management system
CN104700302A (en) * 2015-04-01 2015-06-10 携程计算机技术(上海)有限公司 Hotel online auction method and system

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110543512A (en) * 2018-05-29 2019-12-06 优信拍(北京)信息科技有限公司 Information synchronization method, device and system

Also Published As

Publication number Publication date
CN106936862B (en) 2019-11-01

Similar Documents

Publication Publication Date Title
CN104919482B (en) Dynamic content establishment of item
CN109614100B (en) Page display method, device, server, front end and storage medium
US9552600B1 (en) Generating and updating recommendations for merchants
US20120246343A1 (en) Synchronizing digital content
US11029905B2 (en) Integrated learning using multiple devices
CN103678307B (en) Page display method and client
CN104965717A (en) Method and apparatus for loading page
CN105117382B (en) Document cooperation method and device
JP5494730B2 (en) Management server and information distribution system
US20200074509A1 (en) Business data promotion method, device, terminal and computer-readable storage medium
US20130151973A1 (en) Customizing a Presentation Based on Preferences of an Audience
CN103281798A (en) Method, device and system for achieving modification synchronization
CN104079614A (en) Method and system for orderly obtaining messages of distributed publishing subscription system
CN107493514B (en) Live broadcast room data processing method and device and computer storage medium
CN105072139A (en) Recommendation method and recommendation device
CN106415648A (en) Method and system to facilitate transactions
CN110895472A (en) Method and device for identifying service change
CN108259942B (en) Method, device and system for acquiring preview advertisement
CN102932358B (en) Third party's file of content-based distributing network is rewritten and is accelerated distribution method and device
CN103023704B (en) Virtual network service equipment access method and system
CN109146444B (en) Virtual account creating method and device and account information updating method and device
CN105760251A (en) Data backup method and device
CN108958855B (en) Page jump method, device and system
US20130138258A1 (en) System and method for identifying electrical devices in a power management system
US20120173974A1 (en) Socialized help for computing applications

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
TR01 Transfer of patent right

Effective date of registration: 20200410

Address after: Room 406, 4th floor, College Park, Dongsheng Science Park, Zhongguancun, No.18, Xueqing Road, Haidian District, Beijing 100083

Patentee after: Beijing May 8th clapping Information Technology Co., Ltd

Address before: 100020 building 21, building 93, building 10, Jianguo Road, Beijing, Chaoyang District, 2507

Patentee before: YOUXINPAI (BEIJING) INFORMATION TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right