Intelligent management method for pediatric cases

CN116013451BActive Publication Date: 2026-09-11SOUTHERN MEDICAL UNIVERSITY +3
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211619747.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-14
Publication Date
2026-09-11
Estimated Expiration
2042-12-14

AI Technical Summary

Technical Problem

[0004]这类方法虽然可实现儿科病例单存储目的,但并未提高对儿科病例智能化管理方式及访问区块链的儿科病例单的访问方式,因此其安全级别有待进一步提高

Benefits of technology

[0059]To address the problems described in the background art, this invention first receives an intelligent management instruction for pediatric medical records. Based on this instruction, it activates both the intelligent management blockchain for pediatric medical records and the signature blockchain for pediatric medical records. Accessing the pediatric medical records stored in the storage blockchain requires authentication through the signature blockchain. Therefore, compared to the background art which uses only a single blockchain to store pediatric medical records, this invention introduces two blockchain systems: a storage blockchain for storing pediatric medical records, and authentication through the signature blockchain before accessing the storage blockchain. Furthermore, this invention applies different storage encryption methods to the pediatric medical records stored in the storage blockchain. Specifically, it encrypts the pediatric medical records to obtain an encrypted medical record, an encryption public key pair, and a decryption key. The encrypted medical record is then split into multiple encrypted sub-cases. Each encrypted sub-case is then stored in different storage nodes of the storage blockchain, generating a storage node chain corresponding to the pediatric medical record. The decryption key is placed in the storage node chain. At the end of the chain, the case node chain is obtained. It is evident that this embodiment of the invention does not store the entire pediatric case form into a single node of the storage blockchain all at once. Instead, it divides the pediatric case form into multiple encrypted sub-cases. That is, the pediatric case form is first encrypted and then split to obtain the encrypted sub-cases, thus increasing security. Furthermore, based on the encrypted public key, a chain generation reminder instruction is generated to generate the case node chain. This chain generation reminder instruction is used to access the signature blockchain. Upon successful access to the signature blockchain, the chain signature of the case node chain is calculated within the signature blockchain. Finally, the chain signature is used to encrypt each storage node in the case node chain. After encryption, the chain signature is stored in the signature blockchain, completing the intelligent management of pediatric cases. It is clear that before accessing the storage blockchain, this embodiment of the invention constructs a meticulous chain signature to encrypt each storage node, including the encrypted sub-cases, and uses a unified chain signature to encrypt each storage node, storing the encrypted chain signature in the signature blockchain. Therefore, it greatly improves the security of intelligent management of pediatric cases. Thus, the intelligent management method, device, electronic device, and computer-readable storage medium for pediatric cases proposed in this invention can improve the security of intelligent management of pediatric cases.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116013451B_ABST
    Figure CN116013451B_ABST
Patent Text Reader

Abstract

This invention relates to an intelligent management method for pediatric medical records, comprising: encrypting the pediatric medical record form to obtain an encrypted medical record form, an encrypted public key pair, and a decryption key; splitting the encrypted medical record form into multiple encrypted sub-cases; storing each encrypted sub-case in different storage nodes of a storage blockchain to generate a storage node chain corresponding to the pediatric medical record form; placing the decryption key at the end of the storage node chain to obtain a medical record node chain; generating a chain reminder instruction for the generated medical record node chain based on the encrypted public key; accessing a signature blockchain using the chain generation reminder instruction; calculating a chain signature for the medical record node chain within the signature blockchain upon successful access; encrypting each storage node in the medical record node chain using the chain signature; and storing the chain signature in the signature blockchain after encryption, thus completing the intelligent management of pediatric medical records. This invention can improve the security of intelligent management of pediatric medical records.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of data storage technology, and in particular to an intelligent management method for pediatric medical records. Background Technology

[0002] With the advancement of information technology in the healthcare industry, medical visits have entered the era of electronic medical records. While electronic medical records effectively improve the efficiency of medical consultations, failure to enhance privacy protection during storage can lead to even more serious consequences. Currently, storing medical records with higher security levels still faces numerous challenges, particularly for infants and young children. Because infants and young children lack awareness of their privacy during medical visits, their guardians or doctors are often highly susceptible to leaking their information before or after the visit. Improving the security of storing infants' and young children's medical records is a pressing technical issue that needs to be addressed.

[0003] Currently, intelligent management of pediatric medical records mainly relies on blockchain technology, which involves uploading all pediatric medical records stored in each hospital's medical system to a unified blockchain. Due to the immutable nature of blockchain, its storage security is higher than that of traditional database storage.

[0004] While such methods can achieve the purpose of storing pediatric medical records, they do not improve the intelligent management of pediatric medical records or the access to blockchain-based pediatric medical records. Therefore, their security level needs to be further improved. Summary of the Invention

[0005] This invention provides an intelligent management method for pediatric medical records, the main purpose of which is to improve the security of intelligent management of pediatric medical records.

