Business processing system and method based on blockchain

Through the application of blockchain technology, automatic tampering detection and information privacy protection of electronic contracts are realized, solving the problems of low efficiency and difficulty in privacy protection in the existing technology, and improving the stability and reliability of the contract.

CN112967160BActive Publication Date: 2024-10-15ADVANCED NEW TECHNOLOGIES CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202110466505.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-06-03
Publication Date
2024-10-15
Estimated Expiration
2039-06-03

AI Technical Summary

Technical Problem

In the existing technology, electronic contract tampering detection lacks automated means, is inefficient and costly, and information privacy protection is difficult to achieve.

Method used

Adopting a business processing system based on the blockchain, through the collaboration between the client, the server and the blockchain node, the hash operation and asymmetric encryption algorithm are used to deposit and verify the target file to achieve the decentralization of electronic contracts. storage and public transparency.

Benefits of technology

It improves the information stability and reliability of electronic contracts, provides an automated tampering detection mechanism, and ensures the privacy protection of information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112967160B_ABST
    Figure CN112967160B_ABST
Patent Text Reader

Abstract

The present specification provides a blockchain-based business processing system and method, wherein the blockchain-based business processing system includes: a requesting client, a server, and at least two blockchain nodes on a blockchain; the requesting client is configured to send a target file query request to the server; the server is configured to receive the target file query request, obtain the target file and receive the user to perform a target file query, send a prompt message to the user whether to upload the target file to the blockchain node, and if the user's target file upload request is received, upload the target file to the blockchain node; the blockchain node is configured to receive the target file, store the target file and return a corresponding evidence hash value to the requesting client.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This specification relates to the field of blockchain technology, and in particular to a business processing system based on blockchain. This specification also relates to a business processing method and device based on blockchain, an electronic device, and a computer-readable storage medium. Background Art

[0002] With the development of the economy, more and more financial products have emerged. For existing financial management projects, the overall structure is complex due to the diverse supply relationships between suppliers and demanders.

[0003] The traditional method is to sign a paper business contract between two parties in a business relationship to protect their business relationship. With the development of the Internet, the new contract technology - electronic contracts are gradually being promoted and used. Electronic contracts can improve production efficiency and security, shorten contract transaction time, reduce contract error rate, reduce contract risks, etc.

[0004] However, there are still some drawbacks in the existing technology. For example, users currently lack effective means to verify whether the electronic contract has been tampered with. Vice versa, if a financial institution wants to prove that it has not modified the information of an electronic contract, it needs to notarize the information of the electronic contract in advance. The current way of providing evidence is mainly manual process, such as notarization by a notary office, which lacks automation means, is inefficient, costly, and has a long cycle. In addition, the information involved in the electronic contract is difficult to obtain comprehensive privacy protection. Summary of the invention

[0005] In view of this, the embodiments of this specification provide a business processing system based on blockchain. This specification also relates to a business processing method and device based on blockchain, an electronic device, and a computer-readable storage medium to solve the technical defects existing in the prior art.

[0006] According to a first aspect of an embodiment of this specification, a blockchain-based business processing system is provided, including:

[0007] Request the client, server, and at least two blockchain nodes on the blockchain;

[0008] The requesting client is configured to send a target file query request to the server, wherein the target file query request carries the user's identity information and the target file identification information;

[0009] The server is configured to receive the target file query request, obtain the target file and receive the target file query from the user, send a prompt message to the user whether to upload the target file to the blockchain node, and if the target file upload request from the user is received, upload the target file to the blockchain node;

[0010] The blockchain node is configured to receive the target file, store the target file and return a corresponding evidence hash value to the requesting client.

[0011] Optionally, the server is further configured as:

[0012] Perform a hash operation on the target file according to a preset algorithm to generate a corresponding digital summary; use an asymmetric encryption algorithm to perform a private key signature on the digital summary to generate a corresponding digital signature, and upload the public key, target file and the digital signature to the blockchain node;

[0013] The blockchain node is also configured to: receive the public key, the target file and the digital signature, and verify the validity of the target file based on the public key and the digital signature; when the validity verification of the target file is successful, store the digital summary generated by hashing the target file according to a preset algorithm and return the corresponding evidence hash value to the server.

[0014] Optionally, the server is further configured as:

[0015] A target file query page is provided for the user, and a prompt box is set on the target file query page to indicate whether to upload the target file to the blockchain node. The prompt box is provided with option buttons for the user to click, and the user's selection result is detected. If the user's selection result is to confirm the upload, the target file is uploaded to the blockchain node.

[0016] Optionally, the requesting client is further configured to: send a target file summary information query request to the blockchain node, wherein the target file summary information query request carries a stored hash value;

[0017] The blockchain node is further configured to receive the target file summary information query request, obtain the file summary information of the target file and the download address of the target file according to the stored hash value, and send the target file summary information and the download address of the target file to the requesting client;

[0018] The requesting client is further configured to receive the target file summary information and the download address of the target file, and download the target file according to the download address of the target file.

[0019] Optionally, the blockchain node is further configured to:

[0020] The digital signature is decrypted using the public key to generate a first digital summary, and a hash operation is performed on the target file according to a preset algorithm to generate a corresponding second digital summary; the first digital summary is compared with the second digital summary to see if they are consistent; if so, the validity verification of the target file is successful; if not, a prompt message indicating verification failure is sent to the server.

[0021] Optionally, the requesting client is further configured to: send a target file summary information query request to the server, wherein the target file summary information query request carries target file identification information;

[0022] The server is further configured to receive the target file summary information query request, determine whether there is a corresponding evidence hash value according to the target file identification information, and if so, send the evidence hash value to the requesting client;

[0023] The requesting client is also configured to receive the stored hash value.

[0024] Optionally, the server is further configured as:

[0025] If the result of determining whether a corresponding evidence hash value exists based on the target file identification information is that it does not exist, a prompt message is sent to the requesting client that the information is being uploaded to the blockchain node.

[0026] Optionally, the blockchain node is further configured to:

[0027] When the validity verification of the target file is successful, the call result of successfully receiving the digital summary of the target file is returned to the server and the requesting client respectively; after the digital summary of the target file is stored, the corresponding evidence hash value is returned to the server.

[0028] Optionally, the requesting client is further configured to:

[0029] Receiving a protocol signing transaction initiated by the server; wherein the protocol signing transaction is used to trigger an electronic signature operation on a target file transfer protocol; in response to the protocol signing transaction, performing an electronic signature operation, and sending the signed target file transfer protocol to the server;

[0030] The server is also configured to receive the signed target file transfer protocol sent by the requesting client, and send the target file transfer protocol, the target file, and the digital signature generated by the hash algorithm of the target file to the blockchain node.

[0031] Optionally, the blockchain-based business processing system further includes: a first business terminal and a second business terminal;

[0032] The first service end is configured to upload the file template to the service end;

[0033] The server is further configured to receive the file template and send a prompt message to the second service end asking whether to upload the file template to the blockchain node, wherein the prompt message carries the file template identification information;

