Tracking analysis method, system, device and storage medium for blood test kit
By obtaining and monitoring the transportation information of the blood test box, calculating the time difference value and obtaining road surface monitoring information, the problem that the existing technology cannot monitor the transportation status of the blood test box in real time is solved, real-time monitoring and abnormal detection of the transportation of the blood test box is realized, and transportation safety is improved.
Patent Information
- Application Number
- CN202411540462.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-28
- Estimated Expiration
- 2044-10-31
AI Technical Summary
The prior art cannot monitor the transportation status of the blood test box in real time, resulting in the inability to analyze the specific location of the abnormality in time when abnormalities occur during transportation, and cannot meet the safety requirements for the transportation of the blood test box.
By obtaining the initial and end point position information of the blood test box, obtaining preset transportation trajectory and stop point information, monitoring transportation information in real time, calculating the transportation time difference, obtaining road surface monitoring information, judging transportation abnormalities and generating alarm information.
Real-time monitoring of the transportation status of the blood test box is realized, transportation abnormalities are discovered in a timely manner, transportation safety is improved, and transportation safety is ensured, and the safety and integrity of the blood test box and its internal samples are ensured.
Smart Images

Figure 00000000_0000_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of tracking and analysis technology, and in particular to a tracking and analysis method, system, device and storage medium for a blood test box. Background Art
[0002] A blood test box generally refers to a container or box used to store and transport blood samples. The blood test box is usually designed to be sealed to ensure that the blood sample does not leak or become contaminated during transportation. It is widely used in hospitals, laboratories or medical institutions to collect blood samples for various types of tests, such as blood chemistry analysis, blood typing, infectious disease screening, etc.
[0003] Since blood test boxes are used to collect blood samples for various types of testing, they need to be monitored and managed in real time during transportation to avoid damage or loss of the boxes. Therefore, special attention is paid to the safety of the boxes during transportation. The current tracking method of blood test boxes cannot monitor the transportation status of the blood test boxes in real time, resulting in the inability to analyze the specific location of the abnormality if an abnormality occurs during transportation. Therefore, the current traditional blood test box tracking technology cannot meet the safety requirements for blood test box transportation. Summary of the invention
[0004] The main purpose of the present invention is to provide a tracking and analysis method for a blood test box, aiming to solve the technical problems in the prior art.
[0005] The present invention proposes a tracking and analysis method for a blood test box, comprising:
[0006] Obtaining initial position information and terminal position information of the blood test box, and obtaining preset transportation track information of the blood test box according to the initial position information and terminal position information;
[0007] Acquire location information of a plurality of preset stop points of the blood test box according to the preset transport trajectory information, and acquire a preset transport time between two adjacent preset stop points according to the plurality of preset stop point location information;
[0008] Acquire real-time transportation information of the blood test box, acquire real-time location information of the blood test box according to the real-time transportation information, and acquire location information of two adjacent preset stop points, preset transportation duration, and actual vehicle speed information corresponding to the real-time location information according to the real-time location information;
[0009] Calculating a first transport duration according to the position information of the two nearest adjacent preset stop points and the actual vehicle speed information, and calculating a duration difference according to the first transport duration and the preset transport duration;
[0010] Determine whether the duration difference is within a preset difference interval, and if the duration difference is not within the preset difference interval, obtain road surface monitoring information at the corresponding position according to the real-time position information, wherein the road surface monitoring information includes road fault information and vehicle flow information;
[0011] Calculating the travel impact duration according to the road fault information and the traffic flow information, and determining whether the travel impact duration is the same as the duration difference;
[0012] If the passage impact duration and the duration difference are the same, it is determined that the transportation of the blood test box is normal;
[0013] If the passage impact time is different from the time difference, it is determined that the transportation of the blood test box is abnormal, and an alarm message is generated. The transportation of the blood test box is intercepted and inspected according to the alarm message.
[0014] Preferably, the step of acquiring the position information of two adjacent preset stop points corresponding to the real-time position information according to the real-time position information comprises:
[0015] Comparing the real-time location information with the preset transportation track information, obtaining information of a plurality of preset stop points close to the real-time location;
[0016] Calculate the actual path distance of each preset stop point information close to the real-time location and the real-time location information respectively;
[0017] Arrange the plurality of actual path distances in order of magnitude to obtain a distance sorting table;
[0018] Two preset stop point information with the smallest path distance are selected from the distance sorting table and marked as adjacent preset stop point location information.
[0019] Preferably, the step of calculating the first transport duration according to the position information of the two nearest adjacent preset stop points and the actual vehicle speed information, and calculating the duration difference according to the first transport duration and the preset transport duration includes:
[0020] Acquiring path information according to the location information of the two nearest adjacent preset stop points;
[0021] The first transportation duration is calculated according to the path information and the actual vehicle speed information, wherein the calculation formula is:
[0022] ;
[0023] in, Indicates the first transport duration, Indicates path information. Indicates actual vehicle speed information;
[0024] The time difference is calculated according to the first transportation time and the preset transportation time, wherein the calculation formula is:
[0025] ;
[0026] in, Indicates the duration difference. Indicates the first transport duration, Indicates the preset transportation time.
[0027] Preferably, the step of calculating the travel impact duration according to the road fault information and the traffic flow information comprises:
[0028] Acquiring a road connection relationship according to the road fault information;
[0029] Obtaining a road topology value, a road length, an actual average speed, a number of intersections, and traffic control characteristics according to the road connection relationship;
[0030] Obtaining a green light duration of a signal light within a preset period according to the traffic control characteristics, and obtaining a green light ratio value of the signal light according to the green light duration of the signal light;
[0031] The travel impact duration is calculated according to the road topology value, road length, actual average travel speed, number of intersections, green light ratio of traffic lights and traffic flow information, wherein the calculation formula is: ;
[0032] in, Indicates the duration of the traffic impact. represents the length of the road, Indicates the actual average speed. Represents the road topology value, The weight representing the road topology value, represents the number of intersections, represents the weight of the number of intersections, Indicates the green light ratio of the signal light. The weight representing the green light ratio of the traffic light. Indicates traffic flow information. Represents the weight of traffic flow information.
[0033] Preferably, the step of acquiring the road topology value according to the road connection relationship comprises:
[0034] Acquire the road line type, road section and intersection position according to the road connection information;
[0035] Constructing a road network diagram according to the line type, road section and intersection location of the road, and using a graph theory algorithm to obtain the node degree and road section edge weight of each intersection according to the road network diagram;
[0036] The road topology value is calculated according to each node degree and the road section edge weight, wherein the calculation formula is:
[0037] ;
[0038] in, Represents the road topology value, represents the coefficient of node degree, Indicates Node degree, represents the ordinal number of the node degree, represents the number of node degrees, represents the coefficient of the road segment edge weight, Indicates The edge weights of the road segments, represents the number of road segment edge weights, The sequence number representing the edge weight of the road segment.
[0039] Preferably, the step of obtaining the duration of a green light of a signal light within a preset period according to the traffic control characteristics, and obtaining a green light ratio value of the signal light according to the duration of the green light of the signal light, comprises:
[0040] Acquire a plurality of road intersection data according to the traffic control characteristics, and acquire corresponding real-time traffic data according to each of the road intersection data, wherein the real-time traffic data includes a plurality of traffic density data and traffic speed data;
[0041] Input a plurality of the traffic density data and the traffic speed data into the green light duration model to obtain the green light duration of the signal light, wherein the green light duration model is:
[0042] ;
[0043] in, Indicates the duration of the green light of the signal light. Indicates Traffic density data, represents the weight of traffic density data, Indicates Traffic speed data, represents the weight of traffic speed data, Indicates the serial number of traffic density data;
[0044] The green light ratio of the signal light is calculated according to the green light duration of the signal light and the preset cycle duration, wherein the calculation formula is:
[0045] ;
[0046] in, Indicates the green light ratio of the signal light. Indicates the duration of the green light of the signal light. Indicates the preset cycle duration.
[0047] The present application also provides a tracking and analysis system for a blood test box, comprising:
[0048] A first acquisition module is used to acquire initial position information and terminal position information of the blood test box, and acquire preset transportation track information of the blood test box according to the initial position information and terminal position information;
[0049] A second acquisition module is used to acquire the location information of multiple preset stop points of the blood test box according to the preset transportation trajectory information, and acquire the preset transportation time between two adjacent preset stop points according to the multiple preset stop point location information;
[0050] The third acquisition module is used to obtain the real-time transportation information of the blood test box, obtain the real-time location information of the blood test box according to the real-time transportation information, and obtain the location information of the two adjacent preset stop points corresponding to the real-time location information, the preset transportation time and the actual vehicle speed information according to the real-time location information;
[0051] A calculation module, used to calculate a first transport duration according to the position information of the two nearest adjacent preset stop points and the actual vehicle speed information, and calculate a duration difference according to the first transport duration and the preset transport duration;
[0052] A first judgment module is used to judge whether the duration difference is within a preset difference interval, and if the duration difference is not within the preset difference interval, obtain road surface monitoring information at the corresponding position according to the real-time position information, wherein the road surface monitoring information includes road fault information and vehicle flow information;
[0053] A second judgment module is used to calculate the traffic impact time according to the road fault information and the traffic flow information, and to judge whether the traffic impact time is the same as the time difference;
[0054] If the passage impact duration and the duration difference are the same, it is determined that the transportation of the blood test box is normal;
[0055] If the passage impact time is different from the time difference, it is determined that the transportation of the blood test box is abnormal, and an alarm message is generated. The transportation of the blood test box is intercepted and inspected according to the alarm message.
[0056] Preferably, the second judgment module includes:
[0057] A first acquisition unit, configured to acquire a road connection relationship according to the road fault information;
[0058] A second acquisition unit is used to acquire a road topology value, a road length, an actual average speed, a number of intersections and a traffic control feature according to the road connection relationship;
[0059] A third acquisition unit is used to acquire the duration of the green light of the signal light within a preset period according to the traffic control characteristics, and acquire the green light ratio value of the signal light according to the duration of the green light of the signal light;
[0060] The calculation unit is used to calculate the travel impact time according to the road topology value, road length, actual average travel speed, number of intersections, signal light green light ratio value and traffic flow information, wherein the calculation formula is: ;
[0061] in, Indicates the duration of the traffic impact. represents the length of the road, Indicates the actual average speed. Represents the road topology value, The weight representing the road topology value, represents the number of intersections, represents the weight of the number of intersections, Indicates the green light ratio of the signal light. The weight representing the green light ratio of the traffic light. Indicates traffic flow information. Represents the weight of traffic flow information.
[0062] The present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned tracking and analysis method for a blood test box when executing the computer program.
[0063] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned tracking and analysis method for a blood test box are implemented.
[0064] The beneficial effects of the present invention are as follows: the present invention can monitor the transportation status of the blood test box in real time by comparing the first transportation time calculated by the location information of the two nearest adjacent preset stop points and the actual vehicle speed information with the preset transportation time. If the time difference exceeds the preset difference interval, the road surface monitoring information at the corresponding position can be obtained through the real-time location information, so that problems such as road failures or traffic congestion can be discovered immediately. This helps to discover situations that may affect the transportation of the blood test box early and take timely measures to avoid damage or loss. By timely obtaining road failure information and traffic flow information, it can help predict the traffic impact time, thereby facilitating the judgment of whether the delay in the transportation of the blood test box is caused by road congestion. The fault information and traffic flow information are used to calculate the traffic impact time, and determine whether the traffic impact time and the time difference are the same; if the traffic impact time and the time difference are different, the blood test box transportation is determined to be abnormal, so that the abnormal stay of the blood test box can be monitored and identified. By comparing with the time difference, it is possible to detect in real time whether there is any abnormality in the blood test box transportation. By generating alarm information and intercepting and inspecting the blood test box transportation, the safety of the blood test box transportation can be improved. By generating alarm information and intercepting and inspecting the transportation, once an abnormal situation is found, personnel can respond quickly. By improving the monitoring and management of the transportation process, the safety and integrity of the blood test box and its internal samples can be protected to the maximum extent. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 The figure is a schematic diagram of a method flow according to an embodiment of the present invention.
[0066] Figure 2 FIG. 1 is a schematic diagram of a system structure according to an embodiment of the present invention.
[0067] Figure 3 A schematic diagram of the internal structure of a computer device according to an embodiment of the present application.
[0068] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0069] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0070] like Figure 1-Figure 3 As shown, the present application provides a tracking analysis method for a blood test box, comprising:
[0071] S1. Obtaining the initial position information and the terminal position information of the blood test box, and obtaining the preset transportation track information of the blood test box according to the initial position information and the terminal position information;
[0072] S2. Acquire location information of a plurality of preset stop points of the blood test box according to the preset transportation trajectory information, and acquire a preset transportation time between two adjacent preset stop points according to the location information of the plurality of preset stop points;
[0073] S3, obtaining real-time transportation information of the blood test box, obtaining real-time location information of the blood test box according to the real-time transportation information, and obtaining location information of two adjacent preset stop points corresponding to the real-time location information, preset transportation duration and actual vehicle speed information according to the real-time location information;
[0074] S4, calculating a first transport duration according to the position information of the two nearest adjacent preset stop points and the actual vehicle speed information, and calculating a duration difference according to the first transport duration and the preset transport duration;
[0075] S5, determining whether the duration difference is within a preset difference interval, and if the duration difference is not within the preset difference interval, acquiring road surface monitoring information at the corresponding position according to the real-time position information, wherein the road surface monitoring information includes road fault information and vehicle flow information;
[0076] S6. Calculate the traffic impact duration according to the road fault information and the traffic flow information, and determine whether the traffic impact duration is the same as the duration difference;
[0077] If the passage impact duration and the duration difference are the same, it is determined that the transportation of the blood test box is normal;
[0078] If the passage impact time is different from the time difference, it is determined that the transportation of the blood test box is abnormal, and an alarm message is generated. The transportation of the blood test box is intercepted and inspected according to the alarm message.
[0079] As described in the above steps S1-S6, a blood test box refers to a container for storing and transporting blood samples, which is usually designed to be sealed to ensure that the blood samples will not leak or be contaminated during transportation. It is widely used in hospitals, laboratories or medical institutions to collect blood samples for various types of tests, such as blood chemistry analysis, blood typing, infectious disease screening, etc. Since the blood test box is used to collect blood samples for various types of tests, it is necessary to monitor and manage the blood test box in real time during transportation to avoid damage and loss of the blood test box during transportation. Therefore, the safety of the box during transportation is particularly important. Although the current tracking method of the blood test box can be tracked by the Beidou positioning system The Beidou positioning system can locate the position of the blood test box, but it does not have the function of real-time monitoring of the transportation status of the blood test box, such as the driving route, whether there are any abnormalities during transportation, etc. The Beidou positioning system does not directly provide corresponding data, so it is impossible to monitor the transportation status of the blood test box in real time, resulting in the inability to analyze the specific location of the abnormality if an abnormality occurs during transportation. For example, when the transportation of the blood test box is located by the Beidou positioning system, although it is on a pre-planned route, it is unknown where the transportation abnormality occurred (such as transportation road accidents, delayed delivery, loss of samples in the blood test box, etc.). Therefore, the current traditional blood test box tracking technology cannot meet the safety requirements during the transportation of blood test boxes. The present invention first obtains preset transportation trajectory information of the blood test box according to the initial position information and the terminal position information, and then obtains multiple preset stop point position information of the blood test box according to the preset transportation trajectory information, and obtains the preset transportation time between two adjacent preset stop points according to the multiple preset stop point position information, and then obtains the real-time position information of the blood test box according to the real-time transportation information of the blood test box, and obtains the position information of the two adjacent preset stop points corresponding to the real-time position information, the preset transportation time and the actual vehicle speed information according to the real-time position information, and calculates the first A transport time, a time difference is calculated based on the first transport time and the preset transport time, and it is determined whether the time difference is within the preset difference interval. If the time difference is not within the preset difference interval, the road surface monitoring information at the corresponding position is obtained through the real-time position information, wherein the road surface monitoring information includes road fault information and traffic flow information. By comparing the first transport time calculated by the position information of the two nearest adjacent preset stop points and the actual vehicle speed information with the preset transport time, the transportation status of the blood test box can be monitored in real time. If the time difference is within the preset difference interval, it indicates that the actual transportation status of the blood test box is consistent with the expectation and the transportation is normal;If the duration difference exceeds the preset difference range, it may mean that the blood test box stays too long at certain locations during transportation. At this time, the road monitoring information at the corresponding location is obtained through the real-time location information, so that road faults or traffic congestion problems can be discovered in real time. This helps to discover situations that may affect the transportation of the blood test box early and take timely measures to avoid damage or loss. The traffic impact time is calculated based on the road fault information and traffic flow information, and a judgment is made as to whether the traffic impact time is the same as the duration difference. If the traffic impact time is different from the duration difference, the transportation of the blood test box is judged to be abnormal, so that the abnormal stay of the blood test box here can be monitored and identified, and an alarm message is generated. The transportation of the blood test box is intercepted and inspected according to the alarm message. In this way, the traffic impact time is calculated based on the road fault information and traffic flow information, and by comparing it with the duration difference, it is possible to detect in real time whether there is any abnormality in the transportation of the blood test box. By generating alarm information and intercepting and inspecting the transportation of the blood test box, the safety of the transportation of the blood test box can be improved. Intercept and inspect the transportation. Once an abnormality is found, personnel can respond quickly. By improving the monitoring and management of the transportation process, the safety of the blood test box and its internal samples can be protected to the maximum extent. When a road accident occurs during the transportation of the blood test box, resulting in transportation abnormality, the Beidou positioning system locates the position of the blood test box, but the cause of the transportation abnormality and the location information of the abnormality cannot be known. The present invention obtains the real-time location information of the blood test box in real time and compares it with the preset transportation trajectory information, thereby realizing real-time monitoring of the transportation process of the blood test box. By comparing the first transportation time with the preset transportation time, it can detect whether there is an abnormality in the transportation of the blood test box at the preset stop point. Moreover, the present invention can not only detect abnormalities, but also calculate the traffic impact time according to the road fault information and traffic flow information in the road monitoring information, so as to better judge the actual situation of the blood test box by comparing the traffic impact time with the time difference. ;
[0080] In one embodiment, the step S3 of acquiring the position information of two adjacent preset stop points corresponding to the real-time position information according to the real-time position information includes:
[0081] S31, comparing the real-time location information with the preset transportation track information to obtain information of a plurality of preset stop points close to the real-time location;
[0082] S32, respectively calculating the actual path distance of each preset stop point information close to the real-time location and the real-time location information;
[0083] S33, arranging the plurality of actual path distances in order of magnitude to obtain a distance sorting table;
[0084] S34. Select two preset stay point information with the smallest path distance from the distance sorting table, and mark them as adjacent preset stay point location information.
[0085] As described in the above steps S21-S24, in the present invention, the real-time position information is compared with the preset transportation trajectory information to obtain multiple preset stop point information close to the real-time position, and then the actual path distance between each preset stop point information close to the real-time position and the real-time position information is calculated respectively, and the multiple actual path distances are arranged in order of size to obtain a distance sorting table, and finally the two preset stop point information with the smallest path distance are selected and marked as adjacent preset stop point position information. In this way, the actual path distance calculated by comparing the real-time position information with the preset transportation trajectory information can more accurately evaluate the distance between the real-time position and the preset stop point, so that the actual distance between the real-time position and the preset stop point can be more accurately determined, and by sorting according to the size of the distance, it can be clearly seen which preset stop points are closer to the real-time position, and by accurately calculating the actual path distance and selecting the optimal preset stop point, the transportation efficiency and management effect can be improved, so that the stop and transportation of blood test boxes or vehicles can be more effectively arranged.
[0086] In one embodiment, the step S4 of calculating the first transport duration according to the position information of the two nearest adjacent preset stop points and the actual vehicle speed information, and calculating the duration difference according to the first transport duration and the preset transport duration, comprises:
[0087] S41, acquiring path information according to the location information of the two nearest adjacent preset stop points;
[0088] S42, calculating the first transportation duration according to the path information and the actual vehicle speed information, wherein the calculation formula is:
[0089] ;
[0090] in, Indicates the first transport duration, Indicates path information. Indicates actual vehicle speed information;
[0091] S43, calculating the duration difference according to the first transportation duration and the preset transportation duration, wherein the calculation formula is:
[0092] ;
[0093] in, Indicates the duration difference. Indicates the first transport duration, Indicates the preset transportation time.
[0094] As described in the above steps S41-S43, in the present invention, the path information is obtained through the position information of the two nearest adjacent preset stop points, and the first transportation time is calculated according to the path information and the actual vehicle speed information. In this way, by calculating the actual transportation time from one preset stop point to the next preset stop point, it is possible to detect whether there is an abnormal stop in the transportation process of the blood test box, such as stagnation or abnormal speed change on this section of the journey. Obtaining the path information and the actual vehicle speed information can provide a more accurate vehicle position and movement state, thereby more accurately locating the place where the abnormal stop may occur. When the calculated first transportation time exceeds the expected normal transportation time, an early warning notification can be issued to remind personnel that there may be an abnormal situation so that countermeasures can be taken in time. The time difference is calculated according to the first transportation time and the preset transportation time. In this way, the time difference calculated according to the first transportation time and the preset transportation time can intuitively reflect the difference between the actual transportation time and the preset transportation time. When the time difference significantly exceeds the expected range, it can be judged that there may be an abnormal stop. When the time difference is abnormal, the system can immediately issue an alarm to notify relevant personnel so that countermeasures can be taken in time to ensure the safe transportation of the blood test box.
[0095] In one embodiment, the step S6 of calculating the travel impact duration according to the road fault information and the traffic flow information includes:
[0096] S61, acquiring a road connection relationship according to the road fault information;
[0097] S62, obtaining a road topology value, a road length, an actual average speed, a number of intersections, and traffic control characteristics according to the road connection relationship;
[0098] S63, obtaining a green light duration of a traffic light within a preset period according to the traffic control characteristics, and obtaining a green light ratio value of the traffic light according to the green light duration of the traffic light;
[0099] S64, calculating the travel impact time according to the road topology value, road length, actual average travel speed, number of intersections, green light ratio of traffic lights and traffic flow information, wherein the calculation formula is: ;
[0100] in, Indicates the duration of the traffic impact. represents the length of the road, Indicates the actual average speed. Represents the road topology value, The weight representing the road topology value, represents the number of intersections, represents the weight of the number of intersections, Indicates the green light ratio of the signal light. The weight representing the green light ratio of the traffic light. Indicates traffic flow information. Represents the weight of traffic flow information.
[0101] As described in the above steps S61-S64, in the present invention, the road connection relationship is obtained through the road fault information, and the road topology value, road length, actual average speed, number of intersections and traffic control characteristics are obtained according to the road connection relationship. In this way, by obtaining the road connection relationship and calculating the topology value, the structural characteristics and topology relationship of the road network can be fully considered, which is helpful to more accurately evaluate the road travel impact time. Obtaining the road length information can help accurately estimate the travel distance. Obtaining the actual average speed information can reflect the actual situation of the road traffic situation. Considering the actual speed can more accurately evaluate the travel time, especially in congestion or traffic control conditions, it can more accurately predict the travel impact time. Considering the number of intersections can make a more comprehensive evaluation of the road travel impact time. An increase in the number of intersections may increase the travel time, especially at busy intersections, where vehicle travel will be more hindered. Therefore, comprehensive consideration of the number of intersections is crucial to accurately evaluate the travel impact time. The predicted time can be obtained through traffic control characteristics. Assume the duration of the green light of the signal light within the cycle, and obtain the green light ratio value of the signal light according to the ratio of the duration of the green light of the signal light and the preset cycle. Since the traffic signal is one of the important factors of traffic flow, obtaining the duration of the green light of the signal light and the green light ratio value can help evaluate the impact of the traffic signal on road traffic. By obtaining the duration of the green light of the signal light and the green light ratio value of the signal light within the preset cycle, it is helpful to predict traffic congestion and travel time. The travel impact time is calculated according to the road topology value, road length, actual average speed, number of intersections, green light ratio value of the signal light and traffic flow information. Taking into account the above factors, the road traffic condition can be analyzed more comprehensively, the accuracy of travel time prediction can be improved, and more comprehensive data support can be provided. For example, when the road length is 10, the actual average speed is 5, the road topology value is 2, the weight of the road topology value is 2, the number of intersections is 2, the weight of the number of intersections is 2, the green light ratio value of the signal light is 1, the weight of the green light ratio value of the signal light is 3, and the traffic flow information is 3, The weight of traffic flow information is 3, and the calculation formula can be used to calculate the traffic impact time: , that is, the traffic impact duration is about 0.5h. It should be noted that the numbers 0.5, 2, 3, 1, 10, etc. appearing above are all examples for clearly explaining the embodiment and are not intended to be the only limitation here.
[0102] In one embodiment, the step S62 of acquiring the road topology value according to the road connection relationship includes:
[0103] S621, acquiring the line type, road segment and intersection position of the road according to the road connection information;
[0104] S622, constructing a road network graph according to the line type, road segment and intersection position of the road, and using a graph theory algorithm to obtain the node degree and road segment edge weight of each intersection according to the road network graph;
[0105] S623, calculating the road topology value according to each node degree and the road section edge weight, wherein the calculation formula is:
[0106] ;
[0107] in, Represents the road topology value, represents the coefficient of node degree, Indicates Node degree, represents the ordinal number of the node degree, represents the number of node degrees, represents the coefficient of the road segment edge weight, Indicates The edge weights of the road segments, represents the number of road segment edge weights, The sequence number representing the edge weight of the road segment.
[0108] As described in the above steps S621-S623, the present invention obtains the linear type, road segment and intersection position of the road through the road connection information, and constructs a road network diagram according to the linear type, road segment and intersection position of the road. In this way, obtaining the linear type, road segment and intersection position of the road can help accurately model the road network diagram, wherein GIS software or programming language (such as Python) can be used to construct the road network diagram, and an accurate road network diagram is the basis for traffic flow analysis and travel impact time calculation, and in the road network diagram, nodes represent intersections or connection points, and edges represent road segments or connecting roads, wherein the node degree refers to the number of edges connected to the node, and according to the road network diagram, the travel time on different paths can be estimated, and constructing a road network diagram can intuitively show the connection relationship and topological structure between roads, and through graphical representation, the layout of the road and the traffic flow can be clearly seen, and the road network diagram provides topological structure information between roads, including intersections, road segments and the connection relationship between them, Through topological structure analysis, key nodes and important paths in the road network can be identified, so as to more accurately evaluate traffic flow and travel impact time. By adopting graph theory algorithms, the node degree and section edge weight of each intersection can be obtained according to the road network diagram. Commonly used graph theory algorithms include depth-first search, breadth-first search and shortest path algorithm. By calculating the node degree of each intersection, the connection and importance of each intersection in the road network diagram can be understood. The node degree can reflect the connection density and traffic flow of the intersection, and the road topology value is calculated through multiple node degrees and section edge weights. In this way, by calculating multiple node degrees and section edge weights and combining their influence coefficients, the topological structure and traffic conditions of the road network can be more comprehensively evaluated. Comprehensive consideration of multiple factors can more accurately reflect the importance and impact of each section and intersection in the road network. By calculating the road topology value, key nodes and paths in the road network can be identified, so as to facilitate the accurate calculation of the road travel impact time.
[0109] In one embodiment, the step S63 of obtaining the duration of the green light of a traffic light within a preset period according to the traffic control characteristics, and obtaining the green light ratio of the traffic light according to the duration of the green light of the traffic light, comprises:
[0110] S631, acquiring a plurality of road intersection data according to the traffic control characteristics, and acquiring corresponding real-time traffic data according to each of the road intersection data, wherein the real-time traffic data includes a plurality of traffic density data and traffic speed data;
[0111] S632: Input the plurality of traffic density data and traffic speed data into a green light duration model to obtain the green light duration of the signal light, wherein the green light duration model is:
[0112] ;
[0113] in, Indicates the duration of the green light of the signal light. Indicates Traffic density data, represents the weight of traffic density data, Indicates Traffic speed data, represents the weight of traffic speed data, Indicates the serial number of traffic density data;
[0114] S633, calculating the green light ratio of the signal light according to the green light duration of the signal light and the preset cycle duration, wherein the calculation formula is:
[0115] ;
[0116] in, Indicates the green light ratio of the signal light. Indicates the duration of the green light of the signal light. Indicates the preset cycle duration.
[0117] As described in the above steps S631-S633, the present invention obtains data of multiple road intersections through traffic control features, and obtains corresponding real-time traffic data based on each road intersection data, and then inputs multiple traffic density data and traffic speed data into the green light duration model to obtain the duration of the green light of the signal light, so that the corresponding real-time traffic data is obtained through the data of each road intersection, wherein the real-time traffic data includes multiple traffic density data and traffic speed data, and then combined with multiple traffic density data, traffic speed data and green light duration model, the traffic flow impact duration can be more accurately estimated, so that it can avoid relying solely on the evaluation of a single traffic parameter, and improve the accuracy and reliability of abnormal phenomenon detection during the transportation of blood test boxes, and taking into account multiple roads The data from intersections can provide a more comprehensive understanding of the traffic conditions in the entire area, which helps to identify possible problems, such as unbalanced traffic flow between intersections or abnormal conditions at a specific intersection. By acquiring traffic density and speed data in real time and inputting them into the green light duration model, traffic conditions can be monitored in real time, including whether there are abnormal stops or abnormal transportation of blood test boxes. The green light duration model trained based on real-time and historical data can automatically identify abnormal conditions without human intervention, which can greatly improve monitoring efficiency and reduce human errors. Once abnormal stops or abnormal transportation of blood test boxes are detected, corresponding measures can be taken immediately, such as generating an alarm message and intercepting and inspecting the transportation of the blood test box based on the alarm message.
[0118] The present application also provides a tracking and analysis system for a blood test box, comprising:
[0119] A first acquisition module is used to acquire initial position information and terminal position information of the blood test box, and acquire preset transportation track information of the blood test box according to the initial position information and terminal position information;
[0120] A second acquisition module is used to acquire the location information of multiple preset stop points of the blood test box according to the preset transportation trajectory information, and acquire the preset transportation time between two adjacent preset stop points according to the multiple preset stop point location information;
[0121] The third acquisition module is used to obtain the real-time transportation information of the blood test box, obtain the real-time location information of the blood test box according to the real-time transportation information, and obtain the location information of the two adjacent preset stop points corresponding to the real-time location information, the preset transportation time and the actual vehicle speed information according to the real-time location information;
[0122] A calculation module, used to calculate a first transport duration according to the position information of the two nearest adjacent preset stop points and the actual vehicle speed information, and calculate a duration difference according to the first transport duration and the preset transport duration;
[0123] A first judgment module is used to judge whether the duration difference is within a preset difference interval, and if the duration difference is not within the preset difference interval, obtain road surface monitoring information at the corresponding position according to the real-time position information, wherein the road surface monitoring information includes road fault information and vehicle flow information;
[0124] A second judgment module is used to calculate the traffic impact time according to the road fault information and the traffic flow information, and to judge whether the traffic impact time is the same as the time difference;
[0125] If the passage impact duration and the duration difference are the same, it is determined that the transportation of the blood test box is normal;
[0126] If the passage impact time is different from the time difference, it is determined that the transportation of the blood test box is abnormal, and an alarm message is generated. The transportation of the blood test box is intercepted and inspected according to the alarm message.
[0127] In one embodiment, the second determination module includes:
[0128] A first acquisition unit, configured to acquire a road connection relationship according to the road fault information;
[0129] A second acquisition unit is used to acquire a road topology value, a road length, an actual average speed, a number of intersections and a traffic control feature according to the road connection relationship;
[0130] A third acquisition unit is used to acquire the duration of the green light of the signal light within a preset period according to the traffic control characteristics, and acquire the green light ratio value of the signal light according to the duration of the green light of the signal light;
[0131] The calculation unit is used to calculate the travel impact time according to the road topology value, road length, actual average travel speed, number of intersections, signal light green light ratio value and traffic flow information, wherein the calculation formula is: ;
[0132] in, Indicates the duration of the traffic impact. represents the length of the road, Indicates the actual average speed. Represents the road topology value, The weight representing the road topology value, represents the number of intersections, represents the weight of the number of intersections, Indicates the green light ratio of the signal light. The weight representing the green light ratio of the traffic light. Indicates traffic flow information. Represents the weight of traffic flow information.
[0133] The present invention also provides a computer device, including a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the above-mentioned tracking and analysis method for a blood test box when executing the computer program.
[0134] The present invention also provides a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the steps of the above-mentioned tracking and analysis method for a blood test box are implemented.
[0135] Those of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to memory, storage, database or other media provided in this application and used in the embodiments may include non-volatile and / or volatile memory. Non-volatile memory may include read-only memory (ROM), programmable ROM (PROM), electrically programmable ROM (EPROM), electrically erasable programmable ROM (EEPROM) or flash memory. Volatile memory may include random access memory (RAM) or external cache memory. By way of illustration and not limitation, RAM is available in many forms, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (SSRSDRAM), enhanced SDRAM (ESDRAM), synchronous link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic RAM (DRDRAM), and memory bus dynamic RAM (RDRAM), etc.
[0136] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, device, article or method including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, device, article or method. In the absence of further restrictions, an element defined by the sentence "includes a ..." does not exclude the presence of other identical elements in the process, device, article or method including the element.
[0137] The above description is only a preferred embodiment of the present invention, and does not limit the patent scope of the present invention. Any equivalent structure or equivalent process transformation made by using the contents of the present invention specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present invention.
Claims
1. A tracking and analysis method for a blood test kit, characterized in that: include: Obtaining initial position information and terminal position information of the blood test box, and obtaining preset transportation track information of the blood test box according to the initial position information and terminal position information; Acquire location information of a plurality of preset stop points of the blood test box according to the preset transport trajectory information, and acquire a preset transport time between two adjacent preset stop points according to the plurality of preset stop point location information; Acquire real-time transportation information of the blood test box, acquire real-time location information of the blood test box according to the real-time transportation information, and acquire location information of two adjacent preset stop points, preset transportation duration, and actual vehicle speed information corresponding to the real-time location information according to the real-time location information; Calculating a first transport duration according to the position information of the two nearest adjacent preset stop points and the actual vehicle speed information, and calculating a duration difference according to the first transport duration and the preset transport duration; Determine whether the duration difference is within a preset difference interval, and if the duration difference is not within the preset difference interval, obtain road surface monitoring information at the corresponding position according to the real-time position information, wherein the road surface monitoring information includes road fault information and vehicle flow information; Acquiring a road connection relationship according to the road fault information; Obtaining road length, actual average speed, number of intersections and traffic control characteristics according to the road connection relationship; Acquire the road line type, road section and intersection position according to the road connection information; Constructing a road network diagram according to the line type, road section and intersection location of the road, and using a graph theory algorithm to obtain the node degree and road section edge weight of each intersection according to the road network diagram; The road topology value is calculated according to each node degree and the road section edge weight, wherein the calculation formula is: ; in, Represents the road topology value, represents the coefficient of node degree, Indicates Node degree, The ordinal number representing the node degree, represents the number of node degrees, represents the coefficient of the road segment edge weight, Indicates The edge weights of the road segments, represents the number of road segment edge weights, The sequence number representing the edge weight of the road section; Acquire a plurality of road intersection data according to the traffic control characteristics, and acquire corresponding real-time traffic data according to each of the road intersection data, wherein the real-time traffic data includes a plurality of traffic density data and traffic speed data; A plurality of the traffic density data and the traffic speed data are input into the green light duration model to obtain the green light duration of the signal light, wherein the green light duration model is: ; in, Indicates the duration of the green light of the signal light. Indicates Traffic density data, represents the weight of traffic density data, Indicates Traffic speed data, represents the weight of traffic speed data, The serial number representing the traffic density data; The green light ratio of the signal light is calculated according to the green light duration of the signal light and the preset cycle duration, wherein the calculation formula is: ; in, Indicates the green light ratio of the signal light. Indicates the duration of the green light of the signal light. Indicates the preset cycle duration; The travel impact duration is calculated according to the road topology value, road length, actual average travel speed, number of intersections, green light ratio of traffic lights and traffic flow information, wherein the calculation formula is: ; in, Indicates the duration of the traffic impact. represents the length of the road, Indicates the actual average speed. Represents the road topology value, The weight representing the road topology value, represents the number of intersections, represents the weight of the number of intersections, Indicates the green light ratio of the signal light. The weight representing the green light ratio of the traffic light. Indicates traffic flow information. Represents the weight of traffic flow information; Determine whether the traffic impact duration and the duration difference are the same; If the passage impact duration and the duration difference are the same, it is determined that the transportation of the blood test box is normal; If the passage impact time is different from the time difference, it is determined that the transportation of the blood test box is abnormal, and an alarm message is generated. The transportation of the blood test box is intercepted and inspected according to the alarm message.
2. The tracking and analysis method for a blood test kit according to claim 1, characterized in that: The step of acquiring the position information of two adjacent preset stay points that are closest to the real-time position information according to the real-time position information comprises: Comparing the real-time location information with the preset transportation track information, obtaining information of a plurality of preset stop points close to the real-time location; Calculate the actual path distance of each preset stop point information close to the real-time location and the real-time location information respectively; Arrange the plurality of actual path distances in order of magnitude to obtain a distance sorting table; Two preset stop point information with the smallest path distance are selected from the distance sorting table and marked as adjacent preset stop point location information.
3. The tracking and analysis method for a blood test kit according to claim 1, characterized in that: The step of calculating the first transport duration according to the position information of the two nearest adjacent preset stop points and the actual vehicle speed information, and calculating the duration difference according to the first transport duration and the preset transport duration, comprises: Acquiring path information according to the location information of the two nearest adjacent preset stop points; The first transportation duration is calculated according to the path information and the actual vehicle speed information, wherein the calculation formula is: ; in, Indicates the first transport duration, Indicates path information. Indicates actual vehicle speed information; The time difference is calculated according to the first transportation time and the preset transportation time, wherein the calculation formula is: ; in, Indicates the duration difference. Indicates the first transport duration, Indicates the preset transportation time.
4. A tracking and analysis system for a blood test box, using the tracking and analysis method for a blood test box according to any one of claims 1 to 3, characterized in that: include: A first acquisition module is used to acquire initial position information and terminal position information of the blood test box, and acquire preset transportation track information of the blood test box according to the initial position information and terminal position information; A second acquisition module is used to acquire the location information of multiple preset stop points of the blood test box according to the preset transportation trajectory information, and acquire the preset transportation time between two adjacent preset stop points according to the multiple preset stop point location information; The third acquisition module is used to obtain the real-time transportation information of the blood test box, obtain the real-time location information of the blood test box according to the real-time transportation information, and obtain the location information of the two adjacent preset stop points corresponding to the real-time location information, the preset transportation time and the actual vehicle speed information according to the real-time location information; A calculation module, used to calculate a first transport duration according to the position information of the two nearest adjacent preset stop points and the actual vehicle speed information, and calculate a duration difference according to the first transport duration and the preset transport duration; A first judgment module is used to judge whether the duration difference is within a preset difference interval, and if the duration difference is not within the preset difference interval, obtain road surface monitoring information at the corresponding position according to the real-time position information, wherein the road surface monitoring information includes road fault information and vehicle flow information; A second judgment module is used to calculate the traffic impact time according to the road fault information and the traffic flow information, and to judge whether the traffic impact time is the same as the time difference; If the passage impact duration and the duration difference are the same, it is determined that the transportation of the blood test box is normal; If the passage impact time is different from the time difference, it is determined that the transportation of the blood test box is abnormal, and an alarm message is generated. The transportation of the blood test box is intercepted and inspected according to the alarm message.
5. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 3 are implemented.
6. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.
Citation Information
Patent Citations
Method and system for identifying stop point based on GPS track of heavy-duty truck and medium
CN115436972A
Website delivery vehicle transportation monitoring method, device and equipment and storage medium
CN117035593A