A message communication method, device, equipment and storage medium

By obtaining message service instructions and determining transmission priority in the onboard short message communication device, calculating the total length of data to be transmitted and determining whether the message sending operation is triggered, the key data cannot be guaranteed when the data length exceeds the maximum length of the sending channel. The transmission problem has achieved high output priority transmission and improved user experience.

CN116095020BActive Publication Date: 2025-02-14CHINA ELECTRONICS TECHNOLOGY AVIONICS CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211546675.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-02
Publication Date
2025-02-14
Estimated Expiration
2042-12-02

AI Technical Summary

Technical Problem

During the short message transmission process, if the length of the data that needs to be sent is greater than the maximum data length that the transmission channel can send, the transmission of key data cannot be guaranteed, thereby reducing the user's experience.

Method used

By obtaining message service instructions, the target service message type and data group to be transmitted are determined, and the total length of data to be transmitted is calculated based on the transmission priority using the one-by-one accumulation rule to determine whether the message sending operation is triggered, so as to achieve high output priority transmission.

Benefits of technology

When the total length of the target data to be transmitted is greater than the target data transmission length, high output priority transmission is realized to ensure the transmission of key data and improve the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116095020B_ABST
    Figure CN116095020B_ABST
Patent Text Reader

Abstract

The present application discloses a message communication method, device, equipment and storage medium, which are applied to airborne short message communication equipment and relate to the field of communication technology, including: obtaining a message service instruction, determining a target service message type corresponding to the message service instruction and a first number of target data groups to be transmitted; accumulating the data length of each target data group to be transmitted based on the transmission priority corresponding to each target data group to be transmitted and using a preset one-by-one accumulation rule to obtain the total length of the target data to be transmitted; judging whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and determining whether to trigger the corresponding message sending operation based on the judgment result. The present application transmits data based on the transmission priority of each target data group to be transmitted corresponding to the message service instruction, and can achieve high output priority priority transmission when the total length of the target data to be transmitted is greater than the target data transmission length.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technology, and in particular to a message communication method, device, equipment and storage medium. Background Art

[0002] The BeiDou-3 satellite navigation system was launched in 2020. In addition to providing positioning services, it can also provide regional short message communication services in a closed area between 75 and 135 degrees east longitude and 10 and 55 degrees north latitude, and global short message services worldwide. The system capacity of the BeiDou-3 regional short message service is 10 million times per hour, and the length of a single communication data can reach 14,000 bits, while the capacity and communication length of global short messages are much smaller. At present, in the process of sending short messages, if the length of the data to be sent is greater than the maximum data length that the sending channel can send, the transmission of key data, that is, the data that users are most concerned about, cannot be guaranteed, thereby reducing the user experience. Summary of the invention

[0003] In view of this, the purpose of the present invention is to provide a message communication method, device, equipment and storage medium, which can realize high output priority transmission when the total length of the target data to be transmitted is greater than the target data transmission length, thereby ensuring the transmission of key data and improving the user experience. The specific scheme is as follows:

[0004] In a first aspect, the present application provides a message communication method, which is applied to an airborne short message communication device, comprising:

[0005] Obtaining a message service instruction, and determining a target service message type corresponding to the message service instruction and a first number of target data groups to be transmitted corresponding to the message service instruction;

[0006] Based on the transmission priorities respectively corresponding to the target data groups to be transmitted and using a preset one-by-one accumulation rule, the data lengths of the target data groups to be transmitted are accumulated to obtain the total length of the target data to be transmitted;

[0007] Determine whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and determine whether to trigger a corresponding message sending operation based on the judgment result.

[0008] Optionally, the determining the target service message type corresponding to the message service instruction includes:

[0009] The target service message type corresponding to the message service instruction is determined from the regional short message and the global short message based on the carrier-to-noise ratio of the S signal and the carrier-to-noise ratio of the B2b signal in the received downlink signal.

[0010] Optionally, before determining whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, the step further includes:

[0011] When the target service message type is a regional short message, obtaining a pre-configured first target data transmission length corresponding to the regional short message from a local information recording card;

[0012] When the target service message type is a global short message, a pre-configured second target data transmission length corresponding to the global short message is obtained from the local information recording card.

[0013] Optionally, before determining whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, the step further includes:

[0014] When it is determined that the target service message type corresponding to the message service instruction is a regional short message, a target message transmission rate is determined based on the carrier-to-noise ratio of the S signal, and a corresponding third target data transmission length is determined based on the target message transmission rate.

[0015] Optionally, before obtaining the message service instruction and determining the target service message type corresponding to the message service instruction and the first number of target data groups to be transmitted corresponding to the message service instruction, the method further includes:

[0016] Grouping various data to be transmitted in the current device to obtain a second number of data groups to be transmitted;

[0017] Setting a corresponding transmission priority for each of the data groups to be transmitted; wherein each of the data groups to be transmitted corresponds to one of the transmission priorities;

[0018] Correspondingly, the determining a first number of target data groups to be transmitted corresponding to the message service instruction includes:

[0019] A first number of target data groups to be transmitted corresponding to the message service instruction is determined from the second number of data groups to be transmitted.

[0020] Optionally, the step of accumulating the data lengths of the target data groups to be transmitted based on the transmission priorities respectively corresponding to the target data groups to be transmitted and using a preset one-by-one accumulation rule to obtain the total length of the target data to be transmitted includes:

[0021] Obtaining the transmission priorities respectively corresponding to the first number of the target data groups to be transmitted;

[0022] The data lengths of the target data groups to be transmitted are accumulated one by one from high to low based on the transmission priority to obtain the total length of the target data to be transmitted.

[0023] Optionally, the determining whether to trigger a corresponding message sending operation based on the judgment result includes:

[0024] If the judgment result shows that the total length of the target data to be transmitted after the accumulation is not greater than the target data transmission length, then the step of re-jumping to the step of accumulating the data length of each target data group to be transmitted based on the transmission priority corresponding to each target data group to be transmitted and using a preset one-by-one accumulation rule;

[0025] If the judgment result shows that the total length of the target data to be transmitted after accumulation is greater than the target data transmission length, the third number of target data groups to be transmitted that do not exceed the target data transmission length after accumulation are packaged to obtain the target service message and trigger the corresponding message sending operation.

[0026] In a second aspect, the present application provides a message communication device, which is applied to an airborne short message communication device, including:

[0027] A target data group determination module, used to obtain a message service instruction, and determine a target service message type corresponding to the message service instruction and a first number of target data groups to be transmitted corresponding to the message service instruction;

[0028] A target data group accumulation module, used to accumulate the data lengths of the target data groups to be transmitted based on the transmission priorities respectively corresponding to the target data groups to be transmitted and using a preset one-by-one accumulation rule to obtain the total length of the target data to be transmitted;

[0029] The operation trigger determination module is used to determine whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and determine whether to trigger the corresponding message sending operation based on the judgment result.

[0030] In a third aspect, the present application provides an electronic device, including:

[0031] Memory, used to store computer programs;

[0032] The processor is used to execute the computer program to implement the steps of the aforementioned message communication method.

[0033] In a fourth aspect, the present application provides a computer-readable storage medium for storing a computer program, which implements the steps of the aforementioned message communication method when executed by a processor.

[0034] It can be seen that in the present application, a message service instruction is obtained, and the target service message type corresponding to the message service instruction and the first number of target data groups to be transmitted corresponding to the message service instruction are determined; based on the transmission priority corresponding to each of the target data groups to be transmitted and using the preset one-by-one accumulation rule, the data length of each of the target data groups to be transmitted is accumulated to obtain the total length of the target data to be transmitted; it is determined whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and based on the judgment result, it is determined whether to trigger the corresponding message sending operation. The present application transmits data based on the transmission priority of each target data group to be transmitted corresponding to the message service instruction, and can achieve high output priority priority transmission when the total length of the target data to be transmitted is greater than the target data transmission length, thereby ensuring the transmission of key data and improving user experience. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying creative work.

[0036] Figure 1 A flow chart of a message communication method provided by this application;

[0037] Figure 2 A flow chart of a specific message communication method provided for this application;

[0038] Figure 3 A flow chart of a specific message communication method provided for this application;

[0039] Figure 4 A schematic diagram of the structure of a message communication device provided by this application;

[0040] Figure 5 A structural diagram of an electronic device provided for this application. DETAILED DESCRIPTION

[0041] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0042] The BeiDou-3 satellite navigation system was launched in 2020. In addition to providing positioning services, it can also provide regional short message communication services in a closed area between 75 and 135 degrees east longitude and 10 and 55 degrees north latitude, and global short message services worldwide. Among them, the system capacity of the short message service in the North Three regions reaches 10 million times / hour, and the length of a single communication data can reach 14,000 bits, while the capacity and communication length of global short messages are much smaller. Currently, in the process of sending short messages, if the length of the data to be sent is greater than the maximum data length that the sending channel can send, the transmission of critical data cannot be guaranteed, thereby reducing the user experience. To this end, the present application provides a message communication scheme that can achieve high output priority transmission when the total length of the target data to be transmitted is greater than the target data transmission length.

[0043] See also Figure 1 As shown, an embodiment of the present invention discloses a message communication method, which is applied to an airborne short message communication device, including:

[0044] Step S11: Acquire a message service instruction, and determine a target service message type corresponding to the message service instruction and a first number of target data groups to be transmitted corresponding to the message service instruction.

[0045] In this embodiment, the message service instruction may be obtained by generating it through an internal program, or by receiving the message service instruction sent by other devices or platforms outside the airborne short message communication device.

[0046] Specifically, in this embodiment, the determination of the target service message type corresponding to the message service instruction includes: determining the target service message type corresponding to the message service instruction from the regional short message and the global short message based on the carrier-to-noise ratio of the S signal in the received downlink signal and the carrier-to-noise ratio of the B2b signal. Among them, the received signal of the regional short message is the S signal, that is, the signal received by the airborne short message communication device through the S frequency point, and the received signal of the global short message is the B2b signal. Therefore, the target service message type corresponding to the message service instruction can be determined by the carrier-to-noise ratio of the S signal in the received downlink signal and the carrier-to-noise ratio of the B2b signal, and the corresponding target communication link is determined. It should be understood that, first, in the service area of ​​the regional short message provided by the Beidou-3 satellite navigation system, the airborne short message communication device preferentially chooses to communicate with the regional short message; outside the service area of ​​the regional short message provided by the Beidou-3 satellite navigation system, if the received S signal carrier-to-noise ratio is still acceptable, it is still transmitted with the regional short-distance message service, otherwise it is transmitted with the global short message service. Among them, the service area of ​​the regional short message provided by the Beidou-3 satellite navigation system is a closed area from 75 degrees to 135 degrees east longitude and 10 degrees to 55 degrees north latitude.

[0047] Step S12: based on the transmission priorities respectively corresponding to the target data groups to be transmitted and using a preset one-by-one accumulation rule, the data lengths of the target data groups to be transmitted are accumulated to obtain the total length of the target data to be transmitted.

[0048] In this embodiment, the data lengths of the target data groups to be transmitted are accumulated one by one from high to low based on the transmission priorities corresponding to the target data groups to be transmitted. For example, when it is determined that the data groups to be transmitted this time are G1, G3, and G4, if G1 corresponds to the first transmission priority, G3 corresponds to the third transmission priority, and G4 corresponds to the fourth transmission priority, it can be known that G1 has the highest transmission priority, followed by G3, so G1, G3, and G4 are accumulated in sequence during the accumulation.

[0049] Step S13: determine whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and determine whether to trigger a corresponding message sending operation based on the determination result.

[0050] In this embodiment, before determining whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, the target data transmission length of the target communication link is determined. It should be understood that when transmitting regional short messages, the link quality of the target communication link can be determined based on the carrier-to-noise ratio of the S signal. A high carrier-to-noise ratio can provide better network reception rate, better link quality, and better network reliability. In order to ensure that short messages can be accurately received, two communication methods can be used: the first is to control the transmission rate of short messages based on link quality. If the link quality is good, it is transmitted at a high rate, otherwise it is transmitted at a low rate. At this time, the target data transmission length is not affected; the second is to determine the target data transmission length based on the transmission rate. The target data transmission length is long when the transmission rate is high, and the target data transmission length is short when the transmission rate is low. In addition, the transmission rate of global short messages is fixed.

[0051] It should be understood that, in this embodiment, the determination of whether to trigger the corresponding message sending operation based on the judgment result includes: if the judgment result shows that the total length of the target data to be transmitted after accumulation is not greater than the target data transmission length, then jumping back to the step of accumulating the data length of each target data group to be transmitted based on the transmission priority corresponding to each target data group to be transmitted and using a preset one-by-one accumulation rule; if the judgment result shows that the total length of the target data to be transmitted after accumulation is greater than the target data transmission length, then the third number of target data groups to be transmitted that do not exceed the target data transmission length after accumulation are packaged to obtain a target service message and trigger the corresponding message sending operation. After obtaining the target service message, the target service message is sent through the target communication link to complete the communication.

[0052] It can be seen that in the embodiment of the present application, a message service instruction is obtained, and the target service message type corresponding to the message service instruction and the first number of target data groups to be transmitted corresponding to the message service instruction are determined; based on the transmission priority corresponding to each of the target data groups to be transmitted and using the preset one-by-one accumulation rule, the data length of each of the target data groups to be transmitted is accumulated to obtain the total length of the target data to be transmitted; it is determined whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and based on the judgment result, it is determined whether to trigger the corresponding message sending operation. The present application transmits data based on the transmission priority of each target data group to be transmitted corresponding to the message service instruction, and can achieve high output priority priority transmission when the total length of the target data to be transmitted is greater than the target data transmission length, thereby ensuring the transmission of key data and improving the user experience.

[0053] As can be seen from the previous embodiment, the present application transmits data based on the transmission priority of each target data group to be transmitted corresponding to the message service instruction. To this end, the present embodiment will further describe the process of setting the transmission priority in detail. Figure 2 As shown, an embodiment of the present invention discloses a message communication method, which is applied to an airborne short message communication device, including:

[0054] Step S21: group various data to be transmitted in the current device to obtain a second number of data groups to be transmitted.

[0055] Specifically, the data can be grouped by data type or by the importance of the data to the user. For example, the data can be divided into position data (latitude, longitude, altitude, time, etc.), attitude data (pitch, roll, yaw, etc.), flight data (flight number, remaining fuel, etc.), airborne equipment failure data, airborne equipment status data, engine status data, user-defined data, etc.

[0056] Step S22: setting a corresponding transmission priority for each of the data groups to be transmitted; wherein each of the data groups to be transmitted corresponds to one of the transmission priorities.

[0057] In this embodiment, a corresponding transmission priority can be set for each data group to be transmitted based on actual user needs, or the BeiDou-3 satellite navigation system can configure the transmission priority by default. For example, the data groups obtained after grouping are G1, G2, and G3, respectively. G1 can be set to correspond to the first priority, G2 to correspond to the second priority, and G3 to correspond to the third priority.

[0058] Step S23: Acquire a message service instruction, determine a target service message type corresponding to the message service instruction, and determine a first number of target data groups to be transmitted corresponding to the message service instruction from the second number of data groups to be transmitted.

[0059] Step S24: Obtain the transmission priorities corresponding to the first number of the target data groups to be transmitted.

[0060] Step S25: Accumulate the data lengths of the target data groups to be transmitted one by one from high to low based on the transmission priority to obtain the total length of the target data to be transmitted.

[0061] Step S26: determine whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and determine whether to trigger a corresponding message sending operation based on the determination result.

[0062] Among them, the specific processes of the above-mentioned steps S23, S24, S25 and S26 can refer to the corresponding contents disclosed in the above-mentioned embodiments, and will not be repeated here.

[0063] It can be seen that in the embodiment of the present application, a second number of data groups to be transmitted are obtained by grouping data based on data type or by grouping data based on the importance of the data to the user. A corresponding transmission priority is set for each of the data groups to be transmitted; wherein each of the data groups to be transmitted corresponds to one of the transmission priorities. Then, based on the acquired message service instruction, a first number of target data groups to be transmitted corresponding to the message service instruction is determined from the second number of data groups to be transmitted, and then the data is transmitted according to the transmission priority corresponding to each of the target data groups to be transmitted in the first number of target data groups to be transmitted. In this way, the data is prioritized, and then when the total length of the target data to be transmitted is greater than the target data transmission length, high output priority priority transmission can be achieved, thereby improving the user experience.

[0064] As can be seen from the above embodiments, the present application determines whether to trigger the corresponding message sending operation based on judging whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type. To this end, the present embodiment describes in detail the process of obtaining the target data transmission length. Figure 3 As shown, an embodiment of the present invention discloses a message communication method, which is applied to an airborne short message communication device, including:

[0065] Step S31: Acquire a message service instruction, and determine a target service message type corresponding to the message service instruction and a first number of target data groups to be transmitted corresponding to the message service instruction.

[0066] Step S32: based on the transmission priorities respectively corresponding to the target data groups to be transmitted and using a preset one-by-one accumulation rule, the data lengths of the target data groups to be transmitted are accumulated to obtain the total length of the target data to be transmitted.

[0067] Step S33: When the target service message type is a regional short message, obtain a pre-configured first target data transmission length corresponding to the regional short message from the local information recording card.

[0068] In this embodiment, the airborne short message communication device has a local information recording card similar to a mobile phone SIM (Subscriber Identification Module) card, and the data length of a single global short message or a regional short message will be determined by the issuing agency when the local information recording card is processed. Therefore, when the target service message type is a regional short message, the pre-configured first target data transmission length corresponding to the regional short message can be directly obtained from the local information recording card, so as to make a subsequent judgment based on the first target data transmission length and trigger a corresponding message sending operation.

[0069] Step S34: When the target service message type is a global short message, obtain a pre-configured second target data transmission length corresponding to the global short message from the local information recording card.

[0070] In this embodiment, if it is determined that the target service message type is a global short message, a pre-configured second target data transmission length corresponding to the global short message is directly obtained from the local information recording card, so as to subsequently make a judgment based on the second target data transmission length and trigger a corresponding message sending operation.

[0071] Step S35: When it is determined that the target service message type corresponding to the message service instruction is a regional short message, a target message transmission rate is determined based on the carrier-to-noise ratio of the S signal in the received downlink signal, and a corresponding third target data transmission length is determined based on the target message transmission rate.

[0072] In this embodiment, when the target service message type corresponding to the message service instruction is a regional short message, if you want to control the message transmission rate to ensure the safe delivery of the message, you can determine the target message transmission rate based on the carrier-to-noise ratio of the S signal in the received downlink signal, and then determine the corresponding third target data transmission length based on the target message transmission rate, so that you can subsequently make a judgment based on the third target data transmission length and trigger the corresponding message transmission operation. It can be understood that a high carrier-to-noise ratio determines a high target message transmission rate, and the higher the target message transmission rate, the larger the corresponding third target data transmission length.

[0073] Step S36, judging whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and determining whether to trigger the corresponding message sending operation based on the judgment result. When the target service message type is a global short message, obtaining a pre-configured second target data transmission length corresponding to the global short message from the local information recording card.

[0074] Among them, the specific processes of the above-mentioned steps S31, S32 and S36 can refer to the corresponding contents disclosed in the above-mentioned embodiments, and will not be repeated here.

[0075] It can be seen that in an embodiment of the present application, when the target service message type is a regional short message, a pre-configured first target data transmission length corresponding to the regional short message is obtained from a local information recording card. When it is determined that the target service message type corresponding to the message service instruction is a regional short message, the target message transmission rate is determined based on the carrier-to-noise ratio of the S signal in the received downlink signal, and the corresponding third target data transmission length is determined based on the target message transmission rate. Afterwards, a judgment is made based on the determined first target data transmission length, the second target data transmission length, or the third target data transmission length to trigger the corresponding message sending operation. In this way, the free and flexible switching of the target data transmission length under different communication environments can be effectively realized, thereby improving the user's communication experience.

[0076] See also Figure 4 As shown, the embodiment of the present application also discloses a message communication device, which is applied to an airborne short message communication device, including:

[0077] The target data group determination module 11 is used to obtain a message service instruction, and determine a target service message type corresponding to the message service instruction and a first number of target data groups to be transmitted corresponding to the message service instruction;

[0078] The target data group accumulation module 12 is used to accumulate the data lengths of the target data groups to be transmitted based on the transmission priorities respectively corresponding to the target data groups to be transmitted and using a preset one-by-one accumulation rule to obtain the total length of the target data to be transmitted;

[0079] The operation trigger determination module 13 is used to determine whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and determine whether to trigger the corresponding message sending operation based on the judgment result.

[0080] Among them, for more specific working processes of the above-mentioned modules, please refer to the corresponding contents disclosed in the aforementioned embodiments, which will not be repeated here.

[0081] It can be seen that in the embodiment of the present application, a message service instruction is obtained, and the target service message type corresponding to the message service instruction and the first number of target data groups to be transmitted corresponding to the message service instruction are determined; based on the transmission priority corresponding to each of the target data groups to be transmitted and using the preset one-by-one accumulation rule, the data length of each of the target data groups to be transmitted is accumulated to obtain the total length of the target data to be transmitted; it is determined whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and based on the judgment result, it is determined whether to trigger the corresponding message sending operation. The present application transmits data based on the transmission priority of each target data group to be transmitted corresponding to the message service instruction, and can achieve high output priority priority transmission when the total length of the target data to be transmitted is greater than the target data transmission length, thereby ensuring the transmission of key data and improving the user experience.

[0082] In some specific embodiments, the target data group determination module 11 may specifically include:

[0083] The message type determination unit is used to determine the target service message type corresponding to the message service instruction from the regional short message and the global short message based on the carrier-to-noise ratio of the S signal and the carrier-to-noise ratio of the B2b signal in the received downlink signal.

[0084] In some specific embodiments, the message communication device may further include:

[0085] A first target data transmission length acquisition unit, configured to acquire a pre-configured first target data transmission length corresponding to the regional short message from a local information recording card when the target service message type is a regional short message;

[0086] The second target data transmission length acquisition unit is used to acquire a pre-configured second target data transmission length corresponding to the global short message from the local information recording card when the target service message type is a global short message.

[0087] In some specific embodiments, the message communication device may further include:

[0088] The third target data transmission length acquisition unit is used to determine the target message transmission rate based on the carrier-to-noise ratio of the S signal when it is determined that the target service message type corresponding to the message service instruction is a regional short message, and determine the corresponding third target data transmission length based on the target message transmission rate.

[0089] In some specific embodiments, the message communication device may further include:

[0090] A data grouping unit to be transmitted, used for grouping various data to be transmitted in the current device to obtain a second number of data groups to be transmitted;

[0091] A transmission priority setting unit, used to set a corresponding transmission priority for each of the data groups to be transmitted; wherein each of the data groups to be transmitted corresponds to one of the transmission priorities;

[0092] Accordingly, the message communication device may specifically include:

[0093] The target data group to be transmitted determining unit is configured to determine a first number of target data groups to be transmitted corresponding to the message service instruction from the second number of data groups to be transmitted.

[0094] In some specific embodiments, the target data group accumulation module 12 may specifically include:

[0095] A transmission priority acquisition unit, used to acquire the transmission priorities respectively corresponding to the first number of target data groups to be transmitted;

[0096] The target data to be transmitted total length accumulation unit is used to accumulate the data lengths of each of the target data to be transmitted groups one by one from high to low based on the transmission priority to obtain the target data to be transmitted total length.

[0097] In some specific embodiments, the operation triggering determination module 13 may specifically include:

[0098] A step re-jump unit, for re-jumping to the step of accumulating the data length of each target data group to be transmitted based on the transmission priority corresponding to each target data group to be transmitted and using a preset one-by-one accumulation rule if the judgment result shows that the total length of the target data to be transmitted after the accumulation is not greater than the target data transmission length;

[0099] A message sending operation triggering unit is used to group a third number of target data groups to be transmitted that do not exceed the target data transmission length after accumulation to obtain a target service message and trigger a corresponding message sending operation if the judgment result shows that the total length of the target data to be transmitted after accumulation is greater than the target data transmission length.

[0100] Furthermore, the present application also discloses an electronic device. Figure 5 This is a structural diagram of an electronic device 20 according to an exemplary embodiment. The content in the diagram cannot be regarded as any limitation on the scope of use of the present application.

[0101] Figure 5 A schematic diagram of the structure of an electronic device 20 provided in an embodiment of the present application. The electronic device 20 may specifically include: at least one processor 21, at least one memory 22, a power supply 23, a communication interface 24, an input / output interface 25, and a communication bus 26. The memory 22 is used to store a computer program, which is loaded and executed by the processor 21 to implement the relevant steps in the message communication method disclosed in any of the aforementioned embodiments. In addition, the electronic device 20 in this embodiment may specifically be an electronic computer.

[0102] In this embodiment, the power supply 23 is used to provide working voltage for each hardware device on the electronic device 20; the communication interface 24 can create a data transmission channel between the electronic device 20 and the external device, and the communication protocol it follows is any communication protocol that can be applied to the technical solution of the present application, and is not specifically limited here; the input and output interface 25 is used to obtain external input data or output data to the outside world, and its specific interface type can be selected according to specific application needs and is not specifically limited here.

[0103] In addition, the memory 22, as a carrier for storing resources, can be a read-only memory, a random access memory, a disk or an optical disk, etc. The resources stored thereon can include an operating system 221, a computer program 222, etc., and the storage method can be temporary storage or permanent storage.

[0104] The operating system 221 is used to manage and control the hardware devices and computer programs 222 on the electronic device 20, which can be Windows Server, Netware, Unix, Linux, etc. In addition to including a computer program that can be used to complete the message communication method performed by the electronic device 20 disclosed in any of the aforementioned embodiments, the computer program 222 can further include a computer program that can be used to complete other specific tasks.

[0105] Furthermore, the present application also discloses a computer-readable storage medium for storing a computer program; wherein the computer program, when executed by a processor, implements the aforementioned disclosed message communication method. The specific steps of the method can refer to the corresponding contents disclosed in the aforementioned embodiments, and will not be repeated here.

[0106] In this specification, each embodiment is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant parts can be referred to the method part.

[0107] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the composition and steps of each example have been generally described in the above description according to function. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0108] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.

[0109] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the statement "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.

[0110] The technical solution provided by the present application is introduced in detail above. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the method of the present application and its core idea. At the same time, for general technicians in this field, according to the idea of ​​the present application, there will be changes in the specific implementation methods and application scope. In summary, the content of this specification should not be understood as a limitation on the present application.

Claims

1. A message communication method, characterized in that: Applied to airborne short message communication equipment, including: Obtaining a message service instruction, and determining a target service message type corresponding to the message service instruction and a first number of target data groups to be transmitted corresponding to the message service instruction; Based on the transmission priorities respectively corresponding to the target data groups to be transmitted and using a preset one-by-one accumulation rule, the data lengths of the target data groups to be transmitted are accumulated to obtain the total length of the target data to be transmitted; Determine whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and determine whether to trigger a corresponding message sending operation based on the determination result; Wherein, determining whether to trigger a corresponding message sending operation based on the judgment result includes: If the judgment result shows that the total length of the target data to be transmitted after the accumulation is not greater than the target data transmission length, then the step of re-jumping to the step of accumulating the data length of each target data group to be transmitted based on the transmission priority corresponding to each target data group to be transmitted and using a preset one-by-one accumulation rule; If the judgment result shows that the total length of the target data to be transmitted after accumulation is greater than the target data transmission length, the third number of target data groups to be transmitted that do not exceed the target data transmission length after accumulation are packaged to obtain the target service message and trigger the corresponding message sending operation.

2. The message communication method according to claim 1, characterized in that: The determining of the target service message type corresponding to the message service instruction includes: The target service message type corresponding to the message service instruction is determined from the regional short message and the global short message based on the carrier-to-noise ratio of the S signal and the carrier-to-noise ratio of the B2b signal in the received downlink signal.

3. The message communication method according to claim 2, characterized in that: Before determining whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, the method further includes: When the target service message type is a regional short message, obtaining a pre-configured first target data transmission length corresponding to the regional short message from a local information recording card; When the target service message type is a global short message, a pre-configured second target data transmission length corresponding to the global short message is obtained from the local information recording card.

4. The message communication method according to claim 2, characterized in that: Before determining whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, the method further includes: When it is determined that the target service message type corresponding to the message service instruction is a regional short message, a target message transmission rate is determined based on the carrier-to-noise ratio of the S signal, and a corresponding third target data transmission length is determined based on the target message transmission rate.

5. The message communication method according to claim 1, characterized in that: Before obtaining the message service instruction and determining the target service message type corresponding to the message service instruction and the first number of target data groups to be transmitted corresponding to the message service instruction, the method further includes: Grouping various data to be transmitted in the current device to obtain a second number of data groups to be transmitted; Setting a corresponding transmission priority for each of the data groups to be transmitted; wherein each of the data groups to be transmitted corresponds to one of the transmission priorities; Correspondingly, the determining a first number of target data groups to be transmitted corresponding to the message service instruction includes: A first number of target data groups to be transmitted corresponding to the message service instruction is determined from the second number of data groups to be transmitted.

6. The message communication method according to claim 5, characterized in that: The step of accumulating the data lengths of the target data groups to be transmitted based on the transmission priorities respectively corresponding to the target data groups to be transmitted and using a preset one-by-one accumulation rule to obtain the total length of the target data to be transmitted includes: Obtaining the transmission priorities respectively corresponding to the first number of the target data groups to be transmitted; The data lengths of the target data groups to be transmitted are accumulated one by one from high to low based on the transmission priority to obtain the total length of the target data to be transmitted.

7. A message communication device, characterized in that: Applied to airborne short message communication equipment, including: A target data group determination module, used to obtain a message service instruction, and determine a target service message type corresponding to the message service instruction and a first number of target data groups to be transmitted corresponding to the message service instruction; A target data group accumulation module, used to accumulate the data lengths of the target data groups to be transmitted based on the transmission priorities respectively corresponding to the target data groups to be transmitted and using a preset one-by-one accumulation rule to obtain the total length of the target data to be transmitted; An operation trigger determination module is used to determine whether the total length of the target data to be transmitted is greater than the current target data transmission length corresponding to the target service message type, and determine whether to trigger a corresponding message sending operation based on the determination result; Wherein, the operation triggering determination module includes: A step re-jump unit, for re-jumping to the step of accumulating the data length of each target data group to be transmitted based on the transmission priority corresponding to each target data group to be transmitted and using a preset one-by-one accumulation rule if the judgment result shows that the total length of the target data to be transmitted after the accumulation is not greater than the target data transmission length; A message sending operation triggering unit is used to group a third number of target data groups to be transmitted that do not exceed the target data transmission length after accumulation to obtain a target service message and trigger a corresponding message sending operation if the judgment result shows that the total length of the target data to be transmitted after accumulation is greater than the target data transmission length.

8. An electronic device, characterized in that: include: Memory, used to store computer programs; A processor, configured to execute the computer program to implement the message communication method according to any one of claims 1 to 6.

9. A computer-readable storage medium, characterized in that: Used to store a computer program, which, when executed by a processor, implements the message communication method according to any one of claims 1 to 6.

Citation Information

Patent Citations

  • Outbound resource scheduling method and device of outbound capacity restricted asymmetric satellite channel

    CN105657843A

  • geographic space data transmission method based on a Beidou short message

    CN109803237A