[0034] The second service end is configured to receive the prompt information, determine a selection result based on the prompt information, and send information carrying the selection result to the service end;

[0035] The server is further configured to receive information carrying the selection result sent by the second service end, and if the selection result carried in the information is confirmation of upload, send the file template to the blockchain node;

[0036] The blockchain node is further configured to receive the file template, store the file template and return a hash value of successful chain writing, and send the hash value to the server;

[0037] The server is configured to receive the hash value and save the hash value in a database.

[0038] Optionally, the requesting client is further configured to send a project joining request to the server, wherein the project joining request carries user identity information and project identification information;

[0039] The server is further configured to receive the project joining request, determine the file template and project details associated with the project according to the project identification information; generate a first target file related to the project according to the project details, the user's identity information and the file template, and initiate a file signing transaction to the requesting client; wherein the file signing transaction is used to trigger an electronic signature on the first target file;

[0040] The requesting client is further configured to receive a file signing transaction initiated by the server, and in response to the file signing transaction, perform an electronic signature operation on the first target file, and send the signed second target file to the server;

[0041] The server is further configured to: receive the second target file, and perform an authentication and signing operation on the second target file based on the certification authority certificate.

[0042] According to another aspect of the embodiments of this specification, a blockchain-based business processing method is provided, including:

[0043] Receiving a target file query request, wherein the target file query request carries user identity information and target file identification information;

[0044] Acquire the target file according to the identity information of the user and the target file identification information and receive the user to query the target file;

[0045] Sending a prompt message to the user whether to upload the target file to the blockchain node;

[0046] If a target file upload request from the user is received, the target file is uploaded to the blockchain node.

[0047] Optionally, uploading the target file to the blockchain node includes:

[0048] A hash operation is performed on the target file according to a preset algorithm to generate a corresponding digital summary; an asymmetric encryption algorithm is used to private key sign the digital summary to generate a corresponding digital signature, and the public key, the digital signature and the target file are uploaded to the blockchain node.

[0049] Optionally, after uploading the target file to the blockchain node, the method further includes:

[0050] Receive the evidence hash value returned by the blockchain node.

[0051] Optionally, the prompt information sent to the user on whether to upload the target file to the blockchain node includes:

[0052] Providing a target file query page for the user, setting a prompt box on the target file query page for whether to upload the target file to the blockchain node, and setting an option button for the user to click;

[0053] Detecting the selection result of the user;

[0054] If a target file upload request from the user is received, uploading the target file to the blockchain node includes:

[0055] If the user's selection result is to confirm the upload, the target file is uploaded to the blockchain node.

[0056] Optionally, after uploading the target file to the blockchain node, the method further includes:

[0057] Receive the target file summary information query request, and determine whether there is a corresponding stored hash value according to the target file identification information;

[0058] If it exists, sending the stored hash value to the requesting client;

[0059] If it does not exist, a prompt message is sent to the requesting client indicating that the information is being uploaded to the blockchain node.

[0060] Optionally, if a target file upload request from the user is received, uploading the target file to the blockchain node includes:

[0061] If a target file upload request from the user is received, an agreement signing transaction is initiated to the user; wherein the agreement signing transaction is used to trigger an electronic signature operation on the target file transfer protocol;

[0062] Receive the signed target file transfer protocol sent by the user, and send the target file transfer protocol, the target file, and the digital signature generated by the hash algorithm for the target file to the blockchain node.

[0063] Optionally, before receiving the target file query request, the method further includes:

[0064] receiving a file template, and sending a prompt message to the second service end asking whether to upload the file template to the blockchain node, wherein the prompt message carries the file template identification information;

[0065] receiving information carrying the selection result sent by the second service end, and when the selection result carried in the information is confirmation of upload, sending the file template to the blockchain node;

[0066] Receive the hash value of the file template successfully written to the chain returned by the blockchain node and save the hash value in the database.

[0067] According to another aspect of the embodiment of this specification, a blockchain-based business processing device is provided, including:

[0068] A file query request receiving module, configured to receive a target file query request, wherein the target file query request carries the user's identity information and the target file identification information;

[0069] A target file query module is configured to obtain the target file according to the identity information of the user and the target file identification information and receive the target file query from the user;

[0070] A prompt information sending module is configured to send a prompt information to the user whether to upload the target file to the blockchain node;

[0071] The target file transmission module is configured to upload the target file to the blockchain node upon receiving a target file upload request from the user.

[0072] According to another aspect of an embodiment of this specification, an electronic device is provided, including a memory, a processor, and computer instructions stored in the memory and executable on the processor, wherein the processor implements the steps of the blockchain-based business processing method when executing the instructions.

[0073] According to another aspect of an embodiment of this specification, a computer-readable storage medium is provided, which stores computer instructions, and when the instructions are executed by a processor, the steps of the blockchain-based business processing method are implemented.

[0074] In the embodiments of the present specification, a target file query request is sent by requesting a client to a server, wherein the target file query request carries the user's identity information and the target file identification information; the server receives the target file query request, obtains the target file and receives the user's target file query, and sends a prompt message to the user whether to upload the target file to the blockchain node; if the target file upload request of the user is received, the target file is uploaded to the blockchain node; the blockchain node receives the target file, stores the target file and returns the corresponding evidence hash value to the requesting client.

[0075] In the embodiments of this specification, by uploading the target file to the blockchain node, utilizing the decentralization, openness and transparency of blockchain technology, each node in the blockchain can participate in information recording, and the rights and obligations of any node are equal. Once the information is verified and added to the blockchain, it will be permanently stored. Modifications to the database on a single node are invalid. Therefore, the use of blockchain technology can effectively improve the stability and reliability of information in the target file. BRIEF DESCRIPTION OF THE DRAWINGS

[0076] Figure 1 is a schematic diagram of a blockchain-based business processing system provided in an embodiment of the present application;

[0077] Figure 2 This is a flowchart of a blockchain-based business processing method provided in an embodiment of the present application;

[0078] Figure 3 This is a schematic diagram of a policy information query page during the implementation of the blockchain-based business processing method provided in an embodiment of the present application;

[0079] Figure 4 This is a schematic diagram of a target file summary information query page during the implementation of the blockchain-based business processing method provided in an embodiment of the present application;

[0080] Figure 5 This is an interactive schematic diagram of a blockchain-based business processing method provided in an embodiment of the present application;

[0081] Figure 6 It is a schematic diagram of the structure of a blockchain-based business processing device provided in an embodiment of the present application;

[0082] Figure 7 It is a structural block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0083] Many specific details are described in the following description to facilitate a full understanding of the present application. However, the present application can be implemented in many other ways than those described herein, and those skilled in the art can make similar generalizations without violating the connotation of the present application, so the present application is not limited by the specific implementation disclosed below.

[0084] The terms used in one or more embodiments of this specification are only for the purpose of describing specific embodiments, and are not intended to limit one or more embodiments of this specification. The singular forms of "a", "said" and "the" used in one or more embodiments of this specification and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings. It should also be understood that the term "and / or" used in one or more embodiments of this specification refers to and includes any or all possible combinations of one or more associated listed items.

