WO2019205023A1 - 一种基于区块链的数据管理方法及相关系统 - Google Patents

一种基于区块链的数据管理方法及相关系统 Download PDF

Info

Publication number
WO2019205023A1
WO2019205023A1 PCT/CN2018/084465 CN2018084465W WO2019205023A1 WO 2019205023 A1 WO2019205023 A1 WO 2019205023A1 CN 2018084465 W CN2018084465 W CN 2018084465W WO 2019205023 A1 WO2019205023 A1 WO 2019205023A1
Authority
WO
WIPO (PCT)
Prior art keywords
data
account
change
blockchain system
information
Prior art date
Application number
PCT/CN2018/084465
Other languages
English (en)
French (fr)
Inventor
王凯宁
Original Assignee
重庆小雨点小额贷款有限公司
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 重庆小雨点小额贷款有限公司 filed Critical 重庆小雨点小额贷款有限公司
Priority to CN201880063527.5A priority Critical patent/CN111194441B/zh
Priority to PCT/CN2018/084465 priority patent/WO2019205023A1/zh
Priority to US16/978,182 priority patent/US20210042295A1/en
Publication of WO2019205023A1 publication Critical patent/WO2019205023A1/zh

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
    • G06F16/2379Updates performed during online database operations; commit processing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/50Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using hash chains, e.g. blockchains or hash trees
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F17/00Digital computing or data processing equipment or methods, specially adapted for specific functions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/32Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
    • H04L9/3236Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
    • H04L9/3239Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions involving non-keyed hash functions, e.g. modification detection codes [MDCs], MD5, SHA or RIPEMD

