CN115719225A - Health management method and system based on block chain - Google Patents

Health management method and system based on block chain Download PDF

Info

Publication number
CN115719225A
CN115719225A CN202211511510.6A CN202211511510A CN115719225A CN 115719225 A CN115719225 A CN 115719225A CN 202211511510 A CN202211511510 A CN 202211511510A CN 115719225 A CN115719225 A CN 115719225A
Authority
CN
China
Prior art keywords
user
health management
block chain
equity
account book
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211511510.6A
Other languages
Chinese (zh)
Inventor
曲星瑾
杨作相
娄焕利
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Original Assignee
Taikang Insurance Group Co Ltd
Taikang Pension Insurance Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taikang Insurance Group Co Ltd, Taikang Pension Insurance Co Ltd filed Critical Taikang Insurance Group Co Ltd
Priority to CN202211511510.6A priority Critical patent/CN115719225A/en
Publication of CN115719225A publication Critical patent/CN115719225A/en
Pending legal-status Critical Current

Links

Images

Landscapes

  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The embodiment of the application provides a health management method and system based on a block chain, which relate to the technical field of endowment guarantee and comprise the following steps: responding to a login request of a user, acquiring a user interest information packet from a block chain after user identity information in the login request passes verification, responding to a health management request of the user, wherein the health management request carries an interest identifier, acquiring a first user interest packet account book on the block chain when the user interest corresponding to the interest identifier is the user interest in the user interest information packet, acquiring a health management response according to the first user interest packet account book, and feeding back the health management response to the user. The rights and interests information of the user is integrated through the block chain, the rights and interests account book is generated, when the user uses the health management rights and interests, the users are served according to the rights and interests use condition in the rights and interests account book, the original complex interaction process is changed into single chain interaction, and the efficiency of business processing is improved.

Description