[0085] It should be understood that although the terms first, second, etc. may be used to describe various information in one or more embodiments of this specification, this information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of one or more embodiments of this specification, the first may also be referred to as the second, and similarly, the second may also be referred to as the first. Depending on the context, the word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining".

[0086] First, the terms involved in one or more embodiments of the present invention are explained.

[0087] E-commerce Certification Authority: referred to as CA, it is an authoritative organization responsible for issuing and managing digital certificates. As a trusted third party in e-commerce transactions, it is responsible for verifying the legitimacy of public keys in the public key system.

[0088] The embodiments of this specification provide a business processing system based on blockchain. This specification also relates to a business processing method and device based on blockchain, an electronic device, and a computer-readable storage medium, which are described in detail one by one in the following embodiments.

[0089] Figure 1 A schematic diagram of a blockchain-based business processing system according to an embodiment of this specification is shown, including:

[0090] The requesting client 102, the server 104 and at least two blockchain nodes 106 on the blockchain.

[0091] The request client 102 is configured to send a target file query request to the server, wherein the target file query request carries the user's identity information and the target file identification information;

[0092] The server 104 is configured to receive the target file query request, obtain the target file and receive the target file query from the user, send a prompt message to the user whether to upload the target file to the blockchain node, and if the target file upload request from the user is received, upload the target file to the blockchain node;

[0093] The blockchain node 106 is configured to receive the target file, store the target file and return a corresponding hash value to the requesting client.

[0094] In one embodiment provided in this specification, the server is further configured to: perform a hash operation on the target file according to a preset algorithm to generate a corresponding digital summary; use an asymmetric encryption algorithm to perform a private key signature on the digital summary to generate a corresponding digital signature, and upload the public key, the target file and the digital signature to the blockchain node;

[0095] The blockchain node is also configured to: receive the public key, the target file and the digital signature, and verify the validity of the target file based on the public key and the digital signature; when the validity verification of the target file is successful, store the digital summary generated by hashing the target file according to a preset algorithm and return the corresponding evidence hash value to the server.

[0096] Specifically, the server is further configured as follows:

[0097] A target file query page is provided for the user, and a prompt box is set on the target file query page to indicate whether to upload the target file to the blockchain node. The prompt box is provided with option buttons for the user to click, and the user's selection result is detected. If the user's selection result is to confirm the upload, the target file is uploaded to the blockchain node.

[0098] In one embodiment provided in this specification, the requesting client is further configured to: send a target file summary information query request to the blockchain node, wherein the target file summary information query request carries a stored hash value;

[0099] The blockchain node is further configured to receive the target file summary information query request, obtain the file summary information of the target file and the download address of the target file according to the stored hash value, and send the target file summary information and the download address of the target file to the requesting client;

[0100] The requesting client is further configured to receive the target file summary information and the download address of the target file, and download the target file according to the download address of the target file.

[0101] Specifically, the blockchain node is further configured as follows:

[0102] The digital signature is decrypted using the public key to generate a first digital summary, and a hash operation is performed on the target file according to a preset algorithm to generate a corresponding second digital summary; the first digital summary is compared with the second digital summary to see if they are consistent; if so, the validity verification of the target file is successful; if not, a prompt message indicating verification failure is sent to the server.

[0103] In addition, the requesting client is further configured to: send a target file summary information query request to the server, wherein the target file summary information query request carries the target file identification information;

[0104] The server is further configured to receive the target file summary information query request, determine whether there is a corresponding evidence hash value according to the target file identification information, and if so, send the evidence hash value to the requesting client;

[0105] The requesting client is also configured to receive the stored hash value.

[0106] Optionally, the server is further configured to: if the determination result of determining whether a corresponding evidence hash value exists based on the target file identification information is that it does not exist, send a prompt message to the requesting client that the information is being uploaded to the blockchain node.

[0107] In one embodiment provided in this specification, the blockchain node is further configured to: when the validity verification of the target file is successful, return the call result of successfully receiving the digital summary of the target file to the server and the requesting client respectively; after the storage of the digital summary of the target file is completed, return the corresponding evidence hash value to the server.

[0108] In one embodiment provided in this specification, the requesting client is further configured to: receive a protocol signing transaction initiated by the server; wherein the protocol signing transaction is used to trigger an electronic signature operation on a target file transfer protocol; in response to the protocol signing transaction, perform an electronic signature operation and send the signed target file transfer protocol to the server;

[0109] The server is also configured to receive the signed target file transfer protocol sent by the requesting client, and send the target file transfer protocol, the target file, and the digital signature generated by the hash algorithm of the target file to the blockchain node.

[0110] Optionally, the blockchain-based business processing system further includes: a first business terminal and a second business terminal;

[0111] The first service end is configured to upload the file template to the service end;

[0112] The server is further configured to receive the file template and send a prompt message to the second service end asking whether to upload the file template to the blockchain node, wherein the prompt message carries the file template identification information;

[0113] The second service end is configured to receive the prompt information, determine a selection result based on the prompt information, and send information carrying the selection result to the service end;

[0114] The server is further configured to receive information carrying the selection result sent by the second service end, and if the selection result carried in the information is confirmation of upload, send the file template to the blockchain node;

[0115] The blockchain node is further configured to receive the file template, store the file template and return a hash value of successful chain writing, and send the hash value to the server;

[0116] The server is configured to receive the hash value and save the hash value in a database.

[0117] In one embodiment provided in this specification, the requesting client is further configured to send a project joining request to the server, wherein the project joining request carries the user's identity information and the project identification information;

[0118] The server is further configured to receive the project joining request, determine the file template and project details associated with the project according to the project identification information; generate a first target file related to the project according to the project details, the user's identity information and the file template, and initiate a file signing transaction to the requesting client; wherein the file signing transaction is used to trigger an electronic signature on the first target file;

[0119] The requesting client is further configured to receive a file signing transaction initiated by the server, and in response to the file signing transaction, perform an electronic signature operation on the first target file, and send the signed second target file to the server;

[0120] The server is further configured to: receive the second target file, and perform an authentication and signing operation on the second target file based on the certification authority certificate.

[0121] Specifically, the certification body is an e-commerce certification authority, that is, the second target file is subjected to a CA signing operation based on a CA certificate.

[0122] In one embodiment provided in this specification, blockchain technology is very suitable for the storage of target files due to its characteristics such as data immutability. The sharing of target file storage information is achieved by forming a consortium blockchain with judicial institutions, courts, notary offices and other institutions. Once the target file storage information is written into the blockchain, it will be automatically synchronized to the notary office data server. Each node of the blockchain saves all the target file storage information, ensuring that no node can modify the data at will. When a dispute occurs between a user and a server over a target file, the authenticity of the target file can be verified at the notary office, which technically ensures the immutability of the target file and improves the credibility of the target file.

[0123] Figure 2 A flowchart of a blockchain-based business processing method according to an embodiment of this specification is shown, including steps 202 to 208.

[0124] Step 202: Receive a target file query request, wherein the target file query request carries user identity information and target file identification information.

