Health big data management system based on blockchain and cloud services

Through a health big data management system based on blockchain and cloud services, combined with 3D holographic projection and gaze-based judgment technology, the intelligent drug purchasing process of unmanned pharmacies is realized, which solves the problem of privacy protection and drug purchasing efficiency improvement in the existing system. problems, improving the efficiency and user experience of intelligent drug purchasing in unmanned pharmacies.

CN114360680BActive Publication Date: 2024-09-27ZHEJIANG BEIDUOKANG HEALTH IND CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210014646.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-07
Publication Date
2024-09-27
Estimated Expiration
2042-01-07

AI Technical Summary

Technical Problem

The existing health big data management system has deficiencies in privacy protection and improving the efficiency of intelligent drug purchasing in unmanned pharmacies. It is difficult to effectively utilize the technical advantages of blockchain and cloud services, and it lacks intelligent drug recommendation and delivery mechanisms.

Method used

A health big data management system based on blockchain and cloud services is designed, including a health big data upload module, a cloud service platform, a health big data analysis module, a prediction module, an unmanned pharmacy shopping guide module, a gaze judgment module and a robot. The medicine delivery module stores user data through the blockchain, uses 3D holographic projection and gaze dwell judgment technology to realize intelligent drug purchase, and improves efficiency through the robot medicine delivery module.

Benefits of technology

It realizes the privacy protection of user health big data and the intelligent drug purchase process of unmanned pharmacies, improves the efficiency of users purchasing drugs in unmanned pharmacies, improves the life happiness index, and strengthens digital and intelligent construction, in line with the national intelligence development needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114360680B
    Figure CN114360680B
Patent Text Reader

Abstract

The present invention discloses a health big data management system based on blockchain and cloud service, which belongs to the technical field of health big data management. The system includes a health big data upload module, a cloud service platform, a health big data analysis module, a prediction module, an unmanned drugstore shopping guide module, a gaze stay judgment module, a robot medicine delivery module, and a blockchain storage module; the output end of the health big data upload module is connected to the cloud service platform and the input end of the blockchain storage module; the cloud service platform, the health big data analysis module, the prediction module, the unmanned drugstore shopping guide module, the gaze stay judgment module, and the robot medicine delivery module are connected in sequence; the output end of the blockchain storage module is connected to the input end of the cloud service platform. Based on health big data management, the present invention can meet the intelligent drug purchase of users in unmanned drugstores and reduce the rate of illegal use of medical insurance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of health big data management, and specifically to a health big data management system based on blockchain and cloud services. Background Art

[0002] Health big data is a kind of human health data that is continuously collected from other terminals and automatically transmitted to the cloud for data analysis and processing. The cloud database regularly sends the results to professionals, who then give diagnosis or rehabilitation advice. This model allows people in need of health to obtain health management services without leaving home, thus truly reducing the human and material costs of medical services.

[0003] An unmanned pharmacy is an intelligent pharmacy where customers can buy medicines by themselves by following a certain process. In the existing technology, customers generally select products on a smart interactive screen, pick up medicines according to indicator lights, and settle the bill without any feeling. Summary of the invention

[0004] The purpose of the present invention is to provide a health big data management system based on blockchain and cloud services, providing the following technical solutions:

[0005] A health big data management system based on blockchain and cloud services, the system includes a health big data upload module, a cloud service platform, a health big data analysis module, a prediction module, an unmanned drugstore shopping guide module, a gaze stay judgment module, a robot medicine delivery module, and a blockchain storage module;

[0006] The health big data upload module is used to set the user login account and password, and the user organizes and uploads his own health big data; the cloud service platform is used to call the health big data organized and uploaded by the user; the health big data analysis module is used to retrieve the health big data in the cloud service platform, classify the data, and obtain the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data; the prediction module is used to build a prediction model to predict the user's demand probability for various drugs based on the user's health big data in the cloud service platform; the unmanned drugstore shopping guide module is used to project the predicted drugs in the drugstore in the form of 3D holographic projection according to the prediction results of the prediction module; the gaze stay judgment module is used to lock the drugs required by the user according to the user's gaze stay time, and output them to the robot cloud; the robot drug delivery module is used to receive the data results of the gaze stay judgment module, open the corresponding medicine cabinet, select the drugs and deliver them to the user; the blockchain storage module is used to store the user's health big data on the blockchain to prevent privacy leakage;

[0007] The output end of the health big data upload module is connected to the input end of the cloud service platform; the output end of the cloud service platform is connected to the input end of the health big data analysis module; the output end of the health big data analysis module is connected to the input end of the prediction module; the output end of the prediction module is connected to the input end of the unmanned drugstore shopping guide module; the output end of the unmanned drugstore shopping guide module is connected to the input end of the gaze stay judgment module; the output end of the gaze stay judgment module is connected to the input end of the robot medicine delivery module; the output end of the health big data upload module is connected to the input end of the blockchain storage module; the output end of the blockchain storage module is connected to the input end of the cloud service platform.

[0008] According to the above technical solution, the health big data uploading module includes a user login unit and a health big data uploading unit;

[0009] The user login unit is used to set the user account and password. Each user has his or her own account and password. The account is set in a numerical combination sequence, and the password is set by the user. The health big data uploading unit is used for the user to select the authorization mode or the self-upload mode after logging in to the account. In the authorization mode, the hospital or medical insurance unit uploads the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data through the health big data uploading unit; the self-upload mode is used for the user to upload the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data through the health big data uploading unit.

[0010] The output end of the user login unit is connected to the input end of the health big data uploading unit; the output end of the health big data uploading unit is connected to the input end of the blockchain storage module.

