Personnel and vehicle safety guarantee system based on Beidou short message

By introducing multi-priority buffering, thread pool management and processing thread creation modules into the personnel and vehicle safety assurance system, Beidou short messages are processed according to priority, which solves the problem of untimely processing of Beidou short messages in the system and improves efficiency. Response speed and efficiency enhance system scalability and data processing capabilities.

CN118714524AInactive Publication Date: 2024-09-27青海省基础测绘院
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410741992.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-09-27
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

The existing personnel and vehicle safety assurance system cannot classify Beidou short messages into different priorities, resulting in delayed processing of key information and affecting system response speed and efficiency.

Method used

Using a multi-priority buffer module, a thread pool management module and a processing thread creation module, Beidou short messages are divided into three categories: fault, message and status. They are processed according to priority and dynamically adjusted through thread pool management and processing threads to ensure critical Information is processed in a timely manner.

Benefits of technology

It improves system response speed and efficiency, reduces the risk of data loss, enhances system scalability and flexibility, and ensures the integrity and efficient processing capabilities of important data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118714524A
    Figure CN118714524A
Patent Text Reader

Abstract

The invention discloses a personnel and vehicle safety guarantee system based on Beidou short messages. According to the invention, the Beidou short messages are divided into different priorities by setting the multi-priority buffer module, the system can process the messages orderly according to the importance of the messages, and key information can be processed in time, so that the response speed and efficiency of the system are improved. The multi-priority buffer module can reduce the risk of data loss, effectively manage different types of data streams, reduce data loss under the condition of high traffic, and ensure the integrity of important data. The multi-priority buffer module can enhance the expansibility of the system: the number of priority queues is dynamically generated, so that the system can be flexibly adjusted according to actual requirements, and the adaptability and expansibility of the system are improved. Through reasonable distribution of thread resources, resource competition and context switching among multiple threads are reduced, and the stability and reliability of the system are improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of vehicle safety assurance, and in particular relates to a personnel and vehicle safety assurance system based on Beidou short messages. Background Art

[0002] The personnel and vehicle safety assurance system is a security management system that integrates a variety of technologies and equipment, aiming to improve the safety assurance level of personnel and vehicles. The system uses advanced technical means, such as video surveillance, access control, vehicle identification, etc., to achieve all-weather and all-round safety management of personnel and vehicles. The personnel and vehicle safety assurance system also has data analysis and processing functions, which can analyze and process the collected data in real time to provide decision-making basis for managers. At the same time, the system can also be integrated with other systems, such as alarm systems, fire protection systems, etc., to form a complete security assurance system. In short, the personnel and vehicle safety assurance system is an efficient, safe and reliable security management system that can improve the safety assurance level of personnel and vehicles and provide strong protection for the safety in the protection area.

[0003] However, common personnel and vehicle safety assurance systems cannot classify Beidou short messages into different priorities, making it impossible to ensure that key information can be processed in a timely manner, thus affecting the response speed and efficiency of the overall system. Summary of the invention

[0004] The purpose of the present invention is to provide a personnel and vehicle safety assurance system based on Beidou short messages in order to solve the above-mentioned problems.

[0005] The technical scheme adopted by the present invention is as follows: a personnel and vehicle safety assurance system based on Beidou short messages, comprising a power supply module, a vehicle data acquisition module, a Beidou short message module, a monitoring system module, a data processing and analysis module, an emergency rescue module, a user interface interaction module, a multi-priority buffer module, a thread pool management module and a processing thread creation module, wherein the output end of the power supply module is connected to the input end of the vehicle data acquisition module, the output end of the vehicle data acquisition module is connected to the input end of the Beidou short message module, the output end of the Beidou short message module is connected to the input end of the monitoring system module, the output end of the monitoring system module is connected to the input ends of the data processing and analysis module and the emergency rescue module, and the control interface end of the monitoring system module is provided with a user interface interaction module.

[0006] In a preferred embodiment, a multi-priority buffer module, a thread pool management module and a processing thread creation module are arranged inside the monitoring system module, and the overall output end of the multi-priority buffer module, the thread pool management module and the processing thread creation module is connected to the input end of the monitoring system module.

