CN111400328A - Data updating method and device and node server - Google Patents

Data updating method and device and node server Download PDF

Info

Publication number
CN111400328A
CN111400328A CN202010172880.6A CN202010172880A CN111400328A CN 111400328 A CN111400328 A CN 111400328A CN 202010172880 A CN202010172880 A CN 202010172880A CN 111400328 A CN111400328 A CN 111400328A
Authority
CN
China
Prior art keywords
data
updated
node server
current node
preset
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
Application number
CN202010172880.6A
Other languages
Chinese (zh)
Inventor
李平
潘文博
袁力
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Arxan Fintech Co ltd
Original Assignee
Beijing Arxan Fintech Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Arxan Fintech Co ltd filed Critical Beijing Arxan Fintech Co ltd
Priority to CN202010172880.6A priority Critical patent/CN111400328A/en
Publication of CN111400328A publication Critical patent/CN111400328A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/23Updating
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Abstract

The invention provides a data updating method, a data updating device and a node server, wherein after first data to be updated is acquired, a preset data updating interface is called to update existing data corresponding to the first data to be updated in the current node server to the first data to be updated; and then encrypting the first data to be updated based on a preset encryption algorithm, sending the encrypted first data to be updated to other node servers except the current node server in the block chain, so that the other node servers verify the first data to be updated based on a preset consensus mechanism, and if the verification is successful, updating the existing data corresponding to the first data to be updated into the first data to be updated. In the invention, the data to be updated is updated at the current node and other nodes in the block chain, so that the accuracy of data storage and the data updating efficiency are improved.

Description

