Biological sample storage whole-process supervision and evidence storage method

By generating a unique authentication QR code and sample ID for each biological sample, and combining encryption algorithms and blockchain storage, the security issues of laboratory operator operation records and data storage in sample supervision and evidence preservation technology are solved, and the security supervision of biological samples throughout the entire process is realized.

CN121598404APending Publication Date: 2026-03-03华域生物科技(天津)有限公司 +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202511665705.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-11-13
Publication Date
2026-03-03

AI Technical Summary

Technical Problem

Existing sample monitoring and evidence preservation technologies are relatively weak in protecting the operation records of laboratory personnel and the data storage of biological samples, making it impossible to effectively monitor the entire process of biological sample storage, especially when operation records are stolen or tampered with, making it impossible to trace the source.

Method used

A unique authentication QR code is generated for each biological sample. The experimenter uploads the operation log and generates a unique sample ID and sample key. The regulatory data is securely encrypted and stored on the blockchain platform. The regulatory data is decrypted and displayed after the user is authenticated.

Benefits of technology

It improves the security and effectiveness of sample supervision and evidence preservation, and ensures the unreadableness and integrity of data through unique sample IDs and encryption algorithms, thus achieving effective supervision of the entire process of biological samples.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121598404A_ABST
    Figure CN121598404A_ABST
Patent Text Reader

Abstract

The invention discloses a biological sample storage whole-process supervision and evidence storage method, and relates to the technical field of sample supervision and evidence storage, and the method comprises the following steps: generating a unique authentication two-dimensional code for each biological sample; when an experimenter operates a biological sample, an operation log needs to be uploaded, and the operation log is included in supervision data; generating a unique sample ID for each biological sample, and generating a unique sample key based on the sample ID; converting the supervision data into an unreadable security encryption protection ciphertext; storing the security encryption protection ciphertext in the block chain storage platform; the method is used for solving the problem that the whole process of biological sample storage cannot be effectively supervised due to the fact that storage protection of operation records of experimenters and data of biological samples is weak in an existing sample supervision evidence storage technology.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of sample supervision and evidence preservation technology, specifically a method for full-process supervision and evidence preservation of biological sample storage. Background Technology

[0002] Sample monitoring and evidence preservation technology refers to a technical system that comprehensively utilizes information technology, automated equipment, and encryption algorithms to digitally record, track, and verify the entire lifecycle of biological samples, from collection, transportation, processing, and storage to use and destruction.

[0003] Existing sample monitoring and evidence storage technologies typically only monitor and store information about the biological sample itself. However, the actions taken by laboratory technicians are equally important, as these actions allow for the tracing of changes in the biological sample. Current technologies have relatively weak protection for the storage of technicians' operational records. If these records are stolen or altered, it becomes impossible to trace the cause of changes in the biological sample, meaning the entire storage process of the biological sample cannot be monitored and protected. For example, patent application CN120581078A discloses a "method and system for managing biological sample information data." While this solution collects the applicant's operational records via a remote application form, it lacks security protection for these records. If these records are stolen and altered, they become invalid, and the tracing of biological sample operations becomes impossible. Therefore, existing sample monitoring and evidence storage technologies suffer from weak protection for both technicians' operational records and biological sample data, resulting in an inability to effectively monitor the entire biological sample storage process. Summary of the Invention

[0004] This invention aims to at least partially address one of the technical problems in existing technologies. It generates a unique authentication QR code for each biological sample, which is then linked to the sample's monitoring data. When operating on the biological sample, the operator must upload an operation log, which is incorporated into the monitoring data. A unique sample ID is generated for each biological sample based on its initial storage time, and a unique sample key is generated based on this sample ID. The sample key and monitoring data are formatted uniformly, converted into key encoding and data encoding. Secure encryption is then performed on the data encoding using the key encoding to obtain secure encrypted ciphertext. This ciphertext is stored on a blockchain storage platform. Users scan the authentication QR code to verify their identity. Upon successful verification, the ciphertext is decrypted, and the decrypted monitoring data is displayed to the user. This addresses the problem that existing sample monitoring and evidence storage technologies have weak protection for operator operation records and biological sample data, resulting in ineffective monitoring of the entire biological sample storage process.

[0005] To achieve the above objectives, in a first aspect, this application provides a method for full-process supervision and evidence preservation of biological sample storage, comprising the following steps:

[0006] A unique authentication QR code is generated for each biological sample, and the authentication QR code is linked to the regulatory data of the biological sample.

[0007] When handling biological samples, lab technicians must upload an operation log, which will then be included in the monitoring data.

[0008] Generate a unique sample ID for each biological sample, and generate a unique sample key based on the sample ID;