[0007] In a preferred embodiment, the vehicle data acquisition module acquires the location information of personnel and vehicles in real time through the Beidou satellite navigation system and transmits the data to the monitoring center. The positioning module includes Beidou terminal equipment and positioning data processing software.

[0008] In a preferred embodiment, the user-machine interface protocol version used by the Beidou short message module is the Beidou 2.1 protocol. The Beidou short message module can divide short message packets into two categories, data packets and response packets, according to the different types of messages transmitted in the communication system. Among them, data packets mainly refer to messages for transmitting data from the control end or the execution end. According to whether multiple transmissions are required to complete the transmission, they can be divided into data packets that need to be sent as a single packet and as multiple packets. The data packets sent as a single packet mainly include the control instruction packet of the control end, the status synchronization packet of the execution end, and the query command packet for applying for active query. Specifically, the control instruction packet of the control end includes the control instructions for starting work, pausing work, and stopping work issued by the control end to the execution end, which are used to control the robot of the execution end to complete the predetermined task, and the response packet mainly refers to the feedback message for receiving confirmation after receiving the short message. According to whether the short message is successfully received, the response packet can be divided into two types: a successful reception response packet and an answer feedback response packet, both of which can be sent as a single packet;

[0009] The Beidou short message module uses three flag bits, namely, keyword bit, length bit and check bit, to ensure the correct operation of the communication strategy, occupying a total of five bytes; wherein:

[0010] Keyword bit: occupies two bytes, is the core of the transport layer communication protocol, used for the control and management of the transmission mechanism, and distinguishes various types of messages.

[0011] Length bit: occupies one byte, indicating the length of the data payload part, mainly used to separate the data payload part after receiving a short message.

[0012] Data payload: For data packets, the length of the data payload part depends on the actual content to be sent, while the length of the data payload part of the response packet is fixed to one byte. Specifically, the 8 bits from high to low in the data payload part of the successful response packet are all 0; while the feedback response packet, from high to low, takes the total number of N bits of the sub-packet to indicate whether the sub-packet of the sequence number fails to be received. 0 indicates that the sub-packet of the sequence number fails to be received, and 1 indicates that the sub-packet of the sequence number is received successfully.

[0013] Check bit: occupies two bytes and is used to ensure the distortion-free transmission of the data to be transmitted. Considering the limited single communication capacity of Beidou short message communication, this article only uses CRC-16 check for error detection, and does not implement the error correction function. Its generating polynomial is:

[0014] G(x)=x 16 +x 15 +x 2 +1; after receiving the short message, separate the message communication content. If the check code is the same as the result calculated by the same method as the received data, the message is authentic; otherwise, the message is distorted.

[0015] In a preferred embodiment, the multi-priority buffer module divides Beidou short messages into three categories according to the different bit error rates and delay requirements of various types of services in the vehicle remote status monitoring system: 1) fault message; 2) message message; 3) status message. Fault message is the fault code information generated when a vehicle fails, which needs to be processed quickly. This type of message is the most important and has the highest priority; message message is the preset information or custom content transmitted by the vehicle to the rear technical position in an emergency state, usually for tactical or maintenance support needs, with medium priority; status message is data reflecting the real-time status information of the vehicle, providing a basis for vehicle big data analysis, which can be transmitted when the channel is idle in the acquisition terminal cache, and has the lowest priority. Each message is distinguished by the message ID rule, which is convenient for the listening thread to distinguish the type and push it to different priority buffer queues. The processing thread processes the message information in the level 0 queue according to the queue priority. The priorities of the three types of messages are: fault message (level 0) > message message (level 1) > status message (level 2), which are represented by P0, P1, and P2 respectively. The three message service sets are P = {P0, P1, P2}. The main thread of the communication server prioritizes the messages in the level 0 queue, and then processes the messages in the level 1 queue when the level 0 queue is empty. The number of queues with the same priority is dynamically generated according to the user message ID rule. When the user increases the message priority, the number of priority queues increases dynamically, enhancing the scalability of the system.

