Blockchain-based methods and devices for processing physical examination information
By standardizing physical examination information through blockchain technology and employing user authorization and dual encryption algorithms, the problems of low efficiency and high cost in obtaining physical examination information are solved, and secure and traceable information transmission is achieved, thereby improving user experience and system efficiency.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-30
- Publication Date
- 2026-03-10
AI Technical Summary
In existing technologies, the efficiency of obtaining user physical examination information is low, the user experience is poor, the development cost for health management institutions is high, and the structured processing of physical examination reports is complex.
By using blockchain technology to standardize the processing of physical examination information and employing user authorization and dual encryption algorithms, the secure and traceable transmission of physical examination information can be achieved.
It improved the efficiency of obtaining physical examination information, reduced system development costs, enhanced user experience, and ensured the security and traceability of information.
Smart Images

Figure CN115730347B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of elderly care technology, and in particular to a blockchain-based method and apparatus for processing physical examination information. Background Technology
[0002] In the field of elderly care, a user's medical examination information is an important basis for health management. For example, it can be used as a reference for diagnosing a user's illness and for reimbursing insurance claims.
[0003] In existing technologies, obtaining a user's physical examination information usually requires the user to obtain a physical examination report issued by the corresponding physical examination institution offline, and then provide the physical examination report to the corresponding health management institution in order to obtain the user's physical examination information.
[0004] This process relies entirely on users' offline behavior, resulting in low efficiency in obtaining physical examination information, poor user experience, and high acquisition costs for health management institutions as they need to structure physical examination reports with different templates. Summary of the Invention
[0005] This application provides a blockchain-based method and apparatus for processing physical examination information. Each platform uses blockchain to transmit physical examination information, which can improve the efficiency of obtaining physical examination information.
[0006] In a first aspect, embodiments of this application provide a blockchain-based method for processing physical examination information, applied to a physical examination platform, comprising:
[0007] Responding to a request from a third-party platform to obtain physical examination information, the request includes the user's identifier and the identifier of the third-party platform;
[0008] The authorization information of the user is obtained from the blockchain based on the user's identifier. The authorization information includes the user's identity information and the identifier of the third-party platform authorized to obtain the user's physical examination information.
[0009] If the identifier of the third-party platform carried in the request for obtaining physical examination information is the same as the identifier of the third-party platform carried in the authorization information, then the user's physical examination information is retrieved locally based on the user's identity information, and a physical examination information identifier is generated based on the user's physical examination information.
[0010] The user information is encrypted, and the user information and the user's physical examination information are uploaded to the blockchain. The user information includes the user's identity information and the physical examination information identifier.
[0011] The physical examination information acquisition response is uploaded to the blockchain, and the physical examination information acquisition response is used to instruct the third-party platform to obtain the user's physical examination information from the blockchain.
[0012] Optionally, encrypting the user information includes:
[0013] The public key of the third-party platform is obtained from the blockchain based on the platform's identifier, and an AES key is generated based on the public key.
[0014] The user information is encrypted using the AES key.
[0015] Optionally, before encrypting the user information according to the AES key, the method further includes:
[0016] The AES key is encrypted using the public key of the third-party platform to obtain the encrypted AES key;
[0017] The encrypted AES key is uploaded to the blockchain.
[0018] Optionally, obtaining the user's authorization information from the blockchain based on the user's identifier includes:
[0019] Based on the user's user identifier, determine whether the user's authorization information exists on the blockchain at predetermined time intervals;
[0020] When it is determined that the user's authorization information exists, the user's authorization information is obtained from the blockchain.
[0021] Secondly, embodiments of this application provide a blockchain-based method for processing physical examination information, applied to a third-party platform, including:
[0022] A request to obtain physical examination information is sent to the physical examination platform via blockchain. The request includes the user's identifier and the identifier of the third-party platform. The request is used to instruct the third-party platform to obtain the user's physical examination information.
[0023] The system responds to the medical examination information sent by the medical examination platform and retrieves the user's medical examination information from the blockchain.
[0024] Optionally, an encrypted AES key is obtained on the blockchain, and the encrypted AES key is decrypted using a private key to obtain an AES key, wherein the private key and the public key correspond one-to-one;
[0025] User information is obtained from the blockchain, and the user information is decrypted using the AES key to obtain the user's identity information and physical examination information identifier;
[0026] The user's physical examination information is obtained from the blockchain based on the physical examination information identifier, and the user's identity information and physical examination information are merged to obtain the user's complete physical examination information.
[0027] Thirdly, embodiments of this application provide a blockchain-based medical examination information processing device, applied to a medical examination platform, comprising:
[0028] The response module is used to respond to a physical examination information acquisition request from a third-party platform. The physical examination information acquisition request includes the user's identifier and the identifier of the third-party platform.
[0029] The acquisition module is used to acquire the user's authorization information from the blockchain based on the user's identifier. The authorization information includes the user's identity information and the identifier of a third-party platform authorized to acquire the user's physical examination information.
[0030] The search module is used to search for the user's physical examination information locally based on the user's identity information if the identifier of the third-party platform carried in the physical examination information acquisition request belongs to the identifier of the third-party platform carried in the authorization information, and generate a physical examination information identifier based on the user's physical examination information.
[0031] An encryption module is used to encrypt user information and upload the user information and the user's physical examination information to the blockchain. The user information includes the user's identity information and the physical examination information identifier.
[0032] The upload module is used to upload the physical examination information acquisition response to the blockchain. The physical examination information acquisition response is used to instruct the third-party platform to obtain the user's physical examination information from the blockchain.
[0033] Fourthly, embodiments of this application provide a blockchain-based physical examination information processing device, applied to a third-party platform, including:
[0034] The sending module is used to send a request to obtain physical examination information to the physical examination platform via blockchain. The request includes the user's identifier and the identifier of the third-party platform. The request is used to instruct the third-party platform to obtain the user's physical examination information.
[0035] The response module is used to respond to the physical examination information received by the physical examination platform and to obtain the user's physical examination information from the blockchain.
[0036] Fifthly, this application provides an electronic device, including: a memory and a processor;
[0037] The memory is used to store computer instructions; the processor is used to execute the computer instructions stored in the memory to implement the method of any one of the first aspects.
[0038] In a sixth aspect, this application provides a computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to implement the method of any of the first aspects.
[0039] In a seventh aspect, this application provides a computer program product, including a computer program that, when executed by a processor, implements the method of any one of the first aspects.
[0040] The blockchain-based health checkup information processing method provided in this application responds to health checkup information retrieval requests from third-party platforms. These requests include a user identifier and a third-party platform identifier. Based on the user identifier, the method retrieves the user's authorization information from the blockchain. This authorization information includes the user's identity information and the identifier of the third-party platform authorized to retrieve the user's health checkup information. If the third-party platform identifier carried in the health checkup information retrieval request matches the identifier carried in the authorization information, the method retrieves the user's health checkup information locally based on the user's identity information, generates a health checkup information identifier, encrypts the user information, and uploads both the user information and the user's health checkup information to the blockchain. The user information includes the user's identity information and the health checkup information identifier. Finally, the method uploads a health checkup information retrieval response to the blockchain, instructing the third-party platform to retrieve the user's health checkup information from the blockchain. Using the blockchain to retrieve user health checkup information simplifies the retrieval process and improves efficiency. User authorization and the use of dual encryption algorithms for user identity information ensure the security of user information, while the blockchain ensures traceability. Attached Figure Description
[0041] Figure 1 A schematic diagram of the health management service provided in the embodiments of this application;
[0042] Figure 2 This is a schematic diagram illustrating an application scenario provided in the embodiments of this application;
[0043] Figure 3 A flowchart illustrating the blockchain-based physical examination information processing method provided in this application embodiment. Figure 1 ;
[0044] Figure 4 A flowchart illustrating the blockchain-based physical examination information processing method provided in this application embodiment. Figure 2 ;
[0045] Figure 5A flowchart illustrating the blockchain-based physical examination information processing method provided in this application embodiment. Figure 3 ;
[0046] Figure 6 A schematic diagram of the structure of the blockchain-based physical examination information processing device provided in this application embodiment. Figure 1 ;
[0047] Figure 7 A schematic diagram of the structure of the blockchain-based physical examination information processing device provided in this application embodiment. Figure 2 ;
[0048] Figure 8 This is a schematic diagram of the structure of a blockchain-based electronic device for processing physical examination information, provided in an embodiment of this application. Detailed Implementation
[0049] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are some embodiments of this application, but not all embodiments.
[0050] In the embodiments of this application, the terms "first" and "second" are used to distinguish identical or similar items with essentially the same function and effect, without limiting their order. Those skilled in the art will understand that the terms "first" and "second" do not limit the quantity or execution order, and that the terms "first" and "second" do not necessarily imply that they are different.
[0051] It should be noted that, in the embodiments of this application, the terms "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design scheme described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or design schemes. Specifically, the use of terms such as "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0052] In the field of elderly care, physical examinations have become an essential means for people to manage their health. Physical examination institutions issue physical examination reports based on the user's examination results. Based on the user's physical examination information in the report, some third-party platforms, such as health management institutions, insurance companies, or medical institutions, can provide users with professional health management services. For example, they can provide users with targeted insurance purchase or reimbursement services based on the user's physical examination report.
[0053] Currently, users' medical examination reports are stored in various medical examination institutions. When users need to provide their medical examination reports, they need to obtain them offline from the medical examination institution or provide them to health management institutions, insurance companies, or medical institutions through system interfaces.
[0054] For example, such as Figure 1 As shown, when a health management organization needs to provide health management services to a user based on their medical examination report, the user needs to upload the medical examination report information issued by the medical examination organization to the health management organization. In this process, the user needs to obtain medical examination reports from different offline medical examination organizations sequentially, which is inefficient and results in a poor user experience. Furthermore, the health management organization needs to perform structured processing for different templates, leading to high development costs.
[0055] In view of this, embodiments of this application provide a blockchain-based method and apparatus for processing physical examination information, which unifies the standards of the provided physical examination information, reduces the complexity of interface integration and information standardization, reduces system development costs, and at the same time ensures the security, authenticity and traceability of user physical examination information and improves user experience through user authorization and on-chain encryption.
[0056] The technical solution of this application and how the technical solution of this application solves the above-mentioned technical problems are described in detail below with specific embodiments. The following specific embodiments can be implemented independently or in combination with each other. The same or similar concepts or processes may not be described again in some embodiments.
[0057] Figure 2 This is a schematic diagram illustrating an application scenario of an embodiment of this application, such as... Figure 2 As shown, it includes a third-party platform 201, a medical examination institution 202, and a blockchain 203.
[0058] Among them, third-party platform 201 refers to platforms that can provide health management services to users, such as health management institutions, medical institutions and insurance companies.
[0059] When a third-party platform 201 needs a user's medical examination information, it can send a request to the medical examination institution 202 via blockchain. Upon confirming that the third-party platform 201 is authorized by the user to obtain the medical examination report, the medical examination institution 202 queries the corresponding user's medical examination report in its medical examination information database, uploads the report to blockchain 203, and sends a notification message to the third-party platform 201 via blockchain 203. After receiving the notification message, the third-party platform 201 retrieves the user's medical examination report from blockchain 203. This avoids users obtaining medical examination reports offline, improving the efficiency of report retrieval.
[0060] In this embodiment, the blockchain 203 is constructed using a consortium blockchain approach, with unified standards for inter-platform connections. That is, the standards for obtaining physical examination reports are unified, reducing the complexity and development costs of inter-system connections.
[0061] The application scenarios of the embodiments of this application have been described above. The following will use several specific embodiments to describe the blockchain-based physical examination information processing method provided by this application.
[0062] Figure 3 A flowchart illustrating the blockchain-based physical examination information processing method provided in this application embodiment. Figure 1 When applied to a health checkup platform, the process includes the following steps:
[0063] S301. Respond to the medical examination information acquisition request from the third-party platform. The medical examination information acquisition request includes the user's identifier and the third-party platform's identifier.
[0064] In this embodiment of the application, the request to obtain physical examination information refers to a request sent by a third-party platform through the blockchain to obtain the user's physical examination information. The physical examination information refers to the information issued by the physical examination institution after conducting a physical examination on the user, which reflects the user's physical condition and is usually represented by a physical examination report.
[0065] In this embodiment of the application, the user's identifier refers to the identifier used to identify the user, such as name, age, etc., and the third-party platform's identifier refers to the identifier used to identify the third-party platform, such as the name and location of the third-party platform, etc.
[0066] In this embodiment of the application, after receiving a request for obtaining physical examination information sent by a third-party platform through blockchain, the physical examination platform can obtain the user's identifier and the third-party platform's identifier included in the request to execute the subsequent physical examination information processing procedure.
[0067] S302. Obtain the user's authorization information from the blockchain based on the user's identifier. The authorization information includes the user's identity information and the identifier of the third-party platform authorized to obtain the user's physical examination information.
[0068] In this embodiment, user authorization information refers to information obtained with the user's permission (authorization). For example, obtaining the user's physical examination information with the user's permission includes the user's identity information and the identifier of the third-party platform authorized to obtain the user's physical examination information. The user's identity information includes the user's name, gender, identification information, etc.
[0069] In this embodiment of the application, the medical examination institution queries the blockchain to see if there is authorization information for the corresponding user based on the obtained user identifier. For example, the medical examination institution queries the blockchain to see if there is authorization information for the user corresponding to the user identifier at a preset time, such as 5 minutes. If there is, the subsequent medical examination information processing process is executed.
[0070] S303. If the identifier of the third-party platform carried in the request for obtaining physical examination information is the same as the identifier of the third-party platform carried in the authorization information, then the user's physical examination information is retrieved locally based on the user's identity information, and a physical examination information identifier is generated based on the user's physical examination information.
[0071] In this embodiment, after obtaining the user's authorization information, the medical examination institution compares the identifier of the third-party platform in the authorization information with the identifier of the third-party platform carried in the medical examination information acquisition request. If the identifiers of the two third-party platforms are the same, the medical examination information acquisition request of the third-party platform is legal, and the medical examination platform can execute the subsequent medical examination information processing procedure.
[0072] In this embodiment of the application, the physical examination information identifier refers to an identifier used to identify physical examination information, such as the physical examination information number.
[0073] After confirming that the third-party platform's request to obtain medical examination information is legitimate, the medical examination platform searches for the user's medical examination information in the local medical examination information database based on the user's identity information. The medical examination information database refers to a database that stores the medical examination information of multiple users. Each user's medical examination information is presented in the form of a medical examination report. In this embodiment of the application, the user's medical examination information only includes the user's medical examination results and does not include the user's identity information.
[0074] In this embodiment of the application, after the physical examination platform queries the user's physical examination information, it randomly generates a physical examination information identifier based on the user's physical examination information.
[0075] S304. Encrypt user information and upload the user information and the user's physical examination information to the blockchain. The user information includes the user's identity information and physical examination information identifier.
[0076] In this embodiment, after the physical examination platform generates a physical examination information identifier, it uploads the user's physical examination information to the blockchain. The user's identity information and the physical examination information identifier are packaged together to obtain user information. After the user information is encrypted, it is uploaded to the blockchain. The user information can be identified based on the user's identifier.
[0077] In this embodiment of the application, user information can be encrypted by combining symmetric and asymmetric keys. For example, an AES key can be generated based on the public key provided by a third-party platform, the user information can be encrypted using the AES key, and then the AES key can be encrypted using the public key.
[0078] Optionally, medical examination institutions can also upload the encrypted AES key to the blockchain.
[0079] S305. Upload the physical examination information acquisition response to the blockchain. The physical examination information acquisition response is used to instruct a third-party platform to obtain the user's physical examination information from the blockchain.
[0080] In this embodiment of the application, after the medical examination institution uploads the user information and the user's medical examination information to the blockchain, it generates a medical examination information retrieval response. This medical examination information retrieval response is equivalent to a notification message, which is used to notify a third-party platform to retrieve the user's medical examination information from the blockchain.
[0081] The health checkup platform uploads the health checkup information acquisition response to the blockchain, that is, the health checkup platform sends the health checkup information acquisition response to the third-party platform through the blockchain.
[0082] The blockchain-based health checkup information processing method provided in this application is applied to a health checkup platform. It responds to health checkup information retrieval requests from third-party platforms. These requests include a user identifier and a third-party platform identifier. Based on the user identifier, the method retrieves the user's authorization information from the blockchain. This authorization information includes the user's identity information and the identifier of the third-party platform authorized to retrieve the user's health checkup information. If the third-party platform identifier carried in the health checkup information retrieval request matches the identifier carried in the authorization information, the method retrieves the user's health checkup information locally based on the user's identity information. A health checkup information identifier is generated based on this information, and the user information is encrypted. The user information, including the user's identity information and the health checkup information identifier, is then uploaded to the blockchain. Finally, a health checkup information retrieval response is uploaded to the blockchain, instructing the third-party platform to retrieve the user's health checkup information from the blockchain. Using blockchain to retrieve user health checkup information simplifies the retrieval process and improves efficiency. User authorization and the use of dual encryption algorithms for user identity information ensure the security of user information. Furthermore, the blockchain ensures the traceability of the information.
[0083] Figure 4 A flowchart illustrating the blockchain-based physical examination information processing method provided in this application embodiment. Figure 2 When applied to a third-party platform, the process includes the following steps:
[0084] S401. Send a request to obtain physical examination information to the physical examination platform via blockchain. The request includes the user's identifier and the identifier of the third-party platform. The request is used to instruct the third-party platform to obtain the user's physical examination information.
[0085] The specific implementation of S401 in this application embodiment is the same as Figure 3 The implementation of S301 shown is similar, and will not be described in detail here.
[0086] When a third-party platform needs to obtain a user's physical examination information, it can send a request to the physical examination platform through blockchain.
[0087] S402, Respond to the physical examination information sent by the physical examination platform and obtain the user's physical examination information from the blockchain.
[0088] In this embodiment of the application, after receiving the physical examination information acquisition response sent by the physical examination platform, the third-party platform obtains the user's physical examination information from the blockchain.
[0089] For example, a third-party platform retrieves user information from the blockchain based on the user identifier, retrieves the physical examination information identifier from the user information, retrieves the user's physical examination information from the blockchain based on the physical examination information identifier, and merges the user's physical examination information and the user's identity information to obtain the complete user's physical examination information.
[0090] The blockchain-based health checkup information processing method provided in this application sends a health checkup information retrieval request to a health checkup platform via the blockchain. The request includes the user's identifier and the identifier of the third-party platform. The request instructs the third-party platform to retrieve the user's health checkup information. The method responds to the health checkup platform's request and retrieves the user's health checkup information from the blockchain. Using the blockchain to retrieve user health checkup information simplifies the process. Since the interfaces for uploading health checkup information are consistent across different health checkup platforms, there is no need for structured processing of health checkup information from different platforms, thus improving the efficiency of health checkup report retrieval.
[0091] Figure 5 A flowchart illustrating the blockchain-based physical examination information processing method provided in this application embodiment. Figure 3 ,exist Figure 3 and Figure 4 Based on the illustrated embodiments, the blockchain-based physical examination information processing method provided in this application is further described, including:
[0092] S501. A third-party platform sends a request to the physical examination platform to obtain physical examination information via blockchain.
[0093] In this embodiment of the application, when a third-party platform needs to provide health management services to a user, it can send a request to the health checkup platform via blockchain to obtain the user's health checkup information.
[0094] The request for obtaining physical examination information includes the user's identifier, the identifier of the third-party platform, and the public key of the third-party platform's RSA key pair.
[0095] In this embodiment of the application, the third-party platform sending a request to obtain physical examination information to the physical examination platform through the blockchain can be a way for the third-party platform to upload the request to the blockchain, and the physical examination platform can receive the request through the blockchain.
[0096] In this embodiment of the application, when a third-party platform needs to provide health management services to a user, the user can upload authorization information to the blockchain so that the health check platform can verify the legitimacy of the third-party platform's request to obtain health check information through the authorization information.
[0097] In this embodiment of the application, the user's authorization information is shown in the following table:
[0098] Serial Number Data item name describe 1 Id serial number 2 Name User Name 3 Sex User gender 4 IdType Document Types 5 IdNo ID number 6 Birdy Date of birth 7 Start_Date Report start time 8 End_Date Report end time 9 Max Maximum number of reports retrieved 10 ComId Authorized organization ID
[0099] S502. The physical examination platform responds to the physical examination information acquisition request from the third-party platform and obtains the user's authorization information from the blockchain based on the user's identifier.
[0100] In this embodiment of the application, after receiving a request to obtain physical examination information from a third-party platform, the physical examination platform determines whether the user's authorization information exists on the blockchain at predetermined time intervals based on the user's user identifier in the request. After determining that the user's authorization information exists, the platform obtains the user's authorization information from the blockchain.
[0101] In this embodiment, after obtaining the user's authorization information, the medical examination platform compares the identifier of the third-party platform in the user's authorization information with the identifier of the third-party platform in the medical examination information acquisition request. If they match, the subsequent medical examination information processing flow is executed; if they do not match, the flow ends.
[0102] S503: The physical examination platform retrieves the user's physical examination information from the local machine based on the user's identity information.
[0103] In this embodiment, the medical examination platform retrieves the user's medical examination information from the local database based on the user's identity information in the authorization information. If the user's medical examination information exists, the subsequent medical examination information processing procedure is executed; otherwise, the procedure ends.
[0104] Optionally, before the medical examination platform retrieves the user's medical examination information from the local system based on the user's identity information, the platform can also determine whether to retrieve the user's medical examination information from the local system based on the maximum number of times the user's medical examination information can be retrieved in the user's authorization information. If the number of times the user's medical examination information has been retrieved on the medical examination platform has exceeded the maximum number of times the user's medical examination information can be retrieved in the user's authorization information, then the process ends.
[0105] S504. The physical examination platform obtains the third-party platform's public key from the blockchain based on the third-party platform's identifier.
[0106] In this embodiment, the third-party platform public key is the public key in the RSA key pair uploaded by the third-party platform through the blockchain. This public key carries the platform identifier of the third-party platform. After the physical examination platform obtains the user's physical examination information, it can find the third-party platform public key from the blockchain based on the received third-party platform identifier.
[0107] In this embodiment of the application, in order to ensure the security of user information during transmission, a combination of symmetric and asymmetric keys is used to encrypt user information. The public key in the RSA key pair is an asymmetric key, which includes a one-to-one public key and a private key. That is, the private key can be used to decrypt data or information encrypted by the public key.
[0108] Optionally, in this embodiment of the application, after obtaining the user's physical examination information, if the physical examination platform confirms that the user's physical examination information has been uploaded to the blockchain, it can directly execute the step shown in S508.
[0109] S505, the physical examination platform generates an AES key based on the public key of the third-party platform.
[0110] In this embodiment of the application, the AES key refers to the key used for encryption and decryption in the AES encryption algorithm or the AES encryption standard. It is a symmetric key, that is, the encryption and decryption keys are the same.
[0111] In this embodiment of the application, the physical examination platform can randomly generate an AES key based on the public key of a third-party platform using a relevant algorithm.
[0112] S506. The physical examination platform generates a physical examination information identifier based on the user's physical examination information.
[0113] In this embodiment of the application, the physical examination information identifier can be an identifier used to find physical examination information, such as the ID of the physical examination information, which corresponds one-to-one with the physical examination information, and the physical examination information identifier can be randomly generated.
[0114] S507, the health checkup platform uploads users' health checkup information to the blockchain.
[0115] In this embodiment of the application, the user's physical examination information is uploaded to the blockchain through the corresponding smart contract interface.
[0116] The medical examination information includes the following content, as shown in the table below:
[0117] Serial Number Data item name describe 1 Uuid Physical examination information label 2 Date Reporting time 3 NormalItems Normal items, multiple 4 ExtraordinaryItems Exceptions, multiple
[0118] It is understood that in the embodiments of this application, the interaction between each platform and the blockchain is implemented through the corresponding smart contract interface. Each interface performs a corresponding function. For example, the authorization information acquisition interface is used for the physical examination platform to obtain the user's authorization information, and the public key acquisition interface is used for the physical examination platform to obtain the public key of the third-party platform. These will not be elaborated further.
[0119] S508, the physical examination platform uses the public key of a third-party platform to encrypt the AES key and uploads the AES key to the blockchain.
[0120] In this embodiment of the application, in order to ensure that the AES key is not intercepted during transmission to the third-party platform, the physical examination platform uses the public key of the third-party platform to encrypt the AES key, obtains the encrypted AES key, and uploads the encrypted AES key to the blockchain, which can improve the security of the AES key transmission process.
[0121] In this embodiment of the application, the physical examination platform can use a corresponding encryption algorithm to encrypt the AES key with a public key.
[0122] The AES key information is shown in the table below:
[0123] Serial Number Data item name describe 1 id serial number 2 ComID Platform ID 3 AESKey AES key encrypted with public key
[0124] S509 The physical examination platform uses AES keys to encrypt user information and uploads the encrypted user information to the blockchain.
[0125] In this embodiment, the physical examination platform merges the user's identity information and physical examination information identifier to obtain user information, encrypts the user information using the AES encryption algorithm based on the AES key, obtains encrypted user information, and uploads the encrypted user information to the blockchain.
[0126] In this embodiment of the application, the execution order of steps S508 and S509 is not limited to a specific order. Steps S508 and S509 can be executed simultaneously or sequentially.
[0127] S510: The physical examination platform generates a physical examination information acquisition response and uploads the physical examination information acquisition response to the blockchain.
[0128] In this embodiment of the application, the physical examination information acquisition response refers to instructing a third-party platform to obtain the user's physical examination information from the blockchain, that is, equivalent to the physical examination platform sending a notification message to the third-party platform through the blockchain.
[0129] After the health checkup platform uploads the encrypted user information to the blockchain, it can randomly generate health checkup information and obtain a response.
[0130] The response to obtaining physical examination information includes the following content as shown in the table below:
[0131] Serial Number Data item name describe 1 Id Notification serial number 2 IdentityId User Identity Authentication 3 ComId Notification organization identification
[0132] S511, Third-party platforms receive physical examination information and obtain responses.
[0133] S512. The third-party platform obtains the encrypted AES key from the blockchain, decrypts it using the private key, and obtains the AES key.
[0134] In this embodiment of the application, after receiving the physical examination information acquisition response, the third-party platform can obtain the encrypted AES key sent by the physical examination platform from the blockchain according to the identifier of the physical examination platform, and decrypt the encrypted AES key using the private key corresponding to the public key to obtain the AES key.
[0135] S513. The third-party platform obtains user information from the blockchain, decrypts it using an AES key, and obtains user identity information and physical examination information identifiers.
[0136] In this embodiment, a third-party platform can obtain encrypted user information from the blockchain based on the user identifier, and decrypt the encrypted user information using the AES key obtained from the decryption process to obtain the plaintext user information. The user's identity information and physical examination information identifier are then extracted from the user information.
[0137] S514. Third-party platforms obtain user physical examination information from the blockchain based on the physical examination information identifier.
[0138] S515. Merge the user's physical examination information and the user's identity information to obtain the user's complete physical examination information.
[0139] The blockchain-based physical examination information processing method provided in this application embodiment allows third-party platforms to efficiently and conveniently obtain users' physical examination information from the blockchain with user authorization, improving the efficiency of obtaining physical examination information. The user's identity information is encrypted using a dual encryption algorithm to ensure the security of user information. At the same time, the information is uploaded to the blockchain to ensure traceability. The third-party platform and the physical examination platform have unified the standard for obtaining physical examination reports through the blockchain, reducing the complexity of interoperability between different platforms.
[0140] Based on the above-mentioned blockchain-based physical examination information processing method, this application embodiment also provides a blockchain-based physical examination information processing device.
[0141] Figure 6 This is a schematic diagram of the structure of a blockchain-based physical examination information processing device 60 provided in an embodiment of this application, which is applied to a physical examination platform, such as... Figure 6 As shown, it includes:
[0142] The response module 601 is used to respond to the physical examination information acquisition request from the third-party platform. The physical examination information acquisition request includes the user's identifier and the third-party platform's identifier.
[0143] The acquisition module 602 is used to obtain the user's authorization information from the blockchain based on the user's identifier. The authorization information includes the user's identity information and the identifier of the third-party platform authorized to obtain the user's physical examination information.
[0144] The lookup module 603 is used to look up the user's physical examination information locally based on the user's identity information if the identifier of the third-party platform carried in the physical examination information acquisition request is the same as the identifier of the third-party platform carried in the authorization information, and generate a physical examination information identifier based on the user's physical examination information.
[0145] Encryption module 604 is used to encrypt user information and upload the user information and the user's physical examination information to the blockchain. The user information includes the user's identity information and physical examination information identifier.
[0146] Upload module 605 is used to upload the physical examination information acquisition response to the blockchain. The physical examination information acquisition response is used to instruct a third-party platform to obtain the user's physical examination information from the blockchain.
[0147] Optionally, module 602 is further configured to obtain the public key of the third-party platform in the blockchain based on the identifier of the third-party platform, generate an AES key based on the public key, and encrypt user information based on the AES key.
[0148] Optionally, the encryption module 604 is also used to encrypt the AES key according to the public key of the third-party platform to obtain the encrypted AES key; and upload the encrypted AES key to the blockchain.
[0149] Optionally, the acquisition module 602 is further configured to determine whether the user's authorization information exists on the blockchain at predetermined time intervals based on the user's user identifier; and when it is determined that the user's authorization information exists, to acquire the user's authorization information from the blockchain.
[0150] The blockchain-based physical examination information processing device provided in this application embodiment can perform the above-mentioned... Figure 3 and Figure 5 The technical solution of the blockchain-based physical examination information processing method embodiment has a similar implementation principle and technical effect, and will not be described again here.
[0151] Figure 7 This is a schematic diagram of the structure of a blockchain-based physical examination information processing device 70 provided in an embodiment of this application, which is applied to a physical examination platform, such as... Figure 7 As shown, it includes:
[0152] The sending module 701 is used to send a physical examination information acquisition request to the physical examination platform via blockchain. The physical examination information acquisition request includes the user's identifier and the identifier of the third-party platform. The physical examination information acquisition request is used to instruct the third-party platform to acquire the user's physical examination information.
[0153] The response module, 702, responds to the physical examination information sent by the physical examination platform and retrieves the user's physical examination information from the blockchain.
[0154] Optionally, the physical examination information processing device 70 may also include an acquisition module 703.
[0155] Specifically, module 703 is used to obtain the encrypted AES key on the blockchain, and decrypt the encrypted AES key using the private key to obtain the AES key, with the private key and public key corresponding one-to-one; to obtain user information on the blockchain, and decrypt the user information according to the AES key to obtain the user's identity information and physical examination information identifier; to obtain the user's physical examination information on the blockchain according to the physical examination information identifier, and to merge the user's identity information and the user's physical examination information to obtain the user's complete physical examination information.
[0156] The blockchain-based physical examination information processing device provided in this application embodiment can perform the above-mentioned... Figure 4 and Figure 5 The technical solution of the blockchain-based physical examination information processing method embodiment has a similar implementation principle and technical effect, and will not be described again here.
[0157] Figure 8 This is a schematic diagram of the structure of a blockchain-based electronic device for processing physical examination information, provided in an embodiment of this application. Figure 8 As shown, the blockchain-based physical examination information processing electronic device 80 provided in this embodiment may include:
[0158] Processor 801.
[0159] Memory 802 is used to store executable instructions for the terminal device.
[0160] The processor is configured to execute the technical solution of the above-described blockchain-based physical examination information processing method embodiment by executing executable instructions. Its implementation principle and technical effect are similar, and will not be repeated here.
[0161] This application also provides a computer-readable storage medium storing a computer program thereon. When the computer program is executed by a processor, it implements the technical solution of the above-described embodiment of the blockchain-based physical examination information processing method. Its implementation principle and technical effect are similar, and will not be repeated here.
[0162] In one possible implementation, a computer-readable medium may include random access memory (RAM), read-only memory (ROM), compact discread-only memory (CD-ROM) or other optical disc storage, disk storage or other magnetic storage devices, or any other medium targeted to carry or to store the required program code in the form of instructions or data structures, and accessible by a computer. Furthermore, any connection is appropriately referred to as a computer-readable medium. For example, if software is transmitted from a website, server, or other remote source using coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave, then coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. As used herein, disks and optical discs include optical discs, laser discs, optical discs, Digital Versatile Discs (DVDs), floppy disks, and Blu-ray discs, where disks typically reproduce data magnetically, while optical discs optically reproduce data using lasers. The above combinations should also be included within the scope of computer-readable media.
[0163] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the technical solution of the above-described blockchain-based physical examination information processing method embodiment. Its implementation principle and technical effects are similar and will not be repeated here.
[0164] In the specific implementation of the aforementioned terminal device or server, it should be understood that the processor can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), etc. A general-purpose processor can be a microprocessor or any conventional processor. The steps of the method disclosed in the embodiments of this application can be directly manifested as being executed by a hardware processor, or executed by a combination of hardware and software modules within the processor.
[0165] Those skilled in the art will understand that all or part of the steps in any of the above method embodiments can be implemented by hardware associated with program instructions. The aforementioned program can be stored in a computer-readable storage medium, and when the program is executed, all or part of the steps in the above method embodiments are performed.
[0166] If the technical solution of this application is implemented in software form and sold or used as a product, it can be stored in a computer-readable storage medium. Based on this understanding, all or part of the technical solution of this application can be embodied in the form of a software product, which is stored in a storage medium and includes a computer program or several instructions. This computer software product causes a computer device (which may be a personal computer, server, network device, or similar electronic device) to execute all or part of the steps of the method described in the embodiments of this application.
[0167] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some or all of the technical features therein. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
1. A blockchain-based physical examination information processing method, characterized in that, Applied to a physical examination platform, comprising: In response to a physical examination information acquisition request of a third-party platform, the physical examination information acquisition request comprising an identifier of a user and an identifier of the third-party platform; Obtaining the authorization information of the user from the blockchain according to the identifier of the user, the authorization information of the user being information of the user that is obtained with the permission of the user, the authorization information comprising the identity information of the user and the identifier of the third-party platform that is authorized to obtain the physical examination information of the user; If the identifier of the third-party platform carried in the physical examination information acquisition request belongs to the identifier of the third-party platform carried in the authorization information, then searching for the physical examination information of the user from the local according to the identity information of the user, and generating a physical examination information identifier according to the physical examination information of the user; Obtaining the public key of the third-party platform in the blockchain according to the identifier of the third-party platform, and generating an AES key according to the public key; Encrypting the user information according to the AES key, the user information comprising the identity information of the user and the physical examination information identifier; Encrypting the AES key according to the public key of the third-party platform, obtaining an encrypted AES key; Uploading the encrypted AES key, the user information and the physical examination information of the user to the blockchain; Uploading a physical examination information acquisition response to the blockchain, the physical examination information acquisition response being used to instruct the third-party platform to obtain the physical examination information of the user from the blockchain.
2. The method of claim 1, wherein, The method of obtaining the authorization information of the user from the blockchain according to the identifier of the user comprises: Determining whether the authorization information of the user exists in the blockchain at a predetermined time interval according to the identifier of the user; Obtaining the authorization information of the user from the blockchain when it is determined that the authorization information of the user exists. 3.A method for processing physical examination information based on a blockchain, characterized in that, Applied to a third-party platform, comprising: Sending a physical examination information acquisition request to a physical examination platform through a blockchain, the physical examination information acquisition request comprising an identifier of a user and an identifier of the third-party platform, so that the physical examination platform obtains the authorization information of the user from the blockchain according to the identifier of the user, the authorization information of the user being information of the user that is obtained with the permission of the user, the physical examination information acquisition request being used to instruct the third-party platform to obtain the physical examination information of the user; Obtaining the physical examination information of the user from the blockchain in response to a physical examination information acquisition response sent by the physical examination platform; The method of obtaining the physical examination information of the user from the blockchain comprises: Obtaining an encrypted AES key from the blockchain, and decrypting the encrypted AES key through a private key to obtain an AES key, the private key and the public key corresponding to each other; Obtaining user information from the blockchain, and decrypting the user information through the AES key to obtain the identity information of the user and a physical examination information identifier; Obtaining the physical examination information of the user from the blockchain according to the physical examination information identifier, and merging the identity information of the user and the physical examination information of the user to obtain the complete physical examination information of the user. 4.A health examination information processing apparatus based on a blockchain, characterized by Applied to a physical examination platform, comprising: The response module is used to respond to a request for obtaining physical examination information from a third-party platform. The request for obtaining physical examination information includes the user's identifier and the identifier of the third-party platform. The acquisition module is used to acquire the user's authorization information from the blockchain based on the user's identifier. The user's authorization information refers to the relevant information of the user that is acquired with the user's permission. The authorization information includes the user's identity information and the identifier of the third-party platform authorized to acquire the user's physical examination information. The search module is used to search for the user's physical examination information locally based on the user's identity information if the identifier of the third-party platform carried in the physical examination information acquisition request belongs to the identifier of the third-party platform carried in the authorization information, and generate a physical examination information identifier based on the user's physical examination information. An encryption module is used to obtain the public key of the third-party platform from the blockchain based on the identifier of the third-party platform, and generate an AES key based on the public key; encrypt the user information, including the user's identity information and the physical examination information identifier, based on the AES key; and encrypt the AES key based on the public key of the third-party platform to obtain an encrypted AES key. The upload module is used to upload the encrypted AES key, the user information, and the user's physical examination information to the blockchain; and to upload the physical examination information retrieval response to the blockchain, wherein the physical examination information retrieval response is used to instruct the third-party platform to retrieve the user's physical examination information from the blockchain. 5.A health examination information processing apparatus based on a blockchain, characterized by Applied to third-party platforms, including: The sending module is used to send a request to obtain physical examination information to the physical examination platform via the blockchain. The request includes the user's identifier and the identifier of the third-party platform, so that the physical examination platform can obtain the user's authorization information from the blockchain based on the user's identifier. The user's authorization information refers to obtaining relevant information of the user with the user's permission. The request to obtain physical examination information is used to instruct the third-party platform to obtain the user's physical examination information. The response module is used to respond to the physical examination information acquisition response sent by the physical examination platform and to obtain the user's physical examination information from the blockchain. The response module is specifically used to obtain an encrypted AES key on the blockchain, and decrypt the encrypted AES key using a private key to obtain an AES key, wherein the private key and public key correspond one-to-one; obtain user information on the blockchain, and decrypt the user information according to the AES key to obtain the user's identity information and physical examination information identifier; obtain the user's physical examination information on the blockchain according to the physical examination information identifier, and merge the user's identity information and the user's physical examination information to obtain the user's complete physical examination information.
6. An electronic device, comprising: include: Memory, used to store computer programs; A processor for executing the computer program to implement the method of any one of claims 1-2 or 3.
7. A computer-readable storage medium, characterized in that, a computer program stored thereon for execution by a processor to implement the method of any of claims 1-2 or claim 3.
Citation Information
Patent Citations
Physical examination data security storage method based on block chain
CN110084071A
Identity authentication method, device and apparatus based on block chain and readable storage medium
CN113297560A