Data updating method and device and node server
Technical Field
The present invention relates to the field of block chain technology, and in particular, to a data updating method, apparatus, and node server.
Background
In the related art, data is generally stored in a centralized storage medium; data stored in the centralized storage medium is easy to damage, tamper and lose; when the data is updated, the phenomenon of data inconsistency often occurs, the accuracy of the data is low, and the data updating efficiency is low.
Disclosure of Invention
In view of the above, the present invention provides a data updating method, an apparatus and a node server to improve the accuracy of data storage and the efficiency of data updating.
In a first aspect, an embodiment of the present invention provides a data updating method, where the method is applied to a node server of a block chain, where the block chain includes multiple node servers, and each node server is in communication connection; the method comprises the following steps: acquiring first data to be updated; calling a preset data updating interface to update existing data corresponding to first data to be updated in a current node server to the first data to be updated, and encrypting the first data to be updated based on a preset encryption algorithm; and sending the encrypted first data to be updated to other node servers except the current node server in the block chain, so that the other node servers verify the first data to be updated based on a preset consensus mechanism, and if the verification is successful, updating the existing data corresponding to the first data to be updated into the first data to be updated.
With reference to the first aspect, an embodiment of the present invention provides a first possible implementation manner of the first aspect, where before the calling a preset data update interface to update existing data corresponding to first data to be updated in a current node server to the first data to be updated, the method further includes: and based on a preset intelligent contract, carrying out data deduplication on the existing data of the current node server.
With reference to the first aspect, an embodiment of the present invention provides a second possible implementation manner of the first aspect, where the first data to be updated includes an identity of a corresponding user; the method comprises the following steps of calling a preset data updating interface to update existing data corresponding to first data to be updated in a current node server into the first data to be updated, wherein the steps comprise: determining existing data corresponding to first data to be updated according to the identity in the first data to be updated in the stored data of the current node server; and replacing the existing data corresponding to the first data to be updated with the first data to be updated.
With reference to the first aspect, an embodiment of the present invention provides a third possible implementation manner of the first aspect, where the step of sending the encrypted first data to be updated to other node servers except the current node server in the block chain includes: carrying out fragmentation processing on the encrypted first data to be updated; sending the first data to be updated after fragmentation processing to other node servers except the current node server in the block chain through a preset transmission channel; the transmission channel is encrypted by the current node server.
With reference to the third possible implementation manner of the first aspect, an embodiment of the present invention provides a fourth possible implementation manner of the first aspect, where the method further includes: when second data to be updated sent by other node servers except the current node server in the block chain is received, verifying the second data to be updated based on a preset consensus mechanism; and if the verification is successful, updating the existing data corresponding to the second data to be updated in the current node server into the second data to be updated.
In a second aspect, an embodiment of the present invention further provides a data updating apparatus, where the apparatus is disposed on a node server of a block chain, the block chain includes a plurality of node servers, and each node server is in communication connection with another node server; the device includes: the data acquisition module is used for acquiring first data to be updated; the first updating module is used for calling a preset data updating interface to update existing data corresponding to first data to be updated in the current node server into the first data to be updated; the encryption module is used for encrypting the first data to be updated based on a preset encryption algorithm; and the data sending module is used for sending the encrypted first data to be updated to other node servers except the current node server in the block chain, so that the other node servers verify the first data to be updated based on a preset consensus mechanism, and if the verification is successful, existing data corresponding to the first data to be updated is updated to the first data to be updated.
With reference to the second aspect, an embodiment of the present invention provides a first possible implementation manner of the second aspect, where the first data to be updated includes an identity of a corresponding user; the first update module is further configured to: determining existing data corresponding to first data to be updated according to the identity in the first data to be updated in the stored data of the current node server; and replacing the existing data corresponding to the first data to be updated with the first data to be updated.
With reference to the second aspect, an embodiment of the present invention provides a second possible implementation manner of the second aspect, where the data sending module is further configured to: carrying out fragmentation processing on the encrypted first data to be updated; sending the first data to be updated after fragmentation processing to other node servers except the current node server in the block chain through a preset transmission channel; the transmission channel is encrypted by the current node server.
In a third aspect, an embodiment of the present invention further provides a node server, including a processor and a memory, where the memory stores machine executable instructions capable of being executed by the processor, and the processor executes the machine executable instructions to implement the foregoing method.
In a fourth aspect, embodiments of the present invention also provide a machine-readable storage medium storing machine-executable instructions that, when invoked and executed by a processor, cause the processor to implement the above-described method.
The embodiment of the invention has the following beneficial effects:
the embodiment of the invention provides a data updating method, a data updating device and a node server, wherein after first data to be updated is obtained, a preset data updating interface is called to update existing data corresponding to the first data to be updated in the current node server into the first data to be updated; and then encrypting the first data to be updated based on a preset encryption algorithm, sending the encrypted first data to be updated to other node servers except the current node server in the block chain, so that the other node servers verify the first data to be updated based on a preset consensus mechanism, and if the verification is successful, updating the existing data corresponding to the first data to be updated into the first data to be updated. In the method, the data to be updated are updated at the current node and other nodes in the block chain, so that the accuracy of data storage and the data updating efficiency are improved.
Additional features and advantages of the invention will be set forth in the description which follows, and in part will be obvious from the description, or may be learned by the practice of the invention as set forth above.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
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 some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of a data updating method according to an embodiment of the present invention;
FIG. 2 is a flow chart of another data updating method according to an embodiment of the present invention;
FIG. 3 is a schematic structural diagram of a data updating apparatus according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a node server according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be described clearly and completely with reference to the following embodiments, and it should be understood that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the related art, data of kyc (knock raw customer) is mainly in a centralized storage medium; however, electronic data is very easy to be damaged, tampered and lost, and faults such as flaws and breakpoints are easily caused in the transmission process; when data is updated, the phenomenon of data inconsistency often exists, the existing KYC data information updating method is not suitable for and lags behind the development of the Internet architecture and the corresponding information system architecture in the current era, the requirements of customers cannot be met, and a plurality of defects exist:
1. the KYC data information stored based on the centralized storage medium is easy to damage, tamper and lose, and faults such as flaws, breakpoints and the like are easy to cause in the transmission process.
2. The data information is inaccurate in authenticity and lacks of cross validation.
3. The data information update efficiency is low.
4. Service interfaces cannot be conveniently and continuously provided to the outside.
Based on this, the embodiment of the invention provides a data updating method, a data updating device and a node server, which can be applied to the updating process of various important data.
To facilitate understanding of the embodiment, a detailed description will be given of a data updating method disclosed in the embodiment of the present invention.
The embodiment of the invention provides a data updating method, which is applied to a node server of a block chain, wherein the block chain comprises a plurality of node servers, and the node servers are in communication connection; as shown in fig. 1, the method comprises the steps of:
step S100, obtain the first data to be updated.
The first data to be updated usually has corresponding stored data in the current node server. The type of the first data to be updated is related to the application field of the current node server; as the current node server is used for storing KYC data (the main content is client information), the data to be updated may be a fingerprint, a portrait, a telephone number, and the like of the client. The first data to be updated is usually input to the client by the user and then sent to the current node server by the client. When a user inputs data at a client, identity authentication and authority authentication are generally required, and the data to be updated can be input to the client only after the authentication is passed.
Step S102, calling a preset data updating interface to update existing data corresponding to first data to be updated in the current node server to the first data to be updated.
The data update interface may be an Application Programming Interface (API), which is developed by a related technician in advance. Since the node is part of the blockchain, the data update interface may be generated based on the blockchain. After the first data to be updated is obtained, the existing data corresponding to the first data to be updated can be determined according to the identifier in the first data to be updated, such as the identity identifier of the client; and replacing the existing data with the first data to be updated.
And step S104, encrypting the first data to be updated based on a preset encryption algorithm.
The encryption algorithm may be various, such as a symmetric encryption technique or an asymmetric encryption technique, and may specifically be one or more of an encryption algorithm such as a trusted timestamp, a hash algorithm, a Merkle tree, an elliptic curve algorithm, Base64, and the like.
Step S106, sending the encrypted first data to be updated to other node servers except the current node server in the block chain, so that the other node servers verify the first data to be updated based on a preset consensus mechanism, and if the verification is successful, updating the existing data corresponding to the first data to be updated.
Under normal conditions, sending the encrypted first data to be updated to a block chain through a pre-established transmission channel, wherein the encrypted first data to be updated is sent to other node servers except the current node server; the transmission channel may be encrypted by the current node server. After receiving the encrypted first data to be updated, the other node servers may verify the data to be updated based on a preset consensus mechanism, that is, determine whether the data to be updated is correct; and if the verification is passed, directly updating the data to be updated without decrypting the data to be updated.
The embodiment of the invention provides a data updating method, which comprises the steps of obtaining first data to be updated, calling a preset data updating interface to update existing data corresponding to the first data to be updated in a current node server to the first data to be updated; and then encrypting the first data to be updated based on a preset encryption algorithm, sending the encrypted first data to be updated to other node servers except the current node server in the block chain, so that the other node servers verify the first data to be updated based on a preset consensus mechanism, and if the verification is successful, updating the existing data corresponding to the first data to be updated into the first data to be updated. In the method, the data to be updated are updated at the current node and other nodes in the block chain, so that the accuracy of data storage and the data updating efficiency are improved.
The embodiment of the invention also provides another data updating method, which is realized based on the method in the embodiment of the invention; as shown in fig. 2, the method comprises the steps of:
step S200, acquiring first data to be updated.
Step S202, based on a preset intelligent contract, carrying out data deduplication on existing data of a current node server; specifically, a data information deduplication service may be specified in advance based on an intelligent contract in the block chain, and existing data of the current node server may be deduplicated by the data information deduplication service, that is, duplicate stored data may be deleted.
Step S204, determining existing data corresponding to the first data to be updated in the stored data of the current node server according to the identity in the first data to be updated; generally speaking, the first data to be updated further includes an identity identifier corresponding to the data to be updated, and data corresponding to the identity identifier may be searched in the storage data of the current node server, and existing data corresponding to the first data to be updated is determined in the data.
Step S206, replacing the existing data corresponding to the first data to be updated with the first data to be updated; in particular, a corresponding data overlay may be performed.
Step S208, the first data to be updated is encrypted based on a preset encryption algorithm.
Step S210, carrying out fragmentation processing on the encrypted first data to be updated; the fragmentation processing may be to divide the first data to be updated into data fragments of a set size.
Step S212, the first to-be-updated data after fragmentation processing is sent to a block chain through a preset transmission channel, and other node servers except the current node server verify the first to-be-updated data based on a preset consensus mechanism, and if the verification is successful, existing data corresponding to the first to-be-updated data is updated to the first to-be-updated data; the transmission channel is encrypted by the current node server.
Further, if the current node server receives second data to be updated sent by other node servers in the block chain except the current node server, at this time, the current node server is equivalent to the other node servers, and the second data to be updated is usually encrypted and fragmented; the current node server can check the second data to be updated based on a preset consensus mechanism; the consensus mechanism can be a distributed consensus mechanism to be arbitrated, and the verification process can be encrypted data comparison; and if the verification is successful, updating the existing data corresponding to the second data to be updated in the current node server into the second data to be updated, and finishing the data updating.
According to the data updating method, after the current node updates the data to be updated, the encrypted and fragmented data to be updated is sent to other nodes in the block chain, so that the other nodes verify the data to be updated and perform multi-node synchronous updating on the data to be updated, and therefore the accuracy of data storage and the data updating efficiency are improved.
The embodiment of the invention also provides another data updating method, which is realized based on the method in the embodiment of the invention and is mainly applied to a node server of a KYC system based on a block chain; the method is realized by the following steps:
1. the method comprises the steps of butt joint of a biological recognition system or equipment, and identity verification and authority verification of the system or the equipment; the biological identification system or device can be a face identification device or a fingerprint identification device; after passing the identity authentication and the authority authentication, the data updating process can be continued.
2. Acquiring data information (equivalent to the data to be updated) to be updated, such as a human face, a fingerprint, an identification number, an address, a mailbox and the like; this information may be information of the customer of the KYC system.
3. The update interface (corresponding to the data update interface in the above embodiment, which is typically an application program interface) of the present node based on KYC of the block chain is called.
4. The data information duplicate removal service is prefabricated through the intelligent contract, and the service can delete the data repeatedly stored in the node.
5. And updating the data information of the node through a service interface layer.
6. Data information is encrypted (usually, data is calculated and converted) through a trusted timestamp, a hash algorithm, a Merkle tree, an elliptic curve algorithm, Base64 and the like, and a ciphertext corresponding to the data information to be updated is obtained.
7. And performing manageable fragmentation processing on the ciphertext.
8. After technical encryption is carried out on transmission channels of the node and other nodes, the ciphertext is copied and distributed to other nodes through the transmission channels.
9. And other nodes carry out encrypted data comparison through distributed consensus with arbitration.
10. And if the comparison result of the encrypted data among the nodes is consistent, other nodes automatically perform synchronous data information updating.
In the step 1, the condition can be preset through the intelligent contract and the specific condition can be automatically executed, the identity and the authority of the biological recognition system equipment can be verified, and automatic isolation and shielding can be carried out when the verification fails.
In the step 9, the distributed consensus with arbitration, the data node and the verification node are separated; the data node only has data related to the data node, the verification node has all data but only can verify, and the verification node controls the data information update of other nodes by the distributed consensus with arbitration. The distributed consensus with arbitration can be set according to actual conditions or automatically improved after machine learning.
The method adopts a managed consensus mechanism, improves the updating efficiency and safety of other nodes, thereby increasing the credibility of data information and being capable of being used as a block link certificate; in addition, the node capability applying the method is open, can be automatically identified by an intelligent contract, and allows other systems or equipment to be accessed; the information leakage risk is reduced, and the user experience is good; based on the method, when the business is needed to be transacted through the internal data, only the ciphertext is needed to be sent to the block chain application, the real information is not needed to be known, and the business can be transacted as long as the comparison result of the encrypted data is consistent.
Corresponding to the above data updating method embodiment, the embodiment of the present invention further provides a data updating apparatus, where the apparatus is disposed in a node server of a block chain, the block chain includes a plurality of node servers, and each node server is in communication connection with each other; as shown in fig. 3, the apparatus includes:
a data obtaining module 300, configured to obtain first data to be updated;
a first updating module 302, configured to invoke a preset data updating interface to update existing data corresponding to first data to be updated in a current node server to the first data to be updated;
the encryption module 304 is configured to encrypt the first data to be updated based on a preset encryption algorithm;
the data sending module 306 is configured to send the encrypted first data to be updated to other node servers except the current node server in the block chain, so that the other node servers check the first data to be updated based on a preset consensus mechanism, and if the check is successful, update existing data corresponding to the first data to be updated.
In a specific implementation process, the first data to be updated includes an identity of a corresponding user; the first update module is further configured to: determining existing data corresponding to first data to be updated according to the identity in the first data to be updated in the stored data of the current node server; and replacing the existing data corresponding to the first data to be updated with the first data to be updated.
Specifically, the data sending module is further configured to: carrying out fragmentation processing on the encrypted first data to be updated; sending the first data to be updated after fragmentation processing to other node servers except the current node server in the block chain through a preset transmission channel; the transmission channel is encrypted by the current node server.
Further, the above apparatus further comprises: the checking module is used for checking second data to be updated based on a preset consensus mechanism when the second data to be updated sent by other node servers except the current node server in the block chain is received; and the second updating module is used for updating the existing data corresponding to the second data to be updated in the current node server into the second data to be updated if the verification is successful.
The data updating device provided by the embodiment of the invention has the same technical characteristics as the data updating method provided by the embodiment, so that the same technical problems can be solved, and the same technical effects can be achieved.
An embodiment of the present invention further provides a node server, which is shown in fig. 4 and includes a processor and a memory, where the memory stores machine executable instructions that can be executed by the processor, and the processor executes the machine executable instructions to implement the data updating method.
Further, the electronic device shown in fig. 4 further includes a bus 132 and a communication interface 133, and the processor 130, the communication interface 133 and the memory 131 are connected through the bus 132.
The Memory 131 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 133 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used. The bus 132 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 4, but that does not indicate only one bus or one type of bus.
The processor 130 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 130. The Processor 130 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in the memory 131, and the processor 130 reads the information in the memory 131 and completes the steps of the method of the foregoing embodiment in combination with the hardware thereof.
The embodiment of the present invention further provides a machine-readable storage medium, where the machine-readable storage medium stores machine-executable instructions, and when the machine-executable instructions are called and executed by a processor, the machine-executable instructions cause the processor to implement the data updating method.
The data updating method and apparatus and the computer program product of the gateway electronic device provided in the embodiments of the present invention include a computer-readable storage medium storing a program code, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, an electronic device, or a network device) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above-mentioned embodiments are only specific embodiments of the present invention, which are used for illustrating the technical solutions of the present invention and not for limiting the same, and the protection scope of the present invention is not limited thereto, although the present invention is described in detail with reference to the foregoing embodiments, those skilled in the art should understand that: any person skilled in the art can modify or easily conceive the technical solutions described in the foregoing embodiments or equivalent substitutes for some technical features within the technical scope of the present disclosure; such modifications, changes or substitutions do not depart from the spirit and scope of the embodiments of the present invention, and they should be construed as being included therein. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. The method is applied to a node server of a block chain, wherein the block chain comprises a plurality of node servers, and communication connection is performed among the node servers; the method comprises the following steps:
acquiring first data to be updated;
calling a preset data updating interface to update existing data corresponding to the first data to be updated in the current node server into the first data to be updated;
encrypting the first data to be updated based on a preset encryption algorithm;
and sending the encrypted first data to be updated to other node servers except the current node server in the block chain, so that the other node servers verify the first data to be updated based on a preset consensus mechanism, and if the verification is successful, updating the existing data corresponding to the first data to be updated into the first data to be updated.
2. The method according to claim 1, wherein before the calling a preset data update interface to update existing data corresponding to the first data to be updated in the current node server to the first data to be updated, the method further comprises:
and based on a preset intelligent contract, carrying out data deduplication on the existing data of the current node server.
3. The method according to claim 1, wherein the first data to be updated includes an identity of a corresponding user;
the step of calling a preset data updating interface to update existing data corresponding to the first data to be updated in the current node server to the first data to be updated includes:
determining existing data corresponding to the first data to be updated according to the identity in the first data to be updated in the stored data of the current node server;
and replacing the existing data corresponding to the first data to be updated with the first data to be updated.
4. The method according to claim 1, wherein the step of sending the encrypted first data to be updated to other node servers in the block chain except the current node server comprises:
carrying out fragmentation processing on the encrypted first data to be updated;
sending the first data to be updated after fragmentation processing to other node servers except the current node server in the block chain through a preset transmission channel; the transmission channel is encrypted by the current node server.
5. The method of claim 4, further comprising:
when second data to be updated sent by other node servers except the current node server in the block chain is received, verifying the second data to be updated based on a preset consensus mechanism;
and if the verification is successful, updating the existing data corresponding to the second data to be updated in the current node server to the second data to be updated.
6. The data updating device is characterized in that the device is arranged on a node server of a block chain, the block chain comprises a plurality of node servers, and the node servers are in communication connection; the device comprises:
the data acquisition module is used for acquiring first data to be updated;
the first updating module is used for calling a preset data updating interface to update existing data corresponding to the first data to be updated in the current node server into the first data to be updated;
the encryption module is used for encrypting the first data to be updated based on a preset encryption algorithm;
and the data sending module is used for sending the encrypted first data to be updated to other node servers except the current node server in the block chain, so that the other node servers verify the first data to be updated based on a preset consensus mechanism, and if the verification is successful, existing data corresponding to the first data to be updated is updated to the first data to be updated.
7. The apparatus according to claim 6, wherein the first data to be updated includes an identity of a corresponding user;
the first update module is further to:
determining existing data corresponding to the first data to be updated according to the identity in the first data to be updated in the stored data of the current node server;
and replacing the existing data corresponding to the first data to be updated with the first data to be updated.
8. The apparatus of claim 6, wherein the data sending module is further configured to:
carrying out fragmentation processing on the encrypted first data to be updated;
sending the first data to be updated after fragmentation processing to other node servers except the current node server in the block chain through a preset transmission channel; the transmission channel is encrypted by the current node server.
9. A node server comprising a processor and a memory, the memory storing machine executable instructions executable by the processor, the processor executing the machine executable instructions to implement the method of any one of claims 1 to 5.
10. A machine-readable storage medium having stored thereon machine-executable instructions which, when invoked and executed by a processor, cause the processor to implement the method of any of claims 1 to 5.
CN202010172880.6A 2020-03-12 2020-03-12 Data updating method and device and node server Pending CN111400328A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010172880.6A CN111400328A (en) 2020-03-12 2020-03-12 Data updating method and device and node server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010172880.6A CN111400328A (en) 2020-03-12 2020-03-12 Data updating method and device and node server