[0016] In a preferred embodiment, the thread pool management module starts multiple listening threads at the same time when the service is started. Each listening thread corresponds to a Beidou receiver to process the short message sent by the vehicle Beidou satellite positioning system. When the message is listened, a data processing thread is created to unpack the message data, and the thread responsible for the storage operation processes the data in the multi-priority buffer queue according to the priority. In the process, the Executor framework of the Java concurrent library is applied to manage threads using the function of its thread pool. In addition, when writing message data to the rear priority queue, a buffer is necessary. If only one buffer is designed and shared by all threads, congestion will occur, and each thread will seize resources, which is easy to increase the packet loss rate. If the buffer is dispersed inside each thread, it is found that this approach will increase the program coupling degree when the code is implemented, and the system scalability will also be reduced, and congestion will also be caused when writing data to the rear queue. Therefore, a multi-queue synchronous buffer queue is applied as a buffer for data storage and processing, and a buffer queue is allocated to every three listening threads, which can avoid the problem of program coupling and high packet loss rate. At the same time, the listening thread has its own buffer to ensure the listening is effective, while the data processing thread and IO operation thread use the shared buffer managed by the Executor framework to improve resource utilization.

[0017] In a preferred embodiment, when the listening thread receives the Beidou short message through the serial communication board, the main thread of the processing thread creation module creates an object to implement the Runnable or Callable interface, and the tool class Executors encapsulates a Runnable object into a Callable object, and then the Runnable object can be directly handed over to the ExecutorService to execute ExecutorService.execute(Runnablecommand);

[0018] Alternatively, you can submit the Runnable object or Callable object to the ExecutorService to execute ExecutorService.submit(Runnabletask) or ExecutorService.submit(Callable<T>task). If you execute ExecutorService.submit, ExecutorService will return an object that implements the Future interface. Since FutureTask implements Runnable, you can also create a FutureTask and then directly hand it over to ExecutorService for execution. Finally, the main thread can execute the FutureTask.get() method to wait for the task to be completed. At this point, the dynamic creation of the processing thread is completed. The data processing thread decides whether to create a new thread based on the number of tasks to improve efficiency.

[0019] In a preferred embodiment, the operation process of the data processing and analysis module includes:

[0020] Data collection: The module collects real-time and historical data from the positioning module, communication module and monitoring module.

[0021] Data cleaning: Preprocess the collected data, including removing invalid data, correcting erroneous data, and filling in missing values.

[0022] Data storage: The cleaned data is stored in the database for subsequent analysis and query.

[0023] Data analysis: Use data mining and machine learning algorithms to analyze stored data and extract valuable information, such as personnel behavior patterns and vehicle usage frequency.

[0024] Data presentation: The analysis results are presented to the staff or managers of the monitoring center in the form of charts and reports.

[0025] Decision support: Based on the analysis results, provide decision support to the monitoring center, such as optimizing route planning and predicting potential risks.

[0026] In a preferred embodiment, the emergency rescue module includes:

[0027] Rescue signal reception: The module continuously monitors the distress signal from the communication module.

[0028] Rescue signal confirmation: When a distress signal is received, the system will confirm it to ensure the accuracy of the signal.

[0029] Rescue coordination: Based on the distress signal, the system will initiate the rescue coordination process, including notifying the rescue team and dispatching nearby resources.

[0030] Rescue execution: The rescue team carries out the rescue mission according to the information and instructions provided by the system.

[0031] Rescue tracking: The system tracks the rescue process in real time to ensure the smooth progress of the rescue operation.

[0032] Rescue end: After the rescue mission is completed, the system records the rescue results and closes the rescue process.

[0033] In a preferred embodiment, the user interface interaction module is internally provided with:

[0034] Login authentication module: Users log in to the system using their username and password, and the system verifies the user's identity.

[0035] Main interface display module: After logging in, the user sees the main interface, which displays the main functions and real-time information of the system.

[0036] Information query module: Users can query personnel location, vehicle status, and historical trajectory through the interface.

[0037] Command sending module: Users can send commands through the interface, such as sending messages and requesting location updates.

[0038] Emergency response module: Users can send distress signals through the interface in emergency situations.

[0039] System settings module: Users can set personal preferences and change passwords.

[0040] In summary, due to the adoption of the above technical solution, the beneficial effects of the present invention are:

[0041] 1. In the present invention, by setting a multi-priority buffer module to divide Beidou short messages into different priorities, the system can process the messages in an orderly manner according to their importance, ensuring that key information can be processed in a timely manner, thereby improving the response speed and efficiency of the system. The multi-priority buffer module can reduce the risk of data loss, effectively manage different types of data streams, reduce data loss under high traffic conditions, and ensure the integrity of important data. The multi-priority buffer module can enhance the scalability of the system: the number of priority queues is dynamically generated, so that the system can be flexibly adjusted according to actual needs, increasing the adaptability and scalability of the system.

[0042] 2. In the present invention, the thread pool management module reduces the overhead of thread creation and destruction by reusing threads, thereby improving the CPU utilization and system throughput. The thread pool management module reduces resource competition: by reasonably allocating thread resources, it reduces resource competition and context switching between multiple threads, thereby improving the stability and reliability of the system. At the same time, it enhances the system's responsiveness: the thread pool can quickly respond to new task requests, improving the system's concurrent processing capability, and is particularly suitable for high-concurrency scenarios that process a large number of short messages.

[0043] 3. In the present invention, the processing thread creation module dynamically creates threads according to the number and complexity of tasks, which not only ensures the efficient operation of the system, but also avoids the waste of resources. The processing thread creation module can dynamically adjust the number of threads according to the actual load, so that the system can maintain good performance when facing sudden high traffic. The processing thread creation module creates a special data processing thread, and the system can focus more on the analysis and processing of data, improving the accuracy and real-time performance of data processing. In summary, the multi-priority buffer module, the thread pool management module and the processing thread creation module jointly provide efficient and stable data processing capabilities for the personnel and vehicle safety assurance system based on Beidou short messages, ensuring that the system can maintain excellent performance and reliability when facing complex and changeable environments. The design and application of these modules not only improve the operating efficiency of the system, but also enhance the scalability and flexibility of the system, and provide users with more high-quality security services. BRIEF DESCRIPTION OF THE DRAWINGS

[0044] Figure 1 is the overall system block diagram of the present invention;

[0045] Figure 2 This is a system block diagram of the present invention.

[0046] Markings in the figure: 1-power supply module, 2-vehicle data acquisition module, 3-Beidou short message module, 4-monitoring system module, 5-data processing and analysis module, 6-emergency rescue module, 7-user interface interaction module, 8-multi-priority buffer module, 9-thread pool management module, 10-processing thread creation module. DETAILED DESCRIPTION

[0047] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the present invention is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.

[0048] Reference Figure 1-2 ,

[0049] Example:

[0050] A personnel and vehicle safety assurance system based on Beidou short messages comprises a power supply module 1, a vehicle data acquisition module 2, a Beidou short message module 3, a monitoring system module 4, a data processing and analysis module 5, an emergency rescue module 6, a user interface interaction module 7, a multi-priority buffer module 8, a thread pool management module 9 and a processing thread creation module 10, wherein the output end of the power supply module 1 is connected to the input end of the vehicle data acquisition module 2, the output end of the vehicle data acquisition module 2 is connected to the input end of the Beidou short message module 3, the output end of the Beidou short message module 3 is connected to the input end of the monitoring system module 4, the output end of the monitoring system module 4 is connected to the input ends of the data processing and analysis module 5 and the emergency rescue module 6, and the control interface end of the monitoring system module 4 is provided with the user interface interaction module 7.

[0051] The monitoring system module 4 is internally provided with a multi-priority buffer module 8, a thread pool management module 9 and a processing thread creation module 10, and the overall output end of the multi-priority buffer module 8, the thread pool management module 9 and the processing thread creation module 10 is connected to the input end of the monitoring system module 4.

[0052] The vehicle data acquisition module 2 obtains the location information of personnel and vehicles in real time through the Beidou satellite navigation system and transmits the data to the monitoring center. The positioning module includes Beidou terminal equipment, positioning data processing software and other parts.

