Message transmission method, terminal and storage medium

The message transmission method prioritizes timing messages with dedicated slots and optimizes transient message transmission in half-duplex communication, addressing slow and inaccurate issues, ensuring timely and accurate control in scenarios with high precision requirements.

JP7796126B2Active Publication Date: 2026-01-08ZTE CORP
View PDF 9 Cites 0 Cited by

Patent Information

Application Number
JP2023536121
Authority / Receiving Office
JP · JP
Patent Type
Patents
Current Assignee / Owner
Priority Date
2020-12-15
Filing Date
2021-11-09
Publication Date
2026-01-08
Estimated Expiration
2041-11-09

AI Technical Summary

Technical Problem

Half-duplex communication modes in scenarios with high timeliness and accuracy requirements, such as power amplification control commands, suffer from slow message transmission and inaccurate control due to the use of a single transmission line, affecting the operation of equipment.

Method used

A message transmission method that identifies message types as timing or transient and allocates a dedicated transmission protection time slot for timing messages, ensuring they are transmitted preferentially, while transient messages are sent within other time periods based on priority, maintaining a half-duplex communication link.

Benefits of technology

Ensures timely and accurate transmission of critical messages, while preserving the efficiency of half-duplex communication by prioritizing timing messages and optimizing transient message transmission, enhancing the applicability of half-duplex modes in scenarios requiring high precision.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 0007796126000001
    Figure 0007796126000001
  • Figure 0007796126000002
    Figure 0007796126000002
  • Figure 0007796126000003
    Figure 0007796126000003
Patent Text Reader

Abstract

The present embodiment relates to the field of communications, and in particular to a message transmission method, a terminal, and a storage medium. The message transmission method according to the embodiment of the present application is applied to a first terminal that adopts a half-duplex communication mode with a second terminal, and includes the steps of: acquiring a message type of a message to be transmitted, where the message type includes a timing type and a temporal type; and, if it is determined that the message to be transmitted is a timing message, allocating a corresponding transmission protection time zone to the timing message, and preferentially transmitting the timing message to the second terminal within the transmission protection time zone, so that the second terminal performs an operation corresponding to the timing message, where the transmission protection time zone is for transmitting the timing message.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical Field]

[0001] (CROSS-REFERENCE TO RELATED APPLICATIONS) This application is based on and claims priority from a Chinese patent application having application number 202011480289.3 and filing date December 15, 2020, the entire contents of which are incorporated herein by reference.

[0002] TECHNICAL FIELD Embodiments of the present application relate to the field of communications, and in particular to a message transmission method, a terminal and a storage medium. [Background technology]

[0003] Conventionally, end-to-end communication can be divided into simplex, full-duplex and half-duplex modes according to the time sharing situation. Among them, half-duplex mode has low transmission efficiency but can save transmission lines, so half-duplex transmission mode is still widely used, for example, in scenarios where the requirements for transmission rate and timeliness of message reception are low.

[0004] In half-duplex communication, both parties can send information, but they cannot send or receive at the same time. In half-duplex communication, only one party can send information and the other party can receive information at the same time, which results in the message transmission of both parties being untimely.

[0005] However, in some half-duplex communication scenarios, there are still a few messages that have high requirements for timeliness and accuracy. Therefore, when using half-duplex communication mode, both sides cannot send and receive messages in a timely manner, which affects the operation of the equipment.

[0006] For example, power amplification control commands in communication between a terminal / base station and antenna equipment have high requirements for timeliness and accuracy. However, because a half-duplex communication mode is adopted between the terminal / base station and antenna equipment and messages can only be transmitted using a single transmission line, the message transmission speed is slow and the terminal cannot accurately and timely control the power-up / power-down of the power amplification module of the antenna equipment, which affects the operation of the antenna equipment. Summary of the Invention

[0007] According to an embodiment of the present application, there is provided a message transmission method applicable to a first terminal adopting a half-duplex communication mode with a second terminal, the message transmission method including: a step of acquiring a message type of a message to be transmitted, the message type including a timing type and a temporal type; and a step of allocating a corresponding transmission protection time zone to the timing message when it is determined that the message to be transmitted is a timing message, and preferentially transmitting the timing message to the second terminal within the transmission protection time zone so that the second terminal performs an operation corresponding to the timing message, the transmission protection time zone being for transmitting the timing message.

[0008] According to an embodiment of the present application, there is further provided a terminal including at least one processor and a memory communicatively connected to the at least one processor, wherein the memory stores instructions executable by the at least one processor, and when the instructions are executed by the at least one processor, the terminal is capable of causing the at least one processor to perform the above-mentioned message transmission method.

[0009] According to an embodiment of the present application, there is further provided a computer-readable storage medium having stored thereon a computer program that, when executed by a processor, implements the above message transmission method. [Brief explanation of the drawings]