Definitions

  • the present invention relates to the field of data processing technologies, and in particular, to a blockchain-based data management method and related system.
  • the embodiment of the invention provides a blockchain-based data management method and related system.
  • the data can be based on a blockchain and combined with the distribution of smart contracts without requiring major adjustments to the traditional data system.
  • Management on the other hand, can also notify the target account corresponding to the changed data when the data changes, so that the data update message is timely and effectively communicated.
  • an embodiment of the present invention provides a blockchain-based data management method, which is applied to an information processing system, where the information processing system includes a centralized system and a blockchain system, and the blockchain system includes at least a node, the method comprising:
  • the blockchain system receives the first change data sent by the centralized system, and updates the first change data to each node included in the blockchain system;
  • the blockchain system detects whether there is account information associated with the first change data
  • the block chain system detects that there is account information associated with the first change data, sending a prompt message to the target account corresponding to the account information, where the prompt information is used to prompt that the data corresponding to the target account has been Was changed.
  • the blockchain system may further receive, by the first account, a data change request carrying second change data, where the data change request is used to request that the first account is corresponding according to the second change data.
  • Data is changed, the first account is any one of at least one blockchain account; detecting a data type of the second change data; determining a target information processing strategy corresponding to the data type according to the smart contract, and determining The data change request performs the target information processing strategy.
  • the smart contract includes a change condition for changing data corresponding to the first account, where the specific implementation manner of the target information processing policy is: the blockchain system sends the data to an associated account. a change request, the associated account comprising at least one of: an account associated with the second change data and an account associated with the first account; obtaining feedback information of the associated account for the data change request And if the feedback information satisfies the change condition, the data corresponding to the first account is changed according to the second change data.
  • the specific implementation manner of the target information processing policy is: the blockchain system sends the data to an associated account.
  • the associated account comprising at least one of: an account associated with the second change data and an account associated with the first account; obtaining feedback information of the associated account for the data change request And if the feedback information satisfies the change condition, the data corresponding to the first account is changed according to the second change data.
  • the specific implementation manner of the target information processing policy is: the blockchain system sends the data change request to the centralized system, where the data change request is used to indicate that the centralized system is After the data change request is verified, the verification response message is sent; the blockchain system receives the response information, and changes the data corresponding to the first account according to the second change data.
  • the blockchain system may also establish a pre-defined correspondence between each data type and an information processing policy, and generate the smart contract according to the correspondence.
  • the specific implementation manner of the blockchain system detecting whether there is account information associated with the first change data is: the blockchain system determines a data type of the first change data, and detects the data. Whether the type is bound with account information; or determining whether there is account information in the first change data.
  • the feedback information may also be parsed to determine that the associated account allows the data change request account. a quantity; when the number of accounts is greater than or equal to a preset number threshold, determining that the feedback information satisfies the change condition.
  • an embodiment of the present invention provides a data management apparatus based on a blockchain, which is applied to an information processing system, where the information processing system includes a centralized system and a blockchain system, and the device includes:
  • transceiver module configured to receive first change data sent by the centralized system, and update the first change data to each node included in the blockchain system;
  • a detecting module configured to detect whether there is account information associated with the first change data
  • the transceiver module is further configured to: if the detecting module detects that the account information associated with the first change data exists, send a prompt message to the target account corresponding to the account information, where the prompt information is used to prompt the The data corresponding to the target account has been changed.
  • an embodiment of the present invention provides a blockchain system, where the blockchain system includes a processing device and a storage device, wherein the processing device and the storage device are connected to each other, wherein the storage device is configured to store A computer program comprising program instructions, the processing device being configured to invoke the program instructions to perform the method of the first aspect above.
  • an embodiment of the present invention provides a computer readable storage medium, where the computer readable storage medium stores a computer program, where the computer program includes program instructions, and when the program instructions are executed by the processor, The processor performs the method of the first aspect above.
  • an embodiment of the present invention provides an information processing system, where the information processing system includes: a centralized system and a blockchain system, where:
  • the blockchain system is configured to receive the first change data sent by the centralized system, and update the first change data to each node included in the blockchain system, where the presence is detected
  • the prompt information is sent to the target account corresponding to the account information, and the prompt information is used to prompt that the data corresponding to the target account has been changed.
  • the blockchain system may receive the first change data sent by the centralized system, update the first change data to each node included in the blockchain system, and detect whether there is any association with the first change data.
  • the account information if it is detected that there is account information associated with the first change data, sends a prompt message to the target account corresponding to the account information.
  • the distributed management of the data based on the blockchain can be realized without making major adjustments to the traditional data system; on the other hand, the privilege of the centralized management of the traditional data system is retained, thereby It can better meet the actual needs of the industry; in another aspect, the target account corresponding to the changed data can be notified when the data changes, so that the data change message is timely and effectively conveyed.
  • FIG. 1 is a schematic structural diagram of an information processing system according to an embodiment of the present invention.
  • FIG. 2 is a schematic flowchart of a data management method based on a blockchain according to an embodiment of the present invention
  • FIG. 3 is a schematic flowchart diagram of another blockchain-based data management method according to an embodiment of the present invention.
  • FIG. 4 is a schematic block diagram of a blockchain-based data management apparatus according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a blockchain system according to an embodiment of the present invention.
  • Blockchain technology is an Internet database technology, which is essentially decentralized and stored in a distributed structure for data storage, transmission and certification.
  • the blockchain system is based on the blockchain technology, which replaces the current Internet-to-center server dependence with data blocks, so that all data changes or transaction items are recorded on a cloud system, realizing the data transmission. Self-certification. Once the information is verified and added to the blockchain system, it is permanently stored and the data registered on the blockchain system is irreparably modified.
  • a smart contract deployed on a blockchain system is a digital contract that can execute a contract code in a Central Processing Unit (CPU) that can be automated to execute predefined rules when the terms of the smart contract are met. And terms.
  • CPU Central Processing Unit
  • the traditional data system is generally a centralized system.
  • the data system is prone to data tampering, making the data Authenticity cannot be guaranteed.
  • blockchain technology emerges as the times require, but for enterprises that already have traditional data systems or need to have centralized management, if only the blockchain technology is applied, the actual needs of the enterprise cannot be met.
  • the centralized system can be a financial system such as a banking system, a loan system, securities or insurance, or a headquarters system of any company.
  • an embodiment of the present invention provides an information processing system, which includes a centralized system and a blockchain system, and can be applied to the fields of loans, securities, insurance, finance, and the like.
  • the blockchain system is a distributed management system including at least one node.
  • one node may correspond to one node device, or multiple nodes may correspond to one node device.
  • the node device may be a terminal device, and the terminal device may include, but is not limited to, a PC (Personal Computer), a PAD (tablet computer), a mobile phone, a smart phone, a notebook computer, etc. server.
  • the centralization system can send the altered data (ie, the first change data) to the blockchain system. Further, after receiving the first change data from the centralized system, the blockchain system may detect whether there is account information associated with the first change data, and if yes, issue a prompt message to the target account corresponding to the account information, The data used to prompt the target account has been changed.
  • the altered data ie, the first change data
  • the blockchain system may detect whether there is account information associated with the first change data, and if yes, issue a prompt message to the target account corresponding to the account information, The data used to prompt the target account has been changed.
  • the embodiment of the invention establishes an information processing system combining the blockchain system and the centralized system, and can realize distributed management of data based on blockchain on the one hand without making major adjustments to the traditional data system; On the other hand, it retains the centralized management privilege of the traditional data system to better meet the actual needs of the industry; in addition, it can notify the target account corresponding to the changed data when the data changes, so that the data change message is timely and effectively transmitted. .
  • first change data and the second change data described in the present invention may refer to any data, and the two may be the same or different.
  • the first change data and the second change data may refer to different data for different application scenarios.
  • the application scenario is a loan system
  • the first change data may be sales data of an enterprise
  • the second change data may be a loan amount of a certain enterprise, and the like
  • the first change The data can be the amount that Zhang San insured in a certain year
  • the second change data can be the number of times the insurance is released in a certain year.
  • the present invention is not specifically limited thereto.
  • the account information associated with the first change data described in the present invention may include at least one of the following: account information corresponding to the data type of the first change data and account information included in the first change data.
  • the account information may be preset, such as a business account, a user ID, and the like.
  • the target account described in the present invention is a blockchain account corresponding to the above account information on the blockchain system (hereinafter referred to as a blockchain target account).
  • the data is modified as described in the present invention, wherein the change includes at least one of adding, modifying, and deleting data, which is not specifically limited by the present invention.
  • FIG. 2 is a schematic flowchart diagram of a blockchain-based data management method according to an embodiment of the present invention. The method is applied to an information processing system, where the information processing system includes a centralized system and a blockchain system. As shown, the data management method can include:
  • the blockchain system receives the first change data sent by the centralized system, and updates the first change data to each node included in the blockchain system.
  • the changed data (ie, the first change data) may be sent to the blockchain system via the first node that has established the connection. Further, after receiving the first change data, the blockchain system may update the first change data to each node in the blockchain system, thereby implementing distributed management of data.
  • the block chain system may send the first change data to each node in the blockchain system, and find the first change in each corresponding storage device of each node.
  • the target data corresponding to the data is changed to the first change data, thereby achieving the purpose of updating the first change data to each node in the blockchain system, and implementing distributed management of the data.
  • the first change data and the target data are related to each other or correspond to each other.
  • the first change data is the repayment amount of the company A in March
  • the target data is also the repayment amount of the company A in March.
  • the first change data sent by the centralized system is the car insurance payment amount of Zhang San 2018, and the specific amount is 3500.
  • the blockchain system receives the first change data sent by the centralized system, the A change data is sent to each node of the blockchain system, and the data corresponding to the car insurance payment amount of Zhang San 2018 is found in the corresponding storage device of each node, and the amount of the car insurance payment amount of Zhang San 2018 is changed. It is 3500.
  • the blockchain system detects whether there is account information associated with the first change data.
  • the account information associated with the first change data may include at least one of the following: account information corresponding to the data type of the first change data and account information included in the first change data.
  • the account information may be preset, such as a business account, a user ID, and the like.
  • the blockchain system may pre-bind the corresponding account information for different types of data, as shown in Table 1-1.
  • the blockchain system may determine the data type of the first change data after receiving the first change data from the centralized system, and further detect whether the data type is bound with account information, if the first change data If the data type is bound to the account information, it can be considered that the account information associated with the first change data is detected.
  • the binding relationship between the data type and the account information may be as shown in Table 1-1.
  • the binding may be based on the preset. If the account information of the Type-1 binding is detected as M-01, the binding information of the data type of the first change data may be determined. Alternatively, if the blockchain system determines that the data type of the first change data is Type-3, the account information bound to Type-3 cannot be detected according to the preset binding relationship, and the first change may also be determined. The data type of the data does not have bound account information.
  • Type of data account information Type-1 M-01 Type-2 M-02
  • the blockchain system may determine whether there is account information in the first change data after receiving the first change data from the centralized system. Further, if the blockchain system identifies the account information in the first change data, it may be determined that there is account information associated with the first change data; if the blockchain system does not identify the account information in the first change data Then, it can be determined that there is no account information associated with the first change data.
  • the target account may be identified from the account information, and a prompt message is sent to the target account for prompting the target account.
  • the corresponding data has been changed, and the target account corresponding to the changed data can be notified when the data is changed, which not only helps to ensure data security, but also ensures the authenticity of the data.
  • the prompt information may also prompt that the data corresponding to the first change data of the target account has been changed. For example, if the first change data is the sales amount of the company A, and the specific amount is 10,000 yuan, the prompt information may be “the sales amount of the company A has been changed to 10,000 yuan”.
  • the blockchain system may also obtain a contact information associated with the target account, and then issue a prompt message to the target account through the contact method.
  • the contact information may be, for example, a short message, a mail, a chat tool message, or the like.
  • the target account identified by the blockchain system from the account information associated with the first change data includes: number-01 and number-02.
  • the blockchain system can send a prompt message to the target accounts number-01 and number-02 for prompting the target account that the sales data of the company A in April has been changed.
  • the blockchain system may receive the first change data sent by the centralized system, update the first change data to each node included in the blockchain system, and detect whether there is any association with the first change data.
  • the account information if it is detected that there is account information associated with the first change data, sends a prompt message to the target account corresponding to the account information.
  • FIG. 3 is a schematic flowchart diagram of a blockchain-based data management method according to an embodiment of the present invention.
  • the method is applied to an information processing system, where the information processing system includes a centralized system and a blockchain, such as As shown, the data management method can include:
  • the blockchain system receives the first change data sent by the centralized system, and updates the first change data to each node included in the blockchain system.
  • S302 The blockchain system detects whether there is account information associated with the first change data.
  • step S301 to the step S303 refer to the related description of the step S201 to the step S203 in the foregoing embodiment, and the details are not described herein again.
  • the blockchain system receives a data change request carrying the second change data from the first account, where the data change request is used to request to change the data corresponding to the first account according to the second change data.
  • the first account is any one of at least one blockchain account.
  • the first account when the first account needs to change any data, the first account may be used to connect to any node in the blockchain system, and the data change request is issued to the blockchain system through the node.
  • the change request carries change data (ie, second change data) for any data.
  • the blockchain system may acquire the second change data from the data change request after receiving the data change request.
  • S305 The blockchain system detects a data type of the second change data.
  • S306 The blockchain system determines a target information processing policy corresponding to the data type according to the preset smart contract, and executes a target information processing policy for the data change request.
  • the blockchain system may pre-establish a corresponding correspondence between each of the predefined data types and the information processing policy, and generate the smart contract according to the corresponding relationship.
  • the target information processing policy corresponding to the data type may be determined in the correspondence indicated by the smart contract, and then the target is executed for the data change request.
  • Information processing strategy By adopting the invention, different target information processing strategies can be executed for the data type of the change data, which is beneficial to improving the processing efficiency of the data change.
  • the corresponding relationship indicated by the preset smart contract may be as shown in Table 2-1.
  • the corresponding relationship indicated by the preset smart contract is as shown in Table 2-1.
  • the block chain system After the block chain system obtains the second change data, it detects that the data type of the second change data is Type-1. According to the smart contract, the target information processing policy corresponding to the data type Type-1 is determined as Stra-01, and the target information processing strategy Stra-01 is executed.
  • the centralization system, the blockchain system, the data type of the second change data, and the information processing strategy described in the present invention may be different.
  • the application scenario is a loan system
  • the centralized system described in the present invention may be a loan platform
  • the blockchain system may be a blockchain system applied to a loan
  • the data type of the second change data may include a enterprise. Sales data, corporate loan amount, etc.
  • the target information processing strategy corresponding to the enterprise sales data may send the second change data to the enterprise associated with the second change data (hereinafter referred to as the related enterprise) for the blockchain system, and then whether the data change is agreed It is decided by the relevant company.
  • the target information processing strategy corresponding to the enterprise loan amount may send the second change data to the loan platform for the blockchain system, and then whether the data change is agreed is determined by the loan platform.
  • the blockchain system can predefine a plurality of data types, and different data types respectively correspond to different target information processing strategies.
  • the present invention may include at least one target information processing policy, and specifically may include a first target information processing policy, a second target information processing policy, and the like.
  • the preset smart contract may include a change condition for changing the first account corresponding data.
  • the target information processing strategy performed by the blockchain system on the data change request may be to send a data change request to the associated account, and obtain feedback information of the associated account for the data change request, and if the feedback information satisfies the change condition, The data corresponding to the first account is changed according to the second change data.
  • the foregoing associated account may include at least one of the following: an account associated with the second change data and an account associated with the first account.
  • the account associated with the second change data may be an account that has a binding relationship with the second change data in advance, or may be an account extracted in the second change data, that is, the second change data includes the account.
  • the account associated with the first account may be an account that has a binding relationship with the first account in advance.
  • the associated account may include an account of the centralized system, or may not include an account of the centralized system. This solution is not specifically limited.
  • the feedback information described above may include the number of accounts associated with the account allow data change request.
  • the feedback information may be parsed to determine the number of accounts in which the associated account allows the data change request, where the number of accounts is greater than or equal to the preset. When the threshold is used, it is determined that the feedback information satisfies the change condition.
  • the feedback information may also include a percentage of the associated account allow data change request.
  • the feedback information may be parsed to determine the percentage of the associated account allow data change request, where the percentage is greater than or equal to the preset percentage threshold. When it is determined, the feedback information is determined to satisfy the change condition. For example, if the preset percentage threshold is 95%, the blockchain system parses the feedback information to determine that the percentage of the associated account allowed data change request is 96%, then it can be determined that the feedback information satisfies the change condition.
  • the blockchain system can be applied to the insurance system, and the second change data from the first account is the compensation amount of Zhang San accident insurance, the specific amount is 100,000, for the first
  • the change condition of the account corresponding data change (that is, the change condition included in the smart contract) is 5, and the number of accounts for allowing the data change request is 5, and the associated accounts include number-01, number-02, number-03, number-04, number -05 and number-06.
  • the blockchain system may send a data change request for the second change data to number-01, number-02, number-03, number-04, number-05, and number-06, and the relevant account accounts are received.
  • the indication information of whether the data change request is allowed is sent, and the blockchain system collects the indication information, and determines that the number of accounts allowing the data change request among the six associated accounts reaches six (ie, feedback information). After judging that the number of accounts allowing the data change request is greater than 5, it can be determined that the feedback information satisfies the change condition, and then the compensation amount of Zhang San accident insurance is changed to 100,000 according to the second change data.
  • the target information processing policy performed by the blockchain system on the data change request may further send the data change request to the centralized system, where the data change request is used to instruct the centralized system to verify the data change request. After passing, the response message of the verification pass is issued. Further, the blockchain system may receive the response information, and after receiving the response information, change the data corresponding to the first account according to the second change data.
  • the blockchain system may send a data change request carrying the second data change from the first account to the centralized system, and the centralization system may verify the data change request after receiving the data change request. And, in the case that the data change request is verified, the response information of the verification pass is sent to the blockchain system, so that after the blockchain system receives the response information, the first account corresponds to the first account according to the second change data. The data is changed.
  • the centralized platform is a loan platform
  • the second change data carried by the data change request from the first account is the loan amount of the enterprise XYD
  • the specific amount is 20,000 yuan.
  • the data change request may be sent to the loan platform through the blockchain system, and the data change request carries the second change.
  • the data is used to request to change the loan amount of the enterprise XYD to 20,000 yuan.
  • the loan platform verifies the data change request, and if it agrees to change the loan amount of the enterprise XYD to 20,000 yuan, it is determined that the data change request is verified and passed to the blockchain system.
  • the response information for the verification is sent, and after the block link receives the response information, the loan amount of the enterprise XYD is changed to 20,000 yuan according to the second change data.
  • the blockchain system may receive the first change data sent by the centralized system, and update the first change data to each node included in the blockchain system and detect whether the first change data exists.
  • the associated account information if it is detected that there is account information associated with the first change data, sends a prompt message to the target account corresponding to the account information.
  • the blockchain system may further receive a data change request carrying the second change data from the first account, and detect a data type of the second change data, and then determine target information corresponding to the data type according to the preset smart contract. Process the policy and execute the target information processing strategy for the data change request.
  • the distributed management of the data based on the blockchain and the intelligent contract can be realized without making major adjustments to the traditional data system; on the other hand, the centralized management of the traditional data system can be retained.
  • the privilege so as to more meet the actual needs of the industry; another aspect can also notify the blockchain target account corresponding to the changed data when the data changes, so that the data update message is timely and effectively communicated.
  • the embodiment of the present invention further provides a computer readable storage medium, where the program instructions are stored, and when the program instructions are executed, are used to implement the corresponding methods described in the foregoing embodiments.
  • the apparatus includes a module for performing the foregoing method as shown in FIG. 2 or FIG.
  • the apparatus of this embodiment includes: a transceiver module 40 and a detection module 41, wherein:
  • the transceiver module 40 is configured to receive first change data sent by the centralized system, and update the first change data to each node included in the blockchain system;
  • the detecting module 41 is configured to detect whether there is account information associated with the first change data
  • the transceiver module 40 is further configured to: if the detecting module detects that the account information associated with the change data exists, send the prompt information to the target account corresponding to the account information, where the prompt information is used to prompt the target The data corresponding to the account has been changed.
  • the device further includes: a determining module 42 and an executing module 43, wherein:
  • the transceiver module 40 is further configured to receive a data change request carrying the second change data from the first account, where the data change request is used to request to change the data corresponding to the first account according to the second change data.
  • the first account is any one of at least one blockchain account;
  • the detecting module 41 is further configured to detect a data type of the second change data
  • a determining module 42 configured to determine, according to a preset smart contract, a target information processing policy corresponding to the data type
  • the executing module 43 is configured to execute the target information processing policy determined by the determining module 42 on the data change request.
  • the smart contract includes a change condition for changing data corresponding to the first account
  • the executing module 43 is specifically configured to: send the data change request to the associated account by using the blockchain
  • the associated account includes at least one of: an account associated with the second change data and an account associated with the first account; obtaining feedback information of the associated account for the data change request; When the feedback information satisfies the change condition, the data corresponding to the first account is changed according to the second change data.
  • the executing module 43 is further configured to: send the data change request to the centralized system, where the data change request is used to instruct the centralized system to verify the data change request by Then, the response information of the verification pass is sent; the response information is received, and the data corresponding to the first account is changed according to the second change data.
  • the device further includes:
  • the establishing module 44 is configured to establish a correspondence between the predefined each data type and the information processing policy
  • the generating module 45 is configured to generate the smart contract according to the correspondence.
  • the detecting module 41 is specifically configured to determine a data type of the first change data, detect whether the data type is bound with account information, or determine whether an account exists in the first change data. information.
  • the device further includes: a parsing module 46, wherein:
  • the parsing module 46 is configured to parse the feedback information to trigger the determining module 42 to determine the number of accounts for which the associated account allows the data change request, and determine when the number of accounts is greater than or equal to a preset number threshold The feedback information satisfies the change condition.
  • the transceiver module 40 can receive the first change data sent by the centralized system, and update the first change data to each node included in the blockchain system, and the detection module 41 can detect whether there is any change related to the change data. If the transceiver module 40 detects that there is account information associated with the change data through the detection module 41, the account information is sent to the target account corresponding to the account information.
  • the distributed management of the data based on the blockchain can be realized without making major adjustments to the traditional data system; on the other hand, the area corresponding to the changed data can be notified when the data is changed.
  • the blockchain target account enables the timely and effective communication of data change messages.
  • FIG. 5 is a schematic structural diagram of a blockchain system according to an embodiment of the present invention.
  • the data management device includes a processing device 501, a storage device 502, and a communication device 503.
  • the processing device 501, the storage device 502, and the communication device 503 can exchange data, and the processing device 501 implements a corresponding information processing function.
  • the storage device 502 may include a volatile memory, such as a random-access memory (RAM); the storage device 502 may also include a non-volatile memory, such as a fast A flash memory, a solid-state drive (SSD) or the like; the storage device 502 may further include a combination of the above-described types of memories.
  • RAM random-access memory
  • SSD solid-state drive
  • the communication device 503 can interact with other communication devices or centralized systems in the blockchain system.
  • the processing device 501 may be a central processing unit (CPU), and the processing device 501 may also be a combination of a CPU and a GPU. In the blockchain system, a plurality of CPUs and GPUs may be included as needed to perform corresponding information processing.
  • the storage device 502 is configured to store program instructions.
  • the processing device 501 may invoke the program instruction to: receive, by the communication device 503, first change data sent by the centralized system, and update the first change data to each node included in the blockchain system; Detecting whether there is account information associated with the first change data; if yes, issuing prompt information to the target account corresponding to the account information, the prompt information being used to prompt that the data corresponding to the target account has been changed .
  • the processing device 501 is configured to receive, by the communication device 503, a data change request carrying a second change number from the first account, where the data change request is used to request the second change data pair according to the
  • the data corresponding to the first account is changed, the first account is any one of at least one blockchain account; the data type of the second change data is detected; and the data type is determined according to a preset smart contract.
  • the target information processing strategy and the target information processing strategy is executed on the data change request.
  • the smart contract includes a change condition for changing data corresponding to the first account
  • the processing device 501 is configured to send, by using the communication device 503, the data change request to an associated account in a blockchain.
  • the associated account includes at least one of: an account associated with the second change data and an account associated with the first account; obtaining feedback information of the associated account for the data change request; When the feedback information satisfies the change condition, the data corresponding to the first account is changed according to the second change data.
  • the processing device 501 is configured to send, by using the communication device 503, the data change request to the centralized system, where the data change request is used to instruct the centralized system to verify the data change request After passing, the response information of the verification pass is sent; the response information is received, and the data corresponding to the first account is changed according to the second change data.
  • the processing device 501 is configured to establish a correspondence between each predefined data type and an information processing policy, and generate the smart contract according to the correspondence.
  • the processing device 501 is configured to determine a data type of the first change data, detect whether the data type is bound with account information, or determine whether the account information exists in the first change data. .
  • the processing device 501 is configured to parse the feedback information to determine an account number that the associated account allows the data change request; when the number of accounts is greater than or equal to a preset number threshold, Then determining that the feedback information satisfies the change condition.
  • processing device 501 may refer to the description of related content in the embodiments corresponding to the foregoing various figures.
  • the storage medium may be a magnetic disk, an optical disk, a read-only memory (ROM), or a random access memory (RAM).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Data Mining & Analysis (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Software Systems (AREA)
  • Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)