[0011] According to the above technical solution, the cloud service platform includes a network cloud disk link unit and a call port unit;

[0012] The network cloud disk link unit is used to build a network cloud disk, establish a connection with the block chain storage module, and obtain the health big data of the users therein for temporary cloud storage; the call port unit is used to build a call port link, and obtain the health big data organized and uploaded by the users under temporary cloud storage from the network cloud disk link unit;

[0013] The output end of the network cloud disk link unit is connected to the input end of the calling port unit; the output end of the calling port unit is connected to the input end of the health big data analysis module.

[0014] According to the above technical solution, the health big data analysis module includes a data classification unit and a sorting and analysis unit;

[0015] The data classification unit is used to retrieve the user's health big data, obtain the user's medical insurance drug purchase data, and the user's hospital diagnosis and treatment data; the sorting and analysis unit is used to sort and analyze the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data;

[0016] The collation and analysis include:

[0017] Screen the main factors of the user's drug purchase data and the user's hospital diagnosis and treatment data;

[0018] The main factor screening includes:

[0019] Use ExpMiner software to build screening strategies;

[0020] Screen the main factors of the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data;

[0021] The main factors of the user's medical insurance drug purchase data are the user's drug purchase interval, the user's drug purchase amount, and the manufacturer of the drug purchased by the user;

[0022] The main factors of the user's hospital diagnosis and treatment data are doctor's prescription and drug purchase data and user's illness data;

[0023] The output end of the data classification unit is connected to the input end of the sorting and analyzing unit.

[0024] According to the above technical solution, the prediction module includes a drug set establishment unit and a prediction unit;

[0025] The drug set establishment unit is used to establish all drugs that the user may purchase based on the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data, and to establish a drug set; the prediction unit is used to construct a prediction model to calculate the purchase probability of all drugs in the drug set;

[0026] The output end of the drug set establishing unit is connected to the input end of the prediction unit; the output end of the prediction unit is connected to the input end of the unmanned drugstore shopping guide module.

[0027] According to the above technical solution, the prediction unit further includes:

[0028] Building a predictive model:

[0029] Get the drug set, denoted as A = {y1, y2, ..., y n}, where y1, y2, …, y n n kinds of drugs that a user may purchase, determined based on the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data;

[0030] Construct influencing factors, using the user's drug purchase interval, the user's drug purchase amount, the user's drug manufacturer, the doctor's prescription drug purchase data, and the user's disease data as influencing factors, recorded as x1, x2, ..., x5;

[0031] Taking the influencing factors as independent variables and the purchase probability of any drug in the drug set as the dependent variable, an initial prediction model is constructed:

[0032] P=a0+a1x1+a2x2+a3x3+a4x4+a5x5+ω

[0033] Among them, a0, a1, a2, a3, a4, and a5 are the regression coefficients of the initial prediction model, which are unknown coefficients; ω is the error factor, which is used to reflect the error impact caused by personal emotional changes; P represents the purchase probability of any drug in the drug set;

[0034] Since the actual purchase probability value only exists in two cases, 100% and 0%;

[0035] However, 0% has a great impact on the fluctuation of data, so the data of 0% is not considered in the actual value of purchase probability;

[0036] Get the historical data of the user purchasing drug y, where y represents any drug in the drug collection;

[0037] Obtain the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data from historical data as a training set;

[0038] According to the initial prediction model, the training set is trained, and the fitting is established with MATLAB software to obtain the regression line of the training set:

[0039] y i =b0+b1x i1 +b2x i2 +b3x i3 +b4x i4 +b5x i5

[0040] Among them, y i is the estimated purchase probability of drug y under the i-th group of data in the training set; b0 is the intercept; b1, b2, b3, b4, b5 are the partial regression coefficients of the corresponding independent variables in the initial prediction model; x i1 、x i2 、x i3 、x i4 、x i5 The medical insurance drug purchase data and hospital diagnosis and treatment data of the i-th group of users in the training set;

[0041] Construct the residual sum of squares function T(x) between the actual purchase probability value and the estimated purchase probability value:

[0042]

[0043] Among them, m represents the number of training set samples;

[0044] Input the function T(x) in MATLAB software, output the image of the function T(x), obtain the minimum value of the function T(x), and output b0, b1, b2, b3, b4, and b5 corresponding to the minimum value, which are recorded as c0, c1, c2, c3, c4, and c5;

[0045] c0, c1, c2, c3, c4, and c5 are specific regression parameters;

[0046] Construct a probability value estimation prediction model based on specific regression parameters:

[0047] P y =c0+c1x1+c2x2+c3x3+c4x4+c5x5+ω

[0048] Among them, P y represents the predicted purchase probability of drug y in the drug set;

[0049] Establish a probability value estimation prediction model for all drugs in drug set A;

[0050] Obtain the predicted purchase probabilities of all drugs in drug set A, construct a predicted purchase probability threshold I, and discard drugs with predicted purchase probabilities lower than the predicted purchase probability threshold I;

[0051] Sort the remaining drugs from large to small according to the predicted purchase probability, and output the sorted set B.

[0052] According to the above technical solution, the unmanned drugstore shopping guide module includes a receiving unit and a selecting unit;

[0053] The receiving unit is used to receive the sorting set output by the prediction unit and identify the drugs in the sorting set; the selecting unit is used to construct a 3D stereoscopic projection and perform holographic projection of the identified drugs above the pharmacy;

[0054] The formula of the projection area of ​​the holographic projection and the predicted purchase probability is as follows:

[0055] S=k1*P y

[0056] Among them, S represents the projection area of ​​the holographic projection, and k1 represents the influence coefficient;

[0057] The output end of the receiving unit is connected to the input end of the selecting unit; the output end of the selecting unit is connected to the input end of the gaze stay judgment module.

[0058] According to the above technical solution, the gaze stay judgment module includes a collection unit and a gaze judgment unit;

[0059] The acquisition unit is used to collect pupil information data of the user; the gaze judgment unit is used to judge the time the user's gaze stays on the holographically projected medicine;

[0060] The gaze judgment unit also includes:

[0061] Take any point at the entrance of the drugstore as the coordinate origin, the plane where the door is when closed as the XOZ plane, the plane where the door is when open as the XOY plane, and the vertical direction as the Z axis to construct a three-dimensional rectangular coordinate system;

[0062] Get the user's pupil coordinates, which are the coordinates of the pupil center, denoted as (x l ,y l 、z l );

[0063] Obtain the visible scattering angle θ of the human eye and the vertical distance h between the user and the holographic projection image;

[0064] The human eye visible scattering angle θ can be obtained through experiments, that is, the maximum angle visible to the human eye, which is set by the system to meet the actual situation;

[0065] Get the parallel plane with a vertical distance h from the user, and get the corresponding point of the user's pupil coordinates on the parallel plane as (x l ,y l +h、z l );

[0066] The corresponding point (x l ,y l +h、z l ) is the center of the circle, h*tanθ is the radius, and the user visible area is constructed;

[0067] Obtain the projection images within the user's visible area, denoted as set E;

[0068] Get the center point coordinates of all projection images in set E;

[0069] Obtain the angle formed by the coordinates of each center point and the user's pupil coordinates on the XOY plane;

[0070] The projection image corresponding to the coordinates of the center point with the smallest angle is recorded as the projection image where the user's gaze is resting, and the gaze rest time is recorded;

[0071] Construct a gaze dwell time threshold D. If the gaze dwell time exceeds the threshold D, the medicine corresponding to the gaze dwell time will be output to the robot drug delivery module port; if the gaze dwell time does not exceed the threshold D, it will be discarded.

[0072] According to the above technical solution, the robot medicine delivery module includes a command receiving unit and a verification unit;

[0073] The instruction receiving unit is used to receive the medicine purchase instruction information issued by the gaze stay judgment module; the verification unit includes a first verification unit and a second verification unit;

[0074] The first verification unit is used to verify the information connection between the robot and the medicine cabinet, and to establish key information between the robot and the medicine cabinet so that only the robot can open the medicine cabinet;

[0075] The second verification unit is used to verify whether the names of the medicines that the robot takes for the same user have a drug-antagonistic relationship set by the system;

[0076] The second verification unit further includes:

[0077] Obtain drug-drug interactions;

[0078] Obtain the name of the medicine that the robot takes. After each time the robot takes medicine, close the key information connection between the medicine cabinet that has a drug-incompatible relationship with the medicine taken this time and the robot until the next user arrives and reopens it;

[0079] The second verification unit has a higher priority than the first verification unit;

[0080] The output end of the instruction receiving unit is connected to the input end of the verification unit.

[0081] According to the above technical solution, the blockchain storage module includes a blockchain storage unit and a cloud service port;

[0082] The blockchain storage unit is used to store the user's health big data; the cloud service port is used to build an information connection between the blockchain and the cloud service platform;

[0083] The output end of the blockchain storage unit is connected to the input end of the cloud service port; the output end of the cloud service port is connected to the input end of the cloud service platform.

[0084] Compared with the prior art, the beneficial effects achieved by the present invention are:

[0085] The present invention obtains the user's health big data through a health big data uploading module, and obtains the user's medical insurance drug purchasing data and the user's hospital diagnosis and treatment data based on cloud services and blockchains; constructs a prediction model through a prediction module, and predicts the user's demand probability for various drugs based on the user's health big data in the cloud service platform; uses 3D holographic projection to project the predicted drugs in the air in a drugstore; uses a gaze stay judgment module to lock the drugs required by the user and output them to the robot cloud; uses a robot drug delivery module to select drugs and deliver them to the user; in the present invention, the privacy of the user's health big data can be protected, and at the same time, an unmanned intelligent drugstore is set up based on the user's health big data, thereby improving the efficiency of users purchasing drugs in unmanned drugstores, improving people's life happiness index, strengthening digital and intelligent construction, and conforming to the country's intelligent development concept. BRIEF DESCRIPTION OF THE DRAWINGS

[0086] The accompanying drawings are used to provide further understanding of the present invention and constitute a part of the specification. They are used to explain the present invention together with the embodiments of the present invention and do not constitute a limitation of the present invention.

[0087] In the attached picture:

[0088] Figure 1 It is a flowchart of a health big data management system based on blockchain and cloud services of the present invention;

[0089] Figure 2 It is a schematic diagram of establishing a model of a prediction unit of a health big data management system based on blockchain and cloud services of the present invention;

[0090] Figure 3 It is a schematic diagram of establishing a coordinate system of an embodiment of a health big data management system based on blockchain and cloud services of the present invention;

[0091] Figure 4 It is a schematic diagram of the angle formed by an embodiment of a health big data management system based on blockchain and cloud service of the present invention. DETAILED DESCRIPTION

[0092] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0093] See also Figure 1-Figure 4 , the present invention provides a technical solution:

[0094] A health big data management system based on blockchain and cloud services, the system includes a health big data upload module, a cloud service platform, a health big data analysis module, a prediction module, an unmanned drugstore shopping guide module, a gaze stay judgment module, a robot medicine delivery module, and a blockchain storage module;

[0095] The health big data upload module is used to set the user login account and password, and the user organizes and uploads his own health big data; the cloud service platform is used to call the health big data organized and uploaded by the user; the health big data analysis module is used to retrieve the health big data in the cloud service platform, classify the data, and obtain the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data; the prediction module is used to build a prediction model to predict the user's demand probability for various drugs based on the user's health big data in the cloud service platform; the unmanned drugstore shopping guide module is used to project the predicted drugs in the drugstore in the form of 3D holographic projection according to the prediction results of the prediction module; the gaze stay judgment module is used to lock the drugs required by the user according to the user's gaze stay time, and output them to the robot cloud; the robot drug delivery module is used to receive the data results of the gaze stay judgment module, open the corresponding medicine cabinet, select the drugs and deliver them to the user; the blockchain storage module is used to store the user's health big data on the blockchain to prevent privacy leakage;

[0096] The output end of the health big data upload module is connected to the input end of the cloud service platform; the output end of the cloud service platform is connected to the input end of the health big data analysis module; the output end of the health big data analysis module is connected to the input end of the prediction module; the output end of the prediction module is connected to the input end of the unmanned drugstore shopping guide module; the output end of the unmanned drugstore shopping guide module is connected to the input end of the gaze stay judgment module; the output end of the gaze stay judgment module is connected to the input end of the robot medicine delivery module; the output end of the health big data upload module is connected to the input end of the blockchain storage module; the output end of the blockchain storage module is connected to the input end of the cloud service platform.

[0097] The health big data uploading module includes a user login unit and a health big data uploading unit;

[0098] The user login unit is used to set the user account and password. Each user has his or her own account and password. The account is set in a numerical combination sequence, and the password is set by the user. The health big data uploading unit is used for the user to select the authorization mode or the self-upload mode after logging in to the account. In the authorization mode, the hospital or medical insurance unit uploads the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data through the health big data uploading unit; the self-upload mode is used for the user to upload the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data through the health big data uploading unit.

[0099] The output end of the user login unit is connected to the input end of the health big data uploading unit; the output end of the health big data uploading unit is connected to the input end of the blockchain storage module.

[0100] The cloud service platform includes a network cloud disk link unit and a call port unit;

[0101] The network cloud disk link unit is used to build a network cloud disk, establish a connection with the block chain storage module, and obtain the health big data of the users therein for temporary cloud storage; the call port unit is used to build a call port link, and obtain the health big data organized and uploaded by the users under temporary cloud storage from the network cloud disk link unit;

[0102] The output end of the network cloud disk link unit is connected to the input end of the calling port unit; the output end of the calling port unit is connected to the input end of the health big data analysis module.

[0103] The health big data analysis module includes a data classification unit and a sorting and analysis unit;

[0104] The data classification unit is used to retrieve the user's health big data, obtain the user's medical insurance drug purchase data, and the user's hospital diagnosis and treatment data; the sorting and analysis unit is used to sort and analyze the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data;

[0105] The collation and analysis include:

[0106] Screen the main factors of the user's drug purchase data and the user's hospital diagnosis and treatment data;

[0107] The main factor screening includes:

[0108] Use ExpMiner software to build screening strategies;

[0109] Screen the main factors of the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data;

[0110] The main factors of the user's medical insurance drug purchase data are the user's drug purchase interval, the user's drug purchase amount, and the manufacturer of the drug purchased by the user;

[0111] The main factors of the user's hospital diagnosis and treatment data are doctor's prescription and drug purchase data and user's illness data;

[0112] The output end of the data classification unit is connected to the input end of the sorting and analyzing unit.

[0113] The prediction module includes a drug set establishment unit and a prediction unit;

[0114] The drug set establishment unit is used to establish all drugs that the user may purchase based on the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data, and to establish a drug set; the prediction unit is used to construct a prediction model to calculate the purchase probability of all drugs in the drug set;

[0115] The output end of the drug set establishing unit is connected to the input end of the prediction unit; the output end of the prediction unit is connected to the input end of the unmanned drugstore shopping guide module.

[0116] The prediction unit further includes:

[0117] Building a predictive model:

[0118] Get the drug set, denoted as A = {y1, y2, ..., y n}, where y1, y2, …, y n n kinds of drugs that a user may purchase, determined based on the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data;

[0119] Construct influencing factors, using the user's drug purchase interval, the user's drug purchase amount, the user's drug manufacturer, the doctor's prescription drug purchase data, and the user's disease data as influencing factors, recorded as x1, x2, ..., x5;

[0120] Taking the influencing factors as independent variables and the purchase probability of any drug in the drug set as the dependent variable, an initial prediction model is constructed:

[0121] P=a0+a1x1+a2x2+a3x3+a4x4+a5x5+ω

[0122] Among them, a0, a1, a2, a3, a4, and a5 are the regression coefficients of the initial prediction model, which are unknown coefficients; ω is the error factor, which is used to reflect the error impact caused by personal emotional changes; P represents the purchase probability of any drug in the drug set;

[0123] Since the actual purchase probability value only exists in two cases, 100% and 0%;

[0124] However, 0% has a great impact on the fluctuation of data, so the data of 0% is not considered in the actual value of purchase probability;

[0125] Get the historical data of the user purchasing drug y, where y represents any drug in the drug collection;

[0126] Obtain the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data from historical data as a training set;

