CN114666326A - Data synchronization method and device, electronic equipment and computer storage medium - Google Patents

Data synchronization method and device, electronic equipment and computer storage medium Download PDF

Info

Publication number
CN114666326A
CN114666326A CN202011536532.9A CN202011536532A CN114666326A CN 114666326 A CN114666326 A CN 114666326A CN 202011536532 A CN202011536532 A CN 202011536532A CN 114666326 A CN114666326 A CN 114666326A
Authority
CN
China
Prior art keywords
data
block chain
synchronization method
data processing
blockchain
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
CN202011536532.9A
Other languages
Chinese (zh)
Other versions
CN114666326B (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.)
China Mobile Communications Group Co Ltd
China Mobile Information Technology Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Information 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 China Mobile Communications Group Co Ltd, China Mobile Information Technology Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202011536532.9A priority Critical patent/CN114666326B/en
Publication of CN114666326A publication Critical patent/CN114666326A/en
Application granted granted Critical
Publication of CN114666326B publication Critical patent/CN114666326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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
    • 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/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1097Protocols in which an application is distributed across nodes in the network for distributed storage of data in networks, e.g. transport arrangements for network file system [NFS], storage area networks [SAN] or network attached storage [NAS]
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

The application provides a data synchronization method, a data synchronization device, electronic equipment and a computer storage medium. The data synchronization method is applied to any blockchain node in a netlike blockchain, and comprises the following steps: performing data processing operations on the data; broadcasting data processing operations to other block link points in a mesh network block chain; synchronizing the data after the data processing operation to other block chain nodes based on a preset intelligent contract; the mesh network block chain is formed by connecting each block chain link point with other block chain nodes in pairs. According to the embodiment of the application, data synchronization can be performed more efficiently and accurately.

Description