[0006] To achieve the above objectives, the present invention provides an intelligent management method for pediatric medical records, comprising:

[0007] Upon receiving the intelligent management instruction for pediatric medical records, the system activates the intelligent management blockchain for pediatric medical records and the signature blockchain for pediatric medical records according to the protection instruction. Accessing the pediatric medical records stored in the storage blockchain requires authentication through the signature blockchain.

[0008] The system determines the child information to be protected by the protection instruction, searches the hospital's medical system based on the child information, and retrieves the child's personal information form, registration form, diagnosis form, examination form, and medication form corresponding to the child information.

[0009] The patient information sheets, registration slips, diagnosis slips, examination slips, and medication refill slips are standardized and merged to generate a pediatric medical record.

[0010] The pediatric medical record is encrypted to obtain an encrypted medical record, an encryption public key pair, and a decryption key. The encrypted medical record is then split to obtain multiple encrypted split medical records.

[0011] Each encrypted case is stored in a different storage node of the storage blockchain to generate a storage node chain corresponding to the pediatric case. The decryption key is placed at the end of the storage node chain to obtain the case node chain.

[0012] Based on the encrypted public key, a chain generation reminder instruction is generated for the generated case node chain, and the chain generation reminder instruction is used to access the signature blockchain;

[0013] Once the access to the signature blockchain is successful, the chain signature of the case node chain is calculated within the signature blockchain.

[0014] The chain signature is used to encrypt each storage node in the case node chain. After encryption is completed, the chain signature is stored in the signature blockchain to complete the intelligent management of pediatric cases.

[0015] Optionally, the standardization and merging of the patient information sheet, registration slip, diagnosis slip, examination slip, and medication slip to generate a pediatric medical record includes:

[0016] Run the pre-built pediatric medical record generation program to generate a blank pediatric medical record form, which consists of a patient information header, a registration header, a diagnosis header, an examination header, and a medication dispensing header.

[0017] Based on a pre-built key information identification model, key information in the patient's information sheet, registration form, diagnosis form, examination form, and medication dispensing form is identified respectively, and the key information of the patient, registration, diagnosis, examination, and medication dispensing is obtained.

[0018] Fill in the key information of the sick child, registration, diagnosis, examination and medication in sequence into the corresponding blank pediatric medical record form. The pediatric medical record form is obtained below the headers of the sick child information form, registration form, diagnosis form, examination form and medication form.

[0019] Optionally, encrypting the pediatric medical record to obtain an encrypted medical record, an encryption public key pair, and a decryption key includes:

[0020] The hospital's medical system receives the original public key and original private key generated according to a pre-set public key algorithm.

[0021] The original public key and the original private key are combined to obtain an encryption key pair;

[0022] Based on the structure of the encryption key pair, a decryption key that can be paired one-to-one with the encryption key pair is generated;

[0023] After using the pediatric medical record as input parameters for a pre-built MD5 program, the MD5 program is run to obtain the MD5 medical record.

[0024] After using the encrypted public key pair as the viewing key for viewing the MD5 medical record, the MD5 medical record including the encrypted public key pair is encapsulated to obtain the encrypted medical record, which can be viewed using the decryption key.

[0025] Optionally, storing each group of encrypted medical records into different storage nodes of the storage blockchain to generate a storage node chain corresponding to the pediatric medical record includes:

[0026] Determine the available node set of the storage blockchain, and select a storage node set from the available node set to store all encrypted transaction records;

[0027] Obtain the IP address of each storage node in the storage node set, and generate a test packet based on each IP address;

[0028] Receive the routing table that supports the operation of the hospital's medical system, and use the routing table to forward each test packet to its corresponding IP address;

[0029] When there is an IP address that fails to forward, the storage node corresponding to the IP address that failed to forward is removed from the storage node set, and a new node is selected from the available node set as a replacement storage node.

[0030] Until the forwarding test of each storage node in the storage node set is successfully completed, a test path set is obtained, wherein each test path in the test path set has a one-to-one corresponding storage node;

[0031] Each encrypted case is stored in its corresponding storage node according to the test path set, and the storage order is recorded. All storage nodes are then linked together according to the storage order to generate a storage node chain corresponding to the pediatric case.

[0032] Optionally, the step of generating a chain reminder instruction for generating the case node chain based on the encrypted public key includes:

[0033] Obtain the binding protocol pre-bound to the storage blockchain and the signature blockchain;

[0034] Perform an MD5 operation on the binding protocol and the encrypted public key to obtain the case protocol hash value corresponding to the pediatric medical record;

[0035] After using the case protocol hash value as an input parameter to a pre-built chain generation program, the chain generation program, which includes the case protocol hash value, is run to obtain the chain generation reminder instruction.

[0036] Optionally, calculating the chain signature of the case node chain within the signature blockchain includes:

[0037] Obtain the generation sequence number of the case node chain in the storage blockchain;

[0038] Based on the generated sequence number, an access private key is generated to access the case node chain;

[0039] The access public key of the access private key is calculated using a pre-constructed public-private conversion formula, wherein the access public key also includes a first attribute value and a second attribute value.

[0040] Calculate the mirror public key of the access public key based on the first attribute value and the second attribute value;

[0041] Generate a chain signature based on the mirror public key, access public key, and access private key.

[0042] Optionally, the generation of the serial number includes:

[0043] T i =(T n ,T t ,T s ,T c )

[0044] Among them, T i T represents the generation sequence number of the i-th case node chain in the storage blockchain. n T represents the serial number generated by the i-th case node chain. t The storage address of the chain of the i-th case node, T s T represents the number of storage nodes included in the node chain of the i-th case. c This represents the IP address of each storage node in the i-th case node chain.

[0045] Optionally, generating the access private key for the access case node chain based on the generated sequence number includes:

[0046] Extract a character of a specified length from the storage address in the case node chain to obtain the stored character;

[0047] Extract the first character of the IP address of each storage node in the case node chain in turn to obtain the combined IP characters;

[0048] The access private key is obtained by performing a mapping operation on the serial number, storage character, IP combination character, and number of storage nodes.

[0049] Optionally, the access public key of the access private key is calculated using a pre-constructed public-private conversion formula, wherein the access public key further includes a first attribute value and a second attribute value, including:

[0050] The public key for access is calculated using the following formula:

[0051] pk i =sk i G

[0052] Among them, sk i pk represents the private key for accessing the i-th case node chain. i Let G represent the public key for accessing the chain of the i-th case node, and let G be a reference point of a pre-constructed elliptic curve.

[0053] Generate the access sum of the access public key;

[0054] According to the rule of pairwise multiplication, determine one or more sets of product numbers that can be multiplied to obtain the composite number, where each set of product numbers consists of two product factors;

[0055] The attribute value and the attribute value with the smallest sum of product factors are selected.

[0056] Optionally, calculating the mirror public key of the access public key based on the first attribute value and the second attribute value includes:

[0057] Place the first attribute value at the beginning of the access public key and the second attribute value at the end of the access public key to obtain the attribute public key;

[0058] The attribute public key is encrypted using RSA to obtain the mirror public key.

[0059] To address the problems described in the background art, this invention first receives an intelligent management instruction for pediatric medical records. Based on this instruction, it activates both the intelligent management blockchain for pediatric medical records and the signature blockchain for pediatric medical records. Accessing the pediatric medical records stored in the storage blockchain requires authentication through the signature blockchain. Therefore, compared to the background art which uses only a single blockchain to store pediatric medical records, this invention introduces two blockchain systems: a storage blockchain for storing pediatric medical records, and authentication through the signature blockchain before accessing the storage blockchain. Furthermore, this invention applies different storage encryption methods to the pediatric medical records stored in the storage blockchain. Specifically, it encrypts the pediatric medical records to obtain an encrypted medical record, an encryption public key pair, and a decryption key. The encrypted medical record is then split into multiple encrypted sub-cases. Each encrypted sub-case is then stored in different storage nodes of the storage blockchain, generating a storage node chain corresponding to the pediatric medical record. The decryption key is placed in the storage node chain. At the end of the chain, the case node chain is obtained. It is evident that this embodiment of the invention does not store the entire pediatric case form into a single node of the storage blockchain all at once. Instead, it divides the pediatric case form into multiple encrypted sub-cases. That is, the pediatric case form is first encrypted and then split to obtain the encrypted sub-cases, thus increasing security. Furthermore, based on the encrypted public key, a chain generation reminder instruction is generated to generate the case node chain. This chain generation reminder instruction is used to access the signature blockchain. Upon successful access to the signature blockchain, the chain signature of the case node chain is calculated within the signature blockchain. Finally, the chain signature is used to encrypt each storage node in the case node chain. After encryption, the chain signature is stored in the signature blockchain, completing the intelligent management of pediatric cases. It is clear that before accessing the storage blockchain, this embodiment of the invention constructs a meticulous chain signature to encrypt each storage node, including the encrypted sub-cases, and uses a unified chain signature to encrypt each storage node, storing the encrypted chain signature in the signature blockchain. Therefore, it greatly improves the security of intelligent management of pediatric cases. Thus, the intelligent management method, device, electronic device, and computer-readable storage medium for pediatric cases proposed in this invention can improve the security of intelligent management of pediatric cases. Attached Figure Description

[0060] Figure 1 This is a flowchart illustrating an intelligent management method for pediatric medical records according to an embodiment of the present invention.

[0061] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0062] It should be understood that the specific embodiments described herein are merely illustrative of the invention and are not intended to limit the invention.