[0053] The user-machine interface protocol version used by the Beidou short message module 3 is the Beidou 2.1 protocol. The Beidou short message module 3 can divide short message packets into two categories: data packets and response packets, according to the different types of messages transmitted in the communication system. Among them, data packets mainly refer to messages for transmitting data from the control end or the execution end. Depending on whether multiple transmissions are required to complete the transmission, they can be divided into data packets that need to be sent as a single packet and as multiple packets. Data packets sent as a single packet mainly include control instruction packets from the control end, status synchronization packets from the execution end, and query command packets for applying for active queries. Specifically, the control instruction packet from the control end includes control instructions such as start work, pause work, and stop work issued by the control end to the execution end, which are used to control the robot at the execution end to complete the predetermined task, and the response packet mainly refers to feedback messages for receiving confirmation after receiving the short message. Depending on whether the short message is successfully received, the response packet can be divided into two types: a successful reception response packet and an answer feedback response packet, both of which can be sent as a single packet;

[0054] Beidou short message module 3 uses three flag bits, namely keyword bit, length bit and check bit, to ensure the correct operation of the communication strategy, occupying a total of five bytes; among which:

[0055] Keyword bit: occupies two bytes, is the core of the transport layer communication protocol, used for the control and management of the transmission mechanism, and distinguishes various types of messages.

[0056] Length bit: occupies one byte, indicating the length of the data payload part, mainly used to separate the data payload part after receiving a short message.

[0057] Data payload: For data packets, the length of the data payload part depends on the actual content to be sent, while the length of the data payload part of the response packet is fixed to one byte. Specifically, the 8 bits from high to low in the data payload part of the successful response packet are all 0; while the feedback response packet, from high to low, takes the total number of N bits of the sub-packet to indicate whether the sub-packet of the sequence number fails to be received. 0 indicates that the sub-packet of the sequence number fails to be received, and 1 indicates that the sub-packet of the sequence number is received successfully.

[0058] Check bit: occupies two bytes and is used to ensure the distortion-free transmission of the data to be transmitted. Considering the limited single communication capacity of Beidou short message communication, this article only uses CRC-16 check for error detection, and does not implement the error correction function. Its generating polynomial is:

[0059] G(x)=x 16 +x 15 +x 2 +1; after receiving the short message, separate the message communication content. If the check code is the same as the result calculated by the same method as the received data, the message is authentic; otherwise, the message is distorted.

[0060] The multi-priority buffer module 8 divides the Beidou short message into three categories according to the different bit error rates and delay requirements of various services in the vehicle remote status monitoring system: 1) fault message; 2) message message; 3) status message. Fault message is the fault code information generated when the vehicle fails, which needs to be processed quickly. This type of message is the most important and has the highest priority; message message is the preset information or custom content transmitted by the vehicle to the rear technical position in an emergency state, usually for tactical or maintenance support needs, with medium priority; status message is data reflecting the real-time status information of the vehicle, providing a basis for vehicle big data analysis, which can be transmitted when the channel is idle in the acquisition terminal cache, and has the lowest priority. Each message is distinguished by the message ID rule, which is convenient for the monitoring thread to distinguish the type and push it to different priority buffer queues, and the processing thread prioritizes the message information in the level 0 queue according to the queue. The priorities of the three types of messages are: fault message (level 0) > message message (level 1) > status message (level 2), respectively represented as P0, P1, and P2, and the three message service sets are P = {P0, P1, P2}. The main thread of the communication server prioritizes the messages in the level 0 queue, and then processes the messages in the level 1 queue when the level 0 queue is empty. The number of queues with the same priority is dynamically generated according to the user message ID rule. When the user increases the message priority, the number of priority queues increases dynamically, enhancing the scalability of the system.

[0061] The thread pool management module 9 starts multiple listening threads at the same time when the service is started. Each listening thread corresponds to a Beidou receiver to process the short message sent by the vehicle Beidou satellite positioning system. When the message is listened, a data processing thread is created to unpack the message data, and the thread responsible for the storage operation processes the data in the multi-priority buffer queue according to the priority. In the process, the Executor framework of the Java concurrent library is applied to manage threads using the function of its thread pool. In addition, when writing message data to the rear priority queue, a buffer is necessary. If only one buffer is designed and shared by all threads, congestion will occur, and each thread will seize resources, which is easy to increase the packet loss rate. If the buffer is dispersed into each thread, it is found that this approach will increase the program coupling degree and the system scalability will also be reduced when writing data to the rear queue. It will also cause congestion. Therefore, a multi-queue synchronous buffer queue is applied as a buffer for data storage and processing, and a buffer queue is allocated to every three listening threads, which can avoid problems such as program coupling and high packet loss rate. At the same time, the listening thread has its own buffer to ensure the listening is effective, while the data processing thread and IO operation thread use the shared buffer managed by the Executor framework to improve resource utilization.