Data synchronization method and device, electronic equipment and computer storage medium
Technical Field
The present application belongs to the field of internet technologies, and in particular, to a data synchronization method and apparatus, an electronic device, and a computer storage medium.
Background
The service support domain multi-level collaboration platform means that multi-level association relation exists among platforms at all levels, data needs to be processed by the platforms at all levels according to a standardized flow, and intercommunication is completed by utilizing standardized instructions. At present, data synchronization is carried out on a multi-level collaboration platform in a data forwarding mode, data among the multi-level collaboration platforms are forwarded after being processed by an upper-level platform, and a lower-level platform can execute a next operation flow after waiting for the response of the upper-level platform.
Moreover, the data consistency is mostly confirmed by adopting a manual verification and cancellation mode, the accuracy of data storage cannot be guaranteed after the multi-level collaborative system data is repeatedly forwarded and responded, and the problem of data inconsistency is communicated and verified in the later multi-party data verification process, so that great waste of manpower, resources and time is caused.
The existing service support domain multi-level collaboration platform data synchronization scheme does not fundamentally solve the problem of data consistency, and only adopts a mandatory means to unify data by taking one of a plurality of nodes as a standard. After the data flow in the multi-level collaboration platform, the platforms at all levels respectively store the data in a distributed storage mode, the verification and cancellation reconciliation is carried out manually, and when the data are inconsistent, the settlement is carried out by the subordinate platform according to the data of the first-level platform under the condition of taking the data of the first-level platform as a standard.
Therefore, how to perform data synchronization more efficiently and accurately is a technical problem that needs to be solved urgently by those skilled in the art.
Disclosure of Invention
The embodiment of the application provides a data synchronization method, a data synchronization device, electronic equipment and a computer storage medium, which can more efficiently and accurately perform data synchronization.
In a first aspect, an embodiment of the present application provides a data synchronization method, which is applied to any blockchain node in a mesh network blockchain, and the method includes:
performing data processing operations on the data;
broadcasting data processing operations to other block link points in a mesh network block chain;
synchronizing the data after the data processing operation to other block chain nodes based on a preset intelligent contract;
the mesh network block chain is formed by connecting each block chain link point with other block chain nodes in pairs.
Optionally, the block link nodes include a primary system node, a secondary collaboration system node, a tertiary Service management platform node, and a China Mobile block chain Service (CMBaaS) node.
Optionally, the data processing operation is performed on data, and includes:
and storing the data uplink into a distributed database.
Optionally, the data processing operation is performed on data, and includes:
data deletion operations are performed on data stored in the distributed database.
Optionally, the data processing operation is performed on data, and includes:
an on-data-chain settlement operation is performed on the data.
Optionally, the data processing operation is performed on data, and includes:
a data sync distribution operation is performed on the data.
Optionally, the method further includes:
the intelligent contract is updated or validated.
In a second aspect, an embodiment of the present application provides a data synchronization apparatus, which is applied to any blockchain node in a blockchain of a mesh network, and the apparatus includes:
an operation execution module for performing data processing operations on the data;
a broadcast module for broadcasting data processing operations to other block link points in a mesh network block chain;
the data synchronization module is used for synchronizing the data after the data processing operation to other block chain nodes based on a preset intelligent contract;
the mesh network block chain is formed by connecting each block chain link point with other block chain nodes in pairs.
Optionally, the block link nodes include a first-level system node, a second-level collaboration system node, a third-level service management platform node, and a china mobile block chain service CMBaaS node.
Optionally, the operation executing module includes:
and the storage unit is used for storing the data uplink into the distributed database.
Optionally, the operation executing module includes:
and the deleting unit is used for executing data deleting operation aiming at the data stored in the distributed database.
Optionally, the operation executing module includes:
and the settlement unit is used for executing data chain settlement operation aiming at the data.
Optionally, the operation executing module includes:
a distribution unit for performing a data synchronous distribution operation with respect to data.
Optionally, the method further includes:
and the updating and verifying module is used for updating or verifying the intelligent contract.
In a third aspect, an embodiment of the present application provides an electronic device, where the electronic device includes: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements a data synchronization method as shown in the first aspect.
In a fourth aspect, an embodiment of the present application provides a computer storage medium, where computer program instructions are stored, and when executed by a processor, the computer program instructions implement the data synchronization method shown in the first aspect.
The data synchronization method, the data synchronization device, the electronic equipment and the computer storage medium can more efficiently and accurately synchronize data. The data synchronization method is applied to any blockchain node in a netlike blockchain, and comprises the following steps: performing data processing operations on the data; broadcasting data processing operations to other block link points in a mesh network block chain; synchronizing the data after the data processing operation to other block chain nodes based on a preset intelligent contract; the mesh network block chain is formed by connecting each block chain link point with other block chain nodes pairwise, so that data synchronization can be performed more efficiently and accurately.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings needed to be used in the embodiments of the present application will be briefly described below, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
FIG. 1 is a schematic flow chart diagram illustrating a data synchronization method according to an embodiment of the present application;
fig. 2 is a schematic diagram of a mesh network system architecture provided by an embodiment of the present application;
fig. 3 is a block chain architecture diagram of a mesh network provided by an embodiment of the present application;
FIG. 4 is a schematic diagram of a business process A provided by an embodiment of the present application;
FIG. 5 is a schematic structural diagram of a data synchronization apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
Features and exemplary embodiments of various aspects of the present application will be described in detail below, and in order to make objects, technical solutions and advantages of the present application more apparent, the present application will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are intended to be illustrative only and are not intended to be limiting. It will be apparent to one skilled in the art that the present application may be practiced without some of these specific details. The following description of the embodiments is merely intended to provide a better understanding of the present application by illustrating examples thereof.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
In order to solve the prior art problems, embodiments of the present application provide a data synchronization method, apparatus, device, and computer storage medium. First, a data synchronization method provided in an embodiment of the present application is described below.
Fig. 1 shows a flowchart of a data synchronization method according to an embodiment of the present application. As shown in fig. 1, the data synchronization method is applied to any blockchain node in a mesh network blockchain, and includes:
s101, executing data processing operation on the data.
In one embodiment, the block link nodes include a primary system node, a secondary collaboration system node, a tertiary service management platform node, and a china mobile block chain service CMBaaS node.
In one embodiment, data processing operations are performed on data, including:
and storing the data uplink into a distributed database.
In one embodiment, data processing operations are performed on data, including:
data deletion operations are performed on data stored in the distributed database.
In one embodiment, data processing operations are performed on data, including:
an on-data-chain settlement operation is performed on the data.
In one embodiment, data processing operations are performed on data, including:
a data sync distribution operation is performed on the data.
S102, data processing operation is broadcasted to other block chain nodes in the mesh network block chain.
S103, synchronizing the data after the data processing operation to other block chain nodes based on a preset intelligent contract; the mesh network block chain is formed by connecting each block chain link point with other block chain nodes pairwise.
In one embodiment, the method further comprises: the intelligent contract is updated or validated.
The data synchronization method is applied to any blockchain node in a netlike blockchain, and comprises the following steps: performing data processing operations on the data; broadcasting data processing operations to other block link points in a mesh network block chain; synchronizing the data after the data processing operation to other block chain nodes based on a preset intelligent contract; the mesh network block chain is formed by connecting each block chain link point with other block chain nodes pairwise, so that data synchronization can be performed more efficiently and accurately.
The above technical solution is explained below with a specific example.
The embodiment aims to overcome the defects of the existing scheme, adopts the block chain technology, utilizes the characteristics of non-falsification, distributed storage, consensus and the like of the block chain technology, writes data into one party, performs consensus on multiple parties, and stores the data respectively through a block chain broadcasting mechanism, and an intelligent contract has no randomness, and the same input corresponds to the same output, so that the consistency of the data of the multiple parties can be ensured, and the traditional data forwarding mode among multiple platforms is replaced. Meanwhile, platforms at all levels are used as block chain nodes to participate in consensus, data on the chain are public and transparent, and the accuracy rate of data consistency can be guaranteed to reach 100% through verification.
The solution proposed in this embodiment is based on a CMBaaS platform, and completes chaining work of each node such as a primary system, a secondary collaboration subsystem, and a tertiary service management platform system to form a mesh network block chain, and writes service logic into an intelligent contract, the intelligent contract is editable and expandable, transaction data consensus is realized by the block chain, data of each node is respectively chained, data on the chain cannot be tampered, each node can be recorded for each operation and tracing, and strong consistency of core data of the multistage collaboration platform system is ensured through a block chain technology. The embodiment can solve abnormal transactions, thereby reducing potential customer complaints possibly caused by inconsistent data, improving the satisfaction degree of users, avoiding a large amount of complicated data comparison audit work and saving a large amount of labor cost.
The embodiment overcomes the defects existing in the existing scheme, and the practical problems to be solved are as follows: based on the block chain platform infrastructure capability, the problem of data inconsistency exists in the data interaction process of a plurality of platforms under a mesh network. Taking a service a as an example, the embodiment uses an Enterprise Operation System (EOS) technology, forms a mesh network block chain based on the CMBaaS infrastructure platform capability, performs interface transformation on the existing primary System, mesh network, secondary collaboration System, and tertiary service management platform System, and ensures consistency, accuracy, and security of data of each node through strong consistency, consensus, security, and non-falsification characteristics of the block chain technology. The relevant contents of the main technical scheme of the embodiment are explained as follows:
the mesh network currently bears 31 provincial companies, 10 primary service systems and 200 whole-network service platforms, each provincial department belongs to a node (SN) (or a plurality of provincial physical deployments are centralized), an intra-provincial system and the service platforms are connected, and the SNs are interconnected to form a service data exchange network with a mesh structure. The whole system is distributed and structured, and a single fault point is eliminated. The distributed deployed service modules can automatically and quickly stretch according to the service scale requirements, the distributed and centerless architecture mode naturally conforms to the block chain characteristics, a block chain network is constructed on the basis of a mesh network, namely, a block chain service is constructed on each node of the mesh network to form a block chain self-construction node of the block chain to form a mesh network block chain, the mesh network architecture and the block chain service are multiplexed, a service platform on the mesh network can write data into the block chain by adopting an API provided by the self-construction node or a province company writes data into the block chain by an open interface, the data management of all multilevel platforms in the mesh network can be realized, the data distribution accuracy under the mesh network can be effectively improved by combining the block chain data synchronization characteristics, and the data consistency among the multilevel cooperative platforms is improved. The mesh network system architecture diagram can be seen in fig. 2, among others.
II, service process summary: taking the addition or change of the service A as an example: the method comprises the steps that a first-level system initiates addition or change, after a second-level cooperative system synchronously adds and changes information data, the information is processed according to a set standard flow, a processing result is synchronously fed back to the first-level system, the first-level system synchronizes the processed data to a third-level service management platform, the third-level service management platform also needs to process the information according to a flow standard, the processing result is finally fed back to the first-level system, the first-level system finally performs final filing, the second-level cooperative system and the third-level service management platform cannot synchronize final data, and verification or verification can be performed only by taking the data provided by the first-level system as the standard.
Thirdly, summarizing the technical scheme: in this embodiment, the CMBaaS platform serves as an infrastructure platform, and each node may send data to the CMBaaS interface machine through the conventional two-stage interfaces such as HTTP/SOAP/RESTful, and the node deployed on the interface machine submits the data to the block chain. As shown in fig. 3, a primary system, a secondary collaboration platform, a cmbas agent node, and a tertiary service management platform system form a block chain network by means of a mesh network, each node links data to a distributed database, broadcasts an operation to the block chain network, and assigns permissions to each node through an intelligent contract, other nodes with permissions can check data, and other operations are performed, each node maintains a complete data record, which is distributed storage commonly known in the block chain technology, and this mode also ensures that data cannot be tampered. The primary system, the secondary collaboration system and the tertiary service management platform are interacted with the CMBAAS platform through a block chain interface application, and the interface application provides a method for calling an intelligent contract, a data interface and other block chain operations. Under the condition of not influencing the service data flow of the mesh network, the primary system is connected to the CMBAAS platform through the block link interface application. The second-level system and the third-level service management platform can query data on the chain through the block chain interface application, download and compare the data with own data, and record all operations on the block chain. The block link interface application of each participant can be developed according to the requirement. In the service flow modified by the present invention, as shown in fig. 4, when each node processes information or completes result feedback, data is synchronously linked up, and the linked-up data can ensure strong consistency, and each node has a record for data forwarding each time, so that data can be traced to the source, and data can be compared for consistency.
Fourthly, intelligent contract: according to a specific business process, an intelligent contract is designed, wherein the intelligent contract is computer code running on a block chain and comprises a set of rules under which all parties of the intelligent contract agree to interact with each other. If the predefined rules are met, the protocol will automatically execute. Interaction between the EOS intelligent contracts shares data files through actions, and the actions are operations such as 'adding, deleting, changing and searching' which are often called by people. Taking the service a as an example, the service a performs intelligent contract compiling according to a specific service specification sublist, performs intelligent contract rule formulation according to contents such as service logic, data table fields, constraints and the like, realizes operations such as data chaining (adding), data deletion, data chain settlement, data synchronous distribution and the like, and uploads the operations to a mesh network block chain, and the mesh network is responsible for contract verification.
Fifthly, analyzing superiority: according to the invention, the problem of inconsistent data of the multi-stage platform under the mesh network architecture of an operator is solved, data can be monitored on a chain by multiple parties, the whole process of data operation is transparent, the data content can not be tampered, and the accuracy of data consistency is improved to 100%. By adopting the method to carry out consistency synchronization on the data, the service platform can know the data processing content in real time and process the exception in advance, and the service success rate is greatly improved without waiting for the processing result continuously forwarded by the multi-stage cooperative system. Meanwhile, a large amount of complicated data comparison work can be omitted, a large amount of labor cost is saved, the customer complaint rate of the service platform is reduced, and the user satisfaction is improved.
In this embodiment, based on the capability of the block chain platform, the uplink operation of each node of the multi-level cooperative platform under the mesh network is completed to form a mesh network block chain. The mesh network block chain network is different from the traditional block chain network and is built by utilizing a mobile mesh network structure, each node self-builds a block chain node under the mesh network, the configuration among the nodes is the same, and all systems in the mesh network structure can carry out uplink by utilizing the self-builds nodes.
The embodiment is suitable for solving the problem of inconsistent data caused by data forwarding among all multi-stage platforms under the mesh network, effectively improves the accuracy of data consistency, can overcome the defects that the data forwarding among the traditional cooperation platforms is not transparent and not timely, synchronizes data after the platforms at all stages finish processing through the mesh network block chain, and can check and acquire data by other platforms, thereby realizing the establishment of data channels among the multi-stage cooperation platforms.
Fig. 5 is a schematic structural diagram of a data synchronization apparatus according to an embodiment of the present application, and as shown in fig. 5, the data synchronization apparatus is applied to any blockchain node in a mesh network blockchain, and the apparatus includes:
an operation execution module 501, configured to execute a data processing operation on data;
a broadcast module 502 for broadcasting data processing operations to other block link points in a mesh network block chain;
the data synchronization module 503 is configured to synchronize data after data processing operation to other block link nodes based on a preset intelligent contract;
the mesh network block chain is formed by connecting each block chain link point with other block chain nodes pairwise.
In one embodiment, the block link nodes include a primary system node, a secondary collaboration system node, a tertiary service management platform node, and a china mobile block chain service CMBaaS node.
In one embodiment, the operation execution module 501 includes:
and the storage unit is used for uplink storage of the data in the distributed database.
In one embodiment, the operation execution module 501 includes:
and the deleting unit is used for executing data deleting operation aiming at the data stored in the distributed database.
In one embodiment, the operation execution module 501 includes:
and the settlement unit is used for executing data chain settlement operation aiming at the data.
In one embodiment, the operation execution module 501 includes:
and the distribution unit is used for executing data synchronous distribution operation aiming at the data.
In one embodiment, the apparatus further comprises:
and the updating and verifying module is used for updating or verifying the intelligent contract.
Each module/unit in the apparatus shown in fig. 5 has a function of implementing each step in fig. 1, and can achieve the corresponding technical effect, and for brevity, the description is not repeated here.
Fig. 6 shows a schematic structural diagram of an electronic device provided in an embodiment of the present application.
The electronic device may comprise a processor 601 and a memory 602 in which computer program instructions are stored.
Specifically, the processor 601 may include a Central Processing Unit (CPU), or an Application Specific Integrated Circuit (ASIC), or may be configured to implement one or more Integrated circuits of the embodiments of the present Application.
Memory 602 may include mass storage for data or instructions. By way of example, and not limitation, memory 602 may include a Hard Disk Drive (HDD), floppy Disk Drive, flash memory, optical Disk, magneto-optical Disk, tape, or Universal Serial Bus (USB) Drive or a combination of two or more of these. Memory 602 may include removable or non-removable (or fixed) media, where appropriate. The memory 602 may be internal or external to the electronic device, where appropriate. In particular embodiments, memory 602 may be non-volatile solid-state memory.
In one example, the Memory 602 may be a Read Only Memory (ROM). In one example, the ROM may be mask programmed ROM, programmable ROM (prom), erasable prom (eprom), electrically erasable prom (eeprom), electrically rewritable ROM (earom), or flash memory, or a combination of two or more of these.
The processor 601 realizes any one of the above-described data synchronization methods in the above-described embodiments by reading and executing computer program instructions stored in the memory 602.
In one example, the electronic device may also include a communication interface 603 and a bus 610. As shown in fig. 6, the processor 601, the memory 602, and the communication interface 603 are connected via a bus 610 to complete communication therebetween.
The communication interface 603 is mainly used for implementing communication between modules, apparatuses, units and/or devices in the embodiments of the present application.
Bus 610 includes hardware, software, or both to couple the components of the online data traffic billing device to each other. By way of example, and not limitation, a bus may include an Accelerated Graphics Port (AGP) or other graphics bus, an Enhanced Industry Standard Architecture (EISA) bus, a Front Side Bus (FSB), a Hypertransport (HT) interconnect, an Industry Standard Architecture (ISA) bus, an infiniband interconnect, a Low Pin Count (LPC) bus, a memory bus, a Micro Channel Architecture (MCA) bus, a Peripheral Component Interconnect (PCI) bus, a PCI-Express (PCI-X) bus, a Serial Advanced Technology Attachment (SATA) bus, a video electronics standards association local (VLB) bus, or other suitable bus or a combination of two or more of these. Bus 610 may include one or more buses, where appropriate. Although specific buses are described and shown in the embodiments of the application, any suitable buses or interconnects are contemplated by the application.
In addition, the embodiment of the application can be realized by providing a computer storage medium. The computer storage medium having computer program instructions stored thereon; the computer program instructions, when executed by a processor, implement any of the data synchronization methods in the above embodiments.
It is to be understood that the present application is not limited to the particular arrangements and instrumentality described above and shown in the attached drawings. A detailed description of known methods is omitted herein for the sake of brevity. In the above embodiments, several specific steps are described and shown as examples. However, the method processes of the present application are not limited to the specific steps described and illustrated, and those skilled in the art can make various changes, modifications and additions, or change the order between the steps, after comprehending the spirit of the present application.
The functional blocks shown in the above-described structural block diagrams may be implemented as hardware, software, firmware, or a combination thereof. When implemented in hardware, it may be, for example, an electronic circuit, an Application Specific Integrated Circuit (ASIC), suitable firmware, plug-in, function card, or the like. When implemented in software, the elements of the present application are the programs or code segments used to perform the required tasks. The program or code segments may be stored in a machine-readable medium or transmitted by a data signal carried in a carrier wave over a transmission medium or a communication link. A "machine-readable medium" may include any medium that can store or transfer information. Examples of a machine-readable medium include electronic circuits, semiconductor memory devices, ROM, flash memory, Erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, fiber optic media, Radio Frequency (RF) links, and so forth. The code segments may be downloaded via computer networks such as the internet, intranet, etc.
It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, the present application is not limited to the order of the above-described steps, that is, the steps may be performed in the order mentioned in the embodiments, may be performed in an order different from the order in the embodiments, or may be performed simultaneously.
Aspects of the present application are described above with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each block of the flowchart illustrations and/or block diagrams, and combinations of blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, enable the implementation of the functions/acts specified in the flowchart and/or block diagram block or blocks. Such a processor may be, but is not limited to, a general purpose processor, a special purpose processor, an application specific processor, or a field programmable logic circuit. It will also be understood that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware for performing the specified functions or acts, or combinations of special purpose hardware and computer instructions.
As described above, only the specific embodiments of the present application are provided, and it can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the system, the module and the unit described above may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again. It should be understood that the scope of the present application is not limited thereto, and any person skilled in the art can easily conceive various equivalent modifications or substitutions within the technical scope of the present application, and these modifications or substitutions should be covered within the scope of the present application.

