Background
The block chain is a distributed book (database) technology which connects data blocks in order and guarantees the data blocks to be not falsifiable or counterfeitable in a cryptographic way. In popular terms, the block chain technology can realize the public transparency, the non-falsification and the traceability of all data information in a system without the endorsement of a third party. As a bottom layer protocol or technical scheme, the block chain can effectively solve the trust problem, realizes the free transfer of value, and has wide prospects in the fields of transaction settlement of digital currency and financial assets, digital government affairs, certificate-storing anti-counterfeiting data service and the like.
At present, the enterprise rework and replication is urgent, how to completely record the full life cycle data of the enterprise rework and replication, and ensure that the local enterprise rework and replication work faces huge workload. The danger that the enterprise rework information is completely transparent and cannot be tampered is difficult to achieve by means of the prior art, and meanwhile, the enterprise rework information cannot be traced.
Disclosure of Invention
In order to overcome the defects in the prior art, the present disclosure provides an information management method, an analysis node, and a rework platform based on a block chain.
As a first aspect of the present disclosure, there is provided a block chain-based information management method, including:
receiving a verification request sent by a re-work platform, wherein the verification request comprises a re-work examination and approval sheet identifier and enterprise re-work information, and the verification request is sent by the re-work platform after receiving a re-work examination and approval sheet which is sent by a prevention and control center and carries an enterprise node identifier and a prevention and control center node identifier;
acquiring a rework identification analysis code according to the enterprise rework information;
if the rework identification analysis code is consistent with the rework approval sheet identification, sending enterprise rework uplink information to the rework platform, wherein the enterprise rework uplink information comprises the rework identification analysis code, so that the rework platform generates a new block according to the enterprise rework information and the rework identification analysis code, and broadcasts the new block in a block chain.
Preferably, the reworking identification parsing code is consistent with the reworking approval sheet identification, including:
and the control center code in the rework identification analysis code is consistent with the control center node identification in the rework examination receipt identification, and the enterprise identification code in the rework identification analysis code is consistent with the enterprise node identification in the rework examination receipt identification.
Preferably, the method further comprises the following steps:
receiving a registration request which is sent by a rework platform and carries a prevention and control center code and an enterprise identification code of an enterprise to be audited;
and generating a rework identification analysis code according to the prevention and control center code and the enterprise identification code.
As a second aspect of the present disclosure, there is provided a block chain-based information management method, including:
receiving enterprise multiplex uplink information sent by an analysis node, and acquiring a multiplex identification analysis code in the enterprise multiplex uplink information;
and generating a new block according to the pre-stored enterprise rework information and the rework identification analysis code.
Preferably, generating a new block according to the pre-stored enterprise rework information and the rework identification analysis code includes:
generating a block head of the new block according to the rework identification analysis code;
and generating the block body of the new block according to the enterprise rework information.
Preferably, after the obtaining of the rework identification analysis code, the method further includes:
and establishing a mapping relation between the rework identification analysis code and the enterprise rework information.
Preferably, the method further comprises:
receiving an inquiry request sent by a user terminal, and acquiring a rework identification analysis code in the inquiry request;
determining enterprise rework information corresponding to the rework identification analysis code according to the mapping relation;
and sending the enterprise rework information to the user terminal.
As a third aspect of the present disclosure, there is provided a parsing node, including:
the system comprises a receiving module, a verification module and a control center, wherein the receiving module is used for receiving a verification request sent by a rework platform, the verification request comprises a rework examination receipt identifier and enterprise rework information, and the verification request is sent by the rework platform after receiving a rework examination receipt which is sent by the control center and carries the enterprise node identifier and the control center node identifier;
the acquisition module is used for acquiring a rework identification analysis code according to the enterprise rework information;
and the sending module is used for sending enterprise multiplex uplink information to the multiplex platform if the multiplex identifier analysis code is consistent with the multiplex approval list identifier, wherein the enterprise multiplex uplink information comprises the multiplex identifier analysis code, so that the multiplex platform generates a new block according to the enterprise multiplex information and the multiplex identifier analysis code, and broadcasts the new block in a block chain.
Preferably, in the sending module, the duplication identity parsing code is consistent with the duplication approval sheet identity, and the method includes:
and the control center code in the rework identification analysis code is consistent with the control center node identification in the rework examination receipt identification, and the enterprise identification code in the rework identification analysis code is consistent with the enterprise node identification in the rework examination receipt identification.
Preferably, the method further comprises the following steps:
the receiving module is also used for receiving a registration request which is sent by the rework platform and carries a prevention and control center code and an enterprise identification code of the enterprise to be audited;
and the generating module is used for generating a rework identification analysis code according to the prevention and control center code and the enterprise identification code.
As a fourth aspect of the present disclosure, there is provided a rework platform, including:
the receiving module is used for receiving enterprise multiplex uplink information sent by the analysis node;
a first obtaining module, configured to obtain a duplex identification analysis code in the enterprise duplex uplink information;
and the generating module is used for generating a new block according to the pre-stored enterprise rework information and the rework identification analysis code.
Preferably, the generating module is specifically configured to:
generating a block head of the new block according to the rework identification analysis code;
and generating the block body of the new block according to the enterprise rework information.
Preferably, the method further comprises the following steps:
and the establishing module is used for establishing the mapping relation between the rework identification analysis code and the enterprise rework information.
Preferably, the method further comprises the following steps:
the receiving module is also used for receiving an inquiry request sent by the user terminal;
the second acquisition module is used for acquiring the rework identification analysis code in the query request;
the determining module is used for determining enterprise rework information corresponding to the rework identification analysis code according to the mapping relation;
and the sending module is used for sending the enterprise rework information to the user terminal.
In the embodiment of the disclosure, authenticity, safety, openness and transparency of enterprise rework information are ensured by using the characteristics that a block chain is not falsifiable and is openness and transparency. Meanwhile, the block chain is utilized to completely record the rework and rework full life cycle data of the enterprise, the enterprise rework information can be traced conveniently, the time consumed by work is greatly reduced, the maintenance cost is reduced, and the economic benefit is improved.
Detailed Description
For a better understanding of the technical aspects of the present invention, those skilled in the art will now be able to describe the present disclosure in further detail with reference to the accompanying drawings and detailed description.
In order to ensure the authenticity of enterprise rework information, safety, openness and transparency, convenient traceability query and maintenance cost reduction. The invention provides an information management method, an analysis node and a rework platform based on a block chain, which are suitable for any rework and rework scenarios and requirements. The following detailed description is made with reference to the accompanying drawings which respectively illustrate embodiments provided by the present disclosure.
Fig. 1 shows a flowchart of an information management method based on a block chain according to an embodiment of the present disclosure. The information management method based on the block chain can be applied to a resolution node. As shown in fig. 1, the information management method based on a block chain provided in this embodiment includes the following steps.
Step 101, receiving a verification request sent by a rework platform.
The verification request comprises a rework examination receipt identifier and enterprise rework information, and is sent by the rework platform after receiving a rework examination receipt which is sent by the prevention and control center and carries the enterprise node identifier and the prevention and control center node identifier.
The embodiment of the disclosure is applied to a system consisting of an analysis node and a rework platform, wherein the rework platform is a node in a block chain. The rework platform is used for enterprise rework application, approval, state processing, rework inquiry and the like. After the enterprise user logs in the rework platform, the rework platform applies for rework, specifically, the rework application control can be clicked, corresponding forms can be filled in, and other operations are not limited here, and the rework platform generates enterprise rework information according to information input by the user. The re-work platform comprises a re-work approval module, the re-work approval module sends a re-work approval sheet carrying the enterprise node identification to the prevention and control center, the prevention and control center feeds back an approval result to the re-work platform, and if the approval result is not passed, the prevention and control center returns an approval suggestion to the re-work platform; and if the approval result is passed, adding a node identifier of the prevention and control center in the returned rework approval sheet by the prevention and control center. And the rework platform sends a verification request carrying a rework examination and approval sheet identifier and enterprise rework information to the analysis node, wherein the rework examination and approval sheet identifier comprises an enterprise node identifier and a prevention and control center node identifier, so that the analysis node can verify whether the rework examination and approval sheet identifier is correct.
It should be noted that the enterprise rework information includes enterprise information, rework population statistical data, enterprise rework situation, and rework history query information. The enterprise information comprises enterprise names, enterprise node identifiers and the like. The rework population statistical data comprises the total number of the employees and the number of the employees from the epidemic area, the total number of the rework population and the number of the rework population from the epidemic area; the enterprise re-work condition comprises that the enterprise re-work application trend and the re-work approval passing trend line graph on the re-work platform are checked according to the day and the week. The rework history query information comprises application and rework condition history used for the enterprise to check the enterprise, and each piece of rework application and rework detailed information is recorded in detail.
It should be noted that the enterprise node Identifier may be a two-dimensional code, a Handle code, an Object Identifier (OID) code, and the like, and includes an enterprise prefix code and an enterprise internal code, for example, the enterprise prefix code is 888.1000.01, and the enterprise internal code is a 6-bit area code, an 8-bit random code, and a 1-bit check code. Identifying the enterprise node identifier may obtain enterprise information, i.e., enterprise name, enterprise address, registered funds, etc. And identifying the node identification of the prevention and control center to obtain the information of the approval unit. The prevention and control center node identification is consistent with the type of enterprise node identification, e.g., the prevention and control node identification prefix is encoded as 86.100.06. Then, the rework approval is identified as 86.100.06/888.1000.01. XXXXXXXXXXXXXXX.
It should be noted that the rework platform further comprises a rework state processing and query module, and after the enterprise user applies for rework, the rework application enters a waiting for review state; when the prevention and control center is not checked, the rework state is to be checked; the control center passes the audit, and the rework state is that the audit passes; the audit of the prevention and control center is not passed, and the rework state is that the audit is not passed; meanwhile, an adjustment and modification notification message carrying the examination suggestion is sent to the enterprise node after the enterprise node is not examined, and the enterprise node can carry out re-application after the adjustment and modification; and after the enterprise reworking period is completely finished, the reworking state is closed.
And 102, acquiring a rework identification analysis code according to the enterprise rework information.
In this step, a rework identification analysis code corresponding to the enterprise node is generated in advance at the analysis node. And the analysis node acquires a rework identification analysis code corresponding to the enterprise information according to the enterprise information in the enterprise rework information.
Step 103, if the rework identification analysis code is consistent with the rework approval document identification, sending enterprise rework uplink information to the rework platform, where the enterprise rework uplink information includes the rework identification analysis code, so that the rework platform generates a new block according to the enterprise rework information and the rework identification analysis code, and broadcasts the new block in the block chain.
In the step, the analysis node verifies whether the rework examination receipt identification sent by the rework platform is correct or not, compares the rework examination receipt identification with the rework identification analysis code, if the rework examination receipt identification is consistent with the rework identification analysis code, the rework examination receipt identification is correct, and enterprise rework information in the verification request can be uploaded to the block chain. If the business rework information is inconsistent with the block chain, the business rework approval sheet identification is inconsistent, and the enterprise rework information cannot be uploaded to the block chain. An enterprise user can view the latest block list and block details through a block chain ledger.
In a preferred embodiment, the analysis node may also obtain, through the identifier analysis server, the address, the enterprise information, and the examination and approval unit information corresponding to the identifier of the rework examination and approval sheet, compare the address, the enterprise information, and the examination and approval unit information corresponding to the identifier analysis code of the rework identity, and if the address, the enterprise information, and the examination and approval unit information are consistent, indicate that the identifier of the rework examination and approval sheet is correct.
Further, in step 103, the step of matching the rework identification analysis code with the rework examination and approval sheet identification includes:
the control center code in the rework identification analysis code is consistent with the control center node identification in the rework examination order identification, and the enterprise identification code in the rework identification analysis code is consistent with the enterprise node identification in the rework examination order identification.
For example, the identification of the control center in the rework identification resolution code and the identification of the control center node in the rework examination order identification are both 86.100.06, and the enterprise identification code of the rework identification resolution code and the identification of the enterprise node in the rework examination order identification are both 888.1000.01.
In a preferred embodiment, the identifier resolution server may also obtain addresses, enterprise information, and examination and approval unit information corresponding to two identifiers in the rework examination and approval sheet identifier, compare the addresses, enterprise information, and examination and approval unit information corresponding to two codes in the rework identification resolution code, and if the addresses, enterprise information, and examination and approval unit information are all consistent, indicate that the rework examination and approval sheet identifier is correct.
In the embodiment of the disclosure, authenticity, safety, openness and transparency of enterprise rework information are ensured by using the characteristics that a block chain is not falsifiable and is openness and transparency. Meanwhile, the block chain is utilized to completely record the rework and rework full life cycle data of the enterprise, the enterprise rework information can be traced conveniently, the time consumed by work is greatly reduced, the maintenance cost is reduced, and the economic benefit is improved.
Fig. 2 shows another flowchart of a block chain-based information management method provided by an embodiment of the present disclosure. Further, as shown in fig. 2, the method further includes:
step 201, receiving a registration request which is sent by a rework platform and carries a prevention and control center code and an enterprise identification code of an enterprise to be audited.
And 202, generating a rework identification analysis code according to the prevention and control center code and the enterprise identification code.
In step 201-step 202, the resolution node registers the rework identification resolution code according to the registration request sent by the rework platform. The rework identification analysis code comprises a prevention and control center code and an enterprise identification code, the information of the approval unit can be obtained by identifying the prevention and control center code, and the enterprise information to be approved can be obtained by identifying the enterprise identification code.
Fig. 3 shows a flowchart of an information management method based on a block chain according to an embodiment of the present disclosure. The block chain-based information management method can be applied to a rework platform. As shown in fig. 3, the information management method based on a block chain provided in this embodiment includes the following steps.
Step 301, receiving the enterprise uplink multiplexing information sent by the analysis node.
Step 302, a duplex identification analysis code in the enterprise duplex uplink information is obtained.
And 303, generating a new block according to the pre-stored enterprise rework information and the rework identification analysis code.
In steps 301 to 303, the duplex platform receives the enterprise duplex uplink information sent by the parsing node, which indicates that the parsing node passes the verification and can upload the enterprise duplex information to the blockchain. And establishing a block for each enterprise user on the block chain, and generating a new block according to the enterprise rework information generated after the enterprise user applies for rework on the rework platform and the rework identification analysis code in the enterprise rework uplink information.
In the embodiment of the disclosure, authenticity, safety, openness and transparency of enterprise rework information are ensured by using the characteristics that a block chain is not falsifiable and is openness and transparency. Meanwhile, the block chain is utilized to completely record the rework and rework full life cycle data of the enterprise, the enterprise rework information can be traced conveniently, the time consumed by work is greatly reduced, the maintenance cost is reduced, and the economic benefit is improved.
Further, generating a new block according to the pre-stored enterprise rework information and the rework identification analysis code (i.e. step 303), including: generating a block head of the new block according to the rework identification analysis code; and generating the block body of the new block according to the enterprise rework information.
In this step, the block header for generating the new block includes a rework identification resolution code, a version number, a root hash value, a last block hash value, a timestamp, a random number, and the like, where the rework identification resolution code and the version code are used as the unique block identification. The block body of the new block comprises enterprise rework information.
Further, after obtaining the rework identification resolution code (i.e. step 302), the method further includes: and establishing a mapping relation between the rework identification analysis code and the enterprise rework information.
In this step, the enterprise user may not only query the enterprise rework information through the blockchain, but also query the enterprise rework information of the enterprise through the rework identification code. Namely, in the embodiment of the present disclosure, a binding relationship between the rework identification analysis code and the enterprise rework information is established, and information integration, storage and query are performed through the rework identification analysis code.
Fig. 4 shows another flowchart of a block chain-based information management method provided by an embodiment of the present disclosure. Further, as shown in fig. 4, the method further includes:
step 401, receiving an inquiry request sent by a user terminal.
Step 402, obtaining the rework identification analysis code in the query request.
And 403, determining enterprise rework information corresponding to the rework identification analysis code according to the mapping relation.
And step 404, sending the enterprise reworking information to the user terminal.
In steps 401 to 404, the enterprise user sends a query request carrying a rework identification resolving code to the rework platform, and the rework platform traces and queries enterprise rework information according to the mapping relationship, or obtains an address, enterprise information, and approval unit information corresponding to the rework identification resolving code through an identification resolving server by using an identification resolving technology. The enterprise user can also obtain the information of the approval unit and the enterprise information to be approved through the rework identification analysis code.
In the embodiment of the disclosure, the rework information of the enterprise can be traced by using the rework identification analysis code, so that the time consumed by work is greatly reduced, the maintenance cost is reduced, and the economic benefit is improved.
Fig. 5 shows a schematic structural diagram of a parsing node provided in the embodiment of the present disclosure. Based on the same technical concept as the embodiment corresponding to fig. 1, as shown in fig. 5, the parsing node provided by the embodiment of the present disclosure includes the following modules.
The receiving module 11 is configured to receive a verification request sent by the rework platform, where the verification request includes a rework examination receipt identifier and enterprise rework information, and the verification request is sent by the rework platform after receiving a rework examination receipt carrying the enterprise node identifier and the prevention and control center node identifier and sent by the prevention and control center.
And the obtaining module 12 is configured to obtain the rework identification analysis code according to the enterprise rework information.
A sending module 13, configured to send enterprise duplex uplink information to the duplex platform if the duplex identification analysis code is consistent with the duplex approval document identifier, where the enterprise duplex uplink information includes the duplex identification analysis code, so that the duplex platform generates a new block according to the enterprise duplex information and the duplex identification analysis code, and broadcasts the new block in a block chain.
Preferably, in the sending module, the duplication identity parsing code is consistent with the duplication approval sheet identity, and the method includes:
and the control center code in the rework identification analysis code is consistent with the control center node identification in the rework examination receipt identification, and the enterprise identification code in the rework identification analysis code is consistent with the enterprise node identification in the rework examination receipt identification.
Preferably, the method further comprises the following steps:
the receiving module 11 is further configured to receive a registration request which is sent by the rework platform and carries the prevention and control center code and the enterprise identification code of the enterprise to be audited.
And the generating module is used for generating a rework identification analysis code according to the prevention and control center code and the enterprise identification code.
Fig. 6 shows a schematic structural diagram of a parsing node provided in the embodiment of the present disclosure. Based on the same technical concept as the embodiment corresponding to fig. 3, as shown in fig. 6, the parsing node provided by the embodiment of the present disclosure includes the following modules.
A receiving module 21, configured to receive the enterprise uplink multiplexing information sent by the analysis node.
A first obtaining module 22, configured to obtain a duplex id analysis code in the enterprise duplex uplink information.
And the generating module 23 is configured to generate a new block according to pre-stored enterprise rework information and the rework identification analysis code.
Preferably, the generating module 23 is specifically configured to:
and generating the block head of the new block according to the rework identification analysis code.
And generating the block body of the new block according to the enterprise rework information.
Preferably, the method further comprises the following steps:
and the establishing module is used for establishing the mapping relation between the rework identification analysis code and the enterprise rework information.
Preferably, the method further comprises the following steps:
the receiving module 21 is further configured to receive an inquiry request sent by a user terminal.
And the second acquisition module is used for acquiring the rework identification analysis code in the query request.
And the determining module is used for determining the enterprise rework information corresponding to the rework identification analysis code according to the mapping relation.
And the sending module is used for sending the enterprise rework information to the user terminal.
It is to be understood that the above embodiments are merely exemplary embodiments that are employed to illustrate the principles of the present disclosure, and that the present disclosure is not limited thereto. It will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the disclosure, and these are to be considered as the scope of the disclosure.