Method and system for improving timeliness rate of sample inspection

Through identity verification and spatial permission verification, combined with scanning code time recording, the accuracy and security of the specimen processing process are ensured, and the problem of insufficient tracking of specimen position in the existing technology is solved, and the efficiency and accuracy of the inspection are improved.

CN120432100AActive Publication Date: 2025-08-05THE FIRST MEDICAL CENT CHINESE PLA GENERAL HOSPITAL

Patent Information

Application Number
CN202510485952.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-17
Publication Date
2025-08-05
Estimated Expiration
2045-04-17

AI Technical Summary

Technical Problem

The prior art cannot accurately track the location and status of the specimen under high load and complex conditions, resulting in delays or misplacements and loss of inspection, affecting processing efficiency and accuracy, and lack of an effective geographical location verification mechanism to increase the probability of medical errors.

Method used

By obtaining the identity number of the specimen collector and the real-time task node number, combining the scanning time for matching verification, spatial permissions and beacon technology are introduced to ensure the geographical location accuracy of the specimen handover, dynamically update and handle abnormal states, and precise control of the operation process is achieved.

Benefits of technology

It improves the timeliness and accuracy of specimens for inspection, enhances safety and traceability, and improves the monitoring and response speed of the process.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120432100A_ABST
    Figure CN120432100A_ABST
Patent Text Reader

Abstract

The invention provides a method and system for improving the timeliness rate of sample inspection, and relates to the technical field of sample processing. The method comprises the steps of collecting an identity number and a real-time task node number, recording a log after comparison succeeds, recording deviation and generating a compliance identifier if comparison fails, checking a space permission according to the identifier and updating a handover permission, if a specimen is in a warehouse-out state and the permission is effective, updating the specimen to be in transportation and generating a signature chain entry, and sending the signature chain entry to a server; and if the path is abnormal, locking the transportation state and re-planning the path, and generating a handover trigger instruction. According to the invention, through real-time matching of the identity of the collector and the task node and combination of code scanning time recording, accurate control of the operation process is realized, human errors in the specimen processing process are avoided, the concept of spatial authority and the beacon technology are introduced to ensure the accuracy of the geographic position of specimen handover, and the security and traceability are enhanced. The response speed and the processing flexibility are also improved, and the timeliness and the accuracy of specimen inspection are remarkably improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of sample processing, and in particular to a method and system for improving the timeliness of sample delivery for inspection. Background Art

[0002] The field of sample processing technology encompasses the automation and intelligent management of medical testing processes, dedicated to optimizing the collection, transportation, and testing of medical specimens to improve efficiency and accuracy. Core elements include real-time logistics tracking, multi-role collaborative verification, and intelligent error prevention mechanisms. By integrating information technology and logistics management, this field addresses the timeliness and error rates inherent in traditional medical specimen processing, enabling healthcare providers to more effectively manage and monitor the entire specimen collection and testing process.

[0003] The method for improving the timeliness of specimen delivery refers to ensuring that medical specimens are delivered to the testing department on time and processed promptly through specific technical means. The patent covers every key step from specimen collection to transportation and receipt, and is achieved by establishing a multi-role scanning verification and real-time logistics information update mechanism. The method described in the patent includes the collaborative work of a three-level user system of nurses, delivery personnel, and testing departments, and the use of scanning technology to achieve real-time status updates and confirmations at each link, ensuring the accuracy and timeliness of each operation.

[0004] While existing technologies integrate information technology with logistics management, they lack real-time monitoring and handling of abnormal conditions. Under high load and complex circumstances, existing systems are unable to accurately track the specific location and status of specimens, leading to delayed delivery or the risk of specimen misplacement or loss. When personnel are busy or the system is heavily loaded, existing technologies fail to promptly update specimen status or handle abnormalities, impacting overall processing efficiency and specimen accuracy. The lack of an effective geolocation verification mechanism leads to safety issues during specimen transfer, increasing the probability of medical errors. These deficiencies limit medical institutions' ability to handle specimens, resulting in inaccurate test results and impacting the timeliness and accuracy of patient recovery. Summary of the Invention

[0005] In order to solve the deficiencies in the existing technology in real-time monitoring and handling of abnormal states, under high load and complex situations, the existing system cannot accurately track the specific location and status of the specimen, resulting in delayed inspection or the risk of specimen misplacement or loss. When personnel are busy or the system is heavily loaded, the existing technology fails to update the specimen status or handle abnormalities in a timely manner, affecting the overall processing efficiency and accuracy of the specimen. The lack of an effective geographic location verification mechanism leads to safety issues for specimens during transfer, increases the probability of medical errors, and limits the ability of medical institutions in specimen processing, resulting in inaccurate test results, and affects the timeliness and accuracy of patient recovery. The present invention provides a method and system for improving the timeliness of specimen inspection. The technical solution is as follows:

[0006] In one aspect, a method for improving the timeliness of specimen delivery is provided, the method comprising:

[0007] S1: Obtain the specimen collector's identity number, real-time task node number, and scanning time, and match the identity number with the list of responsible persons for the real-time node in the preset task path. If the match is successful, the task path log is written. If the match fails, the scanning is terminated and the node number and deviation time are recorded to generate a node timing compliance identifier.

[0008] S2: Based on the node timing compliance identifier, the grid number of the real-time specimen handover location is compared with the spatial label set of the nodes in the task path, and the handover operation permission is activated or the code scanning is prohibited, thereby generating a spatial permission verification result;

[0009] S3: Call the space permission verification result, read the specimen transport container status field, if the real-time status is shipped and the verification result is activated, update the status to in transit, and generate a transport status update instruction;