Abstract

一种基于区块链的数据管理方法及相关系统,其中,所述方法包括:区块链系统可以接收中心化系统发送的第一变更数据,将第一变更数据更新至区块链系统中包括的各个节点,并检测是否存在与第一变更数据相关联的账户信息,如果检测到存在与第一变更数据相关联的账户信息,则向账户信息对应的目标账户发出提示信息。采用本发明,一方面可以在不需要对传统数据系统做较大调整的情况下,实现数据基于区块链且结合智能合约的分布式管理;另一方面还可以保留传统数据系统的中心化管理特权,从而更加满足行业实际需求;又一方面,还可以在数据变更时通知所变更数据对应的区块链目标账户,使得数据变更的消息及时有效的传达。

Description

一种基于区块链的数据管理方法及相关系统 技术领域
本发明涉及数据处理技术领域,尤其涉及一种基于区块链的数据管理方法及相关系统。
背景技术
目前,传统的数据系统(如:金融领域的数据系统)一般为中心化系统。对于这种数据系统而言,为了保证数据的安全性,通常只有具有管理权限的人员才能对数据系统进行管理,同时,也只有内部人员才能查看系统数据。当这类数据系统的数据发生变更时,对于客户或者消费者来说是不知情的,那么这类数据系统就很容易出现数据篡改的情况,影响数据的真实性。因此,如何在保证数据安全性的同时保证数据的真实性,成为一个亟待解决的问题。
发明内容
本发明实施例提供了一种基于区块链的数据管理方法及相关系统,一方面可以在不需要对传统数据系统做较大调整的情况下,实现数据基于区块链且结合智能合约的分布式管理,另一方面还可以在数据发生变更时通知所变更数据对应的目标账户,使得数据更新的消息及时有效的传达。
第一方面,本发明实施例提供了一种基于区块链的数据管理方法,应用于信息处理系统,所述信息处理系统包括中心化系统和区块链系统,所述区块链系统包括至少一个节点,所述方法包括:
区块链系统接收所述中心化系统发送的第一变更数据,并将所述第一变更数据更新至所述区块链系统中包括的各个节点;
区块链系统检测是否存在与所述第一变更数据相关联的账户信息;
若区块链系统检测到存在与所述第一变更数据相关联的账户信息,则向所述账户信息对应的目标账户发出提示信息,所述提示信息用于提示所述目标账户对应的数据已被变更。
可选地,区块链系统还可以接收来自第一账户的携带有第二变更数据的数 据变更请求,所述数据变更请求用于请求根据所述第二变更数据对所述第一账户对应的数据进行变更,所述第一账户为至少一个区块链账户中的任一个;检测所述第二变更数据的数据类型;根据智能合约确定所述数据类型对应的目标信息处理策略,并对所述数据变更请求执行所述目标信息处理策略。
可选地,所述智能合约包括对所述第一账户对应的数据进行变更的变更条件,所述执行所述目标信息处理策略的具体实施方式为:区块链系统向关联账户发送所述数据变更请求,所述关联账户包括以下至少一种:与所述第二变更数据相关联的账户和与所述第一账户相关联的账户;获取所述关联账户针对所述数据变更请求的反馈信息;若所述反馈信息满足所述变更条件,则根据所述第二变更数据对所述第一账户对应的数据进行变更。
可选地,所述执行所述目标信息处理策略的具体实施方式为:区块链系统向所述中心化系统发送所述数据变更请求,所述数据变更请求用于指示所述中心化系统在对所述数据变更请求验证通过后,发出验证通过的响应信息;所述区块链系统接收所述响应信息,并根据所述第二变更数据对所述第一账户对应的数据进行变更。
可选地,区块链系统还可以建立预定义的各个数据类型与信息处理策略的对应关系,并根据所述对应关系生成所述智能合约。
可选地,所述区块链系统检测是否存在与所述第一变更数据相关联的账户信息的具体实施方式为:区块链系统确定所述第一变更数据的数据类型,检测所述数据类型是否绑定有账户信息;或者,确定所述第一变更数据中是否存在有账户信息。
可选地,所述区块链系统获取所述关联账户针对所述数据变更请求的反馈信息之后,还可以对所述反馈信息进行解析,以确定所述关联账户允许所述数据变更请求的账户数量;在所述账户数量大于或者等于预设数量阈值时,则确定所述反馈信息满足所述变更条件。
第二方面,本发明实施例提供了一种基于区块链的数据管理装置,应用于信息处理系统,所述信息处理系统包括中心化系统和区块链系统,该装置包括:
收发模块,用于接收所述中心化系统发送的第一变更数据,并将所述第一变更数据更新至所述区块链系统中包括的各个节点;
检测模块,用于检测是否存在与所述第一变更数据相关联的账户信息;
所述收发模块,还用于若检测模块检测到存在与所述第一变更数据相关联的账户信息,则向所述账户信息对应的目标账户发出提示信息,所述提示信息用于提示所述目标账户对应的数据已被变更。
第三方面,本发明实施例提供了一种区块链系统,该区块链系统包括处理装置和存储装置,所述处理装置和所述存储装置相互连接,其中,所述存储装置用于存储计算机程序,所述计算机程序包括程序指令,所述处理装置被配置用于调用所述程序指令,执行上述第一方面的方法。
第四方面,本发明实施例提供了一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行上述第一方面的方法。
第五方面,本发明实施例提供了一种信息处理系统,该信息处理系统包括:中心化系统和区块链系统,其中:
中心化系统,用于向区块链系统发送第一变更数据;
所述区块链系统,用于接收所述中心化系统发送的所述第一变更数据,并将所述第一变更数据更新至所述区块链系统中包括的各个节点,在检测到存在与所述第一变更数据相关联的账户信息时,向所述账户信息对应的目标账户发出提示信息,所述提示信息用于提示所述目标账户对应的数据已被变更。
本发明实施例中,区块链系统可以接收中心化系统发送的第一变更数据,将第一变更数据更新至区块链系统中包括的各个节点,并检测是否存在与第一变更数据相关联的账户信息,如果检测到存在与第一变更数据相关联的账户信息,则向账户信息对应的目标账户发出提示信息。采用本发明,一方面可以在不需要对传统数据系统做较大调整的情况下,实现数据基于区块链的分布式管理;另一方面还保留了传统数据系统的中心化管理的特权,从而更加满足行业实际需求;又一方面还可以在数据发生变更时通知所变更数据对应的目标账户,使得数据变更的消息及时有效的传达。
附图说明
为了更清楚地说明本发明实施例或现有技术中的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本发明的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。
图1为本发明实施例提供的一种信息处理系统的结构示意图;
图2为本发明实施例提供的一种基于区块链的数据管理方法的流程示意图;
图3为本发明实施例提供的另一种基于区块链的数据管理方法的流程示意图;
图4是本发明实施例提供的一种基于区块链的数据管理装置的示意性框图;
图5是本发明实施例提供的一种区块链系统的结构示意图。
具体实施方式
下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本发明一部分实施例,而不是全部的实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。
区块链技术是一种互联网数据库技术,其本质是去中心化且寓于分布式结构的数据存储、传输和证明的方法。区块链系统正是基于区块链技术,用数据区块取代了目前互联网对中心服务器的依赖,使得所有数据变更或交易项目都记录在一个云系统之上,实现了数据传输中对数据的自我证明。一旦信息经过验证并添加至区块链系统,就会永久的存储起来,并且登记在区块链系统上的数据具备不可篡改性。在区块链系统上部署的智能合约是一份可以在中央处理器(Central Processing Unit,CPU)执行合约代码的数字合同,当满足智能合约的条款内容时,可以自动化的执行预先定义好的规则和条款。
目前,传统的数据系统一般为中心化系统,这种系统在数据发生改变时,对于客户或者消费者来说是不知情的,那么这类数据系统就很容易出现数据篡 改的情况,使得数据的真实性无法得到保证。基于这种需求,区块链技术应运而生,但对于已存在传统数据系统或者需要具有中心化管理的企业而言,如果仅仅应用区块链技术,不能满足企业的实际需求。其中,中心化系统可以是银行系统、贷款系统、证券或保险等金融系统,也可以是任一公司的总部系统等等。
为了解决上述问题,请参见图1,本发明实施例提供了一种信息处理系统,该信息处理系统包括中心化系统和区块链系统,可以应用于贷款、证券、保险、金融等领域,其中,区块链系统为一个分布式管理系统,该分布式管理系统包括至少一个节点。本发明实施例中,可以一个节点对应一个节点设备,也可以多个节点对应一个节点设备。其中,该节点设备可以为一种终端设备,终端设备可包括但不限于:PC(Personal Computer,个人计算机)、PAD(平板电脑)、手机、智能手机、笔记本电脑等设备;还可以为一种服务器。
在一个实施例中,中心化系统可以将所变更的数据(即第一变更数据)发送至区块链系统。进一步地,区块链系统接收到来自中心化系统的第一变更数据后,可以检测是否存在与第一变更数据相关联的账户信息,如果存在,则向账户信息对应的目标账户发出提示信息,用于提示目标账户对应的数据已被变更。本发明实施例建立这种区块链系统与中心化系统结合的信息处理系统,一方面可以在不需要对传统数据系统做较大调整的情况下,实现数据基于区块链的分布式管理;另一方面还保留了传统数据系统的中心化管理特权,从而更加满足行业实际需求;又一方面还可以在数据发生变更时通知所变更数据对应的目标账户,使得数据变更的消息及时有效的传达。
需要说明的是,本发明所描述的第一变更数据和第二变更数据可以指代任何数据,两者可以相同或者不同。针对不同的应用场景,第一变更数据和第二变更数据可以指代不同的数据。例如,当应用场景为贷款系统时,第一变更数据可以为某企业的销售数据,第二变更数据可以为某企业的贷款金额等等;又例如,当应用场景为保险系统时,第一变更数据可以为张三在某年投保的数额,第二变更数据可以张三在某年的出险次数等等。本发明对此不作具体限定。
本发明所描述的与上述第一变更数据相关联的账户信息,可以包括以下至少一种:第一变更数据的数据类型对应的账户信息和第一变更数据中包括的账 户信息。该账户信息可以是预先设置的,例如可以为企业账户、用户ID等等。本发明所描述的目标账户为区块链系统上与上述账号信息对应的区块链账户(以下简称区块链目标账户)。
本发明所描述的对数据进行变更,其中,所述变更包括对数据进行增加、修改和删除中的至少一种,本发明对此不作具体限定。
再参见图2,图2是本发明实施例提供的一种基于区块链的数据管理方法的流程示意图,该方法应用于信息处理系统,该信息处理系统包括中心化系统和区块链系统,如图所示,该数据管理方法可包括:
S201:区块链系统接收中心化系统发送的第一变更数据,并将第一变更数据更新至区块链系统中包括的各个节点。
在一个实施例中,当中心化系统检测到数据变更时,可以通过已建立连接的上述第一节点将变更的数据(即第一变更数据)发送至区块链系统。进一步地,区块链系统接收到第一变更数据后,可以将该第一变更数据更新至区块链系统中的各个节点,从而实现数据的分布式管理。
在一个实施例中,区块链系统接收到第一变更数据后,可以将第一变更数据发送至区块链系统中的各节点,并在各节点各自对应的存储装置中查找到第一变更数据对应的目标数据,并将目标数据变更为第一变更数据,从而达到将第一变更数据更新至区块链系统中的各个节点的目的,实现数据的分布式管理。其中,第一变更数据和目标数据两者是相关关联或者相互对应的,例如,第一变更数据为3月份企业A的还款金额,那么目标数据也为3月份企业A的还款金额。
示例性地,中心化系统发送的第一变更数据为张三2018年的车险缴纳金额,具体金额为3500,区块链系统接收到中心化系统发送的该第一变更数据后,则可以将第一变更数据发送到区块链系统的各个节点,并在各节点各自对应的存储装置中查找到张三2018年的车险缴纳金额对应的这部分数据,并将张三2018年的车险缴纳金额变更为3500。
S202:区块链系统检测是否存在与第一变更数据相关联的账户信息。其中,该与第一变更数据相关联的账户信息,可以包括以下至少一种:第一变更数据 的数据类型对应的账户信息和第一变更数据中包括的账户信息。该账户信息可以是预先设置的,例如可以为企业账户、用户ID等等。
在一个实施例中,区块链系统可以针对不同类型的数据预先绑定各自对应的账户信息,如表1-1所示。这种情况下,区块链系统可以在接收到来自中心化系统的第一变更数据后,确定第一变更数据的数据类型,进而检测数据类型是否绑定有账户信息,若第一变更数据的数据类型绑定有账户信息,即可认为检测到存在与第一变更数据相关联的账户信息;与之对应地,若第一变更数据的数据类型未绑定有账户信息,即可认为检测到不存在与第一变更数据相关联的账户信息。示例性的,数据类型与账户信息的绑定关系可以如表1-1所示,如果区块链系统确定出第一变更数据的数据类型为Type-1,那么则可以根据预先设置的该绑定关系检测到Type-1绑定的账户信息为M-01,也即可确定第一变更数据的数据类型存在绑定的账户信息。或者,如果区块链系统确定出第一变更数据的数据类型为Type-3,则根据预先设置的该绑定关系无法检测到与Type-3绑定的账户信息,也即可确定第一变更数据的数据类型不存在绑定的账户信息。
表1-1
数据类型 账户信息
Type-1 M-01
Type-2 M-02
在一个实施例中,区块链系统可以在接收到来自中心化系统的第一变更数据后,确定第一变更数据中是否存在有账户信息。进一步地,如果区块链系统在第一变更数据中识别到账户信息,则可以确定存在与第一变更数据相关联的账户信息;如果区块链系统在第一变更数据中未识别到账户信息,则可以确定不存在与第一变更数据相关联的账户信息。
S203:若区块链系统检测到存在与第一变更数据相关联的账户信息,则向账户信息对应的目标账户发出提示信息。该提示信息用于提示目标账户对应的数据已被变更。
在一个实施例中,区块链系统如果检测到存在与第一变更数据相关联的账户信息,则可以从账户信息中识别出目标账户,并向该目标账户发出提示信息,用于提示目标账户对应的数据已被变更,可以在数据发生变更时,通知所变更数据对应的目标账户,不仅有利于保证数据安全性,还有利于保证数据的真实性。在一个实施例中,该提示信息除了可以提示目标账号对应的数据已被更改以外,还可以提示目标账号第一变更数据对应的数据已被更改。例如,第一变更数据为企业A的销售金额,其具体金额为1万元,那么该提示信息则可以为“企业A的销售金额已被变更为1万元”。
在一个实施例中,区块链系统还可以获取目标账户相关联的联系方式,进而通过该联系方式向目标账户发出提示信息。其中,该联系方式例如可以为短信、邮件、聊天工具消息等。示例性地,若第一变更数据为4月份企业A的销售数据,区块链系统从与该第一变更数据关联的账号信息中识别出的目标账户包括:number-01和number-02。这种情况下,区块链系统可以向目标账户number-01和number-02发出提示信息,用于提示目标账户4月份企业A的销售数据已被变更。
本发明实施例中,区块链系统可以接收中心化系统发送的第一变更数据,将第一变更数据更新至区块链系统中包括的各个节点,并检测是否存在与第一变更数据相关联的账户信息,如果检测到存在与第一变更数据相关联的账户信息,则向账户信息对应的目标账户发出提示信息。采用本发明,一方面可以在不需要对传统数据系统做较大调整的情况下,实现数据基于区块链的分布式管理;另一方面还可以在数据发生变更时通知所变更数据对应的区块链目标账户,使得数据变更的消息及时有效的传达。
再参见图3,图3是本发明实施例提供的一种基于区块链的数据管理方法的流程示意图,该方法应用于信息处理系统,该信息处理系统包括中心化系统和区块链,如图所示,该数据管理方法可包括:
S301:区块链系统接收中心化系统发送的第一变更数据,并将第一变更数据更新至区块链系统中包括的各个节点。
S302:区块链系统检测是否存在与第一变更数据相关联的账户信息。
S303:若区块链系统检测到存在与变更数据相关联的账户信息,则向账户信息对应的目标账户发出提示信息。
其中,步骤S301~步骤S303的具体实现方式,可以参见上述实施例中步骤S201~步骤S203的相关描述,本发明在此不再赘述。
S304:区块链系统接收来自第一账户的携带有第二变更数据的数据变更请求,该数据变更请求用于请求根据第二变更数据对第一账户对应的数据进行变更。其中,该第一账户为至少一个区块链账户中的任一个。
在一个实施例中,第一账户需要对任一数据进行变更时,可以利用第一账户连接区块链系统中的任一节点,并通过该节点向区块链系统发布数据变更请求,该数据变更请求中携带有对任一数据的变更数据(即第二变更数据)。这种情况下,区块链系统可以在接收到该数据变更请求后,从数据变更请求中获取第二变更数据。
S305:区块链系统检测第二变更数据的数据类型。
S306:区块链系统根据预设的智能合约确定数据类型对应的目标信息处理策略,并对数据变更请求执行目标信息处理策略。
在一个实施例中,区块链系统可以预先建立预定义的各个数据类型与信息处理策略的对应关系,并根据对应关系生成上述智能合约。这种情况下,区块链系统检测出第二变更数据的数据类型后,可以在智能合约所指示的对应关系中确定出数据类型对应的目标信息处理策略,进而对该数据变更请求执行该目标信息处理策略。采用本发明,可以针对变更数据的数据类型,执行不同的目标信息处理策略,有利于提高对数据变更的处理效率。其中,上述预设的智能合约所指示的对应关系可以如表2-1所示。
表2-1
数据类型 信息处理策略
Type-1 Stra-01
Type-2 Stra-02
示例性地,预设的智能合约所指示的对应关系如表2-1所示,区块链系统 获取到第二变更数据后,检测到第二变更数据的数据类型为Type-1,则可以根据该智能合约确定出数据类型Type-1对应的目标信息处理策略为Stra-01,进而执行目标信息处理策略Stra-01。
需要说明的是,对于不同应用场景,本发明所描述的中心化系统、区块链系统、第二变更数据的数据类型以及信息处理策略均可以不同。示例性地,当应用场景为贷款系统时,本发明所描述的中心化系统可以为贷款平台,区块链系统可以为应用于贷款的区块链系统,第二变更数据的数据类型可以包括企业销售数据、企业贷款金额等。进一步地,与企业销售数据对应的目标信息处理策略,则可以为区块链系统将第二变更数据发送给与第二变更数据相关联的企业(以下简称相关企业),那么是否同意数据变更则由相关企业决定。或者,企业贷款金额对应的目标信息处理策略,则可以为区块链系统将第二变更数据发送给贷款平台,那么是否同意数据变更则由贷款平台决定。
其中,区块链系统可以预定义多种数据类型,不同的数据类型各自对应着不同的目标信息处理策略。示例性,本发明可以包括至少一种目标信息处理策略,具体可以包括第一目标信息处理策略、第二目标信息处理策略等。
在一个实施例中,上述预设的智能合约可以包括对第一账户对应数据进行变更的变更条件。这种情况下,区块链系统对数据变更请求执行的目标信息处理策略,可以为向关联账户发送数据变更请求,并获取关联账户针对数据变更请求的反馈信息,如果反馈信息满足变更条件,则根据第二变更数据对第一账户对应的数据进行变更。
其中,上述关联账户可以包括以下至少一种:与第二变更数据相关联的账户和与第一账户相关联的账户。具体地,与第二变更数据相关联的账户可以为预先与第二变更数据具有绑定关系的账户,也可以为在第二变更数据中提取到的账户,也即第二变更数据中包括该账户;与第一账户相关联的账户可以为预先与第一账户具有绑定关系的账户。本发明实施例中,该关联账户可以包含中心化系统的账户,也可以不包含中心化系统的账户,本方案对此不做具体限定。
在一个实施例中,上述反馈信息可以包括关联账户允许数据变更请求的账户数量。在一个实施例中,区块链系统获取到关联账户针对数据变更请求的反馈信息之后,可以对反馈信息进行解析,以确定关联账户允许数据变更请求的 账户数量,在账户数量大于或者等于预设数量阈值时,则确定反馈信息满足变更条件。
在一个实施例中,上述反馈信息还可以包括关联账户允许数据变更请求的百分比。在一个实施例中,区块链系统获取到关联账户针对数据变更请求的反馈信息之后,可以对反馈信息进行解析,以确定关联账户允许数据变更请求的百分比,在百分比大于或者等于预设百分比阈值时,则确定反馈信息满足变更条件。例如,预设百分比阈值为95%,区块链系统对反馈信息进行解析,确定出关联账户允许数据变更请求的百分比为96%,那么则可以确定该反馈信息满足变更条件。
示例性地,如果上述方法应用于保险系统,区块链系统可以应用于该保险系统,来自第一账号的第二变更数据为张三意外险的赔偿金额,具体数额为10万,对第一账号对应数据进行变更的变更条件(即智能合约中包括的变更条件)为允许数据变更请求的账户数量达到5个,关联账户包括number-01、number-02、number-03、number-04、number-05以及number-06。这种情况下,区块链系统可以向number-01、number-02、number-03、number-04、number-05以及number-06发送关于第二变更数据的数据变更请求,各相关账号接收到该数据变更请求后,会发出是否允许该数据变更请求的指示信息,区块链系统统计这些指示信息,确定出这6个关联账户中允许数据变更请求的账户数量达到6个(即反馈信息),经过判断允许数据变更请求的账户数量大于5,则可以确定反馈信息满足变更条件,进而根据第二变更数据将张三意外险的赔偿金额变更为10万。
在一个实施例中,区块链系统对数据变更请求执行的目标信息处理策略,还可以为向中心化系统发送上述数据变更请求,该数据变更请求用于指示中心化系统在对数据变更请求验证通过后,发出验证通过的响应信息。进一步地,区块链系统可以接收响应信息,并在接收到该响应信息后根据第二变更数据对第一账户对应的数据进行变更。
在一个实施中,区块链系统可以向中心化系统发送来自第一账号的携带有第二数据变更的数据变更请求,中心化系统接收到该数据变更请求后,可以对该数据变更请求进行验证,并在对该数据变更请求验证通过的情况下,向区块 链系统发出验证通过的响应信息,以使得区块链系统接收到该响应信息后,根据第二变更数据对第一账户对应的数据进行变更。
例如,中心化平台为贷款平台,来自第一账户的数据变更请求携带的第二变更数据为企业XYD的贷款金额,其具体数额为2万元。这种情况下,当第一账户的用户想要将企业XYD的贷款金额变更为2万元时,可以通过区块链系统向贷款平台发送数据变更请求,该数据变更请求中携带有第二变更数据,用于请求将企业XYD的贷款金额变更为2万元。进一步地,贷款平台接收到该数据变更请求后,对该数据变更请求进行验证,如果同意将企业XYD的贷款金额变更为2万元,则确定对该数据变更请求验证通过,向区块链系统发出验证通过的响应信息,区块链接收到该响应信息后,则根据第二变更数据将企业XYD的贷款金额变更为2万元。
本发明实施例中,区块链系统可以接收中心化系统发送的第一变更数据,并将第一变更数据更新至所述区块链系统中包括的各个节点并检测是否存在与第一变更数据相关联的账户信息,如果检测到存在与第一变更数据相关联的账户信息,则向账户信息对应的目标账户发出提示信息。进一步地,区块链系统还可以接收来自第一账户的携带有第二变更数据的数据变更请求,并检测第二变更数据的数据类型,进而根据预设的智能合约确定数据类型对应的目标信息处理策略,并对数据变更请求执行目标信息处理策略。采用本发明,一方面可以在不需要对传统数据系统做较大调整的情况下,实现数据基于区块链且结合智能合约的分布式管理;另一方面还可以保留传统数据系统的中心化管理的特权,从而更加满足行业实际需求;又一方面还可以在数据发生变更时通知所变更数据对应的区块链目标账户,使得数据更新的消息及时有效的传达。
本发明实施例还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有程序指令,该程序指令被执行时,用于实现上述实施例中描述的相应方法。
再请参见图4,是本发明实施例的一种基于区块链的数据管理装置的结构示意图,该装置包括用于执行前述如图2或者图3所述的方法的模块。具体地,本实施例的装置包括:收发模块40以及检测模块41,其中:
收发模块40,用于接收所述中心化系统发送的第一变更数据,并将所述第一变更数据更新至所述区块链系统中包括的各个节点;
检测模块41,用于检测是否存在与所述第一变更数据相关联的账户信息;
所述收发模块40,还用于若检测模块检测到存在与所述变更数据相关联的账户信息,则向所述账户信息对应的目标账户发出提示信息,所述提示信息用于提示所述目标账户对应的数据已被变更。
可选地,所述装置还包括:确定模块42和执行模块43,其中:
收发模块40,还用于接收来自第一账户的携带有第二变更数据的数据变更请求,所述数据变更请求用于请求根据所述第二变更数据对所述第一账户对应的数据进行变更,所述第一账户为至少一个区块链账户中的任一个;
检测模块41,还用于检测所述第二变更数据的数据类型;
确定模块42,用于根据预设的智能合约确定所述数据类型对应的目标信息处理策略;
执行模块43,用于对所述数据变更请求执行所述确定模块42确定出的目标信息处理策略。
可选地,所述智能合约包括对所述第一账户对应的数据进行变更的变更条件,所述执行模块43,具体用于:通过所述区块链向关联账户发送所述数据变更请求,所述关联账户包括以下至少一种:与所述第二变更数据相关联的账户和与所述第一账户相关联的账户;获取所述关联账户针对所述数据变更请求的反馈信息;若所述反馈信息满足所述变更条件,则根据所述第二变更数据对所述第一账户对应的数据进行变更。
可选地,所述执行模块43,还具体用于:向所述中心化系统发送所述数据变更请求,所述数据变更请求用于指示所述中心化系统在对所述数据变更请求验证通过后,发出验证通过的响应信息;接收所述响应信息,并根据所述第二变更数据对所述第一账户对应的数据进行变更。
可选地,所述装置还包括:
建立模块44,用于建立预定义的各个数据类型与信息处理策略的对应关系;
生成模块45,用于根据所述对应关系生成所述智能合约。
可选地,所述检测模块41,具体用于确定所述第一变更数据的数据类型,检测所述数据类型是否绑定有账户信息;或者,确定所述第一变更数据中是否存在有账户信息。
可选地,所述装置还包括:解析模块46,其中:
解析模块46,用于对所述反馈信息进行解析,以触发确定模块42确定所述关联账户允许所述数据变更请求的账户数量,并在所述账户数量大于或者等于预设数量阈值时,确定所述反馈信息满足所述变更条件。
需要说明的是,本发明实施例所描述的基于区块链的数据管理装置的各功能模块的功能可根据图2或者图3所述的方法实施例中的方法具体实现,其具体实现过程可以参照图2或者图3的方法实施例的相关描述,此处不再赘述。
本发明实施例中,收发模块40可以接收中心化系统发送的第一变更数据,并将第一变更数据更新至区块链系统中包括的各个节点,检测模块41可以检测是否存在与变更数据相关联的账户信息,如果收发模块40通过检测模块41检测到存在与变更数据相关联的账户信息,则向账户信息对应的目标账户发出提示信息。采用本发明,一方面可以在不需要对传统数据系统做较大调整的情况下,实现数据基于区块链的分布式管理;另一方面还可以在数据发生变更时通知所变更数据对应的区块链目标账户,使得数据变更的消息及时有效的传达。
再请参加图5,是本发明实施例的一种区块链系统的结构示意图,该数据管理设备包括处理装置501、存储装置502以及通信装置503。所述处理装置501、存储装置502以及通信装置503之间可以交互数据,由处理装置501实现相应的信息处理功能。
所述存储装置502可以包括易失性存储器(volatile memory),例如随机存取存储器(random-access memory,RAM);存储装置502也可以包括非易失 性存储器(non-volatile memory),例如快闪存储器(flash memory),固态硬盘(solid-state drive,SSD)等;所述存储装置502还可以包括上述种类的存储器的组合。
所述通信装置503可以与区块链系统中的其他通信装置或者中心化系统之间进行交互数据。
所述处理装置501可以是中央处理器(central processing unit,CPU),所述处理装置501也可以是由CPU和GPU的组合。在所述区块链系统中,可以根据需要包括多个CPU和GPU进行相应的信息处理。在一个实施例中,所述存储装置502用于存储程序指令。所述处理装置501可以调用所述程序指令执行:通过通信装置503接收中心化系统发送的第一变更数据,并将所述第一变更数据更新至所述区块链系统中包括的各个节点;检测是否存在与所述第一变更数据相关联的账户信息;若存在,则向所述账户信息对应的目标账户发出提示信息,所述提示信息用于提示所述目标账户对应的数据已被变更。
可选地,所述处理装置501,用于通过通信装置503接收来自第一账户的携带有第二变更数的数据变更请求,所述数据变更请求用于请求根据所述第二变更数据对所述第一账户对应的数据进行变更,所述第一账户为至少一个区块链账户中的任一个;检测所述第二变更数据的数据类型;根据预设的智能合约确定所述数据类型对应的目标信息处理策略,并对数据变更请求执行所述目标信息处理策略。
可选地,所述智能合约包括对所述第一账户对应的数据进行变更的变更条件,所述处理装置501,用于通过通信装置503向区块链中的关联账户发送所述数据变更请求,所述关联账户包括以下至少一种:与所述第二变更数据相关联的账户和与所述第一账户相关联的账户;获取所述关联账户针对所述数据变更请求的反馈信息;若所述反馈信息满足所述变更条件,则根据所述第二变更数据对所述第一账户对应的数据进行变更。
可选地,所述处理装置501,用于通过通信装置503向所述中心化系统发送所述数据变更请求,所述数据变更请求用于指示所述中心化系统在对所述数据变更请求验证通过后,发出验证通过的响应信息;接收所述响应信息,并根据所述第二变更数据对所述第一账户对应的数据进行变更。
可选地,所述处理装置501,用于建立预定义的各个数据类型与信息处理策略的对应关系;根据所述对应关系生成所述智能合约。
可选地,所述处理装置501,用于确定所述第一变更数据的数据类型,检测所述数据类型是否绑定有账户信息;或者,确定所述第一变更数据中是否存在有账户信息。
可选地,所述处理装置501,用于对所述反馈信息进行解析,以确定所述关联账户允许所述数据变更请求的账户数量;在所述账户数量大于或者等于预设数量阈值时,则确定所述反馈信息满足所述变更条件。
需要说明的是,在本发明实施例中,所述处理装置501的具体实现可参考前述各个附图所对应的实施例中相关内容的描述。
本领域普通技术人员可以理解实现上述实施例方法中的全部或部分流程,是可以通过计算机程序来指令相关的硬件来完成,所述的程序可存储于一计算机可读取存储介质中,该程序在执行时,可包括如上述各方法的实施例的流程。其中,所述的存储介质可为磁碟、光盘、只读存储记忆体(Read-Only Memory,ROM)或随机存储记忆体(Random Access Memory,RAM)等。
以上所揭露的仅为本发明较佳实施例而已,当然不能以此来限定本发明之权利范围,因此依本发明权利要求所作的等同变化,仍属本发明所涵盖的范围。