[0009] Based on the sample key, secure encryption protection calculations are performed on the regulatory data, transforming the regulatory data into unreadable secure encrypted ciphertext.

[0010] The encrypted data is stored in the blockchain storage platform. Users scan the authentication QR code to verify their identity. After successful verification, the encrypted data is decrypted and the decrypted regulatory data is displayed to the user.

[0011] Furthermore, generating a unique authentication QR code for each biological sample, and associating the authentication QR code with the regulatory data of the biological sample, includes the following sub-steps:

[0012] A unique QR code is generated for each biological sample and named the authentication QR code.

[0013] The authentication QR code is linked to the regulatory webpage displaying the regulatory data. Scanning the authentication QR code will redirect you to the regulatory webpage displaying the regulatory data.

[0014] Furthermore, when handling biological samples, lab technicians must upload an operation log. Incorporating this operation log into the monitoring data includes the following sub-steps:

[0015] When handling biological samples, lab technicians must first scan the authentication QR code to access the monitoring webpage and authenticate their identity.

[0016] After authentication, an operation timestamp is generated. The biological sample is then manipulated, and an operation log is written and uploaded to the regulatory webpage. Upon receiving the operation log, the regulatory webpage incorporates the operation log into the regulatory data based on the operation timestamp.

[0017] Furthermore, generating a unique sample ID for each biological sample and generating a unique sample key based on the sample ID includes the following sub-steps:

[0018] A unique sample ID is generated for each biological sample based on the time it was first stored.

[0019] A unique sample key is generated for each biological sample based on its sample ID.

[0020] Furthermore, generating a unique sample ID for each biological sample based on its initial storage time includes the following sub-steps:

[0021] The time when a biological sample is first stored is named the sample generation time. If biological samples with the same generation time exist, they are numbered and designated by the symbol P. n This indicates that n is a positive integer and n is the index of P;

[0022] By removing Chinese characters and punctuation marks from the sample generation time and retaining only pure numerical text, a time series is obtained.

[0023] Obtain the classification and type of biological samples, and name them as sample classification and sample type. Obtain the first letter abbreviations of the sample classification and sample type in English, and name them as classification abbreviation and type abbreviation.

[0024] Generate sample IDs in the format of "Category Abbreviation-Type Abbreviation-Time Series-n".

[0025] Furthermore, generating a unique sample key for a biological sample based on the sample ID includes the following sub-steps:

[0026] Convert the sample ID to binary encoding according to ASCII encoding, and name it ID encoding;

[0027] The numbers in the ID code are numbered from left to right, using the symbol L. m This indicates that m is a positive integer and m is the index of L;

[0028] Starting with m=1, for L m and L m+1 Perform an XOR operation and label the result as K. i , where i is a positive integer and i is the index of K. The initial value of i is 1. m+2 and i+1 are recalculated until the maximum value of m is reached.

[0029] Arrange K in ascending order of i. i Combine them into a string of numbers and name it the sample key.

[0030] Furthermore, the process of performing secure encryption protection calculations on the regulatory data based on the sample key, transforming the regulatory data into unreadable secure encrypted ciphertext, includes the following sub-steps:

[0031] Standardize the format of sample keys and regulatory data by converting them into key encoding and data encoding;

[0032] By performing secure encryption and protection calculations on the data encoding using key encoding, a secure encrypted ciphertext is obtained.

[0033] Furthermore, the sample keys and regulatory data are standardized in format, and the sample keys and regulatory data are converted into key encoding and data encoding, including the following sub-steps:

[0034] The sample key is directly named the key code;

[0035] The regulatory data is converted into binary code according to UTF-8 encoding and named data encoding.

[0036] The regulatory data is converted in units of paragraphs, and each paragraph of regulatory data is converted into a data code.

[0037] Furthermore, the secure encryption protection calculation is performed on the data encoding through key encoding to obtain the secure encrypted ciphertext, including the following sub-steps:

[0038] The numbers in the key encoding and data encoding are numbered from left to right, and are respectively represented by the symbols TA. g and TB h This indicates that g and h are both positive integers, with g being the index of TA and h being the index of TB;

[0039] Starting with g=1, obtain TA values ​​that are consecutively 0. g The quantity, labeled RA jWhere j is a positive integer and j is the index of RA, j is initially 1, and g is increased by RA. j Then increment j by one to obtain TA that is consecutively 1. g The quantity, labeled RA j If j is odd, then it is necessary to obtain the consecutive TA values ​​that are 0. g The quantity of RA is obtained j If j is even, then it is necessary to obtain TA that is consecutively 1. g The quantity of RA is obtained j The process is repeated cyclically, ultimately resulting in different RAs. j ;