[0010] S4: According to the transport status update instruction, the node number, identity number and operation time point in the real-time signature frame are extracted, and a serial check is performed with the node number continuity, identity responsibility list and timing window of the previous frame. If it is continuous and meets the preset path sequence, a signature frame is generated and the sample is sent for inspection. Otherwise, the process is interrupted and the abnormal frame number is marked to generate a path continuity judgment result.

[0011] Optionally, the node timing compliance identifier includes node deviation time, node number, and identity matching result; the spatial authority verification result includes grid authority status, spatial positioning consistency, and handover authority status; the transportation status update instruction includes an abnormal mark during transportation, a signature chain update time point, and next node warning information; the path continuity judgment result includes the timeliness of the signature frame, the abnormal frame number, and the path node continuity.

[0012] Optionally, the step of obtaining the node timing compliance identifier is specifically as follows:

[0013] S101: Obtain the specimen collector's identity number, real-time task path node number, and scan time. Match the identity number with the responsible person number corresponding to the real-time node in the task path, and perform an attribution judgment operation on the scan time and the preset handover time interval of the real-time node. If both judgments meet the conditions, merge the identity number, node number, and scan time to generate an identity node association data set.

[0014] S102: Based on the identity node association data set, extract the start and end values of the scanning time and the time interval set by the node in the task path, calculate the position interval between the scanning time and the start and end values, and determine whether the relative position interval is within the time segment set in the task path. If so, mark it as a timing compliance state and generate a scanning time matching state;

[0015] S103: According to the scanning time matching status, filter the record items marked as non-compliant, extract the corresponding node number and offset time length, and if the status is compliant, generate a joint field value for the identity number, node number and scanning time to generate a node timing compliance identifier.

[0016] Optionally, the steps for obtaining the space permission verification result are specifically as follows:

[0017] S201: extracting the grid number and beacon positioning data of the real-time specimen handover location based on the node timing compliance identifier, and performing set intersection comparison between the grid number and the spatial label set of the corresponding node in the task path to obtain the handover node spatial matching information;

[0018] S202: Based on the spatial matching information of the handover node, the identity number and the permission role number bound to the spatial tag set are obtained, and the identity number is compared item by item to see if it exists in the permission number list of any tag. If the judgment is true, the code scanning permission is granted; if not, the code scanning operation is frozen and the identity and space combination is recorded to generate a spatial permission verification result;

[0019] The formula for comparing the identity number item by item to see if it exists in the authority number list of any tag is as follows:

[0020]

[0021] Among them, CA represents the authority matching value of the identity and space combination, P i Represents the permission number of the i-th label, R i Represents the identity number in the i-th tag, A i Represents the weight factor corresponding to the i-th label, B iRepresents the size of the space corresponding to the i-th label, and n represents the total number of labels.

[0022] Optionally, the steps for obtaining the transport status update instruction are specifically as follows:

[0023] S301: calling the space authority check result, reading the status field value of the real-time specimen transport container, judging whether the field value is in the outbound state, and verifying whether the authority check result is in the activated state. If both judgment results are yes, entering the status update process, and obtaining the outbound state determination identifier;

[0024] S302: Based on the outbound status determination identifier, the real-time identity number, handover grid number, and code scanning operation time are extracted, the three pieces of information are merged in the set field order, and written into the node bit of the specimen signature chain field. The specimen transport container status field value is updated, the real-time status is set to "in transit", and a transport status signature record is obtained;

[0025] S303: According to the transport status signature record, the start and end information of the time window of the next node in the task path is obtained, and the status field is continuously monitored to see whether it completes the update operation from in transit to to be received within the time period. If no status change is detected before the end of the time period, the status field is marked as abnormal in transit and a transport status update instruction is generated.

[0026] Optionally, the step of obtaining the path continuity determination result is specifically:

[0027] S401: Extract the node number, identity number, and operation time from the real-time signature frame according to the transport status update instruction, and call the data content of the previous frame from the signature chain field. Compare the sorting sequence value between the real-time node number and the node number of the previous frame to determine whether the two have a continuous relationship set in the path table. If they are continuous, mark the real-time frame as the path connection state, and obtain the node sequence connection state;

[0028] S402: Based on the node sequence connection status, read the real-time identity number and the node responsible person number set in the task path, perform matching judgment, and make attribution judgment on the operation time point and the node preset timing window. If both judgment results are true, verify the path consistency of the real-time signature frame. Otherwise, terminate the sample inspection process and record the abnormal frame number to generate a path continuity judgment result.

[0029] Optionally, the operation time point and the node preset timing window are subjected to attribution judgment using the formula:

[0030]

[0031] Among them, H represents the timing window attribution deviation value, TA represents the timestamp value corresponding to the real-time operation time point, TB represents the start timestamp value of the node preset timing window, TC represents the end timestamp value of the node preset timing window, w represents the timing window weight coefficient, N represents the total number of nodes in the real-time task path, α represents the path correction factor, C k Represents the k-th level timing fault tolerance threshold.

[0032] Optionally, the method further comprises step S5:

[0033] S5: Based on the path continuity determination result, if there is an abnormal frame or the status is not updated after a timeout, the specimen transport container status is immediately locked as path blocked, the path node sequence is replanned, and the transport container status is updated to correcting transport. A priority handover notification is simultaneously sent, and a specimen handover triggering instruction is generated;

[0034] The specimen handover triggering instruction includes a path correction sequence, a transport container locking status, and a priority handover notification.

[0035] Optionally, the steps for obtaining the specimen intersection triggering instruction are specifically as follows:

[0036] S501: Based on the path continuity determination result, filter out entries marked as abnormal frames and entries with unupdated status fields, extract the corresponding specimen transport container numbers, perform a locking operation, and update the specimen transport container to path blocked, thereby obtaining a transport container blocked record;

