Emergency command online communication method and system
The method and system dynamically allocate emergency communication channels and queues based on service quality data to improve reliability and stability in fluctuating network conditions, addressing the limitations of traditional systems that fail to adapt.
Patent Information
- Application Number
- CN202510618648.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-14
- Publication Date
- 2025-07-15
AI Technical Summary
Traditional emergency communication systems cannot be adjusted according to real-time network conditions, which can easily lead to communication interruptions in an environment of fluctuating network quality, reducing the reliability of emergency communication.
By obtaining the quality of service data between the communication equipment and each communication channel, channel allocation and queue management are performed, emergency communication channel resources are dynamically adjusted, including weighted operations of indicators such as signal strength, signal-to-noise ratio, bit error rate, data throughput and round trip delay, and building a priority queue and dynamically adjusting.
It improves the stability and reliability of emergency communication, realizes the precise allocation of emergency communication channel resources, and enhances communication reliability in harsh environments.
Smart Images

Figure CN120321622A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of emergency communication, and particularly to an emergency command online communication method and system. Background Art
[0002] After emergencies such as earthquakes, floods, and forest fires occur, communication in the disaster area often experiences regional communication interruptions due to reasons such as power outages and damaged facilities, resulting in "communication voids". Therefore, establishing emergency communication in a timely manner is crucial for helping decision-making departments understand the disaster situation in a timely manner and arrange rescue forces.
[0003] Currently, traditional emergency communication methods mainly use independent emergency communication systems for emergency communication. However, emergency communication systems often use pre-set communication channels for emergency communication and cannot be adjusted according to real-time network conditions, which is prone to communication interruptions in an environment with fluctuating network quality and reduces the reliability of emergency communication. Summary of the Invention
[0004] The present invention provides an emergency command online communication method and system, which solves the technical problem that traditional emergency communication methods mainly use independent emergency communication systems for emergency communication, but emergency communication systems often use pre-set communication channels for emergency communication and cannot be adjusted according to real-time network conditions, which is prone to communication interruptions in an environment with fluctuating network quality and reduces the reliability of emergency communication.
[0005] An emergency command online communication method provided in the first aspect of the present invention includes:
[0006] Obtaining service quality data between a communication device and each communication channel;
[0007] Performing channel allocation on the communication device according to each of the service quality data to obtain an emergency communication channel and emergency communication requirement parameters corresponding to the communication device;
[0008] Obtaining a plurality of communication data packets of the emergency communication channel, and performing queue allocation on each of the communication data packets to obtain a first priority queue and a plurality of second priority queues;
[0009] Performing communication transmission according to the first priority queue and each of the second priority queues, and dynamically adjusting each second priority queue in the emergency communication channel by using the emergency communication requirement parameters.
[0010] Optionally, the step of performing channel allocation on the communication device according to each of the service quality data to obtain an emergency communication channel and emergency communication requirement parameters corresponding to the communication device includes:
[0011] Input the emergency communication type of the communication device into a preset list of service quality weights to match the corresponding service quality weights and emergency communication requirement parameters;
[0012] Perform weighted operations on each of the service quality data based on the service quality weights to obtain multiple service quality scores, where the service quality data includes signal strength, signal-to-noise ratio, bit error rate, data throughput, and round-trip delay;
[0013] Select the communication channel associated with the maximum value from each of the service quality scores as the emergency communication channel corresponding to the communication device.
[0014] Optionally, the step of allocating each of the communication data packets to queues to obtain a first-priority queue and multiple second-priority queues includes:
[0015] Extract the communication identifiers of each of the communication data packets respectively, and determine whether the communication identifier of each of the communication data packets is an emergency identifier;
[0016] If the communication identifier is the emergency identifier, determine the communication data packet as a first data packet;
[0017] If the communication identifier is not the emergency identifier, determine the communication data packet as a second data packet;
[0018] Construct a first-priority queue using each of the first data packets;
[0019] Divide each of the second data packets into multiple second-priority queues according to the service type of each of the second data packets.
[0020] Optionally, the emergency communication requirement parameters include an emergency bandwidth occupancy rate and an emergency cache occupancy rate. The step of dynamically adjusting each of the second-priority queues in the emergency communication channel using the emergency communication requirement parameters includes:
[0021] Obtain the bandwidth occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window, and determine whether the bandwidth occupancy rate is greater than the emergency bandwidth occupancy rate;
[0022] If the bandwidth occupancy rate is greater than the emergency bandwidth occupancy rate, select the second-priority queue with the lowest priority from each of the second-priority queues as the target queue;
[0023] Disconnect the communication transmission of the target queue, and jump to execute the step of obtaining the bandwidth occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window;
[0024] If the broadband occupancy rate is less than or equal to the emergency broadband occupancy rate, determine whether the cache occupancy rate is greater than the emergency cache occupancy rate;
[0025] If the cache occupancy rate is greater than the emergency cache occupancy rate, select the second-priority queue with the lowest priority from each of the second-priority queues as the target queue;
[0026] Disconnect the communication transmission of the target queue, and jump to execute the step of obtaining the broadband occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window;
[0027] If the cache occupancy rate is less than or equal to the emergency cache occupancy rate, jump to execute the step of obtaining multiple communication data packets of the emergency communication channel.
[0028] Optionally, the step of obtaining the broadband occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window includes:
[0029] Collect the instantaneous bandwidth data and instantaneous cache data of the emergency communication channel using a preset time window;
[0030] Perform a mean processing on the instantaneous bandwidth data to obtain a first mean;
[0031] Perform a mean processing on the instantaneous cache data to obtain a second mean;
[0032] Perform a ratio processing on the first mean and a preset total bandwidth to obtain a bandwidth occupancy rate;
[0033] Perform a ratio processing on the second mean and a preset total cache capacity to obtain a cache occupancy rate.
[0034] Optionally, before the step of obtaining the quality of service data between the communication device and each communication channel, it further includes:
[0035] Obtain the communication area of the communication device, and use the frequency hopping scanning method to collect each communication channel within the communication area.
[0036] An emergency command online communication system provided by the second aspect of the present invention includes:
[0037] A collection module for obtaining the quality of service data between the communication device and each communication channel;
[0038] An allocation module for performing channel allocation on the communication device according to each of the quality of service data to obtain the emergency communication channel and emergency communication demand parameters corresponding to the communication device;
[0039] A queue setting module, configured to obtain a plurality of communication data packets of the emergency communication channel, perform queue allocation on each of the communication data packets to obtain a first-priority queue and a plurality of second-priority queues;
[0040] A communication module, configured to perform communication transmission according to the first-priority queue and each of the second-priority queues, and dynamically adjust each second-priority queue in the emergency communication channel by using the emergency communication requirement parameters.
[0041] An electronic device provided in the third aspect of the present invention includes a memory and a processor. When a computer program stored in the memory is executed by the processor, the processor is caused to execute the steps of the emergency command online communication method as described in any one of the above.
[0042] A computer-readable storage medium provided in the fourth aspect of the present invention has a computer program stored thereon. When the computer program is executed, the emergency command online communication method as described in any one of the above is implemented.
[0043] A computer program product provided in the fifth aspect of the present invention includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to execute the emergency command online communication method as described in any one of the above.
[0044] It can be seen from the above technical solutions that the present invention has the following advantages:
[0045] The present invention obtains the quality of service data between a communication device and each communication channel, allocates channels for the communication device according to each quality of service data, obtains an emergency communication channel and emergency communication demand parameters corresponding to the communication device, obtains a plurality of communication data packets of the emergency communication channel, performs queue allocation on each communication data packet, obtains a first priority queue and a plurality of second priority queues, performs communication transmission according to the first priority queue and each second priority queue, and dynamically adjusts each second priority queue in the emergency communication channel by using the emergency communication demand parameters. It overcomes the technical problem that traditional emergency communication methods mainly use independent emergency communication systems for emergency communication, cannot be adjusted according to the real-time network conditions, are prone to communication interruption in an environment with fluctuating network quality, and reduce the reliability of emergency communication. Compared with traditional emergency communication methods, the present invention allocates channels for the communication device according to each quality of service data, obtains an emergency communication channel and emergency communication demand parameters corresponding to the communication device, improves the stability of emergency communication in a harsh environment. At the same time, dynamically adjusts each second priority queue in the emergency communication channel by using the emergency communication demand parameters, realizes the precise allocation of channel resources in the emergency communication channel, and improves the reliability of emergency communication. BRIEF DESCRIPTION OF THE DRAWINGS
[0046] In order to more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the following will briefly introduce the drawings required for description in the embodiments or the prior art. Obviously, the following drawings are only some embodiments of the present invention. For those of ordinary skill in the art, without creative efforts, other drawings can also be obtained according to these drawings.
[0047] Figure 1 It is a flowchart of the steps of an emergency command online communication method provided in Embodiment 1 of the present invention;
[0048] Figure 2 It is a flowchart of the steps of an emergency command online communication method provided in Embodiment 2 of the present invention;
[0049] Figure 3 It is a structural block diagram of an emergency command online communication system provided in Embodiment 3 of the present invention;
[0050] Figure 4 It is a structural block diagram of a computer device provided in Embodiment 4 of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0051] An embodiment of the present invention provides an emergency command online communication method and system, which are used to solve the technical problem that traditional emergency communication methods mainly use independent emergency communication systems for emergency communication. However, emergency communication systems often use pre-set communication channels for emergency communication and cannot be adjusted according to real-time network conditions, which is likely to cause communication interruptions in an environment with fluctuating network quality and reduces the reliability of emergency communication.
[0052] In order to make the objectives, features, and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the embodiments described below are only a part of the embodiments of the present invention, rather than all the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present invention.
[0053] Please refer to Figure 1 , Figure 1 which is a flowchart of the steps of an emergency command online communication method provided in Embodiment 1 of the present invention.
[0054] An emergency command online communication method provided by the present invention includes:
[0055] Step 101: Obtain the quality of service data between the communication device and each communication channel;
[0056] A communication channel refers to scanning all available communication channels within a certain area range through a frequency hopping scanning algorithm.
[0057] The quality of service data refers to a set of key indicators used to evaluate and optimize the performance of communication channels, including but not limited to signal strength, signal-to-noise ratio, bit error rate, data throughput, and round-trip delay, etc.
[0058] In the embodiment of the present invention, the communication area of the communication device is obtained, and all available communication channels are scanned within a certain area range through a frequency hopping scanning algorithm to obtain the quality of service data between the communication device and each communication channel.
[0059] Step 102: Perform channel allocation for the communication device according to each quality of service data to obtain the emergency communication channel and emergency communication requirement parameters corresponding to the communication device;
[0060] The emergency communication channel refers to the communication channel that is most suitable for the communication device.
[0061] The emergency communication requirement parameters refer to a set of key indicators for quantifying the resource requirements of emergency communication services, including but not limited to the emergency bandwidth occupancy rate and the emergency cache occupancy rate.
[0062] In an embodiment of the present invention, the emergency communication type of a communication device is input into a preset service quality weight list to match the corresponding service quality weight and emergency communication requirement parameters. Based on the service quality weight, weighted operations are respectively performed on each service quality data to obtain multiple service quality scores, and the communication channel associated with the maximum value selected from each service quality score is used as the emergency communication channel corresponding to the communication device.
[0063] Step 103: Obtain multiple communication data packets of the emergency communication channel, and perform queue allocation on each communication data packet to obtain a first-priority queue and multiple second-priority queues.
[0064] The first-priority queue refers to the queue constructed by data packets related to emergency communication.
[0065] The second-priority queue refers to the queue constructed by data packets not related to emergency communication.
[0066] The communication data packet refers to an IP data packet (i.e., an Internet Protocol data packet) in the emergency communication channel.
[0067] In an embodiment of the present invention, the communication identifiers of each communication data packet are respectively extracted, and it is determined whether the communication identifier of each communication data packet is an emergency identifier. If the communication identifier is an emergency identifier, the communication data packet is determined as a first data packet. If the communication identifier is not an emergency identifier, the communication data packet is determined as a second data packet. The first-priority queue is constructed by using each first data packet, and each second data packet is divided into multiple second-priority queues according to the service type of each second data packet.
[0068] Step 104: Perform communication transmission according to the first-priority queue and each second-priority queue, and dynamically adjust each second-priority queue in the emergency communication channel by using the emergency communication requirement parameters.
[0069] In an embodiment of the present invention, communication transmission is performed on the first priority queue and each second priority queue according to the queue bandwidth occupancy ratios of the first priority queue and each second priority queue, and the bandwidth occupancy ratio and cache occupancy ratio of the emergency communication channel are obtained based on a preset time window. It is determined whether the bandwidth occupancy ratio is greater than the emergency bandwidth occupancy ratio. If the bandwidth occupancy ratio is greater than the emergency bandwidth occupancy ratio, the second priority queue with the lowest priority is selected from each second priority queue as the target queue, the communication transmission of the target queue is disconnected, and the step of obtaining the bandwidth occupancy ratio and cache occupancy ratio of the emergency communication channel based on the preset time window is skipped. If the bandwidth occupancy ratio is greater than the emergency bandwidth occupancy ratio, it is determined whether the cache occupancy ratio is greater than the emergency cache occupancy ratio. If the cache occupancy ratio is greater than the emergency cache occupancy ratio, the second priority queue with the lowest priority is selected from each second priority queue as the target queue, the communication transmission of the target queue is disconnected, and the step of obtaining the bandwidth occupancy ratio and cache occupancy ratio of the emergency communication channel based on the preset time window is skipped. If the cache occupancy ratio is less than or equal to the emergency cache occupancy ratio, the step of obtaining multiple communication data packets of the emergency communication channel is skipped.
[0070] In an embodiment of the present invention, by obtaining the quality of service data between a communication device and each communication channel, channel allocation is performed on the communication device according to each quality of service data to obtain the emergency communication channel and emergency communication demand parameters corresponding to the communication device, multiple communication data packets of the emergency communication channel are obtained, each communication data packet is queue-allocated to obtain a first priority queue and multiple second priority queues, communication transmission is performed according to the first priority queue and each second priority queue, and the emergency communication demand parameters are used to dynamically adjust each second priority queue in the emergency communication channel. The technical problem that the traditional emergency communication method mainly uses an independent emergency communication system for emergency communication, cannot be adjusted according to the real-time network condition, is prone to communication interruption in an environment with fluctuating network quality, and reduces the reliability of emergency communication is solved. Compared with the traditional emergency communication method, in the present invention, channel allocation is performed on the communication device according to each quality of service data to obtain the emergency communication channel and emergency communication demand parameters corresponding to the communication device, improving the stability of emergency communication in a harsh environment. At the same time, each second priority queue in the emergency communication channel is dynamically adjusted according to the emergency communication demand parameters, realizing the precise allocation of channel resources in the emergency communication channel and improving the reliability of emergency communication.
[0071] Please refer to Figure 2 , Figure 2 which is a flowchart of the steps of an emergency command online communication method provided in the second embodiment of the present invention.
[0072] An emergency command online communication method provided by the present invention includes:
[0073] Step 201: Obtain the quality of service data between the communication device and each communication channel;
[0074] In the embodiments of the present invention, the quality of service data between the communication device and each communication channel is obtained through a communication operation platform, where the communication operation platform includes, but is not limited to, a mobile switching center or a communication base station controller.
[0075] It should be noted that the distributed network probes deployed in the communication operation platform perform the following measurements on each communication channel. Signal strength: Sampling is performed every 200 milliseconds using a sliding window technique, and the average value within 30 seconds is calculated. Signal-to-noise ratio: The signal and noise components are separated using digital signal processing techniques, and the real-time signal-to-noise ratio is calculated every 500 milliseconds. Bit error rate: By periodically sending a known bit sequence and comparing the received results, the bit error rate is calculated. Data throughput: Monitor the actual data transmission rate and calculate the ratio of the theoretical peak value to the actual value. Round-trip delay: Send a timestamp probe packet and measure the response time, and calculate the delay distribution histogram to obtain the round-trip delay.
[0076] Furthermore, it further includes:
[0077] A1: Obtain the communication area of the communication device, and collect each communication channel within the communication area using the frequency hopping scanning method.
[0078] In the embodiments of the present invention, the communication area of the communication device is obtained, and each communication channel within the communication area is collected based on the frequency hopping scanning method.
[0079] It should be noted that the frequency hopping scanning method is constructed based on software-defined radio technology, which can quickly cover a wide frequency spectrum range from 350 MHz to 6 GHz, including conventional cellular network bands, emergency dedicated bands, satellite communication bands, and shortwave emergency communication bands. At the same time, the scanning results can be shared with the communication operation platform in real time through a secure channel.
[0080] Step 202: Input the emergency communication type of the communication device into a preset quality of service weight list to match the corresponding quality of service weight and emergency communication requirement parameters;
[0081] The emergency communication type refers to the classification of emergency services divided according to communication protocols and application scenarios, and can be obtained by detecting the "Emergency" mark in the SIP (Session Initiation Protocol) call request of the communication device or the emergency identifier of network services on the Internet.
[0082] It should be noted that the quality of service weight list stores the quality of service weights and emergency communication requirement parameters corresponding to different emergency communication types.
[0083] In an embodiment of the present invention, the emergency communication type of a communication device is used to retrieve a preset service quality weight list, and the corresponding service quality weight and emergency communication requirement parameters are matched.
[0084] It is worth mentioning that the service quality weights in the service quality weight list can be set by using the weighted linear combination method.
[0085] Step 203: Perform weighted operations on each service quality data based on the service quality weights to obtain multiple service quality scores, where the service quality data includes signal strength, signal-to-noise ratio, bit error rate, data throughput, and round-trip delay;
[0086] The service quality score refers to an index for quantitatively analyzing the performance of a communication channel.
[0087] In an embodiment of the present invention, the service quality weights and each service quality data are respectively input into a preset linear weighting function to obtain multiple service quality scores, where the service quality data includes signal strength, signal-to-noise ratio, bit error rate, data throughput, and round-trip delay.
[0088] It should be noted that the linear weighting function is specifically:
[0089]
[0090] where is the service quality score, is the first weight coefficient, is the second weight coefficient, is the third weight coefficient, is the fourth weight coefficient, is the fifth weight coefficient, is the signal strength, is the signal-to-noise ratio, is the bit error rate, is the data throughput, is the round-trip delay.
[0091] Step 204: Select the communication channel associated with the maximum value from each service quality score as the emergency communication channel corresponding to the communication device.
[0092] In an embodiment of the present invention, the communication channel associated with the maximum value is selected from all service quality scores as the emergency communication channel corresponding to the communication device.
[0093] Step 205: Obtain multiple communication data packets of the emergency communication channel, and perform queue allocation on each communication data packet to obtain a first priority queue and multiple second priority queues;
[0094] Further, step 205 includes the following sub-steps:
[0095] S11. Extract the communication identifiers of each communication data packet respectively, and determine whether the communication identifiers of each communication data packet are emergency identifiers;
[0096] The communication identifier refers to the ToS (i.e., the service type field) or the (DSCP) differentiated service code point value of the communication data packet.
[0097] The emergency identifier refers to the communication identifier marked with an emergency identifier. For example, the communication identifier is DSCP EF (46) or CS7.
[0098] In the embodiment of the present invention, the communication identifiers of each communication data packet are extracted respectively (the communication identifier is the service type field or the differentiated service code point value), and it is determined whether the communication identifiers of each communication data packet are emergency identifiers.
[0099] S12. If the communication identifier is an emergency identifier, then determine the communication data packet as the first data packet;
[0100] The first data packet refers to an IP data packet with an emergency identifier.
[0101] In the embodiment of the present invention, when the communication identifier is DSCP EF (46) (i.e., the emergency service field) or CS7 (i.e., the emergency differentiated service code point value), then determine the communication data packet as the first data packet.
[0102] S13. If the communication identifier is not an emergency identifier, then determine the communication data packet as the second data packet;
[0103] The second data packet refers to an IP data packet without an emergency identifier.
[0104] In the embodiment of the present invention, if the communication identifier is not DSCP EF (46) or CS7, then determine the communication data packet as the second data packet.
[0105] S14. Construct a first priority queue by using each first data packet;
[0106] In the embodiment of the present invention, sort according to the sending time of each first data packet to obtain the first priority queue.
[0107] S15. Divide each second data packet into multiple second priority queues according to the service type of each second data packet.
[0108] The service type refers to the emergency mark of the second data packet. For example, the "Emergency" mark in the SIP call request (i.e., the session initiation protocol) or the emergency identifier of the network service in the Internet
[0109] In the embodiments of the present invention, each second data packet is divided into multiple second-priority queues according to the service type of each second data packet. For example, when the service type of the second data packet is a critical service, the second data packet is divided into the first second-priority queue; when the service type of the second data packet is a video stream, the second data packet is divided into the second second-priority queue; when the service type of the second data packet is background synchronization, the second data packet is divided into the third second-priority queue.
[0110] It should be noted that the priority of the first second-priority queue is higher than that of the second second-priority queue, the priority of the second second-priority queue is higher than that of the third second-priority queue, and so on. And there are at least three second-priority queues.
[0111] Step 206: Perform communication transmission according to the first-priority queue and each second-priority queue, and dynamically adjust each second-priority queue in the emergency communication channel by using the emergency communication demand parameters.
[0112] Further, the emergency communication demand parameters include the emergency bandwidth occupancy rate and the emergency buffer occupancy rate. Step 206 includes the following sub-steps:
[0113] S21: Obtain the broadband occupancy rate and the buffer occupancy rate of the emergency communication channel based on a preset time window, and determine whether the broadband occupancy rate is greater than the emergency bandwidth occupancy rate;
[0114] Further, S21 includes the following sub-steps:
[0115] S211: Collect the instantaneous bandwidth data and the instantaneous buffer data of the emergency communication channel by using a preset time window;
[0116] The time window refers to a fixed or dynamic time period for periodically collecting the instantaneous bandwidth data and the instantaneous buffer data of the emergency communication channel.
[0117] The instantaneous bandwidth data refers to multiple instantaneous bandwidth values collected through the time window.
[0118] The instantaneous buffer data refers to multiple instantaneous buffer values collected through the time window.
[0119] In the embodiments of the present invention, the instantaneous bandwidth data and the instantaneous buffer data of the emergency communication channel are collected by using a preset time window, where the time window includes a 50-ms short window and a 5-s long window.
[0120] S212: Perform mean processing on the instantaneous bandwidth data to obtain a first mean value;
[0121] In the embodiments of the present invention, the instantaneous bandwidth data is input into a preset first mean function to obtain a first mean value.
[0122] It should be noted that the first mean function is specifically as follows:
[0123]
[0124] Wherein, is the first mean, is the number of data points, is the instantaneous bandwidth value at time i, and i is time.
[0125] S213. Perform mean processing on the instantaneous cache data to obtain a second mean;
[0126] In an embodiment of the present invention, the instantaneous cache data is input into a preset second mean function to obtain a second mean.
[0127] It should be noted that the second mean function is specifically as follows:
[0128]
[0129] Wherein, is the second mean, is the instantaneous cache value at time i.
[0130] S214. Perform ratio processing on the first mean and a preset total bandwidth to obtain a bandwidth occupancy rate;
[0131] The total bandwidth refers to the aggregated transmission capacity of all available channels in a communication system.
[0132] The bandwidth occupancy rate refers to the proportion of the currently used communication resources in the total bandwidth.
[0133] In an embodiment of the present invention, the ratio between the first mean and a preset total bandwidth is calculated to obtain a bandwidth occupancy rate.
[0134] S215. Perform ratio processing on the second mean and a preset total cache capacity to obtain a cache occupancy rate.
[0135] The total cache capacity refers to the sum of the maximum physical storage spaces that all cache nodes (such as base stations and core network gateways) in a communication system can store data to be forwarded.
[0136] The cache occupancy rate refers to the proportion of the currently used cache capacity in the total cache capacity in a communication system.
[0137] In an embodiment of the present invention, the ratio between the second mean and a preset total cache capacity is calculated to obtain a cache occupancy rate.
[0138] S22. If the broadband occupancy rate is greater than the emergency bandwidth occupancy rate, select the second priority queue with the smallest priority from each second priority queue as the target queue;
[0139] The emergency bandwidth occupancy rate refers to the preset bandwidth occupancy rate that triggers the release of channel resources. For example, the emergency bandwidth occupancy rate takes a value of 80%.
[0140] The target queue refers to the second-priority queue that needs to disconnect communication transmission.
[0141] In the embodiment of the present invention, when the bandwidth occupancy rate is greater than 80%, it indicates that the communication channel resources of the emergency communication channel are released, and the second-priority queue with the smallest priority is selected from each second-priority queue as the target queue.
[0142] S23. Disconnect the communication transmission of the target queue, and jump to execute the step of obtaining the bandwidth occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window;
[0143] In the embodiment of the present invention, disconnect the communication transmission of the target queue, and jump to execute S21.
[0144] S24. If the bandwidth occupancy rate is less than or equal to the emergency bandwidth occupancy rate, then determine whether the cache occupancy rate is greater than the emergency cache occupancy rate;
[0145] The emergency cache occupancy rate refers to the preset cache occupancy rate that triggers the release of channel resources.
[0146] In the embodiment of the present invention, when the bandwidth occupancy rate is less than or equal to 80%, then determine whether the cache occupancy rate is greater than the emergency cache occupancy rate.
[0147] S25. If the cache occupancy rate is greater than the emergency cache occupancy rate, then select the second-priority queue with the smallest priority from each second-priority queue as the target queue;
[0148] In the embodiment of the present invention, if the cache occupancy rate is greater than the emergency cache occupancy rate, it indicates that the communication channel resources of the emergency communication channel are released, and the second-priority queue with the smallest priority is selected from each second-priority queue as the target queue.
[0149] S26. Disconnect the communication transmission of the target queue, and jump to execute the step of obtaining the bandwidth occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window;
[0150] In the embodiment of the present invention, disconnect the communication transmission of the target queue, and jump to execute S21.
[0151] S27. If the cache occupancy rate is less than or equal to the emergency cache occupancy rate, then jump to execute the step of obtaining multiple communication data packets of the emergency communication channel.
[0152] In an embodiment of the present invention, if the cache occupancy rate is less than or equal to the emergency cache occupancy rate, it indicates that there is no need to release the communication channel resources of the emergency communication channel, and the process jumps to execute S21.
[0153] It should be noted that when all the second-priority queues are all disconnected, only the first-priority queue is retained, and the process jumps to execute S21.
[0154] In an embodiment of the present invention, by obtaining the quality-of-service data between a communication device and each communication channel, channel allocation is performed on the communication device according to each quality-of-service data to obtain the emergency communication channel and emergency communication demand parameters corresponding to the communication device, obtaining multiple communication data packets of the emergency communication channel, performing queue allocation on each communication data packet to obtain a first-priority queue and multiple second-priority queues, performing communication transmission according to the first-priority queue and each second-priority queue, and dynamically adjusting each second-priority queue in the emergency communication channel by using the emergency communication demand parameters. It overcomes the technical problem that traditional emergency communication methods mainly use independent emergency communication systems for emergency communication, cannot be adjusted according to the real-time network conditions, are prone to communication interruption in an environment with fluctuating network quality, and reduce the reliability of emergency communication. Compared with traditional emergency communication methods, the present invention performs channel allocation on a communication device through each quality-of-service data to obtain the emergency communication channel and emergency communication demand parameters corresponding to the communication device, improves the stability of emergency communication in a harsh environment, and at the same time, dynamically adjusts each second-priority queue in the emergency communication channel according to the emergency communication demand parameters, realizes the precise allocation of channel resources in the emergency communication channel, and improves the reliability of emergency communication.
[0155] Please refer to Figure 3 , Figure 3 which is a structural block diagram of an emergency command online communication system provided in Embodiment 3 of the present invention.
[0156] An emergency command online communication system provided by the present invention includes:
[0157] An acquisition module 301, configured to obtain the quality-of-service data between a communication device and each communication channel;
[0158] An allocation module 302, configured to perform channel allocation on the communication device according to each quality-of-service data to obtain the emergency communication channel and emergency communication demand parameters corresponding to the communication device;
[0159] A queue setting module 303, configured to obtain multiple communication data packets of the emergency communication channel, perform queue allocation on each communication data packet to obtain a first-priority queue and multiple second-priority queues;
[0160] The communication module 304 is used for communication transmission according to the first priority queue and each second priority queue, and dynamically adjusts each second priority queue in the emergency communication channel by using the emergency communication demand parameters.
[0161] Furthermore, the allocation module 302 includes:
[0162] The matching sub-module is used to input the emergency communication type of the communication device into a preset quality of service weight list to match the corresponding quality of service weight and emergency communication demand parameters;
[0163] The weighting sub-module is used to perform weighted operations on each quality of service data based on the quality of service weight to obtain multiple quality of service scores, where the quality of service data includes signal strength, signal-to-noise ratio, bit error rate, data throughput, and round-trip delay;
[0164] The selection sub-module is used to select the communication channel associated with the maximum value from each quality of service score as the emergency communication channel corresponding to the communication device.
[0165] Furthermore, the queue setting module 303 includes:
[0166] The first analysis sub-module is used to respectively extract the communication identifiers of each communication data packet and determine whether the communication identifier of each communication data packet is an emergency identifier;
[0167] If the communication identifier is an emergency identifier, the communication data packet is determined as the first data packet;
[0168] If the communication identifier is not an emergency identifier, the communication data packet is determined as the second data packet;
[0169] The first queue sub-module is used to construct a first priority queue by using each first data packet;
[0170] The second queue sub-module is used to divide each second data packet into multiple second priority queues according to the service type of each second data packet.
[0171] Furthermore, the emergency communication demand parameters include the emergency bandwidth occupancy rate and the emergency cache occupancy rate. The communication module 304 includes:
[0172] The acquisition sub-module is used to obtain the broadband occupancy rate and the cache occupancy rate of the emergency communication channel based on a preset time window, and determine whether the broadband occupancy rate is greater than the emergency bandwidth occupancy rate;
[0173] The first adjustment sub-module is used to, if the broadband occupancy rate is greater than the emergency bandwidth occupancy rate, select the second priority queue with the lowest priority from each second priority queue as the target queue;
[0174] Disconnect the communication transmission of the target queue, and jump to execute the step of obtaining the broadband occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window;
[0175] A second adjustment sub-module, configured to, if the broadband occupancy rate is less than or equal to the emergency broadband occupancy rate, determine whether the cache occupancy rate is greater than the emergency cache occupancy rate;
[0176] If the cache occupancy rate is greater than the emergency cache occupancy rate, select the second priority queue with the smallest priority from each second priority queue as the target queue;
[0177] Disconnect the communication transmission of the target queue, and jump to execute the step of obtaining the broadband occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window;
[0178] If the cache occupancy rate is less than or equal to the emergency cache occupancy rate, jump to execute the step of obtaining multiple communication data packets of the emergency communication channel.
[0179] Further, the acquisition sub-module includes:
[0180] An acquisition unit, configured to acquire the instantaneous bandwidth data and instantaneous cache data of the emergency communication channel by using a preset time window;
[0181] A first mean unit, configured to perform mean processing on the instantaneous bandwidth data to obtain a first mean;
[0182] A second mean unit, configured to perform mean processing on the instantaneous cache data to obtain a second mean;
[0183] A first ratio unit, configured to perform ratio processing on the first mean and a preset total bandwidth to obtain a bandwidth occupancy rate;
[0184] A second ratio unit, configured to perform ratio processing on the second mean and a preset total cache capacity to obtain a cache occupancy rate.
[0185] Further, it further includes:
[0186] A scanning module, configured to obtain the communication area of the communication device, and acquire each communication channel in the communication area by using a frequency hopping scanning method.
[0187] Please refer to Figure 4 , Figure 4 which is a structural block diagram of a computer device provided in Embodiment 4 of the present invention.
[0188] An electronic device according to an embodiment of the present invention, the electronic device includes: a memory 401 and a processor 402, and a computer program is stored in the memory 401; when the computer program is executed by the processor 402, the processor 402 is caused to execute the emergency command online communication method according to any one of the above embodiments.
[0189] The memory 401 may be an electronic memory such as a flash memory, an EEPROM (electrically erasable programmable read-only memory), an EPROM, a hard disk, or a ROM. The memory 401 has a storage space 403 for program code 413 for performing any of the method steps in the above-described method. For example, the storage space 403 for the program code may include respective program codes 413 for implementing the various steps in the above method. These program codes may be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact discs (CDs), memory cards, or floppy disks. The program code may be compressed in a suitable form, for example. When these codes are run by a computing processing device, the computing processing device is caused to execute the respective steps in the method described above. These program codes may be read from or written to one or more computer program products. These computer program products include program code carriers such as hard disks, compact discs (CDs), memory cards, or floppy disks. The program code may be compressed in a suitable form, for example. When these codes are run by a computing processing device, the computing processing device is caused to execute the respective steps in the emergency command online communication method described above.
[0190] Embodiment 5 of the present invention also provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor implements the emergency command online communication method according to any of the above embodiments.
[0191] Embodiment 6 of the present invention also provides a computer program product. The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions, wherein when the program instructions are executed by a computer, the computer is caused to execute the emergency command online communication method according to any of the above embodiments.
[0192] Those skilled in the art can clearly understand that for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments and will not be elaborated herein.
[0193] In several embodiments provided by this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of units is only a logical function division. In actual implementation, there can be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed coupling or direct coupling or communication connection to each other can be through some interfaces, and the indirect coupling or communication connection of devices or units can be in electrical, mechanical, or other forms.
[0194] The units described as separate components may or may not be physically separated. The components displayed as units may or may not be physical units, that is, they can be located in one place, or they can be distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0195] In addition, each functional unit in various embodiments of the present invention can be integrated in a processing unit, or each unit can exist physically alone, or two or more units can be integrated in one unit. The above-mentioned integrated units can be implemented in the form of hardware or in the form of software functional units.
[0196] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods in various embodiments of the present invention. The foregoing storage medium includes: various media such as USB flash drives, mobile hard disks, read-only memories (ROM, Read-Only Memory), random access memories (RAM, Random Access Memory), magnetic disks, or optical discs that can store program codes.
[0197] The above embodiments are only used to illustrate the technical solution of the present invention, rather than to limit it; although the present invention has been described in detail with reference to the foregoing embodiments, those of ordinary skill in the art should understand that they can still modify the technical solutions recorded in the foregoing embodiments, or perform equivalent replacements for some of the technical features; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of various embodiments of the present invention.
Claims
1. An emergency command online communication method, characterized in that, Including: Obtain the quality of service data between the communication device and each communication channel; Perform channel allocation for the communication device according to each of the quality of service data to obtain an emergency communication channel and emergency communication demand parameters corresponding to the communication device; Obtain a plurality of communication data packets of the emergency communication channel, and perform queue allocation on each of the communication data packets to obtain a first priority queue and a plurality of second priority queues; Perform communication transmission according to the first priority queue and each of the second priority queues, and dynamically adjust each of the second priority queues in the emergency communication channel by using the emergency communication demand parameters.
2. The emergency command online communication method according to claim 1, wherein The step of performing channel allocation for the communication device according to each of the quality of service data to obtain an emergency communication channel and emergency communication demand parameters corresponding to the communication device includes: Input the emergency communication type of the communication device into a preset quality of service weight list to match the corresponding quality of service weight and emergency communication demand parameters; Perform weighted operations on each of the quality of service data based on the quality of service weight to obtain a plurality of quality of service scores, where the quality of service data includes signal strength, signal-to-noise ratio, bit error rate, data throughput, and round-trip delay; Select the communication channel associated with the maximum value from each of the quality of service scores as the emergency communication channel corresponding to the communication device.
3. The emergency command online communication method according to claim 1, characterized in that, The step of performing queue allocation on each of the communication data packets to obtain a first priority queue and a plurality of second priority queues includes: Extract the communication identifiers of each of the communication data packets respectively, and determine whether the communication identifier of each of the communication data packets is an emergency identifier; If the communication identifier is the emergency identifier, determine the communication data packet as a first data packet; If the communication identifier is not the emergency identifier, determine the communication data packet as a second data packet; Construct a first priority queue by using each of the first data packets; Divide each of the second data packets into a plurality of second priority queues according to the service type of each of the second data packets.
4. The emergency command online communication method according to claim 1, characterized in that The emergency communication demand parameters include an emergency bandwidth occupancy rate and an emergency cache occupancy rate. The step of dynamically adjusting each of the second priority queues in the emergency communication channel by using the emergency communication demand parameters includes: Obtain the bandwidth occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window, and determine whether the bandwidth occupancy rate is greater than the emergency bandwidth occupancy rate; If the bandwidth occupancy rate is greater than the emergency bandwidth occupancy rate, select the second priority queue with the lowest priority from each of the second priority queues as the target queue; Disconnect the communication transmission of the target queue, and jump to execute the step of obtaining the bandwidth occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window; If the bandwidth occupancy rate is less than or equal to the emergency bandwidth occupancy rate, determine whether the cache occupancy rate is greater than the emergency cache occupancy rate; If the cache occupancy rate is greater than the emergency cache occupancy rate, select the second priority queue with the lowest priority from each of the second priority queues as the target queue; Disconnect the communication transmission of the target queue and jump to execute the step of obtaining the broadband occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window; If the cache occupancy rate is less than or equal to the emergency cache occupancy rate, jump to execute the step of obtaining multiple communication data packets of the emergency communication channel.
5. The emergency command online communication method according to claim 4, wherein The step of obtaining the broadband occupancy rate and cache occupancy rate of the emergency communication channel based on a preset time window includes: Collect the instantaneous bandwidth data and instantaneous cache data of the emergency communication channel using a preset time window; Perform mean processing on the instantaneous bandwidth data to obtain a first mean value; Perform mean processing on the instantaneous cache data to obtain a second mean value; Perform a ratio processing on the first mean value and the preset total bandwidth to obtain a bandwidth occupancy rate; Perform a ratio processing on the second mean value and the preset total cache capacity to obtain a cache occupancy rate.
6. The emergency command online communication method according to claim 1, wherein Before the step of obtaining the quality of service data between the communication device and each communication channel, it further includes: Obtain the communication area of the communication device and collect each communication channel in the communication area using a frequency hopping scanning method.
7. An emergency command online communication system, characterized in that, It includes: A collection module for obtaining the quality of service data between the communication device and each communication channel; An allocation module for performing channel allocation on the communication device according to each of the quality of service data to obtain the emergency communication channel and emergency communication demand parameters corresponding to the communication device; A queue setting module for obtaining multiple communication data packets of the emergency communication channel, performing queue allocation on each of the communication data packets to obtain a first priority queue and multiple second priority queues; A communication module for performing communication transmission according to the first priority queue and each of the second priority queues, and dynamically adjusting each second priority queue in the emergency communication channel using the emergency communication demand parameters.
8. An electronic device, characterized in that, It includes a memory and a processor. When the computer program stored in the memory is executed by the processor, the processor is caused to execute the steps of the emergency command online communication method according to any one of claims 1-6.
9. A computer-readable storage medium having a computer program stored thereon, wherein, When the computer program is executed, it implements the emergency command online communication method according to any one of claims 1-6.
10. A computer program product, characterized in that, The computer program product includes a computer program stored on a non-transitory computer-readable storage medium. The computer program includes program instructions. When the program instructions are executed by a computer, the computer is caused to execute the emergency command online communication method according to any one of claims 1-6.
Citation Information
Cited By
Data cross-platform transmission management system and method based on 5G communication
CN121098788A