[0125] In one embodiment provided in this specification, before receiving a target file query request, the first business end sends an initial file template related to the project to the server end. Specifically, the projects include insurance projects, financial management projects, mutual aid projects, public welfare projects, medical projects, and life service projects. After receiving the initial file template, the server end sends a prompt message to the second business end whether to upload the initial file template to the blockchain, and the prompt message carries the file template identification information; if the confirmation upload instruction sent by the second business end is received, the server end uploads the initial file template to the blockchain node; receives the hash value generated by storing the initial file template returned by the blockchain node and saves the hash value in the database.

[0126] Optionally, after the server uploads the initial file template to the blockchain, if the initial template needs to be improved, the improved version is re-uploaded to the blockchain node, and the corresponding hash value returned by the blockchain node is saved.

[0127] In one embodiment provided in this specification, the server displays project details to the user through a page. If the user intends to join the project, the user and the project organizer jointly sign and generate the target file.

[0128] Specifically, the target file generation process can be achieved through the following steps:

[0129] The request client sends a project joining request to the server, wherein the project joining request carries the user's identity information and the project identification information;

[0130] The server receives the project joining request, determines the file template and project details associated with the project according to the project identification information; generates a first target file related to the project according to the project details and the file template, and initiates a file signing transaction to the requesting client; wherein the file signing transaction is used to trigger an electronic signature on the first target file;

[0131] The request client receives the file signing transaction initiated by the server, and in response to the file signing transaction, performs an electronic signature operation on the first target file, and sends the signed second target file to the server; the server receives the second target file, and performs a CA signature operation on the second target file based on the CA certificate to generate the target file.

[0132] Optionally, the server sends one or more target files generated within a preset time period to a second business terminal for institutional signature. The second business terminal is the project handler. The second business terminal batch processes and sends the signed files to the server, and the server stores the files.

[0133] Taking the insurance project as an example, the user sends an insurance application request to the insurance company, and the insurance application request carries the user's identity information and insurance type identification information; assuming that the user's identity information includes the user's name, age, gender and ID card information, and the insurance type identification information is health insurance type A. The insurance company receives the insurance application request, determines the insurance policy template and insurance type details associated with the insurance type according to the insurance type identification information, and generates the first insurance policy related to the insurance type according to the insurance type details, the user's identity information and the insurance policy template. Among them, the first insurance policy is generated by filling the user's identity information and insurance type details into the insurance policy template.

[0134] After generating the first insurance policy, the insurance company initiates an insurance policy signing transaction to the user; wherein the insurance policy signing transaction is used to trigger the user to electronically sign the first insurance policy. The user receives the insurance policy signing transaction, electronically signs the first insurance policy, and sends the signed second insurance policy to the insurance company. The insurance company receives the second insurance policy, and performs a CA signature operation on the second insurance policy based on the CA certificate to generate the final target insurance policy.

[0135] In one embodiment provided in this specification, after the target file is successfully signed, if the user has not saved the file, a target file query request may be sent to the server, wherein the target file query request carries the user's identity information and the target file identification information.

[0136] Step 204: Acquire the target file according to the user's identity information and the target file identification information and receive the user's query for the target file.

[0137] In one embodiment provided in this specification, after receiving the target file query request, the server searches for files related to the user in the database according to the user's identity information, and then searches for the target file in files related to the user according to the target file identification information.

[0138] Optionally, if the server fails to find any file related to the user in the database according to the identity information of the user, the project product details interface is displayed to the user.

[0139] Step 206: Send a prompt message to the user asking whether to upload the target file to the blockchain node.

[0140] Specifically, if the server finds the target file in the files related to the user according to the target file identification information, a target file query page is provided for the user, and a prompt box is set on the target file query page to indicate whether to upload the target file to the blockchain node, and an option button is set in the prompt box for the user to click; the server detects the selection result of the user in the prompt box and performs subsequent operations according to the selection result.

[0141] For example, the project that the user joins is an insurance project, the server is the insurance company, and the target file is the insurance policy information. The insurance company provides the user with an insurance policy information query page as shown in the figure below: Figure 3 As shown in FIG. 1 , when it is detected that the user is viewing the target file, an option window pops up on the interactive interface to prompt the user to select a corresponding icon to proceed to the next step. Figure 3 As shown, the content of the pop-up option window is "Do you want to upload the target file to the blockchain?", and two clickable buttons are set, namely "Yes" and "No". If it is detected that the button clicked by the user is "Yes", the policy information will be uploaded to the blockchain node.

[0142] Optionally, the prompt box for whether to upload the target file to the blockchain node can also be set in the asset details query interface. Taking a financial management project as an example, after a user purchases a financial management product, if it is detected that the user is viewing the details of the purchased financial management product, a prompt box for whether to upload the target file to the blockchain node will pop up, and the user's selection result in the prompt box will be detected, and subsequent operations will be performed according to the user's selection result.

[0143] Step 208: If a target file upload request from the user is received, the target file is uploaded to the blockchain node.

[0144] Specifically, if the user's selection result is to confirm the upload, the target file is uploaded to the blockchain node.

[0145] Optionally, after receiving the target file upload request from the user, the server initiates an agreement signing transaction to the user; wherein the agreement signing transaction is used to trigger an electronic signature operation on the target file transfer protocol; the user receives the agreement signing transaction initiated by the server, executes the electronic signature program to respond to the agreement signing transaction, and sends the signed target file transfer protocol to the server.

[0146] The server receives the signed target file transfer protocol sent by the user, and sends the target file transfer protocol, the target file, and the digital signature generated by the hash algorithm for the target file to the blockchain node. In addition, the information sent by the server to the blockchain node also includes: the signing time of the target file and the hash value corresponding to the file template associated with the project.

[0147] Still taking the insurance project that the user joins as an example, after the insurance company receives the user's request to upload the policy file, it signs the user and blockchain main agreement with the user. After the agreement is successfully signed, the insurance company sends the policy file and the digital signature generated by the hash algorithm of the policy file to the blockchain node. In addition, the information sent by the insurance company to the blockchain node also includes: the signing time of the policy file, the main agreement signed by the user and the insurance company, and the hash value corresponding to the policy template of the policy signed by the user.

[0148] After uploading the initial file template to the blockchain, if the server needs to improve the initial template, the improved version will be uploaded to the blockchain node again, and the corresponding hash value returned by the blockchain node will be saved. Therefore, the server will upload the hash value corresponding to the policy template of the policy signed by the user together with the policy file to the blockchain, so that the user can trace the version of the policy template when querying the policy information at a later time, which can bring better service experience to the user.

[0149] In one embodiment provided in this specification, blockchain technology is also referred to as distributed ledger technology, which is an emerging technology in which several devices jointly participate in "bookkeeping" and jointly maintain a complete distributed database. Due to the characteristics of blockchain technology being decentralized, open and transparent, each device can participate in database records, and data can be quickly synchronized between devices, blockchain technology has been widely used in many fields. The blockchain nodes involved in the embodiments of this specification include business-related device organization nodes connected to the blockchain, service equipment of the Internet platform, equipment of the regulatory agency, service equipment of the requesting client, service equipment of the notary office, service equipment of the court, and service equipment of the judicial appraisal center.