[0037] S502: Based on the transport container blocking record, extract the remaining node numbers in the original task path, and rearrange the path sequence based on the real-time node positions to regenerate the path node sequence and write it into the task path field. At the same time, update the transport container status field to "correction transport in progress" and generate a path reconstruction status indicator.

[0038] S503: According to the path reconstruction status identifier, locate the adjacent handover node numbers in the real-time transportation path, match the corresponding responsible person identity numbers, construct the handover reminder field and send notification information, and generate the specimen handover contact instruction.

[0039] On the other hand, the system for improving the timeliness of specimen delivery is used to perform the above method for improving the timeliness of specimen delivery, and the system includes:

[0040] The identity verification module obtains the specimen collector's identity number, the current task node number, and the scanning time, compares the identity number with the responsible person number, and performs boundary judgment on the scanning time and the start and end values of the time window to generate a node timing compliance mark;

[0041] The permission verification module calls the node timing compliance identifier, obtains the grid number and beacon location of the specimen handover site, identifies the relationship between the grid number and the node spatial label set, determines whether the identity number exists in the permission list, and generates a spatial permission verification result;

[0042] The transport identification module reads the status field of the specimen transport container based on the space authority verification result and determines whether it is in the shipped state. If so, it writes the transport status and records the identity number, grid number and real-time operation time, and generates a transport status update instruction;

[0043] The node signature module extracts the node number, identity number and operation time of the real-time signature frame based on the transport status update instruction, calculates the difference between the node number and the previous signature frame, compares the identity number with the responsibility list, and generates a path continuity determination result;

[0044] The path correction module calls the path continuity judgment result. If there is an abnormal frame mark or time limit record, the transport container status is locked as path blocked, the unfinished node number is selected to reassemble the task path sequence and distribute the handover reminder, and the specimen handover trigger instruction is generated.

[0045] The beneficial effects brought about by the technical solution provided by the embodiment of the present invention include at least:

[0046] Through refined identity verification and time and location monitoring, compliance and accuracy are ensured at every step. Real-time matching of collector identities with task nodes, combined with scan time records, allows precise control of operational processes and avoids human error during specimen processing. The concept of spatial permissions and beacon technology are introduced to ensure the geographic accuracy of specimen handover, enhancing security and traceability. This step-by-step verification logic not only strengthens process monitoring but also improves response speed and processing flexibility. Through dynamic updates and immediate processing of abnormal conditions, the timeliness and accuracy of specimen submission are significantly improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] Figure 1 It is a schematic diagram of the workflow of the present invention;

[0048] Figure 2 It is a system flow chart of the present invention. DETAILED DESCRIPTION

[0049] The technical solution of the present invention is described below in conjunction with the accompanying drawings.

[0050] In the embodiments of the present invention, words such as "exemplarily" and "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as an "exemplary" in the present invention should not be interpreted as being preferred or advantageous over other embodiments or designs. Rather, the use of the word "exemplary" is intended to present concepts in a concrete manner. Furthermore, in the embodiments of the present invention, "and / or" can mean both or either of the two.

[0051] In order to make the technical problems, technical solutions and advantages to be solved by the present invention clearer, a detailed description will be given below with reference to the accompanying drawings and specific embodiments.

[0052] See also Figure 1 The embodiment of the present invention provides a method for improving the timeliness of specimen delivery, the method comprising the following steps:

[0053] S1: Obtain the specimen collector's identity number, real-time task node number, and scanning time, and match the identity number with the list of responsible persons for the real-time node in the preset task path. If the match is successful and the time is compliant, the identity number, node number, and scanning time are bound and written into the task path log. Otherwise, the scanning is terminated and the node number and deviation time are recorded to generate a node timing compliance identifier.

[0054] S2: Based on the node timing compliance identification, the grid number and beacon positioning data of the real-time specimen handover site are extracted, and the grid number is compared with the spatial label set of the nodes in the task path. If there is an intersection and the identity number matches the spatial label permission, the handover operation permission is activated. Otherwise, the code scanning is prohibited and the spatial permission verification result is generated;

[0055] S3: Call the space permission verification result and read the specimen transport container status field. If the real-time status is shipped and the verification result is activated, update the status to in transit and combine the identity number, grid number, and operation time to generate a signature chain entry. If the next node does not complete the status update within the set time window, mark the status as in transit exception and generate a transport status update instruction.

[0056] S4: According to the transport status update instruction, the node number, identity number and operation time point in the real-time signature frame are extracted and serially verified with the node number continuity, identity responsibility list and time sequence window of the previous frame. If it is continuous and meets the preset path sequence, the signature frame is generated and the sample is sent for inspection. Otherwise, the process is interrupted and the abnormal frame number is marked to generate the path continuity judgment result;

[0057] S5: Based on the path continuity determination result, if there are abnormal frames or the status is not updated after a timeout, the specimen transport container status is immediately locked as path blocked, the path node sequence is replanned, and the transport container status is updated to correcting transport. A priority handover notification is simultaneously sent, and a specimen handover trigger instruction is generated;

[0058] Node timing compliance identification includes node deviation time, node number, and identity matching result; spatial authority verification result includes grid authority status, spatial positioning consistency, and handover authority status; transportation status update instruction includes abnormal mark during transportation, signature chain update time point, and next node warning information; path continuity judgment result includes the timeliness of signature frame, abnormal frame number, and path node continuity; specimen handover triggering instruction includes path correction sequence, transport container locking status, and priority handover notification.

[0059] The specific steps for obtaining the node timing compliance identifier are as follows:

[0060] S101: Obtain the specimen collector's identity number, real-time task path node number, and scan time. Match the identity number with the responsible person number corresponding to the real-time node in the task path, and perform an attribution judgment operation on the scan time and the preset handover time interval of the real-time node. If both judgments meet the conditions, merge the identity number, node number, and scan time to generate an identity node association data set.