Claims (11)

  1. 一种基于区块链的数据管理方法,其特征在于,应用于信息处理系统,所述信息处理系统包括中心化系统和区块链系统,所述方法包括:
    所述区块链系统接收所述中心化系统发送的第一变更数据,并将所述第一变更数据更新至所述区块链系统中包括的各个节点;
    所述区块链系统检测是否存在与所述第一变更数据相关联的账户信息;
    若所述区块链系统检测到存在与所述第一变更数据相关联的账户信息,则向所述账户信息对应的目标账户发出提示信息,所述提示信息用于提示所述目标账户对应的数据已被变更。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述区块链系统接收来自第一账户的携带有第二变更数据的数据变更请求,所述数据变更请求用于请求根据所述第二变更数据对所述第一账户对应的数据进行变更,所述第一账户为至少一个区块链账户中的任一个;
    所述区块链系统检测所述第二变更数据的数据类型;
    所述区块链系统根据预设的智能合约确定所述数据类型对应的目标信息处理策略,并对所述数据变更请求执行所述目标信息处理策略。
  3. 根据权利要求2所述的方法,其特征在于,所述智能合约包括对所述第一账户对应的数据进行变更的变更条件,所述区块链系统对所述数据变更请求执行所述目标信息处理策略,包括:
    所述区块链系统向关联账户发送所述数据变更请求,所述关联账户包括以下至少一种:与所述第二变更数据相关联的账户和与所述第一账户相关联的账户;
    所述区块链系统获取所述关联账户针对所述数据变更请求的反馈信息;
    若所述区块链系统确定所述反馈信息满足所述变更条件,则根据所述第二变更数据对所述第一账户对应的数据进行变更。
  4. 根据权利要求2所述的方法,其特征在于,所述区块链系统对所述数据变更请求执行所述目标信息处理策略,包括:
    所述区块链系统向所述中心化系统发送所述数据变更请求,所述数据变更请求用于指示所述中心化系统在对所述数据变更请求验证通过后,发出验证通过的响应信息;
    所述区块链系统接收所述响应信息,并根据所述第二变更数据对所述第一账户对应的数据进行变更。
  5. 根据权利要求2-4任一项所述的方法,其特征在于,所述方法还包括:
    所述区块链系统建立预定义的各个数据类型与信息处理策略的对应关系;
    所述区块链系统根据所述对应关系生成所述智能合约。
  6. 根据权利要求1所述的方法,其特征在于,所述区块链系统检测是否存在与所述第一变更数据相关联的账户信息,包括:
    所述区块链系统确定所述第一变更数据的数据类型,检测所述数据类型是否绑定有账户信息;或者,
    所述区块链系统确定所述第一变更数据中是否存在有账户信息。
  7. 根据权利要求3所述的方法,其特征在于,所述区块链系统获取所述关联账户针对所述数据变更请求的反馈信息之后,所述方法还包括:
    所述区块链系统对所述反馈信息进行解析,以确定所述关联账户允许所述数据变更请求的账户数量;
    所述区块链系统在所述账户数量大于或者等于预设数量阈值时,则确定所述反馈信息满足所述变更条件。
  8. 一种基于区块链的数据管理装置,其特征在于,应用于信息处理系统,所述信息处理系统包括中心化系统和区块链系统,所述装置包括:
    收发模块,用于接收所述中心化系统发送的第一变更数据,并将所述第一变更数据更新至所述区块链系统中包括的各个节点;
    检测模块,用于检测是否存在与所述第一变更数据相关联的账户信息;
    所述收发模块,还用于若检测模块检测到存在与所述第一变更数据相关联的账户信息,则向所述账户信息对应的目标账户发出提示信息,所述提示信息用于提示所述目标账户对应的数据已被变更。
  9. 一种区块链系统,其特征在于,包括处理装置和存储装置,所述处理装置和所述存储装置相互连接,其中,所述存储装置用于存储计算机程序,所述计算机程序包括程序指令,所述处理装置被配置用于调用所述程序指令,执行如权利要求1-7任一项所述的方法。
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质存储有计算机程序,所述计算机程序包括程序指令,所述程序指令当被处理器执行时使所述处理器执行如权利要求1-7任一项所述的方法。
  11. 一种信息处理系统,其特征在于,包括:
    中心化系统,用于向区块链系统发送第一变更数据;
    所述区块链系统,用于接收所述中心化系统发送的所述第一变更数据,并将所述第一变更数据更新至所述区块链系统中包括的各个节点,在检测到存在与所述第一变更数据相关联的账户信息时,向所述账户信息对应的目标账户发出提示信息,所述提示信息用于提示所述目标账户对应的数据已被变更。
