Beidou short message communication bandwidth control method and device based on flow perception
By introducing a traffic awareness mechanism into the BeiDou short message fusion communication platform, the weight and priority of data packets are dynamically adjusted, which solves the problems of low transmission success rate and low bandwidth utilization caused by static bandwidth allocation and improves the timeliness of emergency rescue.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-11-11
- Publication Date
- 2026-03-17
AI Technical Summary
The existing BeiDou short message fusion communication platform adopts a static bandwidth allocation mechanism, which lacks real-time traffic awareness, resulting in low data transmission success rate and low bandwidth utilization, affecting the timeliness of emergency rescue.
A traffic-aware bandwidth control method is adopted. The target load rate is calculated by the traffic detector, traffic events are generated, and the bandwidth controller dynamically adjusts the weight value of the data packets according to the preset priority and weight calculation model of the data packets, establishes a target priority queue, and sends data packets based on this.
It improved the success rate and bandwidth utilization of high-priority data transmission, and enhanced the timeliness of emergency rescue.
Smart Images

Figure CN121692084A_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the field of communication, in particular to a Beidou short message communication bandwidth control method and device based on traffic awareness, equipment and storage medium. BACKGROUND
[0002] The Beidou short message fusion communication platform (referred to as the fusion communication platform) supports the implementation of one double network service and the line short interworking service.
[0003] However, the existing Beidou short message fusion communication platform adopts a static bandwidth allocation mechanism, and lacks real-time traffic awareness and the problem of blocking new data by old data, thereby resulting in low data transmission success rate, low bandwidth utilization, and seriously affecting the timeliness of emergency rescue. SUMMARY
[0004] To solve or partially solve the problems in the related art, the present application provides a Beidou short message communication bandwidth control method and device based on traffic awareness, which can improve the high-priority data transmission success rate and bandwidth utilization.
[0005] The first aspect of the present application provides a Beidou short message communication bandwidth control method based on traffic awareness, applied to a Beidou short message fusion communication platform, the Beidou short message fusion communication platform is used to realize the mutual conversion of short messages and short messages, the method comprises: in response to monitoring that a short message data packet arrives at the Beidou short message fusion communication platform, a traffic detector in the Beidou short message fusion communication platform calculates a target load rate according to each data packet to be processed at present; wherein the target load rate represents the current network load rate, and each data packet to be processed at present includes a short message data packet; a traffic event matching the target load rate is generated, and the traffic detector sends the traffic event to a bandwidth controller in the Beidou short message fusion communication platform; the bandwidth controller performs weight calculation for each data packet to be processed in the current data packet to be processed according to a preset priority of each data packet to be processed based on the received traffic event, to obtain a weight value corresponding to each data packet respectively; according to the weight value corresponding to each data packet respectively, the priority of each data packet to be processed is sorted to obtain a target priority queue; and the sending of each data packet is performed based on the target priority queue.
[0006] In some embodiments, the traffic detector in the Beidou short message fusion communication platform calculates the target load rate according to each data packet to be processed, comprising: using a time wheel-based sliding window to count the total number of bytes in the window; the number of bytes of the short message data packet in the sliding window; triggering calculation at a fixed traffic detection period to calculate the instantaneous load rate according to the total number of bytes; using the exponential weighted moving average method to smooth the instantaneous load rate to obtain the target load rate.
[0007] In some embodiments, the method further comprises dynamically adjusting the interval time of the next flow detection according to the target load rate.
[0008] In some embodiments, the method further comprises determining service levels, frame types, data characteristics and transmission delay requirements corresponding to respective service types based on the uplink service types of the Beidou short message.
[0009] In some embodiments, the bandwidth controller performs weight calculation for each of the data packets to be processed based on the received flow event and the preset priority of the data packets to be processed, to obtain a weight value corresponding to each data packet, comprising: performing weight calculation on the data packets using a weight calculation model; and the weight calculation model is:
[0010] wherein the time decay factor is obtained based on the freshness factor.
[0011] In some embodiments, the sending of the data packets is performed based on the target priority queue, comprising: selecting a corresponding compression processing method according to the frame type of the data packet to compress the data packet, so as to send the compressed data packet.
[0012] The second aspect of the present application provides a Beidou short message communication bandwidth control device based on flow sensing, which comprises: a first processing module for responding to the arrival of short message data packets at a Beidou short message integrated communication platform, wherein a flow detector in the Beidou short message integrated communication platform calculates a target load rate based on the data packets to be processed; wherein the target load rate represents the current network load rate, and the data packets to be processed include short message data packets; a second processing module for generating a flow event matching the target load rate, and sending the flow event to a bandwidth controller in the Beidou short message integrated communication platform; a third processing module for the bandwidth controller to perform weight calculation for each of the data packets to be processed based on the received flow event and the preset priority of the data packets to be processed, to obtain a weight value corresponding to each data packet; a fourth processing module for performing priority sorting on the data packets to be processed according to the weight value corresponding to each data packet, to obtain a target priority queue; and a fifth processing module for performing the sending of the data packets based on the target priority queue.
[0013] The third aspect of the present application provides an electronic device, comprising: a processor; and a memory having executable code stored thereon, which, when executed by the processor, causes the processor to perform the method as described above.
[0014] The fourth aspect of the present application provides a computer readable storage medium having executable code stored thereon, which, when executed by a processor of an electronic device, causes the processor to perform the method described above.
[0015] The technical solution provided by the present application can include the following beneficial effects: the success rate of high-priority data transmission and the bandwidth utilization can be improved.
[0016] The technical solution of the present application can also improve the timeliness of emergency rescue.
[0017] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit the present application. BRIEF DESCRIPTION OF DRAWINGS
[0018] The above and other objects, features and advantages of the present application will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings, in which like reference characters designate like elements in the several views.
[0019] Figure 1 is a flowchart of a Beidou short message communication bandwidth control method based on traffic awareness according to an embodiment of the present application; Figure 2 is a flowchart of weight calculation according to an embodiment of the present application; Figure 3 is a flowchart of a high-bandwidth load response mechanism according to an embodiment of the present application; Figure 4 is a structural diagram of a Beidou short message communication bandwidth control device based on traffic awareness according to an embodiment of the present application; Figure 5 is a structural diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0020] Embodiments of the present application will be described in more detail by making reference to the accompanying drawings. Although embodiments of the present application are shown in the drawings, it should be understood that the present application can be implemented in various forms and should not be limited by the embodiments described herein. On the contrary, these embodiments are provided to make the present application more thorough and complete, and to fully convey the scope of the present application to those skilled in the art.
[0021] The terminology used in this application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a," "an" and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It will also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0022] It should be understood that although the terms "first," "second," "third," etc. can be used in this application to describe various information, the information should not be limited to these terms. These terms are only used to distinguish one piece of information from another piece of information of the same type. For example, the first information can also be called the second information without departing from the scope of the application, and similarly, the second information can also be called the first information. Therefore, the features defined as "first," "second" can explicitly or implicitly include one or more of the features. In the description of the application, the meaning of "multiple" is two or more, unless otherwise specifically limited.
[0023] The Beidou short message fusion communication platform (referred to as the fusion communication platform) supports the realization of the one-two network service for the public and the line-short interworking service for the industry customers.
[0024] The one-two network service supports the user without changing the card and the number, and through the multi-mode terminal, the Beidou short message and the mobile network are used at the same time to provide the two-way short message experience for the public. The mobile network user and the Beidou user interwork in both directions. The platform adopts the mode of short message conversion short message, and the information is sent to the public user in real time.
[0025] The line-short interworking service supports the point-to-point interconnection and interworking of the Beidou terminal and the mobile phone terminal of the large network. The fusion communication platform has the security, the user management ability and the platform operation and maintenance ability, supports the user to open and accept the service through the front-end service platform, and carries out the corresponding billing processing in the communication process.
[0026] The existing platform technology has the following technical limitations: Static bandwidth allocation mechanism: the existing scheme adopts fixed priority scheduling, which cannot adapt to the dynamic change of burst traffic in emergency scenarios. When multiple services are initiated at the same time, resource competition will occur.
[0027] Lack of real-time traffic awareness: the existing technology only performs simple classification based on service type, and does not establish a closed-loop feedback mechanism of traffic monitoring and bandwidth control, resulting in low bandwidth utilization.
[0028] Insufficient time sensitivity processing: the time decay characteristics of high-priority data are not considered, and there is a problem of "old data blocking new data", which affects the timeliness of emergency rescue.
[0029] To address the aforementioned issues, this application provides a traffic-aware BeiDou short message communication bandwidth control method, which can improve the success rate of high-priority data transmission and bandwidth utilization, as well as enhance the timeliness of emergency rescue.
[0030] The technical solutions of the embodiments of this application are described in detail below with reference to the accompanying drawings.
[0031] Figure 1 This is a flowchart illustrating the bandwidth control method for BeiDou short message communication based on traffic awareness, as shown in the embodiments of this application.
[0032] See Figure 1 A bandwidth control method for BeiDou short message communication based on flow awareness, the method comprising: Step 101: In response to the detection that short message data packets have arrived at the BeiDou short message fusion communication platform, the traffic detector in the BeiDou short message fusion communication platform calculates the target load rate based on the data packets to be processed.
[0033] In this step, the target load rate represents the current network load rate, and the data packets to be processed include short message data packets.
[0034] Step 102: Generate a traffic event that matches the target load rate. The traffic detector sends the traffic event to the bandwidth controller in the BeiDou short message fusion communication platform.
[0035] Step 103: Based on the received traffic events, the bandwidth controller calculates the weight of each data packet to be processed according to the preset priority of each data packet to be processed, so as to obtain the weight value corresponding to each data packet.
[0036] Step 104: Sort the current data packets to be processed according to their respective weight values to obtain the target priority queue.
[0037] Step 105: Send each data packet based on the target priority queue.
[0038] The bandwidth control of BeiDou short message communication based on traffic awareness provided in this embodiment is applied to the BeiDou short message fusion communication platform, which is used to realize the mutual conversion between short messages and SMS.
[0039] In some embodiments, the method further includes: determining the service level, frame type, data characteristics, and transmission latency requirements corresponding to each service type based on the uplink service type of BeiDou short messages.
[0040] Regarding the services of the BeiDou short message fusion communication platform, it should be noted that the services include: converting uplink BeiDou short messages from BeiDou users into SMS messages and sending them to ordinary mobile communication users; and forwarding ordinary SMS messages sent by ordinary users to downlink short messages received by BeiDou users through the platform. Furthermore, the service types that BeiDou users can send via uplink short messages include: "0x01": Emergency Rescue Frame: Sending emergency rescue short messages; "0x02": Location Report Frame: Short messages with location information; "0x03": Message Communication Frame: Ordinary short messages without location information; "0x04": Mail Inquiry Frame: Inbox inquiry command.
[0041] Furthermore, the business type-based hierarchical model is shown in Table 1 below.
[0042] Table 1
[0043] In some embodiments, the bandwidth controller, based on received traffic events and according to the preset priority of each data packet to be processed, performs weight calculation for each data packet to be processed to obtain a weight value corresponding to each data packet. This includes: performing weight calculation for each data packet using a weight calculation model; the weight calculation model is:
[0044] The time decay factor is derived from the freshness factor.
[0045] Figure 2 This is a schematic diagram illustrating the weight calculation process in an embodiment of this application. Figure 3 This is a flowchart illustrating the high-bandwidth load response mechanism shown in an embodiment of this application. See also... Figure 2 and Figure 3 .
[0046] In this embodiment, the preset priority refers to the priority based on different business scenarios.
[0047] An adaptation algorithm is set up under limited bandwidth conditions to ensure the transmission of high-priority short message information.
[0048] The dynamic bandwidth adaptation algorithm can be set up as a weight calculation model as follows:
[0049] in, This refers to the priority factor, which can be 0.7; This refers to the freshness factor, which can be 0.3, with a constant offset of 0.2. (Dynamic parameter:) This refers to preset priorities, such as the reciprocal of QoS levels (QoS1=1.0, QoS2=0.8, QoS3=0.5, QoS4=0.3). This refers to bandwidth utilization (current bandwidth / total bandwidth); This refers to the time decay factor.
[0050] Among them, the priority factor of 0.7 emphasizes the dominance of service level (tests show that 70% weight can achieve optimal QoS balance). Based on the current BeiDou short message fusion communication platform business scenario design, a priority-based hierarchical mapping is implemented; a constant offset of 0.2 can avoid the risk of division by zero: ensuring that the formula can still be calculated under zero load, and the offset can be controlled: when the load is <80%: the denominator ≈1.0, keeping the numerator as original as possible; when the load is >90%: the denominator >1.1, significantly suppressing low-priority services.
[0051] To prevent high-priority older data from occupying bandwidth for extended periods when bandwidth is limited, a time decay factor was designed using exponential decay. The coefficient -0.1 can achieve a half-life of 7 minutes. This calculation method is better than linear decay, which allows high-priority data to maintain a high weight within 7 minutes through calculation. After 7 minutes, the weight decays, ensuring that new high-priority data has a higher weight.
[0052] To clearly demonstrate the significant impact of the time decay factor on scheduling priority in this invention, the following comparative calculations are performed on the weights of the same emergency rescue frame (0x01) at different time points after its generation.
[0053] Calculation parameters are set uniformly: Service type: Emergency rescue frame (0x01) QoS priority factor: 1.0 QoS weighting coefficient:
[0054] Freshness weighting coefficient:
[0055] Network load factor: (Medium load scenario) Constant offset:
[0056] Weight calculation formula:
[0057] Calculation Example 1: Generating Instantaneous ( Second) Calculation of time decay term:
[0058] Weight calculation process:
[0059] Technical meaning: When the data is first generated, the time decay factor is 1.0, and the freshness weight is fully preserved. At this time, the weight value reaches its peak of 1.538.
[0060] Calculation Example 2: After 10 seconds ( Second) Calculation of time decay term:
[0061] Weight calculation process:
[0062] Technical meaning: After 10 seconds, the time decay factor drops to 0.3679, and the freshness weight decays significantly, with the weight value decreasing to 1.247.
[0063] Comparative analysis of weight changes: Quantitative comparison table:
[0064] As can be seen, the system prioritizes timeliness: newly generated emergency rescue frames have a weight that is 23.3% higher than the same type of frame 10 seconds ago, ensuring that the latest emergency information is transmitted first; intelligent attenuation mechanism: the weight decreases exponentially within 10 minutes, avoiding old data from occupying bandwidth resources for a long time; dynamic adaptability: as time goes by, the system automatically reduces the scheduling priority of old data, freeing up transmission space for new data.
[0065] In some embodiments, the traffic detector in the BeiDou short message fusion communication platform calculates the target load rate based on each data packet to be processed, including: using a time wheel-based sliding window to count the total number of bytes in the window; the number of bytes including short message data packets in the sliding window; triggering calculation with a fixed traffic detection period to calculate the instantaneous load rate based on the total number of bytes; and smoothing the instantaneous load rate using an exponentially weighted moving average method to obtain the target load rate.
[0066] In some embodiments, the interval between the next traffic detection can be dynamically adjusted based on the target load rate.
[0067] The system uses a sliding window based on a time wheel, with a window size of 10 seconds divided into 10 buckets (each bucket lasting 1 second). Instantaneous load is calculated as follows: Instantaneous Load (KB / s) = (Total bytes / 1024) / Window size (seconds). An EWMA (Exponentially Weighted Moving Average) algorithm is used to smooth the instantaneous load; the formula is: New EWMA = 0.8 Instantaneous Load + 0.2 Original EWMA. The detection frequency is dynamically adjusted based on the load: if the load rate is less than or equal to 40%, monitoring is maintained every 10 seconds; if the load rate is greater than 40%, monitoring is upgraded to every 5 seconds; if the load rate is greater than 60%, monitoring is upgraded to every 2 seconds; and if the load rate is greater than 80%, monitoring is upgraded to every 1 second.
[0068] In some embodiments, sending each data packet based on a target priority queue includes: selecting the appropriate compression method according to the frame type corresponding to the data packet to compress the data packet, so as to send the compressed data packet.
[0069] To better understand the collaborative operation process of the flow detector and bandwidth controller in the flow-aware BeiDou short message communication bandwidth control method of the present invention, the content of the present invention will be further described below with reference to the embodiments. However, the present invention is not limited to the embodiments below.
[0070] Example 1: 1. The Beidou user terminal generates an emergency rescue frame (0x01) with the content "SOS! The injured person's blood pressure is 80 / 50" (22 bytes) and sends the data to the Beidou short message fusion communication platform.
[0071] 2. Raw data packets pass through the traffic detector, and the traffic monitor performs real-time statistics, updating the sliding window statistics after receiving data packets: 2.1. Include 22 bytes in the current time bucket; 2.2. Maintain a 10-second time window (10 1-second buckets); 2.3. Periodic detection trigger (default 10-second interval): 2.3.1. Calculate instantaneous load rate: Total bytes within the statistical window / Maximum bandwidth; 2.3.2. Smoothing using the EWMA algorithm: New load value = 0.8 × instantaneous load + 0.2 × historical load; 2.3.3. Dynamically adjust the detection frequency.
[0072] 2.3.4. Send a traffic event to the bandwidth controller: TrafficEvent(load=0.45).
[0073] 3. The bandwidth controller dynamically schedules data packets: 3.1. Execute the operation to enter the sending queue.
[0074] 3.1.1. Calculate the weight of the data packets.
[0075] 3.1.2. Based on the calculated weight values, add them to the priority queue (sorted in descending order of weight).
[0076] 3.1.3. Trigger the sending thread: High-weight data packets are dequeued first.
[0077] 4. Compression processor optimization: 4.1. Frame type identification: 0x01 (emergency rescue frame).
[0078] 4.2. Selection of compression algorithm: Huffman + LZ4 hybrid compression.
[0079] 5. The converged communication platform sends data packets out of the station.
[0080] This embodiment first proposes a triple dynamic weighting model, namely, introducing a time decay factor to achieve a 7-minute half-life mechanism; establishing a joint optimization function for QoS priority, data freshness, and network load; and avoiding division-by-zero risk by using a constant offset of 0.2 to ensure algorithm stability. Secondly, it provides an intelligent traffic awareness mechanism, namely, sliding window statistics based on a time wheel (10-second window, 10 buckets); EWMA smoothing algorithm to eliminate instantaneous fluctuation interference; and four dynamic detection frequencies (1 / 2 / 5 / 10 seconds) to achieve a balance between accuracy and overhead. The aim is to construct a traffic-aware BeiDou short message dynamic bandwidth adaptation system, dynamically allocating bandwidth resources by monitoring network load and service priority in real time. This results in improved success rate of high-priority data transmission, reduced average transmission latency in emergency scenarios, and improved bandwidth utilization.
[0081] The above describes in detail the BeiDou short message communication bandwidth control method based on traffic awareness according to the embodiments of this application. Accordingly, this application also provides a BeiDou short message communication bandwidth control device, electronic device, and corresponding embodiments based on traffic awareness.
[0082] Figure 4 This is a schematic diagram of the structure of a BeiDou short message communication bandwidth control device based on traffic awareness, as shown in an embodiment of this application.
[0083] See Figure 4 The BeiDou short message communication bandwidth control device 400 based on traffic awareness in this embodiment includes a first processing module 410, a second processing module 420, a third processing module 430, a fourth processing module 440 and a fifth processing module 450.
[0084] The first processing module 410 is used to respond to the detection that short message data packets have arrived at the Beidou short message fusion communication platform. The traffic detector in the Beidou short message fusion communication platform calculates the target load rate based on the data packets to be processed. The target load rate represents the current network load rate, and the data packets to be processed include short message data packets.
[0085] The second processing module 420 is used to generate traffic events that match the target load rate. The traffic detector sends the traffic events to the bandwidth controller in the Beidou short message fusion communication platform.
[0086] The third processing module 430 is used by the bandwidth controller to calculate the weight of each data packet to be processed according to the preset priority of each data packet to be processed based on the received traffic events, so as to obtain the weight value corresponding to each data packet.
[0087] The fourth processing module 440 is used to sort the data packets to be processed according to their respective weight values to obtain the target priority queue.
[0088] The fifth processing module 450 is used to send each data packet based on the target priority queue.
[0089] In some implementations, the traffic detector in the BeiDou short message fusion communication platform calculates the target load rate based on each data packet to be processed, including: using a time-wheel-based sliding window to count the total number of bytes in the window; counting the number of bytes including short message data packets in the sliding window; triggering calculations at a fixed traffic detection period to calculate the instantaneous load rate based on the total number of bytes; and smoothing the instantaneous load rate using an exponentially weighted moving average method to obtain the target load rate.
[0090] Regarding the apparatus in the above embodiments, the specific manner in which each module performs its operation has been described in detail in the embodiments related to the method, and will not be elaborated further here.
[0091] According to embodiments of this application, any plurality of modules among the first processing module 410, second processing module 420, third processing module 430, fourth processing module 440, and fifth processing module 450 may be combined into one module, or any one of these modules may be split into multiple modules. Alternatively, at least a portion of the functionality of one or more of these modules may be combined with at least a portion of the functionality of other modules and implemented in one module. According to embodiments of this disclosure, at least one of the first processing module 410, second processing module 420, third processing module 430, fourth processing module 440, and fifth processing module 450 may be at least partially implemented as hardware circuitry, such as a field-programmable gate array (FPGA), a programmable logic array (PLA), a system-on-a-chip, a system-on-a-substrate, a system-on-package, an application-specific integrated circuit (ASIC), or implemented in hardware or firmware by any other reasonable means of integrating or packaging the circuitry, or implemented in any one of software, hardware, and firmware methods, or in a suitable combination of any of these methods. Alternatively, at least one of the first processing module 410, the second processing module 420, the third processing module 430, the fourth processing module 440, and the fifth processing module 450 may be implemented at least partially as a computer program module, which can perform corresponding functions when the computer program module is run.
[0092] Figure 5 This is a schematic diagram of the structure of an electronic device shown in an embodiment of this application.
[0093] See Figure 5 The electronic device 500 includes a memory 510 and a processor 520.
[0094] The processor 520 can be a Central Processing Unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor can be a microprocessor or any conventional processor.
[0095] Memory 510 may include various types of storage units, such as system memory, read-only memory (ROM), and permanent storage devices. ROM may store static data or instructions required by the processor 520 or other modules of the computer. Permanent storage devices may be read-write storage devices. Permanent storage devices may be non-volatile storage devices that retain stored instructions and data even when the computer is powered off. In some embodiments, permanent storage devices use mass storage devices (e.g., magnetic or optical disks, flash memory) as permanent storage devices. In other embodiments, permanent storage devices may be removable storage devices (e.g., floppy disks, optical drives). System memory may be a read-write storage device or a volatile read-write storage device, such as dynamic random access memory. System memory may store some or all of the instructions and data required by the processor during operation. Furthermore, memory 510 may include any combination of computer-readable storage media, including various types of semiconductor memory chips (e.g., DRAM, SRAM, SDRAM, flash memory, programmable read-only memory), and disks and / or optical disks may also be used. In some embodiments, memory 510 may include a removable storage device that is readable and / or writable, such as a laser disc (CD), a read-only digital multifunction optical disc (e.g., DVD-ROM, dual-layer DVD-ROM), a read-only Blu-ray disc, an ultra-high density optical disc, a flash memory card (e.g., SD card, mini SD card, Micro-SD card, etc.), a magnetic floppy disk, etc. Computer-readable storage media do not contain carrier waves or transient electronic signals transmitted wirelessly or via wired connections.
[0096] The memory 510 stores executable code, which, when processed by the processor 520, can cause the processor 520 to execute part or all of the methods described above.
[0097] Furthermore, the method according to this application can also be implemented as a computer program or computer program product, which includes computer program code instructions for performing some or all of the steps in the method described above.
[0098] Alternatively, this application may be implemented as a computer-readable storage medium (or a non-transitory machine-readable storage medium or a machine-readable storage medium) storing executable code (or computer program or computer instruction code) thereon, which, when executed by a processor of an electronic device (or server, etc.), causes the processor to perform part or all of the steps of the methods described above according to this application.
[0099] The various embodiments of this application have been described above. These descriptions are exemplary and not exhaustive, nor are they limited to the disclosed embodiments. Many modifications and variations will be apparent to those skilled in the art without departing from the scope and spirit of the described embodiments. The terminology used herein is chosen to best explain the principles, practical application, or improvement of the technology in the market, or to enable others skilled in the art to understand the embodiments disclosed herein.
Claims
1. A method for controlling bandwidth of a Beidou short message communication based on traffic awareness, characterized in that, The application is applied to a Beidou short message fusion communication platform, and the Beidou short message fusion communication platform is used for realizing mutual conversion of short messages and short messages. The method comprises the following steps: In response to monitoring that a short message data packet arrives at the Beidou short message fusion communication platform, a traffic detector in the Beidou short message fusion communication platform calculates a target load rate according to each data packet to be processed at present; wherein the target load rate represents a current network load rate, and the each data packet to be processed at present comprises the short message data packet; A traffic event matched with the target load rate is generated, and the traffic detector sends the traffic event to a bandwidth controller in the Beidou short message fusion communication platform; The bandwidth controller performs weight calculation on each data packet to be processed in the each data packet to be processed at present according to a preset priority of the each data packet to be processed based on the received traffic event, so as to obtain a weight value corresponding to each data packet respectively; The each data packet to be processed at present is prioritized according to the weight value corresponding to each data packet respectively, so as to obtain a target priority queue; Based on the target priority queue, the sending of each data packet is performed.
2. The method of claim 1, wherein, The traffic detector in the Beidou short message fusion communication platform calculates a target load rate according to each data packet to be processed at present, which comprises the following steps: The total number of bytes in a sliding window is counted based on a time wheel; the sliding window comprises the number of bytes of the short message data packet; The calculation is triggered at a fixed traffic detection period, so as to calculate an instantaneous load rate according to the total number of bytes; The exponential weighted moving average method is used to smooth the instantaneous load rate, so as to obtain the target load rate.
3. The method of claim 2, wherein, The method further comprises the following steps: The interval time of next traffic detection is dynamically adjusted according to the target load rate.
4. The method of claim 1, wherein, The method further comprises the following steps: Based on the uplink service type of the Beidou short message, the service level, frame type, data characteristics and transmission delay requirement corresponding to each service type are determined respectively.
5. The method of claim 4, wherein, The bandwidth controller performs weight calculation on each data packet to be processed in the each data packet to be processed at present according to a preset priority of the each data packet to be processed based on the received traffic event, so as to obtain a weight value corresponding to each data packet respectively, which comprises the following steps: The weight calculation model is used for the weight calculation of each data packet; the weight calculation model is as follows: The time decay factor is obtained based on a freshness factor.
6. The method of claim 4, wherein, The sending of each data packet based on the target priority queue comprises the following steps: According to the frame type corresponding to the data packet, a corresponding compression processing method is selected to compress the data packet, so as to send the compressed data packet.
7. A traffic-aware-based bandwidth control device for Beidou short message communication, characterized in that, The method comprises the following steps: A first processing module is used for calculating a target load rate according to each data packet to be processed at present in response to monitoring that a short message data packet arrives at the Beidou short message fusion communication platform; wherein the target load rate represents a current network load rate, and the each data packet to be processed at present comprises the short message data packet; The second processing module is configured to generate a traffic event matching the target load rate, and the traffic detector sends the traffic event to a bandwidth controller in the Beidou short message fusion communication platform; The third processing module is configured to perform weight calculation on each data packet in the current data packets to be processed according to a preset priority of each data packet to be processed based on the received traffic event, so as to obtain a weight value corresponding to each data packet respectively. The fourth processing module is configured to perform priority sorting on the current data packets to be processed according to the weight value corresponding to each data packet respectively, so as to obtain a target priority queue. The fifth processing module is configured to perform data packet sending based on the target priority queue.
8. The apparatus of claim 7, wherein, The traffic detector in the Beidou short message fusion communication platform calculates a target load rate according to current data packets to be processed, and the calculation includes: A total byte number in a sliding window is counted based on a time wheel; the sliding window includes a byte number of the short message data packet; A calculation is triggered at a fixed traffic detection period, so as to calculate an instantaneous load rate according to the total byte number; An exponential weighted moving average method is used to perform smoothing processing on the instantaneous load rate, so as to obtain the target load rate.
9. An electronic device, comprising: The method includes: A processor; and A memory having executable code stored thereon, when the executable code is executed by the processor, the processor executes the method as claimed in any one of claims 1-6.
10. A computer readable storage medium having executable code stored thereon, when the executable code is executed by a processor of an electronic device, the processor executes the method as claimed in any one of claims 1-6.