[0061] When obtaining the specimen collector's identity number, real-time task path node number, and scanning time, the collection device needs to call the unique identity number bound to the current operator. This number is bound to his or her operator ID and stored in the personnel authority database. The specimen information is read according to the scanning event, and the operation time point is recorded and the scanning time data is generated. The task path node number is determined by matching the current time interval with the node allocation time period in the path setting. If the current scanning event occurs in the time period from 08:00 to 08:10 in the task path setting, the current node number is identified as N003 and used as the real-time node number. , extract the identity number value under the current node from the list of responsible persons of the task node, and perform a one-to-one comparison with the extracted collector identity number. If the identity number is successfully retrieved in the list of responsible persons, it is determined that the collector identity number matches the node configuration successfully. At the same time, the current scanning time is recorded and bound to the currently identified node number. The three pieces of information, identity number, node number and scanning time, are combined to form a structured data entry. This entry is recorded in the task path log field, providing identity traceability and time index basis for subsequent node authority verification and handover processes, and generating an identity node association data set.

[0062] S102: Based on the identity node association data set, extract the scan time and the start and end values of the time interval set by the node in the task path, calculate the position interval of the scan time and the start and end values, and determine whether the relative position interval is within the time segment set in the task path. If so, mark it as a timing compliance state and generate a scan time matching state;

[0063] The time configuration field matching the current task node number is read, and the corresponding start and end times are extracted as the time interval. The scan time is then compared with this interval. During the judgment process, the positional relationship between the scan time and the start and end time periods is compared to determine whether the scan time falls within the time period. If the time value is earlier than the start time or later than the end time, it is considered to be outside the task path interval. Otherwise, it is marked as being in the compliant section. During this judgment process, the task path configuration table is the only data source. The time period configuration for each node is generated by the scheduling unit during the initial task issuance phase and can be adjusted as needed, but must be updated synchronously. The judgment process does not rely on external variables or real-time data, but is entirely triggered by real-time scan events generated during task execution. Once the scan time attribution judgment is established, it is recorded as "compliant" and serves as input for downstream control logic. The scan time marked as compliant is retained for permission release and node signature actions to generate the scan time matching status.

[0064] S103: Based on the scan time matching status, filter out the records marked as non-compliant, extract the corresponding node number and offset time length, and if the status is compliant, generate a joint field value for the identity number, node number, and scan time to generate a node timing compliance identifier;

[0065] The scanned code records in the task log are screened and processed. For those records marked as non-compliant, their node number and scan time fields are used as analysis objects. Combined with the handover time period set for the node in the task path configuration, the offset duration of the scan time exceeding the set interval is calculated. The offset calculation process does not rely on real-time samples, but is only based on the set time in the task structure and the current scan time field content. The extracted offset data together with the node number are written into the deviation record table for isolation marking. This table is maintained separately and does not participate in subsequent signature judgment. It is only used for exception tracking. If the matching status is judged to be compliant, the system calls the identity number, node number and scan time information in the record, combines them into a standard field format structure, and writes them into the task path log as a timing compliance entry. In subsequent steps, this entry will participate in the handover node space permission verification and status update process. It is one of the prerequisites for the signature chain construction logic and generates a node timing compliance identifier.

[0066] The specific steps for obtaining the space permission verification results are as follows:

[0067] S201: Based on the node timing compliance identifier, the grid number and beacon positioning data of the real-time specimen handover site are extracted, and the spatial matching information of the handover node is obtained by performing set intersection comparison between the grid number and the spatial label set of the corresponding node in the task path;

[0068] The spatial positioning information corresponding to the current specimen handover site must be extracted, including the signal identification data emitted by the beacon device fixedly installed in the site and the grid number associated with the collection device's location. The grid number is uniquely mapped to the grid number mapping table in the spatial structure diagram through the positioning device. The beacon positioning data is broadcast in real time by the low-power Bluetooth beacon device deployed on site. The collection device receives its signal strength value and determines the current beacon area number based on it. The system packages the real-time grid number and beacon number to form the current location spatial label. Then, by querying the spatial label set set for the node in the task path configuration, the system performs a set intersection comparison operation. The system performs an intersection filter on the current location label and the node spatial label set. If there is at least one match in the filter result, the current location label is considered to match the task path node location and the current spatial label is recorded as an available label. This label will continue to be used in subsequent permission judgments. If the intersection result is empty, the current location is marked as an unauthorized location and the handover action is terminated. This comparison process is automatically completed based on the node configuration table and the site positioning configuration items, and the spatial matching information of the handover node is obtained.

[0069] S202: Based on the spatial matching information of the handover node, the identity number and the permission role number bound to the spatial tag set are obtained. The identity number is compared item by item to see if it exists in the permission number list of any tag. If the judgment is true, the scanning permission is granted. If not, the scanning operation is frozen and the identity and space combination is recorded to generate a spatial permission verification result.

[0070] The formula for comparing the identity number item by item to see if it exists in the authorization number list of any tag is as follows:

[0071]

[0072] Among them, CA represents the authority matching value of the identity and space combination, P i Represents the permission number of the i-th label, R i Represents the identity number in the i-th tag, A i Represents the weight factor corresponding to the i-th label, B i represents the size of the corresponding space in the i-th label, and n represents the total number of labels;

[0073] Parameter meaning and formula calculation derivation process:

[0074] Pi Represents the permission number in the i-th tag permission number list. The specific value comes from the permission number stored in the permission tag database. Set the first tag permission number list to contain 110, and the second tag permission number list to contain 120. P1 = 110, P2 = 120;

[0075] R i Represents the identity number in the i-th tag. The identity number is obtained by scanning and reading the identity information provided by the user. The identity number in the first tag is set to 115, and the identity number in the second tag is set to 125. Therefore, R1 = 115 and R2 = 125.