Claims (10)

1. A data synchronization method applied to any blockchain node in a blockchain of a mesh network, the method comprising:
performing data processing operations on the data;
broadcasting the data processing operation to other blockchain nodes in the mesh blockchain;
synchronizing the data after the data processing operation to the other block chain nodes based on a preset intelligent contract;
the mesh network block chain is formed by connecting each block chain link point with other block chain nodes pairwise.
2. The data synchronization method according to claim 1, wherein the block link nodes include a primary system node, a secondary collaboration system node, a tertiary service management platform node, and a China Mobile Block chain service (CMBaaS) node.
3. The data synchronization method of claim 1, wherein the performing data processing operations on the data comprises:
the data is uplinked to a distributed database.
4. The data synchronization method of claim 1, wherein the performing data processing operations on the data comprises:
a data delete operation is performed on data stored in the distributed database.
5. The data synchronization method according to claim 1, wherein the performing data processing operations on the data comprises:
performing an on-data-chain settlement operation on the data.
6. The data synchronization method of claim 1, wherein the performing data processing operations on the data comprises:
data synchronous distribution operations are performed on the data.
7. The data synchronization method of claim 1, further comprising:
updating or verifying the smart contract.
8. A data synchronization apparatus, applied to any blockchain node in a mesh network blockchain, the apparatus comprising:
an operation execution module for executing data processing operations on the data;
a broadcast module, configured to broadcast the data processing operation to other blockchain nodes in the mesh blockchain;
the data synchronization module is used for synchronizing the data after the data processing operation to the other block chain nodes based on a preset intelligent contract;
the mesh network block chain is formed by connecting each block chain link point with other block chain nodes pairwise.
9. An electronic device, characterized in that the electronic device comprises: a processor and a memory storing computer program instructions;
the processor, when executing the computer program instructions, implements the data synchronization method of any of claims 1-7.
10. A computer storage medium having computer program instructions stored thereon which, when executed by a processor, implement the data synchronization method of any one of claims 1-7.
CN202011536532.9A 2020-12-23 2020-12-23 Data synchronization method, device, electronic equipment and computer storage medium Active CN114666326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011536532.9A CN114666326B (en) 2020-12-23 2020-12-23 Data synchronization method, device, electronic equipment and computer storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011536532.9A CN114666326B (en) 2020-12-23 2020-12-23 Data synchronization method, device, electronic equipment and computer storage medium

Publications (2)

Publication Number Publication Date
CN114666326A true CN114666326A (en) 2022-06-24
CN114666326B CN114666326B (en) 2023-12-15

Family

ID=82024629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011536532.9A Active CN114666326B (en) 2020-12-23 2020-12-23 Data synchronization method, device, electronic equipment and computer storage medium

Country Status (1)

Country Link
CN (1) CN114666326B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109189751A (en) * 2018-09-18 2019-01-11 平安科技(深圳)有限公司 Method of data synchronization and terminal device based on block chain
WO2019211225A1 (en) * 2018-05-01 2019-11-07 International Business Machines Corporation Blockchain implementing cross-chain transactions
CN111681011A (en) * 2020-06-16 2020-09-18 中国工商银行股份有限公司 Data processing method, block chain system, computer system and medium

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2019211225A1 (en) * 2018-05-01 2019-11-07 International Business Machines Corporation Blockchain implementing cross-chain transactions
CN109189751A (en) * 2018-09-18 2019-01-11 平安科技(深圳)有限公司 Method of data synchronization and terminal device based on block chain
CN111681011A (en) * 2020-06-16 2020-09-18 中国工商银行股份有限公司 Data processing method, block chain system, computer system and medium

Also Published As

Publication number Publication date
CN114666326B (en) 2023-12-15

