Message management method and management system of square cabin vehicle command and control system
By classifying and merging the data collected by the command and control system of the square cabin, encapsulating it into data blocks, and performing merge and priority judgment strategies during the transmission process, the problems of redundancy and delay in data transmission in traditional methods are solved, and efficient and reliable data transmission is achieved.
Patent Information
- Application Number
- CN202510046584.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-05-09
- Estimated Expiration
- 2045-01-13
AI Technical Summary
The message management method of traditional square cabin vehicle command and control system lacks an effective data classification and merging mechanism, resulting in redundant and duplicate information in data transmission, increasing network burden and transmission time, and being unable to dynamically adjust the priority and order of data transmission, affecting decision-making efficiency.
By sorting and merging the collected data, encapsulate it into data blocks, and sending update signals and acquisition instructions for copying and allocation. Perform merge and priority judgment strategies in the waiting transmission queue to adjust the transmission sequence; perform block judgment strategies according to the status of the transmission channel, and select the optimal transmission method.
Effectively organize and organize messages, improve the efficiency and reliability of data transmission, ensure the orderliness and efficiency of data transmission, and avoid data congestion and transmission delay.
Smart Images

Figure CN119966913A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of modular cabin vehicle data management, and in particular to a message management method and management system for a modular cabin vehicle command and control system. Background Art
[0002] In today's rapidly developing modernization and informatization, shelter vehicles, as a highly mobile command platform, play a vital role in military, emergency management and daily operations; shelter vehicles not only integrate multiple functions such as communication, command, and control, but can also be quickly deployed in complex and changing environments to provide real-time and accurate information support for decision makers; however, with the continuous expansion of the application field of shelter vehicles, the complexity of their internal command and control systems has also increased, and the demand for message management has become increasingly urgent; therefore, it is particularly important to develop an efficient and reliable message management method for the shelter vehicle command and control system; Traditional message management methods for modular vehicle command and control systems often lack an effective classification and merging mechanism for collected data, resulting in a large amount of redundant and duplicate information during data transmission, increasing network burden and transmission time; secondly, traditional methods may not be able to dynamically adjust the priority and order of data transmission according to the actual needs of the department management system, resulting in delayed arrival of key data and affecting decision-making efficiency; in addition, existing methods may not be able to accurately determine whether to select a single or multiple transmission channels for transmission, and lack an intelligent transmission mode determination method, which may cause transmission channel resources to be idle or overloaded, and result in information data not being transmitted to the departments that need the data more quickly. Summary of the invention
[0003] 1. Technical issues to be resolved In response to the technical problems in the background technology, the present invention proposes a message management method and management system for a container vehicle command and control system, which classifies and encapsulates the collected data into data blocks, sends update signals and receives acquisition instructions for copying and distribution; in the waiting transmission queue, the transmission order is adjusted according to the data block situation by executing the merging and priority judgment strategy; according to the transmission channel status, the first and second block judgment strategies are executed to select the optimal transmission mode; thereby solving the technical problems recorded in the background technology.
[0004] (II) Technical solution To achieve the above objectives, the present invention is implemented through the following technical solutions: A message management method for a shelter vehicle command and control system, comprising: Classify the data collected by the data collection system, merge and encapsulate the data of the same type, and obtain data blocks of the corresponding type; send data update signals of the corresponding data block type to the management systems of the departments associated with each type of data block, and receive data acquisition instructions sent by the management systems of the departments associated with each type of data block, and perform copying and allocation operations on the corresponding data blocks based on the number of data acquisition instructions for each type of data block; In the waiting transmission queue of the department management system, when a new associated data block is detected, it is determined whether to execute the merging judgment strategy, and whether to execute the priority judgment strategy according to the number of associated data blocks after merging; the order of transmission of the associated data blocks in the waiting transmission queue is adjusted based on the result after the priority judgment strategy is executed; When the associated data block is ranked first in the waiting transmission queue, the block judgment strategy is executed according to the usage of each transmission channel; if all transmission channels are in an idle state, the first block judgment strategy is executed; if there are transmission channels in an idle state and a non-idle state at the same time, the second block judgment strategy is executed; if all transmission channels are in a non-idle state, the second block judgment strategy is executed after an idle transmission channel appears; both the first block judgment strategy and the second block judgment strategy select the transmission method with the shortest transmission time for the transmission operation.
[0005] Specifically, the command and control system of the shelter vehicle is associated with multiple department management systems and multiple data collection systems; Merge the same type of data received by the command and control system at the same time, and encapsulate the same type of data in a data block. The type of the data block is the same as the type of the data in the data block, and the size of the data block is represented by the amount of encapsulated data; Sending a data update signal corresponding to the data block type to the associated department management system of each type of data block, wherein the associated department management system represents each department management system related to each type of data; After receiving the data update signal of the corresponding data block type, the management system of the related department determines whether to send a data acquisition instruction of the corresponding type of data to the command and control system of the shelter vehicle; When the command and control system of the shelter vehicle receives the data acquisition instruction from the department management system, it determines whether to send the corresponding data update signal again based on the quantitative relationship between the sent data update signal and the received data acquisition instruction.
[0006] Further, the number of received data acquisition instructions for each type of data block is obtained, and for a data block type for which only one data acquisition instruction exists, the copied data block of this type is directly placed in the waiting transmission queue of the corresponding associated department management system after the copy operation is completed; For data acquisition instructions with multiple identical data block types, during the copy operation, each time a copy data block is obtained, the copy data blocks are sent to the corresponding waiting transmission queue in descending order of priority; Obtain the time when the management system of each related department sent the data acquisition instructions of the corresponding type of data several times before, and calculate the average time interval between the sending of these data acquisition instructions , the average time interval It is inversely proportional to the priority of the data block for each associated department management system, where Indicates Type data.
[0007] Further, when it is detected that a new associated data block appears in the waiting transmission queue, the number of associated data blocks in the waiting transmission queue at this time is counted; When it is detected that there is only one associated data block in the waiting transmission queue, the priority determination strategy is not executed; When it is detected that there are multiple associated data blocks in the waiting transmission queue, the merge judgment strategy is first executed to determine whether there are multiple associated data blocks with the same data type among the multiple associated data blocks. If so, the associated data blocks with the same data type are merged to obtain a new associated data block; if not, no merge operation is performed.
[0008] Specifically, after executing the merge judgment strategy, the number of associated data blocks in the waiting transmission queue is detected. If there is only one associated data block in the waiting transmission queue at this time, the priority judgment strategy is not executed; If there are multiple associated data blocks in the waiting transmission queue at this time, the priority judgment strategy is executed to judge the transmission order of each associated data block in the waiting transmission queue according to the waiting time characteristics and the data type priority characteristics; The waiting time feature represents the waiting time data of each associated data block, based on the time when each associated data block enters the waiting transmission queue. and the current time Calculated; for the associated data block after merging, the time of entering the waiting transmission queue is the minimum value of the time of entering the waiting transmission queue of all associated data blocks before merging; The data type priority feature represents the average time interval between the previous times when the management systems of the associated departments sent data acquisition instructions for the corresponding data type. .
[0009] Furthermore, the transmission priority index of each data block is calculated by combining the waiting time characteristics and data type priority characteristics of all data blocks in the waiting transmission queue. , the expression is: ;in, represents the preset weight coefficient of the waiting time feature, A preset weight coefficient representing a priority characteristic of a data type; According to the transmission priority index The placement of all data blocks in the queue waiting for transmission is adjusted from large to small.
[0010] Specifically, if all transmission channels are in an idle state, the first block determination strategy is executed: the transmission time required for the single-channel transmission mode and the multi-channel transmission mode are respectively simulated; For single-channel transmission, obtain the size of the associated data block and calculate the transmission time required for single-channel transmission based on the transmission rate of the transmission channel. ; For multi-channel transmission, the associated data blocks are divided into Transfer time of the share ,in, , is the number of transmission channels; transmission time The calculation formula is: ,in, Indicates the size of the associated data block, Indicates the transmission rate of the transmission channel, Indicates the time required for chunking; Calculate in sequence Transmission time for different values , and the transmission time of each block mode in multi-channel transmission Transmission time required for single channel transmission Compare and select the transmission mode with the shortest transmission time to perform the transmission operation of the corresponding associated data block.
[0011] Furthermore, if there are both idle and non-idle transmission channels, the second block determination strategy is executed: the number of idle transmission channels is obtained. ; Calculate the transmission time under single-channel transmission mode ; and update The value range of , calculate the transmission time of multiple channels under different block modes ; Get the remaining transmission time of the transmission channels in the non-idle state, which is calculated by the size of the data block transmitted by each channel and the current time; select the transmission channel with the smallest remaining transmission time, and , calculate the size of the data block transmitted when the data block is transmitted through a single channel in the current associated data block .
[0012] Further, judge The size relationship with the currently associated data block ,like Greater than , then only based on the transmission time under single-channel transmission mode Transmission time under different block modes and multi-channel Select the transmission method; like Less than , then determine No more than of The maximum value of , The value range is , and calculate separately first through The channels transmit part of the associated data block under the minimum remaining transmission time, and then transmit the remaining part of the associated data block. Transmission time when transmitting through one channel , the expression is: ,in The value range is ; Get and When taking different values, the transmission time The minimum value of the transmission time when only a single channel is transmitted and the transmission time of different block modes through multiple channels only Compare and select the transmission method with the shortest transmission time to transmit the associated data blocks.
[0013] A message management system for a shelter vehicle command and control system, comprising: The data block establishment and allocation module is used to classify the data collected by the data acquisition system, merge the data of the same type and encapsulate them to obtain data blocks of the corresponding type; send data update signals of the corresponding data block type to the management systems of the associated departments of each type of data block, and receive data acquisition instructions sent by the management systems of each associated department, and based on the number of data acquisition instructions of each type of data block, respectively perform copying and allocation operations on the corresponding data blocks; The data block transmission order determination module is used to manage the waiting transmission queue of the department system, and when a new associated data block is detected, determine whether to execute the merging judgment strategy, and determine whether to execute the priority judgment strategy according to the number of associated data blocks after merging; adjust the transmission order of the associated data blocks in the waiting transmission queue based on the result after the priority judgment strategy is executed; The data block transmission mode determination module is used to execute the block judgment strategy according to the usage of each transmission channel when the associated data block is ranked first in the waiting transmission queue; if all transmission channels are in an idle state, the first block judgment strategy is executed; if some transmission channels are in an idle state, the second block judgment strategy is executed; if all transmission channels are in a non-idle state, the transmission mode is determined according to the second block judgment strategy after an idle transmission channel appears, and the second block judgment strategy is executed; both the first block judgment strategy and the second block judgment strategy select the transmission mode with the shortest transmission time for transmission operation.
[0014] (III) Beneficial effects The present invention provides a message management method and management system for a shelter vehicle command and control system, which has the following beneficial effects: 1. The data acquisition system periodically monitors and collects relevant data, and merges the data of the same category acquired at the same time and encapsulates them in a data block, which reflects the effective organization and arrangement of messages and facilitates subsequent processing and transmission. When the department management system needs to obtain data, the command and control system of the shelter vehicle will copy the corresponding type of related data blocks, and allocate data blocks according to the number and priority of the related department management systems. The data block transmission order is determined by calculating the priority of the data type for each related department management system, which reflects the flexibility and intelligence of the message management system in the data transmission process. 2. By placing the associated data blocks to be transmitted in the waiting transmission queue of each department management system, the system will determine whether to trigger the priority judgment strategy or the merging judgment strategy based on the number and type of associated data blocks in the waiting transmission queue. This ensures the orderliness and efficiency of data transmission, avoids data congestion and transmission delays, and makes the order of data transmission more reasonable, avoiding the situation where a certain data block waits too long; 3. During the data transmission process, the system will also determine whether block transmission is required based on the usage of the transmission channel. By simulating the transmission time required for single-channel transmission and multi-channel transmission, the system will select the transmission method with the shortest transmission time to perform the transmission operation of the corresponding associated data blocks. This reflects the optimization and adaptability of the message management system during the data transmission process, and improves the efficiency and reliability of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] Figure 1 A schematic diagram of the steps of a message management method of a shelter vehicle command and control system provided by the present invention; Figure 2 A flowchart for implementing step three in a message management method of a shelter vehicle command and control system provided by the present invention; Figure 3A structural schematic diagram of a message management system of a shelter vehicle command and control system provided by the present invention. DETAILED DESCRIPTION
[0016] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0017] refer to Figure 1 and Figure 2 The present invention provides a message management method for a shelter vehicle command and control system, comprising: Step 1: classify the data collected by the data collection system, merge and encapsulate the data of the same type, and obtain data blocks of the corresponding type; send data update signals of the corresponding data block types to the management systems of the departments associated with each type of data block, and receive data acquisition instructions sent by the management systems of the associated departments, and based on the number of data acquisition instructions for each type of data block, respectively perform copying and allocation operations on the corresponding data blocks; The step one includes the following steps: Step 101: The command and control system of the shelter vehicle is associated with multiple department management systems and multiple data collection systems, wherein the data collection system includes an environmental data collection system, a communication signal collection system, a traffic data collection system, etc.; Message management in the shelter vehicle command and control system refers to the data management between the command and control system and the management systems of various departments. The present invention mainly relates to the data transmission management between the command and control system and the management systems of various departments. The data acquisition system periodically monitors and collects relevant data. When the data acquisition system collects new data and sends it to the command and control system of the container vehicle, the command and control system of the container vehicle will classify the data. For example, for the collected environmental data, the temperature change data and temperature characteristic data are all classified as temperature type data; for the collected traffic data, the emergency accident related data, such as the road section where the emergency occurred, the vehicles involved in the emergency, etc. are all classified as emergency type data; each data collected in the data acquisition system has a corresponding type; the data of the same type acquired at the same time are merged and encapsulated in a data block, waiting for the subsequent data matching and copying operations, and the type of the data block is the same as the type of the data in the data block; when encapsulating the data block, the size of the data block is represented by the encapsulated data volume, and the encapsulated data volume represents the number of bytes; the encapsulated data block also includes the time data when the data is acquired; Step 102: After the command and control system of the shelter vehicle encapsulates the acquired data in a data block, it sends a data update signal of the corresponding data block type to the associated department management system of each type of data block, and waits for each associated department management system to obtain the corresponding data. The associated department management system represents each department management system related to each type of data block. Each department management system needs the corresponding data block of each type, and these department management systems are the associated department management systems of the corresponding type of data block. The data blocks encapsulated in the command and control system of the shelter vehicle are used as backup data blocks for subsequent copying operations of data blocks for transmission; after receiving the data update signal of the corresponding data block type, the management system of the associated department can choose whether to obtain the corresponding data. If the corresponding data block needs to be obtained, the data acquisition instruction of the corresponding type of data block is sent to the command and control system of the shelter vehicle; When the command and control system of the shelter vehicle receives the data acquisition instruction from the department management system, it counts all types of data blocks designed in the data acquisition instructions sent by all department management systems, that is, related data blocks; the related data blocks represent all types of data blocks related to each department management system, that is, all types of data blocks that can be obtained by each department management system during operation; Step 103, determining the relationship between the number of sent data update signals and the number of received data acquisition instructions. If the number of sent data update signals is greater than the number of received data acquisition instructions, it means that there are several associated department management systems that have not sent data acquisition instructions. After a preset buffer time, data update signals of corresponding data block types are sent again to the several associated department management systems that have not sent data acquisition instructions. If the data acquisition instruction is still not sent after the same buffer time, the backup data blocks of the corresponding type are stored in the database of the corresponding type. If the number of data update signals sent is equal to the number of data acquisition instructions received, it means that all associated department management systems have sent data acquisition instructions, and the data block copy operation is ready based on the number of associated department management systems; Step 104, obtaining the number of data acquisition instructions received for each type of data block; for a data block type with only one data acquisition instruction, it means that there is only one associated department management system for the data block of this type, and to perform the copy operation of the data block, only one data block needs to be copied, and after the copying is completed, the copied data block of this type is placed in the waiting transmission queue of the corresponding associated department management system, waiting for subsequent transmission operations; For data acquisition instructions with multiple data blocks of the same type, it means that there are multiple associated department management systems for the data block of this type, and a copy operation of the data block is performed. During the copy operation, the priority of the data block of this type for each associated department management system is combined, and each time a copy data block is obtained, the copy data block is placed in the waiting transmission queue of the associated department management system with the highest priority; The priority of the data block of this type for each associated department management system is calculated based on the historical record data of each associated department management system sending the data acquisition instruction of the corresponding type of data, specifically obtaining the time of the previous several times that each associated department management system sent the data acquisition instruction of the corresponding type of data, and calculating the average time interval between the sending of these data acquisition instructions Average time interval The larger the value is, the less frequent the demand for this type of data by the associated department management system is, that is, the lower the priority of this type of data block for each associated department management system is, where i represents the i-th type of data; Based on the above-mentioned priority determination method, all associated department management systems to be transmitted are sorted, and the copied data blocks are sent to the corresponding waiting transmission queue in order from high to low priority; the associated department management system to be transmitted represents the associated department management system that sends the data acquisition instruction of the corresponding type of data.
[0018] When using, combine the contents in steps 101 to 104: The data acquisition system periodically monitors and collects relevant data, merges the data of the same category acquired at the same time, and encapsulates them in a data block, which reflects the effective organization and arrangement of messages and facilitates subsequent processing and transmission. When the department management system needs to obtain data, the command and control system of the container vehicle will copy the associated data blocks of the corresponding type, and allocate data blocks according to the number and priority of the associated department management systems. The transmission order of the data blocks is determined by calculating the priority of the data type for each associated department management system, which reflects the flexibility and intelligence of the message management system in the data transmission process.
[0019] Step 2: in the waiting transmission queue of the department management system, when a new associated data block is detected, it is determined whether to execute the merging judgment strategy, and whether to execute the priority judgment strategy according to the number of associated data blocks after merging; and the order of transmission of the associated data blocks in the waiting transmission queue is adjusted based on the result after the priority judgment strategy is executed; The step 2 includes the following steps: Step 201: each department manages the management system to place associated data blocks to be transmitted in the waiting transmission queue. When a new associated data block is detected in the waiting transmission queue, it is determined whether to execute a priority determination strategy according to the number of associated data blocks in the current waiting transmission queue. The priority determination strategy refers to determining the transmission priority of multiple associated data blocks in the waiting transmission queue to determine the order of data block transmission. Each department management system has a corresponding waiting transmission queue. Here, the transmission sequence of the waiting transmission queue of each department management system is analyzed; When it is detected that there is only one associated data block in the waiting transmission queue, the transmission mode of the associated data block is further determined according to the state of the waiting transmission queue of the current department management system; When it is detected that there are multiple associated data blocks in the waiting transmission queue, the merging judgment strategy is first executed to determine whether there are multiple associated data blocks with the same data type in these associated data blocks. If so, these associated data blocks with the same data type are merged in the order of entering the waiting transmission queue to obtain a new associated data block, and the size of the data block is updated after the merger; if not, no merging operation is performed; Step 202: After executing the merge judgment strategy, the number of associated data blocks in the waiting transmission queue is detected. If there is only one associated data block in the waiting transmission queue at this time, there is no need to execute the priority judgment strategy; If there are multiple associated data blocks in the waiting transmission queue at this time, the priority judgment strategy is executed to judge the transmission order of each associated data block in the waiting transmission queue according to the waiting time characteristics and the data type priority characteristics; The waiting time feature represents the waiting time data of each associated data block, based on the time when each associated data block enters the waiting transmission queue. and the current time Calculated; for the associated data block after merging, the time of entering the waiting transmission queue is the minimum value of the time of all associated data blocks entering the waiting transmission queue before merging, and the above time data are all in the form of timestamps during calculation; The data type priority feature represents the average time interval between the previous several times that the management systems of the associated departments sent data acquisition instructions for the corresponding data type in step 104. ; Step 203: Calculate the transmission priority index of each data block by combining the waiting time characteristics and data type priority characteristics of all data blocks in the waiting transmission queue. , the expression is: ;in, Represents the preset weight coefficient of the waiting time feature, relatively, a preset weight factor representing the priority characteristic of the data type, and The specific value of is set by the command and control management personnel of the shelter vehicle according to actual needs; According to the transmission priority index Adjust the placement of all data blocks in the waiting transmission queue from large to small, and the transmission priority index The larger the value is, the closer the corresponding data block is placed in the queue waiting for transmission, which means that the subsequent transmission operation will be performed earlier.
[0020] When using, combine the contents in steps 201 to 203: By placing the associated data blocks to be transmitted in the waiting transmission queue of each department management system, the system will determine whether to trigger the priority judgment strategy or the merge judgment strategy based on the number and type of associated data blocks in the waiting transmission queue. This ensures the orderliness and efficiency of data transmission, avoids data congestion and transmission delays, and makes the order of data transmission more reasonable, avoiding the situation where a certain data block waits too long.
[0021] Step 3: When the associated data block is ranked first in the waiting transmission queue, the block judgment strategy is executed according to the usage of each transmission channel; if all transmission channels are in an idle state, the first block judgment strategy is executed; if there are transmission channels in an idle state and a non-idle state at the same time, the second block judgment strategy is executed; if all transmission channels are in a non-idle state, the second block judgment strategy is executed after an idle transmission channel appears; the transmission mode with the shortest transmission time is selected in both the first block judgment strategy and the second block judgment strategy for transmission operation; refer to Figure 2 , the step three includes the following steps: Step 301: The command and control system of the shelter vehicle and the management systems of each department have multiple transmission channels. Before performing the transmission operation, each associated data block in the waiting transmission queue needs to determine whether it needs to be transmitted in blocks, that is, whether it needs to be transmitted through multiple transmission channels; When the associated data block is ranked first in the queue waiting for transmission, the block determination strategy of the associated data block is executed; Step 302: Execute the block judgment strategy to detect the usage of several transmission channels between the command and control system of the shelter vehicle and the corresponding department management system, and the transmission rate of each transmission channel. All are the same; If all transmission channels are idle, the first block judgment strategy is executed: the transmission time required for single-channel transmission and multi-channel transmission is simulated respectively; for single-channel transmission, the size of the associated data block is obtained, and based on the transmission rate of the transmission channel, the transmission time required for single-channel transmission is calculated. ; For multi-channel transmission, the associated data blocks are divided into Transfer time of the share ,in, , is the number of transmission channels; transmission time The calculation formula is: ,in, Indicates the size of the associated data block, Indicates the time required for block splitting. The value is the average time required for historical block splitting operations. Transmission time for different values , and the transmission time of each block mode in multi-channel transmission Transmission time required for single channel transmission Compare and select the transmission mode with the shortest transmission time to perform the transmission operation of the corresponding associated data block; Step 303: If there are both idle and non-idle transmission channels, execute the second block determination strategy: obtain the number of idle transmission channels. ; and calculate the transmission time under the single-channel transmission mode in the same way as in step 303 , and update The value range of , calculate the transmission time of multiple channels under different block modes ; In addition, the remaining transmission time of the transmission channel in the non-idle state is obtained, which is specifically calculated by the size of the data block transmitted by each channel and the current time; the transmission channel with the smallest remaining transmission time is obtained, and the remaining transmission time of the transmission channel is calculated based on the remaining transmission time of the transmission channel. , calculate the size of the data block transmitted when the data block is transmitted through a single channel in the current associated data block, after The size of the data block transmitted is ; Step 304: Determine The size relationship with the currently associated data block ,like Greater than , no subsequent analysis is performed, and only the transmission time under the above single-channel transmission mode is used. Transmission time under different block modes and multi-channel Select the transmission method; like Less than , then determine No more than of The maximum value of , The value range is , and calculate separately first through The channels transmit part of the associated data block under the minimum remaining transmission time, and then transmit the remaining part of the associated data block. Transmission time when transmitting through one channel , the expression is: ,in The value range is ; Get and When taking different values, the transmission time The minimum value of the transmission time when only a single channel is transmitted and the transmission time of different block modes through multiple channels only Compare and select the transmission mode with the shortest transmission time to transmit the associated data blocks; Step 305: If all transmission channels are in a non-idle state, wait for the transmission channel to become idle and determine the transmission mode according to the second block determination strategy.
[0022] When using, combine the contents in steps 301 to 305: During the data transmission process, the system will also determine whether block transmission is required based on the usage of the transmission channel. By simulating the transmission time required for single-channel transmission and multi-channel transmission, the system will select the transmission method with the shortest transmission time to perform the transmission operation of the corresponding associated data blocks. This reflects the optimization and adaptability of the message management system during the data transmission process, and improves the efficiency and reliability of data transmission.
[0023] refer to Figure 3 The present invention also provides a message management system for a shelter vehicle command and control system, comprising: The data block establishment and allocation module is used to classify the data collected by the data acquisition system, merge the data of the same type and encapsulate them to obtain data blocks of the corresponding type; send data update signals of the corresponding data block type to the management systems of the associated departments of each type of data block, and receive data acquisition instructions sent by the management systems of each associated department, and based on the number of data acquisition instructions of each type of data block, respectively perform copying and allocation operations on the corresponding data blocks; The data block transmission order determination module is used to manage the waiting transmission queue of the department system, and when a new associated data block is detected, determine whether to execute the merging judgment strategy, and determine whether to execute the priority judgment strategy according to the number of associated data blocks after merging; adjust the transmission order of the associated data blocks in the waiting transmission queue based on the result after the priority judgment strategy is executed; The data block transmission mode determination module is used to execute the block judgment strategy according to the usage of each transmission channel when the associated data block is ranked first in the waiting transmission queue; if all transmission channels are in an idle state, the first block judgment strategy is executed; if some transmission channels are in an idle state, the second block judgment strategy is executed; if all transmission channels are in a non-idle state, the transmission mode is determined according to the second block judgment strategy after an idle transmission channel appears, and the second block judgment strategy is executed; both the first block judgment strategy and the second block judgment strategy select the transmission mode with the shortest transmission time for transmission operation.
[0024] In the above embodiments, all or part of the embodiments may be implemented by software, hardware, firmware or any combination thereof. When implemented by software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of the present invention are generated. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer storage medium or transmitted via a computer storage medium.
[0025] Computer instructions can be transmitted from one website, computer, server or data center to another website, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. Computer storage media can be any available media that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media. Available media can be magnetic media (e.g., floppy disks, hard disks, tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid state drives (SSDs)).
[0026] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed by the present invention, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.
Claims
1. A message management method for a shelter vehicle command and control system, characterized in that: The steps include: Classify the data collected by the data collection system, merge and encapsulate the data of the same type, and obtain data blocks of the corresponding type; send data update signals of the corresponding data block type to the management systems of the departments associated with each type of data block, and receive data acquisition instructions sent by the management systems of the departments associated with each type of data block, and perform copying and allocation operations on the corresponding data blocks based on the number of data acquisition instructions for each type of data block; In the waiting transmission queue of the department management system, when a new associated data block is detected, it is determined whether to execute the merging judgment strategy, and whether to execute the priority judgment strategy according to the number of associated data blocks after merging; Based on the result of the priority judgment strategy execution, the order of transmission of associated data blocks in the waiting transmission queue is adjusted; When the associated data block is ranked first in the waiting transmission queue, the block determination strategy is executed according to the usage of each transmission channel; if all transmission channels are in an idle state, the first block determination strategy is executed; If there are transmission channels in both idle and non-idle states, the second block determination strategy is executed; If all transmission channels are in a non-idle state, the second block determination strategy is executed after an idle transmission channel appears; The first block determination strategy and the second block determination strategy both select the transmission mode with the shortest transmission time for transmission operation.
2. The message management method of the shelter vehicle command and control system according to claim 1, characterized in that: The command and control system of the shelter vehicle is linked to multiple department management systems and multiple data collection systems; Merge the same type of data received by the command and control system at the same time, and encapsulate the same type of data in a data block. The type of the data block is the same as the type of the data in the data block, and the size of the data block is represented by the amount of encapsulated data; Sending a data update signal corresponding to the data block type to the associated department management system of each type of data block, the associated department management system representing each department management system related to each type of data; After receiving the data update signal of the corresponding data block type, the management system of the related department determines whether to send a data acquisition instruction of the corresponding type of data to the command and control system of the shelter vehicle; When the command and control system of the shelter vehicle receives the data acquisition instruction from the department management system, it determines whether to send the corresponding data update signal again based on the quantitative relationship between the sent data update signal and the received data acquisition instruction.
3. A message management method for a shelter vehicle command and control system as claimed in claim 2, characterized in that: Obtain the number of data acquisition instructions received for each type of data block. For a data block type that has only one data acquisition instruction, directly put the copied data block of this type into the waiting transmission queue of the corresponding associated department management system after the copy operation is completed; For data acquisition instructions with multiple identical data block types, during the copy operation, each time a copy data block is obtained, the copy data blocks are sent to the corresponding waiting transmission queue in descending order of priority; Obtain the time when the management system of each related department sent the data acquisition instructions of the corresponding type of data several times before, and calculate the average time interval between the sending of these data acquisition instructions , the average time interval It is inversely proportional to the priority of the data block for each associated department management system, where Indicates Type data.
4. A message management method for a shelter vehicle command and control system as claimed in claim 3, characterized in that: When a new associated data block is detected in the waiting transmission queue, the number of associated data blocks in the waiting transmission queue is counted; When it is detected that there is only one associated data block in the waiting transmission queue, the priority determination strategy is not executed; When it is detected that there are multiple associated data blocks in the waiting transmission queue, a merging judgment strategy is first executed to judge whether there are multiple associated data blocks with the same data type in the multiple associated data blocks. If so, the associated data blocks with the same data type are merged to obtain a new associated data block. If it does not exist, no merge operation is performed.
5. The message management method of the shelter vehicle command and control system according to claim 4, characterized in that: After executing the merge judgment strategy, the number of associated data blocks in the waiting transmission queue is detected. If there is only one associated data block in the waiting transmission queue at this time, the priority judgment strategy is not executed; If there are multiple associated data blocks in the waiting transmission queue at this time, the priority judgment strategy is executed to judge the transmission order of each associated data block in the waiting transmission queue according to the waiting time characteristics and the data type priority characteristics; The waiting time feature represents the waiting time data of each associated data block, based on the time when each associated data block enters the waiting transmission queue. and the current time Calculated; for the associated data block after merging, the time of entering the waiting transmission queue is the minimum value of the time of entering the waiting transmission queue of all associated data blocks before merging; The data type priority feature represents the average time interval between the previous times when the management systems of the associated departments sent data acquisition instructions for the corresponding data type. .
6. A message management method for a shelter vehicle command and control system as claimed in claim 5, characterized in that: Combine the waiting time characteristics and data type priority characteristics of all data blocks in the waiting transmission queue to calculate the transmission priority index of each data block , the expression is: ;in, represents the preset weight coefficient of the waiting time feature, A preset weight coefficient representing a priority characteristic of a data type; According to the transmission priority index The placement of all data blocks in the queue waiting for transmission is adjusted from large to small.
7. The message management method of the shelter vehicle command and control system according to claim 1, characterized in that: If all transmission channels are in an idle state, the first block determination strategy is executed: the transmission time required for the single-channel transmission mode and the multi-channel transmission mode are respectively simulated; For single-channel transmission, obtain the size of the associated data block and calculate the transmission time required for single-channel transmission based on the transmission rate of the transmission channel. ; For multi-channel transmission, the associated data blocks are divided into Transfer time of the share ,in, , is the number of transmission channels; transmission time The calculation formula is: ,in, Indicates the size of the associated data block, Indicates the transmission rate of the transmission channel, Indicates the time required for chunking; Calculate in sequence Transmission time for different values , and the transmission time of each block mode in multi-channel transmission Transmission time required for single channel transmission Compare and select the transmission mode with the shortest transmission time to perform the transmission operation of the corresponding associated data block.
8. The message management method of the shelter vehicle command and control system according to claim 7, characterized in that: If there are both idle and non-idle transmission channels, the second block determination strategy is executed: the number of idle transmission channels is obtained. ; Calculate the transmission time under single-channel transmission mode ; and update The value range of , calculate the transmission time of multiple channels under different block modes ; Get the remaining transmission time of the transmission channels in the non-idle state, which is calculated by the size of the data block transmitted by each channel and the current time; select the transmission channel with the smallest remaining transmission time, and , calculate the size of the data block transmitted when the data block is transmitted through a single channel in the current associated data block .
9. A message management method for a shelter vehicle command and control system as claimed in claim 8, characterized in that: judge The size relationship with the currently associated data block ,like Greater than , then only based on the transmission time under single-channel transmission mode Transmission time under different block modes and multi-channel Select the transmission method; like Less than , then determine No more than of The maximum value of , The value range is , and calculate separately first through The channels transmit part of the associated data block under the minimum remaining transmission time, and then transmit the remaining part of the associated data block. Transmission time when transmitting through one channel , the expression is: ,in The value range is ; Get and When taking different values, the transmission time The minimum value of the transmission time when only a single channel is transmitted and the transmission time of different block modes through multiple channels only Compare and select the transmission method with the shortest transmission time to transmit the associated data blocks.
10. A message management system for a shelter vehicle command and control system, characterized in that: include: The data block establishment and allocation module is used to classify the data collected by the data acquisition system, merge the data of the same type and encapsulate them to obtain data blocks of the corresponding type; send data update signals of the corresponding data block type to the management systems of the associated departments of each type of data block, and receive data acquisition instructions sent by the management systems of each associated department, and based on the number of data acquisition instructions of each type of data block, respectively perform copying and allocation operations on the corresponding data blocks; The data block transmission order determination module is used to manage the waiting transmission queue of the department management system, and when a new associated data block is detected, determine whether to execute the merging judgment strategy, and determine whether to execute the priority judgment strategy according to the number of associated data blocks after merging; Adjust the order of transmission of associated data blocks in the waiting transmission queue based on the result of the priority judgment strategy execution; The data block transmission mode determination module is used to execute the block determination strategy according to the usage of each transmission channel when the associated data block is ranked first in the waiting transmission queue; if all transmission channels are in an idle state, the first block determination strategy is executed; If some transmission channels are in an idle state, the second block determination strategy is executed; If all transmission channels are in a non-idle state, after an idle transmission channel appears, the transmission mode is determined according to the second block determination strategy, and the second block determination strategy is executed; The first block determination strategy and the second block determination strategy both select the transmission mode with the shortest transmission time for transmission operation.
Citation Information
Patent Citations
Method and device for replication group transmission and storage device
CN103024075A
Data processing method and device
CN117785997A
Multi-channel message queue low-delay optimization method
CN118282798A
Data transmission priority scheduling method
CN118509387A
Techniques for combining segmented messages in a communications network
US10728719B1