[0076] A i Represents the weight factor corresponding to the identity number, which measures the importance of the identity. The weight value is set based on the priority of the identity in the permission list or the specific importance index related to the permission. The weight value can be calculated based on factors such as the frequency of use of identity information in monitoring and the effectiveness of permissions. For identity number 115, its weight factor is set to 1.2; for identity number 125, its weight factor is set to 1.5, so A1 = 1.2, A2 = 1.5;

[0077] B i Represents the size of the space corresponding to the tag, in square meters, reflecting the physical properties of the space tag. The space size value is measured by the real-time monitoring sensor. The space size corresponding to the first tag is set to 50 square meters, and the space size corresponding to the second tag is set to 60 square meters, so B1 = 50 and B2 = 60;

[0078] n represents the total number of tags, which is obtained by the number of available tags. In this example, there are two tags, so n = 2;

[0079] The calculation process is as follows:

[0080] Calculate the absolute value of the difference between the permission numbers of tag 1 and tag 2, and multiply it by the ratio of the corresponding weight factor to the space size;

[0081] For the first label:

[0082] |P1-R1|=|110-115|=5;

[0083]

[0084] 5×0.024=0.12;

[0085] For the second label:

[0086] |P2-R2|=|120-125|=5;

[0087]

[0088] 5×0.025=0.125;

[0089] Step 2:

[0090] Sum the values calculated for each label above:

[0091] CA = 0.12 + 0.125 = 0.245;

[0092] The result shows that the permission matching value of the identity and space combination is 0.245, indicating that the permission matching degree is low and the matching degree between the identity number and the permission label is poor. Through further analysis, the labels with low matching degrees can be adjusted or optimized to improve the accuracy of permission matching.

[0093] The specific steps for obtaining the transport status update instruction are as follows:

[0094] S301: Call the space authority verification result, read the status field value of the real-time specimen transport container, determine whether the field value is in the outbound state, and verify whether the authority verification result is in the activated state. If both judgment results are yes, enter the status update process and obtain the outbound state determination identifier;

[0095] When calling the status field identification item and permission activation flag in the spatial permission verification result, the status field value corresponding to the current container needs to be extracted from the transport container status record. This field value represents the real-time status of the specimen's current transport link. The field value is generated synchronously with the scan record and path update bound to the container body. The system compares the field value with the default status definition of the outbound node in the task path. If the current status is outbound, the system believes that the transport chain has transferred from the collection node to the handover node preparation state. At the same time, the system reads the corresponding permission verification flag to determine whether the flag is in the "activated" state. If the permission status is displayed as activated, it means that the current identity number has passed the spatial permission judgment and time compliance comparison, and meets the handover operation preconditions. After completing the above two judgments, the system immediately calls the status change logic module and starts the status update preparation process. This process is triggered by the dual verification of permission and status in data logic. It does not accept execution when a single verification is successful, and generates an outbound status judgment identifier.

[0096] S302: Based on the outbound status determination identifier, the real-time identity number, handover grid number, and code scanning operation time are extracted. The three pieces of information are merged in the set field order and written into the node bit of the specimen signature chain field. The specimen transport container status field value is updated, and the real-time status is set to "in transit" to obtain the transport status signature record.

[0097] The three key information collected by the current node are extracted, including the identity number of the handover operation, the grid number to which the handover point belongs, and the time point when the code scanning operation occurred. The three pieces of information come from the identity binding record of the code scanning device, the grid positioning signal receiver, and the code scanning event record log respectively. The system integrates the three contents into a standard structured field combination according to the set field order. The combined data will be appended to the chain field node bit of the specimen as a signature chain entry. The specimen signature chain field is arranged in the order of the task path nodes. A signature entry is generated for each node to record the complete path of the handover operation. After the signature is written, the system executes the status field update and changes the status value recorded in the current transport container from "out of warehouse" to "in transit". This change also generates a corresponding record entry in the task path log to maintain data consistency and process status synchronization. After the status is successfully written and the signature chain node bit is synchronously updated, the transport status signature record is obtained.

[0098] S303: Based on the transport status signature record, the start and end information of the time window of the next node in the task path is obtained, and the status field is continuously monitored to see whether it has completed the update operation from "in transit" to "to be received" within the time period. If no status change is detected before the end of the time period, the status field is marked as abnormally in transit and a transport status update instruction is generated;

[0099] Locate the next node number of the current transport task and extract the two field values of the time window start time and end time in the task path configuration. The time window indicates that after the current container completes the status change in transportation, it enters the limited processing period of the next link. The system needs to perform periodic monitoring operations on the transport container status field. The monitoring frequency is set by the scheduling management. The current status value of the transport container is read in each polling cycle to determine whether it has changed from "in transportation" to "pending" within the set time window. If the status field is not detected to have completed the change within the monitoring cycle and the current time has exceeded the end time of the time window, the system will mark the transport container status field as "abnormal transportation" and stop the current node signature chain write operation at the same time. After the abnormal mark is generated, the path control instruction and the transport task abnormal notification are synchronously created to generate a transport status update instruction.

[0100] The specific steps for obtaining the path continuity determination result are as follows:

[0101] S401: Based on the transport status update instruction, the node number, identity number, and operation time are extracted from the real-time signature frame. The data content of the previous frame is retrieved from the signature chain field. The sorting sequence value between the real-time node number and the node number of the previous frame is compared to determine whether the two have a continuous relationship as set in the path table. If they are continuous, the real-time frame is marked as the path connection state, and the node sequence connection state is obtained;