[0150] Specifically, uploading the target file to the blockchain node can be achieved by the following steps:

[0151] Performing a hash operation on the target file according to a preset algorithm to generate a corresponding digital summary;

[0152] An asymmetric encryption algorithm is used to sign the digital summary with a private key to generate a corresponding digital signature, and the public key, the digital signature and the target file are uploaded to the blockchain node.

[0153] After receiving the public key, the target file and the digital signature, the blockchain node needs to verify the validity of the target file. Specifically, the validity verification of the target file can be achieved through the following steps:

[0154] Decrypting the digital signature using the public key to generate a first digital summary;

[0155] Performing a hash operation on the target file according to a preset algorithm to generate a corresponding second digital summary;

[0156] comparing whether the first digital summary is consistent with the second digital summary;

[0157] If yes, the validity verification of the target file is successful;

[0158] If not, a prompt message indicating that the verification failed is sent to the server.

[0159] Specifically, when the validity of the target file is successfully verified, the blockchain node will store the digital summary generated by the hash operation of the target file according to a preset algorithm and return the corresponding evidence hash value to the server.

[0160] In one embodiment provided in this specification, after the user signs the target file transfer protocol, he or she may send a target file summary information query request to the server. The server receives the target file summary information query request and determines whether there is a corresponding evidence hash value based on the target file identification information. If so, the evidence hash value is sent to the requesting client; if not, a prompt message is sent to the requesting client that the information is being uploaded to the blockchain node.

[0161] After receiving the stored hash value, the requesting client sends a target file summary information query request to the blockchain node, wherein the target file summary information query request carries the stored hash value; the blockchain node receives the target file summary information query request, obtains the file summary information of the target file and the download address of the target file according to the stored hash value, and sends the target file summary information and the download address of the target file to the requesting client; the requesting client receives the target file summary information and the download address of the target file, and downloads the target file according to the download address of the target file.

[0162] In actual applications, the blockchain node provides the user with a target file summary information query page. Specifically, the schematic diagram of the target file summary information query page provided by the blockchain node to the user is as follows: Figure 4As shown, when it is detected that the user clicks on the stored hash value, an information query page pops up on the interactive interface, which displays the target file summary information and the download address of the target file. If it is detected that the user clicks on the download address of the target file, the target file will be downloaded for the user.

[0163] In the embodiments of this specification, the target file in the blockchain can be stored in the local storage space or in other storage spaces outside the blockchain, which is not limited here. Figure 4 The target file summary information is CXHK WDCQ RJHS KIYV and the target file download address is https: / / abcd.ef / mnopqrstuv / for example for schematic description. The specific target file summary information and the target file download address are determined according to actual applications and are not limited here.

[0164] Taking the insurance project as an example, the blockchain node provides users with a policy summary information query page. After storing the digital summary generated by the hash operation of the target file according to the preset algorithm, the corresponding evidence hash value is displayed on the interactive interface. The user clicks on the evidence hash value displayed on the interactive interface to obtain the file summary information of the policy file and the download address of the policy file. The user can choose whether to download the policy file.

[0165] In one embodiment provided in this specification, since the blockchain uses distributed accounting and storage, there is no centralized hardware or management agency, and what is stored on the judicial chain is the digital summary of the target file. The mathematical principle of the digital summary algorithm ensures that the target file cannot be reversely generated from the digital summary, so user privacy is protected. On the premise of ensuring user privacy, the target file is transparent and cannot be tampered with, and the user can download the target file through the target file download address provided by the blockchain node, making it more convenient for the user to obtain the target file.

[0166] Figure 5 An interactive schematic diagram of a blockchain-based business processing method according to an embodiment of the present specification is shown. The blockchain-based business processing method is described by taking a financial management project as an example, and includes steps 502 to 522.

[0167] Step 502: The request client sends a financial management contract query request to the server.

[0168] In one embodiment provided in this specification, the financial management contract query request carries the user's identity information and the financial management contract identification information.

[0169] Optionally, before receiving the financial management contract query request, the first business end and the contract template generating end send an initial financial management contract template related to the financial management product to the financial management institution. After receiving the initial financial management contract template, the financial management institution sends a prompt message to the second business end, i.e., the financial management project handler, asking whether to upload the initial financial management contract template to the blockchain. The prompt message carries the identification information of the initial financial management contract template. If a confirmation upload instruction is received from the financial management project handler, the financial management institution uploads the initial financial management contract template to the blockchain node. The hash value generated by storing the initial financial management contract template returned by the blockchain node is received and the hash value is saved in the database.

[0170] In addition, after the server uploads the initial file template to the blockchain, if the initial template needs to be improved, the improved version will be re-uploaded to the blockchain node and the corresponding hash value returned by the blockchain node will be saved.

[0171] The financial management institution displays the details of the financial management product to the user through the page. If the user intends to purchase the financial management product, the user and the financial management project organizer jointly sign and generate the financial management contract.

[0172] Optionally, the financial management institution sends one or more financial management contracts generated within a preset period of time to the financial management project handler for institutional signature. The financial management project handler batch processes and sends the signed financial management contracts to the financial management institution, and the financial management institution stores the received financial management contracts.

[0173] Taking the preset duration of 1 working day as an example, the financial institution sends the M financial contracts generated within 1 working day to the financial project manager for institutional signature, where M is an integer greater than or equal to 0. The financial project manager batches the signed M financial contracts and sends them to the financial institution, which stores the received M financial contracts.

[0174] Still taking the financial project as an example, the user sends a financial product purchase request to the financial institution, and the financial product purchase request carries the user's identity information and financial product identification information; it is assumed that the user's identity information includes the user's name, age, gender and ID card information, and the financial product identification information is product B. The financial institution receives the financial product purchase request, determines the financial contract template and financial product details associated with the financial product according to the financial product identification information, and generates a first financial contract related to the financial product type according to the financial product details, the user's identity information and the financial contract template. The first financial contract is generated by filling the user's identity information and financial product details into the financial contract template.

[0175] After the first financial management contract is generated, the financial management institution initiates a financial management contract signing transaction to the user; wherein the financial management contract signing transaction is used to trigger the user to electronically sign the first financial management contract. The user receives the financial management contract signing transaction, electronically signs the first financial management contract, and sends the signed second financial management contract to the financial management institution. The financial management institution receives the second financial management contract, and performs a CA signature operation on the second financial management contract based on the CA certificate to generate a final financial management contract.

[0176] In an embodiment provided in this specification, after a financial management contract is successfully signed, if the user has not saved the contract, a financial management contract query request may be sent to a financial management institution, wherein the financial management contract query request carries the user's identity information and financial management contract identification information.

[0177] Step 504: The server receives the financial management contract query request and obtains the financial management contract.

[0178] In one embodiment provided in this specification, after receiving the financial management contract query request, the financial management institution queries the contract related to the user in the database according to the identity information of the user, and then queries the financial management contract in the contracts related to the user according to the financial management contract identification information.