[0063] Reference Figure 1 The diagram shown is a flowchart illustrating an intelligent pediatric medical record management method according to an embodiment of the present invention. In this embodiment, the intelligent pediatric medical record management method includes:

[0064] S1. Receive the intelligent management instruction for pediatric medical records, and activate the intelligent management blockchain for pediatric medical records and the signature blockchain for pediatric medical records according to the protection instruction. Accessing the pediatric medical records stored in the storage blockchain requires authentication through the signature blockchain.

[0065] It should be explained that since children who come to the hospital for treatment generally have poor ability to protect their own privacy, in order to improve the protection of children's privacy during the treatment, the child's guardian or hospital administrator can initiate intelligent management instructions for pediatric medical records.

[0066] Furthermore, this embodiment of the invention constructs two blockchains for intelligent management of pediatric medical records: a storage blockchain and a signature blockchain. There is no direct data sharing between the two blockchains. The signature blockchain is used to improve the storage security of the storage blockchain. That is, any user must be authenticated by the signature blockchain before accessing the pediatric medical records stored in the storage blockchain.

[0067] S2. Determine the patient information that the protection instruction needs to protect, and search the hospital's medical system based on the patient information to obtain the patient's personal information form, registration form, diagnosis form, examination form, and medication form corresponding to the patient information.

[0068] For example, if a baby named Xiao Zhang is feeling unwell, his mother takes him to the hospital for a check-up. After the check-up, Xiao Zhang's mother initiates a protection command, which searches the hospital's medical system based on Xiao Zhang's medical information, thereby obtaining Xiao Zhang's personal information form, registration form, diagnosis form, examination form, and medication prescription.

[0069] Furthermore, the patient's personal information form includes the patient's name, address, guardian, age, etc.; the registration form includes the registration time, transaction number, etc.; the diagnosis form includes the diagnosis information issued by the doctor based on the patient's symptoms, the name of the diagnosing doctor, diagnosis time, etc.; the examination form includes a series of examinations performed on the patient and the results of each examination; the medication receipt includes the name and quantity of the medications obtained from the hospital based on the diagnosis form and examination form.

[0070] S3. Standardize and merge the patient information sheets, registration sheets, diagnosis sheets, examination sheets, and medication receipts to generate a pediatric medical record.

[0071] Because different hospitals use different formats and specifications for recording patient information sheets, registration slips, diagnosis slips, examination slips, and medication slips, it is necessary to standardize pediatric medical records into a single format to improve the security of pediatric medical records.

[0072] In detail, the standardized and merged processing of the patient information sheet, registration slip, diagnosis slip, examination slip, and medication receipt to generate a pediatric medical record includes:

[0073] Run the pre-built pediatric medical record generation program to generate a blank pediatric medical record form, which consists of a patient information header, a registration header, a diagnosis header, an examination header, and a medication dispensing header.

[0074] Based on a pre-built key information identification model, key information in the patient's information sheet, registration form, diagnosis form, examination form, and medication dispensing form is identified respectively, and the key information of the patient, registration, diagnosis, examination, and medication dispensing is obtained.

[0075] Fill in the key information of the sick child, registration, diagnosis, examination and medication in sequence into the corresponding blank pediatric medical record form. The pediatric medical record form is obtained below the headers of the sick child information form, registration form, diagnosis form, examination form and medication form.

[0076] In this embodiment of the invention, the key information recognition model can be constructed using OCR technology and LSTM model. Its purpose is to identify important key texts in various types of documents such as sick children's information sheets and registration forms, thereby achieving the purpose of information condensation and reducing the consumption of storage resources when managing pediatric medical records intelligently.

[0077] S4. Encrypt the pediatric medical record to obtain the encrypted medical record, the encryption public key pair, and the decryption key. Then, split the encrypted medical record to obtain multiple sets of encrypted split medical records.

[0078] Specifically, encrypting the pediatric medical record to obtain an encrypted medical record, an encryption public key pair, and a decryption key includes:

[0079] The hospital's medical system receives the original public key and original private key generated according to a pre-set public key algorithm.

[0080] The original public key and the original private key are combined to obtain an encryption key pair;

[0081] Based on the structure of the encryption key pair, a decryption key that can be paired one-to-one with the encryption key pair is generated;

[0082] After using the pediatric medical record as input parameters for a pre-built MD5 program, the MD5 program is run to obtain the MD5 medical record.

[0083] After using the encrypted public key pair as the viewing key for viewing the MD5 medical record, the MD5 medical record including the encrypted public key pair is encapsulated to obtain the encrypted medical record, which can be viewed using the decryption key.