[0127] According to the initial prediction model, the training set is trained, and the fitting is established with MATLAB software to obtain the regression line of the training set:

[0128] y i =b0+b1x i1 +b2x i2 +b3x i3 +b4x i4 +b5x i5

[0129] Among them, y i is the estimated purchase probability of drug y under the i-th group of data in the training set; b0 is the intercept; b1, b2, b3, b4, b5 are the partial regression coefficients of the corresponding independent variables in the initial prediction model; x i1 、x i2 、x i3 、x i4 、x i5 The medical insurance drug purchase data and hospital diagnosis and treatment data of the i-th group of users in the training set;

[0130] Construct the residual sum of squares function T(x) between the actual purchase probability value and the estimated purchase probability value:

[0131]

[0132] Among them, m represents the number of training set samples;

[0133] Input the function T(x) in MATLAB software, output the image of the function T(x), obtain the minimum value of the function T(x), and output b0, b1, b2, b3, b4, and b5 corresponding to the minimum value, which are recorded as c0, c1, c2, c3, c4, and c5;

[0134] c0, c1, c2, c3, c4, and c5 are specific regression parameters;

[0135] Construct a probability value estimation prediction model based on specific regression parameters:

[0136] P y =c0+c1x1+c2x2+c3x3+c4x4+c5x5+ω

[0137] Among them, P y represents the predicted purchase probability of drug y in the drug set;

[0138] Establish a probability value estimation prediction model for all drugs in drug set A;

[0139] Obtain the predicted purchase probabilities of all drugs in drug set A, construct a predicted purchase probability threshold I, and discard drugs with predicted purchase probabilities lower than the predicted purchase probability threshold I;

[0140] Sort the remaining drugs from large to small according to the predicted purchase probability, and output the sorted set B.

[0141] The unmanned drugstore shopping guide module includes a receiving unit and a selecting unit;

[0142] The receiving unit is used to receive the sorting set output by the prediction unit and identify the drugs in the sorting set; the selecting unit is used to construct a 3D stereoscopic projection and perform holographic projection of the identified drugs above the pharmacy;

[0143] The formula of the projection area of ​​the holographic projection and the predicted purchase probability is as follows:

[0144] S=k1*P y

[0145] Among them, S represents the projection area of ​​the holographic projection, and k1 represents the influence coefficient;

[0146] The output end of the receiving unit is connected to the input end of the selecting unit; the output end of the selecting unit is connected to the input end of the gaze stay judgment module.

[0147] The gaze stay judgment module includes a collection unit and a gaze judgment unit;

[0148] The acquisition unit is used to collect pupil information data of the user; the gaze judgment unit is used to judge the time the user's gaze stays on the holographically projected medicine;

[0149] The gaze judgment unit also includes:

[0150] Take any point at the entrance of the drugstore as the coordinate origin, the plane where the door is when closed as the XOZ plane, the plane where the door is when open as the XOY plane, and the vertical direction as the Z axis to construct a three-dimensional rectangular coordinate system;

[0151] Get the user's pupil coordinates, which are the coordinates of the pupil center, denoted as (x l ,y l 、z l );

[0152] Obtain the visible scattering angle θ of the human eye and the vertical distance h between the user and the holographic projection image;

[0153] Get the parallel plane with a vertical distance h from the user, and get the corresponding point of the user's pupil coordinates on the parallel plane as (x l ,y l +h,z l );

[0154] The corresponding point (x l ,y l +h、z l ) is the center of the circle, h*tanθ is the radius, and the user visible area is constructed;

[0155] Obtain the projection images within the user's visible area, denoted as set E;

[0156] Get the center point coordinates of all projection images in set E;

[0157] Obtain the angle formed by the coordinates of each center point and the user's pupil coordinates on the XOY plane;

[0158] The projection image corresponding to the coordinates of the center point with the smallest angle is recorded as the projection image where the user's gaze is resting, and the gaze rest time is recorded;

[0159] When the human eye observes things, the main things are generally located at the center of the human pupil. Therefore, in this application, the angle formed by the center of the pupil and the center of the projected image on the plane is detected. If the angle is smaller, it means that the projection center is closer to the center of the pupil, which means that the user is paying attention to this projected image.

[0160] Construct a gaze dwell time threshold D. If the gaze dwell time exceeds the threshold D, the medicine corresponding to the gaze dwell time will be output to the robot drug delivery module port; if the gaze dwell time does not exceed the threshold D, it will be discarded.

[0161] The robot medicine delivery module includes a command receiving unit and a verification unit;

[0162] The instruction receiving unit is used to receive the medicine purchase instruction information issued by the gaze stay judgment module; the verification unit includes a first verification unit and a second verification unit;

[0163] The first verification unit is used to verify the information connection between the robot and the medicine cabinet, and to establish key information between the robot and the medicine cabinet so that only the robot can open the medicine cabinet;

[0164] The second verification unit is used to verify whether the names of the medicines that the robot takes for the same user have a drug-antagonistic relationship set by the system;

[0165] The second verification unit further includes:

[0166] Obtain drug incompatibility relationships;

[0167] Obtain the name of the medicine that the robot takes. After each time the robot takes medicine, close the key information connection between the medicine cabinet that has a drug-incompatible relationship with the medicine taken this time and the robot until the next user arrives and reopens it;

[0168] The second verification unit has a higher priority than the first verification unit;

[0169] Due to the particularity of medicines, different medicines may counteract each other, and taking them together may easily cause adverse reactions. Therefore, after the robot selects a medicine, the medicine that is likely to counteract this medicine will no longer be taken by the robot. This can greatly avoid the problem of users having medication contraindications due to the lack of technical guidance in unmanned pharmacies.

