Blockchain-based information management method, device, electronic device, and readable medium
Through the blockchain-based information management method, the user key and interpersonal relationship map are used to obtain archive information between blockchain, solving the problem of low information security and management efficiency, and realizing the authenticity, integrity and security of information sexual guarantee and simplify the information handover process between units.
Patent Information
- Application Number
- CN202111209058.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-18
- Publication Date
- 2024-12-13
- Estimated Expiration
- 2041-10-18
AI Technical Summary
The lack of a unified information management platform in the prior art leads to low information security and low management efficiency, especially when information handover between units is prone to tampering or loss, and the mutual trust is not high, resulting in a lengthy process.
Using blockchain-based information management methods, by receiving user keys and archive data, obtaining interpersonal relationship maps, determining selected objects and obtaining archive information from their private chains, and using the immutable and trace-keeping characteristics of blockchain to ensure information and improve mutual trust between units through key verification.
It improves the authenticity, integrity and security of archival information, simplifies the information handover process, and improves the information mutual trust and handover efficiency between units.
Smart Images

Figure CN114117464B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of blockchain technology, and in particular to a blockchain-based information management method, device, electronic device and readable medium. Background Art
[0002] The process of developing members for any organization is a serious process, and it is also a process with strict procedures, many steps and a long time span. From the preparatory stage to the stage of formally becoming a member of the organization, a large amount of staged archival information will be generated. According to the current single information management platform within the unit to manage archival information, it can only meet the management of internal procedural affairs. In the case of changes in the work of the target object, due to the lack of effective supervision means, the information security is low, and it is easy for the parties to tamper with or lose archival information. Moreover, if the mutual trust between the two units is not high, it is difficult for the archival information to be recognized by the new unit, and it is often necessary to issue multiple certificates. The process is lengthy, resulting in low information management efficiency. Therefore, it is necessary to provide a unified information management platform to improve information security and management efficiency. Summary of the invention
[0003] To this end, the present invention provides a blockchain-based information management method, device, electronic device and readable medium to solve the problems of low information security and management efficiency caused by the lack of unified information management in the prior art.
[0004] In order to achieve the above objectives, the present invention provides a blockchain-based information management method in a first aspect, comprising:
[0005] Receiving a user key from a first private chain; wherein the first private chain is a blockchain created by an initial unit of the target object, and the user key is a key for reading data in the first private chain;
[0006] Receiving the archival data of the target object, and acquiring the archival information of the target object based on the user key and the archival data; wherein the archival data of the target object is stored in the first private chain;
[0007] Acquire a relationship graph based on the profile information of the target object;
[0008] A selected object is determined based on the interpersonal relationship graph and profile information of the selected object is obtained, wherein the profile information of the selected object is stored in a second private chain created by an initial unit of the selected object.
[0009] Wherein, obtaining a relationship graph based on the profile information of the target object includes:
[0010] Sending a request for obtaining interpersonal relationships to the interpersonal relationship platform based on the profile information of the target object;
[0011] Receive interpersonal relationship return information returned by the interpersonal relationship platform; wherein the interpersonal relationship return information includes the interpersonal relationship map of the target object.
[0012] The step of determining a selected object based on the interpersonal relationship map and obtaining the profile information of the selected object includes:
[0013] Determine the selected object and the address of a second private chain corresponding to the selected object based on the interpersonal relationship graph; the second private chain is a blockchain storing the profile information of the selected object;
[0014] The profile information of the selected object is obtained from the second private chain.
[0015] The step of obtaining the profile information of the selected object from the second private chain includes:
[0016] Sending a request for obtaining archive information to the second private chain based on the address of the second private chain; wherein the request for obtaining archive information includes an identifier of the selected object;
[0017] Receive the archive data of the selected object returned by the second private chain; wherein the archive data includes the archive information of the selected object.
[0018] Before sending a request for obtaining archive information to the second private chain based on the address of the second private chain, the method further includes:
[0019] Sending a key request to the second private chain;
[0020] receiving key return information returned by the second private chain; wherein the key return information includes the archive key;
[0021] After receiving the archive data of the selected object returned by the second private chain, the method further includes:
[0022] verifying the profile data of the selected object based on the profile key;
[0023] In the case that the archive data of the selected object passes the verification, the archive information of the selected object is obtained from the archive data of the selected object.
[0024] After determining the selected object based on the interpersonal relationship map and obtaining the profile information of the selected object, the method further includes:
[0025] The audit result of the target object is determined based on the profile information of the selected object in the interpersonal relationship map.
[0026] The target object's archival information includes at least one of process information, authentication information and paper records.
[0027] In a second aspect, the present invention provides an information management device based on blockchain, comprising:
[0028] A receiving module, configured to receive a user key and archival data of a target object from a first private chain; wherein the first private chain is a blockchain created by an initial unit of the target object, and the user key is a key provided by the first private chain for reading data provided by the first private chain;
[0029] A first acquisition module, configured to acquire the archive information of the target object based on the user key and the archive data; wherein the archive data of the target object is stored in the first private chain;
[0030] A second acquisition module is used to acquire a relationship graph based on the profile information of the target object;
[0031] A determination module, used to determine a selected object based on a relationship graph;
[0032] The third acquisition module is used to acquire the archive information of the selected object, wherein the archive information is stored in a second private chain created by an initial unit of the selected object.
[0033] In a third aspect, the present invention provides an electronic device, including:
[0034] one or more processors;
[0035] A storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of the first aspects;
[0036] One or more I / O interfaces are connected between the processor and the memory and are configured to implement information interaction between the processor and the memory.
[0037] In a fourth aspect, the present invention provides a computer-readable medium having a computer program stored thereon, wherein when the program is executed by a processor, any one of the methods provided in the first aspect is implemented.
[0038] The present invention has the following advantages:
[0039] The information management method based on blockchain provided by the present invention stores the archival information of the target object in the first private chain created by the initial unit. When the current unit needs to call the archival information of the target object, the user key and archival data are obtained from the first private chain, and the archival information of the target object is obtained based on the user key and the archival data. Then, the interpersonal relationship map is obtained based on the archival information of the target object, and then the selected object is determined based on the interpersonal relationship map, and the archival information of the selected object is obtained from the second private chain. Since the archival data of the target object are all created and stored in the first private chain by the initial unit, even if the target object is transferred, the new unit can also obtain the archival data from the first private chain. Moreover, the archival information of the selected object is also created and stored in the second private chain by the initial unit. The information stored in the first private chain and the second private chain has the characteristics of blockchain such as non-tamperability and full traceability, thereby ensuring the authenticity, integrity and security of the archival information. Moreover, key verification is required when cross-chain acquisition of archival information, which improves the mutual trust of archival information between different units, simplifies the procedure of archival handover, and improves the efficiency of archival handover. BRIEF DESCRIPTION OF THE DRAWINGS
[0040] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. Together with the following specific embodiments, they are used to explain the present invention, but do not constitute a limitation of the present invention.
[0041] Figure 1 A flowchart of a blockchain-based information management method provided in an embodiment of the present application;
[0042] Figure 2 A schematic diagram of the interpersonal relationship map of employees in an embodiment of the present application;
[0043] Figure 3 A schematic diagram of the archive data of employees established by the initial unit in the first private chain in an embodiment of the present application;
[0044] Figure 4 A flowchart for obtaining the profile information of a selected object provided in an embodiment of the present application;
[0045] Figure 5 A schematic diagram of the structure of a blockchain-based information management device provided in an embodiment of the present application;
[0046] Figure 6 A functional block diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0047] The specific implementation of the present invention is described in detail below in conjunction with the accompanying drawings. It should be understood that the specific implementation described here is only used to illustrate and explain the present invention, and is not used to limit the present invention.
[0048] As used herein, the term "and / or" includes any and all combinations of one or more of the associated listed items.
[0049] The terms used in the present invention are only used to describe specific embodiments and are not intended to limit the present invention. As used in the present invention, the singular forms "a", "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise.
[0050] When the terms “comprising” and / or “made of…” are used in the present invention, it specifies the existence of the stated features, integers, steps, operations, elements and / or components, but does not exclude the existence or addition of one or more other features, integers, steps, operations, elements, components and / or groups thereof.
[0051] The embodiments of the present invention may be described with reference to plan views and / or cross-sectional views by way of ideal schematic views of the present invention. Therefore, the exemplary illustrations may be modified according to manufacturing techniques and / or tolerances.
[0052] Unless otherwise defined, all terms (including technical and scientific terms) used in the present invention have the same meaning as those commonly understood by those of ordinary skill in the art. It will also be understood that terms such as those defined in commonly used dictionaries should be interpreted as having a meaning consistent with their meaning in the context of the relevant art and the present invention, and will not be interpreted as having an idealized or overly formal meaning unless the present invention clearly defines it as such.
[0053] On the first aspect, an embodiment of the present invention provides an information management method based on blockchain, which can improve the authenticity, integrity and security of archival information, and can ensure mutual trust in archival information between different units, thereby improving the efficiency of archival handover.
[0054] Figure 1 A flowchart of a blockchain-based information management method provided in an embodiment of the present application. Figure 1 As shown, the information management method based on blockchain includes:
[0055] Step S101, receiving a user key from a first private chain.
[0056] The first private chain is a blockchain created by the initial unit of the target object, and the user key is a key provided by the first private chain for reading data in the first private chain.
[0057] In some embodiments, the initial unit of the target object is the unit that establishes an electronic file for the target object and stores the electronic file in the first private chain. The initial unit is usually the first unit that has an employment relationship with the target object. If the first unit does not establish an electronic file for the target object, the initial unit may be the second unit or the third unit, or a unit with a lower ranking, until the unit that establishes an electronic file for the target object. The initial unit may also be a unit of other nature such as the school where the target object is located. This embodiment does not limit the nature of the initial unit.
[0058] Since the first private chain is a blockchain created by the initial unit of the target object, other units need to use the user password of the first private chain to read the data in the first private chain. The user password can be sent by the initial unit of the target object to other units that are recognized, and other units can obtain the required electronic files from the first private chain based on the user key. Alternatively, the first private chain sends the user key to other private chains recognized by the initial unit of the target object, and units using other private chains can obtain the electronic files of the target object from other private chains through the user key.
[0059] It should be noted that for the sake of convenience in description, electronic archives will be referred to as archives below, and electronic archive information will be referred to as archive information.
[0060] Step S102: receiving archive data of a target object, and acquiring archive information of the target object based on a user key and the archive data.
[0061] The target object's archival data is stored in the first private chain, and the target object's archival data includes the target object's archive. The archival information includes but is not limited to the target object's identity information, employment time, job type, and necessary reward and punishment information.
[0062] Step S103, obtaining a relationship graph based on the profile information of the target object.
[0063] The target object's profile information includes the target object's basic information, such as name, age, gender, etc., and also includes the target object's interpersonal relationship information, such as the target object's immediate family members.
[0064] Figure 2 Schematic diagram of the interpersonal relationship map of employees in the embodiment of this application. Figure 2As shown, the interpersonal relationships in the interpersonal relationship map of employee X include one or more of spouse, father, mother, children, colleagues, teachers, and aunts. In some embodiments, the interpersonal relationship map may also include relationship degrees, which may be divided into multiple levels, such as relationship degrees A, B, and C. For example, the relationship degree corresponding to father, mother, spouse, and children is relationship degree A, the relationship degree of aunt is B, and the relationship degree of colleagues and teachers is C. With the help of relationship degrees, the required interpersonal relationships can be quickly obtained.
[0065] Step S104, determining the selected object based on the interpersonal relationship graph and obtaining the profile information of the selected object, wherein the profile information of the selected object is stored in a second private chain created by the initial unit of the selected object.
[0066] In some embodiments, the selected object of employee X is determined through the interpersonal relationship map, and then the profile information of the selected object is obtained. For example, if the selected object is the spouse of employee X, the profile information of the spouse of employee X is obtained from the second private chain.
[0067] The second private chain is created by the initial unit where the spouse of employee X works, and the second private chain stores the profile information of the spouse of employee X. The profile information may include the identity information, employment time, job type, and necessary reward and punishment information of the spouse of employee X.
[0068] In some embodiments, the archival data established by the initial unit of the target object in the first private chain includes not only the archival data of the target object, but also the archival data of other employees of the initial unit, that is, any unit can establish archival data for its employees and store the archival data in the first private chain.
[0069] Figure 3 Schematic diagram of the employee's profile data established by the initial unit in the first private chain in the embodiment of the present application. Figure 3As shown, the employee's profile data Block includes a data header and a data body, wherein the data header includes information such as the employee ID, hash value, Markle tree root, and timestamp. The data body includes a record number and data information, wherein the record number indicates the number of the record, and each employee can have Q records, wherein Q is an integer greater than or equal to 1. The data information may include reward information obtained by employees at different stages such as study and work. For example, the data information includes time 1: step 1, time 2: step 2, time 3: step 3, ..., time P: step P. Among them, the step represents an event, and the time represents the time when the event occurs. For example, the time October 1, 2020: obtain the title of engineer. Obtaining the title of engineer represents an event, and October 1, 2020 represents the time when the title of engineer is obtained. For another example, the time January 10, 2020: the time of joining the XX organization. The time of joining the XX organization represents an event, and January 10, 2020 represents the time of joining the XX organization.
[0070] In some embodiments, each unit builds its own private chain, such as Figure 3 As shown, unit n1 establishes the first private chain n1. If unit n1 is an employer, the first private chain n1 stores the file information of the employees of unit n1, such as the electronic file of employee 1, the electronic file of employee 2, ..., the electronic file of employee m. Unit n2 establishes the first private chain n2. If unit n2 is an educational institution, the first private chain n2 stores the file information of all students of unit n2. Of course, the first private chain n2 can also store the file information of employees employed by unit n2. Unit nN establishes the first private chain nN. The first private chain nN stores all the file information established by unit N. Each employee or student in any unit has a file data Block.
[0071] It should be pointed out that although Figure 3 Only three units are shown, but the present application is not limited to this. The present application does not limit the number of units and the number of employees in each unit.
[0072] For the convenience of description, the target object is used as a reference below, the private chain corresponding to the target object is called the first private chain, and the private chain corresponding to the selected object is called the second private chain.
[0073] In some embodiments, obtaining an interpersonal relationship map based on the profile information of the target object includes: sending an interpersonal relationship request to an interpersonal relationship platform based on the profile information of the target object; receiving interpersonal relationship return information returned by the interpersonal relationship platform; wherein the interpersonal relationship return information includes the interpersonal relationship map of the target object.
[0074] Among them, the interpersonal relationship platform has a network connection with each private chain, and the private chain that requests to obtain the interpersonal relationship map obtains the required interpersonal relationship map through the interpersonal relationship platform. After the private chain that initiates the request sends the interpersonal relationship request to the interpersonal relationship platform, the interpersonal relationship platform returns the interpersonal relationship map to the private chain. For example, the first private chain initiates to obtain the interpersonal relationship map of employee X from the interpersonal relationship platform, and the interpersonal relationship platform returns the interpersonal relationship map of employee X to the first private chain.
[0075] In some embodiments, determining a selected object based on a relationship graph and obtaining profile information of the selected object includes: determining the selected object based on the relationship graph and an address of a second private chain corresponding to the selected object; the address of the second private chain is a blockchain address storing profile information of the selected object; and obtaining profile information of the selected object from the second private chain.
[0076] The selected object and the corresponding second private chain address are determined according to the interpersonal relationship graph of the target object, and then a profile information request is sent to the second private chain address to obtain the profile information of the selected object. For example, the selected object is determined to be the father of employee X from the interpersonal relationship graph, and the second private chain address corresponding to the father of employee X can be obtained at the same time, and then a profile information request for the father of employee X is sent to the second private chain address to obtain the profile information of the father of employee X from the second private chain address.
[0077] In some embodiments, obtaining the profile information of the selected object from the second private chain includes: sending a profile information request to the second private chain; wherein the profile information request includes an identifier of the selected object; receiving profile data of the selected object returned by the second private chain; the profile data includes the profile information of the selected object.
[0078] The identifier of the selected object may be the name of the selected object, or may be other unique identifiers provided for the selected object.
[0079] The file information of the selected object is obtained from the second private chain corresponding to the selected object. The unit where the target object is located can send a file information request to the second private chain, and then receive the file data of the selected object returned by the second private chain, from which the file information of the selected object can be obtained.
[0080] In some embodiments, before sending the archive information request to the second private chain address, the method further includes: sending a key request to the second private chain; receiving key return information returned by the second private chain; wherein the key return information includes the archive key.
[0081] After receiving the archive data returned by the second private chain, the method further includes: verifying the archive data of the selected object based on the archive key; and obtaining the archive information of the selected object from the archive data of the selected object when the archive data of the selected object passes the verification.
[0082] In this embodiment, the archive information can flow between different private chains, but in order to improve the security of the archive information, it can be verified by a key.
[0083] In order to more clearly understand how the unit of the target object obtains the archive information of the selected object, the following example takes the first private chain corresponding to the target object A and obtains the archive information of the selected object through the interpersonal relationship platform and the second private chain corresponding to the selected object as an example.
[0084] Figure 4 This is a flowchart of obtaining the archive information of the selected object provided in the embodiment of the present application. Figure 4 As shown, the step of the first private chain acquiring the profile information of the selected object includes:
[0085] Step S401: The first private chain sends a request to obtain interpersonal relationships to the interpersonal relationship graph platform.
[0086] The first private chain is a private chain created by the current unit of the target object, and the current unit may be an initial unit of the target object.
[0087] The interpersonal relationship request includes the identifier of the target object, wherein the identifier of the target object may be the name of the target object or other unique identifier that can identify the target object.
[0088] Step S402: receiving interpersonal relationship return information returned by the interpersonal relationship graph platform, wherein the interpersonal relationship return information includes the interpersonal relationship graph of the target object.
[0089] After receiving the request sent by the first private chain, the interpersonal relationship platform obtains the interpersonal relationship map of the target object based on the identifier of the target object. The interpersonal relationship map includes not only the associated objects that have interpersonal relationships with the target object, but also the private chain addresses corresponding to the associated objects.
[0090] Step S403: Send a key request to the second private chain; wherein the second private chain is the private chain corresponding to the selected object.
[0091] The unit where the target object is located selects a selected object from the interpersonal relationship graph, obtains the private chain address of the selected object, that is, the second private chain address, and then sends a key request to the second private chain.
[0092] Step S404: receiving key return information returned by the second private chain, wherein the key return information includes the archive key.
[0093] Among them, the archive key can be used to verify the authenticity of the archive data. If the verification passes, the archive data is considered to be authentic and reliable.
[0094] Step S405: Send a request for obtaining archive information to the second private chain, wherein the request for obtaining archive information includes an identifier of the selected object.
[0095] In step S405, the unit where the target object is located sends a request for obtaining archive information to the second private chain through the first private chain. The archive information request includes the identifier of the selected object, so that the second private chain can retrieve the archive information of the selected object.
[0096] Step S406: receiving the archive data of the selected object returned by the second private chain.
[0097] The archive data of the selected object is obtained from the second private chain according to the identifier of the selected object, and the archive data of the selected object is returned to the first private chain.
[0098] The unit where the target object is located obtains the selected object's archival information based on the selected object's archival data and the key returned by the second private chain. The archival information contains the selected object's basic information, such as name, age, etc., and may also contain extended information such as title, rewards, and punishments. Based on this extended information, some characteristics of the selected object, such as work ability, character, etc., can be determined.
[0099] In some embodiments, the unit where the target object belongs verifies the archive data of the selected object based on the archive key, and obtains the archive information of the selected object from the archive data of the selected object when the archive data of the selected object passes the verification.
[0100] In some embodiments, the purpose of the target object's unit obtaining the selected object's profile information from the second private chain through the first private chain is to verify the target object, such as verifying whether the target object's study, life and political review meet preset standards.
[0101] Although this embodiment only introduces that the archive information of the selected object can be transferred between the first private chain and the second private chain, the present application is not limited to this, and the archive information stored in the private chain can be transferred between different private chains as long as the set conditions are met, such as through private key verification.
[0102] In some embodiments, the target object's archival information includes at least one of process information, certification information, and paper records. The process information includes, but is not limited to, one or more of the process of further study, the process of promotion, and the process of joining a legal organization. The information on further study records the time and location of further study, the process of promotion records the time, location, type of job title, etc., and the process of joining a legal organization includes the time and location of each stage of joining and other necessary information. The certification information includes, but is not limited to, information such as academic certification, job title certification, and organizational stage certification.
[0103] It should be noted that in this embodiment, the archival information and interpersonal relationship map are all within the scope permitted by law and are used within the specified scope with the consent of the parties.
[0104] The step division of the above methods is only for the purpose of clear description. When implemented, they can be combined into one step or some steps can be split and decomposed into multiple steps. As long as they include the same logical relationship, they are all within the scope of protection of this patent; adding insignificant modifications to the algorithm or process or introducing insignificant designs without changing the core design of the algorithm and process are all within the scope of protection of this patent.
[0105] The blockchain-based information management method provided in this embodiment stores the archival information of the target object in the first private chain created by the initial unit. When the current unit needs to call the archival information of the target object, the user key and archival data are obtained from the first private chain, and the archival information of the target object is obtained based on the user key and the archival data. Then, the interpersonal relationship map is obtained based on the archival information of the target object, and then the selected object is determined based on the interpersonal relationship map, and the archival information of the selected object is obtained from the second private chain. Since the archival data of the target object are all created and stored in the first private chain by the initial unit, even if the target object is transferred, the new unit can also obtain the archival data from the first private chain. Moreover, the archival information of the selected object is also created and stored in the second private chain by the initial unit. The information stored in the first private chain and the second private chain has the characteristics of blockchain such as non-tamperability and full traceability, thereby ensuring the authenticity, integrity and security of the archival information. Moreover, key verification is required when cross-chain acquisition of archival information, which ensures the mutual trust of archival information between different units, simplifies the archive handover procedure, and improves the efficiency of archive handover.
[0106] On the second aspect, an embodiment of the present invention provides an information management device based on blockchain, which can improve the authenticity, integrity and security of archival information, and can ensure mutual trust in archival information between different units, thereby improving the efficiency of archival handover.
[0107] Figure 5This is a schematic diagram of the structure of the information management device based on blockchain provided in the embodiment of the present application. Figure 5 As shown, the information management device 500 based on blockchain includes:
[0108] The receiving module 501 is used to receive the user key and the archive data of the target object from the first private chain.
[0109] The first private chain is a blockchain created by an initial unit of the target object, and the user key is a key provided by the first private chain for reading data provided by the first private chain.
[0110] In some embodiments, the initial unit of the target object is the unit that establishes an electronic file for the target object and stores the electronic file in the first private chain. The initial unit is usually the first unit that has an employment relationship with the target object. If the first unit does not establish an electronic file for the target object, the initial unit may be the second unit or the third unit, or a unit with a lower ranking, until the unit that establishes an electronic file for the target object. The initial unit may also be a unit of other nature such as the school where the target object is located. This embodiment does not limit the nature of the initial unit.
[0111] Since the first private chain is a blockchain created by the initial unit of the target object, other units need to use the user password of the first private chain to read the data in the first private chain. The user password can be sent by the initial unit of the target object to other units that are recognized, and other units can obtain the required electronic files from the first private chain based on the user key. Alternatively, the first private chain sends the user key to other private chains recognized by the initial unit of the target object, and units using other private chains can obtain the electronic files of the target object from other private chains through the user key.
[0112] The first acquisition module 502 is configured to obtain a key based on a user key.
[0113] The target object's archival data is stored in the first private chain, and the target object's archival data includes the target object's archive. The archival information includes but is not limited to the target object's identity information, employment time, job type, and necessary reward and punishment information.
[0114] The second acquisition module 503 is used to acquire a relationship graph based on the profile information of the target object.
[0115] The target object's profile information includes the target object's basic information, such as name, age, gender, etc., and also includes the target object's interpersonal relationship information, such as the target object's immediate family members.
[0116] The determination module 504 is used to determine the selected object based on the interpersonal relationship map.
[0117] The profile information of the selected object is stored in a second private chain created by the initial unit of the selected object.
[0118] In some embodiments, the selected object of employee X is determined through the interpersonal relationship map, and then the profile information of the selected object is obtained. For example, if the selected object is the spouse of employee X, the profile information of the spouse of employee X is obtained from the second private chain.
[0119] The second private chain is created by the initial unit where the spouse of employee X works, and the second private chain stores the profile information of the spouse of employee X. The profile information may include the identity information, employment time, job type, and necessary reward and punishment information of the spouse of employee X.
[0120] The third acquisition module 505 is used to acquire the archive information of the selected object, wherein the archive information is stored in the second private chain created by the initial unit of the selected object.
[0121] In the second acquisition module 503, the interpersonal relationship map is acquired based on the profile information of the target object, including: sending an interpersonal relationship request to the interpersonal relationship platform based on the profile information of the target object; receiving interpersonal relationship return information returned by the interpersonal relationship platform; wherein the interpersonal relationship return information includes the interpersonal relationship map of the target object.
[0122] In the determination module 504, the selected object is determined based on the interpersonal relationship map and the profile information of the selected object is obtained, including: determining the selected object and the address of the second private chain corresponding to the selected object based on the interpersonal relationship map; the address of the second private chain is the blockchain address storing the profile information of the selected object; and obtaining the profile information of the selected object from the second private chain.
[0123] The selected object and the corresponding second private chain address are determined according to the interpersonal relationship graph of the target object, and then a profile information request is sent to the second private chain address to obtain the profile information of the selected object. For example, the selected object is determined to be the father of employee X from the interpersonal relationship graph, and the second private chain address corresponding to the father of employee X can be obtained at the same time, and then a profile information request for the father of employee X is sent to the second private chain address to obtain the profile information of the father of employee X from the second private chain address.
[0124] In the third acquisition module 505, acquiring the profile information of the selected object from the second private chain includes: sending a profile information request to the second private chain; wherein the profile information request includes an identifier of the selected object; and receiving profile data of the selected object returned by the second private chain.
[0125] In another third acquisition module 505, a key request is sent to the second private chain; key return information returned by the second private chain is received; wherein the key return information includes an archive key; an archive information request is sent to the second private chain; wherein the archive information request includes an identifier of a selected object; archive data of the selected object returned by the second private chain is received, and the archive data of the selected object is verified based on the archive key; if the archive data of the selected object is verified, the archive information of the selected object is obtained from the archive data of the selected object.
[0126] The information management device based on blockchain provided in this embodiment stores the archival information of the target object in the first private chain created by the initial unit. When the current unit needs to call the archival information of the target object, the receiving module obtains the user key and archival data from the first private chain, the first acquisition module obtains the archival information of the target object based on the user key and the archival data, the second acquisition module obtains the interpersonal relationship map based on the archival information of the target object, the determination module determines the selected object based on the interpersonal relationship map, and the third acquisition module obtains the archival information of the selected object from the second private chain. Since the archival data of the target object are all created and stored in the first private chain by the initial unit, even if the target object is transferred, the new unit can obtain the archival data from the first private chain. Moreover, the archival information of the selected object is also created and stored in the second private chain by the initial unit. The information stored in the first private chain and the second private chain has the characteristics of blockchain such as non-tamperability and full traceability, thereby ensuring the authenticity, integrity and security of the archival information. Moreover, key verification is required when cross-chain acquisition of archival information, which ensures the mutual trust of archival information between different units, simplifies the procedure of archival handover, and improves the efficiency of archival handover.
[0127] It should be clear that the present invention is not limited to the specific configurations and processes described in the above embodiments and shown in the figures. For the convenience and brevity of description, a detailed description of the known methods is omitted here, and the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, which will not be repeated here.
[0128] Reference Figure 6 , an embodiment of the present invention provides an electronic device, comprising:
[0129] One or more processors 601;
[0130] A memory 602, on which one or more programs are stored, and when the one or more programs are executed by one or more processors, the one or more processors implement any one of the above-mentioned blockchain-based information management methods;
[0131] One or more I / O interfaces 603 are connected between the processor and the memory and are configured to implement information exchange between the processor and the memory.
[0132] Among them, the processor 601 is a device with data processing capabilities, including but not limited to a central processing unit (CPU); the memory 602 is a device with data storage capabilities, including but not limited to random access memory (RAM, more specifically SDRAM, DDR, etc.), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory (FLASH); the I / O interface (read-write interface) 603 is connected between the processor 601 and the memory 602, and can realize information interaction between the processor 601 and the memory 602, including but not limited to a data bus (Bus), etc.
[0133] In some embodiments, the processor 601 , the memory 602 , and the I / O interface 603 are connected to each other through a bus, and further connected to other components of the computing device.
[0134] This embodiment also provides a computer-readable medium on which a computer program is stored. When the program is executed by a processor, the blockchain-based information management method provided in this embodiment is implemented. To avoid repeated description, the specific steps of the blockchain-based information management method are not repeated here.
[0135] It will be appreciated by those skilled in the art that all or some of the steps, systems, and functional modules / units in the invented method described above may be implemented as software, firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules, or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store the desired information and can be accessed by a computer. In addition, it is well known to those skilled in the art that communication media typically contain computer-readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0136] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0137] Those skilled in the art will understand that although some embodiments described herein include certain features included in other embodiments but not other features, the combination of features from different embodiments is meant to be within the scope of the present embodiment and to form different embodiments.
[0138] It is to be understood that the above embodiments are merely exemplary embodiments used to illustrate the principles of the present invention, but the present invention is not limited thereto. For those of ordinary skill in the art, various modifications and improvements can be made without departing from the spirit and essence of the present invention, and these modifications and improvements are also considered to be within the scope of protection of the present invention.
Claims
1. A blockchain-based information management method, It is characterized in that include: Receiving a user key from a first private chain; wherein the first private chain is a blockchain created by an initial unit of the target object, and the user key is a key for reading data in the first private chain; Receiving the archival data of the target object, and acquiring the archival information of the target object based on the user key and the archival data; wherein the archival data of the target object is stored in the first private chain; Acquire a relationship graph based on the profile information of the target object; Determine a selected object based on the interpersonal relationship graph and obtain profile information of the selected object, wherein the profile information of the selected object is stored in a second private chain created by an initial unit of the selected object; Wherein, the acquiring of the interpersonal relationship graph based on the profile information of the target object comprises: sending an acquisition interpersonal relationship request to an interpersonal relationship platform based on the profile information of the target object; receiving interpersonal relationship return information returned by the interpersonal relationship platform; wherein the interpersonal relationship return information comprises the interpersonal relationship graph of the target object; The step of determining the selected object based on the interpersonal relationship graph and obtaining the profile information of the selected object includes: determining the selected object and the address of a second private chain corresponding to the selected object based on the interpersonal relationship graph; the second private chain is a blockchain storing the profile information of the selected object; obtaining the profile information of the selected object from the second private chain; Wherein, obtaining the profile information of the selected object from the second private chain comprises: sending a profile information obtaining request to the second private chain based on the address of the second private chain; wherein the profile information obtaining request comprises the identifier of the selected object; receiving the profile data of the selected object returned by the second private chain; wherein the profile data comprises the profile information of the selected object; Before sending a request for obtaining archive information to the second private chain based on the address of the second private chain, the method further includes: sending a key request to the second private chain; receiving key return information returned by the second private chain; wherein the key return information includes an archive key; After receiving the archive data of the selected object returned by the second private chain, the method further includes: verifying the archive data of the selected object based on the archive key; and obtaining the archive information of the selected object from the archive data of the selected object if the archive data of the selected object passes the verification.
2. The method according to claim 1, It is characterized in that After determining the selected object based on the interpersonal relationship map and obtaining the profile information of the selected object, the method further includes: The audit result of the target object is determined based on the profile information of the selected object in the interpersonal relationship map.
3. The method according to any one of claims 1-2, It is characterized in that The target object's archival information includes at least one of process information, authentication information and paper records.
4. An information management device based on blockchain, It is characterized in that include: A receiving module, configured to receive a user key and archive data of a target object from a first private chain; wherein the first private chain is a blockchain created by an initial unit of the target object, and the user key is a key for reading data in the first private chain; A first acquisition module, configured to acquire the archive information of the target object based on the user key and the archive data; wherein the archive data of the target object is stored in the first private chain; A second acquisition module is used to acquire a relationship graph based on the profile information of the target object; A determination module, used to determine a selected object based on a relationship graph; A third acquisition module is used to acquire the archive information of the selected object, wherein the archive information of the selected object is stored in a second private chain created by an initial unit of the selected object; Wherein, the acquiring of the interpersonal relationship graph based on the profile information of the target object comprises: sending an acquisition interpersonal relationship request to an interpersonal relationship platform based on the profile information of the target object; receiving interpersonal relationship return information returned by the interpersonal relationship platform; wherein the interpersonal relationship return information comprises the interpersonal relationship graph of the target object; Wherein, the determining of the selected object based on the interpersonal relationship graph and the obtaining of the profile information of the selected object include: determining the selected object and the address of a second private chain corresponding to the selected object based on the interpersonal relationship graph; the second private chain is a blockchain storing the profile information of the selected object; obtaining the profile information of the selected object from the second private chain; Wherein, obtaining the profile information of the selected object from the second private chain comprises: sending a profile information obtaining request to the second private chain based on the address of the second private chain; wherein the profile information obtaining request comprises the identifier of the selected object; receiving the profile data of the selected object returned by the second private chain; wherein the profile data comprises the profile information of the selected object; Before sending a request for obtaining archive information to the second private chain based on the address of the second private chain, the method further includes: sending a key request to the second private chain; receiving key return information returned by the second private chain; wherein the key return information includes an archive key; After receiving the archive data of the selected object returned by the second private chain, the method further includes: verifying the archive data of the selected object based on the archive key; and obtaining the archive information of the selected object from the archive data of the selected object if the archive data of the selected object passes the verification.
5. An electronic device, It is characterized in that include: one or more processors; A storage device having one or more programs stored thereon, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the method according to any one of claims 1 to 3; One or more I / O interfaces are connected between the processor and the memory and are configured to implement information interaction between the processor and the memory.
6. A computer readable medium having a computer program stored thereon, wherein the program, when executed by a processor, implements the method according to any one of claims 1 to 3.
Citation Information
Patent Citations
Information management method, device and equipment based on block chain and storage medium
CN110188109A
Block chain cross-chain data access method, device, adapter and system
CN111090661A