[0040] Starting with h=1, obtain TB values ​​that are consecutively 0. h The quantity, labeled RB t Where t is a positive integer and t is the index of RB, t is initially 1, and h is increased by RB. t Then increment t by one to obtain TB that is consecutively 1. h The quantity, labeled RB t If t is odd, then TB consisting of consecutive zeros needs to be obtained. h The quantity obtained by RB t If t is even, then TB consisting of consecutive 1s needs to be obtained. h The quantity obtained by RB t The process is repeated cyclically, eventually yielding different RBs. t ;

[0041] Find the maximum value of j, labeled J, and starting at t=1, calculate (RB). t +RA t%J+1 )%9+1, mark the calculation result as F t Add t and iteratively calculate F. t , where RA t%J+1 That is, j = t % J + 1, where % is the modulo operator;

[0042] Starting at t=1, calculate F t -F t+1 , will F t Marked as S t The calculation result is labeled as S. t+1 By iterating through t+2, different values ​​of S can be obtained. t ;

[0043] If S t If it is negative, then S t Replace the minus sign with any letter, using the letter and S. t The numerical part forms a two-character string, labeled E. t If S tIf it is a positive number, then S t Marked as E t ;

[0044] Arrange E in ascending order of t. t By combining these components, a secure encrypted ciphertext is obtained.

[0045] Furthermore, the secure encrypted ciphertext is stored in the blockchain storage platform. Users scan the authentication QR code to verify their identity. After successful verification, the secure encrypted ciphertext is decrypted and the decrypted regulatory data is displayed to the user. This process includes the following sub-steps:

[0046] Securely encrypt and protect the ciphertext by storing it on a blockchain storage platform;

[0047] When a user scans the authentication QR code to access the regulatory webpage, the user's identity is verified.

[0048] After successful verification, the security encryption protection ciphertext corresponding to the sample ID associated with the authentication QR code is retrieved from the blockchain storage platform, and the security encryption protection ciphertext is decrypted to obtain the regulatory data, which is then displayed on the regulatory webpage.

[0049] The beneficial effects of this invention are as follows: This invention generates a unique authentication QR code for each biological sample, which is associated with the monitoring data of the biological sample. When the experimenter operates on the biological sample, he / she needs to upload an operation log, which is then included in the monitoring data. A unique sample ID is generated for each biological sample based on the time of its first storage, and a unique sample key is generated for the biological sample based on the sample ID. The advantage is that a unique sample ID is generated for each biological sample before the monitoring data of each biological sample is encrypted and stored, and a unique sample key is generated based on the sample ID. The sample key is not set by humans and is not stored on any device, which ensures the security of the sample key and improves the security and effectiveness of sample monitoring and evidence storage.

[0050] This invention standardizes the format of sample keys and regulatory data, converting them into key encoding and data encoding. Then, it performs secure encryption calculations on the data encoding using the key encoding to obtain secure encrypted ciphertext. This ciphertext is stored on a blockchain storage platform. Users scan an authentication QR code to verify their identity. After successful verification, the ciphertext is decrypted, and the decrypted regulatory data is displayed to the user. The advantage lies in the encrypted storage of regulatory data, employing a novel encryption algorithm during the encryption process, further enhancing the security and effectiveness of sample regulatory evidence preservation. Attached Figure Description

[0051] Figure 1 This is a flowchart illustrating the steps of the method of the present invention;

[0052] Figure 2 This is a flowchart illustrating the entire process of biological sample storage supervision and evidence preservation according to the present invention.

[0053] Figure 3 This is a schematic diagram of the electronic device of the present invention. Detailed Implementation

[0054] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0055] Example 1, please refer to Figure 1 As shown, this application provides a method for full-process supervision and evidence preservation of biological sample storage, including the following steps:

[0056] Please see Figure 2 As shown, step S1 generates a unique authentication QR code for each biological sample, and associates the authentication QR code with the regulatory data of the biological sample; step S1 includes the following sub-steps:

[0057] Step S101: Generate a unique QR code for each biological sample and name it the authentication QR code;

[0058] Step S102: The authentication QR code is linked to the regulatory webpage displaying the regulatory data. Scanning the authentication QR code will redirect you to the regulatory webpage displaying the regulatory data.

[0059] In practice, the regulatory webpage can be updated in real time. After scanning the authentication QR code, you can be redirected to the regulatory webpage. The generated authentication QR code can be any existing ordinary QR code. Simply stick the authentication QR code on the container of the biological sample.

[0060] Step S2: When handling biological samples, the experimenter must upload an operation log and incorporate it into the monitoring data. Step S2 includes the following sub-steps:

[0061] Step S201: When operating on biological samples, the experimenter must first scan the authentication QR code to enter the supervision webpage and authenticate the experimenter's identity.