[0102] The core structural data items of the real-time signature frame must be extracted from the current task path, including the current node number, operator identification number, and the time of the code scanning operation. This information is automatically written into the signature chain field by the most recent code scanning action. The system calls the content of the previous frame in the signature chain and extracts its node number as a comparison basis. The sorting sequence between the node numbers is then retrieved from the task path structure table. By comparing the positional relationship of the node numbers of the current frame and the previous frame, it is determined whether the two are configured adjacently in the preset order of the task path. If the two nodes are sequentially connected in the sorting table, the system marks the current signature frame as being in the path connection state and treats it as a legitimate handover link with a continuous sequence. If the current node number appears after the previous frame but the sorting interval is greater than one, this is identified as a path jump or missed signature behavior and is not included in the path connection chain. The system terminates the node signature advancement and records the exception. All comparison processes are supported by the node number sequence rule in the task path structure configuration. This rule is set before the path is issued and remains locked during process execution, resulting in the node sequence connection state.

[0103] S402: Based on the node sequence connection status, the real-time identity number and the node responsible person number set in the task path are read, and a matching judgment is performed. The operation time point and the node preset timing window are also judged. If both judgment results are true, the path consistency of the real-time signature frame is verified. Otherwise, the specimen submission process is terminated and the abnormal frame number is recorded to generate a path continuity judgment result;

[0104] The operation time point and the node preset timing window are judged by the formula:

[0105]

[0106] Among them, H represents the timing window attribution deviation value, TA represents the timestamp value corresponding to the real-time operation time point, TB represents the start timestamp value of the node preset timing window, TC represents the end timestamp value of the node preset timing window, w represents the timing window weight coefficient, N represents the total number of nodes in the real-time task path, α represents the path correction factor, C k Represents the k-th level timing fault tolerance threshold;

[0107] Parameter meaning and formula calculation derivation process:

[0108] TA (real-time operation time stamp): obtains the current operation time through the clock and converts it into a timestamp value. For example, 2025-04-11 14:30:00 corresponds to the timestamp 1712831400;

[0109] TB (timing window start timestamp): reads the preset start time from the task path node configuration. For example, the node preset start time is 2025-04-11 14:20:00, corresponding to the timestamp 1712830800;

[0110] TC (Time Series Window End Timestamp): Reads the preset end time from the task path node configuration. For example, the node preset end time is 2025-04-11 14:40:00, which corresponds to the timestamp 1712832000.

[0111] w (time window weight coefficient): calculated based on the product of the node level (numerically: high level = 3, medium level = 2, low level = 1) and the task priority (numerically: urgent = 1.2, high = 0.9, normal = 0.6). For example: medium level (2) × high priority (0.9) = 1.8;

[0112] N (total number of nodes in the task path): counts the total number of nodes in the task path configuration. For example, if the current task path contains 10 nodes, N = 10.

[0113] α (path correction factor): calculated by the ratio of jump frequency (number of jumps between nodes / total number of nodes) to the number of responsible persons. For example: jump frequency = 5 times / 10 nodes = 0.5, number of responsible persons = 3 people,

[0114] α=0.5 / 3≈0.1667;

[0115] C k (Time tolerance threshold): The value is called from the preset policy according to the tolerance level. For example, basic level (k=1) = 5, extended level (k=2) = 10, emergency level (k=3) = 15. The tolerance threshold unit is minutes.

[0116] Calculate the center point of the time window:

[0117]

[0118] Calculate the absolute value of the time deviation:

[0119] |TA-1712831400|=|1712831400-1712831400|=0;

[0120] Calculate the numerator: 0 × 1.8 = 0;

[0121] Calculate the denominator:

[0122]

[0123] Calculate the first score:

[0124] Calculate the fault tolerance threshold score and:

[0125]

[0126] Substitute into the formula for calculation:

[0127] H = 0 + 15 = 15;

[0128] The results show that the time series window attribution deviation value is 15 minutes. According to the preset rules, when H≤C k When H=15, it is determined that the attribution is established. In this example, H=15 is equal to the emergency fault tolerance threshold (k=3), triggering the emergency fault tolerance mechanism, allowing the operation to continue but marking it as a low-confidence event; if H>15, the attribution is determined to have failed and the process is terminated.

[0129] The specific steps for obtaining the specimen handover contact instruction are as follows:

[0130] S501: Based on the path continuity determination result, filter out entries marked as abnormal frames and entries with unupdated status fields, extract the corresponding specimen transport container numbers, perform a locking operation, and update the specimen transport container to path blocked, thereby obtaining a transport container blocked record;

[0131] Based on the results of path continuity judgment, the system filters out the record items marked as abnormal frames, and retrieves the sample transport container status field values recorded therein to identify the entries that have not yet completed the update from the in-transit to the waiting-to-receive status. The system merges these two types of information to form an abnormal handover record set, and then extracts the corresponding sample transport container number from the set. The sample transport container number serves as the unique identification identifier for each sample task link. After matching, the system immediately performs the container locking operation, freezing all its current handover and signature operation permissions to prevent the path from further advancement. The system updates the value of the transport container status field to "path blocked" and simultaneously writes it to the task status monitoring field for full-process monitoring display. This status will be called by the subsequent node identification module to determine whether the current task needs to trigger the correction logic. After the operation is completed, the system registers the container number, locking time and blocking reason classification identifier in the container task status record to obtain the transport container blocking record.

[0132] S502: Based on the transport container blocking record, extract the remaining node numbers in the original task path, and rearrange the path order based on the real-time node positions. Regenerate the path node sequence and write it into the task path field. At the same time, update the transport container status field to "correction transport in progress" and generate a path reconstruction status indicator.

[0133] Based on the container number contained in the transport container blocking record, the system extracts the node number set of the unfinished handover action under the original task path of the container from the path structure configuration, and combines the actual node position information of the current container to determine the stagnation point of the current task execution. The system performs a path reconstruction operation based on the original path node sequence and the current position node number, eliminates the completed nodes, and rearranges the remaining nodes from the current position to the target end point. The generated new path node sequence is written into the task path field, overwriting the path structure before the original task was interrupted. The system synchronously updates the transport container status field to "correction transportation" to indicate that the container is currently in the path reorganization state and the re-promotion process. This status will be used as a judgment basis in the path signature control module to avoid re-triggering the abnormal verification process. After all fields are updated, a path reconstruction status identifier is generated.