Health management method and system based on block chain
Technical Field
The application relates to the technical field of endowment guarantee, in particular to a health management method and system based on a block chain.
Background
In the field of health care, with improvement of living standard, health management awareness of people is increasingly enhanced, and users can obtain corresponding health management interests by purchasing health management schemes, such as insurance service purchase and physical examination service purchase.
At present, a user can purchase health management schemes through various channels, for example, insurance service is purchased through an offline insurance policy, physical examination service is purchased through an online shopping mall, and the like.
However, in the process of using the rights and interests of the user, the health management platform and the health management scheme supply platform need to perform multiple information interactions to confirm and settle the rights and interests of the user, and data interaction is complex and frequent, so that the business handling efficiency between the health management service platform and the supply platform is low.
Disclosure of Invention
The embodiment of the application provides a health management method and system based on a block chain, and the business handling efficiency can be improved by converting complex data interaction into unidirectional chain interaction.
In a first aspect, an embodiment of the present application provides a health management method based on a block chain, which is applied to a health management platform, and includes:
responding to a login request of a user, and acquiring a user interest information packet from a block chain after user identity information in the login request passes verification, wherein the user interest information packet comprises user interests corresponding to at least one health management scheme purchased by the user, and the user interest information packet is uploaded to the block chain by a health management scheme supply platform;
responding a health management request of a user, wherein the health management request carries a rights and interests identifier;
when the user equity corresponding to the equity identification is the user equity in the user equity information packet, acquiring a first user equity packet account book on the block chain, wherein the first user equity packet account book is generated by the health management platform based on the historical use information of the user equity and is uploaded to the block chain, so that the health management scheme supply platform acquires the first equity packet account book from the block chain to perform reconciliation settlement;
and acquiring a health management response according to the first user interest package account book, and feeding back the health management response to the user.
Optionally, the obtaining a health management response according to the first user equity package account book includes;
and if the number of rights corresponding to the user rights in the first user rights package account book is not zero, deducting the number of rights corresponding to the user rights in the first user rights package account book after the user rights take effect, and taking the remaining number of rights as the health management response.
Optionally, after obtaining the user interest information packet on the block chain, the method further includes:
acquiring an encrypted first AES key on the block chain according to the health management scheme supply platform identification, and decrypting by using a corresponding private key to acquire the first AES key;
and decrypting the entitlement information packet according to the first AES key.
Optionally, a second user equity package account book is encrypted according to a second AES key, and the encrypted second user equity package account book is uploaded to a block chain, where the second user equity package account book is obtained by deducting the first user equity package account book;
and acquiring a public key of the health management scheme supply platform, encrypting the second AES key by adopting the public key, and uploading the encrypted second AES key to a block chain.
In a second aspect, an embodiment of the present application provides a health management method based on a block chain, which is applied to a health management scheme provisioning platform, and the method includes:
generating a user interest information packet based on the user interest corresponding to the health management scheme purchased by the user, and uploading the user interest information packet to the block chain;
acquiring a user equity package account book from the block chain based on user equity in the user equity information package, wherein the user equity package account book is used for indicating the use information of the user equity, and the user equity package account book is generated by the health management platform based on the historical use information of the user equity and is uploaded to the block chain;
and performing service reconciliation settlement according to the equity package account book and the health management platform.
Optionally, the uploading the user right information packet to the block chain includes:
encrypting the rights information packet by adopting a first AES encryption key which is randomly generated, and uploading the encrypted rights information packet to a block chain;
and acquiring a public key of the health management platform, encrypting the first AES key according to the public key, and uploading the encrypted first AES key to the block chain.
Optionally, the obtaining the user equity package account book from the block chain includes:
acquiring an encrypted user entitlement packet account book and an encrypted second AES key from the blockchain;
and decrypting the encrypted second AES key according to a private key to obtain a second AES key, and decrypting the encrypted user interest package account book according to the second AES key to obtain a user interest package account book.
In a third aspect, an embodiment of the present application provides a health management apparatus based on a block chain, which is applied to a health management platform, and includes:
the first response module is used for responding to a login request of a user, and acquiring a user interest information package from a block chain after user identity information in the login request passes verification, wherein the user interest information package comprises user interests corresponding to at least one health management scheme purchased by the user, and the user interest information package is uploaded to the block chain by a health management scheme supply platform;
the second response module is used for responding to a health management request of a user, and the health management request carries a rights and interests identifier;
an obtaining module, configured to obtain a first user equity package account book on the block chain when a user equity corresponding to the equity identifier is a user equity in the user equity information package, where the first user equity package account book is generated by the health management platform based on historical usage information of the user equity and is uploaded to the block chain, so that the health management scheme supply platform obtains the first equity package account book from the block chain to perform reconciliation settlement;
and the feedback module is used for acquiring a health management response according to the first user equity package account book and feeding back the health management response to the user.
In a fourth aspect, an embodiment of the present application provides a health management apparatus based on a block chain, which is applied to a health management scheme provision platform, and includes:
the processing module is used for generating a user interest information packet based on the user interest corresponding to the health management scheme purchased by the user and uploading the user interest information packet to the block chain;
the acquisition module is used for acquiring a user interest package account book from the block chain based on user interests in the user interest information package, wherein the user interest package account book is used for indicating use information of the user interests, and the user interest package account book is generated by the health management platform based on historical use information of the user interests and is uploaded to the block chain;
and the settlement module is used for performing service reconciliation settlement with the health management platform according to the equity package account book.
In a fifth aspect, an embodiment of the present application provides an electronic device, including: a memory and a processor;
the memory is used for storing computer instructions; the processor is configured to execute the memory-stored computer instructions to implement the method of any of the first aspects.
In a sixth aspect, embodiments of the present application provide a computer-readable storage medium having a computer program stored thereon, where the computer program is executed by a processor to implement the method of any one of the first aspect.
In a seventh aspect, this application provides a computer program product, which includes a computer program that, when executed by a processor, implements the method of any one of the first aspect.
In an eighth aspect, an embodiment of the present application provides a health management system based on a blockchain, including: a health management platform for performing the method of any of the first aspects and a health management program provisioning platform for performing the method of any of the second aspects.
According to the health management method and system based on the block chain, the login request of the user is responded, the user interest information packet is obtained from the block chain after the user identity information in the login request is verified, the health management request of the user is responded, the interest identifier is carried in the health management request, when the user interest corresponding to the interest identifier is the user interest in the user interest information packet, the first user interest packet account book is obtained from the block chain, the health management response is obtained according to the first user interest packet account book, and the health management response is fed back to the user. The rights and interests information of the user is integrated through the block chain, the rights and interests account book is generated, when the user uses the health management rights and interests, the user is served according to the rights and interests use condition in the rights and interests account book, the rights and interests information is no longer confirmed with the health management scheme supply platform, and the efficiency of business processing is improved.
Drawings
Fig. 1 is a schematic diagram of a health management method provided in an embodiment of the present application;
fig. 2 is a schematic view of a scenario provided by an embodiment of the present application;
fig. 3 is a first flowchart illustrating a health management method based on a blockchain according to an embodiment of the present disclosure;
fig. 4 is a second flowchart illustrating a block chain-based health management method according to an embodiment of the present disclosure;
fig. 5 is a third flowchart illustrating a health management method based on a blockchain according to an embodiment of the present disclosure;
FIG. 6 is a first block chain based health management apparatus according to an embodiment of the present disclosure;
FIG. 7 is a block chain based health management apparatus according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device for block chain based health management according to an embodiment of the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments.
In the embodiments of the present application, the terms "first" and "second" are used to distinguish the same items or similar items having substantially the same functions and actions, and the order of the items or similar items is not limited. Those skilled in the art will appreciate that the terms "first," "second," etc. do not denote any order or quantity, nor do the terms "first," "second," etc. denote any order or importance.
It should be noted that in the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or explanations. Any embodiment or design described herein as "exemplary" or "such as" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts related in a concrete fashion.
In the field of endowment and guarantee, with the improvement of living standard, the health management consciousness of people is increasingly strengthened, and users can obtain corresponding health management interests by purchasing health management schemes, such as insurance service purchase, physical examination service purchase and the like.
At present, a user can purchase health management schemes through various channels, for example, insurance services are purchased through a policy under a line, physical examination services are purchased through a mall on the line, and the like.
However, in the process of using rights and interests through the health management platform, the health management platform needs to confirm and settle rights and interests through an original purchase channel of the user, as shown in fig. 1, after the user purchases a health management scheme through different channels, corresponding rights and interests are generated and synchronized to the health management platform, when the user uses rights and interests through the health management platform, firstly, the user needs to confirm purchase information of the user through the original purchase channel of the supply platform, and after the user confirms the rights and interests, the user also needs to return to the supply platform to confirm the use rights and interests information.
In view of this, embodiments of the present application provide a method and a system for health management based on a block chain, where the block chain is used to perform data transmission and interaction, and according to a non-falsification characteristic of the block chain, a complex multi-party interaction between a health management platform and a supply platform is converted into a single chain-shaped interaction, so as to improve service handling efficiency between the health management service platform and the supply platform.
The following describes the technical solutions of the present application and how to solve the above technical problems with specific embodiments. The following embodiments may be implemented independently or in combination, and details of the same or similar concepts or processes may not be repeated in some embodiments.
Fig. 2 is a schematic view of an application scenario of the embodiment of the present application, as shown in fig. 2, including: a health management scheme provisioning platform 201, a blockchain 202, and a health management platform 203.
In this embodiment of the application, the health management scheme provisioning platform 201 uploads, through a related intelligent contract interface, user interest package information corresponding to health management schemes purchased by a user through different channels to the block chain 202, where one user interest package includes at least one health management scheme and one user interest package is purchased through the same channel.
The health management platform 203 acquires all user equity package information of the same user through the block chain 202, unifies the user equity in the user equity package information into a user equity package account book, and uploads the user equity package account book to the block chain 202.
In the process of using the rights and interests of the user, the health management platform 203 verifies the rights and interests information of the user through the block chain 202, and after the verification is passed, the rights and interests of the user are responded.
In the embodiment of the application, in order to further ensure the security of data in the transmission process, when the health management scheme supply platform 201 and the health management platform 203 upload data to the block chain, a means combining a symmetric encryption manner and an asymmetric encryption manner may be adopted to encrypt the data, so as to fully ensure the security of the data, and in addition, the non-tamper property of the block chain itself further improves the security coefficient of the data.
Optionally, the block chain in the embodiment of the present application is constructed in a manner of a federation chain, and the participating provider joins the platform as a member. The IBM-dominated Hyperhedger Fabric technology is technically supposed to be adopted to construct a block chain foundation platform.
In the above, an application scenario of the embodiment of the present application is described, and several specific embodiments are adopted to describe the health management method based on the blockchain provided in the embodiment of the present application.
Fig. 3 is a first flowchart of a health management method based on a blockchain according to an embodiment of the present application, which is applied to a health management platform and includes the following steps:
s301, responding to a login request of a user, and obtaining a user right information packet from the block chain after the user identity information in the login request passes verification.
In the embodiment of the application, the user interest information package includes user interests corresponding to at least one health management scheme purchased by a user, and the user interest information package is uploaded to the block chain by the health management scheme supply platform, wherein the user interests refer to health management interests which can be used by the user, such as video doctors, green channel registration, accompany service and the like.
In the embodiment of the application, the login request of the user refers to a request generated by the health management platform triggered by the user to log in the health management platform, and the user identity information refers to information of the user logging in the health management platform, such as a mobile phone number, an identification number and the like.
In the embodiment of the application, after the user logs in, the health management platform can acquire the rights and interests information packet of the user from the block chain according to the identity of the user.
And S302, responding to a health management request of the user, wherein the health management request carries a rights and interests identifier.
In the embodiment of the application, the health management request of the user refers to a request for triggering generation of a use right in a health management platform by the user, and includes reserving health management services, using health rights and interests, inquiring health rights and interests and the like, the right and interest identifier refers to an identifier for identifying the user rights and interests, and one user right and interest corresponds to one right and interest identifier.
In the embodiment of the application, when the health management platform receives the health management request of the user, the subsequent health management method is executed to respond to the health management request of the user.
And S303, when the user right corresponding to the right identification is the user right in the user right information packet, acquiring a first user right packet account book on the block chain.
In this embodiment of the application, the first user equity package account book is generated by the health management platform based on historical usage information of the user equity and uploaded to the block chain, so that the health management scheme supply platform obtains the first equity package account book from the block chain to perform reconciliation and settlement, where the first user equity package account book includes usage of a corresponding equity in the user's ownership information package.
In the embodiment of the application, the health management platform inquires whether corresponding rights and interests exist in the acquired user rights and interests information packet according to the rights and interests identifier, and if the corresponding rights and interests exist, acquires a rights and interests packet account book of the user on the block chain according to the identifier of the user.
It is understood that the first user equity package ledger book may be generated according to the user equity information package when the user does not use equity, or may be generated according to the equity and equity use information of the user.
S304, acquiring a health management response according to the first user interest package account book, and feeding back the health management response to the user.
In the embodiment of the present application, the health management response refers to a response generated according to a corresponding use result after the user uses the right.
For example, if the user's equity identification is to subscribe to a health service, if the health service in the first user's equity package account is available, the subscription is successful, the health management response may be a message that the subscription is successful, if the health service in the first user's equity package account is unavailable, the subscription is failed, and the corresponding health management response may be a message that the subscription is failed.
In the embodiment of the application, the health management platform acquires a health management response corresponding to the health management request according to the first user interest package account book, and feeds the health management response back to the user, so that the user obtains a result of the health management request, and the health management is finished.
The health management method based on the block chain is applied to a health management platform, and by responding to a login request of a user, after user identity information in the login request is verified, a user interest information packet is obtained from the block chain, the health management request of the user is responded, an interest identifier is carried in the health management request, when the user interest corresponding to the interest identifier is the user interest in the user interest information packet, a first user interest packet account book is obtained from the block chain, a health management response is obtained according to the first user interest packet account book, and the health management response is fed back to the user. The rights and interests information of the user is integrated through the block chain, the rights and interests account book is generated, when the user uses the health management rights and interests, the user is served according to the rights and interests use condition in the rights and interests account book, the rights and interests information is no longer confirmed with the health management scheme supply platform, and the efficiency of business processing is improved.
Fig. 4 is a flowchart of a block chain-based health management method according to a second embodiment of the present disclosure, which is applied to a health management scheme provision platform and includes the following steps:
s401, generating a user interest information packet based on the user interest corresponding to the health management scheme purchased by the user, and uploading the user interest information packet to a block chain.
In the embodiment of the present application, a health management scheme refers to a combination of a plurality of health services purchased by a user through a certain channel, for example, one health management scheme may include a registration service, an inquiry service, a consultation service, and the like.
In the embodiment of the application, when the health management scheme supply platform obtains the health management scheme purchased by the user, the health management scheme can be analyzed, and the rights and the use times of the rights of the user are obtained.
In the embodiment of the application, the same user interest information packet can be obtained by integrating the use times of the user interest and the user interest in at least one health management scheme purchased by a user through the same channel for the health management scheme supply platform.
After the health management scheme supply platform obtains the user interest information packet of the user, the user interest information packet can be uploaded to the block chain through the corresponding contract interface.
It will be appreciated that the same user may be used for multiple user entitlement packages.
S402, acquiring a user equity package account book from the block chain based on the user equity in the user equity information package, wherein the user equity package account book is used for indicating the use information of the user equity, and the user equity package account book is generated by the health management platform based on the historical use information of the user equity and is uploaded to the block chain.
In the embodiment of the application, when account checking and settlement are required to be performed by the health management scheme supply platform, the user interest package account book can be acquired from the block chain according to the user identification, user interest items in the user interest package account book can be checked based on the user interest in the user interest information package, and when the user interest items in the user interest package account book are confirmed to be correct, subsequent service account checking and settlement can be performed according to the user interest package account book.
And S403, performing service reconciliation and settlement according to the equity package account book and the health management platform.
In the embodiment of the application, the service reconciliation settlement refers to the confirmation and settlement of the health management scheme supply platform and the health management platform for the rights and interests of the user.
The health management scheme supply platform can obtain the rights and interests use condition of the user according to the rights and interests package account book acquired from the block chain, and performs service reconciliation and settlement with the health management platform according to the rights and interests use condition of the user.
The health management method based on the block chain is applied to a health management scheme supply platform, a user interest information packet is generated through user interests corresponding to a health management scheme purchased by a user, the user interest information packet is uploaded to the block chain, a user interest packet account book is obtained from the block chain based on the user interests in the user interest information packet, the user interest packet account book is used for indicating use information of the user interests, the user interest packet account book is generated by the health management platform based on historical use information of the user interests and uploaded to the block chain, and business reconciliation settlement is carried out according to the interest packet account book and the health management platform. When the business reconciliation settlement is carried out, the rights and interests use condition of the user can be quickly obtained through the block chain, the information confirmation with the health management platform is not needed any more, and the business processing efficiency is improved.
Fig. 5 is a third schematic flowchart of a health management method based on a blockchain according to an embodiment of the present application, and on the basis of the embodiments shown in fig. 3 and fig. 4, the health management method based on a blockchain according to an embodiment of the present application is further described, including the following steps:
s501, the health management scheme supply platform generates a user right information package based on the user right corresponding to the health management scheme purchased by the user.
The specific implementation manner of S501 in this embodiment is similar to the implementation manner of the step shown in S401 in the embodiment shown in fig. 4, and is not described here again.
S502, the user right information packet is encrypted by the first secret key, and the encrypted user right information packet is uploaded to the block chain.
In this embodiment of the application, the first key may be a symmetric key, for example, an AES key, after the health management scheme provisioning platform randomly generates the first key through an AES encryption algorithm, the user interest information packet is encrypted according to the first key to obtain an encrypted user interest information packet, and the encrypted user interest information packet is uploaded to the block chain through a corresponding contract interface, where the user interest information packet carries a user identifier.
S503, the health management scheme supply platform obtains a public key of the health management platform.
In the embodiment of the application, the public key is a public key in an RSA key pair uploaded by the health management platform through the blockchain, the public key carries a platform identifier of the health management platform, and the health management scheme supply platform can obtain the public key of the health management platform on the blockchain through the platform identifier of the health management platform.
It can be understood that the health management platform and the health management scheme supply platform are partners joining the block chain, and when joining the block chain, both parties can upload their public keys to the block chain, and their corresponding platform identifiers can also be obtained through interaction.
S504, the health management scheme supply platform adopts the public key of the health management platform to encrypt the first secret key, and uploads the encrypted first secret key to the block chain.
In the embodiment of the application, in order to ensure that the first key is not intercepted in the process of being transmitted to the health management platform, the health management scheme supply platform encrypts the first key by using the public key of the health management platform to obtain the encrypted first key, and uploads the encrypted first key to the block chain, so that the security of the first key in the transmission process can be improved, wherein the encrypted first key carries the identifier of the health management platform.
And S505, the health management platform responds to the login request of the user, and acquires the user interest information packet from the block chain after the user identity information in the login request passes verification.
The specific implementation manner of S505 in this embodiment is similar to the implementation manner of the step shown in 301 in the embodiment shown in fig. 3, and is not described here again.
S506, the health management platform obtains the encrypted first key from the block chain.
In this embodiment, the health management platform may obtain the encrypted first key from the blockchain according to the identifier of the health management scheme provisioning platform.
S507, the health management platform decrypts the encrypted first key by using a private key to obtain the first key, and decrypts the user rights and interests information packet by using the first key.
In the embodiment of the application, the health management platform decrypts the encrypted first key through a private key in an RSA key pair to obtain the first key, and decrypts the encrypted user right information packet according to the first key to obtain the plaintext user right information packet.
It is to be understood that the user right information package in the embodiment of the present application may be one or more.
And S508, the health management platform generates a first user interest package account book according to the user interest package and uploads the first user interest package account book to the block chain.
In the embodiment of the application, the health management platform can analyze all user equity information packages of the user, obtain the user equity and corresponding equity times, generate an equity package account book of the user, and upload the first user equity package account book to the block chain through a corresponding contract interface.
It is to be understood that the first user equity package ledger may be generated for the health management platform when the health management scheme provisioning platform uploads the user equity package to the blockchain, i.e., the process shown in this step may be performed before the user logs on to the health management platform.
Optionally, in this embodiment of the application, when the first user equity package account book is uploaded to the block chain, the first user equity package account book may be encrypted, so as to improve the security of the first user equity package account book, and the encryption manner may refer to the following step shown in S501, so that the health management scheme providing platform may check the user equity according to the encrypted first user equity package account book.
S509, the health management platform responds to the health management request of the user and obtains a first user rights package account book from the block chain.
The specific implementation manner of S505 in this embodiment is similar to the implementation manner of the step shown in 303 in the embodiment shown in fig. 3, and is not described here again.
Optionally, the health management platform may decrypt the first user equity package account in a decryption manner corresponding to the encryption manner to obtain the plaintext first user equity package account.
And S510, the health management platform executes the health management request of the user, generates a second user rights and interests package account book, and encrypts by adopting a second secret key.
In this embodiment of the application, a specific implementation manner of the health management platform executing the health management request of the user is similar to an implementation manner of the step shown in 304 in the embodiment shown in fig. 3, and details are not described here.
In this embodiment of the application, the second user equity package account book deducts the first user equity package account book, that is, if the number of equity times corresponding to the user equity in the first user equity package account book is not zero, the number of equity times corresponding to the first user equity package account book is deducted after the user equity takes effect.
In this embodiment of the application, the second key may be a symmetric key, for example, an AES key, and after the health management platform randomly generates the second key through an AES encryption algorithm, the health management platform encrypts the user equity package account book according to the second key to obtain an encrypted user equity package account book, where the user equity package account book carries the user identifier.
And S511, the health management platform uploads the encrypted second user right and interest package account book to the block chain.
In the embodiment of the application, the health management platform uploads the encrypted user equity package account book to the block chain through the corresponding contract interface.
S512, the health management platform acquires the public key of the health supply management platform from the block chain.
In the embodiment of the application, the health management platform can acquire the public key of the health management scheme supply platform on the block chain through the platform identifier of the health management scheme supply platform.
S513, the health management platform encrypts the second key according to the public key and uploads the encrypted second key to the block chain.
In the embodiment of the application, in order to ensure that the second key is not intercepted in the process of being transmitted to the health management scheme supply platform, the health management platform encrypts the second key by using the public key of the health management scheme supply platform to obtain the encrypted second key, and uploads the encrypted second key to the block chain, so that the security of the second key in the transmission process can be improved, wherein the encrypted second key carries the identifier of the health management scheme supply platform.
And S514, the health management scheme supply platform acquires the encrypted user interest package account book and the encrypted second key from the block chain.
In this embodiment of the application, the health management scheme provisioning platform may obtain the encrypted user equity package ledger according to the user identifier, and obtain the encrypted second key according to the identifier of the health management scheme provisioning platform.
It will be appreciated that the interaction of the health management solution provisioning platform with the blockchain is implemented through a corresponding contract interface.
And S515, the health management scheme supply platform decrypts the encrypted second key by using a private key to obtain the second key, decrypts the user equity package account book by using the second key, and performs service reconciliation settlement based on the equity package account book.
In the embodiment of the application, the health management scheme supply platform decrypts the encrypted second key through a private key in the RSA key pair to obtain the second key, and decrypts the encrypted equity package account book according to the second key to obtain the clear-text equity package account book.
In this embodiment of the application, the implementation manner of performing the service reconciliation settlement based on the equity account book is similar to that in the step shown in embodiment 403 shown in fig. 4, and details are not described here again.
According to the health management method based on the block chain, the block chain is adopted to transmit and interact user data between the health management scheme supply platform and the health management platform, complex multi-party interaction between the health management platform and the health management scheme supply platform is converted into single chain interaction according to the characteristic that the block chain cannot be tampered, the business handling efficiency between the health management platform and the health management scheme supply platform is improved, and in the data transmission process, a mode of combining symmetric encryption and asymmetric encryption is adopted, so that the safety of the user data is further improved.
On the basis of the health management method based on the block chain, the embodiment of the application also provides a health management device based on the block chain.
Fig. 6 is a schematic structural diagram of a health management device 60 based on a blockchain according to an embodiment of the present application, which is applied to a health management platform, as shown in fig. 6, and includes:
the first response module 601 is configured to respond to a login request of a user, and obtain a user interest information package from the block chain after the user identity information in the login request is verified, where the user interest information package includes a user interest corresponding to at least one health management scheme purchased by the user, and the user interest information package is uploaded to the block chain by the health management scheme supply platform.
A second response module 602, configured to respond to a health management request of a user, where the health management request carries a rights and interests identifier.
The obtaining module 603 is configured to obtain a first user right package account book on the block chain when the user right corresponding to the right identification is the user right in the user right information package, where the first user right package account book is generated by the health management platform based on the historical use information of the user right and is uploaded to the block chain, so that the health management scheme supply platform obtains the first right package account book from the block chain to perform reconciliation settlement.
The feedback module 604 is configured to obtain a health management response according to the first user equity package ledger book, and feed back the health management response to the user.
Optionally, the feedback module 604 is further configured to, if the number of rights and interests corresponding to the user rights and interests in the first user rights and interests package account is not zero, deduct the number of rights and interests corresponding to the first user rights and interests package account after the user rights and interests take effect, and use the remaining number of rights and interests as the health management response.
Optionally, the health management apparatus 60 further includes: an encryption module 605.
An encryption module 605, configured to obtain an encrypted first AES key on the block chain according to the health management scheme supply platform identifier, and decrypt with a corresponding private key to obtain the first AES key; and decrypting the entitlement information packet according to the first AES key.
Optionally, the encrypting module 605 is further configured to encrypt the second user equity package account book according to the second AES key, and upload the encrypted second user equity package account book to the block chain, where the second user equity package account book is obtained by deducting the first user equity package account book; and acquiring a public key of the health management scheme supply platform, encrypting the second AES key by adopting the public key, and uploading the encrypted second AES key to the block chain.
The health management device based on the blockchain according to the embodiment of the present application may execute the technical solutions of the embodiments of the health management method based on the blockchain in fig. 3 and 5, and the implementation principle and the technical effects are similar, which are not described herein again.
Fig. 7 is a schematic structural diagram of a health management apparatus 70 based on a block chain according to an embodiment of the present application, which is applied to a health management scheme supply platform, as shown in fig. 7, and includes:
the processing module 701 is configured to generate a user interest information package based on a user interest corresponding to the health management scheme purchased by the user, and upload the user interest information package to the block chain.
An obtaining module 702, configured to obtain, from the blockchain, a user equity package account book based on a user equity in an equity information package of a user, where the user equity package account book is used to indicate usage information of the user equity, and the user equity package account book is generated by the health management platform based on historical usage information of the user equity and uploaded to the blockchain.
And the settlement module 703 is configured to perform service reconciliation settlement with the health management platform according to the equity package account book.
Optionally, the health management device 70 further comprises: an encryption module 704.
The encryption module 704 is configured to encrypt the rights and interests packet by using a first AES encryption key generated randomly, and upload the encrypted rights and interests packet to the block chain; and acquiring a public key of the health management platform, encrypting the first AES key according to the public key, and uploading the encrypted first AES key to the block chain.
The encryption module 704 is further configured to obtain an encrypted user entitlement package (AES) account book and an encrypted second AES key from the blockchain; and decrypting the encrypted second AES key according to the private key to obtain a second AES key, and decrypting the encrypted user rights and interests package account book according to the second AES key to obtain a user rights and interests package account book.
The health management device based on the blockchain according to the embodiment of the present application may execute the technical solutions of the embodiments of the health management method based on the blockchain in fig. 4 and 5, which have similar implementation principles and technical effects and are not described herein again.
Fig. 8 is a schematic structural diagram of a health management electronic device based on a blockchain according to an embodiment of the present application. As shown in fig. 8, the block chain-based health management electronic device 80 provided in this embodiment may include:
a processor 801.
A memory 802 for storing executable instructions of the terminal device.
The processor is configured to execute the technical solution of the embodiment of the health management method based on the block chain by executing the executable instructions, and the implementation principle and the technical effect are similar, and are not described herein again.
The embodiment of the present application further provides a computer-readable storage medium, where a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the technical solution of the embodiment of the health management method based on a block chain is implemented, and the implementation principle and the technical effect of the embodiment are similar, and are not described herein again.
In one possible implementation, the computer-readable medium may include Random Access Memory (RAM), read-Only Memory (ROM), compact disc Read-Only Memory (CD-ROM) or other optical disk storage, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. Also, any connection is properly termed a computer-readable medium. For example, if the software is transmitted from a website, server, or other remote source using a coaxial cable, fiber optic cable, twisted pair, digital Subscriber Line (DSL), or wireless technologies such as infrared, radio, and microwave, then the coaxial cable, fiber optic cable, twisted pair, DSL, or wireless technologies such as infrared, radio, and microwave are included in the definition of medium. Disk and Disc, as used herein, includes Disc, laser Disc, optical Disc, digital Versatile Disc (DVD), floppy disk and blu-ray Disc where disks usually reproduce data magnetically, while discs reproduce data optically with lasers. Combinations of the above should also be included within the scope of computer-readable media.
The embodiment of the present application further provides a computer program product, which includes a computer program, and when the computer program is executed by a processor, the computer program implements the technical solution of the embodiment of the health management method based on a block chain, and the implementation principle and the technical effect of the computer program are similar, and are not described herein again.
The embodiment of the application also provides a health management system based on the block chain, which comprises a health management platform and a health management scheme supply platform. The health management system based on the block chain can realize the technical scheme of the embodiment of the health management method based on the block chain, the realization principle and the technical effect are similar, and the details are not repeated here.
In the above Specific implementation of the terminal device or the server, it should be understood that the Processor may be a Central Processing Unit (CPU), other general purpose processors, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), etc. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
Those skilled in the art will appreciate that all or a portion of the steps of any of the above-described method embodiments may be performed by hardware associated with program instructions. The program may be stored in a computer-readable storage medium, and when executed, performs all or part of the steps of the above-described method embodiments.
The technical scheme of the application can be stored in a computer readable storage medium if the technical scheme is realized in a software form and is sold or used as a product. Based on this understanding, all or part of the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium and includes a computer program or several instructions. The computer software product enables a computer device (which may be a personal computer, a server, a network device, or a similar electronic device) to perform all or part of the steps of the method described in the embodiments of the present application.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solutions of the present application, and not to limit the same; although the present application has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art will understand that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and these modifications or substitutions do not depart from the scope of the technical solutions of the embodiments of the present application.