[0062] Step S202: After authentication is passed, an operation timestamp is generated, the biological sample is operated on and an operation log is written and uploaded to the regulatory webpage. After receiving the operation log, the regulatory webpage incorporates the operation log into the regulatory data based on the operation timestamp.

[0063] In practice Figure 2 This document presents a flowchart illustrating the entire process of monitoring and documenting biological sample storage. Verifying the identity of laboratory technicians utilizes existing authentication technologies, including but not limited to biometric identification, CAPTCHA verification, and account login. The operation timestamp indicates when the technician retrieved the biological sample for processing. The operation log is completed using a pre-built form with fill-in and dropdown options; after uploading the log, only the cells filled in by the technician need to be extracted. When incorporating the operation logs into the monitoring data, the logs are sorted by operation timestamp for each biological sample and stored sequentially. For example, the existing monitoring data might look like this:

[0064] Operation timestamp: 2023-11-27 14:20:33;

[0065] Sample ID: BIO-PA-20231027-1;

[0066] Operation type: Sample transfer;

[0067] Operator: Li Si (ID: LS-02);

[0068] Location: Area B of the biobank;

[0069] From where: Fridge-03 Smart Refrigerator;

[0070] To which it will be transferred: Temporary transport box TransportBox-01;

[0071] Reason for transfer: DNA extraction experiment (Project No.: PROJ-DNA-2023-11);

[0072] A new operation log was generated at the operation timestamp 2023-11-27 15:50:10, and the new regulatory data is saved as follows:

[0073] Operation timestamp: 2023-11-27 14:20:33;

[0074] Sample ID: BIO-PA-20231027-1;

[0075] Operation type: Sample transfer;

[0076] Operator: Li Si (ID: LS-02);

[0077] Location: Area B of the biobank;

[0078] From where: Fridge-03 Smart Refrigerator;

[0079] To which it will be transferred: Temporary transport box TransportBox-01;

[0080] Reason for transfer: DNA extraction experiment (Project No.: PROJ-DNA-2023-11);

[0081] Operation timestamp: 2023-11-27 15:50:10;

[0082] Sample ID: BIO-PA-20231027-1;

[0083] Operation type: Sample usage and status update;

[0084] Operator: Li Si (ID: LS-02);

[0085] Location: Molecular Biology Laboratory 202;

[0086] Condition before use: Frozen;

[0087] Status after use: 50% consumed;

[0088] Remaining sample size (mg): 260;

[0089] Purpose of use: DNA extraction (Experimental record number EXP-888);

[0090] The above describes the format of regulatory data and the specific process of incorporating operation logs into regulatory data.

[0091] Step S3: Generate a unique sample ID for each biological sample, and generate a unique sample key based on the sample ID; Step S3 includes the following sub-steps:

[0092] Step S301: Generate a unique sample ID for each biological sample based on the time when the biological sample was first stored;

[0093] Step S301 includes the following sub-steps:

[0094] Step S3011: Obtain the time of the first storage of the biological sample and name it the sample generation time. If there are biological samples with the same sample generation time, number them and use the symbol P. n This indicates that n is a positive integer and n is the index of P;

[0095] Step S3012: Remove Chinese characters and punctuation marks from the sample generation time, retaining only pure numerical text to obtain the time series;

[0096] Step S3013: Obtain the classification and type of the biological sample, name it as sample classification and sample type, obtain the first letter abbreviation of the English for sample classification and sample type, and name it as classification abbreviation and type abbreviation;

[0097] Step S3014: Generate sample IDs in the format of classification abbreviation-type abbreviation-time series-n;

[0098] In specific implementation, for example, if a biological sample is generated on November 27, 2023, and a total of three biological samples are generated on the same day, then the three biological samples generated on November 27, 2023 need to be numbered and labeled as P1, P2, and P3 respectively, and the time sequence is 20231127. Taking P2 as an example, biological sample P2 is liver cancer tissue, which belongs to human internal organs. Its sample classification is human internal organs, and its sample type is liver cancer tissue. The first letters of the English abbreviations for human internal organs and liver cancer tissue are IO and LCO, respectively, which are classification abbreviations and type abbreviations. Finally, the sample ID of P2 is generated as "IO-LCO-20231127-2", without quotation marks. In this embodiment, the quotation marks are only used to distinguish the beginning and end of the content within the quotation marks.

[0099] Step S302: Generate a unique sample key for the biological sample based on the sample ID;

[0100] Step S302 includes the following sub-steps:

[0101] Step S3021: Convert the sample ID to binary encoding according to ASCII encoding, and name it ID encoding;

[0102] Step S3022: Number the digits in the ID code from left to right, using the symbol L. m This indicates that m is a positive integer and m is the index of L;

