CN111124759A - Method, equipment and medium for data synchronization under hybrid cloud architecture - Google Patents
Method, equipment and medium for data synchronization under hybrid cloud architecture Download PDFInfo
- Publication number
- CN111124759A CN111124759A CN201911373665.6A CN201911373665A CN111124759A CN 111124759 A CN111124759 A CN 111124759A CN 201911373665 A CN201911373665 A CN 201911373665A CN 111124759 A CN111124759 A CN 111124759A
- Authority
- CN
- China
- Prior art keywords
- data
- version number
- client
- group
- identification
- 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.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 43
- 230000004044 response Effects 0.000 claims abstract description 15
- 238000004590 computer program Methods 0.000 claims description 9
- 238000013507 mapping Methods 0.000 claims description 7
- 230000006870 function Effects 0.000 description 7
- 238000010586 diagram Methods 0.000 description 4
- 230000003287 optical effect Effects 0.000 description 4
- 230000000694 effects Effects 0.000 description 3
- 238000005516 engineering process Methods 0.000 description 3
- 230000008569 process Effects 0.000 description 3
- 230000001360 synchronised effect Effects 0.000 description 3
- 238000013461 design Methods 0.000 description 2
- 239000000835 fiber Substances 0.000 description 2
- 238000012423 maintenance Methods 0.000 description 2
- 238000012986 modification Methods 0.000 description 2
- 230000004048 modification Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000008878 coupling Effects 0.000 description 1
- 238000010168 coupling process Methods 0.000 description 1
- 238000005859 coupling reaction Methods 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000014509 gene expression Effects 0.000 description 1
- 238000007429 general method Methods 0.000 description 1
- 238000010295 mobile communication Methods 0.000 description 1
- 238000012545 processing Methods 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
- 239000013589 supplement Substances 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
- 230000009466 transformation Effects 0.000 description 1
- 238000000844 transformation Methods 0.000 description 1
Images
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F11/00—Error detection; Error correction; Monitoring
- G06F11/07—Responding to the occurrence of a fault, e.g. fault tolerance
- G06F11/14—Error detection or correction of the data by redundancy in operation
- G06F11/1402—Saving, restoring, recovering or retrying
- G06F11/1446—Point-in-time backing up or restoration of persistent data
- G06F11/1448—Management of the data involved in backup or backup restore
- G06F11/1451—Management of the data involved in backup or backup restore by selection of backup contents
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Quality & Reliability (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a data synchronization method under a hybrid cloud architecture, which comprises the following steps: dividing data into a plurality of groups in a main cloud data center, distributing corresponding identification and version numbers to the data of each group, and sending the data, the identification and the version numbers to a client for storage; the client sends the stored identification to the master cloud data center every preset time and receives the version number returned by the master cloud data center; sequentially judging whether the version number returned by each group is the same as the version number in the client; and updating the data and version number of the group in the client in response to the returned version number being different from the version number in the client. The invention also discloses a computer device and a readable storage medium. The method, the equipment and the medium for data synchronization under the hybrid cloud architecture provided by the invention can only perform backup restoration on a small amount of updated data by grouping and comparing the data, thereby greatly improving the data synchronization efficiency.
Description
Technical Field
The present invention relates to the field of data synchronization, and in particular, to a method, device and readable medium for data synchronization under a hybrid cloud architecture.
Background
A hybrid cloud is a computing environment that combines both public and private clouds by allowing sharing of data and applications between the clouds. With the rapid development of cloud computing, hybrid clouds have been adopted by more and more enterprises, and even for most enterprises, it will become the optimal cloud strategy to adopt public clouds to supplement the existing shortcomings of locally deployed data centers and private cloud infrastructures. The hybrid cloud has the advantages that the hybrid cloud can adapt to different platform requirements, not only has the openness of a public cloud, but also can meet the security requirements of users on a private cloud.
In practical applications, different programs deployed in the public cloud and the private cloud need to process services based on some public data, and in order to enable the public cloud and the private cloud to have a low coupling degree, the public cloud and the private cloud independently store the public data, so that it is often necessary to synchronize the public data between the public cloud and the private cloud. However, the existing technology does not have an implementation scheme related to this aspect, and a general method is to backup public data as a whole, and then copy the public data from one cloud data center to another cloud data center for restoration, and when the data difference between the two cloud data centers is small, the backup restoration operation is still performed on the full amount of data, so that the data synchronization efficiency is low.
Disclosure of Invention
In view of this, an object of the embodiments of the present invention is to provide a method, a device, and a medium for data synchronization under a hybrid cloud architecture, which can perform backup and restoration only for a small amount of updated data by performing packet comparison on the data, thereby greatly improving data synchronization efficiency.
Based on the above purpose, an aspect of the embodiments of the present invention provides a method for data synchronization under a hybrid cloud architecture, including the following steps: dividing data into a plurality of groups in a main cloud data center, allocating corresponding identification and version numbers to the data of each group, and sending the data, the identification and the version numbers to a client for storage; the client sends the stored identification to the master cloud data center every preset time and receives a version number returned by the master cloud data center; sequentially judging whether the version number returned by each group is the same as the version number in the client; and updating the data and the version number of the group in the client in response to the returned version number being different from the version number in the client.
In some embodiments, said assigning a corresponding identification and version number to the data of each group comprises: distributing corresponding identification to the data of the group, setting a version number for the identification, and setting a mapping relation between the identification and the version number.
In some embodiments, further comprising: judging whether data exists in the client; and initializing the version number in the client in response to the absence of data in the client.
In some embodiments, said updating the data and version number of said group in the client comprises: and the client downloads the data of the group from the main data center, updates the data of the group based on the difference between the downloaded data and the data of the group, and writes the difference into a log.
In some embodiments, further comprising: and sending an alarm signal in response to the fact that the version number returned by the main cloud data center is not received after the preset time.
In another aspect of the embodiments of the present invention, there is also provided a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: dividing data into a plurality of groups in a main cloud data center, allocating corresponding identification and version numbers to the data of each group, and sending the data, the identification and the version numbers to a client for storage; the client sends the stored identification to the master cloud data center every preset time and receives a version number returned by the master cloud data center; sequentially judging whether the version number returned by each group is the same as the version number in the client; and updating the data and the version number of the group in the client in response to the returned version number being different from the version number in the client.
In some embodiments, said assigning a corresponding identification and version number to the data of each group comprises: distributing corresponding identification to the data of the group, setting a version number for the identification, and setting a mapping relation between the identification and the version number.
In some embodiments, the steps further comprise: judging whether data exists in the client; and initializing the version number in the client in response to the absence of data in the client.
In some embodiments, said updating the data and version number of said group in the client comprises: and the client downloads the data of the group from the main data center, updates the data of the group based on the difference between the downloaded data and the data of the group, and writes the difference into a log.
In a further aspect of the embodiments of the present invention, a computer-readable storage medium is also provided, in which a computer program for implementing the above method steps is stored when the computer program is executed by a processor.
The invention has the following beneficial technical effects: by grouping and comparing the data, backup and restoration can be performed only for a small amount of updated data, and the data synchronization efficiency is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a schematic diagram of an embodiment of a method for data synchronization under a hybrid cloud architecture provided in the present invention;
fig. 2 is a schematic hardware structure diagram of an embodiment of a method for data synchronization under a hybrid cloud architecture provided in the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, the following embodiments of the present invention are described in further detail with reference to the accompanying drawings.
It should be noted that all expressions using "first" and "second" in the embodiments of the present invention are used for distinguishing two entities with the same name but different names or different parameters, and it should be noted that "first" and "second" are merely for convenience of description and should not be construed as limitations of the embodiments of the present invention, and they are not described in any more detail in the following embodiments.
Based on the above purpose, a first aspect of the embodiments of the present invention provides an embodiment of a method for data synchronization under a hybrid cloud architecture. Fig. 1 is a schematic diagram illustrating an embodiment of a method for data synchronization under a hybrid cloud architecture provided by the present invention. As shown in fig. 1, the embodiment of the present invention includes the following steps:
s1, dividing the data into a plurality of groups in the main cloud data center, distributing corresponding identification and version number to the data of each group, and sending the data, the identification and the version number to the client for storage;
s2, the client sends the stored identification to the master cloud data center every preset time and receives the version number returned by the master cloud data center;
s3, sequentially judging whether the version number returned by each group is the same as the version number in the client; and
and S4, responding to the returned version number and the version number in the client, and updating the data and the version number of the group in the client.
Under the hybrid cloud architecture, the master cloud data center can be a public cloud or a private cloud, which can be determined by a user, but only one of the clouds can be used as the master data center.
Dividing the data into a plurality of groups in the main cloud data center, allocating corresponding identification and version numbers to the data of each group, and sending the data, the identification and the version numbers to the client. The data needing synchronization is divided into a plurality of groups, each group is assigned with a unique identification (id), and each group of data is assigned with a default version number v0 in the main cloud data center. In some embodiments, said assigning a corresponding identification and version number to the data of each group comprises: distributing corresponding identification to the data of the group, setting a version number for the identification, and setting a mapping relation between the identification and the version number. The mapping relationship is based on, so that the corresponding version number can be found more quickly according to the identification.
The client sends the identification to the master cloud data center every preset time and receives the version number returned by the master cloud data center. The client side collects the id of the grouped data needing to be updated and sends the id to a main cloud data center to inquire the grouped data version number information, and after the main cloud data center receives the request, the main cloud data center returns the version number information of the corresponding grouped data to the client side according to the grouped id information transmitted by the client side. Data of the main cloud data center may be updated, and the grouped data may update the version number of the group of data through a pre-established numbering rule. For example, the version number may be a sequentially increasing serial number.
And sequentially judging whether the version number returned by each group is the same as the version number in the client, and responding to the difference between the returned version number and the version number in the client to update the data and the version number of the group in the client. In some embodiments, said updating the data and version number of said group in the client comprises: and the client downloads the data of the group from the main data center, updates the data of the group based on the difference between the downloaded data and the data of the group, and writes the difference into a log. The client compares the obtained version number of the grouped data with the version number of the group corresponding to the client and identifies the id of the grouped data with different publication numbers, the grouped data with different version numbers are downloaded from the main cloud data center according to the id of the grouped data to update the grouped data corresponding to the local cache, and the updated version number of the grouped data is updated to the latest version number of the main cloud data center. The difference between the downloaded data and the original data is written into a log, so that maintenance personnel can know the changed position, and the main cloud data center can be maintained better.
In some embodiments, further comprising: judging whether data exists in the client; and initializing the version number in the client in response to the absence of data in the client. The value of each packet data version number of the client may be set to an initial value v0 which is guaranteed to be different from the value of any actual version number.
In some embodiments, further comprising: and sending an alarm signal in response to the fact that the version number returned by the main cloud data center is not received after the preset time. If the version number returned by the master cloud data center is not received after the preset time, the master cloud data center is possible to have a fault, and an alarm signal can be sent to warn maintenance personnel of the master cloud data center.
It should be particularly noted that, the steps in the embodiments of the method for data synchronization under the hybrid cloud architecture may be mutually intersected, replaced, added, and deleted, and therefore, the method for data synchronization under the hybrid cloud architecture based on these reasonable permutation and combination transformations shall also belong to the scope of the present invention, and shall not limit the scope of the present invention to the embodiments.
The embodiment of the invention also provides a system for data synchronization under the hybrid cloud architecture, which comprises a client and a main cloud data center.
The client comprises: the first management module is configured for managing and acquiring id and version number information of each grouped data of the client; the first query module is configured to initiate a corresponding packet data version acquisition request to the server according to the packet data id information of the client; the version comparison module is configured to compare the version numbers of the grouped data acquired from the main cloud data center with the version numbers of the local corresponding groups one by one according to the grouped data id; the data downloading module is configured for downloading the specified grouped data from the main cloud data center; and the data updating module is configured to update the locally stored corresponding packet data and update the version number of the packet data to the latest packet data version number.
The master cloud data center includes: the second management module is configured for managing and acquiring id and version number information of each grouped data of the main cloud data center; the second query module is configured to query the version number of the corresponding packet data according to the packet data id information transmitted by the client, and return the query result to the client; and the data distribution module is configured to receive a packet data acquisition request initiated by the client and distribute the packet data to the client.
In view of the above object, a second aspect of the embodiments of the present invention provides a computer device, including: at least one processor; and a memory storing computer instructions executable on the processor, the instructions being executable by the processor to perform the steps of: s1, dividing the data into a plurality of groups in the main cloud data center, distributing corresponding identification and version number to the data of each group, and sending the data, the identification and the version number to the client for storage; s2, the client sends the stored identification to the master cloud data center every preset time and receives the version number returned by the master cloud data center; s3, sequentially judging whether the version number returned by each group is the same as the version number in the client; and S4, responding to the returned version number and the version number in the client, and updating the data and the version number of the group in the client.
In some embodiments, said assigning a corresponding identification and version number to the data of each group comprises: distributing corresponding identification to the data of the group, setting a version number for the identification, and setting a mapping relation between the identification and the version number.
In some embodiments, further comprising: judging whether data exists in the client; and initializing the version number in the client in response to the absence of data in the client.
In some embodiments, said updating the data and version number of said group in the client comprises: and the client downloads the data of the group from the main data center, updates the data of the group based on the difference between the downloaded data and the data of the group, and writes the difference into a log.
In some embodiments, further comprising: and sending an alarm signal in response to the fact that the version number returned by the main cloud data center is not received after the preset time.
Fig. 2 is a schematic diagram of a hardware structure of an embodiment of the method for data synchronization under the hybrid cloud architecture provided by the present invention.
Taking the apparatus shown in fig. 2 as an example, the apparatus includes a processor 301 and a memory 302, and may further include: an input device 303 and an output device 304.
The processor 301, the memory 302, the input device 303 and the output device 304 may be connected by a bus or other means, and fig. 2 illustrates the connection by a bus as an example.
The memory 302 is a non-volatile computer-readable storage medium, and can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules, such as program instructions/modules corresponding to the method for data synchronization under the hybrid cloud architecture in the embodiment of the present application. The processor 301 executes various functional applications of the server and data processing by running the nonvolatile software programs, instructions and modules stored in the memory 302, that is, implements the method for data synchronization under the hybrid cloud architecture of the above-described method embodiment.
The memory 302 may include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the method of data synchronization under the hybrid cloud architecture, and the like. Further, the memory 302 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some embodiments, memory 302 optionally includes memory located remotely from processor 301, which may be connected to a local module via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 303 may receive information such as a user name and a password that are input. The output means 304 may comprise a display device such as a display screen.
Program instructions/modules corresponding to one or more methods for data synchronization under a hybrid cloud architecture are stored in the memory 302, and when executed by the processor 301, perform the method for data synchronization under a hybrid cloud architecture in any of the above-described method embodiments.
Any embodiment of the computer device executing the method for data synchronization under the hybrid cloud architecture can achieve the same or similar effects as any corresponding method embodiment.
The invention also provides a computer readable storage medium storing a computer program which, when executed by a processor, performs the method as above.
Finally, it should be noted that, as one of ordinary skill in the art can appreciate that all or part of the processes in the methods of the embodiments described above can be implemented by a computer program to instruct related hardware, and the program of the method for data synchronization in the hybrid cloud architecture can be stored in a computer-readable storage medium, and when executed, the program can include the processes of the embodiments of the methods described above. The storage medium of the program may be a magnetic disk, an optical disk, a Read Only Memory (ROM), a Random Access Memory (RAM), or the like. The embodiments of the computer program may achieve the same or similar effects as any of the above-described method embodiments.
Furthermore, the methods disclosed according to embodiments of the present invention may also be implemented as a computer program executed by a processor, which may be stored in a computer-readable storage medium. Which when executed by a processor performs the above-described functions defined in the methods disclosed in embodiments of the invention.
Further, the above method steps and system elements may also be implemented using a controller and a computer readable storage medium for storing a computer program for causing the controller to implement the functions of the above steps or elements.
Further, it should be appreciated that the computer-readable storage media (e.g., memory) herein can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. By way of example, and not limitation, nonvolatile memory can include Read Only Memory (ROM), Programmable ROM (PROM), Electrically Programmable ROM (EPROM), Electrically Erasable Programmable ROM (EEPROM), or flash memory. Volatile memory can include Random Access Memory (RAM), which can act as external cache memory. By way of example and not limitation, RAM is available in a variety of forms such as synchronous RAM (DRAM), Dynamic RAM (DRAM), Synchronous DRAM (SDRAM), Double Data Rate SDRAM (DDRSDRAM), Enhanced SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), and Direct Rambus RAM (DRRAM). The storage devices of the disclosed aspects are intended to comprise, without being limited to, these and other suitable types of memory.
Those of skill would further appreciate that the various illustrative logical blocks, modules, circuits, and algorithm steps described in connection with the disclosure herein may be implemented as electronic hardware, computer software, or combinations of both. To clearly illustrate this interchangeability of hardware and software, various illustrative components, blocks, modules, circuits, and steps have been described above generally in terms of their functionality. Whether such functionality is implemented as software or hardware depends upon the particular application and design constraints imposed on the overall system. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the disclosed embodiments of the present invention.
The various illustrative logical blocks, modules, and circuits described in connection with the disclosure herein may be implemented or performed with the following components designed to perform the functions herein: a general purpose processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components, or any combination of these components. A general purpose processor may be a microprocessor, but in the alternative, the processor may be any conventional processor, controller, microcontroller, or state machine. A processor may also be implemented as a combination of computing devices, e.g., a combination of a DSP and a microprocessor, a plurality of microprocessors, one or more microprocessors in conjunction with a DSP, and/or any other such configuration.
The steps of a method or algorithm described in connection with the disclosure herein may be embodied directly in hardware, in a software module executed by a processor, or in a combination of the two. A software module may reside in RAM memory, flash memory, ROM memory, EPROM memory, EEPROM memory, registers, hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. In the alternative, the storage medium may be integral to the processor. The processor and the storage medium may reside in an ASIC. The ASIC may reside in a user terminal. In the alternative, the processor and the storage medium may reside as discrete components in a user terminal.
In one or more exemplary designs, the functions may be implemented in hardware, software, firmware, or any combination thereof. If implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer. By way of example, and not limitation, such computer-readable media can comprise RAM, ROM, EEPROM, CD-ROM or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a general-purpose or special-purpose computer, or a general-purpose or special-purpose processor. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, Digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and disc, as used herein, includes Compact Disc (CD), laser disc, optical disc, Digital Versatile Disc (DVD), floppy disk, blu-ray disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The foregoing is an exemplary embodiment of the present disclosure, but it should be noted that various changes and modifications could be made herein without departing from the scope of the present disclosure as defined by the appended claims. The functions, steps and/or actions of the method claims in accordance with the disclosed embodiments described herein need not be performed in any particular order. Furthermore, although elements of the disclosed embodiments of the invention may be described or claimed in the singular, the plural is contemplated unless limitation to the singular is explicitly stated.
It should be understood that, as used herein, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly supports the exception. It should also be understood that "and/or" as used herein is meant to include any and all possible combinations of one or more of the associated listed items.
The numbers of the embodiments disclosed in the embodiments of the present invention are merely for description, and do not represent the merits of the embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, and the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
Those of ordinary skill in the art will understand that: the discussion of any embodiment above is meant to be exemplary only, and is not intended to intimate that the scope of the disclosure, including the claims, of embodiments of the invention is limited to these examples; within the idea of an embodiment of the invention, also technical features in the above embodiment or in different embodiments may be combined and there are many other variations of the different aspects of the embodiments of the invention as described above, which are not provided in detail for the sake of brevity. Therefore, any omissions, modifications, substitutions, improvements, and the like that may be made without departing from the spirit and principles of the embodiments of the present invention are intended to be included within the scope of the embodiments of the present invention.
Claims (10)
1. A method for data synchronization under a hybrid cloud architecture is characterized by comprising the following steps:
dividing data into a plurality of groups in a main cloud data center, allocating corresponding identification and version numbers to the data of each group, and sending the data, the identification and the version numbers to a client for storage;
the client sends the stored identification to the master cloud data center every preset time and receives a version number returned by the master cloud data center;
sequentially judging whether the version number returned by each group is the same as the version number in the client; and
and updating the data and the version number of the group in the client in response to the returned version number being different from the version number in the client.
2. The method of claim 1, wherein assigning a corresponding identification and version number to the data of each subgroup comprises:
distributing corresponding identification to the data of the group, setting a version number for the identification, and setting a mapping relation between the identification and the version number.
3. The method of claim 1, further comprising:
judging whether data exists in the client; and
and initializing the version number in the client in response to the absence of data in the client.
4. The method of claim 1, wherein updating the data and version number of the group in the client comprises:
and the client downloads the data of the group from the main data center, updates the data of the group based on the difference between the downloaded data and the data of the group, and writes the difference into a log.
5. The method of claim 1, further comprising:
and sending an alarm signal in response to the fact that the version number returned by the main cloud data center is not received after the preset time.
6. A computer device, comprising:
at least one processor; and
a memory storing computer instructions executable on the processor, the instructions when executed by the processor implementing the steps of:
dividing data into a plurality of groups in a main cloud data center, allocating corresponding identification and version numbers to the data of each group, and sending the data, the identification and the version numbers to a client for storage;
the client sends the stored identification to the master cloud data center every preset time and receives a version number returned by the master cloud data center;
sequentially judging whether the version number returned by each group is the same as the version number in the client; and
and updating the data and the version number of the group in the client in response to the returned version number being different from the version number in the client.
7. The computer device of claim 6, wherein assigning a corresponding identification and version number to the data of each subgroup comprises:
distributing corresponding identification to the data of the group, setting a version number for the identification, and setting a mapping relation between the identification and the version number.
8. The computer device of claim 6, wherein the steps further comprise:
judging whether data exists in the client; and
and initializing the version number in the client in response to the absence of data in the client.
9. The computer device of claim 6, wherein the updating the data and version number for the group in the client comprises:
and the client downloads the data of the group from the main data center, updates the data of the group based on the difference between the downloaded data and the data of the group, and writes the difference into a log.
10. A computer-readable storage medium, in which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911373665.6A CN111124759A (en) | 2019-12-27 | 2019-12-27 | Method, equipment and medium for data synchronization under hybrid cloud architecture |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201911373665.6A CN111124759A (en) | 2019-12-27 | 2019-12-27 | Method, equipment and medium for data synchronization under hybrid cloud architecture |
Publications (1)
Publication Number | Publication Date |
---|---|
CN111124759A true CN111124759A (en) | 2020-05-08 |
Family
ID=70503772
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201911373665.6A Pending CN111124759A (en) | 2019-12-27 | 2019-12-27 | Method, equipment and medium for data synchronization under hybrid cloud architecture |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN111124759A (en) |
Cited By (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112597245A (en) * | 2020-12-24 | 2021-04-02 | 北京百度网讯科技有限公司 | Data synchronization method, device and storage medium |
CN113407231A (en) * | 2021-06-09 | 2021-09-17 | 广东全程云科技有限公司 | Upgrading adaptation method of SaaS (software as a service) service, user mobile terminal and system |
CN113741809A (en) * | 2021-07-30 | 2021-12-03 | 苏州浪潮智能科技有限公司 | Method, device and equipment for processing storage block state information in full flash storage |
CN114442933A (en) * | 2021-12-26 | 2022-05-06 | 苏州浪潮智能科技有限公司 | Data interaction method and system for storage system and computer readable medium |
CN114567485A (en) * | 2022-03-01 | 2022-05-31 | 北京全路通信信号研究设计院集团有限公司 | Data processing method, device, equipment and storage medium |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580425A (en) * | 2014-12-26 | 2015-04-29 | 北京中交兴路车联网科技有限公司 | Client data synchronization method and system |
CN106161629A (en) * | 2016-07-13 | 2016-11-23 | 广州新博庭网络信息科技股份有限公司 | The method of a kind of business object synchronization, client and server |
CN109218418A (en) * | 2018-09-04 | 2019-01-15 | 北京粉笔未来科技有限公司 | Method of data synchronization and device calculate equipment and storage medium |
CN109656599A (en) * | 2018-12-28 | 2019-04-19 | 苏州思必驰信息科技有限公司 | The method and system updated for client release |
CN109918463A (en) * | 2019-02-22 | 2019-06-21 | 广州多益网络股份有限公司 | Map data processing method, device, equipment and storage medium |
CN110569311A (en) * | 2019-10-30 | 2019-12-13 | 上海商魁信息科技有限公司 | Data synchronization method and device for database and computer storage medium |
CN110572450A (en) * | 2019-09-05 | 2019-12-13 | 腾讯科技(深圳)有限公司 | Data synchronization method and device, computer readable storage medium and computer equipment |
-
2019
- 2019-12-27 CN CN201911373665.6A patent/CN111124759A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104580425A (en) * | 2014-12-26 | 2015-04-29 | 北京中交兴路车联网科技有限公司 | Client data synchronization method and system |
CN106161629A (en) * | 2016-07-13 | 2016-11-23 | 广州新博庭网络信息科技股份有限公司 | The method of a kind of business object synchronization, client and server |
CN109218418A (en) * | 2018-09-04 | 2019-01-15 | 北京粉笔未来科技有限公司 | Method of data synchronization and device calculate equipment and storage medium |
CN109656599A (en) * | 2018-12-28 | 2019-04-19 | 苏州思必驰信息科技有限公司 | The method and system updated for client release |
CN109918463A (en) * | 2019-02-22 | 2019-06-21 | 广州多益网络股份有限公司 | Map data processing method, device, equipment and storage medium |
CN110572450A (en) * | 2019-09-05 | 2019-12-13 | 腾讯科技(深圳)有限公司 | Data synchronization method and device, computer readable storage medium and computer equipment |
CN110569311A (en) * | 2019-10-30 | 2019-12-13 | 上海商魁信息科技有限公司 | Data synchronization method and device for database and computer storage medium |
Cited By (8)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112597245A (en) * | 2020-12-24 | 2021-04-02 | 北京百度网讯科技有限公司 | Data synchronization method, device and storage medium |
CN112597245B (en) * | 2020-12-24 | 2023-11-10 | 北京百度网讯科技有限公司 | Data synchronization method, device and storage medium |
CN113407231A (en) * | 2021-06-09 | 2021-09-17 | 广东全程云科技有限公司 | Upgrading adaptation method of SaaS (software as a service) service, user mobile terminal and system |
CN113741809A (en) * | 2021-07-30 | 2021-12-03 | 苏州浪潮智能科技有限公司 | Method, device and equipment for processing storage block state information in full flash storage |
CN113741809B (en) * | 2021-07-30 | 2023-08-04 | 苏州浪潮智能科技有限公司 | Processing method, device and equipment for storage block state information in full flash storage |
CN114442933A (en) * | 2021-12-26 | 2022-05-06 | 苏州浪潮智能科技有限公司 | Data interaction method and system for storage system and computer readable medium |
CN114442933B (en) * | 2021-12-26 | 2023-06-09 | 苏州浪潮智能科技有限公司 | Data interaction method, system and computer readable medium of storage system |
CN114567485A (en) * | 2022-03-01 | 2022-05-31 | 北京全路通信信号研究设计院集团有限公司 | Data processing method, device, equipment and storage medium |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN111124759A (en) | Method, equipment and medium for data synchronization under hybrid cloud architecture | |
US20230325124A1 (en) | Global de-duplication of virtual disks in a storage platform | |
EP3522088A1 (en) | Securing blockchain access through a gateway | |
CN112019369A (en) | Dynamic configuration management method and system under micro-service framework | |
CN108319623B (en) | Data redistribution method and device and database cluster | |
US11182403B2 (en) | Systems and methods of launching new nodes in a blockchain network | |
CN109714188B (en) | Configuration data management method, device and storage medium based on Zookeeper | |
CN111506592B (en) | Database upgrading method and device | |
CN105744001B (en) | Distributed cache system expansion method, data access method and device and system | |
CN110445765B (en) | Data sharing method based on block chain, terminal device and medium | |
CN111708834A (en) | Method, system, equipment and medium for synchronizing service configuration data | |
CN110597918A (en) | Account management method and device and computer readable storage medium | |
CN104468150A (en) | Method for realizing fault migration through virtual host and virtual host service device | |
CN103369002A (en) | A resource downloading method and system | |
CN112468525A (en) | Domain name management system based on block chain | |
US12032557B2 (en) | Method, device, and computer program product for data management | |
CN106708636A (en) | Cluster-based data caching method and apparatus | |
CN113312669B (en) | Password synchronization method, device and storage medium | |
WO2020172037A1 (en) | Centrally managing data for distributed identity-based firewalling | |
CN111176904B (en) | Method, system, equipment and medium for data backup under private cloud architecture | |
CN111857963A (en) | Container arrangement implementation method, device, equipment and medium for Proxmox VE | |
WO2021133405A1 (en) | Dynamic adaptive partition splitting | |
CN111723140A (en) | Method, device and equipment for user to access storage and readable medium | |
CN114968095B (en) | Distributed hard disk management method, system, electronic device and readable storage medium | |
CN115426356A (en) | Distributed timed task lock update control execution method and device |
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 | ||
RJ01 | Rejection of invention patent application after publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20200508 |