[0010] [Figure 1] 1 is a flowchart of a message transmission method according to a first embodiment of the present application. [Figure 2] FIG. 10 is a diagram illustrating a connection between a first terminal and a second terminal according to a second embodiment of the present invention. [Figure 3] 4 is a flowchart of a message transmission method according to a second embodiment of the present application. [Figure 4] FIG. 10 is a diagram showing the frame structure of a high-priority message in a message transmission method according to a second embodiment of the present application. [Figure 5] FIG. 10 is a diagram showing the frame structure of a low-priority message in a message transmission method according to a second embodiment of the present application. [Figure 6] FIG. 10 is a diagram showing a time chart of message transmission in a message transmission method according to a second embodiment of the present application. [Figure 7] FIG. 10 is a diagram illustrating one implementation of obtaining the sending time of a transient message in the message transmission method according to the third embodiment of the present application; [Figure 8] 10 is a flowchart of a message transmission method according to a fourth embodiment of the present application. [Figure 9] FIG. 10 is a diagram illustrating the realization of transmission of a high-priority message in a message transmission method according to a fifth embodiment of the present application. [Figure 10] FIG. 10 is a diagram illustrating a communication process of message transmission between aircraft equipment and antenna equipment in a message transmission method according to a fifth embodiment of the present application. [Figure 11] 10 is a time chart of message transmission between aircraft equipment and antenna equipment in a message transmission method according to a fifth embodiment of the present application. [Figure 12] 10 is a flowchart of a message transmission method according to a sixth embodiment of the present application. [Figure 13] FIG. 13 is a block diagram showing the structure of a terminal according to a seventh embodiment of the present invention. DETAILED DESCRIPTION OF THE INVENTION

[0011] The main object of the embodiments of the present application is to provide a message transmission method, a terminal, and a storage medium that can guarantee the timeliness and accuracy of message transmission between terminals.

[0012] In order to clarify the purpose, technical means and advantages of the embodiments of the present application, the embodiments of the present application will be described in detail below with reference to the drawings. However, as can be understood by those skilled in the art, many technical details are provided in the embodiments of the present application to help readers better understand the present application.

[0013] However, even without these technical details and various changes and modifications based on the following embodiments, the technical means to be protected by the present application can be realized. The division of the following embodiments is merely for the purpose of facilitating explanation and does not impose any limitations on the specific implementation manner of the present application, and the embodiments can be combined with or referenced to each other as long as they are not inconsistent with each other.

[0014] The first embodiment of the present application relates to a message transmission method applied to a first terminal adopting a half-duplex communication mode with a second terminal, the flow of which is as shown in FIG.

[0015] Step 101: Obtain a message type of the message to be transmitted, where the message type includes a timing type and a temporary type.

[0016] Step 102: If it is determined that the message to be transmitted is a timing message, allocate a corresponding transmission protection time slot to the timing message, and transmit the timing message to the second terminal preferentially within the transmission protection time slot so that the second terminal performs an operation corresponding to the timing message, where the transmission protection time slot is for transmitting the timing message.

[0017] In the message transmission method of the present application, a message type including a timing type and a temporal type of the message to be transmitted is obtained. If the message to be transmitted is a timing message, a corresponding transmission protection time zone is allocated to the timing message, and the timing message is preferentially transmitted to the second terminal within the corresponding transmission protection time zone. Since the timing message has a corresponding transmission protection time zone, the timing message can occupy the transmission protection time zone, ensuring the timely transmission of the timing message to the second terminal, and the second terminal can timely perform the operation corresponding to the timing message, thereby realizing accurate control of the second terminal by the first terminal.

[0018] At the same time, a half-duplex communication mode is adopted between the first terminal and the second terminal, that is, there is only one communication link between the first terminal and the second terminal, so that the communication link is saved, and the half-duplex communication mode can ensure the timeliness and accuracy of timing message transmission, so that the application scenarios of the half-duplex communication mode are increased.

[0019] The second embodiment of the present invention is a message transmission method, and provides a specific explanation of steps 101 to 102 in the first embodiment.

[0020] For ease of understanding, this example describes a first terminal and a second terminal. Specifically, the message transmission method can be applied to the first terminal, which may be a terminal device such as a base station device, for example, an aircraft device, and the second terminal may be a communication device such as a base station device, for example, an antenna device. In this example, the first terminal and the second terminal are in a master-slave relationship, i.e., the first terminal device is the master device, and the second terminal device is the slave device, and the master device controls the slave device. A half-duplex communication mode is adopted between the first terminal and the second terminal, in which the first terminal can send a message to the second terminal and the second terminal can send a message to the first terminal.

[0021] 2 shows a structure of the first terminal C200 and the second terminal D200, and the first terminal may include a message interface C201, a first acquisition module C202, a second acquisition module C203, a message processing module C204, a transmission module C205 and a transmission interface C206. Here, the message interface C201 and the transmission interface C206 are entity interfaces, and the message interface C201 is for exchanging information with the upper layer of the software, and the message Grandpa The interface C201 may include a network interface, an SPI, a Serdes, or the like.

[0022] It can be understood that the information exchange between the upper layers of the software of the first terminal can use different interface protocols. The transmission interface C206 can adopt devices with different time division formats for modulating and demodulating digital signals, and the transmission interface C206 can adopt media such as coaxial cable, optical fiber, twisted pair wire, etc.

[0023] The first acquisition module C202, the second acquisition module C203, the message processing module C204 and the transmission module C205 are logical modules in this example, in which the first acquisition module C202 is for acquiring the transmission priority of the message to be transmitted, the second acquisition module C203 is for acquiring the transmission protection time period assigned to the timing message, and the transmission protection time period is for transmitting the timing message, the message processing module C204 is for encoding or decoding the message to be transmitted, and the transmission module C205 is for transmitting the timing message to the second terminal within the transmission protection time period corresponding to the timing message if it is determined that the message to be transmitted is a timing message, so that the second terminal performs an operation corresponding to the timing message.