[0103] Step S3023, starting with m=1, for L m and L m+1 Perform an XOR operation and label the result as K. i , where i is a positive integer and i is the index of K. i is initially 1. m+2 and i+1 are recalculated until the maximum value of m is reached.

[0104] Step S3024, sort K in ascending order of i. i Combine them into a string of numbers and name it the sample key;

[0105] In specific implementation, taking the regulatory data listed in step S2 as an example, where the sample ID is BIO-PA-20231027-1, the converted ID code is 010000100100101001111001011010101000001000001001011010011001000110000011001000110011001100110001 0011000000110010001101110010110100110001. Due to the large amount of data, it is not conducive to understanding and observing the specific analysis and calculation process in this embodiment. Therefore, this embodiment only extracts the first 16 bits of the ID code as an example to explain and demonstrate the subsequent analysis and calculation process in detail. The extracted ID code is 0100001001001001, and the number is L. m , 1≤m≤16, starting with m=1, for L m and L m+1 Perform an XOR operation, where m=1, i.e., perform an XOR operation on L1 and L2 to get K1 as 1. Then, recalculate m+2 and i+1 until the maximum value of m is reached. This results in K1 to K8 being 1, 0, 1, 1, 0, 1 and 1 respectively, ultimately yielding the sample key 10011011.

[0106] Step S4 involves performing secure encryption protection calculations on the regulatory data based on the sample key, transforming the regulatory data into unreadable secure encrypted ciphertext. Step S4 includes the following sub-steps:

[0107] Step S401: Standardize the format of the sample key and regulatory data by converting them into key encoding and data encoding.

[0108] Step S401 includes the following sub-steps:

[0109] Step S4011: Directly name the sample key as the key code;

[0110] Step S4012: Convert the regulatory data into binary code according to UTF-8 encoding, and name it data code;

[0111] Step S4013: The regulatory data is converted in units of paragraphs, and the regulatory data of one paragraph is converted into one data code;

[0112] In practice, the key code is 10011011. Regulatory data is converted in segments, with each segment yielding one data code. For example, "Operation Type: Sample Transfer" results in the following data code: 11100110100100111000110111100100101111011001110011100111101100011011110111110010110011110111110010111101000101111110111101111001001101011100 The data encoding is 1101010000010110111111001101001110010101100111010001011110110101100111101110100111101110111011. Due to the large amount of data, it is not conducive to understanding and observing the specific analysis and calculation process in this embodiment. Therefore, this embodiment only extracts the first 24 bits of the binary encoding of the data as an example to explain and demonstrate the subsequent analysis and calculation process in detail. The extracted data encoding is 111001101001001110001101.

[0113] Step S402: Perform security encryption protection calculations on the data encoding using key encoding to obtain secure encrypted ciphertext;

[0114] Step S402 includes the following sub-steps:

[0115] Step S4021: Number the numbers in the key encoding and data encoding from left to right, and use the symbol TA respectively. g and TB h This indicates that g and h are both positive integers, with g being the index of TA and h being the index of TB;

[0116] Step S4022: Starting with g=1, obtain TA values ​​that are consecutively 0. g The quantity, labeled RA j Where j is a positive integer and j is the index of RA, j is initially 1, and g is increased by RA. j Then increment j by one to obtain TA that is consecutively 1. g The quantity, labeled RA j If j is odd, then it is necessary to obtain the consecutive TA values ​​that are 0. g The quantity of RA is obtained j If j is even, then it is necessary to obtain TA that is consecutively 1. g The quantity of RA is obtained j The process is repeated cyclically, ultimately resulting in different RAs. j ;

[0117] Step S4023: Starting with h=1, obtain TB values ​​that are consecutively 0. h The quantity, labeled RB t Where t is a positive integer and t is the index of RB, t is initially 1, and h is increased by RB. t Then increment t by one to obtain TB that is consecutively 1. h The quantity, labeled RB t If t is odd, then TB consisting of consecutive zeros needs to be obtained. h The quantity obtained by RB t If t is even, then TB consisting of consecutive 1s needs to be obtained. h The quantity obtained by RB t The process is repeated cyclically, eventually yielding different RBs. t ;

