CN108055343A - For the method for data synchronization and device of computer room - Google Patents

For the method for data synchronization and device of computer room Download PDF

Info

Publication number
CN108055343A
CN108055343A CN201711431177.7A CN201711431177A CN108055343A CN 108055343 A CN108055343 A CN 108055343A CN 201711431177 A CN201711431177 A CN 201711431177A CN 108055343 A CN108055343 A CN 108055343A
Authority
CN
China
Prior art keywords
update
computer room
data
message
request
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
CN201711431177.7A
Other languages
Chinese (zh)
Other versions
CN108055343B (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 Qihoo Technology Co Ltd
Original Assignee
Beijing Qihoo Technology Co 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 Beijing Qihoo Technology Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201711431177.7A priority Critical patent/CN108055343B/en
Publication of CN108055343A publication Critical patent/CN108055343A/en
Application granted granted Critical
Publication of CN108055343B publication Critical patent/CN108055343B/en
Expired - Fee Related 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)

Abstract

The invention discloses a kind of method of data synchronization and device for computer room.Wherein, this method includes:First computer room is performed to be operated with the corresponding multiple updates of update request received;The corresponding multiple operation notes of multiple update operations are encapsulated as a piece of news data according to execution sequence;By message data storage into default message queue, so that the second computer room carries out data synchronization according to each message data stored in message queue.It can be seen that using scheme provided by the invention, the bi-directional data simultaneously operating between multiple computer rooms is realized.In addition, the corresponding multiple operation notes of same update request can be encapsulated as a piece of news data according to execution sequence, so as to prevent the occurrence of out of order, it is ensured that the correctness of synchronizing process.

Description