[0062] Processing thread creation module 10 When the listening thread receives the Beidou short message through the serial communication board, the main thread creates an object to implement the Runnable or Callable interface. The tool class Executors encapsulates a Runnable object as a Callable object, and then the Runnable object can be directly handed over to ExecutorService for execution ExecutorService.execute(Runnablecommand);

[0063] Alternatively, you can submit the Runnable object or Callable object to the ExecutorService to execute ExecutorService.submit(Runnabletask) or ExecutorService.submit(Callable<T>task). If you execute ExecutorService.submit, ExecutorService will return an object that implements the Future interface. Since FutureTask implements Runnable, you can also create a FutureTask and then directly hand it over to ExecutorService for execution. Finally, the main thread can execute the FutureTask.get() method to wait for the task to be completed. At this point, the dynamic creation of the processing thread is completed. The data processing thread decides whether to create a new thread based on the number of tasks to improve efficiency.

[0064] The operation process of the data processing and analysis module 5 includes:

[0065] Data collection: The module collects real-time and historical data from the positioning module, communication module and monitoring module.

[0066] Data cleaning: Preprocess the collected data, including removing invalid data, correcting erroneous data, filling missing values, etc.

[0067] Data storage: The cleaned data is stored in the database for subsequent analysis and query.

[0068] Data analysis: Use data mining and machine learning algorithms to analyze stored data and extract valuable information, such as personnel behavior patterns, vehicle usage frequency, etc.

[0069] Data presentation: The analysis results are presented to the staff or managers of the monitoring center in the form of charts, reports, etc.

[0070] Decision support: Based on the analysis results, provide decision support to the monitoring center, such as optimizing route planning, predicting potential risks, etc.

[0071] Emergency Rescue Module 6 includes:

[0072] Rescue signal reception: The module continuously monitors the distress signal from the communication module.

[0073] Rescue signal confirmation: When a distress signal is received, the system will confirm it to ensure the accuracy of the signal.

[0074] Rescue coordination: Based on the distress signal, the system will initiate the rescue coordination process, including notifying the rescue team, dispatching nearby resources, etc.

[0075] Rescue execution: The rescue team carries out the rescue mission according to the information and instructions provided by the system.

[0076] Rescue tracking: The system tracks the rescue process in real time to ensure the smooth progress of the rescue operation.

[0077] Rescue end: After the rescue mission is completed, the system records the rescue results and closes the rescue process.

[0078] The internal configuration of the user interface interaction module 7 includes:

[0079] Login authentication module: Users log in to the system using their username and password, and the system verifies the user's identity.

[0080] Main interface display module: After logging in, the user sees the main interface, which displays the main functions and real-time information of the system.

[0081] Information query module: Users can query personnel location, vehicle status, historical trajectory, etc. through the interface. Command sending module: Users can send commands through the interface, such as sending messages, requesting location updates, etc.

[0082] Emergency response module: Users can send distress signals through the interface in emergency situations.

[0083] System settings module: Users can set personal preferences and change passwords.

[0084] In the present invention, by setting a multi-priority buffer module 8 to divide Beidou short messages into different priorities, the system can process the messages in an orderly manner according to their importance, ensuring that key information such as fault messages can be processed in a timely manner, thereby improving the response speed and efficiency of the system. The multi-priority buffer module 8 can reduce the risk of data loss, effectively manage different types of data streams, reduce data loss under high traffic conditions, and ensure the integrity of important data. The multi-priority buffer module 8 can enhance the scalability of the system: the number of priority queues is dynamically generated, so that the system can be flexibly adjusted according to actual needs, increasing the adaptability and scalability of the system.

[0085] In the present invention, the thread pool management module 9 reduces the overhead of thread creation and destruction by reusing threads, thereby improving the CPU utilization and system throughput. The thread pool management module 9 reduces resource competition: by reasonably allocating thread resources, it reduces resource competition and context switching between multiple threads, thereby improving the stability and reliability of the system. At the same time, it enhances the system responsiveness: the thread pool can quickly respond to new task requests, improves the concurrent processing capability of the system, and is particularly suitable for high-concurrency scenarios that process a large number of short messages.