[0179] Optionally, if the financial institution fails to find a contract related to the user in the database according to the identity information of the user, the financial product details interface is displayed to the user.

[0180] Step 506: The server receives the financial management contract query from the user.

[0181] Step 508: The server sends a prompt message to the user asking whether to upload the financial management contract to the blockchain node.

[0182] Step 510: The server receives the financial management contract upload request sent by the user.

[0183] Specifically, if the financial management institution finds the financial management contract in the files related to the user according to the financial management contract identification information, a financial management contract query page is provided for the user, and a prompt box is set on the financial management contract query page to indicate whether to upload the financial management contract to the blockchain node, and an option button is set in the prompt box for the user to click; the financial management institution detects the selection result of the user in the prompt box and performs subsequent operations according to the selection result.

[0184] Step 512: The server uploads the financial management contract to the blockchain node.

[0185] Specifically, if the user's selection result is to confirm the upload, the target file is uploaded to the blockchain node.

[0186] Optionally, after receiving the financial management contract upload request from the user, the financial management institution initiates an agreement signing transaction to the user; wherein the agreement signing transaction is used to trigger an electronic signature operation on the financial management contract transmission agreement; the user receives the agreement signing transaction initiated by the financial management institution, executes the electronic signature procedure to respond to the agreement signing transaction, and sends the signed financial management contract transmission agreement to the financial management institution.

[0187] The financial management institution receives the signed financial management contract transmission agreement sent by the user, and sends the financial management contract transmission agreement, the financial management contract and the digital signature generated by the hash algorithm of the financial management contract to the blockchain node. In addition, the information sent by the financial management institution to the blockchain node also includes: the signing time of the financial management contract and the hash value corresponding to the financial management contract template associated with the financial management product.

[0188] Specifically, uploading the target file to the blockchain node can be achieved by the following steps:

[0189] Performing a hash operation on the target file according to a preset algorithm to generate a corresponding digital summary;

[0190] An asymmetric encryption algorithm is used to sign the digital summary with a private key to generate a corresponding digital signature, and the public key, the digital signature and the target file are uploaded to the blockchain node.

[0191] After receiving the public key, the target file and the digital signature, the blockchain node needs to verify the validity of the target file. Specifically, the validity verification of the target file can be achieved through the following steps:

[0192] Decrypting the digital signature using the public key to generate a first digital summary;

[0193] Performing a hash operation on the target file according to a preset algorithm to generate a corresponding second digital summary;

[0194] comparing whether the first digital summary is consistent with the second digital summary;

[0195] If yes, the validity verification of the target file is successful;

[0196] If not, a prompt message indicating that the verification failed is sent to the server.

[0197] Specifically, when the validity of the target file is successfully verified, the blockchain node will store the digital summary generated by the hash operation of the target file according to a preset algorithm and return the corresponding evidence hash value to the server.

[0198] Optionally, after receiving the target file, the blockchain node verifies the validity of the target file. When the validity verification of the target file is successful, the call result of the digital summary of the target file that has been successfully received is returned to the server and the requesting client respectively; after the digital summary of the target file is stored, the corresponding evidence hash value is returned to the server.

[0199] Step 514: The blockchain node returns the stored hash value to the server.

[0200] Step 516: The request client sends a summary query request to the server.

[0201] Step 518: The server returns the stored hash value to the requesting client.

[0202] In one embodiment provided in this specification, after the user signs the target file transfer protocol, the user may send a target file summary information query request to the server, and the server receives the target file summary information query request, determines whether there is a corresponding evidence hash value according to the target file identification information, and if so, sends the evidence hash value to the requesting client;

[0203] If the result of determining whether a corresponding evidence hash value exists based on the target file identification information is that it does not exist, a prompt message is sent to the requesting client that the information is being uploaded to the blockchain node.

[0204] Step 520: The request client sends a summary information query request to the blockchain node.

[0205] Step 522: The blockchain node sends summary information and the financial contract download address to the requesting client.

[0206] In one embodiment provided in the present specification, after receiving the stored hash value, the requesting client sends a target file summary information query request to the blockchain node, wherein the target file summary information query request carries the stored hash value; the blockchain node receives the target file summary information query request, obtains the file summary information of the target file and the download address of the target file according to the stored hash value, and sends the target file summary information and the download address of the target file to the requesting client; the requesting client receives the target file summary information and the download address of the target file, and downloads the target file according to the download address of the target file.

[0207] In one embodiment provided in this specification, since the blockchain uses distributed accounting and storage, there is no centralized hardware or management agency, and what is stored on the judicial chain is the digital summary of the financial management contract. The mathematical principle of the digital summary algorithm ensures that the financial management contract cannot be reversely generated from the digital summary, so user privacy is protected. At the same time, it also ensures that the financial management contract cannot be tampered with, and the user can download the financial management contract through the contract download address provided by the blockchain node, making it more convenient for the user to obtain the financial management contract.

[0208] Corresponding to the above method embodiment, this specification also provides a business processing device embodiment based on blockchain, Figure 6 The schematic diagram of the structure of a business processing device based on blockchain according to an embodiment of the present specification is shown. Figure 6 As shown, the device includes: a file query request receiving module 602, a target file query module 604, a prompt information sending module 606 and a target file transmission module 608.

[0209] The file query request receiving module 602 is configured to receive a target file query request, wherein the target file query request carries the user's identity information and the target file identification information;

[0210] The target file query module 604 is configured to obtain the target file according to the identity information of the user and the target file identification information and receive the target file query from the user;

[0211] A prompt information sending module 606 is configured to send a prompt information to the user whether to upload the target file to the blockchain node;

[0212] The target file transmission module 608 is configured to upload the target file to the blockchain node if a target file upload request from the user is received.

[0213] Specifically, the target file transfer module is also configured to: perform a hash operation on the target file according to a preset algorithm to generate a corresponding digital summary; use an asymmetric encryption algorithm to perform a private key signature on the digital summary to generate a corresponding digital signature, and upload the public key, the digital signature and the target file to the blockchain node.

[0214] Optionally, the blockchain-based business processing device further includes:

[0215] The evidence hash value receiving module is configured to receive the evidence hash value returned by the blockchain node.

[0216] Optionally, the prompt information sending module is further configured to: provide a target file query page for the user, set a prompt box on the target file query page for whether to upload the target file to the blockchain node, and set an option button for the user to click in the prompt box; detect the user's selection result;

[0217] The target file transfer module is further configured as follows:

[0218] If the user's selection result is to confirm the upload, the target file is uploaded to the blockchain node.

[0219] Optionally, the blockchain-based business processing device further includes: a target file summary information query request receiving module, configured to:

[0220] Receive the target file summary information query request, and determine whether a corresponding evidence hash value exists according to the target file identification information; if so, send the evidence hash value to the requesting client;

[0221] If it does not exist, a prompt message is sent to the requesting client indicating that the information is being uploaded to the blockchain node.

[0222] Optionally, the target file transmission module is further configured to:

[0223] If a target file upload request from the user is received, an agreement signing transaction is initiated to the user; wherein the agreement signing transaction is used to trigger an electronic signature operation on the target file transfer protocol;

[0224] Receive the signed target file transfer protocol sent by the user, and send the target file transfer protocol, the target file, and the digital signature generated by the hash algorithm for the target file to the blockchain node.

[0225] Optionally, the blockchain-based business processing device further includes:

[0226] A file template transmission prompt information sending module, configured to receive a file template and send a prompt information to the second service end asking whether to upload the file template to the blockchain node, wherein the prompt information carries the file template identification information;

[0227] A selection result receiving module is configured to receive information carrying the selection result sent by the second service end, and when the selection result carried in the information is confirmation of upload, send the file template to the blockchain node;

[0228] The storage module is configured to receive the hash value of the file template successfully written to the chain returned by the blockchain node and save the hash value in a database.

[0229] In one embodiment provided in this specification, blockchain technology is very suitable for the storage of target files due to its characteristics such as data immutability. We realize the sharing of target file storage information by forming a consortium blockchain with judicial institutions, courts, notary offices and other institutions. Once the target file storage information is written into the blockchain, it will be automatically synchronized to the notary office data server. Each node of the blockchain saves all the target file storage information to ensure that no node can modify the data at will. When a dispute occurs between the user and the server over the target file, the authenticity of the target file can be verified at the notary office, which technically guarantees the immutability of the target file and improves the credibility of the target file.

[0230] Figure 7 The structure block diagram of an electronic device 700 according to an embodiment of the present specification is shown. The components of the electronic device 700 include but are not limited to a memory 710 and a processor 720. The processor 720 is connected to the memory 710 via a bus 730, and the database 750 is used to store data.

[0231] The electronic device 700 also includes an access device 740 that enables the electronic device 700 to communicate via one or more networks 760. Examples of these networks include a public switched telephone network (PSTN), a local area network (LAN), a wide area network (WAN), a personal area network (PAN), or a combination of communication networks such as the Internet. The access device 740 may include one or more of any type of network interface (e.g., a network interface card (NIC)) that is wired or wireless, such as an IEEE 802.11 wireless local area network (WLAN) wireless interface, a World Wide Interoperability for Microwave Access (Wi-MAX) interface, an Ethernet interface, a universal serial bus (USB) interface, a cellular network interface, a Bluetooth interface, a near field communication (NFC) interface, and the like.

[0232] In one embodiment of the present specification, the above components of the electronic device 700 and Figure 7 Other components not shown in the figure may also be connected to each other, for example, via a bus. It should be understood that Figure 7 The electronic device structure block diagram shown is only for the purpose of illustration, and is not intended to limit the scope of this specification. Those skilled in the art can add or replace other components as needed.

[0233] The electronic device 700 may be any type of stationary or mobile electronic device, including a mobile computer or mobile electronic device (e.g., a tablet computer, a personal digital assistant, a laptop computer, a notebook computer, a netbook, etc.), a mobile phone (e.g., a smart phone), a wearable electronic device (e.g., a smart watch, smart glasses, etc.), or other types of mobile devices, or a stationary electronic device such as a desktop computer or a PC. The electronic device 700 may also be a mobile or stationary server.

[0234] Among them, the processor 720 is used to execute the steps of the blockchain-based business processing method as described above when the instruction is executed by the processor.

[0235] The above is a schematic scheme of an electronic device of this embodiment. It should be noted that the technical scheme of the electronic device and the technical scheme of the business processing method based on blockchain are of the same concept, and the details not described in detail in the technical scheme of the electronic device can be found in the description of the technical scheme of the business processing method based on blockchain.

[0236] An embodiment of the present specification also provides a computer-readable storage medium storing computer instructions, which, when executed by a processor, implement the steps of the blockchain-based business processing method as described above.

[0237] The above is a schematic scheme of a computer-readable storage medium of this embodiment. It should be noted that the technical scheme of the storage medium and the technical scheme of the business processing method based on blockchain are of the same concept, and the details not described in detail in the technical scheme of the storage medium can be found in the description of the technical scheme of the business processing method based on blockchain.

[0238] The above is a description of a specific embodiment of the specification. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the embodiments and still achieve the desired results. In addition, the processes depicted in the drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0239] The computer instructions include computer program codes, which may be in source code form, object code form, executable files or some intermediate forms, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, USB flash drive, mobile hard disk, magnetic disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc. It should be noted that the content contained in the computer-readable medium may be appropriately increased or decreased according to the requirements of legislation and patent practice in the jurisdiction. For example, in some jurisdictions, according to legislation and patent practice, computer-readable media do not include electric carrier signals and telecommunication signals.

[0240] It should be noted that, for the above-mentioned method embodiments, for the sake of simplicity of description, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described action sequence, because according to the present application, certain steps can be performed in other sequences or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0241] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0242] The preferred embodiments of the present application disclosed above are only used to help explain the present application. The optional embodiments do not describe all the details in detail, nor do they limit the invention to the specific implementation methods described. Obviously, many modifications and changes can be made according to the content of this specification. This specification selects and specifically describes these embodiments in order to better explain the principles and practical applications of the present application, so that those skilled in the art can understand and use the present application well. The present application is limited only by the claims and their full scope and equivalents.

Claims

1. A business processing system based on blockchain, characterized in that: include: Request the client, server, and at least two blockchain nodes on the blockchain; The requesting client is configured to send a target file query request to the server, wherein the target file query request carries the user's identity information and the target file identification information; The server is configured to receive the target file query request, obtain the target file and receive the target file query from the user, send a prompt message to the user whether to upload the target file to the blockchain node, and if the target file upload request from the user is received, upload the target file to the blockchain node, wherein the target file is generated by the server for the user and saved by the server; The blockchain node is configured to receive the target file, verify the validity of the target file, and after the validity verification of the target file is successful, store the verified target file and return the corresponding evidence hash value to the requesting client.

2. The system according to claim 1, characterized in that The server is also configured as follows: Perform a hash operation on the target file according to a preset algorithm to generate a corresponding digital summary; use an asymmetric encryption algorithm to perform a private key signature on the digital summary to generate a corresponding digital signature, and upload the public key, target file and the digital signature to the blockchain node; The blockchain node is further configured to: receive the public key, the target file and the digital signature, and verify the validity of the target file according to the public key and the digital signature; The verified target file is hashed according to a preset algorithm to generate a digital summary, which is stored and the corresponding evidence hash value is returned to the server.

3. The system according to claim 1, characterized in that The server is also configured as follows: A target file query page is provided for the user, and a prompt box is set on the target file query page to indicate whether to upload the target file to the blockchain node. The prompt box is provided with option buttons for the user to click, and the user's selection result is detected. If the user's selection result is to confirm the upload, the target file is uploaded to the blockchain node.

4. The system according to claim 2, characterized in that The requesting client is further configured to: send a target file summary information query request to the blockchain node, wherein the target file summary information query request carries a stored hash value; The blockchain node is further configured to receive the target file summary information query request, obtain the file summary information of the target file and the download address of the target file according to the stored hash value, and send the target file summary information and the download address of the target file to the requesting client; The requesting client is further configured to receive the target file summary information and the download address of the target file, and download the target file according to the download address of the target file.