[0134] S503: Based on the path reconstruction status identifier, locate the adjacent handover node numbers in the real-time transportation path, match the corresponding responsible person identification numbers, construct a handover reminder field, send notification information, and generate a specimen handover contact instruction;

[0135] According to the updated content of the node structure in the path reconstruction status identifier, the system locates the next handover node number after rearrangement in the current task path as the handover target for subsequent advancement. At the same time, it retrieves the list of responsible person numbers configured for the node, extracts the identity numbers that are activated or in standby status in the matching items, and generates a handover task reminder field for the identity number. The reminder field content includes the container number, current task number, path position, node number and handover time limit information. The information is packaged into a push message format and sent synchronously to the receiving terminal corresponding to the identity number. The terminal is a mobile operating device or PC interaction registered for task scheduling. After the message push is completed, the system records the sending time, the recipient's identity number and the reminder response status to support subsequent response statistics and task closed-loop control, and generate specimen handover contact instructions.

[0136] See also Figure 2 A system for improving the timeliness of specimen delivery, comprising:

[0137] The identity verification module obtains the specimen collector's identity number, the current task node number, and the scanning time, compares the identity number with the responsible person number, and performs boundary judgment on the scanning time and the start and end values of the time window to generate a node timing compliance mark;

[0138] The permission verification module calls the node timing compliance identifier, obtains the grid number and beacon location of the specimen handover site, identifies the relationship between the grid number and the node spatial label set, determines whether the identity number exists in the permission list, and generates a spatial permission verification result;

[0139] The transport identification module reads the status field of the specimen transport container based on the space permission verification result and determines whether it is in the shipped state. If so, it writes the transport status and records the identity number, grid number and real-time operation time, and generates a transport status update instruction;

[0140] The node signature module extracts the node number, identity number, and operation time of the real-time signature frame based on the transport status update instruction, calculates the difference between the node number and the previous signature frame, and compares the identity number with the responsibility list to generate a path continuity determination result;

[0141] The path correction module calls the path continuity judgment result. If there is an abnormal frame identification or time limit record, the transport container status is locked as path blocked, the unfinished node number is selected to reassemble the task path sequence and distribute the handover reminder, and the specimen handover trigger instruction is generated.

[0142] The above are merely specific embodiments of the present invention, but the scope of protection of the present invention is not limited thereto. Any modifications or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be based on the scope of protection of the claims.

Claims

1. A method for improving the timeliness of specimen delivery, characterized in that: include: S1: Obtain the specimen collector's identity number, real-time task node number, and scanning time, and match the identity number with the list of responsible persons for the real-time node in the preset task path. If the match is successful, the task path log is written. If the match fails, the scanning is terminated and the node number and deviation time are recorded to generate a node timing compliance identifier. S2: Based on the node timing compliance identifier, the grid number of the real-time specimen handover location is compared with the spatial label set of the nodes in the task path, and the handover operation permission is activated or the code scanning is prohibited, thereby generating a spatial permission verification result; S3: Call the space permission verification result, read the specimen transport container status field, if the real-time status is shipped and the verification result is activated, update the status to in transit, and generate a transport status update instruction; S4: According to the transport status update instruction, the node number, identity number and operation time point in the real-time signature frame are extracted, and a serial check is performed with the node number continuity, identity responsibility list and timing window of the previous frame. If it is continuous and meets the preset path sequence, a signature frame is generated and the sample is sent for inspection. Otherwise, the process is interrupted and the abnormal frame number is marked to generate a path continuity judgment result.

2. The method for improving the timeliness of specimen delivery according to claim 1, characterized in that: The node timing compliance identification includes the node deviation time, node number, and identity matching result; the spatial authority verification result includes the grid authority status, spatial positioning consistency, and handover authority status; the transportation status update instruction includes the abnormal mark in transportation, the signature chain update time point, and the next node warning information; the path continuity judgment result includes the timeliness of the signature frame, the abnormal frame number, and the path node continuity.

3. The method for improving the timely delivery rate of specimens according to claim 1, characterized in that: The specific steps for obtaining the node timing compliance identifier are as follows: S101: Obtain the specimen collector's identity number, real-time task path node number, and scan time. Match the identity number with the responsible person number corresponding to the real-time node in the task path, and perform an attribution judgment operation on the scan time and the preset handover time interval of the real-time node. If both judgments meet the conditions, merge the identity number, node number, and scan time to generate an identity node association data set. S102: Based on the identity node association data set, extract the start and end values of the scanning time and the time interval set by the node in the task path, calculate the position interval between the scanning time and the start and end values, and determine whether the relative position interval is within the time segment set in the task path. If so, mark it as a timing compliance state and generate a scanning time matching state; S103: According to the scanning time matching status, filter the record items marked as non-compliant, extract the corresponding node number and offset time length, and if the status is compliant, generate a joint field value for the identity number, node number and scanning time to generate a node timing compliance identifier.

4. The method for improving the timeliness of specimen delivery according to claim 3, characterized in that: The steps for obtaining the space permission verification result are specifically as follows: S201: extracting the grid number and beacon positioning data of the real-time specimen handover location based on the node timing compliance identifier, and performing set intersection comparison between the grid number and the spatial label set of the corresponding node in the task path to obtain the handover node spatial matching information; S202: Based on the spatial matching information of the handover node, the identity number and the permission role number bound to the spatial tag set are obtained, and the identity number is compared item by item to see if it exists in the permission number list of any tag. If the judgment is true, the code scanning permission is granted; if not, the code scanning operation is frozen and the identity and space combination is recorded to generate a spatial permission verification result; The formula for comparing the identity number item by item to see if it exists in the authority number list of any tag is as follows: Among them, CA represents the authority matching value of the identity and space combination, P i Represents the permission number of the i-th label, R i Represents the identity number in the i-th tag, A i Represents the weight factor corresponding to the i-th label, B i Represents the size of the space corresponding to the i-th label, and n represents the total number of labels.