Publications (1)

Publication Number Publication Date
CN111400328A true CN111400328A (en) 2020-07-10

Family

ID=71432435

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010172880.6A Pending CN111400328A (en) 2020-03-12 2020-03-12 Data updating method and device and node server

Country Status (1)

Country Link
CN (1) CN111400328A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949672A (en) * 2020-07-30 2020-11-17 杭州电子科技大学 Block chain storage method for supporting incremental update of Internet-of-things data

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862215A (en) * 2017-09-29 2018-03-30 阿里巴巴集团控股有限公司 A kind of date storage method, data query method and device
CN109711174A (en) * 2018-11-30 2019-05-03 深圳灵图慧视科技有限公司 Data capture method, device, equipment and storage medium
WO2019170177A2 (en) * 2019-06-28 2019-09-12 Alibaba Group Holding Limited System and method for updating data in blockchain
CN110427385A (en) * 2019-08-02 2019-11-08 中国工商银行股份有限公司 Block chain data-updating method, interdependent node and block chain
CN110572468A (en) * 2019-09-17 2019-12-13 平安科技(深圳)有限公司 server cluster file synchronization method and device, electronic equipment and storage medium
CN110633323A (en) * 2019-09-16 2019-12-31 腾讯科技(深圳)有限公司 Business data storage method, device, storage medium and computer equipment

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107862215A (en) * 2017-09-29 2018-03-30 阿里巴巴集团控股有限公司 A kind of date storage method, data query method and device
CN109711174A (en) * 2018-11-30 2019-05-03 深圳灵图慧视科技有限公司 Data capture method, device, equipment and storage medium
WO2019170177A2 (en) * 2019-06-28 2019-09-12 Alibaba Group Holding Limited System and method for updating data in blockchain
CN110427385A (en) * 2019-08-02 2019-11-08 中国工商银行股份有限公司 Block chain data-updating method, interdependent node and block chain
CN110633323A (en) * 2019-09-16 2019-12-31 腾讯科技(深圳)有限公司 Business data storage method, device, storage medium and computer equipment
CN110572468A (en) * 2019-09-17 2019-12-13 平安科技(深圳)有限公司 server cluster file synchronization method and device, electronic equipment and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111949672A (en) * 2020-07-30 2020-11-17 杭州电子科技大学 Block chain storage method for supporting incremental update of Internet-of-things data