[0170] The drug antagonism relationship is for example:

[0171] Drug A makes it difficult for drug B to bind to its target, which includes affecting its tissue distribution or changing its target structure so that drug B cannot bind to the target. For example, drug B is a central nervous system drug, and drug A can make the blood-brain barrier difficult for B to pass through, so that B cannot enter the central nervous system to exert its effect, but accumulates in the blood and produces toxicity. Drug C can change the target structure of B. Although B can enter the central nervous system, it still cannot exert its effect and will still aggregate and produce toxicity. At this time, we believe that there are drug interactions between drugs A and B, and between drugs A and C.

[0172] The output end of the instruction receiving unit is connected to the input end of the verification unit.

[0173] The blockchain storage module includes a blockchain storage unit and a cloud service port;

[0174] The blockchain storage unit is used to store the user's health big data; the cloud service port is used to build an information connection between the blockchain and the cloud service platform;

[0175] The output end of the blockchain storage unit is connected to the input end of the cloud service port; the output end of the cloud service port is connected to the input end of the cloud service platform.

[0176] In this embodiment:

[0177] Retrieve the health big data of user U and build a prediction model for user U:

[0178] Get the drug set of user U;

[0179] Denoted as A = {y1, y2, ..., y4}, where y1, y2, ..., y4 are four types of drugs that the user may purchase, determined based on the medical insurance drug purchase data of the user U and the user's hospital diagnosis and treatment data;

[0180] Construct influencing factors, using the user's drug purchase interval, the user's drug purchase amount, the user's drug manufacturer, the doctor's prescription drug purchase data, and the user's disease data as influencing factors, recorded as x1, x2, ..., x5;

[0181] Taking the influencing factors as independent variables and the purchase probability of any drug in the drug set as the dependent variable, an initial prediction model is constructed:

[0182] P=a0+a1x1+a2x2+a3x3+a4x4+a5x5+ω

[0183] Among them, a0, a1, a2, a3, a4, and a5 are the regression coefficients of the initial prediction model, which are unknown coefficients; ω is the error factor, which is used to reflect the error impact caused by personal emotional changes; P represents the purchase probability of any drug in the drug set;

[0184] Get the historical data of the user purchasing drug y, where y represents any drug in the drug collection;

[0185] Obtain the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data from historical data as a training set;

[0186] According to the initial prediction model, the training set is trained, and the fitting is established with MATLAB software to obtain the regression line of the training set:

[0187] y i =b0+b1x i1 +b2x i2 +b3x i3 +b4x i4 +b5x i5

[0188] Among them, y i is the estimated purchase probability of drug y under the i-th group of data in the training set; b0 is the intercept; b1, b2, b3, b4, b5 are the partial regression coefficients of the corresponding independent variables in the initial prediction model; x i1 、x i2 、x i3 、x i4 、x i5 The medical insurance drug purchase data and hospital diagnosis and treatment data of the i-th group of users in the training set;

[0189] Construct the residual sum of squares function T(x) between the actual purchase probability value and the estimated purchase probability value:

[0190]

[0191] Among them, m represents the number of training set samples;

[0192] Input the function T(x) in MATLAB software, output the image of the function T(x), obtain the minimum value of the function T(x), and output b0, b1, b2, b3, b4, and b5 corresponding to the minimum value, which are recorded as c0, c1, c2, c3, c4, and c5;

[0193] c0, c1, c2, c3, c4, and c5 are specific regression parameters;

[0194] Construct a probability value estimation prediction model based on specific regression parameters:

[0195] P y =c0+c1x1+c2x2+c3x3+c4x4+c5x5+ω

[0196] Among them, P y represents the predicted purchase probability of drug y in the drug set;

[0197] Establish a probability value estimation prediction model for all drugs in drug set A;

[0198] The purchase probabilities of user U's drug set y1, y2, ..., y4 are 99%, 93%, 89%, and 88% respectively;

[0199] Sort the predicted purchase probabilities from large to small and output sorted set B.

[0200] According to the projection area of ​​holographic projection and the formula for predicting purchase probability:

[0201] S=k1*P y

[0202] Among them, S represents the projection area of ​​the holographic projection, and k1 represents the influence coefficient;

[0203] Perform holographic projection on drugs y1, y2, ..., y4;

[0204] A three-dimensional rectangular coordinate system is constructed with the midpoint of the drugstore entrance as the origin, the plane where the door is when closed as the XOZ plane, the plane where the door is when open as the XOY plane, and the vertical direction as the Z axis.

[0205] Get the user's pupil coordinates, which are the coordinates of the pupil center, denoted as (x l ,y l 、z l );

[0206] Obtain the visible scattering angle θ of the human eye and the vertical distance h between the user and the holographic projection image;

[0207] Get the parallel plane with a vertical distance h from the user, and get the corresponding point of the user's pupil coordinates on the parallel plane as (x l ,y l +h、z l );

[0208] The corresponding point (x l ,y l +h、z l ) is the center of the circle, h*tanθ is the radius, and the user visible area is constructed;

[0209] Obtain the projection images within the user's visible area, denoted as set E;

[0210] Get the center point coordinates of all projection images in set E;

[0211] Obtain the angle formed by the coordinates of each center point and the user's pupil coordinates on the XOY plane;

[0212] The projection image corresponding to the coordinates of the center point with the smallest angle is recorded as the projection image where the user's gaze is resting, and the gaze rest time is recorded;

[0213] Construct a gaze dwell time threshold D. If the gaze dwell time of user U on drug y1 exceeds the threshold D, drug y1 is output to the robot drug delivery module port.

[0214] The robot takes the medicine and at the same time obtains the medicine that is incompatible with drug y1. The medicine cabinet containing this type of medicine is locked and the robot cannot open it.

[0215] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device.

[0216] Finally, it should be noted that the above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art can still modify the technical solutions described in the aforementioned embodiments or replace some of the technical features therein by equivalents. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A health big data management system based on blockchain and cloud services, characterized by: The system includes a health big data upload module, a cloud service platform, a health big data analysis module, a prediction module, an unmanned pharmacy shopping guide module, a gaze stay judgment module, a robot medicine delivery module and a blockchain storage module; The health big data upload module is used to set the user login account and password, and the user organizes and uploads his own health big data; the cloud service platform is used to call the health big data organized and uploaded by the user; the health big data analysis module is used to retrieve the health big data in the cloud service platform, classify the data, and obtain the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data; the prediction module is used to build a prediction model to predict the user's demand probability for various drugs based on the user's health big data in the cloud service platform; the unmanned drugstore shopping guide module is used to project the predicted drugs in the drugstore in the form of 3D holographic projection according to the prediction results of the prediction module; the gaze stay judgment module is used to lock the drugs required by the user according to the user's gaze stay time, and output them to the robot cloud; the robot drug delivery module is used to receive the data results of the gaze stay judgment module, open the corresponding medicine cabinet, select the drugs and deliver them to the user; the blockchain storage module is used to store the user's health big data on the blockchain to prevent privacy leakage; The output end of the health big data upload module is connected to the input end of the cloud service platform; the output end of the cloud service platform is connected to the input end of the health big data analysis module; the output end of the health big data analysis module is connected to the input end of the prediction module; the output end of the prediction module is connected to the input end of the unmanned drugstore shopping guide module; the output end of the unmanned drugstore shopping guide module is connected to the input end of the gaze stay judgment module; the output end of the gaze stay judgment module is connected to the input end of the robot medicine delivery module; the output end of the health big data upload module is connected to the input end of the blockchain storage module; the output end of the blockchain storage module is connected to the input end of the cloud service platform; The prediction module includes a drug set establishment unit and a prediction unit; The drug set establishment unit is used to establish all drugs that the user may purchase based on the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data, and establish a drug set; the prediction unit is used to construct a prediction model to calculate the purchase probability of all drugs in the drug set; The output end of the drug set establishment unit is connected to the input end of the prediction unit; the output end of the prediction unit is connected to the input end of the unmanned drugstore shopping guide module; The prediction unit further includes: Building a predictive model: Get the drug set, denoted as A = {y1, y2, ..., y n }, where y1, y2, …, y n n kinds of drugs that a user may purchase, determined based on the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data; Construct influencing factors, using the user's drug purchase interval, the user's drug purchase amount, the user's drug manufacturer, the doctor's prescription drug purchase data, and the user's disease data as influencing factors, recorded as x1, x2, ..., x5; Taking the influencing factors as independent variables and the purchase probability of any drug in the drug set as the dependent variable, an initial prediction model is constructed: P=a0+a1x1+a2x2+a3x3+a4x4+a5x5+ω Among them, a0, a1, a2, a3, a4, and a5 are the regression coefficients of the initial prediction model, which are unknown coefficients; ω is the error factor, which is used to reflect the error impact caused by personal emotional changes; P represents the purchase probability of any drug in the drug set; Since the actual purchase probability value only exists in two cases, 100% and 0%; However, 0% has a great impact on the fluctuation of data, so the data of 0% is not considered in the actual value of purchase probability; Get the historical data of the user purchasing drug y, where y represents any drug in the drug collection; Obtain the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data from historical data as a training set; According to the initial prediction model, the training set is trained, and the fitting is established with MATLAB software to obtain the regression line of the training set: y i =b0+b1x i1 +b2x i2 +b3x i3 +b4x i4 +b5x i5 Among them, y i is the estimated purchase probability of drug y under the i-th group of data in the training set; b0 is the intercept; b1, b2, b3, b4, b5 are the partial regression coefficients of the corresponding independent variables in the initial prediction model; x i1 、x i2 、x i3 、x i4 、x i5 The medical insurance drug purchase data and hospital diagnosis and treatment data of the i-th group of users in the training set; Construct the residual sum of squares function T(x) between the actual purchase probability value and the estimated purchase probability value: Among them, m represents the number of training set samples; Input the function T(x) in MATLAB software, output the image of the function T(x), obtain the minimum value of the function T(x), and output b0, b1, b2, b3, b4, and b5 corresponding to the minimum value, which are recorded as c0, c1, c2, c3, c4, and c5; c0, c1, c2, c3, c4, and c5 are specific regression parameters; Construct a probability value estimation prediction model based on specific regression parameters: P y =c0+c1x1+c2x2+c3x3+c4x4+c5x5+ω Among them, P y represents the predicted purchase probability of drug y in the drug set; Establish a probability value estimation prediction model for all drugs in drug set A; Obtain the predicted purchase probabilities of all drugs in drug set A, construct a predicted purchase probability threshold I, and discard drugs with predicted purchase probabilities lower than the predicted purchase probability threshold I; Sort the remaining drugs from large to small according to the predicted purchase probability, and output the sorted set B; The unmanned drugstore shopping guide module includes a receiving unit and a selecting unit; The receiving unit is used to receive the sorting set output by the prediction unit and identify the drugs in the sorting set; the selecting unit is used to construct a 3D stereoscopic projection and perform holographic projection of the identified drugs above the pharmacy; The formula of the projection area of ​​the holographic projection and the predicted purchase probability is as follows: S=k1*P y Among them, S represents the projection area of ​​the holographic projection, and k1 represents the influence coefficient; The output end of the receiving unit is connected to the input end of the selecting unit; the output end of the selecting unit is connected to the input end of the gaze stay judgment module; The gaze stay judgment module includes a collection unit and a gaze judgment unit; The acquisition unit is used to collect pupil information data of the user; the gaze judgment unit is used to judge the time the user's gaze stays on the holographically projected medicine; The gaze judgment unit also includes: Take any point at the entrance of the drugstore as the coordinate origin, the plane where the door is when closed as the XOZ plane, the plane where the door is when open as the XOY plane, and the vertical direction as the Z axis to construct a three-dimensional rectangular coordinate system; Get the user's pupil coordinates, which are the coordinates of the pupil center, denoted as (x l ,y l 、z l ); Obtain the visible scattering angle θ of the human eye and the vertical distance h between the user and the holographic projection image; Get the parallel plane with a vertical distance h from the user, and get the corresponding point of the user's pupil coordinates on the parallel plane as (x l ,y l +h、z l ); The corresponding point (x l ,y l +h、z l ) is the center of the circle, h*tanθ is the radius, and the user visible area is constructed; Obtain the projection images within the user's visible area, denoted as set E; Get the center point coordinates of all projection images in set E; Obtain the angle formed by the coordinates of each center point and the user's pupil coordinates on the XOY plane; The projection image corresponding to the coordinates of the center point with the smallest angle is recorded as the projection image where the user's gaze is resting, and the gaze rest time is recorded; Construct a gaze dwell time threshold D. If the gaze dwell time exceeds the threshold D, the medicine corresponding to the gaze dwell time will be output to the robot drug delivery module port; if the gaze dwell time does not exceed the threshold D, it will be discarded.

2. A health big data management system based on blockchain and cloud services according to claim 1, characterized in that: The health big data uploading module includes a user login unit and a health big data uploading unit; The user login unit is used to set the user account and password. Each user has his or her own account and password. The account is set in a numerical combination sequence, and the password is set by the user. The health big data uploading unit is used for the user to select the authorization mode or the self-upload mode after logging in to the account. In the authorization mode, the hospital or medical insurance unit uploads the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data through the health big data uploading unit; the self-upload mode is used for the user to upload the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data through the health big data uploading unit. The output end of the user login unit is connected to the input end of the health big data uploading unit; the output end of the health big data uploading unit is connected to the input end of the blockchain storage module.

3. A health big data management system based on blockchain and cloud services according to claim 1, characterized in that: The cloud service platform includes a network cloud disk link unit and a call port unit; The network cloud disk link unit is used to build a network cloud disk, establish a connection with the block chain storage module, and obtain the health big data of the users therein for temporary cloud storage; the call port unit is used to build a call port link, and obtain the health big data organized and uploaded by the users under temporary cloud storage from the network cloud disk link unit; The output end of the network cloud disk link unit is connected to the input end of the calling port unit; the output end of the calling port unit is connected to the input end of the health big data analysis module.

4. A health big data management system based on blockchain and cloud services according to claim 1, characterized in that: The health big data analysis module includes a data classification unit and a sorting and analysis unit; The data classification unit is used to retrieve the user's health big data, obtain the user's medical insurance drug purchase data, and the user's hospital diagnosis and treatment data; The collating and analyzing unit is used to collate and analyze the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data; The collation and analysis include: Screen the main factors of the user's drug purchase data and the user's hospital diagnosis and treatment data; The main factor screening includes: Use ExpMiner software to build screening strategies; Screen the main factors of the user's medical insurance drug purchase data and the user's hospital diagnosis and treatment data; The main factors of the user's medical insurance drug purchase data are the user's drug purchase interval, the user's drug purchase amount and the manufacturer of the drug purchased by the user; The main factors of the user's hospital diagnosis and treatment data are the doctor's prescription and drug purchase data and the user's illness data; The output end of the data classification unit is connected to the input end of the sorting and analyzing unit.

5. A health big data management system based on blockchain and cloud services according to claim 1, characterized in that: The robot medicine delivery module includes a command receiving unit and a verification unit; The instruction receiving unit is used to receive the medicine purchase instruction information issued by the gaze stay judgment module; the verification unit includes a first verification unit and a second verification unit; The first verification unit is used to verify the information connection between the robot and the medicine cabinet, establish key information between the robot and the medicine cabinet, and ensure that only the robot can open the medicine cabinet; The second verification unit is used to verify whether the names of the medicines that the robot takes for the same user have a drug-antagonistic relationship set by the system; The second verification unit further includes: Obtain drug-drug interactions; Obtain the name of the medicine that the robot takes. After each time the robot takes medicine, close the key information connection between the medicine cabinet that has a drug-incompatible relationship with the medicine taken this time and the robot until the next user arrives and reopens it; The second verification unit has a higher priority than the first verification unit; The output end of the instruction receiving unit is connected to the input end of the verification unit.

6. A health big data management system based on blockchain and cloud services according to claim 1, characterized in that: The blockchain storage module includes a blockchain storage unit and a cloud service port; The blockchain storage unit is used to store the user's health big data; the cloud service port is used to build an information connection between the blockchain and the cloud service platform; The output end of the blockchain storage unit is connected to the input end of the cloud service port; the output end of the cloud service port is connected to the input end of the cloud service platform.