PCT/CN2018/084465 2018-04-25 2018-04-25 一种基于区块链的数据管理方法及相关系统 WO2019205023A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201880063527.5A CN111194441B (zh) 2018-04-25 2018-04-25 一种基于区块链的数据管理方法及相关系统
PCT/CN2018/084465 WO2019205023A1 (zh) 2018-04-25 2018-04-25 一种基于区块链的数据管理方法及相关系统
US16/978,182 US20210042295A1 (en) 2018-04-25 2018-04-25 Blockchain-based data management method and related system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/084465 WO2019205023A1 (zh) 2018-04-25 2018-04-25 一种基于区块链的数据管理方法及相关系统

Publications (1)

Publication Number Publication Date
WO2019205023A1 true WO2019205023A1 (zh) 2019-10-31

Family

ID=68293829

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/084465 WO2019205023A1 (zh) 2018-04-25 2018-04-25 一种基于区块链的数据管理方法及相关系统

Country Status (3)

Country Link
US (1) US20210042295A1 (zh)
CN (1) CN111194441B (zh)
WO (1) WO2019205023A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117172913B (zh) * 2023-10-12 2024-02-13 广州保德来小额贷款有限公司 一种基于智能合约的合约变更手续执行方法及系统

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733966A (zh) * 2017-06-14 2018-02-23 广东网金控股股份有限公司 一种区块链系统与传统中心化it系统的连接装置
CN107846282A (zh) * 2017-11-03 2018-03-27 法信公证云(厦门)科技有限公司 一种基于区块链技术的电子数据分布式保管方法及系统
CN107943833A (zh) * 2017-10-25 2018-04-20 华南农业大学 一种基于区块链的无中心分布式文件存储及检索方法