For the method for data synchronization and device of computer room
Technical field
The present invention relates to field of computer technology, and in particular to a kind of method of data synchronization and device for computer room.
Background technology
With becoming increasingly popular for network service, the visit capacity of user is increasing, if business datum be stored entirely in On one server, which often breaks down since visit capacity is excessive, moreover, being subject to server storage Limitation, in the very big application scenarios of business datum amount, a server can not often carry whole business datums, therefore, Multiple servers is needed to provide service to the user jointly.For this purpose, the server that more can be provided commonly for providing a certain service It is arranged in same computer room, this service is provided a user by the computer room.In addition, it in practical applications, it is also often desirable to one A little common business datums are stored in simultaneously in multiple computer rooms.
In the above case said, the data needs in multiple computer rooms are consistent, once the data in each computer room occur not Unanimous circumstances will influence the normal use of user.Since business datum often changes, once the data in certain computer room After change, other computer rooms do not synchronize update and may result in that data are inconsistent to be happened in time.In the prior art, The mode of generally use one-way synchronization come realize the data between multiple computer rooms synchronization, in this approach, main equipment room can only be passed through To from computer room synchrodata, but cannot be by from computer room to main equipment room synchrodata.
But inventor has found in the implementation of the present invention, at least there are following for aforesaid way of the prior art Defect:Due to can only from main equipment room to from computer room synchrodata, can not be synchronized to host from corresponding update the data of computer room Room, so as to bring the inconsistent hidden danger of data.In order to exclude the hidden danger, it has to which whole updating the data all is write host Room, then again by main equipment room to each from computer room synchronization.But certainly will so cause the write-in increased pressure of main equipment room, from And increase and wait time delay, and virtually also increase the probability of write-in failure.
The content of the invention
In view of the above problems, it is proposed that the present invention overcomes the above problem in order to provide one kind or solves at least partly State the method for data synchronization and device for computer room of problem.
According to an aspect of the invention, there is provided for the method for data synchronization of computer room, including:First computer room perform with The corresponding multiple update operations of update request received;By the corresponding multiple operation notes of multiple update operations according to holding Row order is encapsulated as a piece of news data;By message data storage into default message queue, so that the second computer room is according to disappearing It is synchronous that each message data stored in breath queue carries out data.
According to another aspect of the present invention, a kind of data synchronization unit for computer room, the data synchronization unit are provided It is arranged on the first computer room, including:
Update module, the corresponding multiple update operations of update request for being adapted for carrying out and receiving;
Package module, suitable for the corresponding multiple operation notes of multiple update operations are encapsulated as one according to execution sequence Message data;
Memory module, suitable for storing message data into default message queue, so that the second computer room is according to message team It is synchronous that each message data stored in row carries out data.
According to another aspect of the invention, a kind of electronic equipment is provided, including:Processor, memory, communication interface and Communication bus, processor, memory and communication interface complete mutual communication by communication bus;
For memory for storing an at least executable instruction, executable instruction makes processor perform the above-mentioned number for computer room According to the corresponding operation of synchronous method.
In accordance with a further aspect of the present invention, a kind of computer storage media is provided, at least one is stored in storage medium Executable instruction, executable instruction make processor perform the corresponding operation of method of data synchronization as described for computer room.
Disclosed method of data synchronization and device for computer room according to the present invention, the first computer room are performed and received more When newly asking corresponding multiple update operations, further by the corresponding multiple operation notes of multiple update operations according to execution Order is encapsulated as a piece of news data, and by message data storage into default message queue, for the second computer room according to It is synchronous that each message data stored in message queue carries out data.It can be seen that in the present embodiment, by the first computer room And second add the message queue for buffered message between computer room, it is achieved thereby that the bi-directional data between multiple computer rooms is synchronous Operation.Further, since the corresponding multiple updates of update request possess stringent ordinal relation between operating, therefore, it is Prevent from influencing when between each message data in message queue occurring out of order corresponding to same update request it is multiple more The corresponding multiple operation notes of same update request are encapsulated as one according to execution sequence and disappeared by the execution sequence newly operated Data are ceased, so as to prevent the occurrence of out of order, it is ensured that the correctness of synchronizing process.
Above description is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can It is clearer and more comprehensible, below the special specific embodiment for lifting the present invention.
Description of the drawings
By reading the detailed description of hereafter preferred embodiment, it is various other the advantages of and benefit it is common for this field Technical staff will be apparent understanding.Attached drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And throughout the drawings, the same reference numbers will be used to refer to the same parts.In the accompanying drawings:
Fig. 1 shows the flow diagram of the method for data synchronization for computer room of one embodiment of the invention;
Fig. 2 shows the flow diagram of the method for data synchronization for computer room of another embodiment of the present invention;
Fig. 3 shows a kind of apparatus structure for data synchronization unit for computer room that further embodiment of this invention provides Figure;
Fig. 4 shows the structure diagram of a kind of electronic equipment according to embodiments of the present invention.
Specific embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although the disclosure is shown in attached drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here It is limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Completely it is communicated to those skilled in the art.
Fig. 1 shows the flow diagram of the method for data synchronization for computer room of one embodiment of the invention.Such as Fig. 1 institutes Show, this method includes:
Step S110:First computer room is performed to be operated with the corresponding multiple updates of update request received.
Wherein, the update request that the first computer room receives may be to be sent by terminal user, it is also possible to be used by O&M What family was sent.Also, updating the type of request can include a variety of, be specifically dependent upon class of business, the present invention is to detail It does not limit.For example, update request may be to update request for increasing the comment class of a user comment, it is also possible to be used for Realize that the class update that thumbs up for thumbing up function is asked.
Wherein, a update request would correspond to multiple update operations.Specifically, it is more corresponding to a update request It is a update operation can both be directly contained in update request required parameter in, so as to parse the update request by way of come Determine corresponding multiple update operations.It can also be pre-set simultaneously alternatively, the corresponding multiple updates of update request operate It is stored in request executing rule, so as to determine that corresponding multiple updates are operated by inquiring about default request executing rule.
In above-mentioned two ways, user need to only trigger once update request, and backstage i.e. can the multiple correspondences of automatic trigger Update operation, for example, exemplified by thumbing up class update request, user, which need to only trigger, once thumbs up class update request, from the background can be from It is dynamic to perform following two updates operation according to default request executing rule:(1) modification is with thumbing up in the corresponding network of operation The dispaly state of appearance;(2) sent to user relevant with the Web content and thumb up notification message.Correspondingly, in this step, press This two update operations are performed successively according to the execution sequence of above-mentioned two update operations, to complete to thumb up class update request for this Renewal process.
In addition, in other realization methods, a update request may need user to perform multiple trigger action, every time Trigger action corresponds to a update son request, and each update request corresponds to one or more updates and operates.For example, with Exemplified by commenting on class update request, user needs to perform following trigger action successively:(1) comment below Web content is clicked on to enter Mouthful, so that the first computer room receives the first update son request included in comment class update request;(2) in comment input frame Corresponding comment content is inputted, so that the first computer room receives the second update son request included in comment class update request; (3) the submission entrance that comment is submitted in confirmation is clicked on, this to be submitted to comment on, and the first computer room is made to receive comment class update and is asked The 3rd update son request included in asking.Every above-mentioned update son request corresponds at least one update and operates.For example, first Update son request corresponds to the update operation of display comment input frame;Second update son request corresponds to display comment content more New operation;3rd update son request correspond to modification Web content comment state update operate and to in the network Hold the update operation that relevant user terminal sends a notification message.In this kind of mode, the multiple updates identical by purpose is performed Son request is determined as a update request.
It can be seen that the present invention does not limit the specific intension and realization method of update request, a update is not limited yet The concrete type and realization method of the corresponding each update operation of request.
Step S120:The corresponding multiple operation notes of multiple update operations are encapsulated as a piece of news according to execution sequence Data.
Wherein, often there is stringent execution sequence between the corresponding multiple updates operation of a update request, in step Each update operation must be performed in rapid S110 successively according to the execution sequence.Correspondingly, in this step, it is also desirable to according to this Multiple operation notes are encapsulated as a piece of news data by execution sequence.
Specifically, it is multiple corresponding to update request when a update request only needs user to trigger once-through operation Execution sequence between update operation can be both directly contained in the required parameter of update request, can also be pre-set and be deposited Storage is in above-mentioned request executing rule;When a update request needs user to trigger multi-pass operation, update request institute is right The triggered time that the multiple updates operation answered can combine multiple trigger action determines.It can be seen that the present invention do not limit it is each The specific method of determination of execution sequence between update operation.In addition, each update operation corresponds to an operation note, it is used for Record the relevant informations such as operation object, action type of update operation, in order to according to the operation note synchronization implementation this more New operation.In short, the present invention needs to remember the corresponding each operation of each update operation for being under the jurisdiction of same update request Record is encapsulated as a piece of news data.Also, each operation note is ensured in this message data to be carried out according to execution sequence Encapsulation, to prevent the generation of disorder phenomenon.
Step S130:By message data storage into default message queue, so that the second computer room is according in message queue It is synchronous that each message data of storage carries out data.
Wherein, message queue can be various forms of message queues, as long as the caching function of message data can be realized .By each message data generated in above-mentioned steps storage into the message queue, the second computer room is as the message queue Consumption terminal, be responsible for consuming each message data in the message queue, and real with the first computer room according to the message data of consumption Existing data are synchronous.
By foregoing description, whenever the first computer room is there are during data update, then corresponding new information queue, the second machine Data synchronizing function is realized by consuming the message data in message queue in room.Wherein, since message queue acts as the first machine Intermediary between room and the second computer room, therefore, it is possible to realize the bi-directional synchronization function between multiple computer rooms.
It can be seen that in the present embodiment, by being added between the first computer room and the second computer room for buffered message Message queue, it is achieved thereby that the bi-directional data simultaneously operating between multiple computer rooms.Further, since corresponding to a update request Multiple updates operation between possess stringent ordinal relation, therefore, in order to prevent because of each message data in message queue Between there is execution sequence that is out of order and influencing the corresponding multiple updates operation of same update request, same update is asked Corresponding multiple operation notes are encapsulated as a piece of news data according to execution sequence, so as to prevent the occurrence of out of order, Ensure the correctness of synchronizing process.
Fig. 2 shows the flow diagram of the method for data synchronization for computer room of another embodiment of the present invention.Such as Fig. 2 Shown, this method includes:
Step S210:The action type for the corresponding each update operation of update request that first computer room is determined and received And execution sequence, each update is performed successively according to the action type and execution sequence of each update operation operates.
Wherein, the update request that the first computer room receives may be to be sent by terminal user, it is also possible to be used by O&M What family was sent.Also, updating the type of request can include a variety of, be specifically dependent upon class of business, the present invention is to detail It does not limit.For example, update request may be to update request for increasing the comment class of a user comment, it is also possible to be used for Realize that the class update that thumbs up for thumbing up function is asked.Wherein, a update request would correspond to multiple update operations.In this step In, it is thus necessary to determine that the action type and execution sequence of the corresponding each update operation of a update request:
Specifically, in the first realization method, the action type of the corresponding multiple updates operation of a update request It can be directly contained in execution sequence in the required parameter of update request, thus come really by way of parsing update request Fixed corresponding multiple update operations.For example, when a update request corresponds to three update operations, in update request extremely The required parameter of each update operation is corresponded respectively to comprising three less, also, correspondence can determine by each required parameter Update operation action type and execution sequence.
Alternatively, in second of realization method, the action type of the corresponding multiple updates operation of a update request and Execution sequence can also pre-set and be stored in request executing rule in, so as to by inquire about it is default request executing rule come Determine corresponding multiple update operations.When it is implemented, first, the request type of update request received is determined, for example, can The type of update request is determined with the request message head according to update request or required parameter.Then, according to default request Executing rule determines the action type and execution sequence with the corresponding each update operation of the request type.For example, it deposits in advance Storage and the corresponding request executing rule of various request types, by inquiring about the request executing rule of corresponding types, can determine With the action type and execution sequence of the corresponding each update operation of the request type.For example, it can pre-set and thumb up The corresponding update operation of class update request including " changing and thumb up the dispaly state for operating corresponding Web content " and " sent to user relevant with the Web content and thumb up notification message ".Notice is thumbed up it is, of course, also possible to further set to send The mode of message further comprises mode of wechat notice and two kinds of Parallel Implementations of mail notification etc..It can be seen that with it is various types of The number amount and type of the corresponding update operation of update request of type can be preconfigured.
In above-mentioned two ways, user need to only trigger once update request, and backstage i.e. can the multiple correspondences of automatic trigger Update operation, for example, exemplified by thumbing up class update request, user, which need to only trigger, once thumbs up class update request, from the background can be from It is dynamic to perform following two updates operation according to default request executing rule:(1) modification is with thumbing up in the corresponding network of operation The dispaly state of appearance;(2) sent to user relevant with the Web content and thumb up notification message.Wherein, Section 1 update operation Action type for display type, execution sequence is is first carrying out;The action type of Section 2 update operation is notification type, is held Row order is in rear execution.Correspondingly, in this step, the update operation of Section 1 display type is first carried out, then performs second The update operation of item notification type, to complete for the renewal process for thumbing up class update and asking.
In addition, in other realization methods, a update request it may also be desirable to user and perform multiple trigger action, often Secondary trigger action corresponds to a update son request, and each update request corresponds to one or more updates and operates.For example, Exemplified by commenting on class update request, user needs to perform following trigger action successively:(1) comment below Web content is clicked on to enter Mouthful, so that the first computer room receives the first update son request included in comment class update request;(2) in comment input frame Corresponding comment content is inputted, so that the first computer room receives the second update son request included in comment class update request; (3) the submission entrance that comment is submitted in confirmation is clicked on, this to be submitted to comment on, and the first computer room is made to receive comment class update and is asked The 3rd update son request included in asking.Every above-mentioned update son request corresponds at least one update and operates.For example, first Update son request corresponds to the first update operation of display comment input frame;Second update son request corresponds to display comment content Second update operation;3rd update son request correspond to modification Web content comment state the 3rd update operate and It is operated to the 4th update to send a notification message with the relevant user terminal of the Web content.In this kind of mode, mesh will be performed Identical multiple updates request be determined as a update request.It is also, in the present embodiment, each more for the ease of identification New request is in advance the unique request mark of each update request distribution (for example, request ID).Correspondingly, asked in the update Corresponding each update is asked and/or each update carries corresponding request mark in operation, in order to which basis is asked Mark is asked to perform subsequent encapsulation operation.
Step S220:The corresponding multiple operation notes of multiple update operations are encapsulated as a piece of news according to execution sequence Data.
Due to being assigned with unique request mark in advance for each update request in previous step, in this step, Directly according to the request mark included in each update operation, each update operation corresponding to same update request is determined; And it will be encapsulated as corresponding to the corresponding multiple operation notes of each update operation of same update request according to execution sequence A piece of news data.
Specifically, it is multiple corresponding to update request when a update request only needs user to trigger once-through operation Execution sequence between update operation can be both directly contained in the required parameter of update request, can also be pre-set and be deposited Storage is in above-mentioned request executing rule;When a update request needs user to trigger multi-pass operation, update request institute is right The multiple updates operation answered can also be determined further combined with the triggered time of multiple trigger action.For example, with above-mentioned comment class Exemplified by update request, the execution sequence of the corresponding each update operation of each update request is according to corresponding update request Trigger order determine.Correspondingly, the execution sequence of the first update operation is held earlier than the second update operation, the second update operation Row order is earlier than the 3rd update operation.In addition, when same update request corresponds to multiple update operations, the plurality of update Execution sequence between operation can be determined according to preset rules.For example, for the 3rd update son request, correspond to modification 3rd update of the comment state of Web content is operated and sent a notification message to the relevant user terminal of the Web content The 4th update operation, the two update operation between execution sequences can be determined according to preset rules.
It can be seen that the present invention does not limit the specific method of determination of the execution sequence between each update operation.In addition, Each update operation corresponds to an operation note, for recording the related letter such as operation object, the action type of update operation Breath, in order to according to the operation note synchronization implementation update operation.In short, the present invention needs to be under the jurisdiction of according to request mark Each operation note that each update operation of same update request is corresponding is encapsulated as a piece of news data.Also, at this Ensure that each operation note is packaged according to execution sequence in message data, to prevent the generation of disorder phenomenon.
Step S230:In the storage file that message data storage is included to preset memory locations, preset and deposited according to this Storage space puts included storage file and updates default message queue, to store message data into the message queue.
Specifically, message data can be stored into the default file folder under preset path, in being pressed from both sides by this document Storage file records each message data, and default message queue is updated according to the storage file.Wherein, message queue Can be various forms of message queues, as long as the caching function of message data can be realized.For example, can be distribution Message queue to realize that the parallelization of data stores, promotes storage efficiency and memory capacity.It is each by what is generated in above-mentioned steps Message data is stored into the message queue, for the second computer room according to each message data stored in message queue into line number According to synchronization.Wherein, consumption terminal of second computer room as the message queue is responsible for consuming each message count in the message queue According to, and realize that data are synchronous with the first computer room according to the message data of consumption.
During specific implementation, it is contemplated that the lasting progress of update operation in computer room persistently increases the size for causing storage file It is long, it is therefore, whole according to default file in order to avoid generation the phenomenon that memory space inadequate, it is necessary to every prefixed time interval The storage file that reason rule includes preset memory locations arranges, to save memory space.Specific arrangement rule can It is flexibly set by those skilled in the art, in this example, it is assumed that at the first time the morning zero point of first day (be, for example), First file (specifically include multiple files) of the storage file that preset memory locations are included corresponding to the first filename, will The first file corresponding to first filename is renamed as the second filename, obtains the second text corresponding to the second filename Part, the content phase of the file content and the first file corresponding to the first filename of the second file corresponding to second filename Together.Afterwards, the 3rd file corresponding to the first filename, the file entitled first of the 3rd file are generated in preset memory locations Filename, but be empty file when the 3rd file just generates and not comprising any content.After performing above-mentioned housekeeping operation, when again When storing message data to preset memory locations, message data to be stored is write in the 3rd file, so as to avoid because of file Memory space inadequate and lose message data.Similarly, the second time (being, for example, the morning zero point of second day), storage position is preset Putting included storage file includes the 3rd file corresponding to the first filename, by the 3rd text corresponding to first filename Part is renamed as the 3rd filename, obtains the 4th file corresponding to the 3rd filename, and corresponding to the 3rd filename The file content of four files is identical with the content of the 3rd file corresponding to the first filename.Afterwards, given birth in preset memory locations Into the 5th file corresponding to the first filename, entitled first filename of file of the 5th file, but the 5th file just generates When and not comprising any content, be empty file.After performing above-mentioned housekeeping operation, when again to preset memory locations storage message count According to when, message data to be stored is write in the 5th file, so as to avoid losing message count due to file storage is insufficient According to.It can be seen that by aforesaid operations, constantly by original storage file renaming, and new storage file is generated, so that Subsequent message data is write in new storage file.In addition, after certain interval of time, it can also be to each text after renaming Operation is deleted or removed to part, to save disk space.For example, it is assumed that the original document of preset memory locations storage is A.log files after being then spaced preset time, by original a.log files renamed as b.log files, and regenerate one Empty a.log files, so that subsequent message data is stored in the empty a.log files.Correspondingly, root in this step , it is necessary to which read to represent file change conditions is during the storage file new information queue included according to preset memory locations It unites notification message, determines the storage file after the arrangement that preset memory locations are included according to the notifications message, and according to Storage file new information queue after arrangement.That is, after the name of file changes, read out in order to prevent It is wrong, it is necessary to subscribe to represent the notifications message of file change conditions, to understand the situation of change of filename in time, from And the file according to corresponding to the filename after variation is come new information queue.Certainly, obtained except through notifications message Outside the mode for knowing filename situation of change, the text for each storage file that preset memory locations are included can also be periodically checked Part name change conditions.
Step S240:Second computer room carries out data synchronization according to each message data stored in message queue.
Specifically, first, the second computer room obtains a piece of news data in message queue, determines what is included in message data Multiple operation notes;Then, create and the corresponding update affairs of message data;Wherein, in the update affairs comprising it is multiple with The multiple operation notes included in message data update operation correspondingly;Finally, update affairs execution and message are passed through The corresponding data simultaneously operating of data.
" the display shape for operating corresponding Web content is changed and thumbs up for example, it is assumed that including in a piece of news data State " and " sent to user relevant with the Web content and thumb up notification message " two operation notes, correspondingly, create and are somebody's turn to do The corresponding update affairs of message data, and update to include to perform in affairs and " change and thumb up the corresponding network of operation First update of the dispaly state of content " is operated and " thumbed up for performing to user relevant with Web content transmission logical Know message " second update operation.During specific execution, only when the first update included in the update affairs is operated with second more When new operation is carried out successfully, the affairs are just submitted;When the first update operation included in the update affairs and/or the second update When operation performs failure, the rollback affairs.By way of affairs, it is ensured that the uniformity of the data in database avoids Because an operation in affairs runs succeeded, another operation performs the error in data caused by failure.
In the present embodiment, the first computer room and/or the second computer room can be Redis storage rooms, also, the second computer room Quantity can be multiple.When the quantity of the second computer room is multiple, the consumption terminal for being equivalent to message queue is multiple, each consumption The data in message queue are consumed at end independently of each other, and then realize that the data between each computer room are synchronous.In addition, the first computer room and Second computer room can also exchange.For example, it is assumed that set altogether there are three computer room, when data update occurs for computer room A, computer room A conducts First computer room, computer room B and computer room C are as the second computer room;When data update occurs for computer room B, computer room B is as the first computer room, machine Room A and computer room C are as the second computer room;When data update occurs for computer room C, computer room C makees as the first computer room, computer room B and computer room A For the second computer room.In the above case said, message queue is either one can also be multiple, in short, passing through message queue energy Enough realize the function of bi-directional synchronization data between multiple computer rooms.It can be seen that not only it is stored with the first computer room more in message queue The message data generated when new is also stored with the message data generated during the update of the second computer room, and therefore, the manner can also be into one Step comprises the following steps:First computer room obtains the message data generated when being updated in message queue by the second computer room, according to acquisition It is synchronous that the message data arrived carries out data.Correspondingly, a synchronization module is may each comprise in each computer room, for obtaining it The message data of his computer room write-in message queue, it is synchronous between other computer rooms to realize.It is at this point, each for the ease of distinguishing A message data is generated by which computer room, in the present embodiment, computer room mark can also be further carried in message data Know, so that each computer room inquires about the message data in non-native room and synchronizes.
In summary, by way of in the present invention, when needing update, a computer room can be selected to carry out more nearby Newly, then, it will be updated the data by the computer room and be synchronized to other each computer rooms.Without as the prior art by it is all more New operation, which is all concentrated in a main equipment room, to be completed, so as to disperse the data of each computer room write-in pressure, when reducing operation Prolong, and prevent the write error caused by data congestion.Further, since multiple updates behaviour that a update request is corresponding Possess stringent ordinal relation between work, it is therefore, out of order because occurring between each message data in message queue in order to prevent And the execution sequence that corresponding multiple updates operation is asked in same update is influenced, it is multiple corresponding to by same update request Operation note is encapsulated as a piece of news data according to execution sequence, so as to prevent the occurrence of out of order, it is ensured that synchronous mistake The correctness of journey.
Fig. 3 shows a kind of apparatus structure for data synchronization unit for computer room that further embodiment of this invention provides Figure, the data synchronization unit are arranged on the first computer room, including:
Update module 31, the corresponding multiple update operations of update request for being adapted for carrying out and receiving;
Package module 32, suitable for the corresponding multiple operation notes of the multiple update operation are encapsulated according to execution sequence For a piece of news data;
Memory module 33, suitable for by the message data storage into default message queue, for the second computer room according to It is synchronous that each message data stored in the message queue carries out data.
Optionally, the update module 31 is particularly adapted to:It determines with the update corresponding each update to be asked to operate Action type and execution sequence;Each update is performed successively according to the action type and execution sequence of each update operation Operation.
Optionally, the update module 31 is particularly adapted to:It determines the request type of the update request, is asked according to default Executing rule is asked to determine action type and execution sequence with the corresponding each update operation of the request type.
Optionally, the package module 32 is particularly adapted to:It is in advance the unique request mark of each update request distribution;Root It is identified according to the request included in each update operation, determines each update operation corresponding to same update request;By described in Corresponding to multiple operation notes corresponding to each update operation of same update request one is encapsulated as according to execution sequence Message data.
Optionally, the memory module 33 is particularly adapted to:The message data is stored to preset memory locations and is included Storage file in, the storage file included according to the preset memory locations updates the message queue;
Also, described device further comprises:
Sorting module 34, suitable for every prefixed time interval, according to default file consolidation rule to the default storage The storage file that position is included is arranged;
Then the memory module 33 is particularly adapted to:It reads to represent the notifications message of file change conditions, according to The notifications message determines the storage file after the arrangement that the preset memory locations are included, after the arrangement Storage file updates the message queue.
Optionally, first computer room and/or the second computer room are Redis storage rooms, and the quantity of second computer room To be multiple.
The concrete structure and operation principle of above-mentioned modules can refer to the description of corresponding steps in embodiment of the method, herein It repeats no more.
The embodiment of the present application provides a kind of nonvolatile computer storage media, and computer storage media is stored at least One executable instruction, the data for computer room which can perform in above-mentioned any means embodiment are synchronous Method.
Fig. 4 shows the structure diagram of a kind of electronic equipment according to embodiments of the present invention, the specific embodiment of the invention The specific implementation of electronic equipment is not limited.
As shown in figure 4, the electronic equipment can include:Processor (processor) 402, communication interface (Communications Interface) 404, memory (memory) 406 and communication bus 408.
Wherein:
Processor 402, communication interface 404 and memory 406 complete mutual communication by communication bus 408.
Communication interface 404, for communicating with the network element of miscellaneous equipment such as client or other servers etc..
Processor 402 for performing program 410, can specifically perform the above-mentioned method of data synchronization for computer room and implement Correlation step in example.
Specifically, program 410 can include program code, which includes computer-managed instruction.
Processor 402 may be central processor CPU or specific integrated circuit ASIC (Application Specific Integrated Circuit) or be arranged to implement the embodiment of the present invention one or more integrate electricity Road.The one or more processors that electronic equipment includes can be same type of processor, such as one or more CPU;Also may be used To be different types of processor, such as one or more CPU and one or more ASIC.
Memory 406, for storing program 410.Memory 406 may include high-speed RAM memory, it is also possible to further include Nonvolatile memory (non-volatile memory), for example, at least a magnetic disk storage.
Program 410 specifically can be used for so that processor 402 performs following operation:
The corresponding multiple update operations of update request for performing and receiving;
The corresponding multiple operation notes of the multiple update operation are encapsulated as a piece of news data according to execution sequence;
By message data storage into default message queue, so that the second computer room is deposited according in the message queue It is synchronous that each message data of storage carries out data.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 performs following behaviour Make:
First computer room determines the action type and execution sequence with the corresponding each update operation of the update request;
Each update operation is performed successively according to the action type and execution sequence of each update operation.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 performs following behaviour Make:
It determines the request type of the update request, is determined according to default request executing rule opposite with the request type The action type and execution sequence for each update operation answered.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 performs following behaviour Make:
It is in advance the unique request mark of each update request distribution;
Request according to being included in each update operation identifies, and determines each update behaviour corresponding to same update request Make;
By the corresponding multiple operation notes of each update operation corresponding to same update request according to execution Order is encapsulated as a piece of news data.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 performs following behaviour Make:
Second computer room obtains a piece of news data in the message queue, determines what is included in the message data Multiple operation notes;
It creates and the corresponding update affairs of the message data;Wherein, it is described update affairs in comprising it is multiple with it is described The multiple operation notes included in message data update operation correspondingly;
It is performed and the corresponding data simultaneously operating of the message data by the update affairs.
In a kind of optional mode, program 410 can specifically be further used for so that processor 402 performs following behaviour Make:
In the storage file that message data storage is included to preset memory locations, according to the default storage position It puts included storage file and updates the message queue;
Every prefixed time interval, the storage included according to default file consolidation rule to the preset memory locations File is arranged;
Reading determines described pre- for representing the notifications message of file change conditions according to the notifications message If the storage file after the arrangement that storage location is included, the message queue is updated according to the storage file after the arrangement.
Wherein, first computer room and/or the second computer room are Redis storage rooms, and the quantity of second computer room is It is multiple.
Algorithm and display be not inherently related to any certain computer, virtual system or miscellaneous equipment provided herein. Various general-purpose systems can also be used together with teaching based on this.As described above, required by constructing this kind of system Structure be obvious.In addition, the present invention is not also directed to any certain programmed language.It should be understood that it can utilize various Programming language realizes the content of invention described herein, and the description done above to language-specific is to disclose this hair Bright preferred forms.
In the specification provided in this place, numerous specific details are set forth.It is to be appreciated, however, that the implementation of the present invention Example can be put into practice without these specific details.In some instances, well known method, structure is not been shown in detail And technology, so as not to obscure the understanding of this description.
Similarly, it should be understood that in order to simplify the disclosure and help to understand one or more of each inventive aspect, Above in the description of exemplary embodiment of the present invention, each feature of the invention is grouped together into single implementation sometimes In example, figure or descriptions thereof.However, the method for the disclosure should be construed to reflect following intention:I.e. required guarantor Shield the present invention claims the more features of feature than being expressly recited in each claim.It is more precisely, such as following Claims reflect as, inventive aspect is all features less than single embodiment disclosed above.Therefore, Thus the claims for following specific embodiment are expressly incorporated in the specific embodiment, wherein each claim is in itself Separate embodiments all as the present invention.
Those skilled in the art, which are appreciated that, to carry out adaptively the module in the equipment in embodiment Change and they are arranged in one or more equipment different from the embodiment.It can be the module or list in embodiment Member or component be combined into a module or unit or component and can be divided into addition multiple submodule or subelement or Sub-component.In addition at least some in such feature and/or process or unit exclude each other, it may be employed any Combination is disclosed to all features disclosed in this specification (including adjoint claim, summary and attached drawing) and so to appoint Where all processes or unit of method or equipment are combined.Unless expressly stated otherwise, this specification is (including adjoint power Profit requirement, summary and attached drawing) disclosed in each feature can be by providing the alternative features of identical, equivalent or similar purpose come generation It replaces.
In addition, it will be appreciated by those of skill in the art that although some embodiments described herein include other embodiments In included some features rather than other feature, but the combination of the feature of different embodiments means in of the invention Within the scope of and form different embodiments.For example, in the following claims, embodiment claimed is appointed One of meaning mode can use in any combination.
The all parts embodiment of the present invention can be with hardware realization or to be run on one or more processor Software module realize or realized with combination thereof.It will be understood by those of skill in the art that it can use in practice Microprocessor or digital signal processor (DSP) realize the data synchronization unit for computer room according to embodiments of the present invention In some or all components some or all functions.The present invention is also implemented as performing as described herein The some or all equipment or program of device (for example, computer program and computer program product) of method.So Realization the present invention program can may be stored on the computer-readable medium or can have one or more signal shape Formula.Such signal can be downloaded from internet website to be obtained either providing or with any other shape on carrier signal Formula provides.
It should be noted that the present invention will be described rather than limits the invention for above-described embodiment, and ability Field technique personnel can design alternative embodiment without departing from the scope of the appended claims.In the claims, Any reference symbol between bracket should not be configured to limitations on claims.Word "comprising" does not exclude the presence of not Element or step listed in the claims.Word "a" or "an" before element does not exclude the presence of multiple such Element.The present invention can be by means of including the hardware of several different elements and being come by means of properly programmed computer real It is existing.If in the unit claim for listing equipment for drying, several in these devices can be by same hardware branch To embody.The use of word first, second, and third does not indicate that any order.These words can be explained and run after fame Claim.
The invention also discloses:A1. a kind of method of data synchronization for computer room, including:
First computer room is performed to be operated with the corresponding multiple updates of update request received;
The corresponding multiple operation notes of the multiple update operation are encapsulated as a piece of news data according to execution sequence;
By message data storage into default message queue, so that the second computer room is deposited according in the message queue It is synchronous that each message data of storage carries out data.
A2. the method according to A1, wherein, the update request that first computer room is performed and received is corresponding more The step of a update operation, specifically includes:
First computer room determines the action type and execution sequence with the corresponding each update operation of the update request;
Each update operation is performed successively according to the action type and execution sequence of each update operation.
A3. the method according to A2, wherein, first computer room determine with it is described update request it is corresponding it is each more The step of action type and execution sequence for newly operating, specifically includes:
It determines the request type of the update request, is determined according to default request executing rule opposite with the request type The action type and execution sequence for each update operation answered.
A4. according to any methods of A1-A3, wherein, multiple behaviour that the multiple update operation is corresponding The step of being encapsulated as a piece of news data according to execution sequence of noting down specifically includes:
It is in advance the unique request mark of each update request distribution;
Request according to being included in each update operation identifies, and determines each update behaviour corresponding to same update request Make;
By the corresponding multiple operation notes of each update operation corresponding to same update request according to execution Order is encapsulated as a piece of news data.
A5. according to any methods of A1-A4, wherein, second computer room in the message queue according to storing The step that each message data carries out data synchronization specifically includes:
Second computer room obtains a piece of news data in the message queue, determines what is included in the message data Multiple operation notes;
It creates and the corresponding update affairs of the message data;Wherein, it is described update affairs in comprising it is multiple with it is described The multiple operation notes included in message data update operation correspondingly;
It is performed and the corresponding data simultaneously operating of the message data by the update affairs.
A6. according to any methods of A1-A5, wherein, it is described by message data storage to default message team Step in row specifically includes:
In the storage file that message data storage is included to preset memory locations, according to the default storage position It puts included storage file and updates the message queue;
Also, the method is further included:
Every prefixed time interval, the storage included according to default file consolidation rule to the preset memory locations File is arranged;
The step of then storage file included according to the preset memory locations updates the message queue is specific Including:Reading determines described default for representing the notifications message of file change conditions according to the notifications message Storage file after the arrangement that storage location is included updates the message queue according to the storage file after the arrangement.
A7. according to any methods of A1-A6, wherein, first computer room and/or the second computer room store for Redis Computer room, and the quantity of second computer room is multiple.
B8. a kind of data synchronization unit for computer room, the data synchronization unit are arranged on the first computer room, including:
Update module, the corresponding multiple update operations of update request for being adapted for carrying out and receiving;
Package module, suitable for the corresponding multiple operation notes of the multiple update operation are encapsulated as according to execution sequence A piece of news data;
Memory module, suitable for storing the message data into default message queue, so that the second computer room is according to institute It states each message data stored in message queue and carries out data synchronization.
B9. the device according to B8, wherein, the update module is particularly adapted to:It determines opposite with the update request The action type and execution sequence for each update operation answered;According to the action type and execution sequence of each update operation Each update operation is performed successively.
B10. the device according to B9, wherein, the update module is particularly adapted to:
It determines the request type of the update request, is determined according to default request executing rule opposite with the request type The action type and execution sequence for each update operation answered.
B11. according to any devices of B8-B10, wherein, the package module is particularly adapted to:It is in advance each update The unique request mark of request distribution;Request according to being included in each update operation identifies, and determines to correspond to same update Each update operation of request;The corresponding multiple operations of each update operation corresponding to same update request are remembered Record is encapsulated as a piece of news data according to execution sequence.
B12. according to any devices of B8-B11, wherein, the memory module is particularly adapted to:By the message data It stores in the storage file that preset memory locations are included, the storage file included according to the preset memory locations updates The message queue;
Also, described device further comprises:
Sorting module, suitable for every prefixed time interval, according to default file consolidation rule to the default storage position Included storage file is put to be arranged;
Then the memory module is particularly adapted to:Reading is for representing the notifications message of file change conditions, according to institute It states notifications message and determines the storage file after the arrangement that the preset memory locations are included, according to depositing after the arrangement It stores up file and updates the message queue.
B13. according to any devices of B8-B12, wherein, first computer room and/or the second computer room are deposited for Redis Computer room is stored up, and the quantity of second computer room is multiple.
C14. a kind of electronic equipment, including:Processor, memory, communication interface and communication bus, the processor, institute It states memory and the communication interface and mutual communication is completed by the communication bus;
For the memory for storing an at least executable instruction, the executable instruction makes the processor perform such as The corresponding operation of the method for data synchronization for computer room any one of A1-A7.
D15. a kind of computer storage media is stored with an at least executable instruction in the storage medium, described to hold Row instruction makes processor perform the corresponding operation of the method for data synchronization for computer room as any one of A1-A7.