[0086] In the present invention, the processing thread creation module 10 dynamically creates threads according to the number and complexity of tasks, which not only ensures the efficient operation of the system, but also avoids the waste of resources. The processing thread creation module 10 can dynamically adjust the number of threads according to the actual load, so that the system can maintain good performance when facing sudden high traffic. The processing thread creation module 10 creates a special data processing thread, and the system can focus more on the analysis and processing of data, improving the accuracy and real-time performance of data processing. In summary, the multi-priority buffer module, the thread pool management module and the processing thread creation module jointly provide efficient and stable data processing capabilities for the personnel and vehicle safety assurance system based on Beidou short messages, ensuring that the system can maintain excellent performance and reliability when facing complex and changing environments. The design and application of these modules not only improve the operating efficiency of the system, but also enhance the scalability and flexibility of the system, and provide users with better security services.

[0087] It should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the term "comprises" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0088] The above embodiments are only used to illustrate the technical solutions of the present invention, rather than to limit the same. Although the present invention has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that the technical solutions described in the aforementioned embodiments may still be modified, or some of the technical features may be replaced by equivalents. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims

1. A personnel and vehicle safety assurance system based on Beidou short message, comprising a power supply module (1), a vehicle data acquisition module (2), a Beidou short message module (3), a monitoring system module (4), a data processing and analysis module (5), an emergency rescue module (6), a user interface interaction module (7), a multi-priority buffer module (8), a thread pool management module (9) and a processing thread creation module (10), characterized in that: The output end of the power supply module (1) is connected to the input end of the vehicle data acquisition module (2), the output end of the vehicle data acquisition module (2) is connected to the input end of the Beidou short message module (3), the output end of the Beidou short message module (3) is connected to the input end of the monitoring system module (4), the output end of the monitoring system module (4) is connected to the input ends of the data processing and analysis module (5) and the emergency rescue module (6), and the control interface end of the monitoring system module (4) is provided with a user interface interaction module (7).

2. A personnel and vehicle safety assurance system based on Beidou short message as claimed in claim 1, characterized in that: The monitoring system module (4) is internally provided with a multi-priority buffer module (8), a thread pool management module (9) and a processing thread creation module (10); the overall output end of the multi-priority buffer module (8), the thread pool management module (9) and the processing thread creation module (10) is connected to the input end of the monitoring system module (4).

3. A personnel and vehicle safety assurance system based on Beidou short message as claimed in claim 1, characterized in that: The vehicle data acquisition module (2) acquires the position information of personnel and vehicles in real time through the Beidou satellite navigation system, and transmits the data to the monitoring center; the positioning module includes Beidou terminal equipment and positioning data processing software.

4. A personnel and vehicle safety assurance system based on Beidou short message as claimed in claim 1, characterized in that: The Beidou short message module (3) uses three flag bits, namely a keyword bit, a length bit and a check bit, to ensure the correct operation of the communication strategy, occupying a total of five bytes; wherein: Keyword bit: occupies two bytes, is the core of the transport layer communication protocol, used for the control and management of the transmission mechanism, and distinguishes various types of messages; Length bit: occupies one byte, indicating the length of the data payload part, mainly used to separate the data payload part after receiving a short message; Data payload: For data packets, the length of the data payload part depends on the actual content to be sent, while the length of the data payload part of the response packet is fixed to one byte; specifically, the eight bits of the data payload part of the successful response packet are all 0 from high to low; and the feedback response packet, from high to low, takes the total number of sub-packets N bits to indicate whether the sub-packet of the sequence number fails to be received. 0 indicates that the sub-packet of the sequence number fails to be received, and 1 indicates that the sub-packet of the sequence number is received successfully; Check bit: occupies two bytes and is used to ensure the distortion-free transmission of the data to be transmitted. Considering the limited single communication capacity of Beidou short message communication, this article only uses CRC-16 check for error detection, and does not implement the error correction function. Its generating polynomial is: G(x)=x 16 +x 15 +x 2 +1; after receiving the short message, separate the message communication content. If the check code is the same as the result calculated by the same method as the received data, the message is authentic; otherwise, the message is distorted.