[0118] In practice, the number is obtained as TA. g and TB h 1≤g≤8, 1≤h≤24, due to TB h Analysis yielded RB t The process and the TA g Analysis yielded RA j The process is exactly the same, therefore this embodiment only focuses on TA. g Analysis yielded RA j Taking the process as an example, the key is encoded as 10011011, starting with g=1. At this time, TA1 is 1, not 0, so the consecutive 0s in TA1... g If the quantity is 0, then RA1 is 0. Increase g by RA. j Then increment j by one. Since RA1 is 0, increase g by RA. j If g remains 1, then j is increased by 1, and j = 2. This yields the number of consecutive TA values ​​that are 1. g The quantity is 1, therefore RA2 is 1, so we increase g by RA. j Then add one to j. Since RA2 is 1, after increasing g by 1, g becomes 2. Then add one more to j, at this time j=3. Since j is an odd number, we can count the consecutive TA values ​​that are 0. g Quantity, TA g At this point, TA2 is 0, and TA3, which is consecutively adjacent to TA2, is also 0. That is, TA is consecutively 0. g If the quantity is 2, then RA3 is 2, and so on, until RA1 to RA6 are 0, 1, 2, 2, 1 and 2 respectively. Similarly, RB1 to RB6 are obtained. 14 The numbers are 0, 3, 2, 2, 1, 1, 2, 1, 2, 3, 3, 2, 1 and 1 in sequence.

[0119] Step S4024: Obtain the maximum value of j, mark it as J, and starting from t=1, calculate (RB) t +RA t%J+1 )%9+1, mark the calculation result as F t Add t and iteratively calculate F. t , where RA t%J+1 That is, j = t % J + 1, where % is the modulo operator;

[0120] Step S4025, starting at t=1, calculate F t -F t+1 , will F t Marked as S t The calculation result is labeled as S. t+1 By iterating through t+2, different values ​​of S can be obtained. t ;

[0121] Step S4026, if S t If it is negative, then S t Replace the minus sign with any letter, using the letter and S. t The numerical part forms a two-character string, labeled E. t If S t If it is a positive number, then S t Marked as E t ;

[0122] Step S4027, sort E in ascending order of t. t By combining the results, a secure encrypted ciphertext is finally obtained.

[0123] In the specific implementation, J=6 is obtained, and starting from t=1, (RB1+RA) is calculated. 1%6+1 )%9+1, at this time RB1 is 0, RA 1%6+1 If RA2 is 1, then F1 is calculated to be 2, and so on, to calculate F1 to F2. 14 The sequence is 2, 6, 5, 4, 4, 2, 4, 4, 5, 5, 6, 3, 3, and 4. Then calculate F. t -F t+1 Starting at t=1, F1 is 2, F2 is 6, and S2 is -4. S1 is F1, and so on, until S1 to S2 are obtained. 14 The values ​​are 2, -4, 5, 1, 4, 2, 4, 0, 5, 0, 6, 3, 3, and -1, where S2 and S 14 If it is negative, then S2 and S 14 Replace the minus sign with any letter to get E2 and E 14 The ciphertexts are g4 and T1 respectively, and the final combination yields the secure encrypted ciphertext 2g451424050633T1.

[0124] Step S5 involves storing the secure encrypted ciphertext in the blockchain storage platform. The user scans the authentication QR code to verify their identity. After successful verification, the secure encrypted ciphertext is decrypted, and the decrypted regulatory data is displayed to the user. Step S5 includes the following sub-steps:

[0125] Step S501: Store the securely encrypted ciphertext in the blockchain storage platform;

[0126] Step S502: When a user scans the authentication QR code to enter the regulatory webpage, the user's identity is verified.

[0127] Step S503: After verification, retrieve the security encryption protection ciphertext corresponding to the sample ID associated with the authentication QR code from the blockchain storage platform, decrypt the security encryption protection ciphertext to obtain the regulatory data, and display the regulatory data on the regulatory webpage.

[0128] In practice, the encrypted protected text is stored in the blockchain storage platform. The identity verification process has been explained in step S2. The decryption process is the reverse derivation of the encryption process. This embodiment will not explain it in detail. You only need to scan the authentication QR code and complete the identity verification to understand the entire process of biological sample storage and supervise it. The supervision data is the evidence.

[0129] Example 2, please refer to Figure 3 As shown, Figure 3 A schematic diagram of an electronic device is provided, which may include a processor, a communication interface, a memory, and a communication bus. The processor, communication interface, and memory communicate with each other via the communication bus. The memory stores computer-readable instructions, and the processor can invoke these instructions. When the processor executes a computer-readable instruction, it performs steps as described in a comprehensive monitoring and evidence preservation method for biological sample storage, achieving the following functions: generating a unique authentication QR code for each biological sample; requiring lab technicians to upload operation logs when handling biological samples, incorporating these logs into the monitoring data; generating a unique sample ID for each biological sample and generating a unique sample key based on the sample ID; converting the monitoring data into unreadable, securely encrypted ciphertext; and storing the securely encrypted ciphertext in a blockchain storage platform.