[0084] It can be explained that the preset public key algorithm includes, but is not limited to, the fast public key algorithm and the traditional public key algorithm. Furthermore, there are many ways to combine the original public key and the original private key, such as concatenating them end-to-end, or inserting even-numbered bits of the original private key into odd-numbered bits of the original public key, thereby generating an encryption key pair. Therefore, it is understandable that different encryption key pairs with different structures can be generated according to different combination methods, and thus a decryption key with a one-to-one correspondence with the encryption key pair can be generated. That is, the decryption key can be used to access the file protected by the encryption key pair. Therefore, in this embodiment of the invention, the encryption public key pair is used as the viewing key for viewing MD5 medical records, and then the decryption key is used to view the encrypted medical records, thereby improving the security of pediatric medical records.

[0085] In this embodiment of the invention, in order to further improve the level of intelligent management of pediatric medical records and prevent accidental leakage of pediatric medical records, the encrypted medical record is split into multiple encrypted sub-cases. That is, multiple encrypted sub-cases can be spliced ​​together to obtain a complete encrypted medical record. Therefore, even if one of the encrypted sub-cases is leaked, its incompleteness reduces the risk of complete leakage of children's information.

[0086] S5. Store each group of encrypted case reports into different storage nodes of the storage blockchain to generate a storage node chain corresponding to the pediatric case report. Place the decryption key at the end of the storage node chain to obtain the case node chain.

[0087] Specifically, the step of storing each group of encrypted medical records into different storage nodes of the storage blockchain to generate a storage node chain corresponding to the pediatric medical record includes:

[0088] Determine the available node set of the storage blockchain, and select a storage node set from the available node set to store all encrypted transaction records;

[0089] Obtain the IP address of each storage node in the storage node set, and generate a test packet based on each IP address;

[0090] Receive the routing table that supports the operation of the hospital's medical system, and use the routing table to forward each test packet to its corresponding IP address;

[0091] When there is an IP address that fails to forward, the storage node corresponding to the IP address that failed to forward is removed from the storage node set, and a new node is selected from the available node set as a replacement storage node.

[0092] Until the forwarding test of each storage node in the storage node set is successfully completed, a test path set is obtained, wherein each test path in the test path set has a one-to-one corresponding storage node;

[0093] Each encrypted case is stored in its corresponding storage node according to the test path set, and the storage order is recorded. All storage nodes are then linked together according to the storage order to generate a storage node chain corresponding to the pediatric case.

[0094] For example, suppose there are currently 100 available nodes in the storage blockchain bound to the hospital's medical system, and there are 50 encrypted transaction records generated in step S4. Therefore, 50 available nodes are randomly selected from the 100 available nodes, and these 50 available nodes are the storage nodes used to store all the encrypted transaction records.

[0095] Furthermore, to improve storage efficiency for each storage operation, this embodiment of the invention also requires testing the IP address of each storage node using a routing table to prevent transmission failures caused by abnormal IP addresses. Therefore, the IP addresses of 50 storage nodes are obtained, and test packets are generated based on these 50 IP addresses. Generally, the data size of the test packets is extremely small, minimizing resource consumption. Further, a routing table supporting the operation of the hospital's medical system is determined, and this routing table is used to forward each test packet to its corresponding IP address, thereby achieving the testing.

[0096] It is conceivable that the IP address test of one of the 50 storage nodes may fail. Therefore, in this embodiment of the invention, a new storage node is selected from the other 50 available nodes, and so on, until the forwarding test of each storage node in the storage node set is successfully completed, and a test path set is obtained.

[0097] Finally, the embodiments of the present invention record the storage order of each encrypted instance in the storage node, such as encrypted instance A being stored in storage node a, encrypted instance B being stored in storage node b, encrypted instance C being stored in storage node c, etc., thereby connecting all the storage nodes in the storage order of storage node a-storage node b-storage node c to obtain a storage node chain.

[0098] Furthermore, in the storage node chain of storage node a-storage node b-storage node c-…-storage node n described above, this embodiment of the invention places the decryption key in storage node n of the storage node chain, thereby obtaining a case node chain including the decryption key.

[0099] S6. Generate a chain reminder instruction for generating the case node chain based on the encrypted public key, and access the signature blockchain using the chain generation reminder instruction.

[0100] It should be explained that this embodiment of the invention constructs two blockchains: a storage blockchain and a signature blockchain. Before any user can access the pediatric medical records stored in the storage blockchain, they must be authenticated through the signature blockchain. Therefore, after the storage blockchain completes intelligent management of pediatric medical records and generates a medical record node chain, the signature blockchain is needed to enhance the security of accessing the storage blockchain. Therefore, specifically, the step of generating a chain reminder instruction for the medical record node chain based on the encrypted public key includes:

[0101] Obtain the binding protocol pre-bound to the storage blockchain and the signature blockchain;

[0102] Perform an MD5 operation on the binding protocol and the encrypted public key to obtain the case protocol hash value corresponding to the pediatric medical record;

[0103] After using the case protocol hash value as an input parameter to a pre-built chain generation program, the chain generation program, which includes the case protocol hash value, is run to obtain the chain generation reminder instruction.