5. The method for improving the timeliness of specimen delivery according to claim 4, characterized in that: The steps for obtaining the transport status update instruction are specifically as follows: S301: calling the space authority check result, reading the status field value of the real-time specimen transport container, judging whether the field value is in the outbound state, and verifying whether the authority check result is in the activated state. If both judgment results are yes, entering the status update process, and obtaining the outbound state determination identifier; S302: Based on the outbound status determination identifier, the real-time identity number, handover grid number, and code scanning operation time are extracted, the three pieces of information are merged in the set field order, and written into the node bit of the specimen signature chain field. The specimen transport container status field value is updated, the real-time status is set to "in transit", and a transport status signature record is obtained; S303: According to the transport status signature record, the start and end information of the time window of the next node in the task path is obtained, and the status field is continuously monitored to see whether it completes the update operation from in transit to to be received within the time period. If no status change is detected before the end of the time period, the status field is marked as abnormal in transit and a transport status update instruction is generated.

6. The method for improving the timely delivery rate of specimens according to claim 5, characterized in that: The steps for obtaining the path continuity determination result are specifically as follows: S401: Extract the node number, identity number, and operation time from the real-time signature frame according to the transport status update instruction, and call the data content of the previous frame from the signature chain field. Compare the sorting sequence value between the real-time node number and the node number of the previous frame to determine whether the two have a continuous relationship set in the path table. If they are continuous, mark the real-time frame as the path connection state, and obtain the node sequence connection state; S402: Based on the node sequence connection status, read the real-time identity number and the node responsible person number set in the task path, perform matching judgment, and make attribution judgment on the operation time point and the node preset timing window. If both judgment results are true, verify the path consistency of the real-time signature frame. Otherwise, terminate the sample inspection process and record the abnormal frame number to generate a path continuity judgment result.

7. The method for improving the timeliness of specimen delivery according to claim 6, characterized in that: The operation time point and the node preset timing window are judged by the formula: Among them, H represents the timing window attribution deviation value, TA represents the timestamp value corresponding to the real-time operation time point, TB represents the start timestamp value of the node preset timing window, TC represents the end timestamp value of the node preset timing window, w represents the timing window weight coefficient, N represents the total number of nodes in the real-time task path, α represents the path correction factor, C k Represents the k-th level timing fault tolerance threshold.

8. The method for improving the timeliness of specimen delivery according to claim 1, characterized in that: The method further comprises step S5: S5: Based on the path continuity determination result, if there is an abnormal frame or the status is not updated after a timeout, the specimen transport container status is immediately locked as path blocked, the path node sequence is replanned, and the transport container status is updated to correcting transport. A priority handover notification is simultaneously sent, and a specimen handover triggering instruction is generated; The specimen handover triggering instruction includes a path correction sequence, a transport container locking status, and a priority handover notification.

9. The method for improving the timeliness of specimen delivery according to claim 8, characterized in that: The steps for obtaining the specimen handover trigger instruction are specifically as follows: S501: Based on the path continuity determination result, filter out entries marked as abnormal frames and entries with unupdated status fields, extract the corresponding specimen transport container numbers, perform a locking operation, and update the specimen transport container to path blocked, thereby obtaining a transport container blocked record; S502: Based on the transport container blocking record, extract the remaining node numbers in the original task path, and rearrange the path sequence based on the real-time node positions to regenerate the path node sequence and write it into the task path field. At the same time, update the transport container status field to "correction transport in progress" and generate a path reconstruction status indicator. S503: According to the path reconstruction status identifier, locate the adjacent handover node numbers in the real-time transportation path, match the corresponding responsible person identity numbers, construct the handover reminder field and send notification information, and generate the specimen handover contact instruction.

10. A system for improving the timeliness of specimen delivery, characterized in that: The system is used to implement the method for improving the timeliness of specimen delivery according to any one of claims 1 to 9, and the system comprises: The identity verification module obtains the specimen collector's identity number, the current task node number, and the scanning time, compares the identity number with the responsible person number, and performs boundary judgment on the scanning time and the start and end values of the time window to generate a node timing compliance mark; The permission verification module calls the node timing compliance identifier, obtains the grid number and beacon location of the specimen handover site, identifies the relationship between the grid number and the node spatial label set, determines whether the identity number exists in the permission list, and generates a spatial permission verification result; The transport identification module reads the status field of the specimen transport container based on the space authority verification result and determines whether it is in the shipped state. If so, it writes the transport status and records the identity number, grid number and real-time operation time, and generates a transport status update instruction; The node signature module extracts the node number, identity number and operation time of the real-time signature frame based on the transport status update instruction, calculates the difference between the node number and the previous signature frame, compares the identity number with the responsibility list, and generates a path continuity determination result; The path correction module calls the path continuity judgment result. If there is an abnormal frame mark or time limit record, the transport container status is locked as path blocked, the unfinished node number is selected to reassemble the task path sequence and distribute the handover reminder, and the specimen handover trigger instruction is generated.

Citation Information

Patent Citations

  • Full-automatic medical detection system

    CN104535777A

  • Quality random inspection execution process supervision system

    CN106408173A

  • Methods and Apparatus for Autonomous Robotic Control

    US20170024877A1

Cited By

  • Blood information identification management method and system, terminal and storage medium

    CN121439134A