[0024] Similarly, the second terminal may also adopt a similar structure to the first terminal, as shown in FIG. 2 The terminal includes a message interface D201, a receiving module D202, a message processing module D203, an operation module D204 and a transmission interface D205.

[0025] The transmission interface C206 of the first terminal is connected to the transmission interface D205 of the second terminal. The message interface D201 is for exchanging information with the upper layer of the software, and the receiving module D202 is for receiving the timing message sent from the first terminal within the transmission protection time period, and the transmission protection time period is for the first terminal to transmit the timing message.

[0026] The message processing module D203 is for decoding or encoding a message, and the operation module D204 is for performing an operation corresponding to the timing message. The first terminal and the second terminal are connected in the manner shown in Figure 2, and it can be understood that the first terminal and the second terminal may further include other modules, which will not be described here.

[0027] In this example, the first terminal is an aircraft device, and the second terminal is an antenna device. The aircraft device forms a network with the antenna device. The message interface of the aircraft device is a 10G network interface, and message unpacking and format conversion are both completed at the software layer. air plane Coaxial cables are used for signal transmission between the receiver and antenna equipment, and the digital signal transmission protocol is a serial port protocol. The signal is modulated using binary amplitude shift keying (OOK: On-Off Keying) and converted to an analog amplitude modulated signal before transmission.

[0028] The flow of the message transmission method in this embodiment is as shown in FIG.

[0029] Step 201: Obtain a message type of a message to be transmitted, where the message type includes a timing type and a temporary type.

[0030] Specifically, the transmission type of the message to be transmitted can be set in advance. Here, the timing message is a message that requires high real-timeness and accuracy, and may be a periodic, non-discardable message, for example, including a command to control a power amplifier of the antenna device, a start command to instruct the antenna device to start transmitting information to the first terminal, and an end command to instruct the antenna device to end transmitting information to the first terminal. The temporary message may be an aperiodic message, for example, a handshaking request.

[0031] The transient messages include antenna status inquiry, port operation status inquiry, port operation mode inquiry, entrance / exit line loss test mode, line loss test message, line loss test result message, antenna software / hardware version inquiry, antenna SN number inquiry, antenna port beam setting command, antenna temperature inquiry, firmware upgrade start / continue / end command, firmware upgrade version CRC verification result inquiry command, Tx / Rx test mode entry command, Tx / Rx diagnostic mode entry command, antenna manufacturer inquiry, etc.

[0032] In one example, the frame structure of a timing message includes a message header, a message content, and a message tail, and the frame structure of a temporary message includes a message header, a scrambling sequence, a message type, a message content, a verification value, and a message tail.

[0033] Specifically, the frame structure of a timing message can be set to include a message header, message content, and a message tail. The frame structure is as shown in Figure 4, and includes a message header with a length of a byte, message content with a length of b bytes, and a message tail with a length of c bytes. Since the length of the message content in a timing message is generally short, it is possible to ensure that the message content does not overlap with the message header or message tail, and to ensure that the message content is completely identified.

[0034] As shown in Figure 5, the frame structure of a transient message includes a message header of a byte, a scrambling sequence of b bytes, a message type of c bytes, message content of length 1 to n bytes, a CRC verification value of d bytes, and a message tail of e bytes. Because the message content in a transient message is long, the scrambling sequence is set to avoid the same field being present in the flag bits in the message content and the message header, and similarly, the CRC verification value is set to avoid the same field being present in the flag bits in the message tail and the message content.

[0035] In this embodiment, a primitive polynomial is selected to perform a scrambling process on a message, and the scrambled code stream is then encoded according to the HDLC protocol. For example, in this embodiment, the primitive polynomial is m(x)=(x 8 +x 4 +x 3 +x+1), where m(x) represents the scrambling sequence.

[0036] Step 202: Determine whether the message to be transmitted is a timing message. If it is determined that the message to be transmitted is a timing message, execute step 203; if it is determined that the message to be transmitted is a temporary message, execute step 204.

[0037] Specifically, it is determined whether the message to be transmitted is a timing message or not. There are several methods for determining this, and three of these methods are listed below.

[0038] Method 1: Obtain the transmission type sent from the upper layer of the software.

[0039] The message to be transmitted is transmitted from a higher layer of the software, and when the higher layer of the software transmits the message to be transmitted, it transmits the transmission type of the message to be transmitted accordingly. For example, when the higher layer of the software transmits message A to be transmitted, it transmits message A whose transmission type is a timing type accordingly.

[0040] Method 2: The transmission type is determined based on the message header of the message to be transmitted.

[0041] Specifically, the transmission type is marked in the message header of the message to be transmitted, and the transmission type of the message to be transmitted can be determined by identifying the message header.

[0042] Method 3: Identifying the transmission type based on the frame structure of the message being transmitted.

[0043] Specifically, a timing message includes a message header, a message content, and a message tail, while a temporary message includes a message header, a scrambling sequence, a message type, a message content, a verification value, and a message tail. Therefore, if the frame structure of the message to be transmitted is determined to include three parts, the message to be transmitted is determined to be a timing message, and if the frame structure of the message to be transmitted is determined to include six parts, the message to be transmitted is determined to be a temporary message.

[0044] In addition to the above three types of determination methods, other determination methods can be adopted. For example, if a periodic message is a timing message and the message to be transmitted is identified as a periodic message, the message to be transmitted is determined to be a timing message.

[0045] If it is determined that the message to be transmitted is a timing message, step 203 is executed; if it is determined that the message to be transmitted is a temporary message, step 204 is executed.

[0046] Step 203: Allocate a corresponding transmission protection time slot for the timing message, and transmit the timing message to the second terminal preferentially within the transmission protection time slot, so that the second terminal performs an operation corresponding to the timing message, where the transmission protection time slot is for transmitting the timing message.

[0047] Specifically, a transmission protection time slot corresponding to a periodic message may be allocated for each transmission period, or a transmission protection time slot may be allocated at a predetermined interval. The period of the transmission protection time slot may be allocated according to actual needs. For example, if a timing message includes a periodic message, the transmission protection time slot may be allocated based on the periodicity of the timing message. The transmission protection time slot is used to transmit the timing message, i.e., the transmission protection time slot is exclusively used to transmit the timing message.

[0048] The length of the transmission protection time period is determined based on the length and number of timing messages so that the length W of the transmission protection time period is greater than the total transmission time of the timing messages to be transmitted, thereby ensuring that the timing messages can be transmitted completely within the transmission protection time period.

[0049] After allocating a corresponding transmission protection time period to the timing message, when the start time of the transmission protection time period is detected, the timing message is preferentially transmitted to the second terminal within the transmission protection time period, and when the second terminal receives the timing message, it performs a corresponding operation. A specific example will be described below.

[0050] For example, the message to be transmitted is a power-up command for power amplification control, and Figure 6 shows a time chart for transmitting the message, with a transmission period of T. Three transmission periods are shown in Figure 6, and a corresponding transmission protection time period (shaded block A in Figure 4) is assigned to each transmission period. In the first transmission period, the length of the transmission protection time period is W, and when time T200 is detected, the power-up command for power amplification control is transmitted within the transmission protection time period A, and when the second terminal receives the power-up command for power amplification control, it performs a power-up operation for power amplification.

[0051] Step 204: Obtain a sending time of the transient message, the sending time being within the time period between the current transmission protection time period and the next transmission protection time period.

[0052] Specifically, for a transient message, the transmission time of the transient message can be set within the time period between the current transmission protection time period and the next transmission protection time period. For example, if the time period between the current transmission protection time period and the next transmission protection time period is T1 to T3, one time between T1 and T3 can be selected as the transmission time of the transient message.

[0053] Step 205: Obtain a threshold time that is a first predetermined period before the start time of the next transmission protection period.

[0054] Specifically, the start time of the next transmission protection time period is obtained, and the time before the start time by a first predetermined period is set as the threshold time, and the first predetermined period (the length of the predetermined time) can be set according to actual application, and the first predetermined period may be the maximum period for transmitting a temporary message, for example, the first predetermined period may be 120 ms.

[0055] In another example, a transmission period of a temporary message is obtained, and a period equal to or greater than the transmission period is set as the first predetermined period.

[0056] Specifically, the transmission period of the temporary message can be obtained, and a period equal to or greater than the transmission period can be obtained as the first predetermined period. For example, if the transmission period of the temporary message is 60 ms, the period equal to or greater than 60 ms can be selected as the first predetermined period, and the first predetermined period can be set to, for example, 60 ms, 70 ms, etc.

[0057] Step 206: Determine whether the sending time is before the threshold time; if so, execute step 207; if not, execute step 208.

[0058] If the sending time is earlier than the threshold time, it indicates that if the transmission of the temporary message is started from the sending time, the transmission of the temporary message can be completed before the next transmission protection time period, so step 207 can be performed. If the sending time is later than the threshold time, it is determined that the transmission of the temporary message cannot be completed before the start of the next transmission protection time period, and in this case, the sending time of the temporary message is adjusted to avoid the temporary message being interrupted in the transmission protection time period, resulting in the temporary message being incomplete, or avoiding the problem of having to transmit the temporary message again.

[0059] Step 207: Transmit the temporary message at the sending time.

[0060] Step 208: Adjust the transmission time to be after the next transmission protection time slot.

[0061] Specifically, the transmission time can be adjusted to fall within a time period after the next transmission protection time period because the transmission of the transient message cannot be completed before the start of the next transmission protection time period. For example, as shown in Figure 6, if the transmission time of the transient message is t0 and falls within a time period d1 between transmission protection time periods A and B, and t0 is later than the threshold time td, the transmission time of the transient message can be adjusted to fall within a time period after transmission protection time period B, for example, within a time period d2 between transmission protection time periods B and C, or within a time period d3.

[0062] In this embodiment, when it is determined that the message to be transmitted is a temporary message, the sending time is detected to ensure the integrity of the transmission of the temporary message, and to avoid the occurrence of a situation in which the transmission of the temporary message is interrupted by the next transmission protection time period before it is completed, causing the transmission of the temporary message to fail. At the same time, if the transmission link supports retransmission, it can also avoid the occurrence of a situation in which the transmission link repeatedly transmits the temporary message, thereby reducing unnecessary link losses and improving the transmission efficiency of the transmission link.

[0063] The third embodiment of the present application is a detailed explanation of the acquisition of the sending time of a temporary message in the second embodiment as a message transmission method, and the flow for acquiring the sending time of a temporary message is as shown in Figure 7.

[0064] Step S31: Determine whether the current transmission link is occupied, if so, execute step S32, if the current transmission link is empty and the repository is empty, execute step S33.

[0065] Step S32: When it is detected that the current transmission link is occupied, obtain the transmission priority of the transient message, and determine the transient message to be sent within the time period between the current transmission protection time period and the next transmission protection time period in descending order of the transmission priority, and obtain the sending time of the transient message to be sent, and cache other transient messages whose sending time has not been determined in the repository.

[0066] Specifically, each of the temporary messages has a corresponding transmission priority. When the received message is a temporary message and the current transmission link is occupied, the transmission priority of the temporary message is acquired. gain It is possible.

[0067] Within a time period between two adjacent transmission protection time periods, currently received messages or cached temporary messages can be transmitted to the second terminal in descending order of transmission priority.

[0068] It is determined whether the transmission priority is the highest priority, and if so, the high-priority temporary message is preferentially transmitted within a time period other than the transmission protection time period. If the priority of the temporary message is higher than the priority of the message currently being transmitted, the priority of the temporary message is higher than the priority of the message currently being transmitted, so the temporary message can be preferentially transmitted within a time period other than the transmission protection time period, and it can be determined that the current transmission time of the temporary message is within a time period other than the current transmission protection time period.

[0069] If the priority of the currently received transient message is similar to the priority of the message occupying the transmission link, the transient message may be cached.If the priority of the currently received transient message is lower than the priority of the message occupying the transmission link, the transient message may be cached.

[0070] The repository can cache messages in descending order of priority, and a non-transient message with a high priority can be retrieved first. The repository may also directly cache the non-transient message.

[0071] Messages are retrieved from the repository in descending order of transmission priority, i.e., high-priority transient messages are retrieved first, followed by low-priority transient messages, thereby further ensuring timely transmission of high-priority transient messages.

[0072] Step S33: If it is detected that the current transmission link is empty and the repository is empty, obtain the sending time of the transient message.

[0073] If the current transmission link is detected to be empty and the repository is empty, then when a transient message is received, the transmission time of the transient message can be directly determined to be within the time period between the current transmission protection time period and the next transmission protection time period, since no other transient messages are stored or occupying the transmission link.

[0074] Specifically, as shown in FIG. 6, transmission protection time period A is for transmitting timing messages, and time period d1 between transmission protection time period A and transmission protection time period B may be used for transmitting temporary messages.

[0075] As can be seen, when a low priority transient message is transmitted within a time period between adjacent transmission protection time periods, upon receipt of a high priority transient message, the transmission of the low priority transient message is stopped and the high priority message received within the adjacent protection time period is transmitted, and after the transmission of the high priority transient message is completed, the low priority transient message is transmitted within the time period between adjacent protection time periods.

[0076] In the embodiment of the present application, a corresponding transmission protection time slot is assigned to each timing message, so that the timing message can occupy the transmission protection time slot, ensuring that the second terminal can receive timing messages with high requirements for timeliness and accuracy in a timely manner. Transient messages are transmitted within a time slot other than the transmission protection time slot, and transient messages have low requirements for timeliness and accuracy and do not need to be transmitted in real time. Transmitting transient messages within a time slot other than the transmission protection time slot in descending order of transmission priority ensures the timely transmission of high-priority transient messages and improves the transmission efficiency of the half-duplex communication mode.

[0077] The fourth embodiment of the present application is a further improvement of the above embodiment in terms of the message transmission method, and the main improvement is that in the fourth embodiment, when it detects that the transmission link is empty and the repository is empty, it generates a start command to enable the second terminal to transmit a message to the first terminal, the flow of which is shown in Figure 8.

[0078] Step 401: When it is detected that the current transmission link is empty and the repository is empty, generate a start command to instruct the second terminal to start transmitting information to the first terminal, and the repository is for caching temporary messages.

[0079] Specifically, when it is detected that the link to be transmitted is empty and the repository is empty, it indicates that there is currently no message to be transmitted to the first terminal, so the first terminal can control the second terminal to transmit information. The first terminal generates the start command, which is for instructing the second terminal to start transmitting information to the first terminal, and the type of the start command is a timing type.

[0080] Step 402: Transmit a start command.

[0081] Specifically, a corresponding transmission protection time period can be assigned to the start command, and transmission of the start command is initiated at a time three periods before the end time of the corresponding transmission protection time period. The end time of the transmission protection time period and the transmission period of the start command are obtained, and the start time of the start command is determined based on the end time of the transmission protection time period and the transmission period of the start command, so that transmission of the start command is completed when the transmission protection time period ends. For example, if the transmission period of the start command is a and the end time of the transmission protection time period is tb, the time to transmit the start command is tb-a.

[0082] Since the start command is transmitted at a time that is a second predetermined period before the end time of the transmission protection time period, the second predetermined period may be the transmission period of the start command, thereby ensuring that the transmission of the start command within the transmission protection time period does not occupy an excessive amount of time in the transmission protection time period.

[0083] In another example, the start command may be transmitted directly within the time period between adjacent transmission protection periods, since there are no other messages to transmit at that time.

[0084] Step 40 3 After a second predetermined period has elapsed from the time of transmitting the start command, an end command is generated to instruct the second terminal to end the transmission of information.

[0085] Specifically, the second predetermined period may be set based on actual application, for example, the second predetermined period may be a period during which the first terminal receives information transmitted from the second terminal, or may be set to a maximum period until the start of the next transmission protection time period. The end command instructs the second terminal to stop transmitting information.

[0086] Step 40 4 : A corresponding transmission protection time period is assigned to the end command, and the end command is transmitted at the start time of the corresponding transmission protection time period.

[0087] The step of allocating a transmission protection time slot corresponding to the end command is almost the same as step 202 in the second embodiment, and therefore a description thereof will be omitted here.

[0088] By transmitting an end command at the start of a transmission protection time period, when another timing message is received, the time period following the transmission protection time period can be allocated to the other timing message, thereby reducing the impact of the end command on the transmission of the other timing message.

[0089] The first terminal transmits a start command to the second terminal, and the second terminal transmits feedback information to the first terminal within a time period between two transmission protection time periods. The second terminal transmits the feedback information by occupying a time period between two adjacent transmission protection time periods, and time period d1 shown in Fig. 6 is used for transmitting the feedback information. Here, the feedback information may include status information of the second terminal, and for example, if the second terminal is an antenna device, it may include status information of the antenna device, such as temperature, antenna angle, etc.

[0090] When the first terminal receives feedback information transmitted from the second terminal last time, it generates a termination command and transmits it to the second terminal, and when the second terminal receives the termination command, it stops transmitting information to the first terminal. The termination command is used to instruct the second terminal to terminate the transmission of information.

[0091] In the message transmission method of this embodiment, when the first terminal has no message to transmit, the first terminal controls the second terminal to transmit information to the first terminal by issuing a transmission start command, and when the first terminal receives the information transmitted from the second terminal, it sends an end command to control the second terminal to stop transmitting information, thereby controlling the information transmission of the second terminal by the first terminal. Thus, in the half-duplex communication mode, the first terminal controls the second terminal to transmit a message, ensuring that the message transmission by the second terminal does not affect the message transmission by the first terminal.

[0092] The fifth embodiment of the present application is a message transmission method that is a different implementation of step 102 in the first embodiment and step 202 in the second embodiment, and the specific flow of this implementation is as shown in Figure 9.

[0093] Step 501: When it is detected that the timing message is a command for a synchronization operation, the synchronization time of the first terminal and the second terminal is obtained.

[0094] Specifically, the synchronization command may be a command for instructing a periodic operation. For example, the transmit / receive switching operation of the antenna equipment needs to be perfectly synchronized with the aviation equipment. In the field of communications, the transmit / receive switching operation mostly has periodic requirements, and the aviation terminal equipment and the antenna equipment need to simultaneously control the power-up / power-down of their respective power amplifiers, or simultaneously control the switching of their respective transmit / receive switches, thereby ensuring normal communication functions.

[0095] The synchronization operation command may be a command to control power-up / power-down of a power amplifier or a command to control switching of a transmit / receive switch of an antenna.Furthermore, for example, when it is detected that the timing message is a command to control a power amplifier, the synchronization time of the synchronization operation target between the first terminal and the second terminal is obtained.

[0096] Step 502: Transmit a timing message to a second terminal within a transmission protection time period according to a preset advance period and a synchronization time, so that the second terminal performs an operation corresponding to the timing message at the synchronization time.

[0097] Specifically, the advance period can be preset and determined based on the time it takes for the second terminal to complete analysis of the message. For example, if the modulation time of the timing message sent by the first terminal is 20 us, the transmission time delay of the timing message is 242 us, and the time delay for the analysis of the timing message by the second terminal is 23 us, then the advance period = 20 us + 242 us + 23 us, i.e., the advance period is 285 us. Then, the first terminal can synchronize the operation execution time of the second terminal with the operation execution time of the first terminal by sending a command to control the power amplifier 285 us before the synchronization time.

[0098] Since the antenna does not have the ability to switch between transmission and reception independently, the power-up / power-down operation of the antenna equipment's power amplifier is perfectly synchronized with the aircraft equipment by advancing the transmission of the timing message.

[0099] The message transmission method in this embodiment allows the second terminal to accurately achieve synchronization with the first terminal by sending the command to control the power amplifier ahead of the synchronization time.

[0100] For ease of understanding, the process of message transmission between the aircraft equipment and the antenna equipment will be described below with reference to FIGS.

[0101] In this embodiment, the power-up / power-down operation of the antenna equipment power amplifier must be fully synchronized with the aviation terminal equipment and is periodic. The message transmission period is T=20ms, the length of the transmission protection period is W=3ms, and the total length of the transmission protection period within each transmission period is 6ms. Considering the end-to-end time delay, it mainly includes the transmitting end modulation time delay of 20us, the transmission time delay of 242us, and the receiving end analysis time delay of 23us, that is, the total time delay is 285us. The power-up / power-down messages of the antenna equipment power amplifier are both sent 285us ahead of each other, as shown in Figure 1. 1 Protect in indicates a transmission protection time period.

[0102] M001: The aircraft equipment transmits a command to control the power-up of the power amplifier of the antenna equipment. M002: The aircraft equipment sends a handshake request message. M003: The aircraft equipment sends an antenna equipment transmission start command. M004: The antenna device sends a handshake response message. M005: The aircraft equipment transmits an antenna equipment transmission end command. M006: The aircraft equipment sends an antenna equipment status inquiry message. M007: The aircraft equipment transmits an antenna equipment angle inquiry message. M008: The aircraft equipment transmits an antenna equipment angle control message. M009: The aircraft equipment transmits a command to control the power-up of the power amplifier of the antenna equipment. M010: The aircraft equipment sends an antenna equipment transmission start command.

[0103] M011: The antenna device transmits an antenna device status report message. M012: The antenna device transmits an antenna device angle report message. M013: The aircraft equipment transmits an antenna equipment transmission end command. M014: The aircraft equipment transmits a command for the antenna equipment to control the power down of the power amplifier. M015: The aircraft equipment transmits an antenna equipment transmission start command. M016: The antenna equipment transmits an antenna equipment angle update message.

[0104] The sixth embodiment of the present application relates to a message transmission method applied to a second terminal, in which the second terminal and the first terminal adopt a half-duplex communication mode, and the flow of the message transmission method is as shown in Figure 12.

[0105] Step 601: Receive a timing message sent from a first terminal within a predetermined transmission protection time period, where the transmission protection time period is for the first terminal to transmit the timing message, and the message type includes a timing type and a temporary type.

[0106] Specifically, the second terminal receives a timing message transmitted from the first terminal, and upon receiving the timing message, the second terminal can decode the timing message, obtain the type of the received timing message, and prioritize processing the operation corresponding to the timing message. For example, if the timing message is command information for powering up a power amplifier, the second terminal prioritizes powering up the power amplifier.

[0107] Step 602: Execute the operation corresponding to the timing message.

[0108] Specifically, if the received timing message is a start command, the first terminal transmits feedback information to the first terminal within a time period between two adjacent transmission protection time periods. The feedback information may include status information of the second terminal, for example, if the second terminal is an antenna device, the feedback information may include status information of the antenna device, such as temperature, antenna angle, etc.

[0109] The first terminal acquires the end time of the transmission protection time period and the transmission period of the start command, and starts transmitting the start command at a time that is a second predetermined period before the end time of the corresponding transmission protection time period, thereby completing the transmission of the start command when the transmission protection time period ends. For example, if the transmission period of the start command is a and the end time of the transmission protection time period is tb, the time to transmit the start command is tb-a.

[0110] When the transmission protection period ends, the transmission of the start command is completed, thereby ensuring that the transmission of the start command does not occupy too much time in the transmission protection period.

[0111] Upon receiving the end command, the first terminal ends the transmission of the feedback information. The end command is sent by the first terminal at the start time of the current transmission protection period.

[0112] Specifically, when a first terminal receives information transmitted from the second terminal, it generates a termination command, and when the second terminal receives the termination command within the next transmission protection time period, it stops transmitting information to the first terminal, the termination command instructing the second terminal to terminate the transmission of information.

[0113] By transmitting an end command at the beginning of a transmission protection time period, the first terminal can transmit other high priority messages during a subsequent period within the transmission protection time period without affecting the transmission of messages by the first terminal.

[0114] In the message transmission method of the present application, a message type including a timing type and a temporal type of the message to be transmitted is obtained; if the message to be transmitted is a timing message, a corresponding transmission protection time zone is allocated to the timing message; and the timing message is preferentially transmitted to the second terminal within the corresponding transmission protection time zone. Since the timing message has a corresponding transmission protection time zone, the timing message can occupy the transmission protection time zone, ensuring the timely transmission of the timing message to the second terminal, and the second terminal can timely perform an operation corresponding to the timing message, thereby realizing accurate control of the second terminal by the first terminal.

[0115] At the same time, a half-duplex communication mode is adopted between the first terminal and the second terminal, that is, there is only one communication link between the first terminal and the second terminal, so that the communication link is saved, and the half-duplex communication mode can ensure the timeliness and accuracy of the timing message transmission, so that the application scenarios of the half-duplex communication mode are increased.

[0116] The seventh embodiment of the present application relates to a terminal, the structural block diagram of which is shown in FIG. Terminal includes at least one processor 701 and a memory 702 communicatively connected to the at least one processor 701. Here, the memory 702 stores instructions executable by the at least one processor 701, and execution of the instructions by the at least one processor 701 causes the at least one processor 701 to perform the message transmission method described above.

[0117] Here, the memory and the processor are connected via a bus, which may include any number of interconnected buses and bridges, and which connects various circuits of one or more processors and memories together. The bus may also connect various other circuits, such as peripheral devices, voltage regulators, and power management circuits, all of which are well known in the art and will not be described further herein. The bus interface provides an interface between the bus and a transceiver. The transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, and provides a unit for communicating with various other devices over a transmission medium. Data processed by the processor is transmitted over a wireless medium via an antenna, which receives and transmits data to the processor.

[0118] The processor is responsible for managing the bus and normal processing, and may further provide a variety of functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. Memory may be used to store data used by the processor in performing operations.

[0119] An eighth embodiment of the present application relates to a computer-readable storage medium on which a computer program is stored that, when executed by a processor, implements the above message transmission method.

[0120] As can be understood by those skilled in the art, all or part of the steps in the methods of the above embodiments can be realized by instructing relevant hardware by a program, and the program is stored in a storage medium and includes several instructions for causing a device (which may be a single-chip computer, chip, etc.) or a processor to execute all or part of the steps of the methods of the above embodiments. The storage medium includes various media capable of storing program codes, such as a U disk, a removable hard disk, a ROM (Read-Only Memory), a RAM (Random Access Memory), a magnetic disk, or an optical disk.

[0121] It is understood by those skilled in the art that the above embodiments are specific examples for realizing the present application, and in actual application, various changes in form and details can be made without departing from the spirit and scope of the present application.

Claims

1. 1. A message transmission method applied to a first terminal employing a half-duplex communication mode with a second terminal, comprising: obtaining a message type of a message to be transmitted, the message type including a timing type and a temporal type; If it is determined that the message to be transmitted is a timing message, assigning a corresponding transmission protection time slot to the timing message; transmitting the timing message to the second terminal preferentially within the transmission protection time period, so that the second terminal performs an operation corresponding to the timing message, the transmission protection time period being for transmitting the timing message; If the message to be transmitted is determined to be a temporary message, obtaining a transmission time of the transient message, the transmission time being within a time period between the current transmission protection time period and a next transmission protection time period; obtaining a threshold time that is a first predetermined period before a start time of the next transmission protection time period; determining whether the transmission time is before the threshold time, and if so, transmitting the transient message at the transmission time; otherwise, adjusting the transmission time to be after the next transmission protection time period. Message transmission method.

2. before the step of obtaining a threshold time that is a first predetermined period before the start time of the next transmission protection time period; obtaining a transmission period of the transient message; and setting the first predetermined period to a period equal to or longer than the transmission period.

2. The message transmission method according to claim 1.

3. The step of obtaining a sending time of the non-transient message comprises: When it is detected that the current transmission link is occupied, obtaining a transmission priority of the transient message, determining a transient message to be transmitted within a time period between the current transmission protection time period and the next transmission protection time period in descending order of the transmission priority, obtaining a transmission time of the transient message to be transmitted, and caching other transient messages whose transmission time has not been determined in a repository; and if it is detected that the current transmission link is empty and the repository is empty, directly determining that the transmission time of the transient message is within a time period between the current transmission protection time period and a next transmission protection time period.

3. A message transmission method according to claim 1 or 2.

4. generating a start command to instruct the second terminal to start transmitting information to the first terminal when it is detected that the current transmission link is empty and that a repository for caching the transient messages is empty; generating a termination command to instruct the second terminal to terminate transmission of information after a second predetermined period has elapsed from the time of sending the start command; A message transmission method according to any one of claims 1 to 3.

5. When the end command is generated, transmitting the termination command at a start time of the current transmission protection time period; 5. The message transmission method according to claim 4.

6. The step of preferentially transmitting the timing message to the second terminal within the transmission protection time period comprises: When the timing message is detected as a command for a synchronization operation, acquiring a synchronization time of the first terminal and the second terminal; transmitting the synchronization operation command to the second terminal within the transmission protection time period based on a preset advance period and the synchronization time, so that the second terminal performs an operation corresponding to the synchronization operation command at the synchronization time; A message transmission method according to any one of claims 1 to 5.

7. the timing message frame structure includes a message header, a message content, and a message tail; the frame structure of the transient message includes a message header, a scrambling sequence, a message type, a message content, a verification value, and a message tail; A message transmission method according to any one of claims 1 to 6.

8. The step of obtaining a message type of a message to be transmitted includes: obtaining the message type indicated by a higher layer of software; determining the message type based on a message header in the message to be transmitted, the message header in the message to be transmitted being labeled with the message type; identifying the message type based on a frame structure of the message to be transmitted, wherein the frame structure of the timing message is different from the frame structure of a temporal message; if the message to be transmitted is identified as a periodic message, determining that the message to be transmitted is the timing message.

2. The message transmission method according to claim 1.

9. If the timing message includes a periodic message, allocating a corresponding transmission protection time slot to the timing message includes: assigning a corresponding transmission protection time slot to the timing message in response to a periodicity of the timing message; 2. The message transmission method according to claim 1.

10. the length of the transmission protection time period is determined based on the length and number of the timing messages such that the length of the transmission protection time period is greater than the total transmission time of the timing messages; 2. The message transmission method according to claim 1.

11. the first predetermined period is a maximum period of transmission of the transient message; 2. The message transmission method according to claim 1.

12. starting transmission of the start command at a time before the end time of the corresponding transmission protection time period by a third predetermined period equal to a transmission period of the start command; 5. The message transmission method according to claim 4.

13. at least one processor; a memory communicatively coupled to the at least one processor; the memory stores instructions executable by the at least one processor; The instructions, when executed by the at least one processor, cause the at least one processor to perform a message transmission method according to any one of claims 1 to 12. Terminal.

14. a computer program stored thereon which, when executed by a processor, implements the message transmission method according to any one of claims 1 to 12; A computer-readable storage medium.

Citation Information

Patent Citations

  • Call reception control system in digital mobile communication system

    JP1999266484A

  • Data input / Output device, data input / Output method, program and medium

    JP2003208398A

  • Device and method for transmitting packet

    JP2008227778A

  • Information processing device, information processing method, and information processing program

    JP2012195639A

  • Control unit, control method therefor, and system

    JP2016021020A