[0130] Furthermore, when the logical instructions in the aforementioned memory can be implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application, in essence, or the part that contributes to the prior art, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0131] Example 3: This application also provides a computer program product, which includes a computer program stored on a computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer can execute a biological sample storage end-to-end monitoring and evidence preservation method provided by the above methods. The method includes: generating a unique authentication QR code for each biological sample; when the experimenter operates on the biological sample, they need to upload an operation log and include the operation log in the monitoring data; generating a unique sample ID for each biological sample and generating a unique sample key based on the sample ID; converting the monitoring data into unreadable secure encrypted ciphertext; and storing the secure encrypted ciphertext in a blockchain storage platform.

[0132] Example 4: This application also provides a computer-readable storage medium. This application provides a storage medium storing a computer program. When the computer program is executed by a processor, it performs the steps of the above-described method for full-process supervision and evidence preservation of biological sample storage to achieve the following functions: generating a unique authentication QR code for each biological sample; requiring the experimenter to upload an operation log when operating on the biological sample, and incorporating the operation log into the supervision data; generating a unique sample ID for each biological sample, and generating a unique sample key based on the sample ID; converting the supervision data into unreadable secure encrypted ciphertext; and storing the secure encrypted ciphertext in a blockchain storage platform.

[0133] Based on the above description of the embodiments, the embodiments of the present invention can be provided as methods, systems, or computer program products. Based on this understanding, the above technical solutions, in essence or in terms of their contribution to the prior art, can be embodied in the form of a software product. This computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, magnetic disk, optical disk, etc., and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute the methods described in the various embodiments or certain parts of the embodiments.

[0134] In the embodiments provided in this application, it should be understood that the disclosed system or method can be implemented in other ways. The embodiments described above are merely illustrative. For example, the division of modules or units is only a logical functional division, and there may be other division methods in actual implementation. Furthermore, multiple modules or units may be combined or integrated into another system, or some features may be ignored or not executed. Additionally, the coupling or direct coupling or communication connection shown or discussed may be through some communication interfaces. The indirect coupling or communication connection between systems, modules, and units may be electrical, mechanical, or other forms.

[0135] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit them. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the spirit and scope of the technical solutions of the embodiments of this application.

Claims

1. A method for full-process supervision and evidence preservation of biological sample storage, characterized in that, Includes the following steps: A unique authentication QR code is generated for each biological sample, and the authentication QR code is linked to the regulatory data of the biological sample. When handling biological samples, lab technicians must upload an operation log, which will then be included in the monitoring data. Generate a unique sample ID for each biological sample, and generate a unique sample key based on the sample ID; Based on the sample key, secure encryption protection calculations are performed on the regulatory data, transforming the regulatory data into unreadable secure encrypted ciphertext. The encrypted data is stored in the blockchain storage platform. Users scan the authentication QR code to verify their identity. After successful verification, the encrypted data is decrypted and the decrypted regulatory data is displayed to the user.

2. The method for full-process supervision and evidence preservation of biological sample storage according to claim 1, characterized in that, Generating a unique authentication QR code for each biological sample and associating the QR code with the regulatory data of the biological sample includes the following sub-steps: A unique QR code is generated for each biological sample and named the authentication QR code. The authentication QR code is linked to the regulatory webpage displaying the regulatory data. Scanning the authentication QR code will redirect you to the regulatory webpage displaying the regulatory data.

3. The method for full-process supervision and evidence preservation of biological sample storage according to claim 2, characterized in that, When handling biological samples, lab technicians must upload an operation log. Incorporating this operation log into the monitoring data includes the following sub-steps: When handling biological samples, lab technicians must first scan the authentication QR code to access the monitoring webpage and authenticate their identity. After authentication, an operation timestamp is generated. The biological sample is then manipulated, and an operation log is written and uploaded to the regulatory webpage. Upon receiving the operation log, the regulatory webpage incorporates the operation log into the regulatory data based on the operation timestamp.

4. The method for full-process supervision and evidence preservation of biological sample storage according to claim 3, characterized in that, Generating a unique sample ID for each biological sample and generating a unique sample key based on the sample ID includes the following sub-steps: A unique sample ID is generated for each biological sample based on the time it was first stored. A unique sample key is generated for each biological sample based on its sample ID.

5. The method for full-process supervision and evidence preservation of biological sample storage according to claim 4, characterized in that, Generating a unique sample ID for each biological sample based on its initial storage time includes the following sub-steps: The time when a biological sample is first stored is named the sample generation time. If biological samples with the same generation time exist, they are numbered and designated by the symbol P. n This indicates that n is a positive integer and n is the index of P; By removing Chinese characters and punctuation marks from the sample generation time and retaining only pure numerical text, a time series is obtained. Obtain the classification and type of biological samples, and name them as sample classification and sample type. Obtain the first letter abbreviations of the sample classification and sample type in English, and name them as classification abbreviation and type abbreviation. Generate sample IDs in the format "Category Abbreviation-Type Abbreviation-Time Series-n".