Family Cites Families (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150178725A1 (en) * 2013-12-23 2015-06-25 Nicholas Poetsch Transaction authorization control and account linking involving multiple and singular accounts or users
TWI707286B (zh) * 2015-08-21 2020-10-11 新加坡商萬事達卡亞洲/太平洋私人有限公司 修改交易憑證的方法及系統,伺服器及非暫時性計算機可讀取媒體
WO2017112664A1 (en) * 2015-12-21 2017-06-29 Kochava Inc. Self regulating transaction system and methods therefor
US11176584B2 (en) * 2016-08-03 2021-11-16 Raise Marketplace, Llc Cross-brand redemption in an exchange item marketplace network
US10417217B2 (en) * 2016-08-05 2019-09-17 Chicago Mercantile Exchange Inc. Systems and methods for blockchain rule synchronization
US10832247B2 (en) * 2016-09-15 2020-11-10 American Express Travel Related Services Company, Inc. Systems and methods for blockchain based payment networks
US10361853B2 (en) * 2016-10-12 2019-07-23 Bank Of America Corporation Automated data authentication and service authorization via cryptographic keys in a private blockchain
CN106779708B (zh) * 2016-12-23 2021-02-02 中钞信用卡产业发展有限公司杭州区块链技术研究院 基于智能合约的区块链上参与方身份管理方法及系统
WO2018120121A1 (zh) * 2016-12-30 2018-07-05 深圳前海达闼云端智能科技有限公司 区块链权限控制方法、装置及节点设备
US20200394652A1 (en) * 2017-03-08 2020-12-17 Ip Oversight Corporation A method for creating commodity assets from unrefined commodity reserves utilizing blockchain and distributed ledger technology
CN106973099B (zh) * 2017-03-28 2019-08-06 Oppo广东移动通信有限公司 一种数据更新方法、装置及系统
US11979390B2 (en) * 2017-09-20 2024-05-07 Swoop Ip Holdings Llc Email-based authentication for account login, account creation and security for passwordless transactions
CN107888382B (zh) * 2017-11-24 2019-11-19 中钞信用卡产业发展有限公司杭州区块链技术研究院 一种基于区块链的数字身份验证的方法、装置和系统
US11057366B2 (en) * 2018-08-21 2021-07-06 HYPR Corp. Federated identity management with decentralized computing platforms
EP3559885B1 (en) * 2018-12-19 2022-08-24 Advanced New Technologies Co., Ltd. Data isolation in a blockchain network
US11410168B2 (en) * 2019-04-03 2022-08-09 Acronis International Gmbh Method for user management for blockchain-based operations

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107733966A (zh) * 2017-06-14 2018-02-23 广东网金控股股份有限公司 一种区块链系统与传统中心化it系统的连接装置
CN107943833A (zh) * 2017-10-25 2018-04-20 华南农业大学 一种基于区块链的无中心分布式文件存储及检索方法
CN107846282A (zh) * 2017-11-03 2018-03-27 法信公证云(厦门)科技有限公司 一种基于区块链技术的电子数据分布式保管方法及系统

Also Published As

Publication number Publication date
CN111194441B (zh) 2023-10-10
CN111194441A (zh) 2020-05-22
US20210042295A1 (en) 2021-02-11

Similar Documents

Publication Publication Date Title
CN108415784B (zh) 跨区块链的交互方法及装置、系统、电子设备
WO2020125299A1 (zh) 一种基于区块链的数据处理方法和装置
WO2020134738A1 (zh) 聚合支付的后台架构方法、系统、计算机设备及存储介质
US11270388B2 (en) Blockchain-based data processing method and apparatus
CN110135966B (zh) 授信额度管理方法与系统
WO2020078095A1 (zh) 数字资产的发行和转让、在线融资的实现方法和装置
WO2023207146A1 (zh) Esop系统的服务模拟方法、装置、设备及存储介质
CN111144883A (zh) 一种区块链网络的处理性能分析方法及装置
CN110096511B (zh) 基于私有链的数据一致性验证方法、装置、设备及介质
CN111506932A (zh) 一种区块链算力上链实现方法
CN112612856A (zh) 基于区块链的数据处理方法和装置
CN110955724A (zh) 基于区块链的数据处理方法、装置、节点设备及存储介质
CN114219342A (zh) 一种基于非同质化通证的碳资产管理方法及装置
WO2019205023A1 (zh) 一种基于区块链的数据管理方法及相关系统
WO2024077780A1 (zh) 交易账户的数据管理方法、装置、电子设备及存储介质
WO2015192796A1 (zh) 基于可信服务管理平台的应用自动发布方法及系统
CN111667255A (zh) 基于联盟链的数字资产流转系统及方法
WO2022166557A1 (zh) 基于区块链的仓单处理方法及仓单处理系统
CN112837043B (zh) 基于区块链的数据处理方法、装置及电子设备
US20230106705A1 (en) System and method for real-time processing of resource transfers
US20130191265A1 (en) Cloud-based system for performing online trading
US10771242B2 (en) Blockchain-based data processing
CN114581099A (zh) 基于区块链的数据协同方法、装置、设备及存储介质
CN113987598A (zh) 区块的迁移方法和装置
CN111178710B (zh) 一种基于区块链的履约能力认证系统及方法

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18916278

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18916278

Country of ref document: EP

Kind code of ref document: A1