A Beidou short message transmitting method and device, electronic equipment and storage medium
Patent Information
- Application Number
- CN202310667061.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-06
- Publication Date
- 2026-09-25
- Estimated Expiration
- 2043-06-06
AI Technical Summary
[0004]本发明提供了一种北斗短报文发射方法、装置、电子设备及存储介质,以解决北斗短报文应用过程中无法合理的选择发射功率,以及未完全实现低功耗处理的问题
[0021]本发明实施例的一种北斗短报文发射方法、装置、电子设备及存储介质,所述方法包括:确定待发射北斗短报文的数据总量;基于北斗三短报文智能卡的通信等级将所述数据总量执行不同分帧策略得到不同帧长度的数据;确定所述不同帧长度的数据对应的发射持续时间;根据选择的发射功率、发射效率以及所述不同帧长度的数据对应的发射持续时间确定所述不同帧长度的数据对应的发射能量;选择出所对应的发射能量小于或等于发射设备供电能量的目标帧长度的数据,按照所述目标帧长度的数据对应的发射功率和发射速率进行发射。该方法对待发射的北斗短报文执行不同的分帧策略,得到不同帧长度的数据并选择合适的发射功率发送,实现了北斗短报文的低功耗处理。
Smart Images

Figure CN116761238B_ABST
Abstract
Description
Technical Field
[0001] The embodiments of the present invention relate to the field of satellite communication technology, and in particular to a BeiDou short message transmission method, apparatus, electronic device and storage medium. Background Technology
[0002] With the full completion of the BeiDou-3 satellite navigation system, BeiDou short message communication technology has begun to be widely and deeply promoted in various industries, solving communication pain points in areas with communication blind spots and under emergency conditions. Compared with the earlier BeiDou system, BeiDou-3 short message technology has made significant improvements in various aspects such as communication bandwidth, communication transmission frequency, and communication inbound and outbound station capacity. Therefore, in addition to its promotion in industry applications, BeiDou short message technology is increasingly being adopted in the mass consumer market.
[0003] Currently, the existing technology for transmitting BeiDou short messages involves long-term, single-power transmission, resulting in high power consumption. Summary of the Invention
[0004] This invention provides a BeiDou short message transmission method, apparatus, electronic device, and storage medium to solve the problems of not being able to reasonably select transmission power and not fully achieving low power consumption processing in the application of BeiDou short messages.
[0005] According to one aspect of the present invention, a method for transmitting BeiDou short messages is provided, the method comprising:
[0006] Determine the total amount of data to be launched in the BeiDou short message service;
[0007] Based on the communication level of the Beidou-3 short message smart card, the total amount of data is divided into different frame lengths by different framing strategies.
[0008] Determine the transmission duration corresponding to the data of different frame lengths;
[0009] The transmission energy corresponding to the data of different frame lengths is determined based on the selected transmission power, transmission efficiency, and transmission duration corresponding to the data of different frame lengths.
[0010] Select the data corresponding to the target frame length whose transmission energy is less than or equal to the power supply energy of the transmitting device, and transmit according to the transmission power and transmission rate corresponding to the data of the target frame length.
[0011] According to another aspect of the present invention, a BeiDou short message transmitting device is provided, the device comprising:
[0012] The first determining module is used to determine the total amount of data in the BeiDou short message to be launched;
[0013] The processing module is used to perform different framing strategies on the total amount of data based on the communication level of the Beidou-3 short message smart card to obtain data with different frame lengths;
[0014] The second determining module is used to determine the transmission duration corresponding to the data of different frame lengths;
[0015] The third determining module is used to determine the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency, and transmission duration corresponding to the data of different frame lengths.
[0016] The transmission module is used to select data of target frame length whose corresponding transmission energy is less than or equal to the power supply energy of the transmission device, and to transmit the data according to the transmission power and transmission rate corresponding to the target frame length.
[0017] According to another aspect of the present invention, an electronic device is provided, the electronic device comprising: at least one processor; and
[0018] A memory communicatively connected to the at least one processor; wherein,
[0019] The memory stores a computer program that can be executed by the at least one processor, which is then executed by the at least one processor to enable the at least one processor to execute the BeiDou short message transmission method according to any embodiment of the present invention.
[0020] According to another aspect of the present invention, a computer-readable storage medium is provided, the computer-readable storage medium storing computer instructions, the computer instructions being configured to cause a processor to execute and implement the BeiDou short message transmission method according to any embodiment of the present invention.
[0021] This invention discloses a method, apparatus, electronic device, and storage medium for transmitting BeiDou short messages. The method includes: determining the total amount of data in the BeiDou short message to be transmitted; applying different framing strategies to the total data based on the communication level of the BeiDou-3 short message smart card to obtain data of different frame lengths; determining the transmission duration corresponding to the data of different frame lengths; determining the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency, and the transmission duration corresponding to the data of different frame lengths; selecting data of a target frame length whose corresponding transmission energy is less than or equal to the power supply energy of the transmitting device, and transmitting the data according to the transmission power and transmission rate corresponding to the data of the target frame length. This method applies different framing strategies to the BeiDou short message to be transmitted, obtains data of different frame lengths, and selects an appropriate transmission power for transmission, achieving low-power processing of BeiDou short messages.
[0022] It should be understood that the description in this section is not intended to identify key or essential features of the embodiments of the present invention, nor is it intended to limit the scope of the invention. Other features of the invention will become readily apparent from the following description. Attached Figure Description
[0023] To more clearly illustrate the technical solutions in the embodiments of the present invention, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0024] Figure 1 This is a flowchart illustrating a BeiDou short message transmission method according to Embodiment 1 of the present invention.
[0025] Figure 2 This is a flowchart illustrating a BeiDou short message transmission method according to Embodiment 2 of the present invention.
[0026] Figure 3 A flowchart illustrating a BeiDou short message transmission method provided in an embodiment of the present invention;
[0027] Figure 4 This is a schematic diagram of the structure of a Beidou short message transmitting device provided in Embodiment 3 of the present invention;
[0028] Figure 5 This is a schematic diagram of the electronic device used in the BeiDou short message transmission method according to an embodiment of the present invention. Detailed Implementation
[0029] To enable those skilled in the art to better understand the present invention, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are merely some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort should fall within the scope of protection of the present invention. It should be understood that the various steps described in the method embodiments of the present invention can be performed in different orders and / or in parallel. Furthermore, the method embodiments may include additional steps and / or omit the steps shown. The scope of the present invention is not limited in this respect.
[0030] The term "comprising" and its variations as used herein are open-ended inclusions, meaning "including but not limited to". The term "based on" means "at least partially based on". The term "one embodiment" means "at least one embodiment"; the term "another embodiment" means "at least one additional embodiment"; the term "some embodiments" means "at least some embodiments". Definitions of other terms will be given in the description below.
[0031] It should be noted that the terms "first," "second," etc., in the specification, claims, and accompanying drawings of this invention are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of the invention described herein can be implemented in orders other than those illustrated or described herein. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover a non-exclusive inclusion; for example, a process, method, system, product, or apparatus that comprises a series of steps or units is not necessarily limited to those steps or units explicitly listed, but may include other steps or units not explicitly listed or inherent to such processes, methods, products, or apparatus.
[0032] It should be noted that the terms "a" and "a plurality of" used in this invention are illustrative rather than restrictive. Those skilled in the art should understand that, unless otherwise expressly indicated in the context, they should be understood as "one or more".
[0033] The names of the messages or information exchanged between the multiple devices in the embodiments of the present invention are for illustrative purposes only and are not intended to limit the scope of these messages or information.
[0034] Example 1
[0035] Figure 1 This is a flowchart illustrating a BeiDou short message transmission method provided in Embodiment 1 of the present invention. This method is applicable to the promotion of BeiDou short messages. The method can be executed by a BeiDou short message transmission device, which can be implemented by software and / or hardware and is generally integrated into an electronic device.
[0036] like Figure 1 As shown, the BeiDou short message transmission method provided in Embodiment 1 of the present invention includes the following steps:
[0037] S110. Determine the total amount of data for the BeiDou short message to be launched.
[0038] The "BeiDou short message to be launched" can be any BeiDou short message to be launched. BeiDou short message communication refers to the short message communication system of the BeiDou system, which enables direct two-way information transmission between BeiDou ground terminals and BeiDou satellites / ground monitoring stations via satellite signals. Communication uses short messages (similar to SMS messages) as the basic unit of transmission and is a functional feature of the BeiDou satellite navigation system. The "total data" can be the total length of the BeiDou short message to be launched, which can be the total length of the data to be sent after being converted to binary.
[0039] In this embodiment, before transmitting the BeiDou short message, the BeiDou short message to be transmitted can be processed to obtain the total data length of the BeiDou short message and determine the total amount of data.
[0040] S120. Based on the communication level of the Beidou-3 short message smart card, the total amount of data is processed by different framing strategies to obtain data with different frame lengths.
[0041] Among them, the BeiDou-3 short message smart card can be a smart card used for BeiDou-3 short message communication services. Communication level refers to the communication level that the BeiDou-3 short message smart card can perform. Smart cards with different communication levels can have different transmission powers, and the classification method of communication levels can be set according to actual conditions. For example, communication levels can be divided into first, second, third, fourth, and fifth communication levels. Different framing strategies can be the transmission strategies for data with different frame lengths. Different framing strategies can divide a segment of BeiDou short message data into multiple data frames of different lengths. Frame length refers to the length of each frame in the data frame.
[0042] In this embodiment, the maximum frame length data that the communication card can send can be determined based on the communication level of the BeiDou-3 short message smart card, and the total data volume can be divided into data of different frame lengths according to the framing strategy. It is understood that in a multi-card system, different communication card levels can be selected based on different data lengths and communication rates.
[0043] S130. Determine the transmission duration corresponding to the data of different frame lengths.
[0044] The transmission duration can be the time required to transmit data, and the transmission duration varies depending on the frame length.
[0045] In this embodiment, after obtaining data of multiple different frame lengths, the transmission duration required for each different frame length can be calculated based on the transmission rate corresponding to the different frame lengths.
[0046] S140. Determine the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency, and transmission duration corresponding to the data of different frame lengths.
[0047] Transmission power can be the power used to transmit data of different frame lengths, and the range of transmission power can be determined according to the actual satellite access requirements. For example, depending on the actual satellite access requirements, different upper limit transmission power P can include: 2W (P1), 3W (P2), 5W (P3), and 10W (P4). Transmission efficiency can be the conversion efficiency corresponding to the transmission power; different transmission powers have different transmission efficiencies. Transmission energy can be the energy consumed to transmit data.
[0048] In this embodiment, the transmission power and transmission efficiency corresponding to data with different frame lengths are different. After determining the transmission duration corresponding to data with different frame lengths, the transmission power consumption required to transmit the data with different frame lengths in actual operation can be determined first based on the transmission power and transmission efficiency corresponding to different frame lengths. Then, the transmission energy corresponding to the transmission data can be calculated based on the transmission power consumption and transmission duration.
[0049] S150. Select the data corresponding to the target frame length whose transmission energy is less than or equal to the power supply energy of the transmitting device, and transmit according to the transmission power and transmission rate corresponding to the data of the target frame length.
[0050] The power supply energy of the transmitting equipment can be the standard power supply energy of the transmitting equipment, and the transmitting equipment can be a device that transmits BeiDou short messages. The target frame length can be data of different frame lengths that meet the transmission conditions. The transmission conditions can be the conditions for transmitting data of different frame lengths. In this embodiment, the transmission conditions can refer to data whose transmission energy is less than or equal to the power supply energy of the transmitting equipment.
[0051] In this embodiment, the transmission energy E corresponding to data of different frame lengths j Less than or equal to the power supply energy E of the transmitting device s Only then can data of different frame lengths be used as data of the target frame length, and transmitted according to the transmission power and transmission rate corresponding to the target frame length. This ensures that the energy consumed to transmit the target frame length is within the power supply level of the transmitting equipment, guarantees the use of the most appropriate transmission power for each BeiDou short message transmission, reduces the transmission power of BeiDou short message transmission, saves transmission energy, and improves transmission stability.
[0052] This invention provides a BeiDou short message transmission method, comprising: determining the total amount of data in the BeiDou short message to be transmitted; applying different framing strategies to the total amount of data based on the communication level of the BeiDou-3 short message smart card to obtain data of different frame lengths; determining the transmission duration corresponding to the data of different frame lengths; determining the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency, and the transmission duration corresponding to the data of different frame lengths; selecting data of a target frame length whose corresponding transmission energy is less than or equal to the power supply energy of the transmitting device, and transmitting the data according to the transmission power and transmission rate corresponding to the data of the target frame length. This method applies different framing strategies to the BeiDou short message to be transmitted, obtains data of different frame lengths, and selects an appropriate transmission power for transmission, thus achieving low-power processing of BeiDou short messages.
[0053] Based on the above embodiments, modified embodiments of the above embodiments are proposed. It should be noted that, in order to keep the description brief, only the differences from the above embodiments are described in the modified embodiments.
[0054] In one embodiment, the BeiDou-3 short message smart card includes five communication levels, with different numbers of transmission bits and different transmission rates corresponding to different communication levels;
[0055] The first communication level corresponds to the first number of transmitted bits, and the first communication level corresponds to the first transmission rate;
[0056] The second communication level corresponds to the second number of transmitted bits, and the second communication level corresponds to the first transmission rate;
[0057] The third communication level corresponds to the third number of transmitted bits, and the third communication level corresponds to the second transmission rate;
[0058] The fourth communication level corresponds to the fourth number of transmitted bits, and the fourth communication level corresponds to the third transmission rate;
[0059] The fifth communication level corresponds to the fifth number of transmitted bits, and the fifth communication level corresponds to the fourth transmission rate;
[0060] Wherein, the first number of transmitted bits is less than the second number of transmitted bits, which is less than the third number of transmitted bits, which is less than the fourth number of transmitted bits, which is less than the fifth number of transmitted bits, and the first transmission rate is less than the second transmission rate, which is less than the third transmission rate, which is less than the fourth transmission rate.
[0061] The number of transmitted bits can be the number of bits transmitted per unit time, and the transmission rate can be the amount of data transmitted through the data path per unit time. Different transmission rates correspond to different transmission uptime. The first, second, third, fourth, and fifth communication levels are the five communication levels corresponding to the BeiDou-3 short message smart card. The first number of transmitted bits can be the number of transmitted bits corresponding to the first communication level, the second number of transmitted bits can be the number of transmitted bits corresponding to the second communication level, the first transmission rate can be the transmission rate corresponding to the first and second communication levels, the third number of transmitted bits and the second transmission rate can be the number of transmitted bits and the transmission rate corresponding to the third communication level, the fourth number of transmitted bits and the third transmission rate can be the number of transmitted bits and the transmission rate corresponding to the fourth communication level, and the fifth number of transmitted bits and the fourth transmission rate can be the number of transmitted bits and the transmission rate corresponding to the fifth communication level.
[0062] In this embodiment, different communication levels can correspond to different transmission bit counts and transmission rates. The first and second communication levels correspond to the first transmission rate, while the third, fourth, and fifth communication levels correspond to the second, third, and fourth transmission rates, respectively.
[0063] For example, the first, second, third, and fourth transmission rates can be 2kbps, 4kbps, 8kbps, and 16kbps, respectively, corresponding to different upper transmission power limits, namely 2W (P1), 3W (P2), 5W (P3), and 10W (P4). Correspondingly, the first, second, third, fourth, and fifth transmission bit counts can be 692 bits, 1835 bits, 3883 bits, 7979 bits, and 14000 bits, respectively. Depending on the transmission power, the suitable transmission rate for the first and second communication levels can be 2kbps, the suitable transmission rate for the third communication level can be 4kbps, the suitable transmission rate for the fourth communication level can be 8kbps, and the suitable transmission rate for the fifth communication level can be 16kbps.
[0064] In one embodiment, the different framing strategies include at least:
[0065] First framing strategy: The total amount of data is divided into frames of first data, and the frame length of the first data is less than or equal to the second number of transmission bits;
[0066] Second framing strategy: The total amount of data is divided into frames of second data, and the frame length of the second data is greater than the second number of transmitted bits and less than or equal to the third number of transmitted bits;
[0067] Third framing strategy: The total amount of data is divided into frames of third data, and the frame length of the third data is greater than the third number of transmitted bits and less than or equal to the fourth number of transmitted bits;
[0068] Fourth framing strategy: The total amount of data is divided into fourth data, and the frame length of the fourth data is greater than the fourth data and less than or equal to the fifth transmission bit number;
[0069] Fifth framing strategy: The total amount of data is divided into fifth data, and the frame length of the fifth data is greater than the number of fifth transmission bits.
[0070] The first, second, third, fourth, and fifth framing strategies can be different framing strategies determined based on the frame length of the data. The first data can be the data obtained by executing the first framing strategy, the second data can be the data obtained by executing the second framing strategy, the third data can be the data obtained by executing the third framing strategy, the fourth data can be the data obtained by executing the fourth framing strategy, and the fifth data can be the data obtained by executing the fifth framing strategy.
[0071] In this embodiment, different framing strategies can be determined based on the different number of transmitted bits, and the total amount of data can be divided into data of different frame lengths according to different framing strategies. For example, based on the different number of transmitted bits, the frame lengths of the first data, second data, third data, fourth data, and fifth data can be divided as follows: the frame length of the first data ≤ 1835 bits, 1835 bits ≤ the frame length of the second data ≤ 3883 bits, 3883 bits ≤ the frame length of the third data ≤ 7979 bits, 7979 bits ≤ the frame length of the fourth data ≤ 14000 bits, and the frame length of the fifth data > 14000 bits.
[0072] Example 2
[0073] Figure 2 This is a flowchart illustrating a BeiDou short message transmission method according to Embodiment 2 of the present invention. Embodiment 2 is an optimization based on the above embodiments. For details not covered in this embodiment, please refer to Embodiment 1.
[0074] like Figure 2 As shown in Embodiment 2 of the present invention, a BeiDou short message transmission method includes the following steps:
[0075] S210. Determine the total amount of data for the BeiDou short message to be launched.
[0076] S220. Based on the communication level of the Beidou-3 short message smart card, the total amount of data is divided into different frame strategies to obtain data with different frame lengths.
[0077] S230. Calculate the transmission duration corresponding to different frame lengths of data based on the data with the frame length corresponding to the corresponding communication level and the transmission rate corresponding to the corresponding communication level.
[0078] In this embodiment, for each frame length of data m, the transmission duration T of each frame length of data m can be calculated based on the transmission rate corresponding to the corresponding communication level and the frame length of the data.
[0079] For example, if the communication level is a first communication level or a second communication level, then the transmission rate is the first transmission rate: 2kbps, and the transmission duration is... If the communication level is level three, then the transmission rate is level two: 4kbps, and the transmission duration is... If the communication level is level four, then the transmission rate is level three: 8kbps, and the transmission duration is... If the communication level is level 5, then the transmission rate is level 4: 16kbps, and the transmission duration is...
[0080] S240. Determine the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency, and transmission duration corresponding to the data of different frame lengths.
[0081] S250: Select the data corresponding to the target frame length whose transmission energy is less than or equal to the power supply energy of the transmitting device, and transmit according to the transmission power and transmission rate corresponding to the data of the target frame length.
[0082] The second embodiment of the present invention provides a BeiDou short message transmission method, which further calculates the transmission duration corresponding to different frame lengths of data based on the data with the frame length corresponding to the corresponding communication level and the transmission rate corresponding to the corresponding communication level, thereby enabling the calculation of the transmission duration required for smart cards with different communication levels to transmit BeiDou short messages.
[0083] In one embodiment, determining the transmission duration corresponding to the fifth data for the fifth frame segmentation strategy among the different frame segmentation strategies includes:
[0084] The number of transmissions and the remaining data are obtained by calculating the quotient of the total data volume and the fifth transmission bit number corresponding to the fifth communication level; the ratio of the fifth transmission bit number to the fourth transmission rate corresponding to the fifth communication level is calculated; the transmission duration corresponding to the fifth data is obtained by multiplying the number of transmissions by the ratio.
[0085] The number of launches can be the number of times the data needs to be launched, and the remaining data can be the data excluding the data that has already been launched.
[0086] In this embodiment, when the data to be transmitted is the fifth data, it indicates that the total amount of data to be transmitted exceeds the maximum number of transmittable bits. In this case, the fifth data can be framed for separate transmission. Specifically, the quotient of the total data amount m and the fifth data transmission bit count can be calculated. Rounding down, we obtain a quotient N and a remainder (i.e., the remaining data). N is the number of transmissions required to transmit the total amount of data m. The time required to transmit each data transmission is calculated based on the fifth transmission bit count and the fourth transmission rate.
[0087]
[0088] Therefore, the transmission duration for N data transmissions can be calculated as: T = N * T5. For the remaining data, we can iterate to m, and for m, we can continue to execute different framing strategies to obtain data of different frame lengths. For data exceeding the fifth transmission bit count, it needs to be transmitted N+1 times consecutively.
[0089] In one embodiment, the final data length corresponding to the remaining data is determined, and the remaining data is transmitted according to the transmission power and transmission duration corresponding to the final data length.
[0090] The final data length can be the frame length of the remaining data.
[0091] In this embodiment, the final data length of the remaining data can be calculated, and the corresponding transmission rate can be determined based on the transmission power corresponding to the final data length. The transmission duration of the remaining data can be calculated, and the remaining data can be transmitted according to the corresponding transmission power. For example, if the remaining data m ≤ 1835 bits, the data can be transmitted according to the corresponding transmission power of 2W, and the transmission duration can be calculated according to the first transmission rate. For the remaining data, this embodiment can return to step S220 to continue execution, or the final data length of the remaining data can be determined by other methods.
[0092] In one embodiment, determining the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency, and transmission duration corresponding to the data of different frame lengths includes:
[0093] The transmission power consumption is obtained by calculating the ratio of the selected transmission power to the corresponding transmission efficiency. The transmission energy corresponding to the data of different frame lengths is obtained by multiplying the transmission power consumption by the transmission duration corresponding to the data of different frame lengths.
[0094] The transmission power consumption can be the transmission power that takes into account losses.
[0095] In this embodiment, since the conversion efficiency of transmission power is not 100% in actual operation, it is necessary to calculate the actual transmission power consumption based on the transmission power and its corresponding transmission efficiency, and calculate the transmission energy required to transmit data of different frame lengths based on the transmission power consumption and the transmission duration of data of different frame lengths.
[0096] For example, Figure 3 This is a flowchart illustrating a BeiDou short message transmission method according to an embodiment of the present invention, as shown below. Figure 3 As shown, after calculating the total data volume m of the BeiDou short messages to be sent, different framing strategies can be implemented to obtain data of different frame lengths, and the transmission duration T corresponding to different frame lengths can be calculated. Since the transmission efficiency η differs under different transmission powers P, it is necessary to calculate the transmission power consumption corresponding to different transmission powers. And according to P diss Calculate the transmission energy corresponding to data of different frame lengths
[0097] Example 3
[0098] Figure 4 This is a schematic diagram of a BeiDou short message transmitting device provided in Embodiment 3 of the present invention. The device is applicable to the promotion of BeiDou short messages. The device can be implemented by software and / or hardware and is generally integrated into electronic devices.
[0099] like Figure 4 As shown, the device includes:
[0100] The first determining module 310 is used to determine the total amount of data in the BeiDou short message to be launched;
[0101] Processing module 320 is used to perform different framing strategies on the total amount of data based on the communication level of the Beidou-3 short message smart card to obtain data with different frame lengths;
[0102] The second determining module 330 is used to determine the transmission duration corresponding to the data of different frame lengths;
[0103] The third determining module 340 is used to determine the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency and transmission duration corresponding to the data of different frame lengths;
[0104] The transmission module 350 is used to select data of a target frame length whose corresponding transmission energy is less than or equal to the power supply energy of the transmission device, and to transmit the data according to the transmission power and transmission rate corresponding to the target frame length.
[0105] This embodiment provides a BeiDou short message transmitting device, comprising: a first determining module 310, used to determine the total amount of data in the BeiDou short message to be transmitted; a processing module 320, used to perform different framing strategies on the total amount of data based on the communication level of the BeiDou-3 short message smart card to obtain data of different frame lengths; a second determining module 330, used to determine the transmission duration corresponding to the data of different frame lengths; a third determining module 340, used to determine the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency, and the transmission duration corresponding to the data of different frame lengths; and a transmitting module 350, used to select data of a target frame length whose corresponding transmission energy is less than or equal to the power supply energy of the transmitting device, and transmit it according to the transmission power and transmission rate corresponding to the data of the target frame length. This device performs different framing strategies on the BeiDou short message to be transmitted, obtains data of different frame lengths, and selects an appropriate transmission power for transmission, thus achieving low-power processing of BeiDou short messages.
[0106] Furthermore, the Beidou-3 short message smart card includes five communication levels, with different numbers of transmission bits and different transmission rates corresponding to different communication levels;
[0107] The first communication level corresponds to the first number of transmitted bits, and the first communication level corresponds to the first transmission rate;
[0108] The second communication level corresponds to the second number of transmitted bits, and the second communication level corresponds to the first transmission rate;
[0109] The third communication level corresponds to the third number of transmitted bits, and the third communication level corresponds to the second transmission rate;
[0110] The fourth communication level corresponds to the fourth number of transmitted bits, and the fourth communication level corresponds to the third transmission rate;
[0111] The fifth communication level corresponds to the fifth number of transmitted bits, and the fifth communication level corresponds to the fourth transmission rate;
[0112] Wherein, the first number of transmitted bits is less than the second number of transmitted bits, which is less than the third number of transmitted bits, which is less than the fourth number of transmitted bits, which is less than the fifth number of transmitted bits, and the first transmission rate is less than the second transmission rate, which is less than the third transmission rate, which is less than the fourth transmission rate.
[0113] Furthermore, the different framing strategies include at least:
[0114] First framing strategy: The total amount of data is divided into frames of first data, and the frame length of the first data is less than or equal to the second number of transmission bits;
[0115] Second framing strategy: The total amount of data is divided into frames of second data, and the frame length of the second data is greater than the second number of transmitted bits and less than or equal to the third number of transmitted bits;
[0116] Third framing strategy: The total amount of data is divided into frames of third data, and the frame length of the third data is greater than the third number of transmitted bits and less than or equal to the fourth number of transmitted bits;
[0117] Fourth framing strategy: The total amount of data is divided into fourth data, and the frame length of the fourth data is greater than the fourth data and less than or equal to the fifth transmission bit number;
[0118] Fifth framing strategy: The total amount of data is divided into fifth data, and the frame length of the fifth data is greater than the number of fifth transmission bits.
[0119] Furthermore, the second determining module 330 includes:
[0120] The transmission duration corresponding to different frame lengths is calculated based on the frame length data corresponding to the corresponding communication level and the transmission rate corresponding to the corresponding communication level.
[0121] Furthermore, for the fifth frame segmentation strategy among the different frame segmentation strategies, determining the transmission duration corresponding to the fifth data includes:
[0122] The number of transmissions and the remaining data are obtained by calculating the quotient of the total amount of data and the number of fifth transmission bits corresponding to the fifth communication level;
[0123] Calculate the ratio of the fifth number of transmitted bits to the fourth transmission rate corresponding to the fifth communication level;
[0124] Multiplying the number of launches by the ratio yields the launch duration corresponding to the fifth data.
[0125] Furthermore, the device also includes:
[0126] Determine the final data length corresponding to the remaining data, and transmit the remaining data according to the transmission power and transmission duration corresponding to the final data length.
[0127] Furthermore, the third determining module 340 includes:
[0128] The transmission power consumption is obtained by calculating the ratio of the selected transmission power to the corresponding transmission efficiency. The transmission energy corresponding to the data of different frame lengths is obtained by multiplying the transmission power consumption by the transmission duration corresponding to the data of different frame lengths.
[0129] The aforementioned BeiDou short message transmitting device can execute the BeiDou short message transmitting method provided in any embodiment of the present invention, and has the corresponding functional modules and beneficial effects of executing the method.
[0130] Example 4
[0131] Figure 5 A schematic diagram of an electronic device 10 that can be used to implement embodiments of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processors, cellular phones, smartphones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely illustrative and are not intended to limit the implementation of the invention described and / or claimed herein.
[0132] like Figure 5 As shown, the electronic device 10 includes at least one processor 11 and a memory, such as a read-only memory (ROM) 12 or a random access memory (RAM) 13, communicatively connected to the at least one processor 11. The memory stores computer programs executable by the at least one processor. The processor 11 can perform various appropriate actions and processes based on the computer program stored in the ROM 12 or loaded from storage unit 18 into the RAM 13. The RAM 13 may also store various programs and data required for the operation of the electronic device 10. The processor 11, ROM 12, and RAM 13 are interconnected via a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0133] Multiple components in electronic device 10 are connected to I / O interface 15, including: input unit 16, such as keyboard, mouse, etc.; output unit 17, such as various types of displays, speakers, etc.; storage unit 18, such as disk, optical disk, etc.; and communication unit 19, such as network card, modem, wireless transceiver, etc. Communication unit 19 allows electronic device 10 to exchange information / data with other devices through computer networks such as the Internet and / or various telecommunications networks.
[0134] Processor 11 can be a variety of general-purpose and / or special-purpose processing components with processing and computing capabilities. Some examples of processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special-purpose artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, digital signal processors (DSPs), and any suitable processor, controller, microcontroller, etc. Processor 11 performs the various methods and processes described above, such as the BeiDou short message transmission method.
[0135] In some embodiments, the BeiDou short message transmission method can be implemented as a computer program tangibly contained in a computer-readable storage medium, such as storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on electronic device 10 via ROM 12 and / or communication unit 19. When the computer program is loaded into RAM 13 and executed by processor 11, one or more steps of the BeiDou short message transmission method described above can be performed. Alternatively, in other embodiments, processor 11 can be configured to execute the BeiDou short message transmission method by any other suitable means (e.g., by means of firmware).
[0136] Various embodiments of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field-programmable gate arrays (FPGAs), application-specific integrated circuits (ASICs), application-specific standard products (ASSPs), systems-on-a-chip (SoCs), payload-programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various embodiments may include implementations in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which may be a dedicated or general-purpose programmable processor, capable of receiving data and instructions from a storage system, at least one input device, and at least one output device, and transmitting data and instructions to the storage system, the at least one input device, and the at least one output device.
[0137] Computer programs used to implement the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, such that when executed by the processor, the computer programs cause the functions / operations specified in the flowcharts and / or block diagrams to be performed. The computer programs may be executed entirely on a machine, partially on a machine, or as a standalone software package, partially on a machine and partially on a remote machine, or entirely on a remote machine or server.
[0138] In the context of this invention, a computer-readable storage medium can be a tangible medium that may contain or store a computer program for use by or in conjunction with an instruction execution system, apparatus, or device. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, apparatus, or devices, or any suitable combination thereof. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. More specific examples of machine-readable storage media include electrical connections based on one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof.
[0139] To provide interaction with a user, the systems and techniques described herein can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and pointing device (e.g., a mouse or trackball) through which the user provides input to the electronic device. Other types of devices can also be used to provide interaction with the user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user can be received in any form (including sound input, voice input, or tactile input).
[0140] The systems and technologies described herein can be implemented in computing systems that include backend components (e.g., as data servers), or computing systems that include middleware components (e.g., application servers), or computing systems that include frontend components (e.g., user computers with graphical user interfaces or web browsers through which users can interact with implementations of the systems and technologies described herein), or any combination of such backend, middleware, or frontend components. The components of the system can be interconnected via digital data communication of any form or medium (e.g., communication networks). Examples of communication networks include local area networks (LANs), wide area networks (WANs), blockchain networks, and the Internet.
[0141] A computing system can include clients and servers. Clients and servers are generally located far apart and typically interact through communication networks. The client-server relationship is created by computer programs running on the respective computers and having a client-server relationship with each other. The server can be a cloud server, also known as a cloud computing server or cloud host, which is a hosting product within the cloud computing service system to address the shortcomings of traditional physical hosts and VPS services, such as high management difficulty and weak business scalability.
[0142] It should be understood that the various forms of processes shown above can be used, with steps reordered, added, or deleted. For example, the steps described in this invention can be executed in parallel, sequentially, or in different orders, as long as the desired result of the technical solution of this invention can be achieved, and this is not limited herein.
[0143] The specific embodiments described above do not constitute a limitation on the scope of protection of this invention. Those skilled in the art should understand that various modifications, combinations, sub-combinations, and substitutions can be made according to design requirements and other factors. Any modifications, equivalent substitutions, and improvements made within the spirit and principles of this invention should be included within the scope of protection of this invention.
Claims
1. A method for transmitting short messages using the BeiDou Navigation Satellite System, characterized in that, The method includes: Determine the total amount of data to be launched in the BeiDou short message service; Based on the communication level of the Beidou-3 short message smart card, the total amount of data is divided into different frame lengths by different framing strategies. Determine the transmission duration corresponding to the data of different frame lengths; The transmission energy corresponding to the data of different frame lengths is determined based on the selected transmission power, transmission efficiency, and transmission duration corresponding to the data of different frame lengths; transmission power is the power used to transmit data of different frame lengths, and transmission efficiency is the conversion efficiency corresponding to the transmission power. The transmission power and transmission efficiency are different for data of different frame lengths. Select data of target frame length whose corresponding transmission energy is less than or equal to the power supply energy of the transmitting device, and transmit according to the transmission power and transmission rate corresponding to the data of the target frame length; the transmission rate is different for different communication levels, and the data of the target frame length are data of different frame lengths that meet the transmission conditions, and the transmission conditions are that the transmission energy corresponding to the data of different frame lengths is less than or equal to the power supply energy of the transmitting device; The step of determining the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency, and transmission duration corresponding to the frame length data includes: The transmission power consumption is obtained by calculating the ratio of the selected transmission power to the corresponding transmission efficiency. The transmission energy corresponding to the data of different frame lengths is obtained by multiplying the transmission power consumption by the transmission duration corresponding to the data of different frame lengths.
2. The method according to claim 1, characterized in that, The Beidou-3 short message smart card includes five communication levels, with different numbers of transmission bits corresponding to different communication levels. The first communication level corresponds to the first number of transmitted bits, and the first communication level corresponds to the first transmission rate; The second communication level corresponds to the second number of transmitted bits, and the second communication level corresponds to the first transmission rate; The third communication level corresponds to the third number of transmitted bits, and the third communication level corresponds to the second transmission rate; The fourth communication level corresponds to the fourth number of transmitted bits, and the fourth communication level corresponds to the third transmission rate; The fifth communication level corresponds to the fifth number of transmitted bits, and the fifth communication level corresponds to the fourth transmission rate; Wherein, the first number of transmitted bits is less than the second number of transmitted bits, which is less than the third number of transmitted bits, which is less than the fourth number of transmitted bits, which is less than the fifth number of transmitted bits, and the first transmission rate is less than the second transmission rate, which is less than the third transmission rate, which is less than the fourth transmission rate.
3. The method according to claim 1, characterized in that, The different framing strategies include at least: First framing strategy: The total amount of data is divided into frames of first data, and the frame length of the first data is less than or equal to the second number of transmission bits; Second framing strategy: The total amount of data is divided into frames of second data, and the frame length of the second data is greater than the second number of transmitted bits and less than or equal to the third number of transmitted bits; Third framing strategy: The total amount of data is divided into frames of third data, and the frame length of the third data is greater than the third number of transmitted bits and less than or equal to the fourth number of transmitted bits; Fourth framing strategy: The total amount of data is divided into fourth data, and the frame length of the fourth data is greater than the fourth data and less than or equal to the fifth transmission bit number; Fifth framing strategy: The total amount of data is divided into fifth data, and the frame length of the fifth data is greater than the number of fifth transmission bits.
4. The method according to claim 1, characterized in that, The step of determining the transmission duration corresponding to the data of different frame lengths includes: The transmission duration corresponding to different frame lengths is calculated based on the frame length data corresponding to the corresponding communication level and the transmission rate corresponding to the corresponding communication level.
5. The method according to claim 3, characterized in that, For the fifth frame segmentation strategy among the different frame segmentation strategies, determining the transmission duration corresponding to the fifth data includes: The number of transmissions and the remaining data are obtained by calculating the quotient of the total amount of data and the number of fifth transmission bits corresponding to the fifth communication level; Calculate the ratio of the fifth number of transmitted bits to the fourth transmission rate corresponding to the fifth communication level; Multiplying the number of launches by the ratio yields the launch duration corresponding to the fifth data.
6. The method according to claim 5, characterized in that, Also includes: Determine the final data length corresponding to the remaining data, and transmit the remaining data according to the transmission power and transmission duration corresponding to the final data length.
7. A BeiDou short message transmitting device, characterized in that, The device includes: The first determining module is used to determine the total amount of data in the BeiDou short message to be launched; The processing module is used to perform different framing strategies on the total amount of data based on the communication level of the Beidou-3 short message smart card to obtain data with different frame lengths; The second determining module is used to determine the transmission duration corresponding to the data of different frame lengths; The third determining module is used to determine the transmission energy corresponding to the data of different frame lengths based on the selected transmission power, transmission efficiency, and transmission duration corresponding to the data of different frame lengths; transmission power is the power used to transmit data of different frame lengths, and transmission efficiency is the conversion efficiency corresponding to the transmission power. The transmission power and transmission efficiency corresponding to data of different frame lengths are different. The transmission module is used to select data of target frame length whose corresponding transmission energy is less than or equal to the power supply energy of the transmission device, and to transmit the data according to the transmission power and transmission rate corresponding to the target frame length data. Different communication levels correspond to different transmission rates. The target frame length data are data of different frame lengths that meet the transmission conditions. The transmission conditions are that the transmission energy corresponding to the data of different frame lengths is less than or equal to the power supply energy of the transmission device. The third determining module includes: The transmission power consumption is obtained by calculating the ratio of the selected transmission power to the corresponding transmission efficiency. The transmission energy corresponding to the data of different frame lengths is obtained by multiplying the transmission power consumption by the transmission duration corresponding to the data of different frame lengths.
8. An electronic device, characterized in that, The electronic device includes: At least one processor; and A memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, the computer program being executed by the at least one processor to enable the at least one processor to perform the BeiDou short message transmission method according to any one of claims 1-6.
9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions that are used to cause a processor to execute the BeiDou short message transmission method according to any one of claims 1-6.
Citation Information
Patent Citations
Power business data coding transmission method and system, and storage medium
CN112152697A
Queue length-based data transmission for wireless communication
CN1679255A