Claims (10)

1. A health management method based on a block chain is applied to a health management platform and comprises the following steps:
responding to a login request of a user, and acquiring a user interest information packet from a block chain after user identity information in the login request passes verification, wherein the user interest information packet comprises user interests corresponding to at least one health management scheme purchased by the user, and the user interest information packet is uploaded to the block chain by a health management scheme supply platform;
responding to a health management request of a user, wherein the health management request carries a rights and interests identifier;
when the user equity corresponding to the equity identification is the user equity in the user equity information packet, acquiring a first user equity packet account book on the block chain, wherein the first user equity packet account book is generated by the health management platform based on the historical use information of the user equity and is uploaded to the block chain, so that the health management scheme supply platform acquires the first user equity packet account book from the block chain to perform reconciliation settlement;
and acquiring a health management response according to the first user interest package account book, and feeding back the health management response to the user.
2. The method of claim 1, wherein obtaining a health management response from the first user equity package ledger comprises;
and if the number of rights and interests corresponding to the user rights and interests in the first user rights and interests packet account book is not zero, deducting the number of rights and interests corresponding to the first user rights and interests packet account book after the user rights and interests take effect, and taking the remaining number of rights and interests as the health management response.
3. The method of claim 2, wherein after obtaining the user interest information package on the blockchain, the method further comprises:
acquiring an encrypted first AES key on the block chain according to the health management scheme supply platform identification, and decrypting by using a corresponding private key to acquire the first AES key;
and decrypting the entitlement information packet according to the first AES key.
4. The method of claim 3, wherein after the obtaining a health management response from the first user equity package ledger, the method further comprises:
encrypting a second user equity package account book according to a second AES key, and uploading the encrypted second user equity package account book to a block chain, wherein the second user equity package account book is obtained by deducting the first user equity package account book;
and acquiring a public key of the health management scheme supply platform, encrypting the second AES key by adopting the public key, and uploading the encrypted second AES key to a block chain.
5. A health management method based on a block chain is applied to a health management scheme supply platform, and the method comprises the following steps:
generating a user interest information packet based on the user interest corresponding to the health management scheme purchased by the user, and uploading the user interest information packet to the block chain;
acquiring a user equity package account book from the block chain based on user equity in the user equity information package, wherein the user equity package account book is used for indicating the use information of the user equity, and the user equity package account book is generated by the health management platform based on the historical use information of the user equity and is uploaded to the block chain;
and performing service reconciliation settlement according to the equity package account book and the health management platform.
6. The method of claim 5, wherein uploading the user interest information package to the blockchain comprises:
encrypting the rights and interests information packet by adopting a first AES encryption key which is randomly generated, and uploading the encrypted rights and interests information packet to a block chain;
and acquiring a public key of the health management platform, encrypting the first AES key according to the public key, and uploading the encrypted first AES key to the block chain.
7. The method of claim 5, wherein the obtaining a user equity package ledger from the blockchain comprises:
acquiring an encrypted user entitlement packet account book and an encrypted second AES key from the blockchain;
and decrypting the encrypted second AES key according to a private key to obtain a second AES key, and decrypting the encrypted user interest package account book according to the second AES key to obtain a user interest package account book.
8. An electronic device, comprising:
a memory for storing a computer program;
a processor for executing the computer program to implement the method of any of claims 1-4 or claims 5-7.
9. A computer-readable storage medium, having stored thereon a computer program for execution by a processor to perform the method of any of claims 1-4 or claims 5-7.
10. A blockchain-based health management system, comprising: a health management platform for performing the method of any one of claims 1-4 and a health management program provisioning platform for performing the method of any one of claims 5-7.
CN202211511510.6A 2022-11-29 2022-11-29 Health management method and system based on block chain Pending CN115719225A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211511510.6A CN115719225A (en) 2022-11-29 2022-11-29 Health management method and system based on block chain

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211511510.6A CN115719225A (en) 2022-11-29 2022-11-29 Health management method and system based on block chain