[0104] It's important to understand that before the storage blockchain and the signature blockchain were put into operation, a binding agreement was pre-signed between them. This agreement stipulates that to access stored medical records within the storage blockchain, one must first access and verify them on the signature blockchain. In other words, the binding agreement specifies the access methods for the signature blockchain and the storage blockchain.

[0105] It is important to emphasize that the binding protocol stipulates that access to the signature blockchain is based on a chain generation reminder instruction generated after performing an MD5 operation on the binding protocol and the encrypted public key pair. In other words, an MD5 operation must be performed on the binding protocol with a unique identifier and an encrypted public key pair with a special structure, and a pre-built chain generation program must be used to generate a chain generation reminder instruction with a unique structure. Due to the unique structure of the chain generation reminder instruction, access to the signature blockchain can be successfully achieved.

[0106] S7. After successfully accessing the signature blockchain, calculate the chain signature of the case node chain within the signature blockchain.

[0107] Understandably, once a case node chain corresponding to the pediatric medical record is generated in the storage blockchain, it indicates that the pediatric medical record has been successfully stored in the storage blockchain. In order to improve the storage security of the pediatric medical record in the storage blockchain, this embodiment of the invention also constructs a chain signature.

[0108] Specifically, calculating the chain signature of the case node chain within the signature blockchain includes:

[0109] Obtain the generation sequence number of the case node chain in the storage blockchain;

[0110] Based on the generated sequence number, an access private key is generated to access the case node chain;

[0111] The access public key of the access private key is calculated using a pre-constructed public-private conversion formula, wherein the access public key also includes a first attribute value and a second attribute value.

[0112] Calculate the mirror public key of the access public key based on the first attribute value and the second attribute value;

[0113] Generate a chain signature based on the mirror public key, access public key, and access private key.

[0114] Specifically, the generated serial number includes:

[0115] T i =(T n ,T t ,T s ,T c )

[0116] Among them, T i T represents the generation sequence number of the i-th case node chain in the storage blockchain. n T represents the serial number generated by the i-th case node chain. t The storage address of the chain of the i-th case node, T s T represents the number of storage nodes included in the node chain of the i-th case. c This represents the IP address of each storage node in the i-th case node chain.

[0117] Furthermore, the step of generating the access private key for the access case node chain based on the generated sequence number includes:

[0118] Extract a character of a specified length from the storage address in the case node chain to obtain the stored character;

[0119] Extract the first character of the IP address of each storage node in the case node chain in turn to obtain the combined IP characters;

[0120] The access private key is obtained by performing a mapping operation on the serial number, storage character, IP combination character, and number of storage nodes.

[0121] It should be explained that the mapping operations described in the embodiments of the present invention include, but are not limited to, DES (Data Encryption Standard), 3DES (Triple DES), and RSA.

[0122] Furthermore, the access public key of the access private key is calculated using a pre-constructed public-private conversion formula, wherein the access public key also includes a first attribute value and a second attribute value, including:

[0123] The public key for access is calculated using the following formula:

[0124] pk i =sk i G

[0125] Among them, sk i pk represents the private key for accessing the i-th case node chain. i Let G represent the public key for accessing the chain of the i-th case node, and let G be a reference point of a pre-constructed elliptic curve.

[0126] Generate the access sum of the access public key;

[0127] According to the rule of pairwise multiplication, determine one or more sets of product numbers that can be multiplied to obtain the composite number, where each set of product numbers consists of two product factors;

[0128] The attribute value and the attribute value with the smallest sum of product factors are selected.

[0129] In this embodiment of the invention, the access composite number of the access public key can be calculated using linear or nonlinear mapping relationships. Assuming that the access composite number of the access public key is 6, two sets of prime numbers 6 can be generated, namely 1*6 and 2*3. However, since the sum of 2*3 is 5 and the sum of 1*6 is 7, the two product factors 2 and 3 are determined as the first attribute value and the second attribute value, respectively.

[0130] Furthermore, the step of calculating the mirror public key of the access public key based on the first attribute value and the second attribute value includes:

[0131] Place the first attribute value at the beginning of the access public key and the second attribute value at the end of the access public key to obtain the attribute public key;

[0132] The attribute public key is encrypted using RSA to obtain the mirror public key.

[0133] In this embodiment of the invention, conventional encryption algorithms can be used to perform encryption operations on the mirror public key, access public key, and access private key to generate a chain signature.

[0134] S8. Encrypt each storage node in the case node chain using the chain signature. After encryption is completed, store the chain signature in the signature blockchain to complete the intelligent management of pediatric cases.