Claims (10)

1. a kind of method of data synchronization for computer room, including:
First computer room is performed to be operated with the corresponding multiple updates of update request received;
The corresponding multiple operation notes of the multiple update operation are encapsulated as a piece of news data according to execution sequence;
By message data storage into default message queue, so that the second computer room is according to storing in the message queue It is synchronous that each message data carries out data.
2. according to the method described in claim 1, wherein, the first computer room execution and the update request received are corresponding The step of multiple update operations, specifically includes:
First computer room determines the action type and execution sequence with the corresponding each update operation of the update request;
Each update operation is performed successively according to the action type and execution sequence of each update operation.
3. according to the method described in claim 2, wherein, first computer room determines corresponding each with the update request The step of action type and execution sequence for updating operation, specifically includes:
It determines the request type of the update request, is determined according to default request executing rule corresponding with the request type The action type and execution sequence of each update operation.
4. according to any methods of claim 1-3, wherein, multiple behaviour that the multiple update operation is corresponding The step of being encapsulated as a piece of news data according to execution sequence of noting down specifically includes:
It is in advance the unique request mark of each update request distribution;
Request according to being included in each update operation identifies, and determines each update operation corresponding to same update request;
By the corresponding multiple operation notes of each update operation corresponding to same update request according to execution sequence It is encapsulated as a piece of news data.
5. according to any methods of claim 1-4, wherein, second computer room in the message queue according to storing The step that each message data carries out data synchronization specifically includes:
Second computer room obtains a piece of news data in the message queue, determines to include in the message data multiple Operation note;
It creates and the corresponding update affairs of the message data;Wherein, the multiple and message is included in the update affairs The multiple operation notes included in data update operation correspondingly;
It is performed and the corresponding data simultaneously operating of the message data by the update affairs.
6. according to any methods of claim 1-5, wherein, it is described by message data storage to default message team Step in row specifically includes:
In the storage file that message data storage is included to preset memory locations, according to the preset memory locations institute Comprising storage file update the message queue;
Also, the method is further included:
Every prefixed time interval, the storage file included according to default file consolidation rule to the preset memory locations It is arranged;
The step of then storage file included according to the preset memory locations updates the message queue specifically includes: Reading determines the default storage position for representing the notifications message of file change conditions according to the notifications message The storage file after included arrangement is put, the message queue is updated according to the storage file after the arrangement.
7. according to any methods of claim 1-6, wherein, first computer room and/or the second computer room store for Redis Computer room, and the quantity of second computer room is multiple.
8. a kind of data synchronization unit for computer room, which is arranged on the first computer room, including:
Update module, the corresponding multiple update operations of update request for being adapted for carrying out and receiving;
Package module, suitable for the corresponding multiple operation notes of the multiple update operation are encapsulated as one according to execution sequence Message data;
Memory module, suitable for storing the message data into default message queue, so that the second computer room disappears according to It is synchronous that each message data stored in breath queue carries out data.
9. a kind of electronic equipment, including:Processor, memory, communication interface and communication bus, the processor, the storage Device and the communication interface complete mutual communication by the communication bus;
For the memory for storing an at least executable instruction, the executable instruction makes the processor perform right such as will Ask the corresponding operation of the method for data synchronization for computer room any one of 1-7.
10. a kind of computer storage media, an at least executable instruction, the executable instruction are stored in the storage medium Processor is made to perform the corresponding operation of the method for data synchronization for computer room as any one of claim 1-7.
CN201711431177.7A 2017-12-26 2017-12-26 Data synchronization method and device for computer room Expired - Fee Related CN108055343B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711431177.7A CN108055343B (en) 2017-12-26 2017-12-26 Data synchronization method and device for computer room

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711431177.7A CN108055343B (en) 2017-12-26 2017-12-26 Data synchronization method and device for computer room