5. A personnel and vehicle safety assurance system based on Beidou short message as claimed in claim 1, characterized in that: The multi-priority buffer module (8) divides Beidou short messages into three categories according to the different bit error rates and delay requirements of various services in the vehicle remote status monitoring system: 1) fault message; 2) message message; 3) status message; the fault message is the fault code information generated when a vehicle fails, which needs to be processed quickly and is the most important and has the highest priority; the message message is the preset information or customized content transmitted by the vehicle to the rear technical position in an emergency state, usually for tactical or maintenance support needs.

6. A personnel and vehicle safety assurance system based on Beidou short message as claimed in claim 1, characterized in that: The thread pool management module (9) starts a plurality of monitoring threads at the same time when the service is started. Each monitoring thread corresponds to a Beidou receiver to process short messages sent by the vehicle Beidou satellite positioning system. When a message is monitored, a data processing thread is created to unpack the message data. The thread responsible for storage operation processes the data in the multi-priority buffer queue according to the priority.

7. A personnel and vehicle safety assurance system based on Beidou short message as claimed in claim 1, characterized in that: When the listening thread receives the arrival of the Beidou short message through the serial communication board, the processing thread creation module (10) creates an object to implement the Runnable or Callable interface, and the tool class Executors encapsulates a Runnable object into a Callable object, and then directly hands the Runnable object to the ExecutorService to execute ExecutorService.execute(Runnablecommand); Alternatively, you can submit the Runnable object or Callable object to the ExecutorService for execution via ExecutorService.submit(Runnabletask) or ExecutorService.submit(Callable<T>task); if you execute ExecutorService.submit, ExecutorService will return an object that implements the Future interface; since FutureTask implements Runnable, you can also create a FutureTask and then hand it over directly to the ExecutorService for execution; finally, the main thread can execute the FutureTask.get() method to wait for the task to be completed, thus completing the dynamic creation of the processing thread. The data processing thread decides whether to create a new thread based on the number of tasks to improve efficiency.

8. A personnel and vehicle safety assurance system based on Beidou short message as claimed in claim 1, characterized in that: The operation process of the data processing and analysis module (5) includes: Data collection: The module collects real-time and historical data from the positioning module, communication module and monitoring module; Data cleaning: pre-processing the collected data, including removing invalid data, correcting erroneous data, and filling missing values; Data storage: The cleaned data is stored in the database for subsequent analysis and query; Data analysis: Use data mining and machine learning algorithms to analyze stored data and extract valuable information, such as personnel behavior patterns and vehicle usage frequency; Data presentation: present the analysis results to the staff or managers of the monitoring center in the form of charts and reports; Decision support: Based on the analysis results, provide decision support to the monitoring center, such as optimizing route planning and predicting potential risks.

9. A personnel and vehicle safety assurance system based on Beidou short message as claimed in claim 1, characterized in that: The emergency rescue module (6) comprises: Rescue signal reception: The module continuously monitors the distress signal from the communication module; Rescue signal confirmation: When a distress signal is received, the system will confirm it to ensure the accuracy of the signal; Rescue coordination: Based on the distress signal, the system will initiate the rescue coordination process, including notifying the rescue team and dispatching nearby resources; Rescue execution: The rescue team executes the rescue mission according to the information and instructions provided by the system; Rescue tracking: The system tracks the rescue process in real time to ensure the smooth progress of the rescue operation; Rescue end: After the rescue mission is completed, the system records the rescue results and closes the rescue process.

10. A personnel and vehicle safety assurance system based on Beidou short message as claimed in claim 1, characterized in that: The user interface interaction module (7) is internally provided with: Login authentication module: users log in to the system with username and password, and the system verifies the user's identity; Main interface display module: After logging in, the user sees the main interface, which displays the main functions and real-time information of the system; Information query module: users can query personnel location, vehicle status, and historical trajectory through the interface; Command sending module: users can send commands through the interface, such as sending messages and requesting location updates; Emergency response module: users can send distress signals through the interface in emergency situations; System settings module: Users can set personal preferences and change passwords.