[0135] In this embodiment of the invention, after the chain signature is generated according to step S7, encryption is performed on the encrypted case records stored by each storage node based on the chain signature. Furthermore, the encryption algorithm used by each storage node is selected from a randomly constructed encryption pool. Thus, the pediatric case records stored in the case node chain are protected by multiple encryption algorithms, greatly improving security. Moreover, this embodiment of the invention also saves the chain signature to the signature blockchain, ensuring that accessing the storage blockchain requires obtaining the chain signature from the signature blockchain, thereby further enhancing the level of intelligent management of pediatric case records.

[0136] To address the problems described in the background art, this invention first receives an intelligent management instruction for pediatric medical records. Based on this instruction, it activates both the intelligent management blockchain for pediatric medical records and the signature blockchain for pediatric medical records. Accessing the pediatric medical records stored in the storage blockchain requires authentication through the signature blockchain. Therefore, compared to the background art which uses only a single blockchain to store pediatric medical records, this invention introduces two blockchain systems: a storage blockchain for storing pediatric medical records, and authentication through the signature blockchain before accessing the storage blockchain. Furthermore, this invention applies different storage encryption methods to the pediatric medical records stored in the storage blockchain. Specifically, it encrypts the pediatric medical records to obtain an encrypted medical record, an encryption public key pair, and a decryption key. The encrypted medical record is then split into multiple encrypted sub-cases. Each encrypted sub-case is then stored in different storage nodes of the storage blockchain, generating a storage node chain corresponding to the pediatric medical record. The decryption key is placed in the storage node chain. At the end of the chain, the case node chain is obtained. It is evident that this embodiment of the invention does not store the entire pediatric case form into a single node of the storage blockchain all at once. Instead, it divides the pediatric case form into multiple encrypted sub-cases. That is, the pediatric case form is first encrypted and then split to obtain the encrypted sub-cases, thus increasing security. Furthermore, based on the encrypted public key, a chain generation reminder instruction is generated to generate the case node chain. This chain generation reminder instruction is used to access the signature blockchain. Upon successful access to the signature blockchain, the chain signature of the case node chain is calculated within the signature blockchain. Finally, the chain signature is used to encrypt each storage node in the case node chain. After encryption, the chain signature is stored in the signature blockchain, completing the intelligent management of pediatric cases. It is clear that before accessing the storage blockchain, this embodiment of the invention constructs a meticulous chain signature to encrypt each storage node, including the encrypted sub-cases, and uses a unified chain signature to encrypt each storage node, storing the encrypted chain signature in the signature blockchain. Therefore, it greatly improves the security of intelligent management of pediatric cases. Thus, the intelligent management method, device, electronic device, and computer-readable storage medium for pediatric cases proposed in this invention can improve the security of intelligent management of pediatric cases.

[0137] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention and are not intended to limit it. Although the present invention has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention.

Claims

1. A method for intelligent management of pediatric medical records, characterized in that, The method includes: The system receives instructions for intelligent management of pediatric medical records and activates the intelligent management blockchain for pediatric medical records and the signature blockchain for pediatric medical records according to the instructions. Accessing the pediatric medical records stored in the storage blockchain requires authentication through the signature blockchain. The system determines the child information that the management instruction needs to protect, searches the hospital's medical system based on the child information, and retrieves the child's personal information form, registration form, diagnosis form, examination form, and medication form corresponding to the child information. The patient information sheets, registration slips, diagnosis slips, examination slips, and medication refill slips are standardized and merged to generate a pediatric medical record. The pediatric medical record is encrypted to obtain an encrypted medical record, an encryption public key pair, and a decryption key. The encrypted medical record is then split to obtain multiple encrypted split medical records. Each encrypted case is stored in a different storage node of the storage blockchain to generate a storage node chain corresponding to the pediatric case. The decryption key is placed at the end of the storage node chain to obtain the case node chain. Based on the encrypted public key, a chain generation reminder instruction is generated for the generated case node chain, and the chain generation reminder instruction is used to access the signature blockchain; Once the access to the signature blockchain is successful, the chain signature of the case node chain is calculated within the signature blockchain. The chain signature is used to encrypt each storage node in the case node chain. After encryption is completed, the chain signature is stored in the signature blockchain to complete the intelligent management of pediatric cases.

2. The intelligent management method for pediatric medical records as described in claim 1, characterized in that, The process of standardizing and merging the patient information sheets, registration slips, diagnosis slips, examination slips, and medication refill slips to generate a pediatric medical record includes: Run the pre-built pediatric medical record generation program to generate a blank pediatric medical record form, which consists of a patient information header, a registration header, a diagnosis header, an examination header, and a medication dispensing header. Based on a pre-built key information identification model, key information in the patient's information sheet, registration form, diagnosis form, examination form, and medication dispensing form is identified respectively, and the key information of the patient, registration, diagnosis, examination, and medication dispensing is obtained. Fill in the key information of the sick child, registration, diagnosis, examination and medication in sequence below the header of the corresponding blank pediatric medical record form, and the header of the registration, diagnosis, examination and medication forms to obtain the pediatric medical record form.