Similar Documents

Publication Publication Date Title
CN112446785B (en) Cross-chain transaction method, system, device, equipment and storage medium
CN109785130B (en) Block chain random consensus method and device, computer equipment and storage medium
CN109542888B (en) Data modification and synchronization method, device, equipment and storage medium of block chain
US10277608B2 (en) System and method for verification lineage tracking of data sets
US9270467B1 (en) Systems and methods for trust propagation of signed files across devices
CN108696356B (en) Block chain-based digital certificate deleting method, device and system
US11366932B2 (en) Consensus method and data verification method, apparatus, and system of consortium blockchain
CN111949672A (en) Block chain storage method for supporting incremental update of Internet-of-things data
CN113723962B (en) Block chain authority management method and block chain system
CN110505228B (en) Edge cloud architecture-based big data processing method, system, medium and device
CN112527912A (en) Data processing method and device based on block chain network and computer equipment
CN112671881B (en) Node organization management method and device, electronic equipment and readable storage medium
CN110611647A (en) Node joining method and device on block chain system
CN111209339B (en) Block synchronization method, device, computer and storage medium
CN109698806B (en) User data verification method and system
CN111010282B (en) Block chain-based information processing method, related device and storage medium
CN112184436A (en) Data synchronization method, electronic device and readable storage medium
CN112131041A (en) Method, apparatus and computer program product for managing data placement
CN114268490A (en) Equipment authentication method, Internet of things system, server and storage medium
CN111400328A (en) Data updating method and device and node server
CN113326503A (en) Certificate management method and computing device
CN110381114B (en) Interface request parameter processing method and device, terminal equipment and medium
CN110569240B (en) Data storage method and device, computer equipment and storage medium
CN111817859A (en) Data sharing method, device, equipment and storage medium based on zero knowledge proof
CN111291415A (en) Data storage method and device and business system server

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