6. The method for full-process supervision and evidence preservation of biological sample storage according to claim 5, characterized in that, Generating a unique sample key for a biological sample based on the sample ID includes the following sub-steps: Convert the sample ID to binary encoding according to ASCII encoding, and name it ID encoding; The numbers in the ID code are numbered from left to right, using the symbol L. m This indicates that m is a positive integer and m is the index of L; Starting with m=1, for L m and L m+1 Perform an XOR operation and label the result as K. i , where i is a positive integer and i is the index of K. The initial value of i is 1. m+2 and i+1 are recalculated until the maximum value of m is reached. Arrange K in ascending order of i. i Combine them into a string of numbers and name it the sample key.

7. A method for full-process supervision and evidence preservation of biological sample storage according to claim 6, characterized in that, The process of performing secure encryption calculations on regulatory data based on the sample key to transform the regulatory data into unreadable secure encrypted ciphertext includes the following sub-steps: Standardize the format of sample keys and regulatory data by converting them into key encoding and data encoding; By performing secure encryption and protection calculations on the data encoding using key encoding, a secure encrypted ciphertext is obtained.

8. A method for full-process supervision and evidence preservation of biological sample storage according to claim 7, characterized in that, Standardizing the format of sample keys and regulatory data, and converting them into key encoding and data encoding, includes the following sub-steps: The sample key is directly named the key code; The regulatory data is converted into binary code according to UTF-8 encoding and named data encoding. The regulatory data is converted in units of paragraphs, and each paragraph of regulatory data is converted into a data code.

9. A method for full-process supervision and evidence preservation of biological sample storage according to claim 8, characterized in that, The secure encryption protection calculation for data encoding using key encoding, resulting in secure encrypted ciphertext, includes the following sub-steps: The numbers in the key encoding and data encoding are numbered from left to right, and are respectively represented by the symbols TA. g and TB h This indicates that g and h are both positive integers, with g being the index of TA and h being the index of TB; Starting with g=1, obtain TA values ​​that are consecutively 0. g The quantity, labeled RA j Where j is a positive integer and j is the index of RA, j is initially 1, and g is increased by RA. j Then increment j by one to obtain TA that is consecutively 1. g The quantity, labeled RA j If j is odd, then it is necessary to obtain the TA that is consecutively 0. g The quantity of RA is obtained j If j is even, then it is necessary to obtain TA that is consecutively 1. g The quantity of RA is obtained j The process is repeated cyclically, ultimately resulting in different RAs. j ; Starting with h=1, obtain TB values ​​that are consecutively 0. h The quantity, labeled RB t Where t is a positive integer and t is the index of RB, t is initially 1, and h is increased by RB. t Then increment t by one to obtain TB that is consecutively 1. h The quantity, labeled RB t If t is odd, then TB consisting of consecutive zeros needs to be obtained. h The quantity obtained by RB t If t is even, then TB consisting of consecutive 1s needs to be obtained. h The quantity obtained by RB t The process is repeated cyclically, eventually yielding different RBs. t ; Find the maximum value of j, labeled J, and starting at t=1, calculate (RB). t +RA t%J+1 )%9+1, mark the calculation result as F t Add t and iteratively calculate F. t , where RA t%J+1 That is, j = t % J + 1, where % is the modulo operator; Starting at t=1, calculate F t -F t+1 , will F t Marked as S t The calculation result is labeled as S. t+1 By iterating through t+2, different values ​​of S can be obtained. t ; If S t If it is negative, then S t Replace the minus sign with any letter, using the letter and S. t The numerical part forms a two-character string, labeled E. t If S t If it is a positive number, then S t Marked as E t ; Arrange E in ascending order of t. t By combining these components, a secure encrypted ciphertext is obtained.

10. A method for full-process supervision and evidence preservation of biological sample storage according to claim 9, characterized in that, The secure encrypted ciphertext is stored in the blockchain storage platform. Users scan the authentication QR code to verify their identity. After successful verification, the secure encrypted ciphertext is decrypted and the decrypted regulatory data is displayed to the user. This process includes the following sub-steps: Securely encrypt and protect the ciphertext by storing it on a blockchain storage platform; When a user scans the authentication QR code to access the regulatory webpage, the user's identity is verified. After successful verification, the security encryption protection ciphertext corresponding to the sample ID associated with the authentication QR code is retrieved from the blockchain storage platform, and the security encryption protection ciphertext is decrypted to obtain the regulatory data, which is then displayed on the regulatory webpage.

Citation Information

Patent Citations

  • Biological sample information data management method and system

    CN120581078A