Similar Documents

Publication Publication Date Title
US9953465B2 (en) Methods and systems for creating online unified contact and communication management (CM) platform
CN104156832A (en) Intersystem data verification method and device
TW200842627A (en) Techniques to cross-synchronize data
CN109871309B (en) Method and system for generating test case of charging system
CN111382956A (en) Enterprise group relationship mining method and device
CN109102340A (en) Service evaluation method, apparatus, electronic equipment and medium based on block chain
CN111124917B (en) Method, device, equipment and storage medium for managing and controlling public test cases
CN111932250A (en) Method for realizing power grid information sharing based on block chain technology
CN109299196A (en) Data managing method, network and data acquisition storage application method and its system
CN112506771A (en) Message comparison method and device
CN110852701A (en) Product demand management method, device and system
CN114666326A (en) Data synchronization method and device, electronic equipment and computer storage medium
CN110807619A (en) Method for supporting business handling in government affair service field
CN109902258A (en) Data processing method and equipment based on block chain
CN112448972B (en) Data exchange and sharing platform
CN112256978A (en) Data processing method, device and medium based on data model
CN110363489B (en) Remote collaboration system and method for spacecraft final assembly data
CN111506646A (en) Data synchronization method, device, system, storage medium and processor
CN110413672A (en) Data automatically imported method, device and computer readable storage medium
CN113256420B (en) Enterprise user identification method, device, equipment and medium in transaction
CN114741577B (en) Service data management method, system, electronic equipment and readable storage medium
CN111131438B (en) Method and apparatus for accessing block chains
CN106657376A (en) Data synchronization processing method and device
CN116668029A (en) Data processing method and device based on block chain system, equipment and medium
CN114092032A (en) Data checking 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
GR01 Patent grant
GR01 Patent grant