Publications (2)

Publication Number Publication Date
CN108055343A true CN108055343A (en) 2018-05-18
CN108055343B CN108055343B (en) 2021-07-13

Family

ID=62131935

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711431177.7A Expired - Fee Related CN108055343B (en) 2017-12-26 2017-12-26 Data synchronization method and device for computer room

Country Status (1)

Country Link
CN (1) CN108055343B (en)

Cited By (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833569A (en) * 2018-06-27 2018-11-16 郑州云海信息技术有限公司 A kind of method of data synchronization and relevant apparatus
CN109684406A (en) * 2018-11-13 2019-04-26 北京达佳互联信息技术有限公司 Method, apparatus, equipment and the storage medium of redis cluster backup data across computer room
CN110149382A (en) * 2019-05-08 2019-08-20 拉扎斯网络科技(上海)有限公司 Data synchronous method, system, primary server, sync client and medium
CN110381146A (en) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 Batch operation processing method, device and storage medium
CN111212100A (en) * 2018-11-22 2020-05-29 财团法人工业技术研究院 Synchronization method and system for publishing and subscribing message queue
CN111309693A (en) * 2020-02-07 2020-06-19 北京奇艺世纪科技有限公司 Data synchronization method, device and system, electronic equipment and storage medium
CN111680100A (en) * 2020-04-30 2020-09-18 聚好看科技股份有限公司 Redis data synchronization method and server
CN112764947A (en) * 2021-01-15 2021-05-07 百果园技术(新加坡)有限公司 Message data pulling method, device, equipment and storage medium
CN113407528A (en) * 2020-11-20 2021-09-17 广东美云智数科技有限公司 Authority data synchronization method, management device and storage medium
CN113407637A (en) * 2021-07-13 2021-09-17 上海浦东发展银行股份有限公司 Data synchronization method and device, electronic equipment and storage medium
WO2021212493A1 (en) * 2020-04-24 2021-10-28 深圳市欢太科技有限公司 Data synchronization method and device, data storage system and computer-readable medium
CN115174682A (en) * 2022-06-17 2022-10-11 中国银联股份有限公司 Data distribution method, system, center, device and computer readable storage medium
US11922026B2 (en) 2022-02-16 2024-03-05 T-Mobile Usa, Inc. Preventing data loss in a filesystem by creating duplicates of data in parallel, such as charging data in a wireless telecommunications network

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110010774A1 (en) * 2009-07-13 2011-01-13 Electronics And Telecommunications Research Institute Multimedia play apparatus and method
CN104113787A (en) * 2014-05-29 2014-10-22 腾讯科技(深圳)有限公司 Program-based commenting method, terminal, server, and program-based commenting system
CN104967536A (en) * 2015-06-29 2015-10-07 北京奇虎科技有限公司 Method and device for realizing data consistency of multiple machine rooms
CN105677849A (en) * 2016-01-06 2016-06-15 北京京东尚科信息技术有限公司 Data updating method and device
CN107357883A (en) * 2017-06-30 2017-11-17 北京奇虎科技有限公司 Data migration method and device
CN107465767A (en) * 2017-09-29 2017-12-12 网宿科技股份有限公司 A kind of method and system of data syn-chronization

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20110010774A1 (en) * 2009-07-13 2011-01-13 Electronics And Telecommunications Research Institute Multimedia play apparatus and method
CN104113787A (en) * 2014-05-29 2014-10-22 腾讯科技(深圳)有限公司 Program-based commenting method, terminal, server, and program-based commenting system
CN104967536A (en) * 2015-06-29 2015-10-07 北京奇虎科技有限公司 Method and device for realizing data consistency of multiple machine rooms
CN105677849A (en) * 2016-01-06 2016-06-15 北京京东尚科信息技术有限公司 Data updating method and device
CN107357883A (en) * 2017-06-30 2017-11-17 北京奇虎科技有限公司 Data migration method and device
CN107465767A (en) * 2017-09-29 2017-12-12 网宿科技股份有限公司 A kind of method and system of data syn-chronization

Cited By (18)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108833569A (en) * 2018-06-27 2018-11-16 郑州云海信息技术有限公司 A kind of method of data synchronization and relevant apparatus
CN109684406A (en) * 2018-11-13 2019-04-26 北京达佳互联信息技术有限公司 Method, apparatus, equipment and the storage medium of redis cluster backup data across computer room
CN111212100B (en) * 2018-11-22 2022-07-19 财团法人工业技术研究院 Synchronization method and system for publishing and subscribing message queue
CN111212100A (en) * 2018-11-22 2020-05-29 财团法人工业技术研究院 Synchronization method and system for publishing and subscribing message queue
CN110149382A (en) * 2019-05-08 2019-08-20 拉扎斯网络科技(上海)有限公司 Data synchronous method, system, primary server, sync client and medium
CN110381146A (en) * 2019-07-23 2019-10-25 腾讯科技(深圳)有限公司 Batch operation processing method, device and storage medium
CN110381146B (en) * 2019-07-23 2021-09-03 腾讯科技(深圳)有限公司 Batch operation processing method and device and storage medium
CN111309693A (en) * 2020-02-07 2020-06-19 北京奇艺世纪科技有限公司 Data synchronization method, device and system, electronic equipment and storage medium
WO2021212493A1 (en) * 2020-04-24 2021-10-28 深圳市欢太科技有限公司 Data synchronization method and device, data storage system and computer-readable medium
CN115004662A (en) * 2020-04-24 2022-09-02 深圳市欢太科技有限公司 Data synchronization method, data synchronization device, data storage system and computer readable medium
CN111680100A (en) * 2020-04-30 2020-09-18 聚好看科技股份有限公司 Redis data synchronization method and server
CN111680100B (en) * 2020-04-30 2023-02-28 聚好看科技股份有限公司 Redis data synchronization method and server
CN113407528A (en) * 2020-11-20 2021-09-17 广东美云智数科技有限公司 Authority data synchronization method, management device and storage medium
CN112764947A (en) * 2021-01-15 2021-05-07 百果园技术(新加坡)有限公司 Message data pulling method, device, equipment and storage medium
CN112764947B (en) * 2021-01-15 2023-12-26 百果园技术(新加坡)有限公司 Message data pulling method, device, equipment and storage medium
CN113407637A (en) * 2021-07-13 2021-09-17 上海浦东发展银行股份有限公司 Data synchronization method and device, electronic equipment and storage medium
US11922026B2 (en) 2022-02-16 2024-03-05 T-Mobile Usa, Inc. Preventing data loss in a filesystem by creating duplicates of data in parallel, such as charging data in a wireless telecommunications network
CN115174682A (en) * 2022-06-17 2022-10-11 中国银联股份有限公司 Data distribution method, system, center, device and computer readable storage medium

Also Published As

Publication number Publication date
CN108055343B (en) 2021-07-13

Similar Documents

Publication Publication Date Title
CN108055343A (en) For the method for data synchronization and device of computer room
CN108733476B (en) Method and device for executing multiple tasks
US10909183B2 (en) Computer data system data source refreshing using an update propagation graph having a merged join listener
RU2610288C2 (en) Providing capabilities of configured technological process
CN108874558B (en) Message subscription method of distributed transaction, electronic device and readable storage medium
US20210289024A1 (en) Dynamic execution resource selection for customized workflow tasks
WO2016183545A1 (en) Distributed and optimized garbage collection of remote and exported table handle links to update propagation graph nodes
CN105095365A (en) Information flow data processing method and device
CN107391628A (en) Method of data synchronization and device
US20220179642A1 (en) Software code change method and apparatus
CN110019123B (en) Data migration method and device
CN108364242A (en) The copyright for preserving intermediate file really weighs method and device
CN108280227A (en) Data information processing method based on caching and device
CN109582329A (en) Data management and method for subscribing, device, system, electronic equipment and storage medium
CN105162879A (en) Method, device and system for realizing data consistency among plurality of machine rooms
CN113076304A (en) Distributed version management method, device and system
CN115185787A (en) Method and device for processing transaction log
CN108769157A (en) Methods of exhibiting, device, computing device and the computer storage media of message pop-up
CN113076186B (en) Task processing method, device, electronic equipment and storage medium
CN111435329A (en) Automatic testing method and device
CN110008034A (en) Task automated execution method, apparatus, electronic equipment and storage medium
CN105389394A (en) Data request processing method and device based on a plurality of database clusters
CN114787836A (en) System and method for remotely executing one or more arbitrarily defined workflows
CN108334333A (en) A kind of source code library update method and device
CN105512332A (en) Method for linking and adjusting data between databases, device and 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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20210713

CF01 Termination of patent right due to non-payment of annual fee