3. The intelligent management method for pediatric medical records as described in claim 2, characterized in that, The encryption of the pediatric medical record yields an encrypted medical record, an encryption public key pair, and a decryption key, including: The hospital's medical system receives the original public key and original private key generated according to a pre-set public key algorithm. The original public key and the original private key are combined to obtain an encryption key pair; Based on the structure of the encryption key pair, a decryption key that can be paired one-to-one with the encryption key pair is generated; After using the pediatric medical record as input parameters for a pre-built MD5 program, the MD5 program is run to obtain the MD5 medical record. After using the encrypted public key pair as the viewing key for viewing the MD5 medical record, the MD5 medical record including the encrypted public key pair is encapsulated to obtain the encrypted medical record, which can be viewed using the decryption key.

4. The intelligent management method for pediatric medical records as described in claim 3, characterized in that, The step of storing each encrypted case report to different storage nodes of the storage blockchain to generate a storage node chain corresponding to the pediatric medical record includes: Determine the available node set of the storage blockchain, and select a storage node set from the available node set to store all encrypted transaction records; Obtain the IP address of each storage node in the storage node set, and generate a test packet based on each IP address; Receive the routing table that supports the operation of the hospital's medical system, and use the routing table to forward each test packet to its corresponding IP address; When there is an IP address that fails to forward, the storage node corresponding to the IP address that failed to forward is removed from the storage node set, and a new node is selected from the available node set as a replacement storage node. Until the forwarding test of each storage node in the storage node set is successfully completed, a test path set is obtained, wherein each test path in the test path set has a one-to-one corresponding storage node; Each encrypted case is stored in its corresponding storage node according to the test path set, and the storage order is recorded. All storage nodes are then linked together according to the storage order to generate a storage node chain corresponding to the pediatric case.

5. The intelligent management method for pediatric medical records as described in claim 4, characterized in that, The step of generating a chain reminder instruction for the generated case node chain based on the encrypted public key includes: Obtain the binding protocol pre-bound to the storage blockchain and the signature blockchain; Perform an MD5 operation on the binding protocol and the encrypted public key to obtain the case protocol hash value corresponding to the pediatric medical record; After using the case protocol hash value as an input parameter to a pre-built chain generation program, the chain generation program, which includes the case protocol hash value, is run to obtain the chain generation reminder instruction.

6. The intelligent management method for pediatric medical records as described in claim 5, characterized in that, The calculation of the chain signature of the case node chain within the signature blockchain includes: Obtain the generation sequence number of the case node chain in the storage blockchain; Based on the generated sequence number, an access private key is generated to access the case node chain; The access public key of the access private key is calculated using a pre-constructed public-private conversion formula, wherein the access public key also includes a first attribute value and a second attribute value. Calculate the mirror public key of the access public key based on the first attribute value and the second attribute value; Generate a chain signature based on the mirror public key, access public key, and access private key.

7. The intelligent management method for pediatric medical records as described in claim 6, characterized in that, The generated serial number includes: ; in, Indicates the first in the storage blockchain The generation sequence number of the individual case node chain. Indicates the first The serial number generated by the chain of individual case nodes, No. The storage address of the individual case node chain. Indicates the first The number of storage nodes included in a case node chain Indicates the first The IP address of each storage node in the case node chain.

8. The intelligent management method for pediatric medical records as described in claim 7, characterized in that, The process of generating the access private key for the access case node chain based on the generated sequence number includes: Extract a character of a specified length from the storage address in the case node chain to obtain the stored character; Extract the first character of the IP address of each storage node in the case node chain in turn to obtain the combined IP characters; The access private key is obtained by performing a mapping operation on the serial number, storage character, IP combination character, and number of storage nodes.

9. The intelligent management method for pediatric medical records as described in claim 8, characterized in that, The access public key of the access private key is calculated using a pre-constructed public-private conversion formula. The access public key also includes a first attribute value and a second attribute value, including: The public key for access is calculated using the following formula: ; in, Indicates the first The private key for accessing the chain of individual case nodes. Indicates the first The public key for accessing the chain of individual case nodes. A reference point for a pre-constructed elliptic curve; Generate the access composite number of the access public key; According to the rule of pairwise multiplication, determine one or more sets of product numbers that can be multiplied to obtain the composite number, where each set of product numbers consists of two product factors; The attribute value and the attribute value with the smallest sum of product factors are selected.

10. The intelligent management method for pediatric medical records as described in claim 9, characterized in that, The step of calculating the mirror public key of the access public key based on the first attribute value and the second attribute value includes: Place the first attribute value at the beginning of the access public key and the second attribute value at the end of the access public key to obtain the attribute public key; The attribute public key is encrypted using RSA to obtain the mirror public key.

Citation Information

Patent Citations

  • Blockchain medical data management method based on distributed attribute signature and system

    CN109979550A

  • KR20210067353A