5. The system according to claim 2, characterized in that The blockchain node is also configured to: The digital signature is decrypted using the public key to generate a first digital summary, and a hash operation is performed on the target file according to a preset algorithm to generate a corresponding second digital summary; the first digital summary is compared with the second digital summary to see if they are consistent; if so, the validity verification of the target file is successful; if not, a prompt message indicating verification failure is sent to the server.

6. The system according to claim 1, characterized in that The requesting client is further configured to: send a target file summary information query request to the server, wherein the target file summary information query request carries target file identification information; The server is further configured to receive the target file summary information query request, determine whether there is a corresponding evidence hash value according to the target file identification information, and if so, send the evidence hash value to the requesting client; The requesting client is also configured to receive the stored hash value.

7. The system according to claim 6, characterized in that The server is also configured as follows: If the result of determining whether a corresponding evidence hash value exists based on the target file identification information is that it does not exist, a prompt message is sent to the requesting client that the information is being uploaded to the blockchain node.

8. The system according to claim 2, characterized in that The blockchain node is also configured to: When the validity verification of the target file is successful, the call result of successfully receiving the digital summary of the target file is returned to the server and the requesting client respectively; after the digital summary of the target file is stored, the corresponding evidence hash value is returned to the server.

9. The system according to claim 1, characterized in that The request client is further configured as: Receiving a protocol signing transaction initiated by the server; wherein the protocol signing transaction is used to trigger an electronic signature operation on a target file transfer protocol; in response to the protocol signing transaction, performing an electronic signature operation, and sending the signed target file transfer protocol to the server; The server is also configured to receive the signed target file transfer protocol sent by the requesting client, and send the target file transfer protocol, the target file, and the digital signature generated by the hash algorithm of the target file to the blockchain node.

10. The system according to claim 1, characterized in that Also includes: a first business end and a second business end; The first service end is configured to upload the file template to the service end; The server is further configured to receive the file template and send a prompt message to the second service end asking whether to upload the file template to the blockchain node, wherein the prompt message carries the file template identification information; The second service end is configured to receive the prompt information, determine a selection result based on the prompt information, and send information carrying the selection result to the service end; The server is further configured to receive information carrying the selection result sent by the second service end, and if the selection result carried in the information is confirmation of upload, send the file template to the blockchain node; The blockchain node is further configured to receive the file template, store the file template and return a hash value of successful chain writing, and send the hash value to the server; The server is configured to receive the hash value and save the hash value in a database.

11. A business processing method based on blockchain, characterized in that: Applied to the server, including: Receiving a target file query request, wherein the target file query request carries user identity information and target file identification information; Acquire the target file according to the identity information of the user and the target file identification information and receive the user to query the target file, wherein the target file is generated by the server for the user and saved by the server; Sending a prompt message to the user asking whether to upload the target file to the blockchain node; If a target file upload request from the user is received, the target file is uploaded to the blockchain node; Receive the evidence hash value returned by the blockchain node after successfully verifying the validity of the target file.

12. The method according to claim 11, characterized in that The uploading of the target file to the blockchain node comprises: A hash operation is performed on the target file according to a preset algorithm to generate a corresponding digital summary; an asymmetric encryption algorithm is used to private key sign the digital summary to generate a corresponding digital signature, and the public key, the digital signature and the target file are uploaded to the blockchain node.

13. The method according to claim 11, characterized in that The prompt information sent to the user as to whether to upload the target file to the blockchain node includes: Providing a target file query page for the user, setting a prompt box on the target file query page for whether to upload the target file to the blockchain node, and setting an option button for the user to click; Detecting the selection result of the user; If a target file upload request from the user is received, uploading the target file to the blockchain node includes: If the user's selection result is to confirm the upload, the target file is uploaded to the blockchain node.

14. The method according to claim 11, characterized in that After uploading the target file to the blockchain node, the process further includes: Receive the target file summary information query request, and determine whether there is a corresponding stored hash value according to the target file identification information; If it exists, sending the stored hash value to the requesting client; If it does not exist, a prompt message is sent to the requesting client indicating that the information is being uploaded to the blockchain node.

15. The method according to claim 11, characterized in that If a target file upload request from the user is received, uploading the target file to the blockchain node includes: If a target file upload request from the user is received, an agreement signing transaction is initiated to the user; wherein the agreement signing transaction is used to trigger an electronic signature operation on the target file transfer protocol; Receive the signed target file transfer protocol sent by the user, and send the target file transfer protocol, the target file, and the digital signature generated by the hash algorithm for the target file to the blockchain node.

16. The method according to claim 13, characterized in that Before receiving the target file query request, the method further includes: Receive the file template, and send a prompt message to the second service end asking whether to upload the file template to the blockchain node, wherein the prompt message carries the file template identification information; receiving information carrying the selection result sent by the second service end, and when the selection result carried in the information is confirmation of upload, sending the file template to the blockchain node; Receive the hash value of the file template successfully written to the chain returned by the blockchain node and save the hash value in the database.

17. A business processing device based on blockchain, characterized in that: include: A file query request receiving module, configured to receive a target file query request, wherein the target file query request carries the user's identity information and the target file identification information; a target file query module, configured to obtain the target file according to the identity information of the user and the target file identification information and receive the target file query from the user, wherein the target file is generated by the server for the user and stored by the server; A prompt information sending module is configured to send a prompt information to the user whether to upload the target file to the blockchain node; a target file transmission module, configured to upload the target file to the blockchain node upon receiving a target file upload request from the user; The evidence hash value receiving module is configured to receive the evidence hash value returned by the blockchain node after successfully verifying the validity of the target file.

18. An electronic device, characterized in that: include: Memory, processor; The memory is used to store computer executable instructions, and the processor is used to execute the computer executable instructions: Receiving a target file query request, wherein the target file query request carries user identity information and target file identification information; Acquire the target file according to the identity information of the user and the target file identification information and receive the user to query the target file, wherein the target file is generated by the server for the user and saved by the server; Sending a prompt message to the user whether to upload the target file to the blockchain node; If a target file upload request from the user is received, the target file is uploaded to the blockchain node; Receive the evidence hash value returned by the blockchain node after successfully verifying the validity of the target file.

19. A computer-readable storage medium storing computer instructions, characterized in that: When the instruction is executed by a processor, the steps of the method described in any one of claims 11 to 16 are implemented.

20. A computer program product, characterized in that The method comprises computer instructions which, when executed by a processor, implement the steps of the method according to any one of claims 11 to 16.

Citation Information

Patent Citations

  • Data evidence-preserving method and system based on block chain technology

    CN107819777A

  • Block-chain-based file storage and reading method, electronic device and readable storage medium

    CN109522270A

  • Identity verification method and device and electronic equipment

    CN109583184A

  • Contract management method and device, computer device and computer readable storage medium

    CN109784870A

  • Financial institution document verification system that is based on the block chain

    KR1020160150278A