Method, electronic device, and storage medium for sharing data
By employing a three-layer encryption mechanism and hash algorithm among multiple business systems, the problems of data leakage and resource waste in data sharing are solved, achieving secure and efficient data sharing and ensuring user information ownership.
Patent Information
- Application Number
- CN202380012420.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-12-20
- Publication Date
- 2026-11-20
- Estimated Expiration
- 2043-12-20
AI Technical Summary
The lack of mutual authentication between the parties involved in data sharing in existing technologies leads to a high risk of data leakage, and centralized data storage results in resource waste and high operating costs.
A data sharing method among multiple business systems is adopted, which uses a three-layer encryption mechanism of user public key, data request public key and server platform public key to ensure data transmission security. The server platform private key is used for decryption, and a transaction certificate is generated by combining a hash algorithm to achieve efficient and secure data sharing.
It enables secure data sharing among multiple business systems, reduces the risk of data leakage, minimizes resource waste, improves the timeliness of data transmission, and ensures data quality and user ownership of information.
Smart Images

Figure CN120530601B_ABST
Abstract
Description
Technical Field
[0001] This disclosure belongs to the field of data sharing technology, and specifically relates to a method, electronic device and computer-readable storage medium for data sharing among multiple business systems. Background Technology
[0002] With the rapid development of computer and information technology, enterprises and institutions have increasingly greater and higher demands for data, and these demands are constantly changing. Furthermore, these enterprises and institutions often need to collaborate, which necessitates data sharing. For example, sharing company A's data with company B.
[0003] In existing data sharing technologies, the lack of mutual authentication between the sharing parties makes it impossible to prevent data leaks caused by malicious intrusion and data theft. Furthermore, storing all shareable data on a single server or in the cloud is problematic. In practical applications, this "sharing center" becomes cumbersome and redundant as data volume increases dramatically, requiring correspondingly larger amounts of network and server resources. Moreover, due to the wide range of data sources, the subsequent operation, integration, and maintenance costs are extremely high. Summary of the Invention
[0004] The present invention aims to at least solve one of the technical problems existing in the prior art, and to provide a method, electronic device and computer-readable storage medium for data sharing between multiple business systems that is low-cost, timely and secure.
[0005] Firstly, the technical solution adopted to solve the technical problem of the present invention is a method for data sharing among multiple business systems, wherein the business system that sends the user data request is a first business system, and the business system that receives the user data request is a second business system. The method is applied to a server platform, and the method includes:
[0006] Receive the user's public key, data request public key, and user data request sent by the first business system;
[0007] Based on the data request public key, the user data request, user public key, data request public key, and server platform public key are sent to the second business system, so that the second business system can perform data query and encrypt the data in the order of the data request public key, server platform public key, and user public key to obtain the second shared data, and send it to the first business system.
[0008] The system receives third shared data sent by the first business system, decrypts the third shared data based on the server platform's private key, and returns it to the first business system; wherein,
[0009] The third shared data is obtained by the first business system from decrypting the second shared data based on the data request private key.
[0010] In some embodiments, the method further includes:
[0011] After sending the user data request, user public key, data request public key, and server platform public key to the second business system, the first relevant information of the user data request event is recorded.
[0012] In some embodiments, the method further includes:
[0013] After decrypting the third shared data based on the server platform's private key and returning it to the first business system, the second relevant information of the user data request event is recorded.
[0014] In some embodiments, the method further includes:
[0015] Receive the association request from the first business system;
[0016] Based on the association request, a data request key pair is created for the first business system and synchronized to the first business system. The data request key pair includes a data request public key and a data request private key.
[0017] In some embodiments, the method further includes: recording basic information of the first business system, wherein the basic information of the first business system includes the name of the first business system and a data request public key and a data request private key.
[0018] In some embodiments, the method further includes:
[0019] Based on the data request public key, determine whether the first business system is associated with the server platform;
[0020] If the first business system is associated with the server platform, it sends the user data request, user public key, data request public key, and server platform public key to the second business system.
[0021] In some embodiments, the method further includes: generating a first transaction certificate based on the first relevant information using a hash algorithm; and / or
[0022] A second transaction certificate is generated based on the second relevant information using a hash algorithm.
[0023] Secondly, this disclosure also provides a method for data sharing among multiple service systems, wherein the service system that sends the user data request is a first service system, and the service system that receives the user data request is a second service system. The method is applied to the first service system, and the method includes:
[0024] Send the user data request, user public key, and data request public key to the server platform, so that the server platform sends the user data request, user public key, data request public key, and server platform public key to the second business system;
[0025] The system receives second shared data sent by the second business system, performs a first-level decryption on the second shared data based on the data request private key, and sends it to the server platform so that the server platform can perform a second-level decryption on the second shared data that has undergone the first-level decryption.
[0026] The second shared data is obtained by the second business system through data query based on the user data request and by performing three layers of encryption in the order of the data request public key, the server platform public key, and the user public key;
[0027] The system receives the second shared data sent by the server platform, performs second-level decryption, and performs third-level decryption based on the user's private key.
[0028] In some embodiments, the first business system stores a correspondence between a user's first business system account and a user key pair, wherein the user key pair includes a user public key and a user private key, and the method further includes:
[0029] The user's first business system account is received;
[0030] Based on the user's first business system account, the user's public key is determined and a user data request is generated by mapping the user's first business system account to the user's public key.
[0031] In some embodiments, determining the user's public key and generating a user data request based on the correspondence between the user's first business system account and the user key pair includes:
[0032] Determine whether the user's first business system account has a corresponding user key pair.
[0033] If it exists, determine the user's public key and generate a user data request;
[0034] Otherwise, determine whether the user's second business system account has a corresponding user key pair, obtain a first determination result, and determine the user's public key and generate a user data request based on the first determination result.
[0035] In some embodiments, determining the user's public key and generating a user data request based on the first determination result includes:
[0036] If the user's second business system account does not have a corresponding user key pair, then create a user key pair corresponding to the first business system account, determine the user's public key, and generate a user data request.
[0037] If the user’s second business system account has a corresponding user key pair, determine whether to associate the user’s second business system account with the first business system account to obtain a second determination result.
[0038] Based on the second judgment result, the user's public key is determined and a user data request is generated.
[0039] In some embodiments, when a user's first business system account has a corresponding user key pair, determining the user's public key and generating a user data request includes:
[0040] Determine whether the user's private key is escrowed or whether the user carries the user's private key;
[0041] When the user's private key is not entrusted to a third party and the user does not carry the private key, it is determined whether the user carries the key pair corresponding to the second business system account, and a third determination result is obtained.
[0042] Based on the third judgment result, the user's public key is determined and a user data request is generated.
[0043] In some embodiments, determining the user's public key and generating a user data request based on the third determination result includes:
[0044] If the user does not carry the user key pair corresponding to the second business system account, then create the user key pair corresponding to the first business system account, determine the user public key, and generate a user data request.
[0045] If the user carries the user key pair corresponding to the second business system account, then determine whether to associate the user key pair corresponding to the user's second business system account with the first business system account, and obtain a second determination result;
[0046] Based on the second judgment result, the user's public key is determined and a user data request is generated.
[0047] In some embodiments, determining the user's public key and generating a user data request based on the second determination result includes:
[0048] If the user's second business system account is not associated with the first business system account, then a user key pair corresponding to the first business system account is created, and the user's public key is determined and a user data request is generated.
[0049] If the user's second business system account has a corresponding user key pair associated with the first business system account, then the user's public key is determined and a user data request is generated.
[0050] In some embodiments, if the user's second business system account has a corresponding user key pair associated with the first business system account, then determining the user's public key and generating a user data request includes:
[0051] Determine whether the user carries the user public key corresponding to the second business system account;
[0052] If so, determine the user's public key and generate a user data request;
[0053] Otherwise, create a user key pair corresponding to the first business system account, determine the user public key, and generate a user data request.
[0054] In some embodiments, the method further includes:
[0055] Modify the state of the user's private key based on the user's first instruction;
[0056] Based on the modified user private key status, determine whether the user's user private key is escrowed or whether the user carries the user private key.
[0057] In some embodiments, modifying the state of the user's private key based on the user's first instruction includes:
[0058] When the user's first instruction is to change the user's private key from unmanaged to managed, determine whether the user carries the user's private key.
[0059] If so, the current user's private key status will be modified; otherwise, it cannot be modified.
[0060] Thirdly, this disclosure also provides a method for data sharing among multiple service systems, wherein the system sending the user data request is a first service system, the service system receiving the user data request is a second service system, and the method is applied to the second service system, the method comprising:
[0061] Receive user data requests, user public keys, data request public keys, and server platform public keys sent by the server platform;
[0062] The user's identity is determined based on the user's public key, and the first shared data is determined based on the user's data request;
[0063] The first shared data is encrypted in three layers according to the data request public key, the server platform public key, and the user public key to obtain the second shared data, which is then sent to the first business system. The first business system then performs a first layer of decryption on the second shared data based on the data request private key and sends it to the server platform. The server platform then performs a second layer of decryption based on the server platform private key and returns it to the first business system. Finally, the first business system performs a third layer of decryption based on the user private key.
[0064] Fourthly, embodiments of this disclosure also provide an electronic device, comprising:
[0065] processor;
[0066] Memory used to store processor-executable instructions, wherein,
[0067] The processor is configured to invoke instructions stored in the memory to execute the method described in any of the embodiments of the first, second, and third aspects described above.
[0068] Fifthly, embodiments of this disclosure also provide a computer-readable storage medium storing computer program code for data sharing among multiple service systems, wherein the computer program code, when executed by a processor, implements the methods described in any of the embodiments of the first, second, and third aspects described above. Attached Figure Description
[0069] Figure 1 A schematic diagram illustrating a shared alliance based on a multi-service system, provided as an embodiment of this disclosure;
[0070] Figure 2 A flowchart illustrating data sharing between multiple service systems is provided as an embodiment of this disclosure;
[0071] Figure 3 This is a schematic diagram illustrating the binding of various business systems with user public keys, provided as an embodiment of this disclosure.
[0072] Figure 4 A schematic diagram illustrating the correspondence between a business system and a business application (BA) plugin, provided in an embodiment of this disclosure;
[0073] Figure 5 A flowchart illustrating another data sharing method among multiple service systems provided in this disclosure embodiment;
[0074] Figure 6 A flowchart for determining a user's public key is provided as an embodiment of this disclosure;
[0075] Figure 7 A flowchart for modifying a user's private key is provided as an embodiment of this disclosure;
[0076] Figure 8 A flowchart illustrating another data sharing method among multiple service systems provided in this disclosure embodiment;
[0077] Figure 9 This is a flowchart illustrating a method for data sharing between multiple service systems, as provided in an embodiment of this disclosure. Detailed Implementation
[0078] To enable those skilled in the art to better understand the technical solution of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments.
[0079] Unless otherwise defined, the technical or scientific terms used in this disclosure shall have the ordinary meaning understood by one of ordinary skill in the art to which this disclosure pertains. The terms “first,” “second,” and similar terms used in this disclosure do not indicate any order, quantity, or importance, but are merely used to distinguish different components. Similarly, the terms “an,” “a,” or “the,” and similar terms do not indicate a quantity limitation, but rather indicate the presence of at least one. The terms “including,” “comprising,” or “containing,” and similar terms mean that the element or object preceding the word encompasses the elements or objects listed following the word and their equivalents, without excluding other elements or objects. The terms “connected,” “linked,” or similar terms are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. The terms “upper,” “lower,” “left,” and “right,” etc., are used only to indicate relative positional relationships, and these relative positional relationships may change accordingly when the absolute position of the described objects changes.
[0080] In real life, there are needs involving the integration of data across multiple business systems, such as viewing monthly online shopping and ride-hailing spending and order details, or doctors viewing all patient medical records or health records. These needs typically involve multiple applications (apps) or backend data from different entities. For business protection and data privacy and security reasons, it is generally difficult for different entities to mutually open their data. Even if data could be shared between entities, there are still technical challenges such as identifying unique users (connecting the main indexes of each entity) due to the potential differences in user information across multiple entities, resulting in a huge workload.
[0081] Figure 1This is a schematic diagram illustrating a shared alliance based on a multi-service system, as provided in an embodiment of this disclosure. Figure 1 As shown, the data sharing alliance includes multiple business systems and at least one server platform 30. Each business system can share data in real time with other business systems in the alliance through the server platform 30. Each business system in the alliance can act as a data requester to send data requests to one or more other business systems and has the right to access information from each other; similarly, each business system in the alliance can also act as a data sharer, with the obligation to maintain the high quality of its own business system's data and to provide high-quality data to one or more other business systems.
[0082] Compared to a centralized data aggregation platform, the sharing alliance provided in this disclosure allows each business system to act as a rights holder with certain rights to access information, while also acting as an obligor to provide the necessary data to other business systems, thus having a greater incentive to maintain data quality.
[0083] Figure 2 A flowchart illustrating data sharing between multiple service systems is provided as an embodiment of this disclosure. This method can be used as follows: Figure 1 In the shared alliance shown. For example... Figure 2 As shown in this embodiment, the business system that sends user data requests in a multi-service system is the first business system 20, and the business system that receives user data requests is the second business system 20. The method is applied to a server platform 30, and the method includes:
[0084] S201: Receive the user public key, data request public key and user data request sent by the first business system 10.
[0085] S202: Based on the data request public key, send the user data request, user public key, data request public key and server platform public key to the second business system 20, so that the second business system 20 can perform data query and encrypt it in the order of data request public key, server platform public key and user public key to obtain the second shared data, and send it to the first business system 10.
[0086] S203: Receive the third shared data sent by the first business system 10, and decrypt the third shared data based on the server platform private key to obtain the fourth shared data; and return the fourth shared data to the first business system 10.
[0087] The third shared data is obtained by the first business system 10 from the second shared data by decrypting it based on the data request private key.
[0088] Specifically, the user's public key is used to verify a user's unique identity across multiple business systems (first business system 10 and second business system). The same user may register different personal information for corresponding business system accounts in different business systems. For example, user A might register an account in first business system 10 using a mobile phone number, and in second business system 20 using an ID card number. Or, user A's username in first business system 10 might be 'a', and their username in second business system 20 might be 'b'. To determine whether the user in first business system 10 and second business system 20 is the same user, each user is uniquely assigned a user public key, and the same user public key is used across all business systems. Between the user and the business systems, mutual recognition is achieved using the business system account or username; between multiple business systems, the user public key is used to verify the same user. The user's public key can be created by any business system and bound to one or more other business systems. Between business systems that have bound user public keys, mutual recognition between the business system and the user can be achieved using the user public key.
[0089] For example, a data sharing consortium includes business systems A, b, c, d, e, and f. Business system A is designated as the first business system 10, and the other business systems are designated as the second business system 20. Business system A binds its user public key with business systems a, b, c, and d, enabling data sharing with these systems, but not with business systems e and f, which are not bound by user public key binding. Specifically, based on user privacy requirements, the first business system 10 can be bound to one or more of the second business systems 20 via user public key binding to achieve data sharing among multiple business systems.
[0090] Figure 3 This is a schematic diagram illustrating the binding of various business systems with user public keys, provided as an embodiment of this disclosure. For example... Figure 3 As shown, user X uses the same public key across various business systems.
[0091] It should be noted that a user can have multiple public keys within a shared consortium. Business systems that use the same public key for public key binding can mutually recognize each other using the same public key. This allows for data sharing of different data information across different business systems based on user needs. For example, user A has public key 1 and public key 2. The shared consortium includes business systems A, a, b, c, d, e, and f. Business system A is designated as the first business system 10, and the other business systems are designated as the second business system 20. Business system A uses public key 1 to bind with business systems a, b, c, and d to achieve data sharing of information 1; business system A uses public key 2 to bind with business systems a, c, e, and f to achieve data sharing of information 2.
[0092] In some embodiments, when the same user has multiple sets of user public keys, the first business system 10 selects the currently required user public key according to the user's instructions and sends the required user public key to the server platform 30 to achieve data sharing of the information required by the current user.
[0093] The data request public key is used to verify the identity of the first business system 10. The server platform 30 uses the data request public key to verify whether the first business system 10 is a business system that has joined the sharing alliance. Different business systems should each have an independent data request key pair, which cannot be mixed. This data request key pair plays an important role in the mutual recognition between the business system and the server platform 30 and in the data decryption process (data decryption will be described in detail below).
[0094] The server platform public key is used to verify the identity of server platform 30. Multiple server platforms 30 can coexist within a shared consortium, facilitating business expansion and regulatory oversight. Each server platform 30 corresponds to a single server platform public key. During data sharing between the first business system 10 and the second business system 20, the identity of server platform 30 is verified using its public key.
[0095] User data requests refer to the shared data required by users, including but not limited to metrics to be queried, time ranges, etc.
[0096] The entire process of data sharing between the first business system 10 and the second business system 20 is as follows:
[0097] The first business system 10 receives a user's personal information, which may be the user's first business system account, username, or other personal information. Based on this information, the first business system 10 determines the user's public key to verify if the user is registered within the system. Then, the first business system 10 generates a corresponding user data request according to the user's instructions. Finally, the first business system 10 sends the user's public key, data request public key, and user data request to the server platform 30.
[0098] After receiving the user public key, data request public key and user data request sent by the first business system 10, the server platform 30 first determines whether the first business system 10 has joined the shared system where the server platform 30 is located based on the data request public key. After determining the identity of the first business system 10, the server platform 30 sends the user data request, user public key, data request public key and server platform public key together to the second business system 20.
[0099] The second business system 20 determines the user's identity based on the user's public key and whether the user has corresponding personal information in the second business system 20, such as a second business system account or a username corresponding to the second business system. If the user has corresponding personal information in the second business system 20, it means that the user has registered in the second business system 20, and the user's information exists in the second business system 20. Based on the user's data request, a data query is performed to determine the first shared data, wherein the first shared data is the shared data corresponding to the user's data request obtained by the second business system 20.
[0100] To ensure the security of shared data during transmission, the first shared data is encrypted in three layers according to the data request public key, server platform public key, and user public key in that order to obtain the second shared data, which is then sent to the first business system 10. Meanwhile, in this embodiment, the second business system 20 directly sends the second shared data to the first business system 10. Compared to the prior art where the centralized data aggregation platform's second business system 20 periodically updates or uploads data to the transaction center 30, and the first business system 10 then obtains the required data from the transaction center 30, the data sharing method in this embodiment ensures better timeliness.
[0101] After receiving the second shared data sent by the second business system 20, the first business system 10 first performs a first-level decryption of the second shared data based on the data request private key to obtain the third shared data, and then sends it to the server platform 30.
[0102] After receiving the third shared data, the server platform 30 uses its private key to perform a second-level decryption of the third shared data to obtain the fourth shared data, which is then sent to the first business system 10.
[0103] The first business system uses the user's private key to perform a third layer of decryption on the fourth layer of shared data, ultimately obtaining the fifth layer of shared data that can be viewed by the user. This achieves decryption uniqueness, ensuring that only the user can use their private key to decrypt the final layer of data encryption, thus giving the individual user true ownership of their personal information.
[0104] It is understandable that the first shared data in the second business system 20 may also be empty. That is, although the user's information exists in the second business system 20, there is no shared data corresponding to the user's data request. When the first shared data in the second business system 20 is empty, there is no need to encrypt the first shared data to obtain the second shared data, nor is it necessary to send it to the first business system 10. Subsequently, neither the first business system 10 nor the server platform 30 needs to perform decryption operations on it.
[0105] The data sharing method among multiple business systems provided in this disclosure has the following aspects: First, multiple business systems in a data sharing alliance agree to have the right to access each other's information and also have the obligation to maintain the high quality of their respective business system data. Compared to a centralized data aggregation platform, the business systems themselves benefit more and are more motivated to maintain data quality. Second, the first business system 10 and the second business system 20 confirm the identity of the same user through the user's public key, eliminating the need for complex development work such as connecting the master indexes of all business systems in the sharing alliance, thus reducing difficulty. Third, the first business system 10 directly retrieves information from the current databases of each business system in the second business system 20, eliminating update or upload delays and ensuring timely acquisition of the required data. Compared to a centralized data aggregation platform that updates or uploads data periodically, timeliness is better guaranteed. Fourth, during data transmission, a three-layer encryption mechanism is used to achieve decryption uniqueness. Only the individual user's private key can decrypt the last layer of data encryption, enabling individual users to truly own their personal information and ensuring information security.
[0106] In some embodiments, the data sharing method includes not only the above steps S201, S202 and S203, but also, after returning the fourth shared data to the first business system 10 in step S202, S2021: recording the first relevant information of the user data request event.
[0107] In some embodiments, the data sharing method includes not only the above steps S201, S202, S2021 and S203, but also, after returning the fourth shared data to the first business system 10 in step S203, S2031: recording the second relevant information of the user data request event.
[0108] Specifically, a user data request event refers to the process by which the first business system 10 sends a user's data request to the second business system 20 via the server platform 30, and ultimately obtains the required shared data. The first relevant information refers to the traces of the request made by the first business system 10 in this user data request event, including but not limited to the name of the first business system 10, the time when the first business system 10 sent the user data request to the server platform 30, and the user's public key, one or more of these three.
[0109] The second relevant information refers to the traces of shared data in the second business system during this user data request event, including but not limited to the name of the second business system 20 and the time when the second business system 20 returns the second shared data to the first business system 10.
[0110] In the method of this disclosure embodiment, the server platform 30 records the first and second relevant information in the user data request event to form a standardized, efficient, and traceable data sharing method.
[0111] In some embodiments, the data sharing method includes not only the steps S201, S202, S2021, S203, and S2031 described above, but also: generating a first transaction certificate based on first relevant information using a hash algorithm; and / or generating a second transaction certificate based on second relevant information using a hash algorithm.
[0112] Specifically, a hash algorithm refers to transforming an input of arbitrary length into a fixed-length output, which is called the hash value. A Merkle Tree can be constructed using hash algorithms. A Merkle Tree is a tree-like data structure commonly used to verify the integrity and consistency of large-scale datasets. Merkle Trees are widely used in cryptography, distributed systems, and blockchains. Especially in blockchains, they are used to verify the integrity of transactions and blocks, ensuring that data is not tampered with. A Merkle Tree is a binary tree where each leaf node contains the hash value of a data block, and each non-leaf node contains a combination of the hash values of its child nodes (usually a concatenation or hash of child node hashes). This structure makes Merkle Trees highly efficient for verification, because at any given time, only a small subset of the nodes' hash values need to be verified to confirm the integrity of the entire dataset. The root node of a Merkle Tree is called the Merkle Root. It is the top-level node of the tree and contains the hash value of the entire dataset. Using the Merkle Root as a transaction credential ensures data immutability, forming a standardized, efficient, and traceable method for data sharing. In some implementation rates, this data-sharing method can meet auditing needs.
[0113] In some embodiments, the data sharing method includes not only the steps S201, S202, and S203 described above, but also the step:
[0114] S204. Receive the association request from the first business system 10.
[0115] S205. Create a data request key pair for the first business system 10 based on the association request and synchronize it to the first business system 10. The data request key pair includes a data request public key and a data request private key.
[0116] Specifically, when a business system wishes to join the sharing alliance, it needs to submit an association request to the server platform 30. Upon receiving the association request, the server platform 30 creates a data request key pair for the business system and synchronizes it with the business system. When the business system 10, acting as the first business system 10, sends a user data request to the server platform 30, the server platform determines whether the first business system 10 is a member of the sharing alliance based on its data request public key. Only after the first business system 10 joins the sharing alliance can it share data with the second business system 20 within the alliance.
[0117] In some embodiments, the data sharing method further includes: recording basic information of the first business system 10, the basic information of the first business system 10 including the name of the first business system 10 and a data request public key and a data request private key.
[0118] Specifically, after the server platform 30 creates a data request key pair for the business system based on the association request of the business system, it will also record the name of the business system and its data request public key and data request private key to form a correspondence between the name of the business system and its data request key pair. So that when the first business system 10 sends the data request public key and user data request to the server platform 30, the server platform 30 can determine whether the first business system 10 is a business system that has joined the sharing alliance based on the stored correspondence between the name of the business system and its data request key pair.
[0119] In some embodiments, the data sharing method further includes: determining whether the first business system 10 is associated with the server platform 30 based on the data request public key. If the first business system 10 is associated with the server platform 30, the user data request, user public key, and data request public key are sent to the second business system 20; otherwise, the user data request, user public key, and data request public key are not sent to the second business system 20, and the data request event ends.
[0120] Specifically, if the first business system 10 is associated with the server platform 30, and it is determined that the first business system 10 is a business system that has joined the sharing alliance, it can obtain the required shared data from the second business system 20 through the server platform 30; if the first business system 10 is not associated with the server platform 30, and it is determined that the first business system 10 is not a business system that has joined the sharing alliance, then the data request event ends.
[0121] In this embodiment of the disclosure, different business systems each have independent data request key pairs that cannot be mixed. These data request key pairs play an important role in the mutual recognition between the business systems and the server platform 30.
[0122] In some embodiments, when a business system wishes to join a data sharing alliance, it submits an association application to the sharing alliance server platform 30. The server platform 30 records basic information such as the business system name, invites the business system to download the BA plugin, and creates and synchronizes the BA's data request public key, data request private key, and initial administrator account and password with the business system. After authentication using the data request public key and data request private key, the business system installs the BA plugin, logs in with administrator privileges, and performs a series of operations such as account management and metric maintenance.
[0123] Figure 4 This is a schematic diagram illustrating the correspondence between a business system and a plugin (BA) as provided in an embodiment of this disclosure.
[0124] Each business system in the shared alliance has a Business Analyst (BA) plugin installed. The BA is responsible for data interfacing with the business system. Each BA installed on a different business system should have an independent key pair, which cannot be mixed. This key pair plays a crucial role in the mutual recognition and data decryption process between the business system BA and the server platform.
[0125] It should be noted that after each business system sends an association request to the server platform 30, and the server platform 30 creates a data request key pair corresponding to that business system, the server platform 30 can directly send the data request key pair and other information to the business system for storage. The business system stores the correspondence between personal user business system accounts and key pairs, issues data sharing requests, and receives data sharing information. Alternatively, the server platform 30 can invite the business system to download a plugin. After authentication using the data request key pair created by the server platform, the business system installs the plugin BA. The plugin BA is embedded in the business system, and its functions, including storing the correspondence between personal user business system accounts and key pairs, issuing data sharing requests, and receiving data sharing information, can all be performed by the plugin BA embedded in the business system. This disclosure does not limit the scope of this process.
[0126] In some embodiments, the plugin may include two parts: a Request Block Agent (RBA) and a Data Block Agent (DAB). The Request Block Agent (RBA) can create personal user key pairs, store the correspondence between personal user business system accounts and key pairs, issue data sharing requests, and receive data sharing information, and is operated by the institutional user. The Data Block Agent (DAB) is a plugin that determines the personal user business system account to be shared, interfaces with the business system, and retrieves the user information.
[0127] In some embodiments, the data sharing method further includes: the server platform 30 creating standard indicators according to preset rules, such as national standards, and pushing them to various business systems; each business system maintaining its own indicators according to the standard indicators created by the server platform 30, and confirming the correspondence between its own indicators and the standard indicators.
[0128] In this embodiment of the disclosure, the server platform 30 unifies the standards. Compared with a centralized data aggregation platform, the various business systems within the sharing alliance communicate with each other using standard indicators, avoiding confusion such as multiple names for one indicator, and ensuring strong standardization.
[0129] In some embodiments, the data sharing method further includes: the server platform 30 maintaining the standard metric based on user instructions.
[0130] In some embodiments, the standard indicator is maintained based on user instructions, including: starting / stopping existing standard indicators, modifying the type name of existing standard indicators, the name of standard indicators, and adding new standard indicators.
[0131] This embodiment maintains the standard indicators through the server platform 30, and can update the standard indicators stored in the server platform 30 in a timely manner as needed, making it more convenient for users to query.
[0132] In some embodiments, the data sharing method can be applied to multiple fields such as education, commerce, and healthcare. Taking healthcare as an example, the first business system 10 and the second business system 20 can be hospital systems of various hospitals, and the users can be medical staff or patients.
[0133] For example, when a patient goes to the hospital for a consultation / follow-up, the doctor handles the process. The current hospital system is the first business system, and all hospitals or medical institutions covered by the Medical Data Sharing Alliance constitute the second business system. The doctor enters the patient's first business system account into the first business system. After the first business system (or its plugins) confirms the patient's public and private keys, it sends a request for the patient's consultation / follow-up / daily monitoring records to the server platform. The server platform then sends this request to the business systems of all hospitals or medical institutions covered by the Medical Data Sharing Alliance. These business systems retrieve the relevant patient records, encrypt them, and sequentially return them to the first business system. The server platform then automatically decrypts the records before returning them to the first business system. Finally, the data is decrypted using the user's private key to obtain the final data, allowing the doctor to comprehensively understand the patient's medical history, medication history, and other information.
[0134] For example, hospital operations staff, for research / statistical needs, might access patient data using escrow user private keys. This access is performed by the hospital operations staff as administrators. The current hospital system is the first business system, and all hospitals or medical institutions covered by the medical data sharing alliance constitute the second business system. The hospital operations staff logs into the administrator account of the first business system and sends the research / statistical request for the patient using the escrow user private key to the server platform. The server platform then forwards the request to the business systems of all hospitals or medical institutions covered by the medical data sharing alliance. These business systems retrieve the relevant research / statistical data for the patient using the escrow user private key, encrypt it, and sequentially return it to the first business system, then the server platform, and finally the first business system again for decryption to obtain the final data. This data allows the hospital operations staff to perform research / statistical analysis based on the patient data using the escrow user private key.
[0135] Based on the same inventive concept, this disclosure provides another method for data sharing between multiple business systems, which is applied to a first business system 10. Figure 5 This disclosure provides another method for data sharing between multiple service systems, which can be applied to... Figure 1 In the shared alliance shown, the business system that sends user data requests in the multi-service system is the first business system 10, and the business system that receives user data requests is the second business system 20. This method is applied to the first business system 10, and the method includes:
[0136] S501: Send the user data request, user public key, and data request public key to the server platform, so that the server platform sends the user data request, user public key, data request public key, and server platform public key to the second business system.
[0137] S502: Receive the second shared data sent by the second business system 20, decrypt the second shared data based on the data request private key to obtain the third shared data, and send the third shared data to the server platform 30 so that the server platform 30 can decrypt the third shared data to obtain the fourth shared data.
[0138] The second shared data is obtained by the second business system 20 through data query based on user data requests and by encrypting the data in the order of the data request public key, the server platform public key, and the user public key.
[0139] S503: Receive the fourth shared data sent by the server platform 30, and decrypt the fourth shared data based on the user's private key to obtain the fifth shared data.
[0140] Specifically, the first business system 10 is responsible for issuing user data requests and receiving the second shared data corresponding to the user data request returned by the second business system 20. The second business system 20 first determines the user's identity based on the received user public key, then performs a data query based on the user data request to obtain the first shared data. Finally, the second business system 20 encrypts the first shared data in the order of the data request public key, the server platform public key, and the user public key to obtain the second shared data, which is then sent to the first business system 10. The first business system 10 is also responsible for decrypting the encrypted second shared data using the data request private key and the user's private key. The specific details in this embodiment are the same as in the previous embodiments and will not be repeated here.
[0141] The data sharing method provided in this disclosure has the following aspects: First, multiple business systems in the data sharing alliance agree to have the right to access each other's information and also have the obligation to maintain the high quality of their respective business system data. Compared to a centralized data aggregation platform, the business systems themselves benefit more and are more motivated to maintain data quality. Second, the first business system 10 and the second business system 20 confirm the identity of the same user through the user's public key, eliminating the need for complex development work such as connecting the master indexes of all business systems in the sharing alliance, thus reducing difficulty. Third, the first business system 10 directly retrieves information from the current databases of each business system in the second business system 20, eliminating update or upload delays and ensuring timely acquisition of the required data. Compared to a centralized data aggregation platform that updates or uploads data periodically, timeliness is better guaranteed. Fourth, during data transmission, a three-layer encryption mechanism is used to achieve decryption uniqueness. Only the individual user's private key can decrypt the last layer of data encryption, enabling the individual user to truly own their personal information and ensuring information security.
[0142] In some embodiments, the first business system stores a mapping between a user's first business system account and a user key pair, wherein the user key pair includes a user public key and a user private key, and the data sharing method further includes:
[0143] S511, Receive the user's first business system account.
[0144] S512. Based on the user's first business system account, determine the user's public key and generate a user data request by matching the user's first business system account with the user's public key.
[0145] Specifically, the user's public key is used to verify the user's unique identity across multiple business systems (the first business system 10 and the second business system). The same user may register different personal information for corresponding business system accounts in different business systems. Between the user and the business systems, mutual recognition is achieved using the business system account, username, or other user information. However, across multiple business systems, the user's public key is used to verify the same user. When a user logs into the first business system using their first business system account, the first business system determines the user's public key based on the mapping between the first business system account and the user's public key. For other specific details, please refer to the preceding embodiments section.
[0146] This disclosed embodiment verifies the same identity by mapping the same user's accounts across various business systems within the sharing alliance to a self-made user key pair (user public key). This eliminates the need for complex development work such as establishing master indexes for all business systems within the sharing alliance, thus reducing complexity.
[0147] In some embodiments, the step of determining the user's public key based on the correspondence between the user's first business system account and the user key pair can be performed by the first business system 10; when the server platform 30 invites the first business system 10 to download the plugin, this step can also be performed by the plugin embedded in the first business system 10, and this disclosure does not limit this.
[0148] Figure 6 This is a flowchart illustrating how to determine a user's public key, as provided in an embodiment of this disclosure. Figure 6 As shown, based on the user's first business system account, the system determines the user's public key and generates a user data request by establishing a correspondence between the user's first business system account and the user key pair, including:
[0149] S601: Login to First Business System 10. Specifically, the current user logs in to First Business System 10 with the First Business System account.
[0150] S602: View the current user. Specifically, the current user is synchronized with the user opened in the first business system 10.
[0151] S603: Determine whether the current user's first business system account has a corresponding user key pair.
[0152] Specifically, the first business system 10 determines whether the current user's first business system account has a corresponding user key pair. The purpose is to determine whether the current user has been authenticated in the first business system 10 and to confirm whether the current user is a user registered in the first business system 10.
[0153] In step S603, if the current user's first business system account does not have a corresponding user key pair, then step S605 is executed.
[0154] S605: Determine whether the current user's second business system account has a corresponding user key pair.
[0155] Specifically, if the current user's first business system account does not have a corresponding user key pair, it means that the current user has not registered a first business system account. Then, it is further determined whether the current user has registered other business system accounts in other business systems in the sharing alliance.
[0156] In step S605, if the current user's second business system account has a corresponding user key pair, then step S607 is executed.
[0157] S607: Determine whether the user's second business system account has a corresponding user key pair associated with the first business system account.
[0158] Specifically, if the current user's second business system account has a corresponding user key pair, it means that the current user has registered a second business system account in the second business system 20, and this user can share data between the second business systems. Furthermore, based on data privacy or other considerations, this user can determine whether to add the first business system 10 to the business systems they already share with. That is, to determine whether to bind the second business system account with the corresponding user key pair to the first business system account. See above. Figure 3 In the corresponding implementation, once a user's key pair is bound to a business system, the business system can share data with other business systems that contain the user's key pair.
[0159] In step S607, if the user's second business system account has a corresponding user key pair associated with the first business system account, then step S608 is executed.
[0160] S608: Determine whether the user carries the user public key corresponding to the second business system account.
[0161] If the user carries the user public key corresponding to the second business system account, then proceed to step S612. S612: Determine the user public key, synchronize it with the user, and generate a user data request.
[0162] If the user does not carry the user public key corresponding to the second business system account, proceed to step S610.
[0163] S610: Create a user key pair corresponding to the first business system account, determine the user public key, and generate a user data request.
[0164] Specifically, if it is determined that the second business system account has a corresponding user key pair associated with the first business system account, it is further necessary to determine whether the user carries the user's public key. If the current user does not carry the user's public key, it is impossible to bind the user's public key to the first business system. Furthermore, the user will also be unable to share data with other business systems within the first business system to obtain the required data. In this case, the user can register on the first business system side. In some embodiments, see the above. Figure 3 In the corresponding embodiment, the user key pair is then bound to the second business system, enabling the user to share data between the first and second business systems. If the current user carries a public key, that public key is bound to the first business system, and the public key is synchronized to the user, allowing the user to share data stored in other business systems within the first business system.
[0165] In step S605, if the user's second business system account does not have a corresponding user key pair; or in step S607, if the user's second business system account does not have a corresponding user key pair associated with the first business system account; then S610 is executed, and step S612 is executed.
[0166] S610: Create a user key pair corresponding to the first business system account, determine the user public key, and generate a user data request.
[0167] S612: Synchronize with the current user.
[0168] Specifically, if a user's second business system account does not have a corresponding user key pair, meaning that the user's information is not available in any of the business systems within the entire sharing alliance, then the user can register on the first business system. In some embodiments, see above. Figure 3 According to the method in the corresponding embodiment, the user key pair is then bound to the second business system, and the user can subsequently achieve data sharing between the first business system and the second business system.
[0169] In step S603, if the current user's first business system account has a corresponding user key pair, then step S604 is executed.
[0170] Step S604: Determine whether the user's private key is escrowed or whether the user carries the user's private key.
[0171] If the user's private key is not escrowed and the user does not carry the private key, proceed to step S609.
[0172] Step S609: Determine whether the user carries the key pair corresponding to the second business system account.
[0173] Specifically, although a user has registered an account and possesses a corresponding public key in the first business system, if the user has not entrusted their private key or does not carry it with them, the user will be unable to decrypt the shared data returned by the second business system to the first business system, and ultimately will not be able to obtain the final shared data. Therefore, it is necessary to further ensure that the user can decrypt the shared data returned by the second business system. If the user cannot obtain the private key from the first business system, it can be determined whether the user can obtain their user key pair from the second business system. If the user key pair from the second business system can be obtained, data sharing between the first and second business systems can be achieved by binding it to the first business system; otherwise, the user will have to recreate a new user key pair in the first business system.
[0174] If the user does not carry the user key pair corresponding to the second business system account, then proceed to step S610.
[0175] If the user carries the user key pair corresponding to the second business system account, then proceed to step S607.
[0176] For details, please refer to the description of steps S610 and S607 above, which will not be repeated here.
[0177] Using the example of each business system being the hospital system of a different hospital, with the first business system being Hospital A's system that receives user requests, and the second business system being the hospital systems of other hospitals, we will provide an illustration.
[0178] When a user logs into the First Business System with their First Business System account, the A Hospital System first checks whether the user's key pair exists in the A Hospital System to determine whether the user has registered an account in the A Hospital System.
[0179] If a user hasn't registered an account with Hospital A, the system checks if the user has registered accounts with other hospitals within the data-sharing alliance. If the user has registered accounts with other hospitals, then their user key pair must exist. Since the same user has the same user key pair across multiple data-sharing business systems, the system further checks whether to bind this user key pair to the account in the first business system. Binding allows the user to access data from other hospitals within Hospital A. If the user doesn't want to share data from other hospitals with Hospital A, binding is not necessary. If the user later wants the data needed by Hospital A, they can create a new user key pair within Hospital A.
[0180] If a user has registered an account with Hospital A, the system checks whether the user's private key is escrowed or carried within the system. This ensures the user can decrypt data returned to Hospital A from other hospital systems. If the user's private key is neither escrowed nor carried within the system, the user will be unable to decrypt data returned to Hospital A from other hospital systems. In this case, the system further checks if the user carries user key pairs from other hospital systems. If so, it checks whether to bind these user key pairs to the first business system account. After binding, the user can access data from other hospital systems within Hospital A. If the user does not wish to share data from other hospital systems with Hospital A, binding is not required. The user can create a new user key pair within Hospital A if they still need the data from other hospital systems. Similarly, if the user does not carry key pairs from other hospital systems, they can also create a new user key pair within Hospital A if they still need the data from other hospital systems.
[0181] In some embodiments, the data sharing method includes not only steps S501, S502 and S503, but also: modifying the state of the user's private key based on the user's first instruction; and determining whether the user's private key is escrowed or whether the user carries the user's private key based on the modified state of the user's private key.
[0182] In some embodiments, when the user's first instruction is to change the user's private key from unmanaged to managed, it is determined whether the user carries the user's private key; if the user carries the user's private key, the current user's private key status is modified; otherwise, it cannot be modified.
[0183] Specifically, Figure 7 This is a flowchart illustrating how to modify a user's private key, as provided in an embodiment of this disclosure. Figure 7 As shown, the specific steps include:
[0184] S601: User logs into the first business system.
[0185] S602: The first business system can view the current user.
[0186] S703: The first business system determines whether to modify the user's private key status based on the user's first instruction. If it does not need to modify the user's private key status, it executes S711 and ends directly.
[0187] If it is necessary to modify the status of the user's private key, and it is S704: the user's private key status is changed from managed to unmanaged, then execute S705: enter key maintenance, modify the current user's private key status to unmanaged; S710: save the modified user's private key status and synchronize it to the user.
[0188] If the user's private key status needs to be modified, and it is S706: the user's private key status changes from unmanaged to managed, then execute S709: determine if the user has carried their private key. If the user does not have their private key, the user's private key status cannot be modified, and execute S711 to end directly. If the user has their private key, then execute S707: enter key maintenance, modify the current user's private key status to managed; S708: finally confirm the user's private key; S710: save the modified user's private key status and synchronize it with the user.
[0189] This disclosure embodiment allows users to flexibly obtain their private keys by modifying the user's private key status, making it more convenient for users to use.
[0190] In some embodiments, the data sharing method further includes: the maintenance of various business system metrics by the first business system 10 and / or the matching of business system metrics.
[0191] In some embodiments, business system metric maintenance includes, but is not limited to, starting / stopping business system metrics, modifying the type name and label name of existing business system metrics, etc.
[0192] In some embodiments, the metric matching of the business system includes, but is not limited to, modifying the correspondence between the business system's metrics and standard metrics, querying business system metrics, and providing prompts when business system metrics do not fully match.
[0193] It should be noted that when the first business system disables business system metrics, it needs to confirm whether the user's private key is escrowed or whether the user carries the user's private key. If the user's private key is not escrowed or the user does not carry the user's private key, the business system metrics cannot be disabled.
[0194] Based on the same inventive concept, this disclosure also provides a method for data sharing among multiple business systems, wherein the system that sends user data requests is a first business system 10, and the business system that receives user data requests is a second business system 20, and the method is applied to the second business system 20. Figure 8 A flowchart illustrating another method for data sharing between multiple service systems provided in this disclosure embodiment is shown below. Figure 8 As shown, the method includes:
[0195] S801: Receives user data requests, user public keys, data request public keys, and server platform public keys sent by server platform 30.
[0196] S802: Determine the user's identity based on the user's public key, and determine the first shared data based on the user's data request.
[0197] S803: The first shared data is encrypted in the order of the data request public key, the server platform public key, and the user public key to obtain the second shared data, and sent to the first business system 10; so that the first business system 10 decrypts the second shared data based on the data request private key to obtain the third shared data, and sends it to the server platform 30; so that the server platform 30 decrypts the third shared data based on the server platform private key to obtain the fourth shared data; and returns it to the first business system 10, so that the first business system 10 decrypts the fourth shared data based on the user private key to obtain the fifth shared data.
[0198] Other details in this embodiment are the same as in any of the above embodiments, and will not be repeated here.
[0199] The data sharing method provided in this disclosure has the following aspects: First, multiple business systems in the data sharing alliance agree to have the right to access each other's information and also have the obligation to maintain the high quality of their respective business system data. Compared to a centralized data aggregation platform, the business systems themselves benefit more and are more motivated to maintain data quality. Second, the first business system 10 and the second business system 20 confirm the identity of the same user through the user's public key, eliminating the need for complex development work such as connecting the master indexes of all business systems in the sharing alliance, thus reducing difficulty. Third, the first business system 10 directly retrieves information from the current databases of each business system in the second business system 20, eliminating update or upload delays and ensuring timely acquisition of the required data. Compared to a centralized data aggregation platform that updates or uploads data periodically, timeliness is better guaranteed. Fourth, during data transmission, a three-layer encryption mechanism is used to achieve decryption uniqueness. Only the individual user's private key can decrypt the last layer of data encryption, enabling the individual user to truly own their personal information and ensuring information security.
[0200] Figure 9 This is a flowchart illustrating a method for data sharing between multiple service systems, provided in an embodiment of this disclosure. The system sending the user data request is the first service system, and the system receiving the user data request is the second service system. Figure 9As shown, this method is applied to the first business system, the server platform, and the second business system. Specifically, it includes: a user logging into the first business system, entering the personal user management page, and checking the current personal user authentication status (the current user is synchronized with users opened in the business system). After confirming that the public and private key status of the personal user to be queried is correct, the user selects the metric to be queried for the personal user. The first business system then sends a query request to the server platform, which must include the personal user's public key, the data request public key, the server platform's public key, and the data callback interface URL. The server platform verifies the identity of the first business system using the data request public key, receives the data request, searches for currently joined business systems (business system a, business system b, and business system c) and sends data requests to them, while simultaneously recording the request trace. Each business system's DBA receives the request and checks whether a business system account corresponding to the personal user's public key exists. If the data exists, extract the data information under that account, encrypt it in the order of user public key, server platform public key, and data request public key, and return it to the data callback interface URL; if the data does not exist (e.g., business system a in this embodiment), no data is returned; the first business system receives the returned data, decrypts the first layer using the data request private key, and then sends it to the server platform; if the returned data is empty, no decryption is required, and it is directly sent to the server platform; for information that needs to be decrypted, the server platform uses its private key to decrypt the second layer, reads the business system name and return address, records them, hashes this record to generate a unique and immutable marker, and sends the other encrypted information to the return address; for information that does not need to be decrypted, the server platform directly reads the business system name, records it, and hashes this data. After all the query results for this round are returned, the entire record is hashed to ensure data traceability and immutability; individual users use their private keys to decrypt the third layer, filter the information of the query indicators, and display it in plaintext.
[0201] It should be noted that when the plugin is installed in the first business system, the steps of sending user query requests to the server platform, obtaining data encrypted with three layers, and decrypting the first layer are performed by the plugin in the first business system.
[0202] The data sharing methods in all embodiments of this disclosure are suitable for various scenarios such as education, commerce, and healthcare. The users in all embodiments of this disclosure can be individual users or institutional users.
[0203] Taking a healthcare scenario as an example, individual users are patients who can use applications (such as apps) to access their personal information. Institutional users are doctors, hospital operators, or data analysts, who can act as administrators. Each business system represents a hospital's system, and each hospital system may also include plugins installed within those hospitals. Specific application scenarios include, but are not limited to:
[0204] Scenario 1: When a patient goes to the hospital for a consultation / follow-up, the doctor will retrieve records of the patient's consultation / follow-up / daily monitoring from the business systems of all hospitals or medical institutions covered by the Medical Data Sharing Alliance in order to gain a comprehensive understanding of the patient's medical history, medications used, and other information.
[0205] Scenario 2: Hospital operations staff access patient data held in custody for research / statistical purposes.
[0206] This disclosure also provides an electronic device, including: a processor; and a memory for storing instructions for data sharing among multiple service systems, wherein the processor is configured to invoke the instructions stored in the memory to execute the data sharing method in any of the above embodiments.
[0207] This disclosure also provides a computer-readable storage medium storing computer program code for data sharing among multiple service systems. When the computer program code is run by a processor, it implements the data sharing method in any of the above embodiments.
[0208] It is understood that the above embodiments are merely exemplary implementations used to illustrate the principles of the present invention, and the present invention is not limited thereto. For those skilled 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 method for data sharing among multiple business systems, wherein, The business system that sends user data requests in the multi-service system is the first business system, and the business system that receives user data requests is the second business system. The method is applied to a server platform and includes: Receive the user's public key, data request public key, and user data request sent by the first business system; Based on the data request public key, the user data request, user public key, data request public key, and server platform public key are sent to the second business system, so that the second business system can perform data query and encrypt the data in the order of the data request public key, server platform public key, and user public key to obtain the second shared data, and send it to the first business system. The system receives third shared data sent by the first business system, decrypts the third shared data based on the server platform's private key, and returns it to the first business system; wherein, The third shared data is obtained by the first business system from decrypting the second shared data based on the data request private key.
2. The method according to claim 1, wherein, The step of receiving the user public key, data request public key, and user data request sent by the first business system specifically includes: Receive the user's public key, data request public key, and user data request sent by the plugin of the first business system.
3. The method according to claim 1, wherein, The method further includes: After sending the user data request, user public key, data request public key, and server platform public key to the second business system, the first relevant information of the user data request event is recorded.
4. The method according to claim 3, wherein, The method further includes: After decrypting the third shared data based on the server platform's private key and returning it to the first business system, the second relevant information of the user data request event is recorded.
5. The method according to claim 1, wherein, The method further includes: Receive the association request from the first business system; Based on the association request, a data request key pair is created for the first business system and synchronized to the first business system. The data request key pair includes a data request public key and a data request private key.
6. The method according to claim 5, wherein, The method further includes: recording the basic information of the first business system, which includes the name of the first business system and the data request public key and data request private key.
7. The method according to claim 6, wherein, The method further includes: Based on the data request public key, determine whether the first business system is associated with the server platform; If the first business system is associated with the server platform, it sends the user data request, user public key, data request public key, and server platform public key to the second business system.
8. The method according to claim 4, wherein, The method further includes: generating a first transaction certificate based on the first relevant information using a hash algorithm; and / or A second transaction certificate is generated based on the second relevant information using a hash algorithm.
9. A method for data sharing among multiple business systems, wherein, The business system that sends the user data request in the multi-service system is the first business system, and the business system that receives the user data request is the second business system. The method is applied to the first business system, and the method includes: Send the user data request, user public key, and data request public key to the server platform, so that the server platform sends the user data request, user public key, data request public key, and server platform public key to the second business system; The system receives second shared data sent by the second business system, performs a first-level decryption on the second shared data based on the data request private key, and sends it to the server platform so that the server platform can perform a second-level decryption on the second shared data that has undergone the first-level decryption. The second shared data is obtained by the second business system through data query based on the user data request and by performing three layers of encryption in the order of the data request public key, the server platform public key, and the user public key; The system receives the second shared data sent by the server platform and performs a second-level decryption, and then performs a third-level decryption based on the user's private key.
10. The method according to claim 9, wherein, The first business system stores the correspondence between a user's first business system account and a user key pair, wherein the user key pair includes a user public key and a user private key, and the method further includes: The user's first business system account is received; Based on the user's first business system account, the user's public key is determined and a user data request is generated by mapping the user's first business system account to the user's public key.
11. The method according to claim 10, wherein, The process of determining the user's public key and generating a user data request based on the correspondence between the user's first business system account and the user key pair includes: Determine whether the user's first business system account has a corresponding user key pair. If it exists, determine the user's public key and generate a user data request; Otherwise, determine whether the user's second business system account has a corresponding user key pair, obtain a first determination result, and determine the user's public key and generate a user data request based on the first determination result.
12. The method according to claim 11, wherein, The step of determining the user's public key and generating a user data request based on the first determination result includes: If the user's second business system account does not have a corresponding user key pair, then create a user key pair corresponding to the first business system account, determine the user's public key, and generate a user data request. If the user’s second business system account has a corresponding user key pair, determine whether to associate the user’s second business system account with the first business system account to obtain a second determination result. Based on the second judgment result, the user's public key is determined and a user data request is generated.
13. The method according to claim 11, wherein, When a user's primary business system account has a corresponding user key pair, the user's public key is determined and a user data request is generated, including: Determine whether the user's private key is escrowed or whether the user carries the user's private key; When the user's private key is not entrusted to a third party and the user does not carry the private key, it is determined whether the user carries the key pair corresponding to the second business system account, and a third determination result is obtained. Based on the third judgment result, the user's public key is determined and a user data request is generated.
14. The method according to claim 13, wherein, The step of determining the user's public key and generating a user data request based on the third judgment result includes: If the user does not carry the user key pair corresponding to the second business system account, then create the user key pair corresponding to the first business system account, determine the user public key, and generate a user data request. If the user carries the user key pair corresponding to the second business system account, then determine whether to associate the user key pair corresponding to the user's second business system account with the first business system account, and obtain a second determination result; Based on the second judgment result, the user's public key is determined and a user data request is generated.
15. The method according to claim 14, wherein, The step of determining the user's public key and generating a user data request based on the second judgment result includes: If the user's second business system account is not associated with the first business system account, then a user key pair corresponding to the first business system account is created, and the user's public key is determined and a user data request is generated. If the user's second business system account has a corresponding user key pair associated with the first business system account, then the user's public key is determined and a user data request is generated.
16. The method according to claim 15, wherein, If the user's second business system account has a corresponding user key pair associated with the first business system account, then the user's public key is determined, and a user data request is generated, including: Determine whether the user carries the user public key corresponding to the second business system account; If so, determine the user's public key and generate a user data request; Otherwise, create a user key pair corresponding to the first business system account, determine the user public key, and generate a user data request.
17. The method according to claim 13, wherein, The method further includes: Modify the state of the user's private key based on the user's first instruction; Based on the modified user private key status, determine whether the user's user private key is escrowed or whether the user carries the user private key.
18. The method according to claim 17, wherein, The modification of the user's private key state based on the user's first instruction includes: When the user's first instruction is to change the user's private key from unmanaged to managed, determine whether the user carries the user's private key. If so, the current user's private key status will be modified; otherwise, it cannot be modified.
19. A method for data sharing among multiple business systems, wherein, The system that sends the user data request in the multi-service system is the first service system, and the service system that receives the user data request is the second service system. The method is applied to the second service system, and the method includes: Receive user data requests, user public keys, data request public keys, and server platform public keys sent by the server platform; The user's identity is determined based on the user's public key, and the first shared data is determined based on the user's data request; The first shared data is encrypted in three layers according to the data request public key, the server platform public key, and the user public key to obtain the second shared data, which is then sent to the first business system. The first business system then performs a first layer of decryption on the second shared data based on the data request private key and sends it to the server platform. The server platform then performs a second layer of decryption based on the server platform private key and returns it to the first business system. Finally, the first business system performs a third layer of decryption based on the user private key.
20. The method according to any one of claims 1-19, wherein, The users are hospital patients, and the various business systems are the hospital systems. The first business system is the hospital system that sends user data requests to patients, and the second business system is the hospital system that receives user data requests from patients.
21. An electronic device, wherein, include: processor; Memory used to store processor-executable instructions, wherein, The processor is configured to invoke instructions stored in the memory for executing the method according to any one of claims 1-19.
22. A computer-readable storage medium having stored thereon computer program code for data sharing among multiple service systems, wherein the computer program code, when executed by a processor, implements the method of any one of claims 1-19.
Citation Information
Patent Citations
Data transmission method and device based on multiple encryption
CN114978564A
Data sharing system, method, device, equipment and medium
CN115580440A