Publications (1)

Publication Number Publication Date
CN115719225A true CN115719225A (en) 2023-02-28

Family

ID=85257556

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211511510.6A Pending CN115719225A (en) 2022-11-29 2022-11-29 Health management method and system based on block chain

Country Status (1)

Country Link
CN (1) CN115719225A (en)

Similar Documents

Publication Publication Date Title
CA3027741C (en) Blockchain systems and methods for user authentication
US8925046B2 (en) Device, method, and recording medium
US20180262530A1 (en) Secure transport channel using multiple cipher suites
US9137223B2 (en) Apparatus and method for transmitting data, and recording medium storing program for executing method of the same in computer
CA2808369C (en) System for protecting an encrypted information unit
CN111431713B (en) Private key storage method and device and related equipment
EP3345372B1 (en) Secure key management and peer-to-peer transmission system with a controlled, double-tier cryptographic key structure and corresponding method thereof
KR20190117286A (en) User device and electronic device for sharing data based on block chain and homomorphic encryption technology and methods thereof
CA2981013A1 (en) System and method for providing a cryptographic platform for exchanging information
JP6145806B2 (en) Immediate communication method and system
JP2018503199A (en) Account recovery protocol
CN107534667A (en) Key exports technology
CN107483505B (en) Method and system for protecting user privacy in video chat
CN106790037B (en) User mode encrypted instant messaging method and system
WO2019227225A1 (en) Systems and methods for establishing communications via blockchain
US20110055547A1 (en) Personal information management and delivery mechanism
CN102427442A (en) Combining request-dependent metadata with media content
US10063655B2 (en) Information processing method, trusted server, and cloud server
WO2020062667A1 (en) Data asset management method, data asset management device and computer readable medium
CN102404337A (en) Data encryption method and device
JP6293245B1 (en) Transaction mutual monitoring system with enhanced security
US11575658B2 (en) Encryption device, a communication system and method of exchanging encrypted data in a communication network
Ramachandran et al. Secure and efficient data forwarding in untrusted cloud environment
CN107919958B (en) Data encryption processing method, device and equipment
KR20130021774A (en) Method for providing security service based on digital certificate and system for providing security service based on digital certificate

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination