CN111209313A - Block chain-based medical item data query method and device - Google Patents

Block chain-based medical item data query method and device Download PDF

Info

Publication number
CN111209313A
CN111209313A CN202010004176.XA CN202010004176A CN111209313A CN 111209313 A CN111209313 A CN 111209313A CN 202010004176 A CN202010004176 A CN 202010004176A CN 111209313 A CN111209313 A CN 111209313A
Authority
CN
China
Prior art keywords
medical item
target
item data
data
medical
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.)
Granted
Application number
CN202010004176.XA
Other languages
Chinese (zh)
Other versions
CN111209313B (en
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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202010004176.XA priority Critical patent/CN111209313B/en
Publication of CN111209313A publication Critical patent/CN111209313A/en
Application granted granted Critical
Publication of CN111209313B publication Critical patent/CN111209313B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/24Querying
    • G06F16/245Query processing
    • G06F16/2458Special types of queries, e.g. statistical queries, fuzzy queries or distributed queries
    • G06F16/2471Distributed queries
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/20Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
    • G06F16/27Replication, distribution or synchronisation of data between databases or within a distributed database system; Distributed database system architectures therefor
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02ATECHNOLOGIES FOR ADAPTATION TO CLIMATE CHANGE
    • Y02A90/00Technologies having an indirect contribution to adaptation to climate change
    • Y02A90/10Information and communication technologies [ICT] supporting adaptation to climate change, e.g. for weather forecasting or climate simulation

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Software Systems (AREA)
  • Data Mining & Analysis (AREA)
  • Fuzzy Systems (AREA)
  • Mathematical Physics (AREA)
  • Probability & Statistics with Applications (AREA)
  • Computing Systems (AREA)
  • Computational Linguistics (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Medical Treatment And Welfare Office Work (AREA)

Abstract

The application discloses a method and a device for inquiring medical item data based on a block chain, and relates to the field of block chains. The method can acquire the target medical item data of the target user and broadcast the target medical item data to other nodes in the block chain network. Then, the detection result of the target medical item can be determined in response to the data query request carrying the identification of the target user. Because the target medical item data of the target user can be stored in the blockchain network, the inquiring user who needs to inquire the target medical item data of the target user can directly acquire the target medical item data from the blockchain network without the need of repeatedly checking medical items by the target user, and thus medical resources are saved.

Description

Block chain-based medical item data query method and device
Technical Field
The present application relates to the field of blockchain technologies, and in particular, to a method and an apparatus for querying medical item data based on a blockchain.
Background
The medical item data may be data obtained by a user after a medical examination is performed by a medical facility through a medical device, and may include a physical examination result, a diagnosis result, and the like.
In the related art, after a user completes an examination of a medical item at a first medical facility, further treatment may be required at a second medical facility for some reason. However, since the second medical institution cannot acquire the medical item data of the medical item completed by the user at the first medical institution, the user needs to perform the medical item examination at the second medical institution again, which wastes medical resources.
Disclosure of Invention
The embodiment of the application provides a method and a device for querying medical item data based on a blockchain, which can solve the problem that medical resources are wasted due to the fact that a user needs to repeatedly check medical items in the related art. The technical scheme is as follows:
in one aspect, a method for querying medical item data based on a blockchain is provided, and is applied to a target node in a blockchain network, and the method includes:
acquiring target medical item data of a target user, wherein the target medical item data comprises: an identification of the target user, and a detection result of at least one medical item;
broadcasting the target medical item data to other nodes in the blockchain network to write the target medical item data of the target user into the blockchain network;
responding to a data query request carrying the identification of the target user, determining a target medical item from the at least one medical item, wherein the difference value between the detection result of the target medical item and the standard result is greater than a difference threshold value;
determining a detection result of the target medical item.
In another aspect, an apparatus for querying medical item data based on a blockchain is provided, where the apparatus is applied to a target node in a blockchain network, and the apparatus includes:
an acquisition module configured to acquire target medical item data of a target user, the target medical item data including: an identification of the target user, and a detection result of at least one medical item;
a broadcasting module, configured to broadcast the target medical item data to other nodes in the blockchain network, so as to write the target medical item data of the target user into the blockchain network;
a first determining module, configured to determine, in response to a data query request carrying an identifier of the target user, a target medical item from the at least one medical item, where a difference between a detection result of the target medical item and a standard result is greater than a difference threshold;
and the second determination module is used for determining the detection result of the target medical item.
In yet another aspect, an apparatus for querying blockchain-based medical item data is provided, the apparatus includes a processor and a memory, the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the method for querying blockchain-based medical item data according to the above aspect.
In yet another aspect, a computer-readable storage medium is provided, in which at least one instruction, at least one program, a set of codes, or a set of instructions is stored, which is loaded and executed by a processor to implement the query method for blockchain based medical item data as described in the above aspect.
The beneficial effect that technical scheme that this application provided brought includes at least:
the method can firstly acquire target medical item data of a target user and broadcast the target medical item data to other nodes in a blockchain network. Then, the detection result of the target medical item can be determined in response to the data query request carrying the identification of the target user. Because the target medical item data of the target user can be stored in the blockchain network, the inquiring user who needs to inquire the target medical item data of the target user can directly acquire the target medical item data from the blockchain network without the need of repeatedly checking medical items by the target user, and thus medical resources are saved.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment related to a method for querying medical item data based on a blockchain according to an embodiment of the present application;
fig. 2 is a schematic diagram of an implementation environment related to another block chain-based query method for medical item data according to an embodiment of the present application;
fig. 3 is a flowchart of a method for querying medical item data based on a blockchain according to an embodiment of the present application;
fig. 4 is a flowchart of a method for querying medical item data based on a blockchain according to an embodiment of the present application;
FIG. 5 is a schematic diagram of mechanism information provided by an embodiment of the present application;
FIG. 6 is a schematic diagram of physician information provided in an embodiment of the present application;
FIG. 7 is a schematic diagram of target medical item data provided by an embodiment of the present application;
FIG. 8 is a schematic diagram of statistical information provided by an embodiment of the present application;
fig. 9 is a schematic structural diagram of an apparatus for querying medical item data based on a blockchain according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of another block chain-based query device for medical item data according to an embodiment of the present application;
fig. 11 is a schematic structural diagram of another block chain-based query device for medical item data according to an embodiment of the present application;
fig. 12 is a schematic structural diagram of another block chain-based query device for medical item data according to an embodiment of the present application.
Detailed Description
To make the objects, technical solutions and advantages of the present application more clear, embodiments of the present application will be described in further detail below with reference to the accompanying drawings.
Fig. 1 is a schematic view of an implementation environment related to a method for querying medical item data based on a blockchain according to an embodiment of the present disclosure. As shown in FIG. 1, the implementation environment may include: a pre-established blockchain network 10, where the blockchain network 10 may include a plurality of nodes 101 (only 4 nodes are shown in fig. 1), each node 101 may be a computer device, and each node 101 may receive input information during normal operation and maintain shared data within the blockchain network 10 based on the received input information. For example, referring to fig. 1, the computer device may be a server, or may also be a terminal such as a desktop computer or a smart phone.
Also, referring to fig. 1, in order to ensure the information intercommunication of the blockchain network 10, a communication connection may be established between the nodes 101, and information transmission may be performed between the nodes 101 through the communication connection.
The communication connection between the nodes is a wireless connection or a wired connection, and the wireless connection may include: wireless Fidelity (WIFI) connection, data connection, bluetooth connection, infrared connection, or the like, and the wired connection may include: universal Serial Bus (USB) connections.
When any node 101 receives data, the data may be broadcast to the entire blockchain network 10 so that other nodes 101 in the blockchain network 10 may receive and store the data, i.e., so that all nodes 101 included in the blockchain network 10 may store the data. Optionally, each node 101 may further have a node identifier corresponding thereto, and may store node identifiers of other nodes in the blockchain network 10 except the node, so that each node 101 may reliably broadcast the received data to the other nodes through the communication connection according to the node identifiers of the other nodes.
For example, referring to table 1, a node identification list maintained in each node 101 is shown, which may include: node name and node identification. The node identifier may be an Internet Protocol (IP) address and any other information that can be used to identify the node, and table 1 only illustrates the IP address as an example. For example, referring to table 1, the node name is node 1, and the node identifier corresponding to the node 1 is: 117.114.151.174.
TABLE 1
Node name Node identification
Node 1 117.114.151.174
Node 2 117.116.189.145
Node N 119.123.789.258
In order to ensure the consistency of the data stored by each node 101, each node 101 may also maintain the entire blockchain network 10 based on a set of consensus mechanisms. That is, the nodes 101 may perform data correction for multiple times through a pre-configured consensus algorithm, and continuously broadcast the data that is corrected for the last time to the whole network until the data stored by the nodes 101 are consistent, that is, until the nodes 101 achieve consensus.
The principle of the consensus algorithm comprises the following steps: the node receiving the data compares the received data with the data stored in the node, and the data with the accuracy rate larger than the accuracy rate threshold value in the plurality of data determined after comparison is broadcasted to the whole network again; then, the node receiving the corrected data continues to repeatedly perform the comparison operation, i.e., perform network diffusion iteration until the whole network is agreed.
For example, in the embodiment of the present application, a target node that receives medical item data for the first time may broadcast the medical item data to the entire network, and any node that receives medical item data sent by the target node may compare the received medical item data with medical item data that is stored in advance by itself (i.e., identify the medical item data), and broadcast more accurate medical item data after comparison to the entire network again. Any node which receives the corrected medical item data continuously compares the corrected medical item data with the medical item data stored in advance, broadcasts the more correct medical item data to the whole network again, and continuously and repeatedly executes the steps until the medical item data stored in all the nodes in the network are consistent.
It should be noted that, in the embodiment of the present application, the blockchain network 10 may be a decentralized network system, i.e., the donation records may be managed by the blockchain network 10 in a decentralized technology. Wherein, decentralization means: there is no concept of a central node in the blockchain network 10, the positions of the nodes 101 in the blockchain network 10 are equal, each node 101 may store the same blockchain, each blockchain includes a plurality of blocks, each block stores different data, and the data stored in all the blocks on the blockchain constitute all the shared data of the blockchain network.
Referring to fig. 2, a terminal 01 of a medical institution and a terminal 02 of a physical examination institution, which examine a user, may be connected to the blockchain network 10. Of course, the user's terminal 03 and the physician's terminal 04 diagnosing the user may also be connected to the blockchain network 10. Alternatively, the medical institution's terminal 01, the physical examination institution's terminal 02, the user's terminal 03, and the physician's terminal 04 may all be nodes in the blockchain network 10. The terminal can be a smart phone, a notebook computer, a desktop computer or a tablet computer. The storage and query of the medical item data can be realized through the block chain technology, and compared with a method for repeatedly checking the medical items by a user due to non-intercommunicating information in the related technology, the method can save medical resources and has higher acquisition efficiency of the medical item data.
Fig. 3 is a flowchart of a method for querying medical item data based on a blockchain according to an embodiment of the present application. The method may be applied in a target node in a blockchain network, which may be any node in the blockchain network 10. Referring to fig. 3, the method may include:
step 201, acquiring target medical item data of a target user.
In this embodiment of the application, if the detection terminal is not a certain node in the blockchain network but a terminal connected to a target node in the blockchain network, the detection terminal may upload the target medical item data of the target user to the target node, and the target node may obtain the target medical item data of the target user uploaded by the detection terminal. For example, a medical client for storing and querying medical item data may be installed in the detection terminal, and a user may upload target medical item data of a target user to a target node through the medical client, so that the target node may acquire the target medical item data of the target user.
If the detection terminal is a target node in the blockchain, the target project data of the target user can be uploaded to the detection terminal by the target user or a doctor of the target user. For example, a medical client may be installed in the detection terminal, and the target user or a physician of the target user may upload target medical item data of the target user through the medical client.
The target medical item data may include: an identification of the target user, and a detection of the at least one medical item. The terminal of the target user may be installed with a medical client, and the user may register in the blockchain network through the medical client, and the identifier of the target user may be an account number assigned during registration. The medical items may include: height, weight, blood sample test, ultrasonic test, and electrocardiogram test.
Step 202, broadcasting the target medical item data to other nodes in the blockchain network so as to write the target medical item data of the target user into the blockchain network.
In the embodiment of the application, after the target node acquires the target medical item data of the target user, the acquired target medical item data may be broadcast to other nodes in the block chain network. That is, the target node that acquires the target medical item data of the target user may transmit the target medical item data to other nodes through communication connection established with other nodes, so as to write the target medical item data of the target user into the blockchain network, so that each node in the blockchain network may store the target medical item data.
Optionally, in order to ensure consistency of information stored by each node in the blockchain network, other nodes that acquire the target medical item data from the target node may perform consensus processing on the target medical item data through a consensus algorithm, and then broadcast the target medical item data to the whole network again, and continuously execute the consensus processing until the target medical item data stored by each node are consistent.
Step 203, in response to the data query request carrying the identification of the target user, determining a target medical item from at least one medical item.
In the embodiment of the application, if a target user, a physician, a physical examination institution or a medical institution needs to query target medical item data of the target user, a data query request carrying an identifier of the target user can be triggered through a query terminal. Accordingly, the target node may determine a target medical item from the at least one medical item in response to the data query request. If the query terminal is not a node in the blockchain network, the query terminal may send the data query request to the target node. If the query terminal is a node in the block chain network, the data query request may be generated by a user through triggering of a medical client installed in the query terminal.
It should be noted that the query terminal may be a terminal of a query user who queries the target medical item data. Wherein, the query user can be the target user. That is, the target user can query the target medical item data of the target user through the blockchain network, so that the target user can know the body state of the target user in time, and doctor-patient disputes are effectively avoided. Alternatively, the querying user may be a medical facility, physical examination facility or physician. That is, the medical institution, the physical examination institution or the physician can also know the target medical item data of the target user through the blockchain network, so as to conveniently make a next treatment plan for the target user according to the target medical item data.
And step 204, determining the detection result of the target medical item.
In the embodiment of the application, after the target node determines the target medical item, the detection result of the target medical item can be determined, and the query user can view the detection result through the query terminal.
It should be noted that the target node may further determine a detection result of each medical item in the target medical item data of the target user, that is, the query user may view detection results of other medical items in addition to the detection result of the target medical item, so that the query user may comprehensively know the physical state of the target user.
It should be noted that, if the query terminal is not a node in the blockchain network, the target node may send the detection result of the target medical item to the query terminal. If the query terminal is a node in the block link network, the query terminal may directly display the detection result of the target medical item in the query terminal after determining the detection result of the target medical item.
In summary, the present application provides a method for querying medical item data based on a blockchain, which may first obtain target medical item data of a target user, and broadcast the target medical item data to other nodes in a blockchain network. Then, the detection result of the target medical item can be determined in response to the data query request carrying the identification of the target user. Because the target medical item data of the target user can be stored in the blockchain network, the inquiring user who needs to inquire the target medical item data of the target user can directly acquire the target medical item data from the blockchain network without the need of repeatedly checking medical items by the target user, and thus medical resources are saved.
Fig. 4 is a flowchart of a method for querying medical item data based on a blockchain according to an embodiment of the present application. The method may be applied in an implementation environment as shown in fig. 2. In the following description, each terminal in the implementation environment is a terminal connected to a target node in the blockchain network, that is, each terminal is not a node in the blockchain network. As can be seen with reference to fig. 4, the method may include:
step 301, the first detection terminal sends a registration request to the target node.
In an embodiment of the present application, the first detection terminal may generate a registration request and send the registration request to a target node in the blockchain network 10 through a communication connection with the target node. The first detection terminal can be provided with a medical client for storing and inquiring medical project data, and the uploading user can trigger the first detection terminal to send a registration request to the target node through the medical client.
It should be noted that the first detection terminal may be one of the medical institution terminal, the physical examination institution terminal, and the physician's own terminal shown in fig. 2. That is, the terminal of the medical institution, the terminal of the physical examination institution, and the terminal of the doctor themselves can upload the target medical item data of the target user to the target node in the blockchain network.
Step 302, the target node generates a key pair in response to the registration request.
In this embodiment of the present application, after receiving the registration request sent by the first detection terminal, the target node may generate a unique key pair for the target node in response to the registration request. Wherein the key pair may include a public key and a private key.
For example, the target node may randomly generate a private key in response to the registration request, and encrypt the private key using an encryption algorithm to obtain a public key. The private key may be a password for logging in the blockchain network, and the public key may be an account for logging in the blockchain network. In addition, the private key can also be used for signing the information sent by the first detection terminal by the block chain network, and the public key can also be used for verifying the information sent by the first detection terminal by the block chain network.
Step 303, the target node sends the key pair to the first detection terminal.
In this embodiment, after the target node generates the key pair, the target node may send the key pair to the first detection terminal, so that the first detection terminal stores the key pair. The key pair can be used for the first detection terminal to log in the blockchain network by taking a public key as an account and a private key as a password. After receiving the key pair, the first detection terminal may confirm that the registration is successful.
Optionally, after sending the key pair to the first detection terminal, the target node may send the public key in the key pair to other nodes in the blockchain network, after receiving the public key, any node may perform consensus on the public key through a consensus algorithm and then broadcast the public key to the blockchain network again, and continuously and repeatedly perform the consensus until the public keys stored by all nodes in the blockchain network are consistent, so that consistency of the public keys stored by each node in the blockchain network can be ensured.
And step 304, the first detection terminal sends mechanism information to the target node.
In this embodiment of the application, after the first detection terminal completes registration, the mechanism information of the first detection terminal may be uploaded to a target node of the block chain network, and the target node may obtain the mechanism information uploaded by the first detection terminal and store the mechanism information. Wherein, referring to fig. 5, the organization information 40 may include: the institution identification 401 of the institution to which the first detection terminal belongs, the establishment time 402, the qualification 403, the department information 404, and the physician information 405. The organization identity 401 may be the name of the organization.
Optionally, the first detection terminal may send the mechanism information of the first detection terminal to the target node through a communication connection with the target node, so that the target node stores the mechanism information.
It should be noted that the qualification of the organization to which the first detection terminal belongs may refer to the qualification of the organization, and the department information may include: department name, and department rating. Referring to fig. 6, physician information 405 may include: the physician in the facility has a job designation 4051, medical information 4052, and a visit volume 4053. The medical information 4052 may be a resume of a physician, among others.
And 305, the first detection terminal sends the target medical item data of the target user to the target node.
In the embodiment of the application, the first detection terminal may upload the target medical item data of the target user to the target node, and the target node may acquire the target medical item data of the target user uploaded by the first detection terminal. Wherein the first detection terminal may be one of a terminal of a medical institution, a terminal of a physical examination institution, and a terminal of a doctor himself/herself as shown in fig. 2. That is, the terminal of the medical institution, the terminal of the physical examination institution, and the terminal of the doctor themselves can upload the target medical item data of the target user to the target node in the blockchain network.
The first detection terminal can upload target medical item data encrypted by a private key, namely the target medical item data uploaded by the first detection terminal are encrypted by the private key. Referring to fig. 7, the target medical item data 50 may include: the identification 501 of the target user, the institution information 40 of the institution to which the first detection terminal belongs, the detection substance code 502 of the target user, the identification 503 of at least one medical item, and the detection result 504 of at least one medical item.
The identifier of the target user may be an account allocated during registration. The identification of each medical item may be the name of the medical item. The medical items may include: height, weight, blood sample test, ultrasonic test, and electrocardiogram test.
As a possible case, the diagnosis result of each medical item may be obtained by a doctor according to the detection result of the medical item. Referring to fig. 7, the target medical item data 50 may further include: a diagnostic result 505 of at least one medical item. That is, the diagnosis result 505 of the at least one medical item may be uploaded to the target node by the first detection terminal. The number of the detection results may be equal to the number of the medical items, that is, each medical item has a detection result. The number of diagnostic results may be less than or equal to the number of medical items, i.e. some medical items may have only test results and no diagnostic results.
As another possible case, the target medical item data of the target user sent by the first detection terminal to the target node does not include the diagnosis result. When the user acquires the target item data of the target user from the blockchain network for subsequent query, the diagnosis result of the medical item in the target item data of the target user can also be acquired, and a diagnosis model can be stored in the target node in advance. The diagnosis result of each medical item may be determined by the target node according to the detection result of the medical item and a diagnosis model stored in the target node in advance, and the diagnosis model may be trained based on a sample of the detection results of a plurality of medical items for which the diagnosis result has been determined. That is, the diagnosis model may automatically determine the diagnosis result of the medical item according to the detection result of the medical item in the target medical item data of the target user uploaded by the first detection terminal.
Of course, the target medical item data of the target user sent to the target node by the first detection terminal includes a diagnosis result, and the diagnosis model stored in the target node in advance may also automatically determine the diagnosis result of the medical item according to the detection result of the medical item in the target medical item data of the target user uploaded by the first detection terminal. That is, the diagnosis model in the target node may automatically determine the diagnosis result regardless of whether the first detection terminal sends the target medical item data of the target user to the target node, wherein the target medical item data includes the diagnosis result.
The diagnostic result may include: the name of the disease that the target user may have, a description of the symptoms, follow-up detection recommendations, and treatment recommendations. The detection substance may be blood, urine, or the like, and the detection substance code may be a character string uniquely indicating the detection substance, and may be a unique number, for example.
Optionally, if the diagnosis result is obtained by a doctor according to the detection result of the medical item, the diagnosis result may further include information of the doctor providing the diagnosis result.
And step 306, the target node decrypts the encrypted target medical item data by adopting the public key.
In this embodiment, the target node may decrypt the encrypted target medical item data by using a public key in a key pair generated for the first detection terminal to obtain decryption information. And if the decryption information is the target medical item data, the target node determines that the signature verification is successful. That is, the target node may determine that the target medical item data was sent by the first detection terminal. If the decryption information is not the target medical item data, the target node determines that the signature verification fails, and the target node can ignore the decryption information.
Step 307, the target node broadcasts the target medical item data to other nodes in the blockchain network, so as to write the target medical item data of the target user into the blockchain network.
In this embodiment of the application, after determining that the target medical item data is sent by the first detection terminal, the target node may broadcast the target medical item data to other nodes in the blockchain network, that is, the target node that acquires the target medical item data of the target user may transmit the target medical item data to the other nodes through communication connection established with the other nodes, so as to write the target medical item data of the target user into the blockchain network, and each node in the blockchain network may store the target medical item data.
Optionally, in order to ensure consistency of information stored by each node in the blockchain network, other nodes that acquire the target medical item data from the target node may perform consensus processing on the target medical item data through a consensus algorithm, and then broadcast the target medical item data to the whole network again, and continuously execute the consensus processing until the target medical item data stored by each node are consistent.
Step 308, the query terminal sends a data query request carrying the identifier of the target user to the target node.
In the embodiment of the application, if a target user, a doctor, a physical examination institution or a medical institution needs to query target medical item data of the target user, a data query request carrying an identifier of the target user may be sent to a target node through a query terminal.
Step 309, the target node responds to the data query request carrying the identification of the target user sent by the query terminal, and determines the target medical item from at least one medical item.
In the embodiment of the application, after the query terminal sends the data query request carrying the identifier of the target user to the target node, the target node can receive the data query request and determine the target medical item from at least one medical item in response to the data query request.
It should be noted that the query terminal may be a terminal of a query user who queries the target medical item data. Wherein, the query user can be the target user. That is, the target user can query the target medical item data of the target user through the blockchain network, so that the target user can know the body state of the target user in time, and doctor-patient disputes are effectively avoided. Alternatively, the querying user may be a medical facility, a physical examination facility, or a physician. That is, the medical institution, the physical examination structure or the physician can know the target medical item data of the target user through the blockchain network, so as to conveniently make a next treatment plan for the target user according to the target medical item data.
In the embodiment of the present application, the target medical item determined by the target node may be any medical item. Alternatively, the target medical item determined by the target node may be a medical item recently stored in the target node in the target medical data of the target user. Or, the data query request may carry an identifier of the target medical item, and the target node may determine the target medical item directly according to the identifier. The query terminal can be provided with a medical client, and a query user can trigger the query terminal to send a data query request to the target node through the medical client.
It should be noted that the difference between the detection result of the target medical item determined by the target node and the standard result may be greater than the difference threshold. That is, the target medical item may be a medical item with an abnormal detection result, and needs to be focused. Alternatively, each node in the blockchain network may store a standard result for each medical item, as well as a difference threshold, and the standard result and the difference threshold may be determined empirically.
At step 310, the target node determines at least one candidate medical item data from the medical item data of the plurality of users.
In the embodiment of the present application, medical item data of a plurality of users may be stored in the target node. The target node may determine at least one candidate medical item data from the medical item data of the plurality of users based on the determined target medical item.
And the similarity between the detection result of the target medical item in each candidate medical item data and the detection result of the target medical item in the target medical item data is greater than a similarity threshold value. That is, the target node may obtain the detection result of the target medical item in the candidate medical item data having a higher similarity to the detection result of the target medical item in the target medical item data. Alternatively, the similarity threshold may be preset by the target node.
And 311, the target node generates statistical information of the target medical item according to the diagnosis result of the target medical item in the at least one candidate medical item data.
In this embodiment of the application, the target node may further store a diagnosis result of each medical item in the plurality of medical item data, and the target node may generate statistical information of the target medical item according to the diagnosis result of the target medical item in the at least one candidate medical item data.
Wherein the statistical information may include: the type of diagnosis determined from the at least one candidate medical item data may further include at least one of a number and a percentage of diagnosis of each type. Wherein the type of diagnostic result may refer to the type of disease. The number of diagnostic results for each type may be used to reflect the number of users for which the diagnostic result for the medical item is of that type. The percentage may be used to reflect the distribution of diagnostic results. The percentage may be a ratio of the number of diagnosis results of each type to the number of candidate medical item data.
For example, it is assumed that the index of the detection result of the target medical item of the target user is 20% higher than the standard result, the determined candidate medical item data includes 10, and the types of the diagnosis results are determined to be 3 according to the diagnosis result of the target medical item in the 10 candidate medical item data. Referring to fig. 8, the statistical information shows that the first type XX has 7 diagnosis results accounting for 70%, the second type YY has 2 diagnosis results accounting for 20%, and the third type ZZ has 1 diagnosis result accounting for 10%.
Step 312, the target node sends the detection result, diagnosis result, and statistical information of the target medical item to the query terminal.
The target node may send the relevant information (the detection result, the diagnosis result, and the statistical information) of the target medical item to the query terminal, so that the query user can know the relevant information of the target medical item in the target medical item data of the target user in time through the query terminal.
In the embodiment of the application, if the difference value between the detection result of the target medical item determined by the target node and the standard result is greater than the difference threshold, the target medical item is a medical item with an abnormal detection result. At this time, the target node may send only the relevant information of the medical item with the abnormal detection result to the query terminal, and does not need to send the relevant information of the medical item with the normal detection result to the query terminal. That is, the query terminal may only display the relevant information of the medical item with the abnormal detection result, so that on one hand, the query user can conveniently and quickly determine the physical state of the target user according to the detection result of the target medical item, and on the other hand, the efficiency of the target node for sending information can be improved.
It should be noted that the target node may also send the relevant information of each medical item in the acquired target medical item data of the target user to the query terminal, that is, the target node may send the relevant information of the target medical item to the query terminal, and may also send the relevant information of other medical items to the query terminal. Besides, the related information of the medical item with the abnormal detection result is displayed before the related information of the medical item with the normal detection result, so that the inquiry user can conveniently know the related information of the medical item with the abnormal detection result in the target medical item data of the target user, and the inquiry user can comprehensively know the physical state of the user.
In this embodiment of the present application, the detection result of the medical item sent by the target node to the query terminal may include: the detection result is normal and the detection result is abnormal. That is, the target node may only send whether each medical item is normal or not to the query terminal, and the query user may determine whether the detection result of each medical item is normal or not through the query terminal. Of course, in order to facilitate the querying user to know the specific situation of each medical item of the target user, the detection result may further include: the target node can also send the detection data of each medical item to the query terminal.
It should be noted that the diagnosis result of the target medical item sent by the target node to the query terminal may be obtained by a doctor according to the detection result of the target medical item, or the target node may be determined according to the detection result of the target medical item and the diagnosis model stored in the target node. Or, the target node may send both a diagnosis result obtained by a doctor according to the detection structure of the target medical item and a diagnosis result automatically determined by the diagnosis model to the query terminal, so that the query user can refer to the diagnosis result diagnosed by the doctor and determine the physical state of the target user according to the diagnosis result automatically determined by the diagnosis model.
Step 313, the second detection terminal sends a check request carrying the identifier of the target user to the target node.
In the embodiment of the present application, the second detection terminal may be a terminal of an acquirer of target medical item data of a target user, for example, the second detection terminal may be a terminal of a human unit. When the target user enters the job, the human unit needs to acquire a physical examination report of the target user. At this time, the second detection terminal may send a check request carrying the identifier of the target user to the target node. The examination request may also carry an identification of a plurality of medical items to be examined. The plurality of medical items to be examined may be medical items of medical item data that the second inspection terminal needs to acquire.
Correspondingly, after the second detection terminal sends the check request carrying the identifier of the target user to the target node, the target node can receive the check request sent by the second detection terminal.
In step 314, the target node determines the medical items except the medical item to which the detection result included in the target medical item data belongs from the plurality of medical items to be checked as the remaining medical items to be checked of the target user.
In the embodiment of the application, since the target user has already completed the detection of some medical items (target medical items), when the second detection terminal needs to acquire the detection result of the target medical item of the target user, the detection result of the target medical item can be directly acquired from the target node, and the target user does not need to perform the detection of the target medical item again. For the medical items that the target user does not complete (remaining medical items to be checked), the target user is required to go to the medical institution or physical examination institution for detection.
For example, assuming that the target user has completed the testing of the medical items identified as K1 and K2, the second testing terminal may obtain the medical item data for the medical items identified as K1 and K2 directly from the target node. And the identification of the plurality of medical items to be examined carried by the examination request includes: k1, K2, K3, K4 and K5. Thus, the target node may determine that the identification of the remaining medical items under investigation of the target user includes: k3, K4 and K5. That is, the target user needs to complete the testing of the medical items identified as K3, K4, and K5.
And 315, the target node sends the identifiers of the remaining medical items to be checked to the second detection terminal.
In the embodiment of the application, after determining the remaining medical items to be checked of the target user, the target node may send the identifiers of the remaining medical items to be checked of the target user to the second detection terminal, so that the second detection terminal can timely acquire the detection condition of the target user.
For example, assuming that the remaining medical items to be investigated include medical items identified as K3, K4, and K5, the target node may transmit the K3, K4, and K5 to the second test terminal.
It should be noted that, after the target user completes the detection of the remaining medical items to be checked, the target node may obtain the remaining medical item data to be checked of the target user, where the medical item data to be checked may include: identification of the target user and detection results of the remaining medical items to be checked.
It should be further noted that, in the embodiment of the present application, the first detection terminal, the query terminal, and the second detection terminal may be different terminals. In order to ensure that the query terminal and the second detection terminal can upload information to the blockchain network or acquire information from the blockchain network, the second detection terminal and the query terminal also need to register on the target node, and the registration process of the second detection terminal and the registration process of the query terminal can be the same as that of the first detection terminal, which is not described herein again in this embodiment of the present application. Of course, the first detection terminal, the query terminal, and the second detection terminal may also be the same terminal, which is not limited in this embodiment of the present application.
It should be further noted that, in the embodiment of the present application, the second detection terminal may also be the target node in the blockchain network. If the second detection terminal is the target node, in step 313, the target node may receive an examination request carrying an identifier of the target user, which is triggered by the target user or a physician of the target user. For example, a medical client may be installed in the second detection terminal, and the examination request may be triggered by the medical client through the target user or a physician of the target user. Accordingly, step 315 may be eliminated and the target node may display an identification of the remaining medical items under examination.
It should also be noted that, in the above method embodiment, the target node may be a fixed node in the blockchain network. Alternatively, since the data stored in each node in the blockchain network is consistent, the target node may not be a fixed node. For example, the target nodes involved in steps 301 to 307 may be the same node, and the target nodes involved in steps 308 to 312 may be the same node and different nodes from the target node involved in step 301.
It should be further noted that, in the method for querying medical item data based on a block chain provided in this embodiment of the present application, the order of steps may be appropriately adjusted, and the steps may also be increased or decreased according to the situation, for example, step 310 and step 311 may be deleted according to the actual situation, correspondingly, step 312 may be to send the detection result and the diagnosis result of the target medical item to the querying terminal for the target node, and step 313 to step 315 may be deleted according to the actual situation. Any method that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present application is covered by the protection scope of the present application, and thus the detailed description thereof is omitted.
In summary, the present application provides a method for querying medical item data based on a block chain, where the method may first obtain target medical item data of a target user uploaded by a first detection terminal, and broadcast the target medical item data to other nodes in a block chain network. And then, in response to a data query request which is sent by the query terminal and carries the identification of the target user, sending the detection result of the target medical item to the query terminal. Because the target medical item data of the target user can be stored in the blockchain network, the query user who needs to query the target medical item data of the target user can directly acquire the target medical item data from the blockchain network through the query terminal without repeatedly checking medical items by the target user, and thus medical resources are saved.
In addition, the target node can determine the target medical item with an abnormal detection result and send the target medical item to the query terminal through the detection result of the target medical item, so that the method provided by the application not only can facilitate the query user to quickly determine the body state of the target user according to the detection result of the target medical item, but also can improve the efficiency of sending the detection result by the target node.
Fig. 9 is a schematic structural diagram of an apparatus for querying medical item data based on a blockchain according to an embodiment of the present application. The apparatus may be applied in a target node in a blockchain network 10 as shown in fig. 1. As can be seen with reference to fig. 9, the apparatus 60 may comprise:
the obtaining module 601 is configured to obtain target medical item data of a target user. The target medical item data includes: an identification of the target user, and a detection of at least one medical item.
A broadcasting module 602, configured to broadcast the target medical item data to other nodes in the blockchain network, so as to write the target medical item data of the target user into the blockchain network.
A first determining module 603, configured to determine a target medical item from the at least one medical item in response to the data query request carrying the identifier of the target user.
A second determining module 604, configured to determine a detection result of the target medical item.
Optionally, the second determining module 604 may be further configured to determine a diagnosis result of the target medical item.
Optionally, the target medical item data may further include: a diagnostic result of the at least one medical item. The second determining module 604 may be further configured to determine a diagnosis result of the target medical item from the target medical item data.
Alternatively, the second determining module 604 may be further configured to determine a diagnosis result of the target medical item according to the detection result of the target medical item and a diagnosis model stored in the target node. The diagnostic model is trained based on samples of test results for a plurality of medical items for which diagnostic results have been determined.
Optionally, the target node may store medical item data of a plurality of users, and the medical item data of at least one user may further include: a diagnostic result of the medical item.
Fig. 10 is a schematic structural diagram of another block chain-based query device for medical item data according to an embodiment of the present application. As can be seen with reference to fig. 10, the apparatus 60 may further include:
a third determination module 605 for determining at least one candidate medical item data from the medical item data of the plurality of users. The similarity between the detection result of the target medical item in each candidate medical item data and the detection result of the target medical item in the target medical item data is larger than a similarity threshold value.
The first generating module 606 is configured to generate statistical information of the target medical item according to a diagnosis result of the target medical item in the at least one candidate medical item data. The statistical information includes: the type of diagnosis result and the number of diagnosis results of each type are determined from the at least one candidate medical item data.
Optionally, the apparatus may further include:
a first receiving module 607, configured to receive the check request carrying the identifier of the target user. The examination request may also carry an identification of a plurality of medical items to be examined.
The fourth determining module 608 is configured to determine, as remaining medical items to be examined of the target user, medical items other than the medical item to which the detection result included in the target medical item data belongs, from among the plurality of medical items to be examined.
Optionally, the apparatus may further include:
a second generating module 609, configured to generate a key pair in response to the registration request sent by the detection terminal. The key pair includes a public key and a private key.
A first sending module 610, configured to send the key pair to the detection terminal. The key pair is used for the detection terminal to log in the block chain network by taking a public key as an account and a private key as a password.
Optionally, the target medical item data uploaded by the detection terminal is encrypted by using a private key, and the apparatus may further include: the decryption module 611 is configured to decrypt the encrypted target medical item data with the public key.
Optionally, the apparatus may further include:
a second receiving module 612, configured to receive mechanism information uploaded by the detection terminal. The organization information includes: and detecting at least one of organization identification, establishment time, qualification, department information and doctor information of the organization to which the terminal belongs.
Optionally, the target medical item data may further include: and detecting mechanism information of a mechanism to which the terminal belongs and a detected substance code of a target user.
In summary, the present application provides a query device for medical item data based on a blockchain, which may first obtain target medical item data of a target user, and broadcast the target medical item data to other nodes in a blockchain network. Then, the detection result of the target medical item can be determined in response to the data query request carrying the identification of the target user. Because the target medical item data of the target user can be stored in the blockchain network, the inquiring user who needs to inquire the target medical item data of the target user can directly acquire the target medical item data from the blockchain network without the need of repeatedly checking medical items by the target user, and thus medical resources are saved.
It can be clearly understood by those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described apparatuses and modules may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
Fig. 11 is a schematic structural diagram of another block chain-based query device for medical item data according to an embodiment of the present application, where the block chain-based query device 70 may be a server. Illustratively, as shown in FIG. 11, the apparatus 70 includes a processor. The processor may be a Central Processing Unit (CPU) 701, a system memory 704 including a Random Access Memory (RAM) 702 and a Read-only memory (ROM) 703, and a system bus 705 connecting the system memory 704 and the CPU 701. The apparatus 70 also includes a basic Input/Output (I/O) system 706 for facilitating information transfer between devices within the computer, and a mass storage device 707 for storing an operating system 713, application programs 714, and other program modules 715.
The basic input/output system 706 includes a display 708 for displaying information and an input device 709, such as a mouse, keyboard, etc., for a user to input information. Wherein the display 708 and the input device 709 are connected to the central processing unit 701 through an input output controller 710 connected to the system bus 705. The basic input/output system 706 may also include an input/output controller 710 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, an input/output controller 710 may also provide output to a display screen, a printer, or other type of output device.
The mass storage device 707 is connected to the central processing unit 701 through a mass storage controller (not shown) connected to the system bus 705. The mass storage device 707 and its associated computer-readable media provide non-volatile storage for the apparatus 70. That is, the mass storage device 707 may include a computer-readable medium (not shown) such as a hard disk or a Compact disk-Only Memory (CD-ROM) drive.
Without loss of generality, computer-readable storage media may comprise computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), flash Memory or other solid state Memory technology, CD-ROM, Digital Versatile Disks (DVD), or other optical storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that computer storage media is not limited to the foregoing. The system memory 704 and mass storage device 707 described above may be collectively referred to as memory.
According to various embodiments of the present application, the apparatus 70 may also operate as a remote computer connected to a network via a network, such as the Internet. That is, the device 70 may be connected to the network 712 through the network interface unit 711 connected to the system bus 705, or may be connected to other types of networks or remote computer systems (not shown) using the network interface unit 711.
The memory further includes one or more programs, and the one or more programs are stored in the memory and configured to be executed by the processor to implement the method provided by the embodiment of the present application.
Fig. 12 is a schematic structural diagram of a query device for medical item data based on a blockchain according to an embodiment of the present disclosure. The apparatus 800 may be: a smart phone, a tablet computer, an MP3(Moving Picture Experts Group audio layer III) player, an MP4 player, a notebook computer or a desktop computer, etc. The apparatus 80 may also be referred to by other names such as user equipment, portable terminal, laptop terminal, desktop terminal, etc.
In general, the apparatus 80 includes: a processor 801 and a memory 802.
The processor 801 may include one or more processing cores, such as a 4-core processor, a 12-core processor, and so forth. The processor 801 may be implemented in at least one hardware form of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), or Programmable Logic Array (PLA). The processor 801 may also include a main processor and a coprocessor, where the main processor is a processor for processing data in an awake state, and is also called a Central Processing Unit (CPU); a coprocessor is a low power processor for processing data in a standby state. In some embodiments, the processor 801 may be integrated with a Graphics Processing Unit (GPU) which is responsible for rendering and drawing the content required to be displayed on the display screen. In some embodiments, processor 801 may also include an Artificial Intelligence (AI) processor for processing computational operations related to machine learning.
Memory 802 may include one or more computer-readable storage media, which may be non-transitory. Memory 802 may also include high speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In some embodiments, a non-transitory computer readable storage medium in memory 802 is used to store at least one instruction for execution by processor 801 to implement a method of query of blockchain based medical item data as provided by embodiments of the present application.
In some embodiments, the apparatus 80 may further include: a peripheral interface 803 and at least one peripheral. The processor 801, memory 802 and peripheral interface 803 may be connected by bus or signal lines. Various peripheral devices may be connected to peripheral interface 803 by a bus, signal line, or circuit board. Specifically, the peripheral device includes: at least one of a radio frequency circuit 804, a touch screen display 805, a camera 806, an audio circuit 807, a positioning component 808, and a power supply 809.
The peripheral interface 803 may be used to connect at least one peripheral device associated with I/O to the processor 801 and the memory 802. In some embodiments, the processor 801, memory 802, and peripheral interface 803 are integrated on the same chip or circuit board; in some other embodiments, any one or two of the processor 801, the memory 802, and the peripheral interface 803 may be implemented on separate chips or circuit boards, which are not limited by this embodiment.
The Radio Frequency circuit 804 is used for receiving and transmitting Radio Frequency (RF) signals, also called electromagnetic signals. The radio frequency circuitry 804 communicates with communication networks and other communication devices via electromagnetic signals. The rf circuit 804 converts an electrical signal into an electromagnetic signal to be transmitted, or converts a received electromagnetic signal into an electrical signal. Optionally, the radio frequency circuit 804 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a subscriber identity module card, and so forth. The radio frequency circuit 804 may communicate with other terminals via at least one wireless communication protocol. The wireless communication protocols include, but are not limited to: metropolitan area networks, various generation mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and/or WiFi networks. In some embodiments, the rf circuit 804 may further include a Near Field Communication (NFC) related circuit, which is not limited in this application.
Display 805 is used to display a User Interface (UI). The UI may include graphics, text, icons, video, and any combination thereof. When the display 805 is a touch display, the display 805 also has the ability to capture touch signals on or above the surface of the display 805. The touch signal may be input to the processor 801 as a control signal for processing. At this point, the display 805 may also be used to provide virtual buttons and/or a virtual keyboard, also referred to as soft buttons and/or a soft keyboard. In some embodiments, the display 805 may be one, providing the front panel of the device 80; in other embodiments, the display 805 may be at least two, each disposed on a different surface of the device 80 or in a folded design; in still other embodiments, the display 805 may be a flexible display, disposed on a curved surface or on a folded surface of the device 80. Even further, the display 805 may be arranged in a non-rectangular irregular pattern, i.e., a shaped screen. The Display 805 may be made of Liquid Crystal Display (LCD), Organic Light-Emitting Diode (OLED), or the like.
The camera assembly 806 is used to capture images or video. Optionally, camera assembly 806 includes a front camera and a rear camera. Generally, a front camera is disposed at a front panel of the terminal, and a rear camera is disposed at a rear surface of the terminal. In some embodiments, the number of the rear cameras is at least two, and each rear camera is any one of a main camera, a depth-of-field camera, a wide-angle camera and a telephoto camera, so that the main camera and the depth-of-field camera are fused to realize a background blurring function, and the main camera and the wide-angle camera are fused to realize panoramic shooting and a Virtual Reality (VR) shooting function or other fusion shooting functions. In some embodiments, camera assembly 806 may also include a flash. The flash lamp can be a monochrome temperature flash lamp or a bicolor temperature flash lamp. The double-color-temperature flash lamp is a combination of a warm-light flash lamp and a cold-light flash lamp, and can be used for light compensation at different color temperatures.
The audio circuit 807 may include a microphone and a speaker. The microphone is used for collecting sound waves of a user and the environment, converting the sound waves into electric signals, and inputting the electric signals to the processor 801 for processing or inputting the electric signals to the radio frequency circuit 804 to realize voice communication. The microphones may be provided in a plurality, respectively at different locations of the device 80, for stereo sound acquisition or noise reduction purposes. The microphone may also be an array microphone or an omni-directional pick-up microphone. The speaker is used to convert electrical signals from the processor 801 or the radio frequency circuit 804 into sound waves. The loudspeaker can be a traditional film loudspeaker or a piezoelectric ceramic loudspeaker. When the speaker is a piezoelectric ceramic speaker, the speaker can be used for purposes such as converting an electric signal into a sound wave audible to a human being, or converting an electric signal into a sound wave inaudible to a human being to measure a distance. In some embodiments, the audio circuitry 807 may also include a headphone jack.
The positioning component 808 is used to locate the current geographic position of the device 80 for navigation or Location Based Service (LBS). The positioning component 808 may be a positioning component based on the Global Positioning System (GPS) of the united states, the beidou System of china, the graves System of russia, or the galileo System of the european union.
Power supply 809 is used to power the various components in device 80. The power supply 809 can be ac, dc, disposable or rechargeable. When the power source 809 comprises a rechargeable battery, the rechargeable battery may support wired or wireless charging. Rechargeable batteries may also be used to support fast charge technologies.
In some embodiments, the device 80 also includes one or more sensors 810. The one or more sensors 810 include, but are not limited to: acceleration sensor 811, gyro sensor 812, pressure sensor 813, fingerprint sensor 814, optical sensor 815 and proximity sensor 816.
The acceleration sensor 811 may detect the magnitude of acceleration in three coordinate axes of the coordinate system established with the apparatus 80. For example, the acceleration sensor 811 may be used to detect the components of the gravitational acceleration in three coordinate axes. The processor 801 may control the touch screen 805 to display the user interface in a landscape view or a portrait view according to the gravitational acceleration signal collected by the acceleration sensor 811. The acceleration sensor 811 may also be used for acquisition of motion data of a game or a user.
The gyro sensor 812 may detect a body direction and a rotation angle of the device 80, and the gyro sensor 812 may cooperate with the acceleration sensor 811 to acquire a 3D motion of the user with respect to the device 80. From the data collected by the gyro sensor 812, the processor 801 may implement the following functions: motion sensing (such as changing the UI according to a user's tilting operation), image stabilization at the time of photographing, game control, and inertial navigation.
Pressure sensors 813 may be disposed on the side bezel of device 80 and/or underneath touch display 805. When the pressure sensor 813 is disposed on the side frame of the device 80, the holding signal of the user to the device 80 can be detected, and the processor 801 performs left-right hand recognition or shortcut operation according to the holding signal collected by the pressure sensor 813. When the pressure sensor 813 is disposed at a lower layer of the touch display screen 805, the processor 801 controls the operability control on the UI interface according to the pressure operation of the user on the touch display screen 805. The operability control comprises at least one of a button control, a scroll bar control, an icon control and a menu control.
The fingerprint sensor 814 is used for collecting a fingerprint of the user, and the processor 801 identifies the identity of the user according to the fingerprint collected by the fingerprint sensor 814, or the fingerprint sensor 814 identifies the identity of the user according to the collected fingerprint. Upon identifying that the user's identity is a trusted identity, the processor 801 authorizes the user to perform relevant sensitive operations including unlocking a screen, viewing encrypted information, downloading software, paying for and changing settings, etc. The fingerprint sensor 814 may be provided on the front, back, or side of the device 80. When a physical key or vendor Logo is provided on the device 80, the fingerprint sensor 814 may be integrated with the physical key or vendor Logo.
The optical sensor 815 is used to collect the ambient light intensity. In one embodiment, the processor 801 may control the display brightness of the touch screen 805 based on the ambient light intensity collected by the optical sensor 815. Specifically, when the ambient light intensity is high, the display brightness of the touch display screen 805 is increased; when the ambient light intensity is low, the display brightness of the touch display 805 is turned down. In another embodiment, the processor 801 may also dynamically adjust the shooting parameters of the camera assembly 806 based on the ambient light intensity collected by the optical sensor 815.
A proximity sensor 816, also known as a distance sensor, is typically provided on the front panel of the device 80. The proximity sensor 816 is used to capture the distance between the user and the front of the device 80. In one embodiment, the processor 801 controls the touch display 805 to switch from the bright screen state to the dark screen state when the proximity sensor 816 detects that the distance between the user and the front face of the device 80 is gradually reduced; when the proximity sensor 816 detects that the distance between the user and the front of the device 80 is gradually increased, the touch display 805 is controlled by the processor 801 to switch from a breath-screen state to a bright-screen state.
Those skilled in the art will appreciate that the configuration shown in fig. 12 is not intended to be limiting of the apparatus 80 and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components may be used.
The disclosed embodiments provide a computer-readable storage medium having at least one instruction, at least one program, set of codes, or set of instructions stored therein, which is loaded and executed by a processor to implement the method shown in fig. 2 or fig. 3.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
In this application, the terms "first," "second," and "third" are used for descriptive purposes only and are not to be construed as indicating or implying relative importance.
The above description is only exemplary of the present application and should not be taken as limiting the present application, and any modifications, equivalents, improvements and the like that are made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (12)

1. A query method of medical item data based on a blockchain is applied to a target node in a blockchain network, and comprises the following steps:
acquiring target medical item data of a target user, wherein the target medical item data comprises: an identification of the target user, and a detection result of at least one medical item;
broadcasting the target medical item data to other nodes in the blockchain network to write the target medical item data of the target user into the blockchain network;
responding to a data query request carrying the identification of the target user, and determining a target medical item from the at least one medical item;
determining a detection result of the target medical item.
2. The method of claim 1, wherein after determining a target medical item from the at least one medical item in response to the data query request carrying the identification of the target user, the method further comprises:
determining a diagnostic result of the target medical item.
3. The method of claim 2, wherein the target medical item data further comprises: a diagnosis of at least one of the medical items; the determining a diagnostic result of the target medical item includes:
determining a diagnosis result of the target medical item from the target medical item data.
4. The method of claim 2, wherein said determining a diagnostic result for said target medical item comprises:
and determining the diagnosis result of the target medical item according to the detection result of the target medical item and a diagnosis model stored in the target node, wherein the diagnosis model is obtained by training based on a plurality of detection result samples of medical items of which the diagnosis results are determined.
5. The method according to claim 1, wherein the target node stores therein medical item data of a plurality of users, and at least one of the medical item data of the users further comprises: a diagnosis result of the medical item; after determining a target medical item from the at least one medical item, the method further comprises:
determining at least one candidate medical item data from the medical item data of the multiple users, wherein the similarity between the detection result of the target medical item in each candidate medical item data and the detection result of the target medical item in the target medical item data is greater than a similarity threshold value;
generating statistical information of the target medical item according to the diagnosis result of the target medical item in the at least one candidate medical item data, wherein the statistical information comprises: the type of diagnosis result is determined from at least one of the candidate medical item data, and at least one of the number and the percentage of the diagnosis result of each type.
6. The method of any of claims 1 to 5, wherein after determining the detection of the target medical item, the method further comprises:
receiving an inspection request carrying the identification of the target user, wherein the inspection request also carries the identifications of a plurality of medical items to be inspected;
and determining medical items except the medical item to which the detection result included in the target medical item data belongs from the plurality of medical items to be checked as the remaining medical items to be checked of the target user.
7. The method of any one of claims 1 to 5, wherein the obtaining target medical item data of the target user comprises: acquiring target medical item data of a target user uploaded by a detection terminal; before the acquiring target medical item data of the target user uploaded by the detection terminal, the method further includes:
responding to a registration request sent by the detection terminal, and generating a key pair, wherein the key pair comprises a public key and a private key;
sending the key pair to the detection terminal, wherein the key pair is used for the detection terminal to log in the block chain network by taking the public key as an account and the private key as a password;
the target medical item data uploaded by the detection terminal are encrypted by the private key; after the acquiring of the medical item data of the target user uploaded by the detection terminal, the method further includes:
and decrypting the encrypted target medical item data by adopting the public key.
8. The method of claim 7, wherein after sending the key pair to the detection terminal, the method further comprises:
receiving mechanism information uploaded by the detection terminal, wherein the mechanism information comprises: the detection terminal comprises at least one of organization identification, establishment time, qualification, department information and physician information of an organization to which the detection terminal belongs.
9. The method of any of claims 1 to 5, wherein the target medical item data further comprises: mechanism information of a mechanism to which the detection terminal belongs, and a detection substance code of the target user.
10. An apparatus for querying medical item data based on a blockchain, the apparatus being applied to a target node in a blockchain network, the apparatus comprising:
an acquisition module configured to acquire target medical item data of a target user, the target medical item data including: an identification of the target user, and a detection result of at least one medical item;
a broadcasting module, configured to broadcast the target medical item data to other nodes in the blockchain network, so as to write the target medical item data of the target user into the blockchain network;
a first determining module, configured to determine, in response to a data query request carrying an identifier of the target user, a target medical item from the at least one medical item, where a difference between a detection result of the target medical item and a standard result is greater than a difference threshold;
and the second determination module is used for determining the detection result of the target medical item.
11. An apparatus for blockchain based query of medical item data, the apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the method for blockchain based query of medical item data according to any one of claims 1 to 9.
12. A computer-readable storage medium, wherein at least one instruction, at least one program, a set of codes, or a set of instructions is stored in the storage medium, and is loaded and executed by a processor to implement the query method for blockchain-based medical item data according to any one of claims 1 to 9.
CN202010004176.XA 2020-01-03 2020-01-03 Block chain-based medical project data query method and device Active CN111209313B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010004176.XA CN111209313B (en) 2020-01-03 2020-01-03 Block chain-based medical project data query method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010004176.XA CN111209313B (en) 2020-01-03 2020-01-03 Block chain-based medical project data query method and device

Publications (2)

Publication Number Publication Date
CN111209313A true CN111209313A (en) 2020-05-29
CN111209313B CN111209313B (en) 2023-10-27

Family

ID=70788317

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010004176.XA Active CN111209313B (en) 2020-01-03 2020-01-03 Block chain-based medical project data query method and device

Country Status (1)

Country Link
CN (1) CN111209313B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031883A (en) * 2021-02-26 2021-06-25 广东核电合营有限公司 Label data printing method, label data printing device, computer equipment and storage medium
CN113380359A (en) * 2021-06-01 2021-09-10 上海德衡数据科技有限公司 Medical information query method and device based on Internet of things and electronic equipment
CN113851203A (en) * 2021-12-01 2021-12-28 南京可信区块链与算法经济研究院有限公司 Neonate eye ground screening collaborative learning method and system based on novel POS mechanism
CN114893938A (en) * 2022-07-14 2022-08-12 蓝海睿创科技(山东)有限责任公司 Movable blood sample refrigerator

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160085868A1 (en) * 2013-10-06 2016-03-24 Ronald P. Young Digital search filter that presents results focused only on the most relevant solutions
US20180001184A1 (en) * 2016-05-02 2018-01-04 Bao Tran Smart device
KR20180023183A (en) * 2016-08-25 2018-03-07 주식회사 아토즈얼라이언스 System and method for providing medical tourism service online platform
US20180189449A1 (en) * 2017-01-04 2018-07-05 International Business Machines Corporation Tracking items used for providing medical services
CN108766511A (en) * 2018-05-30 2018-11-06 北京阿尔山金融科技有限公司 Medical examination data sharing method, system and electronic equipment
CN109473169A (en) * 2018-10-18 2019-03-15 安吉康尔(深圳)科技有限公司 A kind of methods for the diagnosis of diseases, device and terminal device
CN110070926A (en) * 2019-03-21 2019-07-30 深圳壹账通智能科技有限公司 Data query method, apparatus, equipment and readable storage medium storing program for executing based on block chain

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20160085868A1 (en) * 2013-10-06 2016-03-24 Ronald P. Young Digital search filter that presents results focused only on the most relevant solutions
US20180001184A1 (en) * 2016-05-02 2018-01-04 Bao Tran Smart device
KR20180023183A (en) * 2016-08-25 2018-03-07 주식회사 아토즈얼라이언스 System and method for providing medical tourism service online platform
US20180189449A1 (en) * 2017-01-04 2018-07-05 International Business Machines Corporation Tracking items used for providing medical services
CN108766511A (en) * 2018-05-30 2018-11-06 北京阿尔山金融科技有限公司 Medical examination data sharing method, system and electronic equipment
CN109473169A (en) * 2018-10-18 2019-03-15 安吉康尔(深圳)科技有限公司 A kind of methods for the diagnosis of diseases, device and terminal device
CN110070926A (en) * 2019-03-21 2019-07-30 深圳壹账通智能科技有限公司 Data query method, apparatus, equipment and readable storage medium storing program for executing based on block chain

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113031883A (en) * 2021-02-26 2021-06-25 广东核电合营有限公司 Label data printing method, label data printing device, computer equipment and storage medium
CN113380359A (en) * 2021-06-01 2021-09-10 上海德衡数据科技有限公司 Medical information query method and device based on Internet of things and electronic equipment
CN113851203A (en) * 2021-12-01 2021-12-28 南京可信区块链与算法经济研究院有限公司 Neonate eye ground screening collaborative learning method and system based on novel POS mechanism
CN113851203B (en) * 2021-12-01 2022-02-15 南京可信区块链与算法经济研究院有限公司 Neonate eye fundus screening collaborative learning method and system based on POS mechanism
CN114893938A (en) * 2022-07-14 2022-08-12 蓝海睿创科技(山东)有限责任公司 Movable blood sample refrigerator

Also Published As

Publication number Publication date
CN111209313B (en) 2023-10-27

Similar Documents

Publication Publication Date Title
CN111209313B (en) Block chain-based medical project data query method and device
CN110687821B (en) Intelligent home control system and method based on block chain
CN110689460B (en) Traffic accident data processing method, device, equipment and medium based on block chain
CN111339086B (en) Block processing method, and data query method and device based on block chain
CN110602206A (en) Data sharing method and device based on block chain and storage medium
CN110598879B (en) Garbage collection method, device, equipment and storage medium based on block chain
CN112768027A (en) Detection result query method, device, terminal, server and storage medium
CN110659542B (en) Monitoring method and device
CN112562865B (en) Information association method, device, terminal and storage medium
CN110555780B (en) Insurance data processing method, device and equipment based on block chain and storage medium
CN112530567A (en) Information management method, information management device, electronic equipment and storage medium
CN110784370B (en) Method and device for testing equipment, electronic equipment and medium
CN110544193A (en) Donation information distributed storage method and device
CN111062725B (en) Face payment method, device and system and computer readable storage medium
CN110598458A (en) Method, device and system for acquiring medical prescription based on block chain
CN110677262B (en) Information notarization method, device and system based on blockchain
CN110290191B (en) Resource transfer result processing method, device, server, terminal and storage medium
CN111145034A (en) Block chain-based social security management method, device and system and storage medium
CN111901283A (en) Resource transfer method, device, terminal and storage medium
CN110597801A (en) Database system and establishing method and device thereof
CN111198922B (en) Game resource management method and device based on block chain
CN110597840B (en) Partner relationship establishment method, device, equipment and storage medium based on blockchain
CN110825465B (en) Log data processing method and device, electronic equipment and storage medium
CN110597868B (en) Information query method, device, terminal and storage medium based on block chain
CN111881423A (en) Method, device and system for limiting function use authorization

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
GR01 Patent grant
GR01 Patent grant