Message management method and management system for a command and control system of a mobile cabin vehicle
By classifying and encapsulating and merging data in the square vehicle command and control system, and combining transmission queues and channel states to optimize transmission strategies, the problems of data transmission redundancy and delay in traditional methods are solved, and the efficiency and reliability of the system are improved.
Patent Information
- Application Number
- CN202510046584.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-13
- Publication Date
- 2025-07-29
- Estimated Expiration
- 2045-01-13
AI Technical Summary
The traditional square cabin command and control system lacks effective data classification and merging mechanisms, resulting in redundant and duplicate information in data transmission, and the inability to dynamically adjust the transmission priority and order according to departmental needs, affecting decision-making efficiency, and may lead to idle or overload of transmission channel resources.
By classifying and encapsulating the collected data into data blocks, performing merge and priority judgment strategies based on the transmission queue and channel status, selecting the optimal transmission method to ensure the orderliness and efficiency of data transmission.
It realizes the flexibility and intelligence of data transmission, avoids data congestion and delay, and improves transmission efficiency and reliability.
Smart Images

Figure CN119966913B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of data management of mobile shelters, and in particular to a message management method and management system for a command and control system of a mobile shelter vehicle. Background Art
[0002] Today, with the rapid development of modernization and informatization, as a highly mobile command platform, mobile shelter vehicles play a crucial role in military, emergency management, and daily operations; mobile shelter vehicles not only integrate various functions such as communication, command, and control, but also can 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 fields of mobile shelter vehicles, the complexity of their internal command and control systems has also increased, and the need for message management has become increasingly urgent; therefore, it is particularly important to develop an efficient and reliable message management method for the command and control system of mobile shelter vehicles;
[0003] Traditional message management methods for the command and control systems of mobile shelter vehicles often lack effective classification and merging mechanisms for the collected data, resulting in a large amount of redundant and duplicate information during data transmission, increasing the 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 key data arriving late and affecting decision-making efficiency; in addition, existing methods may not be able to accurately judge and select single or multiple transmission channels for transmission, lacking an intelligent transmission method judgment method, which may cause idle or overloaded transmission channel resources and result in information data not being able to be transmitted to the department that needs the data more quickly. Summary of the Invention
[0004] (I) Technical Problems to be Solved
[0005] In view of the technical problems in the background art, the present invention proposes a message management method and management system for a command and control system of a mobile shelter vehicle, classifying and encapsulating the collected data into data blocks, sending update signals and receiving acquisition instructions for replication and distribution; in the waiting transmission queue, adjusting the transmission order according to the data block situation by implementing a merging and priority judgment strategy; implementing first and second block judgment strategies according to the transmission channel status to select the optimal transmission method; thus solving the technical problems recorded in the background art.
[0006] (II) Technical Solutions
[0007] To achieve the above objectives, the present invention is realized through the following technical solutions:
[0008] A message management method for a command and control system of a mobile shelter vehicle, comprising:
[0009] Classify the data collected by the data acquisition system, merge the same type of data and encapsulate it to obtain data blocks of corresponding types; send data update signals of corresponding data block types to the management systems of relevant departments of each type of data block, and receive data acquisition instructions sent by each management system of relevant departments. Based on the number of data acquisition instructions for each type of data block, perform corresponding data block copying and distribution operations;
[0010] In the waiting transmission queue of the department management system, when a new associated data block is detected, determine whether to execute the merge judgment strategy, and determine whether to execute the priority judgment strategy based on the number of merged associated data blocks; adjust the transmission order of the associated data blocks in the waiting transmission queue based on the result after executing the priority judgment strategy;
[0011] When the associated data block ranks first in the waiting transmission queue, execute the block judgment strategy according to the usage of each transmission channel; if all transmission channels are in the idle state, execute the first block judgment strategy; if there are both idle and non-idle transmission channels at the same time, execute the second block judgment strategy; if all transmission channels are in the non-idle state, wait until an idle transmission channel appears and then execute the second block judgment strategy; in both the first block judgment strategy and the second block judgment strategy, select the transmission method with the minimum transmission time for transmission operations.
[0012] Specifically, the command and control system of the mobile medical cabin is associated with multiple department management systems and multiple data acquisition systems;
[0013] Merge the same type of data received by the command and control system at the same moment, 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;
[0014] Send data update signals of corresponding data block types to the management systems of relevant departments of each type of data block. The management systems of relevant departments refer to the management systems of each department related to each type of data;
[0015] After receiving the data update signal of the corresponding data block type, the management system of the relevant department determines whether to send a data acquisition instruction of the corresponding type of data to the command and control system of the mobile medical cabin;
[0016] When the command and control system of the mobile medical cabin 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.
[0017] Further, obtain the number of data acquisition instructions for each type of received data block. For the data block type with only one data acquisition instruction, directly place 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;
[0018] For the data acquisition instructions with multiple data blocks of the same type, during the copy operation, whenever a copied data block is obtained, send the copied data blocks to the corresponding waiting transmission queues in descending order of priority;
[0019] Obtain the times of the data acquisition instructions for the corresponding type of data sent by each associated department management system in the previous several times, and calculate the average time interval between the transmissions of these data acquisition instructions , the average time interval is inversely proportional to the priority of the data block for each associated department management system, where, represents the th type of data.
[0020] Further, when a new associated data block appears in the waiting transmission queue, count the number of associated data blocks in the waiting transmission queue at this time;
[0021] When it is detected that there is only one associated data block in the waiting transmission queue, do not execute the priority judgment strategy;
[0022] When it is detected that there are multiple associated data blocks in the waiting transmission queue, first execute the merging judgment strategy to determine whether there are multiple associated data blocks with the same data type among the multiple associated data blocks. If so, merge the associated data blocks with the same data type to obtain a new associated data block; if not, do not perform the merging operation.
[0023] Specifically, after executing the merging judgment strategy, detect the number of associated data blocks in the waiting transmission queue. If there is only one associated data block in the waiting transmission queue at this time, do not execute the priority judgment strategy;
[0024] If there are multiple associated data blocks in the waiting transmission queue at this time, execute the priority judgment strategy, and determine 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;
[0025] The waiting time characteristics represent the waiting time data of each associated data block, which is calculated based on the time when each associated data block enters the waiting transmission queue and the current time ; for the merged associated data block, the time of entering the waiting transmission queue is the minimum value of the times when all the associated data blocks before merging enter the waiting transmission queue;
[0026] The priority feature of the data type represents the average time interval of the data acquisition instructions sent by each associated department management system for the corresponding type of data in the previous several times. .
[0027] Furthermore, combining the waiting time feature of all data blocks in the waiting transmission queue and the priority feature of the data type, calculate the transmission priority index of each data block. , and the expression is: ; where represents the preset weight coefficient of the waiting time feature, represents the preset weight coefficient of the data type priority feature;
[0028] Adjust the placement positions of all data blocks in the waiting transmission queue in descending order of the transmission priority index .
[0029] Specifically, if all transmission channels are in the idle state, execute the first block judgment strategy: respectively simulate the transmission times required for the single-channel transmission mode and the multi-channel transmission mode;
[0030] For the single-channel transmission mode, 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 ;
[0031] For the multi-channel transmission mode, calculate the transmission time when the associated data block is evenly divided into parts in turn , where , is the number of transmission channels; the calculation formula of the transmission time is: , where represents the size of the associated data block, represents the transmission rate of the transmission channel, represents the time required for block division;
[0032] Calculate in turn the transmission times when taking different values , and compare the transmission times in each block division mode for multi-channel transmission with the transmission time required for single-channel transmission, and select the transmission mode with the minimum transmission time to perform the transmission operation of the corresponding associated data block.
[0033] Furthermore, if there are both idle and non-idle transmission channels, execute the second block judgment strategy: obtain the number of transmission channels in the idle state ;
[0034] Calculate the transmission time in the single-channel transmission mode ; and update the value range of , calculate the transmission time in different multi-channel sub-blocking modes ;
[0035] Obtain the remaining transmission time of the transmission channels in the non-idle state, which is calculated based on the size of the data blocks transmitted by each channel and the current time; select the transmission channel with the minimum remaining transmission time, and based on the remaining transmission time of this transmission channel , calculate the size of the data blocks transmitted when the current associated data blocks are transmitted through a single channel .
[0036] Furthermore, judge the size relationship with the current associated data blocks , if is greater than , then select the transmission mode only according to the transmission time in the single-channel transmission mode and the transmission time
[0037] in different multi-channel sub-blocking modes; If is less than , then determine the maximum value of not greater than , the value range of , and calculate respectively the transmission time when the associated data blocks are partially transmitted through channels with the minimum remaining transmission time, and then the remaining part of the associated data blocks is transmitted through channels, the expression is: , where the value range of ;
[0038] Obtain and when taking different values, the minimum value of the transmission time , and compare it with the transmission time only through the single-channel transmission mode and the transmission time
[0039] A message management system for a mobile cabin vehicle command and control system, comprising:
[0040] A data block establishment and allocation module, which is used to classify the data collected by the data acquisition system, encapsulate the same type of data after merging to obtain data blocks of corresponding types; send data update signals of corresponding data block types to the associated department management systems of each type of data block, and receive data acquisition instructions sent by each associated department management system, and perform copy and allocation operations on the corresponding data blocks respectively based on the number of data acquisition instructions of each type of data block;
[0041] A data block transmission order determination module, which is used in the waiting transmission queue of the department management system. When a new associated data block is detected, it determines whether to execute the merge judgment strategy, and determines whether to execute the priority judgment strategy based on the number of associated data blocks after merging; adjusts the transmission order of the associated data blocks in the waiting transmission queue based on the result after executing the priority judgment strategy;
[0042] A data block transmission method determination module, which is used to execute a block judgment strategy according to the usage conditions of each transmission channel when the associated data block ranks first in the waiting transmission queue; if all transmission channels are in an idle state, execute the first block judgment strategy; if some transmission channels are in an idle state, execute the second block judgment strategy; if all transmission channels are in a non-idle state, wait until an idle transmission channel appears, and after determining the transmission method according to the second block judgment strategy, execute the second block judgment strategy; both the first block judgment strategy and the second block judgment strategy select the transmission method with the minimum transmission time for transmission operations.
[0043] (III) Beneficial effects
[0044] The present invention provides a message management method and management system for a mobile cabin vehicle command and control system, having the following beneficial effects:
[0045] 1. The data acquisition system periodically monitors and collects relevant data, and merges the same type of data obtained at the same moment and encapsulates it in a data block, which reflects the effective organization and arrangement of messages and is convenient for subsequent processing and transmission; when the department management system needs to obtain data, the command and control system of the mobile cabin vehicle performs a copy operation on the associated data block of the corresponding type, and allocates the data block according to the number and priority of the associated department management systems. By calculating the priority of the data type for each associated department management system, the transmission order of the data block is determined, which reflects the flexibility and intelligence of the message management system in the data transmission process;
[0046] 2. Place the associated data blocks to be transmitted in the waiting transmission queue of each department management system. The system will judge whether to trigger the priority judgment strategy or the merging judgment strategy according to the quantity and type of the associated data blocks in the waiting transmission queue, which ensures the orderliness and efficiency of data transmission, avoids data congestion and transmission delay, makes the order of data transmission more reasonable, and avoids the situation that a certain data block waits too long;
[0047] 3. During the data transmission process, the system will also judge whether block transmission is required according to the usage of the transmission channel. By simulating the transmission time required for the single-channel transmission mode and the multi-channel transmission mode, select the transmission mode with the minimum transmission time to perform the transmission operation of the corresponding associated data block; This reflects the optimization and adaptive ability of the message management system during the data transmission process, and improves the efficiency and reliability of data transmission. Brief Description of the Drawings
[0048] Figure 1 It is a schematic diagram of the steps of a message management method for a command control system of a mobile cabin vehicle provided by the present invention;
[0049] Figure 2 It is a flowchart of the implementation of step three in the message management method for a command control system of a mobile cabin vehicle provided by the present invention;
[0050] Figure 3 It is a schematic diagram of the structure of a message management system for a command control system of a mobile cabin vehicle provided by the present invention. Detailed Embodiment
[0051] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0052] Refer to Figure 1 and Figure 2 , the present invention provides a message management method for a command control system of a mobile cabin vehicle, including:
[0053] Step 1: Classify the data collected by the data acquisition system, merge the same type of data and then encapsulate it to obtain data blocks of corresponding types; send data update signals of corresponding data block types to the associated department management systems of each type of data block, and receive the data acquisition instructions sent by each associated department management system. Based on the number of data acquisition instructions for each type of data block, perform the replication and distribution operations of the corresponding data blocks respectively;
[0054] The following steps are included in the above step 1:
[0055] Step 101: The command and control system of the mobile medical cabin is associated with multiple department management systems and multiple data acquisition systems. Among them, the data acquisition systems include environmental data acquisition systems, communication signal acquisition systems, traffic data acquisition systems, etc.;
[0056] Message management in the command and control system of the mobile medical cabin refers to data management between the command and control system and each department management system. This invention mainly relates to data transmission management between the command and control system and each department management system;
[0057] The data acquisition system periodically monitors and acquires relevant data. When the data acquisition system acquires new data and sends it to the command and control system of the mobile medical cabin, the command and control system of the mobile medical cabin will classify these data. For example, for the acquired environmental data, the temperature change data and temperature characteristic data among them are both classified as temperature type data; for the acquired traffic data, the data related to sudden accidents, such as the section where the sudden accident occurs, the vehicles involved in the sudden accident, etc., are all classified as sudden accident type data; each data acquired in the data acquisition system has a corresponding type; the same type of data obtained at the same moment is merged and encapsulated in a data block, waiting for subsequent data matching and replication 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 amount of encapsulated data is used to represent the size of the data block, and the amount of encapsulated data represents the number of bytes; the encapsulated data block also includes the time data when the data is obtained;
[0058] Step 102: After the command and control system of the mobile medical cabin 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 systems of each type of data block, and waits for whether the associated department management systems need to obtain the corresponding data. The associated department management systems refer to the department management systems related to each type of data block. Each department management system requires the corresponding data blocks of each type, and these department management systems are the associated department management systems of the corresponding type of data blocks;
[0059] For the data block encapsulated in the command and control system of the mobile medical cabin, it is used as a backup data block for subsequent replication operations of the data block to be transmitted; after receiving the data update signal of the corresponding data block type, the associated department management system can choose whether to obtain the corresponding data. If it needs to obtain the corresponding data block, it sends a data acquisition instruction of the corresponding type of data block to the command and control system of the mobile medical cabin;
[0060] After the command and control system of the mobile cabin vehicle receives the data acquisition instruction from the department management system, it counts all types of data blocks involved in the data acquisition instructions sent by all department management systems, that is, the associated data blocks; the associated data blocks represent all types of data blocks related to each department management system, that is, all types of data blocks that each department management system can acquire during operation;
[0061] Step 103: Determine the quantitative relationship between the sent data update signal and the received data acquisition instruction. 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, send the data update signal of the corresponding data block type to the several associated department management systems that have not sent data acquisition instructions again; if the data acquisition instruction is still not sent after the same buffer time, store the backup data block of the corresponding type into the database of the corresponding type;
[0062] If the number of sent data update signals is equal to the number of received data acquisition instructions, it means that all associated department management systems have sent data acquisition instructions, and prepare to perform the data block copying operation based on the number of associated department management systems;
[0063] Step 104: Obtain the number of data acquisition instructions for each type of data block received; for the data block type with only one data acquisition instruction, it means that there is only one associated department management system for this type of data block. Perform the copying operation of this data block, and only one data block needs to be copied. After the copying is completed, put the copied data block of this type into the waiting transmission queue of the corresponding associated department management system, waiting for subsequent transmission operations;
[0064] For the data acquisition instructions with multiple data blocks of the same type, it means that there are multiple associated department management systems for this type of data block. Perform the copying operation of this data block. During the copying operation, combine the priority of this type of data block for each associated department management system. Whenever a copied data block is obtained, put the copied data block into the waiting transmission queue of the associated department management system with the highest priority;
[0065] The priority of this type of data block for each associated department management system is calculated based on the historical record data of the data acquisition instructions for sending the corresponding type of data by each associated department management system. Specifically, obtain the time of the data acquisition instructions for sending the corresponding type of data by each associated department management system in the previous several times, and calculate the average time interval of these data acquisition instructions sent Average time interval The larger it is, the less frequent the demand of the associated department management system for this type of data, that is, the smaller the priority of this type of data block for each associated department management system, where i represents the i-th type of data;
[0066] Based on the above method for determining the priority, sort all the associated department management systems to be transmitted, and sequentially send the copied data blocks to the corresponding waiting transmission queues in the order of decreasing priority; the associated department management systems to be transmitted refer to the associated department management systems that send data acquisition instructions for the corresponding type of data.
[0067] When in use, combine the content in steps 101 to 104:
[0068] Periodically monitor and collect relevant data through the data acquisition system, and merge the same category of data obtained at the same moment, encapsulating it in a data block, which reflects the effective organization and sorting of messages and facilitates subsequent processing and transmission; when the department management system needs to obtain data, the command and control system of the mobile medical cabin will perform a copy operation on the corresponding type of associated data block, and allocate the data block according to the number and priority of the associated department management systems, and determine the transmission order of the data block 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.
[0069] Step 2: In the waiting transmission queue of the department management system, when it is detected that a new associated data block appears, determine whether to execute the merge 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 executing the priority judgment strategy;
[0070] The steps in step 2 include the following steps:
[0071] Step 201: Place the associated data blocks to be transmitted in the waiting transmission queue of each department management system. When it is detected that a new associated data block appears in the waiting transmission queue, determine whether to execute the priority judgment strategy according to the number of associated data blocks in the current waiting transmission queue. The priority judgment strategy refers to judging the transmission priority of multiple associated data blocks in the waiting transmission queue to determine the order of data block transmission;
[0072] Each department management system has a corresponding waiting transmission queue, and the transmission order is analyzed for the waiting transmission queue of each department management system here.
[0073] When it is detected that there is only one associated data block in the waiting transmission queue, further determine the transmission method of this associated data block according to the status of the waiting transmission queue of the current department management system;
[0074] When multiple associated data blocks are detected 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 among 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 merging; if not, no merging operation is performed.
[0075] Step 202: After executing the merging judgment strategy, detect the number of associated data blocks in the waiting transmission queue. 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.
[0076] If there are multiple associated data blocks in the waiting transmission queue at this time, execute the priority judgment strategy to determine the transmission order of each associated data block in the waiting transmission queue according to the waiting time characteristics and data type priority characteristics.
[0077] The waiting time characteristics represent the waiting time data of each associated data block, which is calculated based on the time when each associated data block enters the waiting transmission queue and the current time For the merged associated data block, the time of entering the waiting transmission queue is the minimum value of the times when all associated data blocks enter the waiting transmission queue before merging. All the above time data are in the form of timestamps during the operation.
[0078] The data type priority characteristics represent the average time interval of the data acquisition instructions sent by each associated department management system for the corresponding type of data in the previous several times in step 104 ;
[0079] Step 203: 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 , and the expression is: ; where represents the preset weight coefficient of the waiting time characteristics. Relatively, represents the preset weight coefficient of the data type priority characteristics, and The specific value of is set by the command and control management personnel of the mobile cabin vehicle according to actual needs;
[0080] Adjust the placement positions of all data blocks in the waiting transmission queue in descending order of the transmission priority index . The larger the transmission priority index , the more forward the placement position of the corresponding data block in the waiting transmission queue, that is, it means that the subsequent transmission operation is carried out earlier.
[0081] During use, combine the content in steps 201 to 203:
[0082] Place the associated data blocks to be transmitted in the waiting transmission queue of each department management system. The system will judge whether to trigger the priority judgment strategy or the merging judgment strategy according to the quantity and type of the associated data blocks in the waiting transmission queue, which ensures the orderliness and efficiency of data transmission, avoids data congestion and transmission delay, makes the order of data transmission more reasonable, and avoids the situation where a certain data block waits too long.
[0083] Step 3: When the associated data block ranks first in the waiting transmission queue, execute the block judgment strategy according to the usage conditions of each transmission channel; if all transmission channels are in the idle state, execute the first block judgment strategy; if there are both idle and non-idle transmission channels at the same time, execute the second block judgment strategy; if all transmission channels are in the non-idle state, wait until an idle transmission channel appears and then execute the second block judgment strategy; in both the first block judgment strategy and the second block judgment strategy, select the transmission method with the minimum transmission time for transmission operations;
[0084] Reference Figure 2 In step 3, the following steps are included:
[0085] Step 301: There are multiple transmission channels between the command and control system of the mobile medical cabin and each department management system. Before each associated data block in the waiting transmission queue performs a transmission operation, it is necessary to judge whether it needs to be block-transmitted, that is, whether it needs to be transmitted through multiple transmission channels;
[0086] When the associated data block ranks first in the waiting transmission queue, execute the block judgment strategy for this associated data block;
[0087] Step 302: Execute the block judgment strategy, detect the usage conditions of several transmission channels between the command and control system of the mobile medical cabin and the corresponding department management system, and the transmission rates of each transmission channel are all the same;
[0088] If all transmission channels are in the idle state, execute the first block judgment strategy: respectively simulate the transmission time required for the single-channel transmission method and the multi-channel transmission method; for the single-channel transmission method, obtain the size of the associated data block, and based on the transmission rate of the transmission channel, calculate the transmission time required for single-channel transmission ;
[0089] For the multi-channel transmission method, calculate the transmission time when the associated data block is evenly divided into parts in turn , where , is the number of transmission channels; transmission time The calculation formula is: , where represents the size of the associated data block, represents the time required for block division, and the value is the average time required for historical block division operations; calculate successively the transmission time when takes different values , and compare the transmission time under each block division method in multi-channel transmission with the transmission time required in single-channel transmission
[0090] Step 303: If there are both idle and non-idle transmission channels, execute the second block judgment strategy: Obtain the number of idle transmission channels ; and calculate the transmission time in the single-channel transmission mode in the same way as in Step 303 , and update the value range of , and calculate the transmission time under different block division methods in multi-channel;
[0091] In addition, obtain the remaining transmission time of the non-idle transmission channels, which is specifically calculated based on the size of the data blocks transmitted by each channel and the current time; obtain the transmission channel with the minimum remaining transmission time, and based on the remaining transmission time of this transmission channel, calculate the size of the data block transmitted through single-channel data block transmission in the current associated data block. After , the size of the data block transmitted is ;
[0092] Step 304: Judge the relationship between and the size of the current associated data block , if is greater than , then no subsequent analysis is performed, and only select the transmission mode according to the transmission time in the single-channel transmission mode and the transmission time
[0093] under different block division methods in multi-channel; , if is less than , then determine not greater than the maximum value of , the value range of , and calculate respectively the partial transmission of the associated data block under the minimum remaining transmission time through channels first, and then perform channel transmissions for the remaining part of the associated data block, and the transmission time is given by the expression: , where ranges from ;
[0094] Obtain and when taking different values, and find the minimum value of the transmission time . Then compare it with the transmission time under the single-channel transmission mode only and the transmission time under the multi-channel different-blocks transmission mode only, and select the transmission mode with the minimum transmission time to perform the transmission of the associated data block;
[0095] Step 305: If all transmission channels are in the non-idle state, wait until the transmission channels become idle, and then determine the transmission mode according to the above second block judgment strategy.
[0096] In use, combine the content in Steps 301 to 305:
[0097] During the data transmission process, the system will also judge whether block transmission is needed according to the usage of the transmission channels. By simulating the transmission times required for the single-channel transmission mode and the multi-channel transmission mode, select the transmission mode with the minimum transmission time to perform the transmission operation of the corresponding associated data block; 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.
[0098] Referring to Figure 3 , the present invention also provides a message management system for a command and control system of a mobile cabin vehicle, including:
[0099] A data block establishment and distribution module, which is used to classify the data collected by the data acquisition system, encapsulate the same-type data after merging to obtain data blocks of corresponding types; send data update signals of corresponding data block types to the associated department management systems of each type of data block, and receive data acquisition instructions sent by each associated department management system, and respectively perform replication and distribution operations of the corresponding data blocks based on the number of data acquisition instructions of each type of data block;
[0100] The data block transfer order determination module is used to, in the waiting transfer queue of the department management system, when detecting a new associated data block, determine whether to execute the merging judgment strategy, and determine whether to execute the priority judgment strategy based on the number of associated data blocks after merging; adjust the transfer order of the associated data blocks in the waiting transfer queue based on the result after executing the priority judgment strategy.
[0101] The data block transfer mode determination module is used to, when the associated data block is ranked first in the waiting transfer queue, execute the block division judgment strategy according to the usage conditions of each transfer channel; if all transfer channels are in the idle state, execute the first block division judgment strategy; if some transfer channels are in the idle state, execute the second block division judgment strategy; if all transfer channels are in the non-idle state, wait until an idle transfer channel appears, determine the transfer mode according to the second block division judgment strategy, and then execute the second block division judgment strategy; in both the first block division judgment strategy and the second block division judgment strategy, select the transfer mode with the minimum transfer time for the transfer operation.
[0102] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part 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, the processes or functions described in the embodiments of the present invention are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer storage medium or transmitted through a computer storage medium.
[0103] The computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center in a wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) manner. The computer storage medium can be any available medium that the computer can access or a data storage device such as a server or data center that includes one or more integrated available media. The available medium can be a magnetic medium (e.g., floppy disk, hard disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., solid state disk (SSD)).
[0104] The above is only the specific implementation manner of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention can easily think of changes or substitutions, which should all be covered by the protection scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.
Claims
1. A message management method for a command and control system of a mobile cabin vehicle, characterized in that: It includes the following steps: Classify the data collected by the data acquisition system, merge the same type of data and encapsulate it to obtain data blocks of corresponding types; send data update signals of corresponding data block types to the associated department management systems of each type of data block, and receive data acquisition instructions sent by each associated department management system. Based on the number of data acquisition instructions for each type of data block, perform corresponding data block copying and distribution operations respectively; In the waiting transmission queue of the department management system, when a new associated data block is detected, determine whether to execute the merge judgment strategy, and determine whether to execute the priority judgment strategy according to the number of associated data blocks after merging; Based on the result after executing the priority judgment strategy, adjust the transmission order of the associated data blocks in the waiting transmission queue; When the associated data block ranks first in the waiting transmission queue, execute the block judgment strategy according to the usage of each transmission channel; if all transmission channels are in the idle state, execute the first block judgment strategy; If there are both idle and non-idle transmission channels at the same time, execute the second block judgment strategy; If all transmission channels are in the non-idle state, wait until an idle transmission channel appears and then execute the second block judgment strategy; In both the first block judgment strategy and the second block judgment strategy, select the transmission method with the minimum transmission time for transmission operations.
2. The message management method of a mobile cabin vehicle command and control system according to claim 1, characterized in that: The command and control system of the mobile cabin vehicle is associated with multiple department management systems and multiple data acquisition systems; Merge the same type of data received by the command and control system at the same moment, 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 encapsulated data volume; Send data update signals of corresponding data block types to the associated department management systems of each type of data block. 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 associated department management system determines whether to send a data acquisition instruction of the corresponding type of data to the command and control system of the mobile cabin vehicle; When the command and control system of the mobile cabin vehicle receives the data acquisition instruction from the department management system, determine whether to send the corresponding data update signal again based on the quantity relationship between the sent data update signal and the received data acquisition instruction.
3. The message management method of a mobile cabin vehicle command and control system according to claim 2, characterized in that: Obtain the number of data acquisition instructions for each type of data block received. For the data block type with 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 copying operation; For the data acquisition instructions of multiple data block types of the same type, during the copying operation, whenever a copied data block is obtained, send the copied data blocks to the corresponding waiting transmission queue in descending order of priority; Obtain the time of the data acquisition instructions for the corresponding type of data sent by each associated department management system in the previous several times, and calculate the average time interval between the transmissions of these data acquisition instructions , the average time interval is inversely proportional to the priority of the data block for each associated department management system, where represents the th type of data 4. The message management method of a mobile cabin vehicle command and control system according to claim 3, characterized in that: When a new associated data block appears in the waiting transmission queue, count the number of associated data blocks in the waiting transmission queue at this time; When it is detected that there is only one associated data block in the waiting transmission queue, do not execute the priority judgment strategy; When it is detected that there are multiple associated data blocks in the waiting transmission queue, first execute the merging judgment strategy to determine whether there are multiple associated data blocks with the same data type among the multiple associated data blocks. If so, merge the associated data blocks with the same data type to obtain a new associated data block; If not, no merging operation is performed.
5. The message management method of a mobile cabin vehicle command and control system according to claim 4, characterized in that: After executing the merging judgment strategy, detect the number of associated data blocks in the waiting transmission queue. If there is only one associated data block in the waiting transmission queue at this time, do not execute the priority judgment strategy; If there are multiple associated data blocks in the waiting transmission queue at this time, execute the priority judgment strategy, and judge the transmission order of each associated data block in the waiting transmission queue according to the waiting time characteristic and the data type priority characteristic; The waiting time feature represents the waiting time data of each associated data block, which is calculated based on the time when each associated data block enters the waiting transmission queue and the current time For the merged associated data blocks, the time of entering the waiting transmission queue is the minimum value among the times when all the associated data blocks before merging enter the waiting transmission queue; The priority feature of the data type represents the average time interval of the data acquisition instructions sent by each associated department management system for the corresponding type of data in the previous several times .
6. The message management method of a mobile cabin vehicle command and control system according to claim 5, characterized in that: Calculate the transmission priority index for each data block by combining the waiting time characteristics and data type priority characteristics of all data blocks in the waiting transmission queue , and the expression is: ; where represents the preset weight coefficient of the waiting time characteristic, represents the preset weight coefficient of the data type priority characteristic; According to the transmission priority index Adjust the placement positions of all data blocks in the waiting transmission queue in descending order.
7. The message management method of a mobile cabin vehicle command and control system according to claim 1, characterized in that: If all transmission channels are in an idle state, execute the first block judgment strategy: respectively simulate the transmission times required for the single-channel transmission mode and the multi-channel transmission mode; For the single-channel transmission mode, 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 the multi-channel transmission mode, calculate the transmission time when the associated data block is evenly divided into parts in sequence, wherein, , is the number of transmission channels; the calculation formula for the transmission time is: wherein, represents the size of the associated data block, represents the transmission rate of the transmission channel, represents the time required for block division; Calculate sequentially the transmission time when taking different values , and compare the transmission time of each block mode in multi-channel transmission with the transmission time required for single-channel transmission to select the transmission mode with the minimum transmission time for the corresponding associated data block transmission operation.
8. The message management method of a mobile cabin vehicle command and control system according to claim 7, characterized in that: If there are both transmission channels in the idle state and those in the non-idle state, execute the second block determination strategy: obtain the number of transmission channels in the idle state ; Calculate the transmission time in the single-channel transmission mode ; and update the value range of , and calculate the transmission time under different multi-channel partitioning methods ; Obtain the remaining transmission time of the transmission channels in a non-idle state, which is calculated based on the size of the data blocks transmitted by each channel and the current time; select the transmission channel with the minimum remaining transmission time, and calculate the size of the data blocks transmitted when the data blocks are transmitted through a single channel in the current associated data block based on the remaining transmission time of the transmission channel , and calculate the size of the data blocks transmitted when the data blocks are transmitted through a single channel in the current associated data block .
9. The message management method of a mobile cabin vehicle command and control system according to claim 8, characterized in that: Judge The size relationship with the current associated data block , if Greater than , then select the transmission method only according to the transmission time under the single-channel transmission method And the transmission time under different multi-channel block division methods Select the transmission method; If less than , determine not greater than of the maximum value , the value range of , and calculate respectively the partial transmission of the associated data block with the minimum remaining transmission time through channels first, and then the transmission time when the remaining part of the associated data block is transmitted through channels . The expression is: , where the value range of ; Obtain When it takes different values from the minimum value of the transmission time is obtained, and it is compared with the transmission time in the single-channel transmission mode only and the transmission time in the multi-channel different-block mode only to select the transmission mode with the minimum transmission time for the transmission of associated data blocks.
10. A message management system for a command and control system of a mobile cabin vehicle, characterized in that, It includes: A data block establishment and distribution module, which is used to classify the data collected by the data acquisition system, merge the same type of data and then encapsulate it to obtain data blocks of corresponding types; send data update signals of corresponding data block types to the associated department management systems of each type of data block, and receive data acquisition instructions sent by each associated department management system, and respectively perform copying and distribution operations on the corresponding data blocks based on the number of data acquisition instructions of each type of data block; A data block transmission order determination module, which is used to judge whether to execute the merging judgment strategy in the waiting transmission queue of the department management system when a new associated data block appears, and judge 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 executing the priority judgment strategy; A data block transmission mode determination module, which is used to execute the block judgment strategy according to the usage conditions of each transmission channel when the associated data block reaches the first place in the waiting transmission queue; if all transmission channels are in an idle state, execute the first block judgment strategy; If some transmission channels are in an idle state, execute the second block judgment strategy; If all transmission channels are in a non-idle state, after an idle transmission channel appears, determine the transmission mode according to the second sub-block judgment strategy, and then execute the second sub-block judgment strategy; In both the first sub-block judgment strategy and the second sub-block judgment strategy, select the transmission mode with the minimum transmission time for transmission operations.
Citation Information
Patent Citations
Multi-channel message queue low-delay optimization method
CN118282798A
Data transmission priority scheduling method
CN118509387A