Unlock instant, AI-driven research and patent intelligence for your innovation.

Data synchronization method and device for computer room

A data synchronization and computer room technology, applied in the computer field, can solve problems such as increased waiting delay, increased writing failure, and sharp increase in writing pressure in the main computer room, so as to prevent disorder and ensure correctness

Active Publication Date: 2021-07-13
BEIJING QIHOO TECH CO LTD
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In the above situation, the data in multiple computer rooms needs to be consistent. Once the data in each computer room is inconsistent, it will affect the normal use of users.
Due to frequent changes in business data, once the data in a certain computer room is changed, other computer rooms do not update synchronously in time, resulting in data inconsistency
In the prior art, one-way synchronization is usually used to realize data synchronization between multiple computer rooms. In this method, data can only be synchronized from the main computer room to the secondary computer room, but not from the secondary computer room to the main computer room.
[0004] However, the inventor found in the process of implementing the present invention that the above-mentioned method in the prior art has at least the following defects: since data can only be synchronized from the master computer room to the slave computer room, the update data corresponding to the slave computer room cannot be synchronized to the master computer room, which brings the hidden danger of data inconsistency
However, this will inevitably lead to a sharp increase in the writing pressure in the host computer room, thereby increasing the waiting delay and virtually increasing the probability of writing failure

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Data synchronization method and device for computer room
  • Data synchronization method and device for computer room
  • Data synchronization method and device for computer room

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0021] Exemplary embodiments of the present disclosure will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present disclosure are shown in the drawings, it should be understood that the present disclosure may be embodied in various forms and should not be limited by the embodiments set forth herein. Rather, these embodiments are provided for more thorough understanding of the present disclosure and to fully convey the scope of the present disclosure to those skilled in the art.

[0022] figure 1 A schematic flowchart of a data synchronization method for a computer room according to an embodiment of the present invention is shown. Such as figure 1 As shown, the method includes:

[0023] Step S110: the first computer room executes multiple update operations corresponding to the received update request.

[0024] Wherein, the update request received by the first computer room may be sent by a terminal user, ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a data synchronization method and device for a computer room. Wherein, the method includes: the first computer room executes a plurality of update operations corresponding to the received update request; encapsulates a plurality of operation records corresponding to the plurality of update operations into a piece of message data according to the order of execution; stores the message data in In the preset message queue, the second computer room can perform data synchronization according to each message data stored in the message queue. It can be seen that, using the solution provided by the present invention, the bidirectional data synchronization operation between multiple computer rooms is realized. In addition, multiple operation records corresponding to the same update request can be encapsulated into one piece of message data according to the order of execution, thereby preventing the occurrence of out-of-order situations and ensuring the correctness of the synchronization process.

Description

technical field [0001] The invention relates to the technical field of computers, in particular to a data synchronization method and device for a computer room. Background technique [0002] With the increasing popularity of network services, the number of user visits is increasing. If all business data is stored on a server, the server will often fail due to excessive visits. Moreover, it is limited by the storage space of the server. , in an application scenario with a large amount of business data, one server often cannot carry all the business data. Therefore, multiple servers are required to jointly provide services for users. For this reason, multiple servers that are jointly used to provide a certain service can be set in the same computer room, and the computer room provides the service to users. In addition, in practical applications, it is often necessary to store some commonly used business data in multiple computer rooms at the same time. [0003] In the above ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Patents(China)
IPC IPC(8): H04L29/08
CPCH04L67/1095H04L67/5682H04L67/568
Inventor 李钢
Owner BEIJING QIHOO TECH CO LTD