Transmission method, system and related device

By using authentication code A and authentication code B in the satellite communication system to ensure the integrity and uniqueness of the data packet, the problem of the lack of secure transmission mechanism in the satellite communication system is solved, and the secure transmission of data packets and resource efficiency are achieved. improvement.

CN118713729APending Publication Date: 2024-09-27HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202410946539.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2021-07-31
Filing Date
2021-09-30
Publication Date
2024-09-27

AI Technical Summary

Technical Problem

The satellite communication system lacks a secure transmission mechanism and cannot support the secure transmission mechanism of the cellular network, especially under the conditions of long delay and low air interface resources.

Method used

By generating authentication code A and authentication code B between the sending device and the receiving device based on information A and information B, the integrity and uniqueness of the data packets are ensured, duplicate processing and billing issues are prevented, and secure transmission of data packets is achieved. .

Benefits of technology

It effectively prevents repeated processing and billing problems caused by repeated transmission of data packets, and improves the security and resource utilization efficiency of the satellite communication system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118713729A
    Figure CN118713729A
Patent Text Reader

Abstract

The invention discloses a transmission method, a transmission system and a related device. The sending device can generate the authentication code A based on the sending time information and the original data. The sending device can send the data packet including the authentication code A to the receiving device in the first transmission system. The receiving device can generate the authentication code B based on the receiving time information and the data packet after receiving the data packet, and the receiving device can determine the receiving state of the data packet based on the authentication code B.
Need to check novelty before this filing date? Find Prior Art

Description

[0001] This application is a divisional application. The application number of the original application is 202111166937.2, and the original application date is September 30, 2021. The entire contents of the original application are incorporated into this application by reference. Technical Field

[0002] The present application relates to the field of satellite communications, and in particular to a transmission method, system and related devices. Background Art

[0003] Satellite communication services can be used for positioning and communication in areas such as oceans, deserts, grasslands, and uninhabited areas where mobile communications are not covered, or cannot be covered, or where the communication system is damaged. At present, the North Satellite Communication System does not provide a secure transmission mechanism for civilian terminals. In order to ensure that data can be transmitted securely between terminals and satellites, it is necessary to design a communication protocol based on the characteristics of civilian services and equipment, and the characteristics of satellite communication systems.

[0004] Although there are mature secure transmission mechanisms in cellular networks, the steps of secure transmission mechanisms in cellular networks are complicated, and interactive signaling requires a lot of air interface resources. Due to the extended time and small air interface resources of satellite communication systems, they cannot support the secure transmission mechanisms of cellular networks. Summary of the invention

[0005] The present application discloses a transmission method, system and related devices. A sending device can generate an authentication code A based on information A and original data. The sending device can send a data packet including the authentication code A to a receiving device under a first transmission system. After receiving the data packet, the receiving device can generate an authentication code B based on information B and the data packet. The receiving device can determine the receiving status of the data packet based on the authentication code B. Information A is the sending time information and information B is the receiving time information, or information A is context information A and information B is context information B. When the receiving device receives a repeatedly sent data packet, the receiving device cannot parse the data packet, and the problem of repeated processing and billing will not occur.

[0006] In a first aspect, the present application provides a transmission method, comprising:

[0007] The first device generates a first authentication code based on first information, a first key and first data; wherein the first information is sending time information or first context information; the first device generates a first data packet based on the first authentication code and the first data; the first device sends the first data packet to the second device under the first transmission system.

[0008] In one possible implementation, before the first device generates a first authentication code based on the first information, the first key and the first data, the method also includes: the first device obtains the first key, and the first key is obtained by the first device through negotiation with the second device under the second transmission system; wherein the first transmission system is different from the second transmission system.

[0009] In a possible implementation, before the first device generates the first authentication code based on the first information, the first key and the first data, the method further includes: the first device and the fourth device establish a communication connection; and the first device obtains the first key through the fourth device.

[0010] In a possible implementation manner, the first key is a key preset by the first device.

[0011] In a possible implementation manner, the second transmission system is a cellular transmission system or a wireless local area network (WLAN) transmission system, and the first transmission system is a satellite transmission system.

[0012] In a possible implementation manner, the first device negotiates with the second device through a general bootstrapping framework (GBA) process in the second transmission system to obtain the first key.

[0013] In a possible implementation manner, the first device sends a first data packet to the second device under the first transmission system, specifically including:

[0014] After the message data convergence layer MDCP layer of the first device and / or the satellite link control layer SLC layer of the first device processes the first data packet into at least one second data packet, the at least one second data packet is sent to the second device via the third device.

[0015] In a possible implementation, the sending time information is used to indicate the time when the first device sends the first data packet.

[0016] In a possible implementation, the time when the first device sends the first data packet is the time when the application AP layer of the first device sends the first data packet to the message data convergence MDCP layer, or the time when the first device estimates that the first data packet will be sent to the second device.

[0017] In a possible implementation manner, the first device obtains the sending time information through positioning and timing.

[0018] In a possible implementation manner, the first data includes packaged first data and a first authentication code.

[0019] In a possible implementation, the format of the sending time of the data packet is Coordinated Universal Time UTC or Greenwich Mean Time GMT.

[0020] In a possible implementation, the specified time granularity of the sending time of the data packet includes any one of year, month, day, hour, minute, and second. The first device and the second device negotiate in the second transmission system to update the specified time granularity.

[0021] In a possible implementation manner, the first device obtains the sending time information through the fourth device.

[0022] In a possible implementation manner, the first device obtains the first information through a preset encoding method based on the sending time information and the specified time granularity.

[0023] In a possible implementation manner, after the first device sends the first data packet, the method further includes:

[0024] The first device receives a first application layer receipt sent by the second device, wherein the first application layer receipt is used to indicate a reception status of the first data packet received by the second device.

[0025] In one possible implementation, the first information is first context information, and the first context information is used to indicate the number of first data packets successfully sent by the first device, or the number of application receipts successfully received by the first device, or the count value or serial number of the first data packet sent by the first device.

[0026] In a possible implementation, the first data packet further includes first indication information, where the first indication information is used to indicate a first message ID of the first data packet, or the first indication information is used to indicate a first count value or a first sequence number of the first data packet.

[0027] In a possible implementation, the AP layer of the first device associates the first message ID or the first count value or the first sequence number with the first data packet, and the first device adds a preset value to the value of the first message ID or the first count value or the first sequence number.

[0028] In a possible implementation manner, the first data packet further includes third indication information, where the third indication information is used to indicate that the first data packet is a newly transmitted data packet or a retransmitted data packet.

[0029] In a possible implementation, when the value of the third indication information is the first value, the third indication information indicates that the first data packet is a newly transmitted data packet; when the value of the third indication information is the second value, the third indication information indicates that the first data packet is a retransmitted data packet.

[0030] In a possible implementation manner, before the first device generates the first authentication code based on the first information, the first key, and the first data, the method further includes:

[0031] The first device obtains an initial value of the first information in the second transmission system; or,

[0032] The first device obtains an initial value of the first information through the fourth device.

[0033] In a possible implementation manner, after the first device sends the first data packet, the method further includes:

[0034] The first device receives a first application layer receipt sent by the second device, wherein the first application layer receipt is used to indicate a reception status of the first data packet received by the second device.

[0035] In a possible implementation manner, after the first device receives the first application layer receipt sent by the second device, the method further includes:

[0036] The first device adds a preset value to the value of the first information; the adjusted value of the first information is different from the value of the first information.

[0037] In a possible implementation, after the first device receives the first application layer receipt sent by the second device, the method further includes: when the first application receipt is used to indicate that the second device fails to receive the first data packet, the first device adjusts the value of the first information to an initial value.

[0038] In a possible implementation, after the first device adjusts the value of the first information to an initial value, the method further includes: the first device sends third information to the second device, and the value of the third information is the same as the adjusted value of the first information.

[0039] In one possible implementation, after the first device receives the first application layer receipt sent by the second device, the method further includes: when the first application receipt indicates that the first data packet is sent successfully, the first device displays a success prompt message, and the success prompt message is used to prompt the user that the message corresponding to the first data packet is sent successfully.

[0040] In one possible implementation, after the first device receives the first application layer receipt sent by the second device, the method further includes: when the first application receipt indicates that the first data packet failed to be sent, the first device displays failure prompt information, and the failure prompt information is used to prompt the user that the message corresponding to the first data packet failed to be sent.

[0041] In one possible implementation, after the first device receives the first application layer receipt sent by the second device, the method further includes: when the first application receipt includes the second message ID information, the first device displays a success prompt message, and the success prompt message is used to prompt the user that the data packet indicated by the second message ID information is sent successfully.

[0042] In a possible implementation, the application layer of the first device generates a first data packet based on the first authentication code and the first data, specifically including: the application layer of the first device encrypts the first authentication code and the first data based on the first key to generate the first data packet; wherein the first data packet includes the encrypted first authentication code and the encrypted first data.

[0043] In a possible implementation, the application layer of the first device encrypts the first data based on the first key to generate a first data packet; wherein the first data packet includes the encrypted first data.

[0044] In one possible implementation, after the first device sends the first data packet to the second device in the first transmission system, the method further includes: the first device receives second application receipt information in the second transmission system, and the second application receipt information is used to indicate the sending status of the first data packet of the first device in the first transmission system.

[0045] In a possible implementation, after the first device sends the first data packet to the second device under the first transmission system, the method further includes: the first device displays sending prompt information, and the sending prompt information is used to prompt the user that the first device has sent the first data packet to the second device.

[0046] In the second aspect, the present application provides a transmission method, including: a second device receives a first data packet sent by a first device under a first transmission system; the second device generates a second authentication code based on second information, a first key, and the first data packet; wherein the second information is receiving time information or second context information; the second device determines the receiving status of the first data packet based on the second authentication code.

[0047] In one possible implementation, before the second device generates a second authentication code based on the second information, the first key, and the first data packet, the method also includes: the second device obtains the first key, and the first key is obtained by the second device through negotiation with the first device under a second transmission system; wherein the second transmission system is different from the first transmission system.

[0048] In a possible implementation manner, the second transmission system is a cellular transmission system or a WLAN transmission system, and the first transmission system is a satellite transmission system.

[0049] In a possible implementation manner, the second device negotiates with the first device through a general bootstrapping framework (GBA) process under the second transmission system to obtain the first key.

[0050] In a possible implementation manner, the first key is a key preset by the first device.

[0051] In a possible implementation manner, the second device receives the first data packet in the first transmission system, which specifically includes: the second device receives the first data packet sent by the third device in the first transmission system.

[0052] In a possible implementation manner, the second device determines the first authentication code according to the first data packet.

[0053] In a possible implementation manner, the receiving time information is used to indicate the receiving time of the first data packet.

[0054] In a possible implementation, before the second device generates the second authentication code according to the second information, the first key, and the first data packet, the method further includes: the second device receiving the second information sent by the third device.

[0055] In a possible implementation, before the second device generates the second authentication code according to the second information, the first key, and the first data packet, the method further includes: the second device receives third information sent by the third device; and the second device generates the second information based on the third information.

[0056] In a possible implementation manner, the second context information is used to indicate the number of first data packets successfully received by the second device, or a count value or a sequence value of first data packets received by the second device.

[0057] In a possible implementation manner, the first data packet includes first indication information, where the first indication information is used to indicate a first message ID / a first sequence number / a first count value of the first data packet.

[0058] In a possible implementation manner, the first data packet includes third indication information, and the third indication information is used to indicate that the first data packet is a new transmission data packet / retransmission data packet.

[0059] In a possible implementation, before the second device generates the second authentication code according to the second information, the first key, and the first data packet, the method further includes: the second device obtains an initial value of the second information in the second transmission system.

[0060] In a possible implementation, the second device determines the reception status of the first data packet based on the second authentication code, specifically including: the second device determines the reception status of the first data packet based on whether the first authentication code is the same as the second authentication code.

[0061] In a possible implementation, in a possible implementation, the second device compares the first authentication code with the second authentication code, specifically including: the first authentication code is the same as the second authentication code, and the second device determines that the first data packet is received successfully; or,

[0062] The first authentication code is different from the second authentication code, and the second device determines that the first data packet fails to be received; or,

[0063] The first authentication code is different from the second authentication code. The second device updates the second information and generates an updated second authentication code according to the updated second information. The second device compares the updated second authentication code with the first authentication code to determine the reception status of the first data packet.

[0064] In a possible implementation, when the updated second authentication code is the same as the first authentication code, the second device determines that the reception is successful, and the second device adds a preset value to the value of the updated second information.

[0065] In a possible implementation, when the updated second authentication code is the same as the first authentication code, the second device generates and sends a first application receipt including second indication information to the first device, where the second indication information is used to indicate a message ID of a most recently successfully received data packet.

[0066] In a possible implementation, when the updated second authentication code is the same as the first authentication code, the second device generates and sends to the first device a first application receipt indicating successful sending.

[0067] In a possible implementation, when the updated second authentication code is different from the first authentication code, the second device generates and sends to the first device a first application receipt indicating that reception of the first data packet has failed.

[0068] In a possible implementation, in a possible implementation, the second device compares the first authentication code with the second authentication code, specifically including: the first authentication code is the same as the second authentication code, and the second device determines that the first data packet is received successfully; or,

[0069] The first authentication code is different from the second authentication code, and the second device determines that the first data packet fails to be received; or,

[0070] The first authentication code is different from the second authentication code. The second device updates the second information and generates a temporary authentication code according to the updated second information. The second device compares the temporary authentication code with the first authentication code to determine the reception status of the first data packet.

[0071] Among them, when the temporary authentication code is the same as the first authentication code, the second device generates and sends a first application receipt including second indication information to the first device, and the second indication information is used to indicate the message ID of the data packet that was most recently received successfully; when the temporary authentication code is different from the first authentication code, the second device generates and sends a first application receipt to the first device to indicate that the first data packet failed to be received.

[0072] In a possible implementation manner, after the second device determines that the first data packet is received successfully, the method further includes:

[0073] Recording the time information of successful reception of the first data packet; and / or,

[0074] Recording the message ID corresponding to the first data packet; and / or,

[0075] The second device adds a preset value to the value of the second information; the adjusted value of the second information is different from the value of the second information.

[0076] In one possible implementation, the second device compares the third authentication code with the first authentication code, specifically including: if the third authentication code is the same as the first authentication code, the second device determines that the first data packet is received successfully, and generates a first application layer receipt indicating that the first data packet is received successfully; or, if the third authentication code is different from the first authentication code, the second device determines that the first data packet is received unsuccessfully, and generates a first application layer receipt indicating that the first data packet is received unsuccessfully.

[0077] In one possible implementation, the second device compares the third authentication code with the first authentication code, specifically including: the third authentication code is the same as the first authentication code, the second device determines that the first data packet has failed to be received, and generates a first application layer receipt indicating that the first data packet has failed to be received; wherein the first application layer receipt includes a message ID corresponding to the successfully received data packet; or, the third authentication code is different from the first authentication code, the second device determines that the first data packet has failed to be received, and generates a first application layer receipt indicating that the first data packet has failed to be received.

[0078] In one possible implementation, after the second device determines the reception status of the first data packet based on the second authentication code, the method further includes: when the second device determines that the first data packet is received successfully based on the second authentication code, the second device sends a first application receipt to the first device, and the first application receipt is used to indicate the successful reception of the first data packet.

[0079] In one possible implementation, after the second device determines the reception status of the first data packet based on the second authentication code, the method also includes: when the second device determines based on the second authentication code that the reception of the first data packet has failed, the second device sends a first application receipt to the first device, the first application receipt also includes a second message ID, and the second message ID indicates a message ID corresponding to the most recently successfully transmitted data packet.

[0080] In one possible implementation, after the second device determines the reception status of the first data packet based on the second authentication code, the method further includes: when the second device determines based on the second authentication code that the reception of the first data packet has failed, the second device sends a first application receipt to the first device, and the first application receipt is used to indicate the reception failure of the first data packet.

[0081] In a possible implementation, when the second device determines that the first data packet is received successfully based on the second authentication code, the method further includes: the second device adds a preset value to the value of the second information; and the adjusted value of the second information is different from the value of the second information.

[0082] In a possible implementation, when the second device determines that the first data packet has failed to be received based on the second authentication code, the method further includes: the second device adjusting the value of the second information to a preset value.

[0083] In a possible implementation, when the second device determines based on the second authentication code that the first data packet has failed to be received, the method further includes: the second device receives third information sent by the first device; and the second device adjusts the value of the second information to the value of the third information.

[0084] In one possible implementation, after the second device determines the reception status of the first data packet based on the second authentication code, the method further includes: the second device sends second application receipt information to the first device in the second transmission system, and the second application receipt information is used to indicate the reception status of the first data packet by the second device in the first transmission system.

[0085] In a third aspect, the present application provides a transmission method, comprising:

[0086] The third device receives at least one second data packet sent by the first device;

[0087] The third device generates a first data packet based on at least one second data packet;

[0088] The third device sends a first data packet to the second device.

[0089] In a possible implementation manner, the third device sends the second information or the fourth information to the second device, where the second information or the fourth information is receiving time information.

[0090] In a possible implementation, the receiving time information is used to indicate the time corresponding to when the third device receives the first data packet of the at least one second data packet.

[0091] In a fourth aspect, the present application provides a transmission method, comprising:

[0092] The first device receives a third data packet under the first transmission system;

[0093] The first device generates a third authentication code based on fifth information and the third data packet; wherein the fifth information is sending time information or fifth context information; and the first device determines a receiving status of the third data packet based on the third authentication code.

[0094] In a possible implementation manner, the first device generates a third authentication code based on the fifth information and the third data packet, further comprising: the first device further generates the third authentication code based on the fifth information, the third data packet and the first key.

[0095] In a possible implementation, before the first device generates a third authentication code based on the fifth information, the first key, and the third data packet, it also includes: the first device obtains the first key, and the first key is obtained by the first device through negotiation with the second device under the second transmission system; wherein the first transmission system is different from the second transmission system.

[0096] In a possible implementation, before the first device generates the first authentication code based on the first information, the first key and the first data, the method further includes: the first device and a fourth device establish a communication connection; and the first device obtains the first key through the fourth device.

[0097] In a possible implementation manner, the first key is a key preset by the first device.

[0098] In a possible implementation, the first transmission system is a satellite transmission system, and the second transmission system is a non-satellite transmission system.

[0099] In a possible implementation manner, the second transmission system is a cellular transmission system or a wireless local area network (WLAN) transmission system.

[0100] In a possible implementation manner, the first device negotiates with the second device through a Generic Bootstrapping Architecture (GBA) process in the second transmission system to obtain the first key.

[0101] In a possible implementation manner, the first device determines a fourth authentication code according to the third data packet.

[0102] In a possible implementation, the first device receives a third data packet under a first transmission system, specifically including: the first device receives at least one fourth data packet sent by the third device; the satellite link control layer SLC layer of the first device and / or the message data convergence layer MDCP layer of the first device processes the at least one fourth data packet into a third data packet.

[0103] In a possible implementation manner, the sixth information is receiving time information.

[0104] In a possible implementation manner, the receiving time information is used to indicate the time when the first device receives the third data packet.

[0105] In a possible implementation, the time when the first device receives the third data packet is the time when the first device receives the first fourth data packet among the at least one fourth data packet.

[0106] In a possible implementation manner, the first device obtains the fifth information through positioning and timing.

[0107] In a possible implementation manner, the first device obtains the fifth information through a preset encoding method based on the reception time information and the specified time granularity.

[0108] In a possible implementation, the fifth information is fifth context information, and the fifth context information is used to indicate the quantity information of the third data packets successfully received by the first device, or the count value or sequence number of the third data packets received by the first device.

[0109] In a possible implementation manner, the third data packet includes sixth indication information, where the sixth indication information is used to indicate a fourth message ID / a fourth sequence number / a fourth count value of the third data packet.

[0110] In a possible implementation manner, the third data packet includes fourth indication information, and the fourth indication information is used to indicate that the third data packet is a new transmission data packet or a retransmission data packet.

[0111] In a possible implementation, before the first device generates the third authentication code according to the fifth information, the first key, and the third data packet, the method further includes: the first device obtains an initial value of the fifth information in the second transmission system.

[0112] In a possible implementation, the first device determines the reception status of the third data packet based on the third authentication code, specifically including: the first device determines the reception status of the third data packet based on whether the third authentication code is the same as the fourth authentication code.

[0113] In a possible implementation manner, the first device determines the reception status of the third data packet based on whether the third authentication code is the same as the fourth authentication code, specifically including:

[0114] The third authentication code is the same as the fourth authentication code, and the first device determines that the third data packet is received successfully; or,

[0115] The third authentication code is different from the fourth authentication code, and the first device determines that the third data packet fails to be received; or,

[0116] The third authentication code is different from the fourth authentication code. The first device generates temporary information based on the fifth information and generates a temporary authentication code according to the temporary information. The first device compares the third authentication code with the temporary authentication code to determine the reception status of the third data packet.

[0117] When the fourth authentication code and the temporary authentication code are the same, the first device generates and sends a third application receipt including the fifth indication information to the second device; when the fourth authentication code and the temporary authentication code are different, the first device generates and sends a failed application receipt to the second device.

[0118] In one possible implementation, the third authentication code is different from the fourth authentication code, the first device updates the value of the fifth information, and generates an updated third authentication code based on the updated fifth information, and the first device compares the updated third authentication code with the fourth authentication code to determine the reception status of the third data packet.

[0119] In one possible implementation, when the updated third authentication code and the fourth authentication code are the same, the first device generates and sends a third application receipt including fifth indication information to the second device; when the updated third authentication code and the fourth authentication code are different, the first device generates and sends a third application receipt indicating a sending failure to the second device.

[0120] In a possible implementation, when the updated third authentication code is the same as the fourth authentication code, the first device generates and sends a third application receipt indicating successful sending to the second device.

[0121] In a possible implementation, when the updated third authentication code is the same as the fourth authentication code, the first device adds a preset value to the updated value of the fifth information.

[0122] In a possible implementation manner, the indication application receipt includes fifth indication information, and a value of the fifth indication information is the same as a value of the sixth indication information of the most recently successfully received data packet.

[0123] In a possible implementation manner, after the first device determines that the third data packet is received successfully, the method further includes:

[0124] Recording the time information of successful reception of the third data packet; and / or,

[0125] Recording the message ID corresponding to the third data packet; and / or,

[0126] A preset value is added to the value of the fifth information; the adjusted value of the fifth information is different from the value of the fifth information.

[0127] In a possible implementation, after the first device determines the reception status of the third data packet according to the third authentication code, the method further includes: the first device sends a third application receipt to the second device, where the third application receipt is used to indicate the reception status of the third data packet.

[0128] In one possible implementation, after the first device determines the reception status of the first data packet based on the third authentication code, the method further includes: when the first device determines that the reception status of the third data packet is correct reception, the first device adds a preset value to the value of the fifth information; the adjusted value of the fifth information is different from the value of the fifth information.

[0129] In a possible implementation, after the first device determines the reception status of the first data packet based on the third authentication code, the method further includes: when the first device determines that the reception status of the third data packet is reception failure, the first device updates the value of the fifth information to a preset value. Optionally, the preset value is an initial value.

[0130] In a possible implementation, the method further includes: the first device receives seventh information sent by the second device; and the first device updates the fifth information to the value of the seventh information based on the seventh information.

[0131] In a possible implementation manner, when the first device determines that the third data packet is received successfully, the method further includes: the first device displays the third data packet.

[0132] In a possible implementation manner, after the first device determines the reception status of the third data packet according to the third authentication code, the method further includes:

[0133] The first device sends third application receipt information to the second device in the second transmission system, where the third application receipt information is used to indicate a reception status of a third data packet by the second device in the first transmission system.

[0134] In a fifth aspect, the present application provides a transmission method, including: a second device generates a fourth authentication code based on sixth information and first data; wherein the sixth information is sending time information or sixth context information; an application AP layer of the second device generates a third data packet based on the fourth authentication code and the first data; and the second device sends the third data packet to the first device under the first transmission system.

[0135] In a possible implementation manner, the second device generates a fourth authentication code based on the sixth information and the first data, further comprising: the second device generates the fourth authentication code based on the sixth information, the first key and the first data.

[0136] In a possible implementation manner, before the second device generates a fourth authentication code based on the sixth information, the first key, and the first data, the method further includes:

[0137] The second device obtains a first key, where the first key is obtained by the first device through negotiation with the second device under a second transmission system; wherein the first transmission system is different from the second transmission system.

[0138] In a possible implementation manner, the first key is a preset key.

[0139] In a possible implementation manner, the second device obtains the first key through a Generic Bootstrapping Architecture (GBA) process with the first device under the second transmission system.

[0140] In a possible implementation manner, the second device sends the third data packet to the first device under the first transmission system, which specifically includes: the second device sends the third data packet to the first device via the third device.

[0141] In a possible implementation manner, the sixth information is used to indicate sending time information.

[0142] In a possible implementation, the sending time information is used to indicate the time when the fourth authentication code is generated, or the time when the second device sends the third data packet.

[0143] In a possible implementation method, the time when the second device sends the third data packet is the time when the second device sends the third data packet to the third device, or is the time when the second device estimates that the third data packet will be sent to the first device.

[0144] In a possible implementation, after packaging to obtain the third data packet, the second device adds the fourth authentication code to the third data packet.

[0145] In a possible implementation, the generation time of the fourth authentication code is in the format of Coordinated Universal Time UTC or Greenwich Mean Time GMT.

[0146] In a possible implementation, the minimum time granularity of the generation time of the fourth authentication code includes any one of year, month, day, hour, minute, and second.

[0147] In a possible implementation manner, the second device obtains the sixth information by specifying an encoding method based on the sending time information and the specified time granularity.

[0148] In a possible implementation manner, before the second device generates the fourth authentication code based on the sixth information, the first key and the first data, the method further includes: the second device obtains the sixth information through the third device.

[0149] In a possible implementation, before the second device generates the fourth authentication code based on the sixth information, the first key and the first data, the method further includes: the second device receives the eighth information sent by the third device; and the second device generates the sixth information based on the eighth information.

[0150] Optionally, the second device receives sixth information sent by the third device.

[0151] In one possible implementation, the sixth information is sixth context information, and the sixth context information is used to indicate the number of third data packets successfully sent by the second device, or the number of application receipts successfully received by the second device, or the count value or sequence value of the third data packets sent by the second device.

[0152] In a possible implementation manner, the method further includes: the second device acquiring an initial value of the sixth information in the second transmission system; or, the second device resetting the sixth information to a preset value in the second transmission system.

[0153] In a possible implementation, the third data packet further includes sixth indication information, where the sixth indication information is used to indicate a fourth message ID of the third data packet, or the sixth indication information is used to indicate a fourth count value or a fourth sequence number of the third data packet.

[0154] In one possible implementation, when the sixth indication information is used to indicate the fourth count value or fourth sequence number of the third data packet, the method also includes: the application layer of the second device associates the fourth count value or fourth sequence number to the third data packet, and the second device adds a preset value to the value of the fourth count value or fourth sequence number.

[0155] In a possible implementation manner, the third data packet further includes fourth indication information, and the fourth indication information is used to indicate new transmission or retransmission information of the third data packet.

[0156] In a possible implementation, the application AP layer of the second device generates a third data packet based on the fourth authentication code and the first data, specifically including: the application layer of the second device encrypts the fourth authentication code and the first data based on the first key to generate the third data packet; wherein the third data packet includes the encrypted fourth authentication code and the encrypted first data.

[0157] In a possible implementation manner, after the second device sends the third data packet, the method further includes:

[0158] The second device receives the third application layer receipt sent by the first device, wherein the third application layer receipt is used to indicate the reception status of the third data packet received by the first device.

[0159] In a possible implementation, after the second device receives the third application layer receipt sent by the first device, the method further includes: the second device adds a preset value to the value of the sixth information; and the adjusted value of the sixth information is different from the value of the sixth information.

[0160] In a possible implementation, the second device receives fourth application receipt information in the second transmission system, where the fourth application receipt information is used to indicate a sending status of a third data packet by the second device in the first transmission system;

[0161] The second device updates the sending status according to the second application receipt information.

[0162] In a possible implementation manner, the second device deletes the successfully sent third data packet.

[0163] In a sixth aspect, the present application provides a transmission method, including:

[0164] The third device receives a third data packet sent by the second device;

[0165] The third device generates at least one fourth data packet according to the third data packet;

[0166] The third device sends at least one fourth data packet to the first device.

[0167] In a possible implementation, before the third device receives the third data packet sent by the second device, the method further includes: the third device sends second information or fourth information to the second device, where the second information or the fourth information is time information.

[0168] In a seventh aspect, the present application provides a transmission method, comprising:

[0169] The first device generates a first authentication code based on first information, a first key and first data; wherein the first information is sending time information or first context information; the first device generates a first data packet based on the first authentication code and the first data; the first device sends the first data packet to the second device under the first transmission system.

[0170] In one possible implementation, before the first device generates a first authentication code based on the first information, the first key and the first data, the method also includes: the first device obtains the first key, and the first key is obtained by the first device through negotiation with the second device under the second transmission system; wherein the first transmission system is different from the second transmission system.

[0171] In a possible implementation, before the first device generates the first authentication code based on the first information, the first key and the first data, the method further includes: the first device and the fourth device establish a communication connection; and the first device obtains the first key through the fourth device.

[0172] In a possible implementation manner, the first key is a key preset by the first device.

[0173] In a possible implementation manner, the second transmission system is a cellular transmission system or a wireless local area network (WLAN) transmission system, and the first transmission system is a satellite transmission system.

[0174] In a possible implementation manner, the first device negotiates with the second device through a general bootstrapping framework (GBA) process in the second transmission system to obtain the first key.

[0175] In a possible implementation, the sending time information is used to indicate the time when the first authentication code is generated, or to indicate the time when the first device sends the first data packet.

[0176] In a possible implementation, the time when the first device sends the first data packet is the time when the application AP layer of the first device sends the first data packet to the message data convergence MDCP layer, or the time when the first device estimates that the first data packet will be sent to the second device.

[0177] In a possible implementation manner, the first device obtains the sending time information through positioning and timing.

[0178] In a possible implementation manner, the first data includes packaged first data and a first authentication code.

[0179] In a possible implementation, the format of the sending time of the data packet is Coordinated Universal Time UTC or Greenwich Mean Time GMT.

[0180] In a possible implementation, the specified time granularity of the sending time of the data packet includes any one of year, month, day, hour, minute, and second. The first device and the second device negotiate in the second transmission system to update the specified time granularity.

[0181] In a possible implementation manner, the first device obtains the sending time information through the fourth device.

[0182] In a possible implementation manner, the first device obtains the first information through a preset encoding method based on the sending time information and the specified time granularity.

[0183] In a possible implementation manner, after the first device sends the first data packet, the method further includes:

[0184] The first device receives a first application layer receipt sent by the second device, wherein the first application layer receipt is used to indicate a reception status of the first data packet received by the second device.

[0185] In one possible implementation, the first information is first context information, and the first context information is used to indicate the number of first data packets successfully sent by the first device, or the number of application receipts successfully received by the first device, or the count value or serial number of the first data packet sent by the first device.

[0186] In a possible implementation, the first data packet further includes first indication information, where the first indication information is used to indicate a first message ID of the first data packet, or the first indication information is used to indicate a first count value or a first sequence number of the first data packet.

[0187] In a possible implementation, the AP layer of the first device associates the first message ID or the first count value or the first sequence number with the first data packet, and the first device adds a preset value to the value of the first message ID or the first count value or the first sequence number.

[0188] In a possible implementation manner, the first data packet further includes third indication information, where the third indication information is used to indicate that the first data packet is a newly transmitted data packet or a retransmitted data packet.

[0189] In a possible implementation, when the value of the third indication information is the first value, the third indication information indicates that the first data packet is a newly transmitted data packet; when the value of the third indication information is the second value, the third indication information indicates that the first data packet is a retransmitted data packet.

[0190] In a possible implementation manner, before the first device generates the first authentication code based on the first information, the first key, and the first data, the method further includes:

[0191] The first device obtains an initial value of the first information in the second transmission system; or,

[0192] The first device obtains an initial value of the first information through the fourth device.

[0193] In a possible implementation manner, after the first device sends the first data packet, the method further includes:

[0194] The first device receives a first application layer receipt sent by the second device, wherein the first application layer receipt is used to indicate a reception status of the first data packet received by the second device.

[0195] In a possible implementation manner, after the first device receives the first application layer receipt sent by the second device, the method further includes:

[0196] The first device adds a preset value to the value of the first information; the adjusted value of the first information is different from the value of the first information.

[0197] In a possible implementation, after the first device receives the first application layer receipt sent by the second device, the method further includes: when the first application receipt is used to indicate that the second device fails to receive the first data packet, the first device adjusts the value of the first information to an initial value.

[0198] In a possible implementation, after the first device adjusts the value of the first information to an initial value, the method further includes: the first device sends third information to the second device, and the value of the third information is the same as the adjusted value of the first information.

[0199] In one possible implementation, after the first device receives the first application layer receipt sent by the second device, the method further includes: when the first application receipt indicates that the first data packet is sent successfully, the first device displays a success prompt message, and the success prompt message is used to prompt the user that the message corresponding to the first data packet is sent successfully.

[0200] In one possible implementation, after the first device receives the first application layer receipt sent by the second device, the method further includes: when the first application receipt indicates that the first data packet failed to be sent, the first device displays failure prompt information, and the failure prompt information is used to prompt the user that the message corresponding to the first data packet failed to be sent.

[0201] In one possible implementation, after the first device receives the first application layer receipt sent by the second device, the method further includes: when the first application receipt includes the second message ID information, the first device displays a success prompt message, and the success prompt message is used to prompt the user that the data packet indicated by the second message ID information is sent successfully.

[0202] In a possible implementation, the application layer of the first device generates a first data packet based on the first authentication code and the first data, specifically including: the application layer of the first device encrypts the first authentication code and the first data based on the first key to generate the first data packet; wherein the first data packet includes the encrypted first authentication code and the encrypted first data.

[0203] In a possible implementation, the application layer of the first device encrypts the first data based on the first key to generate a first data packet; wherein the first data packet includes the encrypted first data.

[0204] In one possible implementation, after the first device sends the first data packet to the second device in the first transmission system, the method further includes: the first device receives second application receipt information in the second transmission system, and the second application receipt information is used to indicate the sending status of the first data packet of the first device in the first transmission system.

[0205] In a possible implementation, after the first device sends the first data packet to the second device under the first transmission system, the method further includes: the first device displays sending prompt information, and the sending prompt information is used to prompt the user that the first device has sent the first data packet to the second device.

[0206] In an eighth aspect, the present application provides a transmission method, including: a second device receives a first data packet sent by a first device under a first transmission system; the second device generates a second authentication code based on second information, a first key, and a first data packet; wherein the second information is receiving time information or second context information; the second device determines the receiving status of the first data packet based on the second authentication code.

[0207] In one possible implementation, before the second device generates a second authentication code based on the second information, the first key, and the first data packet, the method also includes: the second device obtains the first key, and the first key is obtained by the second device through negotiation with the first device under a second transmission system; wherein the second transmission system is different from the first transmission system.

[0208] In a possible implementation manner, the second transmission system is a cellular transmission system or a WLAN transmission system, and the first transmission system is a satellite transmission system.

[0209] In a possible implementation manner, the second device negotiates with the first device through a general bootstrapping framework (GBA) process under the second transmission system to obtain the first key.

[0210] In a possible implementation manner, the first key is a key preset by the first device.

[0211] In a possible implementation, the second device receives a first data packet under the first transmission system, specifically including: the satellite link control layer SLC layer of the second device receives at least one second data packet sent by the first device; the message data convergence layer MDCP layer of the second device and / or the satellite link control layer SLC layer of the first device obtains the first data packet based on the at least one second data packet.

[0212] In a possible implementation manner, the second device determines the first authentication code according to the first data packet.

[0213] In a possible implementation manner, the receiving time information is used to indicate the receiving time of the first data packet.

[0214] In one possible implementation, before the second device generates a second authentication code based on the second information, the first key, and the first data packet, the method also includes: the second device obtains the reception time of the first data packet at the MDCP layer / SLC layer; and the second device generates the second information based on the reception time of the first data packet at the MDCP layer / SLC layer.

[0215] In a possible implementation, before the second device generates a second authentication code based on the second information, the first key, and the first data packet, the method also includes: the second device obtains the reception time of the first data packet at the MDCP layer / SLC layer; the second device determines that the reception time of the first data packet is the eighth information, and uploads the eighth information to the AP layer; the second device generates the second information based on the eighth information at the AP layer.

[0216] In a possible implementation manner, the second context information is used to indicate the number of first data packets successfully received by the second device, or a count value or a sequence value of first data packets received by the second device.

[0217] In a possible implementation manner, the first data packet includes first indication information, where the first indication information is used to indicate a first message ID / a first sequence number / a first count value of the first data packet.

[0218] In a possible implementation manner, the first data packet includes third indication information, and the third indication information is used to indicate that the first data packet is a new transmission data packet / retransmission data packet.

[0219] In a possible implementation, before the second device generates the second authentication code according to the second information, the first key, and the first data packet, the method further includes: the second device obtains an initial value of the second information in the second transmission system.

[0220] In a possible implementation, the second device determines the reception status of the first data packet based on the second authentication code, specifically including: the second device determines the reception status of the first data packet based on whether the first authentication code is the same as the second authentication code.

[0221] In a possible implementation, in a possible implementation, the second device compares the first authentication code with the second authentication code, specifically including: the first authentication code is the same as the second authentication code, and the second device determines that the first data packet is received successfully; or,

[0222] The first authentication code is different from the second authentication code, and the second device determines that the first data packet fails to be received; or,

[0223] The first authentication code is different from the second authentication code. The second device updates the second information and generates a temporary authentication code according to the updated second information. The second device compares the temporary authentication code with the first authentication code to determine the reception status of the first data packet.

[0224] Among them, when the temporary authentication code is the same as the first authentication code, the second device generates and sends a first application receipt including second indication information to the first device, and the second indication information is used to indicate the message ID of the data packet that was most recently received successfully; when the temporary authentication code is different from the first authentication code, the second device generates and sends a first application receipt to the first device to indicate that the first data packet failed to be received.

[0225] In a possible implementation manner, after the second device determines that the first data packet is received successfully, the method further includes:

[0226] Recording the time information of successful reception of the first data packet; and / or,

[0227] Recording the message ID corresponding to the first data packet; and / or,

[0228] The second device adds a preset value to the value of the second information; the adjusted value of the second information is different from the value of the second information.

[0229] In one possible implementation, the second device compares the third authentication code with the first authentication code, specifically including: if the third authentication code is the same as the first authentication code, the second device determines that the first data packet is received successfully, and generates a first application layer receipt indicating that the first data packet is received successfully; or, if the third authentication code is different from the first authentication code, the second device determines that the first data packet is received unsuccessfully, and generates a first application layer receipt indicating that the first data packet is received unsuccessfully.

[0230] In one possible implementation, the second device compares the third authentication code with the first authentication code, specifically including: the third authentication code is the same as the first authentication code, the second device determines that the first data packet has failed to be received, and generates a first application layer receipt indicating that the first data packet has failed to be received; wherein the first application layer receipt includes a message ID corresponding to the successfully received data packet; or, the third authentication code is different from the first authentication code, the second device determines that the first data packet has failed to be received, and generates a first application layer receipt indicating that the first data packet has failed to be received.

[0231] In one possible implementation, after the second device determines the reception status of the first data packet based on the second authentication code, the method further includes: when the second device determines that the first data packet is received successfully based on the second authentication code, the second device sends a first application receipt to the first device, and the first application receipt is used to indicate the successful reception of the first data packet.

[0232] In one possible implementation, after the second device determines the reception status of the first data packet based on the second authentication code, the method also includes: when the second device determines based on the second authentication code that the reception of the first data packet has failed, the second device sends a first application receipt to the first device, the first application receipt also includes a second message ID, and the second message ID indicates a message ID corresponding to the most recently successfully transmitted data packet.

[0233] In one possible implementation, after the second device determines the reception status of the first data packet based on the second authentication code, the method further includes: when the second device determines based on the second authentication code that the reception of the first data packet has failed, the second device sends a first application receipt to the first device, and the first application receipt is used to indicate the reception failure of the first data packet.

[0234] In a possible implementation, when the second device determines that the first data packet is received successfully based on the second authentication code, the method further includes: the second device adds a preset value to the value of the second information; and the adjusted value of the second information is different from the value of the second information.

[0235] In a possible implementation, when the second device determines that the first data packet has failed to be received based on the second authentication code, the method further includes: the second device adjusting the value of the second information to a preset value.

[0236] In a possible implementation, when the second device determines based on the second authentication code that the first data packet has failed to be received, the method further includes: the second device receives third information sent by the first device; and the second device adjusts the value of the second information to the value of the third information.

[0237] In one possible implementation, after the second device determines the reception status of the first data packet based on the second authentication code, the method further includes: the second device sends second application receipt information to the first device in the second transmission system, and the second application receipt information is used to indicate the reception status of the first data packet by the second device in the first transmission system.

[0238] In a ninth aspect, the present application provides a transmission method, comprising:

[0239] The first device receives a third data packet under the first transmission system;

[0240] The first device generates a third authentication code based on fifth information and the third data packet; wherein the fifth information is sending time information or fifth context information; and the first device determines a receiving status of the third data packet based on the third authentication code.

[0241] In a possible implementation manner, the first device generates a third authentication code based on the fifth information and the third data packet, further comprising: the first device further generates the third authentication code based on the fifth information, the third data packet and the first key.

[0242] In a possible implementation, before the first device generates a third authentication code based on the fifth information, the first key, and the third data packet, it also includes: the first device obtains the first key, and the first key is obtained by the first device through negotiation with the second device under the second transmission system; wherein the first transmission system is different from the second transmission system.

[0243] In a possible implementation, before the first device generates the first authentication code based on the first information, the first key and the first data, the method further includes: the first device and a fourth device establish a communication connection; and the first device obtains the first key through the fourth device.

[0244] In a possible implementation manner, the first key is a key preset by the first device.

[0245] In a possible implementation, the first transmission system is a satellite transmission system, and the second transmission system is a non-satellite transmission system.

[0246] In a possible implementation manner, the second transmission system is a cellular transmission system or a wireless local area network (WLAN) transmission system.

[0247] In a possible implementation manner, the first device negotiates with the second device through a Generic Bootstrapping Architecture (GBA) process in the second transmission system to obtain the first key.

[0248] In a possible implementation manner, the first device determines a fourth authentication code according to the third data packet.

[0249] In one possible implementation, the first device receives a third data packet under the first transmission system, specifically including: the first device receives at least one fourth data packet sent by the second device; the satellite link control layer SLC layer of the first device and / or the message data convergence layer MDCP layer of the first device processes at least one fourth data packet into a third data packet.

[0250] In a possible implementation manner, the sixth information is receiving time information.

[0251] In a possible implementation manner, the receiving time information is used to indicate the time when the first device receives the third data packet.

[0252] In a possible implementation, the time when the first device receives the third data packet is the time when the first device receives the first fourth data packet among the at least one fourth data packet.

[0253] In a possible implementation manner, the first device obtains the fifth information through positioning and timing.

[0254] In a possible implementation manner, the first device obtains the fifth information through a preset encoding method based on the reception time information and the specified time granularity.

[0255] In a possible implementation, the fifth information is fifth context information, and the fifth context information is used to indicate the quantity information of the third data packets successfully received by the first device, or the count value or sequence number of the third data packets received by the first device.

[0256] In a possible implementation manner, the third data packet includes sixth indication information, where the sixth indication information is used to indicate a fourth message ID / a fourth sequence number / a fourth count value of the third data packet.

[0257] In a possible implementation manner, the third data packet includes fourth indication information, and the fourth indication information is used to indicate that the third data packet is a new transmission data packet or a retransmission data packet.

[0258] In a possible implementation, before the first device generates the third authentication code according to the fifth information, the first key, and the third data packet, the method further includes: the first device obtains an initial value of the fifth information in the second transmission system.

[0259] In a possible implementation, the first device determines the reception status of the third data packet based on the third authentication code, specifically including: the first device determines the reception status of the third data packet based on whether the third authentication code is the same as the fourth authentication code.

[0260] In a possible implementation manner, the first device determines the reception status of the third data packet based on whether the third authentication code is the same as the fourth authentication code, specifically including:

[0261] The third authentication code is the same as the fourth authentication code, and the first device determines that the third data packet is received successfully; or,

[0262] The third authentication code is different from the fourth authentication code, and the first device determines that the third data packet fails to be received; or,

[0263] The third authentication code is different from the fourth authentication code. The first device generates temporary information based on the second information and generates a temporary authentication code according to the temporary information. The first device compares the third authentication code with the temporary authentication code to determine the reception status of the third data packet.

[0264] When the fourth authentication code and the temporary authentication code are the same, the first device generates and sends an application receipt indicating application to the second device; when the fourth authentication code and the temporary authentication code are different, the first device generates and sends a failed application receipt to the second device.

[0265] In a possible implementation manner, the indication application receipt includes fifth indication information, and a value of the fifth indication information is the same as a value of the sixth indication information of the most recently successfully received data packet.

[0266] In a possible implementation manner, after the first device determines that the third data packet is received successfully, the method further includes:

[0267] Recording the time information of successful reception of the third data packet; and / or,

[0268] Recording the message ID corresponding to the third data packet; and / or,

[0269] A preset value is added to the value of the fifth information; the adjusted value of the fifth information is different from the value of the fifth information.

[0270] In a possible implementation, after the first device determines the reception status of the third data packet according to the third authentication code, the method further includes: the first device sends a third application receipt to the second device, where the third application receipt is used to indicate the reception status of the third data packet.

[0271] In one possible implementation, after the first device determines the reception status of the first data packet based on the third authentication code, the method further includes: when the first device determines that the reception status of the third data packet is correct reception, the first device adds a preset value to the value of the fifth information; the adjusted value of the fifth information is different from the value of the fifth information.

[0272] In a possible implementation, after the first device determines the reception status of the first data packet based on the third authentication code, the method further includes: when the first device determines that the reception status of the third data packet is reception failure, the first device updates the value of the fifth information to a preset value. Optionally, the preset value is an initial value.

[0273] In a possible implementation, the method further includes: the first device receives seventh information sent by the second device; and the first device updates the fifth information to the value of the seventh information based on the seventh information.

[0274] In a possible implementation manner, when the first device determines that the third data packet is received successfully, the method further includes: the first device displays the third data packet.

[0275] In a possible implementation manner, after the first device determines the reception status of the third data packet according to the third authentication code, the method further includes:

[0276] The first device sends third application receipt information to the second device in the second transmission system, where the third application receipt information is used to indicate a reception status of a third data packet by the second device in the first transmission system.

[0277] In a tenth aspect, the present application provides a transmission method, comprising:

[0278] The second device generates a fourth authentication code based on the sixth information and the first data; wherein the sixth information is sending time information or sixth context information; the application AP layer of the second device generates a third data packet according to the fourth authentication code and the first data; the second device sends the third data packet to the first device under the first transmission system.

[0279] In a possible implementation manner, the second device generates a fourth authentication code based on the sixth information and the first data, further comprising: the second device generates the fourth authentication code based on the sixth information, the first key and the first data.

[0280] In a possible implementation manner, before the second device generates a fourth authentication code based on the sixth information, the first key, and the first data, the method further includes:

[0281] The second device obtains a first key, where the first key is obtained by the first device through negotiation with the second device under a second transmission system; wherein the first transmission system is different from the second transmission system.

[0282] In a possible implementation manner, the first key is a preset key.

[0283] In a possible implementation manner, the second device obtains the first key through a Generic Bootstrapping Architecture (GBA) process with the first device under the second transmission system.

[0284] In a possible implementation manner, the second device sends the third data packet to the first device under the first transmission system, which specifically includes: the second device sends the third data packet to the first device via the third device.

[0285] In a possible implementation manner, the sixth information is used to indicate sending time information.

[0286] In a possible implementation, the sending time information is used to indicate the time when the fourth authentication code is generated, or the time when the second device sends the third data packet.

[0287] In a possible implementation method, the time when the second device sends the third data packet is the time when the second device sends the third data packet to the third device, or is the time when the second device estimates that the third data packet will be sent to the first device.

[0288] In a possible implementation, after packaging to obtain the third data packet, the second device adds the fourth authentication code to the third data packet.

[0289] In a possible implementation, the generation time of the fourth authentication code is in the format of Coordinated Universal Time UTC or Greenwich Mean Time GMT.

[0290] In a possible implementation, the minimum time granularity of the generation time of the fourth authentication code includes any one of year, month, day, hour, minute, and second.

[0291] In a possible implementation manner, the second device obtains the sixth information by specifying an encoding method based on the sending time information and the specified time granularity.

[0292] In a possible implementation manner, before the second device generates the fourth authentication code based on the sixth information, the first key and the first data, the method further includes: the second device obtains the sixth information through the third device.

[0293] In a possible implementation, before the second device generates a fourth authentication code based on the sixth information, the first key and the first data, the method further includes: the MDCP layer / SLC layer of the second device obtains the eighth information; and the second device generates the sixth information based on the eighth information at the AP layer.

[0294] Optionally, the second device generates sixth information at the MDCP layer / SLC layer.

[0295] In one possible implementation, the sixth information is sixth context information, and the sixth context information is used to indicate the number of third data packets successfully sent by the second device, or the number of application receipts successfully received by the second device, or the count value or sequence value of the third data packets sent by the second device.

[0296] In a possible implementation manner, the method further includes: the second device acquiring an initial value of the sixth information in the second transmission system; or, the second device resetting the sixth information to a preset value in the second transmission system.

[0297] In a possible implementation, the third data packet further includes sixth indication information, where the sixth indication information is used to indicate a fourth message ID of the third data packet, or the sixth indication information is used to indicate a fourth count value or a fourth sequence number of the third data packet.

[0298] In one possible implementation, when the sixth indication information is used to indicate the fourth count value or fourth sequence number of the third data packet, the method also includes: the application layer of the second device associates the fourth count value or fourth sequence number to the third data packet, and the second device adds a preset value to the value of the fourth count value or fourth sequence number.

[0299] In a possible implementation manner, the third data packet further includes fourth indication information, and the fourth indication information is used to indicate new transmission or retransmission information of the third data packet.

[0300] In a possible implementation, the application AP layer of the second device generates a third data packet based on the fourth authentication code and the first data, specifically including: the application layer of the second device encrypts the fourth authentication code and the first data based on the first key to generate the third data packet; wherein the third data packet includes the encrypted fourth authentication code and the encrypted first data.

[0301] In a possible implementation manner, after the second device sends the third data packet, the method further includes:

[0302] The second device receives the third application layer receipt sent by the first device, wherein the third application layer receipt is used to indicate the reception status of the third data packet received by the first device.

[0303] In a possible implementation, after the second device receives the third application layer receipt sent by the first device, the method further includes: the second device adds a preset value to the value of the sixth information; and the adjusted value of the sixth information is different from the value of the sixth information.

[0304] In a possible implementation, the second device receives fourth application receipt information in the second transmission system, where the fourth application receipt information is used to indicate a sending status of a third data packet by the second device in the first transmission system;

[0305] The second device updates the sending status according to the second application receipt information.

[0306] In a possible implementation manner, the second device deletes the successfully sent third data packet.

[0307] In an eleventh aspect, the present application provides a transmission method, comprising:

[0308] The sending device generates an authentication code A based on information A and original data; wherein information A is sending time information or context information A; the sending device obtains a data packet based on the authentication code A and original data; the sending device sends the data packet to the receiving device under the first transmission system.

[0309] In a possible implementation manner, the sending device generates the authentication code A based on the information A and the original data, which specifically includes: the sending device generates the authentication code A based on the information A, a designated key and the original data.

[0310] In a possible implementation manner, the sending device negotiates with the receiving device to obtain a designated key under the second transmission system.

[0311] In a possible implementation manner, the first transmission system and the second transmission system are different.

[0312] In a possible implementation manner, the designated key is a key preset by the sending device.

[0313] In a possible implementation manner, the second transmission system is a cellular transmission system or a wireless local area network (WLAN) transmission system, and the first transmission system is a satellite transmission system.

[0314] In a possible implementation manner, the sending device negotiates with the receiving device under the second transmission system to obtain a designated key through a general bootstrapping framework GBA process.

[0315] In a possible implementation, when the information A is sending time information, the information A is used to indicate the sending time of the data packet.

[0316] In a possible implementation, the time when the sending device sends the data packet is the time when the application AP layer of the sending device sends the data packet to the message data convergence MDCP layer, or the time estimated by the sending device to send the data packet to the receiving device.

[0317] In a possible implementation, the information A is context information A, and the information A is used to indicate the quantity information of the sent data packets, or the sequence number or count value of the data packets.

[0318] In a possible implementation, the data packet further includes a message ID field A, and the message ID field A is used to identify the data packet.

[0319] In a possible implementation, the data packet further includes a sequence number field A, where the sequence number field A is used to identify the data packet and also to indicate information A.

[0320] In a possible implementation, the sending device associates the sequence number A with the data packet, and generates the sequence number field A based on the sequence number A.

[0321] In a possible implementation, the sending device associates the message ID with the data packet and generates the message ID field A based on the message ID.

[0322] In a possible implementation manner, the data packet further includes a retransmission indication field, and the retransmission indication field is used to indicate that the data packet is a retransmission data packet or a new transmission data packet.

[0323] In one possible implementation, the sending device encrypts the original data and the authentication code A using a specified key, and then adds header information before the encrypted original data and the authentication code A to obtain a data packet; wherein the header information includes an encryption indication field, and the encryption indication field is used to indicate the encryption algorithm used by the sending device.

[0324] In a possible implementation, after the sending device sends the data packet to the receiving device under the first transmission system, the method further includes: the sending device adds a preset value to the sequence number A; and the sending device adjusts the value of the context information A based on the adjusted sequence number A.

[0325] In one possible implementation, the sending device adjusts the value of context information A based on the adjusted sequence number A, specifically including: the sending device determines the value of super frame number A based on the adjusted sequence number A, and adjusts the value of context information A based on the adjusted sequence number A and super frame number A.

[0326] In a possible implementation, the sending device is a terminal, and the receiving device is a satellite network device.

[0327] In a possible implementation, the sending device is a satellite network device, and the receiving device is a terminal.

[0328] In one possible implementation, after the sending device sends the data packet to the receiving device under the first transmission system, the method also includes: after the sending device receives the successful application receipt sent by the receiving device, the sending device adds a preset value to the value of the context information A; wherein the successful application receipt is used to indicate that the receiving device has successfully received the data packet.

[0329] In one possible implementation, when the sending device is a terminal; after the sending device sends the data packet to the receiving device under the first transmission system, the method also includes: after the sending device receives the successful application receipt sent by the receiving device, the sending device displays a success prompt message, and the success prompt message is used to prompt the user that the data packet has been sent successfully.

[0330] In one possible implementation, when the sending device is a satellite network device; after the sending device sends the data packet to the receiving device under the first transmission system, the method also includes: after the sending device receives the successful application receipt sent by the receiving device, the sending device deletes the data packet in the memory.

[0331] In one possible implementation, after the sending device sends the data packet to the receiving device under the first transmission system, the method also includes: after the sending device receives the failed application receipt sent by the receiving device, the sending device adds a preset value to the value of the context information A; wherein the failed application receipt is used to indicate that the receiving device fails to receive the data packet.

[0332] In a possible implementation, after the sending device sends the data packet to the receiving device under the first transmission system, the method further includes: after the sending device receives the failed application receipt sent by the receiving device, adjusting the value of the context information A to a preset value.

[0333] In a possible implementation manner, after the sending device adjusts the value of the context information A to a preset value, the method further includes: the sending device sending the value of the context information A to the receiving device.

[0334] In one possible implementation, after the sending device sends the data packet to the receiving device under the first transmission system, the method further includes: after the sending device receives the failed application receipt sent by the receiving device, the sending device and the receiving device negotiate the value of context information A under the second transmission system.

[0335] In one possible implementation, when the sending device is a terminal; after the sending device sends the data packet to the receiving device under the first transmission system, the method also includes: after the sending device receives the failed application receipt sent by the receiving device, the sending device displays a failure prompt message, and the failure prompt message is used to prompt the user that the data packet sending failed.

[0336] In one possible implementation, after the sending device sends the data packet to the receiving device under the first transmission system, the method also includes: after the sending device receives the indication application receipt sent by the receiving device, the sending device adds a preset value to the value of the context information A; wherein the indication application receipt is used to indicate that the current data packet has failed to be sent; wherein the indication application receipt includes a message ID field B, and the message ID field B is used to indicate the data packet that was most recently sent successfully.

[0337] In one possible implementation, when the sending device is a terminal; after the sending device sends the data packet to the receiving device under the first transmission system, the method also includes: after the sending device receives the application receipt sent by the receiving device, the sending device displays a success prompt message and a failure prompt message, the success prompt message is used to prompt the user that the data packet indicated by the message ID field B is sent successfully, and the failure prompt message is used to prompt the user that the current data packet fails to be sent.

[0338] In a possible implementation, when the sending device is a terminal; after the sending device sends the data packet to the receiving device under the first transmission system, the method also includes: the sending device displays a sending prompt message, and the sending prompt message is used to prompt the user that the sending device has sent the data packet to the receiving device.

[0339] In one possible implementation, after the sending device sends the data packet to the receiving device under the first transmission system, the method also includes: after the sending device receives the collective application receipt sent by the receiving device under the second transmission system, determining the reception status of the data packet sent under the first transmission system based on the collective application receipt.

[0340] In the twelfth aspect, the present application provides a transmission method, including: a receiving device receives a data packet sent by a sending device under a first transmission system; the receiving device generates an authentication code B based on information B and the data packet; wherein information B is receiving time information or context information B; the receiving device determines the receiving status of the data packet based on the authentication code B.

[0341] In a possible implementation manner, the receiving device generates the authentication code B based on the information B and the original data, which specifically includes: the receiving device generates the authentication code B based on the information B, a designated key and the original data.

[0342] In a possible implementation, the receiving device negotiates with the sending device to obtain a designated key under the second transmission system.

[0343] In a possible implementation manner, the first transmission system and the second transmission system are different.

[0344] In a possible implementation manner, the designated key is a key preset by the receiving device.

[0345] In a possible implementation manner, the second transmission system is a cellular transmission system or a wireless local area network (WLAN) transmission system, and the first transmission system is a satellite transmission system.

[0346] In a possible implementation manner, the receiving device negotiates with the sending device to obtain a designated key through a general bootstrapping framework (GBB) process under the second transmission system.

[0347] In a possible implementation manner, when the information B is receiving time information, the information B is used to indicate the receiving time of the data packet.

[0348] In a possible implementation, the time when the receiving device receives the data packet is the time when the satellite link control SLC layer of the receiving device receives the first satellite link control layer service data unit SLC PDU of the data packet.

[0349] In a possible implementation, the information B is context information B, and the information B is used to indicate the quantity information of received data packets, or the sequence number or count value of the data packets.

[0350] In a possible implementation, the data packet further includes a sequence number field A, where the sequence number field A is used to identify the data packet and is also used to indicate the context information B.

[0351] In a possible implementation manner, the receiving device determines the value of the context information B based on the sequence number field A and the stored sequence number B.

[0352] In one possible implementation, the receiving device determines the value of context information B based on sequence number field A and stored sequence number B, specifically including: the receiving device determines the value of super frame number B based on the size of the values ​​of sequence number field A and sequence number B; the receiving device obtains context information B based on sequence number field A and super frame number B.

[0353] In a possible implementation, when the value of the sequence number field A is less than or equal to the value of the sequence number B, the receiving device adds a preset value to the value of the superframe number B.

[0354] In a possible implementation, the receiving device concatenates the superframe number B and the sequence number field A to obtain the context information B.

[0355] In a possible implementation, after the receiving device obtains the context information B, the value of the sequence number B may be adjusted to the value of the sequence number field A.

[0356] In a possible implementation, the data packet further includes a message ID field A, and the message ID field A is used to identify the data packet.

[0357] In a possible implementation, the receiving device is a satellite network device, and the sending device is a terminal.

[0358] In a possible implementation, the receiving device is a terminal, and the sending device is a satellite network device.

[0359] In a possible implementation, the receiving device obtains the authentication code A based on the data packet.

[0360] In a possible implementation manner, the receiving device determines the reception status of the data packet based on the authentication code B, specifically including: the receiving device compares the authentication code A and the authentication code B to determine the reception status of the data packet.

[0361] In a possible implementation, the receiving device compares the authentication code A and the authentication code B to determine the reception status of the data packet, specifically including: when the authentication code B and the authentication code A are the same, the receiving device determines that the data packet is received successfully.

[0362] In a possible implementation, after the receiving device determines that the data packet is received successfully, the method further includes: the receiving device generates a successful application receipt, the successful application receipt is used to indicate that the receiving device has successfully received the data packet; the receiving device sends the successful application receipt to the sending device.

[0363] In one possible implementation, the data packet includes a message ID field A; after the receiving device determines that the data packet is received successfully, the method further includes: the receiving device adjusts the value of the message ID field B to the value of the message ID field A.

[0364] In a possible implementation, when the receiving device is a terminal, after the receiving device determines that the data packet is received successfully, the method further includes: the receiving device displays the original data.

[0365] In a possible implementation, when the receiving device is a satellite network device; after the receiving device determines that the data packet is received successfully, the method further includes: the receiving device sends the original data to the electronic device under the second transmission system through the second transmission system.

[0366] In a possible implementation, the receiving device compares the authentication code A and the authentication code B to determine the reception status of the data packet, specifically including: when the authentication code B and the authentication code A are different, the receiving device determines that the reception of the data packet fails.

[0367] In a possible implementation, after the receiving device determines that the data packet reception has failed, the method further includes: the receiving device generates a failed application receipt, the failed application receipt is used to indicate that the receiving device has failed to receive the data packet; the receiving device sends the failed application receipt to the sending device.

[0368] In one possible implementation, after the receiving device determines that the data packet reception has failed, the method also includes: the receiving device generates an indication application receipt based on the message ID field B, the indication application receipt is used to indicate that the receiving device has failed to receive the data packet, and the message ID field B is used to indicate the data packet that the receiving device has most recently successfully received; the receiving device sends the indication application receipt to the sending device.

[0369] In one possible implementation, when authentication code B is different from authentication code A, after the receiving device determines that the data packet reception has failed, the method further includes: the receiving device generates information C based on information B, and generates authentication code C based on information C, and the receiving device determines whether the sending device has not received the most recent successful application receipt based on authentication code C.

[0370] In a possible implementation, when the authentication code C is the same as the authentication code A, that is, the receiving device determines that the sending device has not received the most recently sent successful application receipt, the receiving device sends a successful application receipt to the sending device.

[0371] In a possible implementation, when the authentication code C is different from the authentication code A, the receiving device sends a failed application receipt to the sending device.

[0372] In a possible implementation manner, the data packet further includes a retransmission indication field, and the retransmission indication field is used to indicate that the data packet is a retransmission data packet or a new transmission data packet.

[0373] In one possible implementation, when the authentication code B is different from the authentication code A, after the receiving device determines that the data packet reception has failed, the method further includes: the receiving device determines that the data packet includes a retransmission indication field indicating that the data packet is a newly transmitted data packet, and the receiving device generates and sends a failed application receipt to the sending device.

[0374] In one possible implementation, when authentication code B and authentication code A are different, after the receiving device determines that the data packet reception has failed, the method also includes: the receiving device determines that the data packet includes a retransmission indication field indicating that the data packet is a retransmission data packet, the receiving device generates information C based on information B, and generates authentication code C based on information C, and the receiving device determines whether the sending device has not received the most recent successful application receipt based on the authentication code C.

[0375] In a possible implementation, when the authentication code C is the same as the authentication code A, that is, the receiving device determines that the sending device has not received the most recently sent successful application receipt, the receiving device sends a successful application receipt to the sending device.

[0376] In a possible implementation, when the authentication code C is different from the authentication code A, the receiving device sends a failed application receipt to the sending device.

[0377] In a possible implementation, the receiving device sends a collective application receipt to the sending device under the second transmission system, where the collective application receipt is used to indicate the reception status of the data packet of the sending device by the receiving device under the first transmission system.

[0378] In a thirteenth aspect, the present application provides a satellite communication system, comprising: a sending device and a receiving device; wherein:

[0379] A sending device, used to generate an authentication code A based on information A and original data; wherein information A is sending time information or context information A;

[0380] The sending device is further used to obtain a data packet based on the authentication code A and the original data;

[0381] The sending device is also used to send the data packet to the receiving device under the first transmission system.

[0382] A receiving device, used for receiving a data packet sent by a sending device under a first transmission system;

[0383] The receiving device is further used to generate an authentication code B based on the information B and the data packet; wherein the information B is the receiving time information or the context information B;

[0384] The receiving device is further used to determine the receiving status of the data packet based on the authentication code B.

[0385] In one possible implementation, the present application provides a communication device, including one or more processors, one or more memories and a transceiver; wherein the transceiver, one or more memories are coupled to one or more processors, and the one or more memories are used to store computer program code, and the computer program code includes computer instructions, and when the one or more processors execute the computer instructions, the communication device executes a method as described in any one of the eleventh aspect or the twelfth aspect.

[0386] In a possible implementation manner, the communication device is a terminal or a satellite network device.

[0387] In one possible implementation, the present application provides a computer-readable storage medium, in which instructions are stored. When the instructions are executed on a computer, the computer executes a method as described in any one of the eleventh or twelfth aspects.

[0388] In one possible implementation, the present application provides a chip or chip system, applied to a terminal, including a processing circuit and an interface circuit, the interface circuit is used to receive code instructions and transmit them to the processing circuit, and the processing circuit is used to run the code instructions to execute a method such as any one of the eleventh aspect or the twelfth aspect.

[0389] In a fourteenth aspect, the present application provides a communication device, comprising one or more processors, one or more memories, and a transceiver. The transceiver and the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the communication device executes the method in any possible implementation of the first aspect, the fourth aspect, the seventh aspect, or the ninth aspect.

[0390] The communication device may be a terminal or other equipment in other product forms.

[0391] In a fifteenth aspect, the present application provides a communication device, comprising one or more processors, one or more memories, and a transceiver. The transceiver and the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the communication device executes the method in any possible implementation of the second aspect, the fifth aspect, the eighth aspect, or the tenth aspect.

[0392] The communication device may be a satellite network device, or any network element or a combination of multiple network elements in the satellite network device.

[0393] In a sixteenth aspect, the present application provides a communication device, comprising one or more processors, one or more memories, and a transceiver. The transceiver and the one or more memories are coupled to the one or more processors, and the one or more memories are used to store computer program codes, and the computer program codes include computer instructions. When the one or more processors execute the computer instructions, the communication device executes the method in any possible implementation of the third aspect and the sixth aspect.

[0394] The communication device may be any network element or a combination of multiple network elements in a satellite network device.

[0395] In the seventeenth aspect, the present application provides a computer storage medium comprising computer instructions, which, when executed on a computer, enables the computer to execute a method in any possible implementation of the first aspect, the fourth aspect, the seventh aspect or the ninth aspect.

[0396] In the eighteenth aspect, the present application provides a computer storage medium, including computer instructions, which, when executed on a computer, enables the computer to execute a method in any possible implementation of the second aspect, fifth aspect, eighth aspect or tenth aspect.

[0397] In the nineteenth aspect, the present application provides a computer storage medium, including computer instructions, which, when executed on a computer, enables the computer to execute a method in any possible implementation of the third aspect or the sixth aspect.

[0398] In the twentieth aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute a method in any possible implementation of the first aspect, the fourth aspect, the seventh aspect or the ninth aspect.

[0399] In the twenty-first aspect, the present application provides a computer program product, which, when executed on a computer, enables the computer to execute a method in any possible implementation of the second aspect, the fifth aspect, the eighth aspect or the tenth aspect.

[0400] In the twenty-second aspect, the present application provides a computer program product. When the computer program product runs on a computer, it enables the computer to execute the method in any possible implementation of the third aspect or the sixth aspect.

[0401] In the twenty-third aspect, the present application provides a chip or chip system, applied to a terminal, comprising a processing circuit and an interface circuit, the interface circuit being used to receive code instructions and transmit them to the processing circuit, the processing circuit being used to run the code instructions to execute the method in any possible implementation of the first aspect, fourth aspect, seventh aspect or ninth aspect mentioned above. BRIEF DESCRIPTION OF THE DRAWINGS

[0402] Figure 1A A schematic diagram of a satellite communication system provided in an embodiment of the present application;

[0403] Figure 1B A schematic diagram of another satellite communication system provided in an embodiment of the present application;

[0404] Figure 2A A schematic diagram of a protocol encapsulation architecture for inbound data of a satellite communication system provided in an embodiment of the present application;

[0405] Figure 2B A schematic diagram of a protocol parsing architecture for inbound data of a satellite communication system provided in an embodiment of the present application;

[0406] Figure 3A A schematic diagram of a protocol encapsulation architecture for outbound data of a satellite communication system provided in an embodiment of the present application;

[0407] Figure 3B A schematic diagram of a protocol parsing architecture for outbound data of a satellite communication system provided in an embodiment of the present application;

[0408] Figure 4 A schematic diagram of a flow chart of authentication verification during inbound transmission in a satellite communication system provided in an embodiment of the present application;

[0409] Figure 5 A flowchart of a method for obtaining a specified key provided in an embodiment of the present application;

[0410] Figure 6 A schematic diagram of a replay attack scenario provided in an embodiment of the present application;

[0411] Figure 7 A schematic diagram of a processing flow of a transmission method provided in an embodiment of the present application;

[0412] Figure 8 A schematic diagram of a processing flow of another transmission method provided in an embodiment of the present application;

[0413] Fig. 9 A schematic diagram of an inbound transmission process provided by an embodiment of the present application;

[0414] Fig.10 A schematic diagram of an outbound transmission process provided in an embodiment of the present application;

[0415] Fig.11 A schematic diagram of a processing flow of another transmission method provided in an embodiment of the present application;

[0416] Fig.12 Another schematic diagram of an inbound transmission process provided by an embodiment of the present application;

[0417] Fig.13 Another outbound transmission process diagram provided in an embodiment of the present application;

[0418] Fig.14 A schematic diagram of a transmission process provided in an embodiment of the present application;

[0419] Figures 15A-15H A set of interface schematic diagrams provided for embodiments of the present application;

[0420] Fig.16AAnother transmission flow diagram provided in an embodiment of the present application;

[0421] Fig. 16B Another transmission flow diagram provided in an embodiment of the present application;

[0422] Fig.17A Another transmission flow diagram provided in an embodiment of the present application;

[0423] Fig. 17B Another transmission flow diagram provided in an embodiment of the present application;

[0424] Fig. 17C Another transmission flow diagram provided in an embodiment of the present application;

[0425] Figures 18A-18C Another set of interface schematic diagrams provided for embodiments of the present application;

[0426] Fig.19 Another transmission flow diagram provided in an embodiment of the present application;

[0427] Fig. 20 A schematic diagram of an interface provided for an embodiment of the present application;

[0428] Fig.21 A schematic diagram of a processing flow of another transmission method provided in an embodiment of the present application;

[0429] Fig. 22 Another schematic diagram of an inbound transmission process provided by an embodiment of the present application;

[0430] Fig.23 Another outbound transmission process diagram provided in an embodiment of the present application;

[0431] Fig.24 Another transmission flow diagram provided in an embodiment of the present application;

[0432] Figure 25A-Figure 25D Another set of interface schematic diagrams provided for embodiments of the present application;

[0433] Fig.26 Another transmission flow diagram provided in an embodiment of the present application;

[0434] Figure 27A-27B Another set of interface schematic diagrams provided for embodiments of the present application;

[0435] Fig.28 Another transmission flow diagram provided in an embodiment of the present application;

[0436] Fig.29 A schematic diagram of an interface provided for an embodiment of the present application;

[0437] Fig.30 Another transmission flow diagram provided in an embodiment of the present application;

[0438] Figure 31A-Figure 31B Another set of interface schematic diagrams provided for embodiments of the present application;

[0439] Fig.32 Another schematic diagram of an inbound transmission process provided by an embodiment of the present application;

[0440] Fig.33 Another outbound transmission process diagram provided in an embodiment of the present application;

[0441] Fig.34 Another transmission flow diagram provided in an embodiment of the present application;

[0442] Fig.35 Another transmission flow diagram provided in an embodiment of the present application;

[0443] Fig.36 Another schematic diagram of an inbound transmission process provided by an embodiment of the present application;

[0444] Fig.37 Another outbound transmission process diagram provided in an embodiment of the present application;

[0445] Fig.38 Another transmission flow diagram provided in an embodiment of the present application;

[0446] Fig.39 Another transmission flow diagram provided in an embodiment of the present application;

[0447] Fig.40 Another transmission flow diagram provided in an embodiment of the present application;

[0448] Fig.41 Another transmission flow diagram provided in an embodiment of the present application;

[0449] Fig.42 A schematic diagram of a hardware structure provided for an embodiment of the present application;

[0450] Figure 43A-43B Another set of interface schematic diagrams provided for an embodiment of the present application. DETAILED DESCRIPTION

[0451] The technical solutions in the embodiments of the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the text is only a description of the association relationship of the associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone.

[0452] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of the indicated technical features. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features, and in the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more.

[0453] A satellite communication system 10 provided in an embodiment of the present application is introduced below.

[0454] like Figure 1A As shown, the satellite communication system 10 may include but is not limited to a terminal 100, a satellite 21, a satellite network device 200, a cellular network device 400, a terminal 300 and the like.

[0455] Among them, the terminal 100 of the satellite network can send a satellite message to the terminal 300 of the cellular network. Specifically, the terminal 100 can first send a satellite message to the satellite 21, and the satellite 21 only performs relaying, and can directly forward the satellite message sent by the terminal 100 to the satellite network device 200 on the ground. The satellite network device 200 can parse the satellite message forwarded by the satellite 21 according to the satellite communication protocol, and forward the message content parsed from the satellite message to the cellular network device 400. The cellular network device 400 can forward the message content to the terminal 300 through the traditional cellular communication network.

[0456] The terminal 300 of the cellular network can also send a satellite message to the terminal 100 of the satellite network. In the outbound process, the terminal 300 can send a short message to the short message center 25 through the traditional cellular communication network. The short message center 25 can forward the short message of the terminal 300 to the satellite network device 200. The satellite network device 200 can send the short message of the terminal 300 to the terminal 100 through the satellite 21 relay.

[0457] Optionally, the satellite communication system 10 may also include a national emergency rescue platform and a national emergency rescue center. The satellite network device 200 may send the satellite message of the emergency rescue type sent by the terminal 100 to the national emergency rescue center through the national emergency rescue platform.

[0458] The satellite network device 200 may include but is not limited to a ground transceiver station 22, a central station 23 and a fusion communication platform 24. The ground transceiver station 22 may include one or more devices having a sending function and one or more devices having a receiving function, or may include one or more devices having a sending function and a receiving function, which is not limited here. The ground transceiver station 22 may be used for the data processing function of the satellite network device 200 at the physical layer (physical layer protocol, PHY). The central station 23 may be used for the data processing function of the satellite network device 200 at the satellite link control layer (satellite link control protocol, SLC) layer and the message data convergence protocol (message data convergence protocol, MDCP). The fusion communication platform 24 may be used for the data processing function at the application layer (application layer protocol, AP). The fusion communication platform 24 may also be called a fusion communication gateway 24.

[0459] The cellular network device 400 may include but is not limited to a short message service center (SMSC) 25, a home location register (HLR) 28, a business & operation support system (BOSS) 29, a bootstrapping server function (BSF) 41 and a home subscriber server (HSS) 42. The bootstrapping server 41 and the home subscriber server 42 are not Figure 1A Shown in.

[0460] The short message center 25 may be used to forward data sent by the satellite network device 200 to a terminal in a cellular network, and may also be used to forward data in a cellular network to the satellite network device 200 .

[0461] The telecommunication business operation support system 29 can be used for opening an account for a terminal. The telecommunication business operation support system 29 can assign a corresponding personal identification (ID) number to the terminal (eg, terminal 100) when opening an account. The ID number can be the mobile phone number of the terminal.

[0462] The boot server 41 may be used to receive service requests from the terminal 100 and the satellite network device 200. The boot server 41 may also be used to store authentication parameters obtained from the home user server 42. The authentication parameters may include but are not limited to a random number (RAND), an authentication token (AUTN), an expected response (XRES), a cipher key (CK), and an integrity key (IK). The boot server 41 may also generate a session key_network application function (Ks_NAF) based on the authentication parameters. The boot server 41 may also send Ks_NAF to the satellite network device 200. The boot server 41 may also send some authentication parameters (RAND and AUTN) to the terminal 100.

[0463] The home location register 28 and / or the home user server 42 may be used to generate authentication parameters and send the authentication parameters to the boot server 41. RAND and AUTN may be used by the terminal 100 to calculate CK, IK and response (RES). XRES in the authentication parameters may be used by the satellite network device 200 to authenticate whether the terminal 100 is a legitimate terminal. Only when the satellite network device 200 confirms that XRES and RES are the same, the satellite network device 200 confirms that the terminal 100 is a legitimate terminal (i.e., the satellite network device 200 is successfully authenticated), and the satellite network device 200 and the terminal 100 may encrypt and decrypt communication data through Ks_NAF. CK and IK in the authentication parameters may be used to calculate Ks_NAF.

[0464] It should be noted that Ks_NAF is a designated key (also referred to as a first key) in the following application embodiments. The designated key can be used to encrypt and decrypt data. Optionally, the designated key can also be used to generate an authentication code.

[0465] It should be noted that the process of the terminal 100 sending data to the satellite network device 200 is inbound, and the process of the satellite network device 200 sending data to the terminal 100 is outbound.

[0466] In a possible implementation, the ground transceiver station 22 and the central station 23 may be the same device. For example, the device may be Figure 1B The ground center station 31 in the satellite communication system 20 is shown. The ground center station 31 can be used for the satellite network equipment 200 to process data at the physical layer, satellite link control layer and message data convergence layer.

[0467] In a possible implementation, the sending device and the receiving device can obtain the designated key in the second transmission system. The sending device can obtain the authentication code A based on the designated key and the original data, and send the data packet including the authentication code A to the receiving device in the first transmission system. The receiving device can generate the authentication code B based on the designated key and the data packet. The receiving device can confirm the reception status of the data packet based on the authentication code B. In this way, the sending device and the receiving device can use the sufficient air interface resources of the cellular network to update and obtain the designated key, saving the air interface resources of the satellite network required for negotiating the designated key. The sending device and the receiving device can also transmit the authentication code together with the original data, saving the interaction steps required for authentication, and further saving the air interface resources of the satellite network.

[0468] It should be noted that the first transmission system may be a satellite transmission system (also known as a satellite network, a satellite communication system), for example, the above-mentioned satellite communication system 10. In some embodiments, the first transmission system may be a Beidou network transmission system. It should also be noted that the second transmission system is a transmission system other than the first transmission system. For example, the second transmission system may be a cellular transmission system (also known as a cellular network), or the second transmission system may also be a wireless local area network (WLAN) transmission system, and so on. The embodiments of the present application are not limited to this.

[0469] Next, in the embodiments of the present application, the transmission method will be described using satellite networks and cellular networks as examples.

[0470] Next, a protocol architecture for inbound data of a satellite communication system 10 provided in an embodiment of the present application is introduced.

[0471] Figure 2A A schematic diagram of a protocol encapsulation architecture for inbound data of a satellite communication system 10 provided in an embodiment of the present application is shown.

[0472] like Figure 2A As shown, the transmission protocol layer on the terminal 100 can be divided into an application layer, a message data convergence layer, a satellite link control layer and a physical layer.

[0473] When the terminal 100 sends data to the satellite network device 200, the workflow of the transmission protocol on the terminal 100 may be as follows:

[0474] At the AP layer, the terminal 100 generates a first data packet, wherein the first data packet includes original data and a first authentication code generated based on a specified key and the original data. For example, the terminal 100 can generate a first authentication code based on the original data (also referred to as the first data) and the specified key, and concatenate the first authentication code and the original data together, and obtain the first data packet after processing (for example, adding a header). The original data may include but is not limited to data input by the user, an indication of the number of receiving users, an ID of the receiving user, location information of the terminal 100, voice, image, animation, etc.

[0475] In a possible implementation, the terminal 100 may use a designated key to encrypt the first authentication code and the original data concatenated together to obtain encrypted data. The terminal 100 may add header information before the encrypted data to obtain a first data packet. The header information may include, but is not limited to, an encryption indication field. The encryption indication field may be used to indicate the encryption algorithm used by the terminal 100 to encrypt the data.

[0476] Optionally, before the terminal 100 encrypts the first authentication code and the original data spliced ​​together, the terminal 100 may first compress the first authentication code and the original data spliced ​​together. It is understandable that the header information may also include a compression indication field. The compression indication field may be used to indicate the compression algorithm used by the terminal 100 to compress the data.

[0477] In a possible implementation, the terminal 100 may only encrypt the original data to obtain the encrypted data. The terminal 100 may add header information before the encrypted data to obtain the first data packet. The header information may include but is not limited to an encryption indication field. Finally, the terminal 100 adds the first authentication code to the first data packet to obtain the first data packet including the first authentication code and the encrypted data.

[0478] At the MDCP layer, the terminal 100 can obtain the first data packet sent by the AP layer through the inter-layer interface, and use the first data packet as an MDCP SDU. At the MDCP layer, the terminal 100 can add padding data (padding) to the end of the MDCP SDU to a specified length, and add a redundant length indication field to the MDCP SDU. The redundant length indication field can be used to indicate the length of the padding data. The terminal 100 can split the padding data and the MDCP SDU after adding the redundant length indication field into one or more fixed-length MDCP segmented data (M_segment), and add a subsequent indication field to the header of each MDCP segmented data to obtain an MDCP PDU. That is, the MDCP PDU includes an M_segment and a subsequent indication field. Among them, the subsequent indication field can be used to indicate the order of the current MDCP PDU among multiple MDCP PDUs in the same MDCP SDU, or whether there is another MDCP PDU after the current MDCP PDU, or whether the current MDCP PDU is the only MDCP PDU of the MDCP SDU.

[0479] At the SLC layer, the terminal 100 can obtain the MDCP PDU sent by the MDCP layer as an SLC SDU through the inter-layer interface. At the SLC layer, the terminal 100 can segment the SLC SDU into one or more (for example, 4) fixed-length SLC segment data (S_segment), and add frame header information (also known as frame format indication information) to each S_segment header to obtain the SLC PDU. Among them, the frame header information may include but is not limited to a user ID field, a total number of frames field, and a frame sequence number field. Among them, the user ID field can be used to indicate the terminal (for example, terminal 100) that generates the SLC PDU. The total number of frames field can be used to indicate the total number of SLC PDUs included in the SLC SDU to which the SLC PDU belongs. The frame sequence number field can be used to indicate the sequence number of the SLC PDU in the SLC SDU to which it belongs.

[0480] It should be noted that, here, the SLC PDU may be referred to as a second data packet. That is, the terminal 100 may process the first data packet into at least one second data packet through the MDCP layer and the SLC layer. Alternatively, the MDCP segment may also be referred to as a second data packet, and the terminal 100 may process the first data packet into at least one second data packet through the MDCP layer.

[0481] At the PHY layer, the terminal 100 can obtain the SLC PDU sent by the SLC layer through the inter-layer interface. The terminal 100 can perform a sending process (such as coding modulation and spread spectrum, etc.) on it to obtain the inbound data. Then, the terminal 100 can send the inbound data to the satellite 21, which is relayed to the satellite network device 200 via the satellite 21.

[0482] Figure 2B A schematic diagram of a protocol parsing architecture for inbound data of a satellite communication system 10 provided in an embodiment of the present application is shown.

[0483] like Figure 2B As shown, the transmission protocol layer on the satellite network device 200 can be divided into an application layer, a message data convergence layer, a satellite link control layer and a physical layer. Among them, the satellite network device 200 may include but is not limited to a ground transceiver station 22, a central station 23 and a fusion communication platform 24. The ground transceiver station 22 can be used to be responsible for the protocol processing of the PHY layer. The central station 23 can be used to be responsible for the protocol processing of the SLC layer and the MDCP layer. The fusion communication platform 24 can be used to be responsible for the protocol processing of the AP layer.

[0484] When the satellite network device 200 receives data sent by the terminal 100, the workflow of the Beidou message transmission protocol on the satellite network device 200 may be as follows:

[0485] At the PHY layer, the satellite network device 200 can obtain the inbound data sent by the terminal 100. After receiving and processing (such as despreading, demodulating, decoding, etc.) the inbound data, the satellite network device 200 can present it to the SLC layer through the inter-layer interface as an SLC PDU of the SLC layer.

[0486] At the SLC layer, the satellite network device 200 can splice the SLC PDUs of the same SLC SDU belonging to the same terminal into one SLC SDU based on the frame header information of the SLC PDU. The satellite network device 200 can present the SLC SDU to the MDCP layer through the inter-layer interface as the MDCP PDU of the MDCP layer.

[0487] At the MDCP layer, the satellite network device 200 can splice all MDCP PDUs belonging to the same MDCP SDU together in the order of reception, and remove the padding data and redundant length indication field of the spliced ​​MDCP PDU to obtain the MDCP SDU. The satellite network device 200 can present the MDCP SDU to the AP layer through the inter-layer interface as the first data packet received by the AP layer. At this point, the SLC layer and the MDCP layer of the satellite network device 200 process at least one second data packet (i.e., SLC PDU) to obtain a first data packet, or the MDCP layer of the satellite network device 200 processes at least one second data packet (i.e., MDCP PDU) to obtain a first data packet.

[0488] At the AP layer, the satellite network device 200 can generate a second authentication code based on the specified key and the first data packet, and determine the reception status of the first data packet based on the second authentication code. Specifically, the satellite network device 200 can obtain the original data in the first data packet, and then generate the second authentication code based on the specified key and the original data. The satellite network device 200 can obtain the first authentication code in the first data packet, and determine the reception status of the first data packet by comparing whether the first authentication code and the second authentication code are the same. When the first authentication code and the second authentication code are the same, the satellite network device 200 determines that the first data packet is received successfully. That is, the satellite network device 200 determines that the original data in the first data packet is the data sent by the terminal 100, and the satellite network device 200 can perform corresponding operations on the original data (for example, forwarding the original data to the called user equipment under the cellular network). When the first authentication code and the second authentication code are different, the satellite network device 200 determines that the first data packet fails to be received. That is, the satellite network device 200 determines that the original data in the first data packet is not the data sent by the terminal 100, and the satellite network device 200 can discard the first data packet.

[0489] In a possible implementation, the first data packet includes encrypted data, and the encrypted data includes an encrypted first authentication code and encrypted original data. The satellite network device 200 can determine the encryption algorithm used by the terminal 100 based on the header of the first data packet. The satellite network device 200 can decrypt the first data packet based on the specified key and the encryption algorithm to obtain the original data and the first authentication code. The satellite network device 200 can generate a second authentication code based on the specified key and the original data.

[0490] Optionally, the satellite network device 200 may obtain compressed data after decrypting the encrypted data. The satellite network device 200 may obtain the first authentication code and the original data after decompressing the compressed data.

[0491] In a possible implementation, the first data packet includes encrypted data and a first authentication code. The satellite network device 200 can directly obtain the first authentication code in the first data packet. The satellite network device 200 can perform a decryption operation on the encrypted data based on a specified key and an encryption indication field in the header information to obtain the original data.

[0492] In the embodiments of the present application, the above-mentioned protocol processing process is only an example for illustration, and the present application does not limit the specific operations of the protocol processing.

[0493] Next, a protocol architecture for outbound data of a satellite communication system 10 provided in an embodiment of the present application is introduced.

[0494] Figure 3A A schematic diagram of a protocol encapsulation architecture for outbound data of a satellite communication system 10 provided in an embodiment of the present application is shown.

[0495] like Figure 3A As shown, the transmission protocol layer on the satellite network device 200 can be divided into an application layer, a message data convergence layer, a satellite link control layer and a physical layer.

[0496] When the satellite network device 200 sends data to the terminal 100, the working process of the message transmission protocol on the satellite network device 200 may be as follows:

[0497] At the AP layer, the satellite network device 200 generates a third data packet, wherein the third data packet includes the original data and the fourth authentication code. For example, the satellite network device 200 can generate the fourth authentication code based on the original data (also referred to as the first data) and the specified key, and splice the fourth authentication code and the original data together, and obtain the third data packet after processing (for example, adding a header). The original data may include but is not limited to data, text, flags, voice, images, animations, etc. sent by a third-party server (for example, the short message center 25).

[0498] Optionally, the satellite network device 200 may generate the fourth authentication code based only on the original data.

[0499] In a possible implementation, the satellite network device 200 may encrypt the spliced ​​original data and the fourth authentication code based on the specified key and encryption algorithm to obtain encrypted data. The satellite network device 200 may add a header before the encrypted data to obtain a third data packet. The header may include but is not limited to an encryption indication field. The encryption indication field may be used to indicate the encryption algorithm used by the satellite network device 200 to encrypt the data.

[0500] Optionally, before the satellite network device 200 encrypts the fourth authentication code and the original data, the fourth authentication code and the original data can be compressed. It is understandable that the packet header can also include a compression indication field. The compression indication field can be used to indicate the compression algorithm used by the satellite network device 200 to compress the data.

[0501] Further optionally, the satellite network device 200 may compress the fourth authentication code and the original data spliced ​​together to obtain compressed data. The satellite network device 200 may add the compression indication field before the compressed data, and then use the specified key to encrypt the compressed data to which the compression indication field is added to obtain encrypted data.

[0502] In a possible implementation, the satellite network device 200 may only encrypt the original data to obtain the encrypted data. The satellite network device 200 may add header information before the encrypted data to obtain a third data packet. The header information may include but is not limited to an encryption indication field. Finally, the satellite network device 200 adds the fourth authentication code to the third data packet to obtain a third data packet including the first authentication code and the encrypted data.

[0503] At the MDCP layer, the satellite network device 200 can obtain the third data packet sent by the AP layer through the inter-layer interface, and use the third data packet as an MDCP SDU. The satellite network device 200 can split the MDCP SDU into one or more MDCP segment data (M_segment), and add a successor indication field to the header of each MDCP segment data to obtain an MDCP PDU, that is, the MDCP PDU includes an M_segment and a successor indication field. Among them, the successor indication field can be used to indicate the order of the current MDCP PDU in the same MDCP SDU, such as whether it is the only PDU, whether there is a subsequent MDCP PDU, and whether it is the first MDCP PDU.

[0504] Exemplarily, the data length of the successor indication field may occupy 2 bits. The value of the successor indication field may have the following meanings:

[0505] 01: indicates that the MDCP PDU is the starting MDCP PDU among multiple MDCP PDUs in this MDCP SDU;

[0506] 10: indicates that the MDCP PDU is an intermediate MDCP PDU among multiple MDCP PDUs in the current MDCP SDU, that is, it refers to other MDCP PDUs in the current MDCP SDU except the starting MDCP PDU and the last MDCP PDU;

[0507] 11: Indicates that the MDCP PDU is the last MDCP PDU among multiple MDCP PDUs in this MDCP SDU;

[0508] 00: Indicates that the MDCP PDU is the only MDCP PDU in this MDCP SDU.

[0509] It should be noted that the above-mentioned successor indication field is only an example and does not constitute a specific limitation on the embodiments of the present application.

[0510] At the SLC layer, the satellite network device 200 can obtain the MDCP PDU sent by the MDCP layer through the inter-layer interface as the SLC SDU. The satellite network device 200 can segment the SLC SDU into one or more (for example, 4) SLC segment data (S_segment), and add frame header information to each S_segment header to obtain the SLC PDU. The frame header information may include but is not limited to a user ID field, a total number of frames field, and a frame sequence number field. The user ID field can be used to identify a receiving device (such as terminal 100), and the value of the user ID field is the ID number of the receiving device. For a detailed description of the total number of frames field and the frame sequence number field, please refer to the above Figure 3A The embodiments are not described in detail here. It should be noted that, here, the SLC PDU can be referred to as a fourth data packet. The satellite network device 200 can process the third data packet into at least one fourth data packet at the MDCP layer and the SLC layer. Alternatively, the segment of the MDCP can be referred to as a fourth data packet, and the satellite network device 200 can process the third data packet into at least one fourth data packet at the MDCP layer.

[0511] At the PHY layer, the satellite network device 200 can obtain the SLC PDU sent by the SLC layer through the inter-layer interface as a user frame. The satellite network device 200 can splice together the user frames (also called data frames) of multiple users or one user, and add the frame header (such as version number) and check bit to obtain the physical frame. The satellite network device 200 can obtain the coded data of the message branch (S2C-d branch) after performing a transmission processing (such as coding modulation spread spectrum, etc.) operation on the physical frame. The satellite network device 200 can form the pilot coded data, i.e., outbound data, with the coded data of the S2C-d branch and the pilot data (also called secondary code) of the pilot branch (S2C-p branch). And send the outbound data to satellite 21, and forward it to one or more terminals via satellite 21 relay. It can be understood that the pilot data of the S2C-p branch is related to the satellite beam. When the satellite beam is known information, the pilot data of the S2C-p branch is also known and does not need to be decoded. The coded data of the S2C-d branch needs to be decoded.

[0512] Figure 3B A schematic diagram of a protocol parsing architecture for outbound data of a satellite communication system 10 provided in an embodiment of the present application is shown.

[0513] like Figure 3B As shown, the transmission protocol layer on the terminal 100 can be divided into an application layer, a message data convergence layer, a satellite link control layer and a physical layer.

[0514] At the PHY layer, the terminal 100 can capture the coded data of the S2C-d branch based on the secondary code of the S2C-p branch sent by the satellite network device 200. After capturing the coded data of the S2C-d branch, the terminal 100 can perform receiving processing (such as despreading, demodulation, decoding, etc.) on the coded data of the S2C-d branch to obtain a physical frame. The terminal 100 can extract the user frame belonging to the terminal 100 from the physical frame. The terminal 100 can present the user frame to the SLC layer through the inter-layer interface as the SLC PDU of the SLC layer.

[0515] At the SLC layer, when the user frame received by the terminal 100 is a general data frame, the terminal 100 can splice the SLC PDUs belonging to the same SLC SDU into one SLC SDU. The terminal 100 can present the SLC SDU to the MDCP layer through the inter-layer interface as the MDCP PDU of the MDCP layer. When the user frame received by the terminal 100 is an ACK frame, the terminal 100 can retransmit data / send the next SLC SDU based on the value of the bitmap field.

[0516] At the MDCP layer, the terminal 100 can remove the headers from one or more MDCP PDUs and splice them into an MDCP SDU. The terminal 100 can present the MDCP SDU to the AP layer through the inter-layer interface as the third data packet received by the AP layer. At this point, the SLC layer and the MDCP layer of the terminal 100 process at least one fourth data packet (i.e., SLC PDU) to obtain a third data packet.

[0517] At the AP layer, the terminal 100 can generate a third authentication code based on the specified key and the third data packet, and determine the reception status of the third data packet based on the third authentication code. Specifically, the terminal 100 can obtain the original data in the third data packet, and then generate the third authentication code based on the specified key and the original data. The terminal 100 can obtain the fourth authentication code in the third data packet, and determine the reception status of the third data packet by comparing whether the fourth authentication code and the third authentication code are the same. When the fourth authentication code and the third authentication code are the same, the terminal 100 determines that the third data packet is received successfully. That is, the terminal 100 determines that the original data of the third data packet is the data sent by the satellite network device 200, and the terminal 100 can perform corresponding operations on the original data (for example, displaying the original data on the display screen of the terminal 100 in the form of a text message). When the fourth authentication code and the third authentication code are different, the terminal 100 determines that the reception of the third data packet fails. That is, the terminal 100 determines that the original data of the third data packet is not the data sent by the satellite network device 200, and the terminal 100 can discard the third data packet.

[0518] Optionally, the terminal 100 may generate a third authentication code based only on original data in the third data packet.

[0519] In a possible implementation, the third data packet includes encrypted data, and the encrypted data includes the encrypted fourth authentication code and the encrypted original data. The terminal 100 can confirm the encryption algorithm used by the satellite network device 200 based on the encryption indication field of the third data packet, and then decrypt the encrypted data based on the specified key and the encryption algorithm to obtain the original data and the fourth authentication code. The terminal 100 can generate the third authentication code based on the specified key and the decrypted original data.

[0520] Optionally, the terminal 100 may obtain compressed data after decrypting the encrypted data. The terminal 100 may obtain the fourth authentication code and the original data after decompressing the compressed data.

[0521] In a possible implementation, the third data packet includes the encrypted data and the fourth authentication code. The terminal 100 can directly intercept the fourth authentication code in the third data packet. The terminal 100 can perform a decryption operation on the encrypted data based on the specified key and the encryption indication field in the header information to obtain the original data. The terminal 100 then obtains the third authentication code based on the original data and the specified key.

[0522] In the embodiments of the present application, the above-mentioned protocol processing process is only an example for illustration, and the present application does not limit the specific operations of the protocol processing.

[0523] The following describes a transmission method in a satellite communication system provided in an embodiment of the present application.

[0524] Figure 4 A schematic diagram of the process of authentication verification during inbound transmission in a satellite communication system provided in an embodiment of the present application is shown.

[0525] S401, the terminal 100, the satellite network device 200 and the cellular network device 400 negotiate a designated key.

[0526] For details on negotiating a specific key, see Figure 5 The embodiment is not described in detail here. After obtaining the designated key through the cellular network device 400, the terminal 100 and the satellite network device 200 can store the designated key. The terminal 100 and the satellite network device 200 can use the designated key to encrypt and decrypt data.

[0527] In a possible implementation, the designated key obtained by the terminal 100 and the satellite network device 200 in the cellular network can only be used within a preset time (e.g., 15 days), and the available time of the designated key can be called the designated key validity period. When the designated key validity period ends, the terminal 100 and the satellite network device 200 need to return to the cellular network to update the designated key and the designated key validity period.

[0528] S402: Terminal 100 obtains original data.

[0529] Among them, the original data may include but is not limited to data input by the calling user (user of terminal 100) (such as text data, image data, audio data, video data, etc.), the number indication of the called users, the ID of the called users, the location information of the terminal 100, etc.

[0530] In some embodiments, after receiving the first input from the calling user, the terminal 100 may, in response to the first input, obtain the original data and send the original data to the satellite network device 200. In the embodiment of the present application, the input may include but is not limited to: gestures, voice, etc. The gesture may include a gesture of directly touching the display screen of the terminal 100 (e.g., single click) and a floating gesture that does not directly touch the display screen.

[0531] S403: The terminal 100 generates a first authentication code based on the designated key and the original data.

[0532] The terminal 100 may generate the first authentication code through a specified algorithm based on the specified key and the original data. For example, the terminal 100 may obtain the first authentication code through a national secret algorithm for the specified key and the original data.

[0533] S404: The terminal 100 obtains a first data packet based on the first authentication code and the original data.

[0534] The terminal 100 may concatenate the first authentication code and the original data together to obtain and encrypt the concatenated first authentication code and the original data using a specified key to obtain encrypted data. The terminal 100 may add header information before the encrypted data to obtain a first data packet. The header information may include, but is not limited to, an encryption indication field. The encryption indication field may be used to indicate the encryption algorithm used by the terminal 100. The length of the encryption indication field may be 2 bits. For example, when the value of the encryption indication field is 00, it indicates that the sending device does not use an encryption algorithm. When the value of the encryption indication field is 01, it indicates that the sending device uses a cryptographic hash algorithm in the national encryption algorithm.

[0535] S405 , the terminal 100 may send the first data packet to the satellite network device 200 .

[0536] Specifically, the specific process description of the terminal 100 sending data to the satellite network device 200 can be referred to the above Figure 2A The embodiment is not described in detail here. It should be noted that, when the terminal 100 sends the first data packet to the satellite network device 200, the first data packet includes a user identifier. For example, the frame header information added by the terminal 100 at the SLC layer may include a user ID field. The user ID field can be used to identify the terminal 100. The value of the user ID field is the ID number of the terminal 100. The ID number of the terminal 100 can be used to indicate parameters such as a designated key corresponding to the terminal 100.

[0537] S406: The satellite network device 200 may generate a second authentication code based on the designated key and the first data packet.

[0538] The satellite network device 200 can use the specified key to decrypt the first data packet to obtain the first authentication code and the original data. The satellite network device 200 can determine the encryption algorithm used by the terminal 100 based on the encryption indication field in the packet header. The satellite network device 200 can use the specified key to decrypt the encrypted data in the first data packet using the decryption algorithm corresponding to the encryption algorithm to obtain the first authentication code and the original data. The specific process description of the satellite network device 200 receiving data from the terminal 100 can be found in the above Figure 2B The embodiments described will not be described in detail here.

[0539] The satellite network device 200 may generate a second authentication code based on the designated key and the original data by using a designated algorithm (eg, a block encryption algorithm), wherein the designated algorithm used by the satellite network device 200 to generate the second authentication code is the same as the designated algorithm used by the terminal 100 to generate the authentication code.

[0540] S407, the satellite network device 200 determines whether the first authentication code and the second authentication code are the same.

[0541] The satellite network device 200 may determine the reception status of the first data packet based on the second authentication code.

[0542] When the satellite network device 200 determines that the first authentication code is different from the second authentication code, the satellite network device 200 determines that the first data packet has failed to be received and may discard the first data packet. Optionally, the satellite network device 200 may execute step S408.

[0543] When the satellite network device 200 determines that the first authentication code and the second authentication code are the same, the satellite network device 200 determines that the first data packet is received successfully. Optionally, the satellite network device 200 may execute step S409.

[0544] S408 , the satellite network device 200 sends a failed application receipt to the terminal 100 .

[0545] When the satellite network device 200 determines that the first authentication code and the second authentication code are different, the satellite network device 200 may also generate a failed application receipt, which is used to indicate that the satellite network device 200 fails to receive the first data packet. The satellite network device 200 may send the failed application receipt to the terminal 100.

[0546] S409 , the satellite network device 200 may send the original data to the cellular network device 400 .

[0547] The satellite network device 200 may send the original data to the cellular network device 400 (e.g., the short message center 25). The cellular network device 400 may forward the original data to the called user (e.g., the terminal 300) in a specified format (e.g., a text message). Optionally, the satellite network device 200 may also perform step S410.

[0548] S410 , the satellite network device 200 sends a successful application receipt to the terminal 100 .

[0549] When the satellite network device 200 determines that the first authentication code and the second authentication code are the same, the satellite network device 200 may also generate a successful application receipt, which is used to indicate that the satellite network device 200 successfully receives the first data packet. The satellite network device 200 may send the successful application receipt to the terminal 100.

[0550] Next, a flow chart of a method for obtaining a specified key provided in an embodiment of the present application is introduced.

[0551] In a possible implementation, the terminal 100 and the satellite network device 200 may negotiate to obtain a designated key in the cellular network. In this way, the terminal 100 may also use the designated key to encrypt and decrypt data in the satellite network, without having to negotiate the designated key with the satellite network device, thereby saving the air interface resources of the satellite network device and ensuring data security.

[0552] Specifically, the terminal 100 and the satellite network device 200 can obtain the specified key through a generic bootstrapping architecture (GBA) process. Figure 5 As shown, the specific steps for the terminal 100 and the satellite network device 200 to obtain the designated key are as follows:

[0553] S501, the terminal 100 sends a service request 1 to the satellite network device 200.

[0554] When the terminal 100 is in a cellular network, the terminal 100 may send a service request 1 to the satellite network device 200 in the cellular network. The service request 1 may include an identifier of the terminal 100, which is used to identify the identity of the terminal 100. For example, the service request 1 may be a hypertext transfer protocol GET (HTTP GET) request.

[0555] S502 , the satellite network device 200 sends a service response 1 to the terminal 100 .

[0556] After receiving the service request 1, the satellite network device 200 may send a service response 1 to the terminal 100 after determining that the designated key of the terminal 100 is not stored in the satellite network device 200 or the designated key of the terminal 100 has expired based on the identification of the terminal 100. The service response 1 may be used to instruct the terminal 100 to obtain the designated key through the cellular network device 400.

[0557] S503 , the terminal 100 sends a service request 2 to the guidance server 41 .

[0558] After receiving the service response 1, the terminal 100 may send a service request 2 to the boot server 41. The service request 2 may include an identifier of the terminal 100, and the service request 2 may be used to instruct the cellular network device 400 to send parameters required to generate a specified key, such as a random number RAND and an authentication token AUTN, to the terminal 100. For example, the service request 2 may be a hypertext transfer protocol authentication and key agreement (AKA) request.

[0559] S504 , the guidance server 41 sends an authentication request to the home subscriber server 42 .

[0560] After receiving the service request 2, the boot server 41 may send an authentication request to the home subscriber server 42. The authentication request includes the identifier of the terminal 100. The authentication request may be used to instruct the home subscriber server 42 to feedback the authentication parameters of the terminal 100. The description of the authentication parameters may refer to the above Figure 1A The illustrated embodiment will not be described in detail here. For example, the authentication request may be a multimedia authentication request (MAR).

[0561] S505 , the home subscriber server 42 sends authentication parameters (including RAND, AUTN, XRES, CK, IK) to the bootstrap server 41 .

[0562] After receiving the authentication request, the home user server 42 can obtain the authentication parameters of the terminal 100 based on the identifier of the terminal 100. The home user server 42 pre-stores the identifier of the terminal 100 and the CK and IK corresponding to the identifier. The home user server 42 can also obtain the random number RAND through a random number generator. The home user server 42 can generate AUTN and XRES based on RAND, IK and CK. The home user server 42 can send the generated authentication parameters to the boot server 41. Among them, the identifier of the terminal 100 can include but is not limited to the mobile phone number of the terminal 100, IP multimedia private identity (IP multimediaprivate identity, IMPI), temporary IP multimedia private identity (Temporary IP Multimedia Private Identity, TMPI), etc.

[0563] S506 , directing the server 41 to send a service response 2 to the terminal 100 .

[0564] After receiving the authentication parameters, the bootstrap server 41 may send a service response 2 to the terminal 100. The service response 2 may include RAND and AUTN.

[0565] S507: Terminal 100 generates CK, IK and RES based on RAND and AUTN.

[0566] After receiving RAND and AUTN, the terminal 100 can calculate CK, IK and RES based on RAND and AUTN through the SIM card. The algorithm used by the terminal 100 to generate RES is the same as the algorithm used by the cellular network device 400 to generate XRES.

[0567] S508 , the terminal 100 sends a service request 3 (including RES) to the guidance server 41 .

[0568] After generating RES, the terminal 100 may send a service request 3 to the cellular network device 400. The service request 3 includes RES. For example, the service request 3 may be an HTTP GET including RES in the header field.

[0569] S509, the guidance server 41 may compare whether XRES and RES are the same.

[0570] After receiving the service request 3 of the terminal 100, the boot server 41 can verify the identity of the terminal 100 by comparing whether RES and XRES are the same. If the boot server 41 determines that RES and XRES are the same, the boot server 41 can execute steps S510 and S511.

[0571] S510 , the bootstrapping server 41 may generate Ks_NAF, a specified key validity period of Ks_NAF, and a bootstrapping transaction identifier (B-TID) of Ks_NAF based on CK and IK.

[0572] The boot server 41 can calculate Ks_NAF based on CK and IK by using an algorithm to generate a designated key. At the same time, the boot server 41 can generate a B-TID and a designated key validity period corresponding to Ks_NAF. Ks_NAF is a designated key of the terminal 100, which can be used for encryption and decryption of data during data transmission with the satellite network device 200. B-TID can be used for the satellite network device 200 to obtain Ks_NAF of the terminal 100 from the boot server 41. The designated key validity period can be used to indicate the validity period of the designated key (i.e., Ks_NAF).

[0573] S511 , the guiding server 41 may send a service response 3 to the terminal 100 .

[0574] The service response 3 may include the validity period of the specified key and the B-TID. The service response 3 may be used to instruct the terminal 100 to generate the specified key using the parameters in the service response 2.

[0575] S512: The terminal 100 may generate a Ks_NAF based on the authentication parameters.

[0576] The terminal 100 can calculate Ks_NAF based on CK and IK by using an algorithm to generate a designated key. The algorithm used by the terminal 100 to generate the designated key is the same as the algorithm used by the cellular network device 400. During the validity period of the designated key, the terminal 100 can calculate Ks_NAF (i.e., the designated key) through the above authentication parameters during data transmission to perform data encryption and decryption operations.

[0577] S513, the terminal 100 sends a service request 4 (including B-TID) to the satellite network device 200.

[0578] After calculating Ks_NAF, the terminal 100 may send a service request 4 to the satellite network device 200. The service request 4 may include the B-TID. The service request 4 may be used to instruct the satellite network device 200 to obtain the designated key of the terminal 100.

[0579] S514 , the satellite network device 200 sends a parameter request to the guidance server 41 .

[0580] After receiving the service request 4, the satellite network device 200 may send a parameter request to the bootstrapping server 41. The parameter request may include the B-TID. For example, the parameter request may be a bootstrapping information request (BIR).

[0581] S515 , guiding the server 41 to send a parameter response to the satellite network device 200 .

[0582] The boot server 41 may send a parameter response to the satellite network device 200 based on the B-TID of the terminal 100. The parameter response may include the Ks_NAF and the specified key validity period of the terminal 100. Optionally, the boot server 41 may only generate the B-TID and the specified key validity period in step S515, and then generate the specified key Ks_NAF after receiving the parameter request from the satellite network device 200.

[0583] S516, the satellite network device 200 sends a service response 4 to the terminal 100.

[0584] The satellite network device 200 may send a service response 4 to the terminal 100 after receiving the designated key returned by the boot server 41. The service response 4 may be used to indicate that within the validity period of the designated key, the terminal 100 and the satellite network device 200 may use the Ks_NAF stored in each of them to perform data encryption and decryption operations. It can be understood that Ks_NAF is the designated key obtained by the terminal 100 and the satellite network device 200 through the cellular network device 400.

[0585] In this way, the designated key is updated in the cellular network and a validity period is preset for the designated key. In the satellite network, the terminal 100 and the satellite network device 200 can use the designated key within the validity period to perform data encryption and decryption operations. This not only saves the air interface resources of the satellite communication system required for negotiating the designated key, but also reduces the steps of generating the designated key.

[0586] However, since the sending device and the receiving device only generate the authentication code based on the original data, when the receiving device repeatedly receives a message from the sending device, it will repeatedly parse and process the repeated message and charge multiple times for the repeated message. Figure 6 As shown, when the sending device is terminal 100 and the receiving device is satellite network device 200, if the inbound message of terminal 100 is intercepted by the attacking terminal (for example, terminal 500) and the inbound message is repeatedly sent to satellite network device 200, not only will the computing resources of satellite network device 200 be occupied, but the message fee of terminal 100 may also be repeatedly calculated.

[0587] Therefore, an embodiment of the present application provides a transmission method. The sending device can generate an authentication code A based on information A and original data. The sending device can obtain a data packet based on the authentication code A and the original data. The sending device can send the data packet to the receiving device under the first transmission system. After receiving the data packet, the receiving device can generate an authentication code B based on the data packet and information B. The receiving device can determine the reception status of the first data packet based on the authentication code B. Among them, information A and information B are information updated by the sending device and the receiving device according to the transmission, for example, it can be time information and updated with time, or the number of received data packets, the sending device can be updated based on the number of sent data packets, and the receiving device can be updated based on the number of received data packets.

[0588] In this way, since the authentication code A in the repeatedly sent data packet is generated based on the information A before the update, the authentication code B generated by the receiving device based on the updated information B is different from the authentication code B in the repeatedly sent data packet, indicating that the data packet may be forwarded by an illegal terminal. The receiving device will determine that the reception of the data packet has failed, and there will be no problem of repeated processing and billing.

[0589] In a possible implementation, the information A of the sending device is the sending time information, and the information B of the receiving device is the receiving time information. In this way, when the difference between the sending time of the sending device and the receiving time of the receiving device exceeds the preset minimum time granularity, the information A and the information B are different, that is, the authentication code A and the authentication code B are different, and the receiving device cannot parse the data packet sent by the sending device, and there will be no problem of repeated processing and billing.

[0590] Specifically, the sending device can generate an authentication code A based on information A and the original data. The sending device can send a data packet including the authentication code A to the receiving device under the first transmission system. Information A is the sending time information. After receiving the data packet, the receiving device can generate an authentication code B based on information B and the data packet. The receiving device can determine the receiving status of the data packet based on the authentication code B. Information B is the receiving time information. In this way, when the time when the sending device generates the authentication code and the time when the receiving device receives the data packet are separated by more than the minimum time granularity, the receiving device cannot parse the data packet, and there will be no problems of repeated processing and billing.

[0591] Figure 7 A schematic diagram of a processing flow of a transmission method provided in an embodiment of the present application is shown.

[0592] 1. The sending device generates an authentication code A based on the original data and information A.

[0593] The information A is the sending time information, and the information A can be used to indicate the sending time of the data packet.

[0594] (1) The sending device obtains the sending time of the data packet.

[0595] During the inbound process, the sending time of the data packet can be any time during the entire period from when the sending device (terminal 100) obtains the original data to when the authentication code A is generated plus the offset time (referred to as offset). The time when the terminal 100 obtains the original data can be the time when the terminal 100 receives the input of the satellite message sent by the calling user, and at this time, the original data includes the data input by the calling user. The time when the terminal 100 generates the authentication code A can be the current time obtained by the terminal 100 running the program statement for obtaining the sending time of the first data packet (for example, by obtaining the current time function getCurrentTime()). The terminal 100 can determine the sending time of the data packet based on the positioning timing of the satellite. Alternatively, the sending time of the first data packet can be represented by the time when the sending device (terminal 100) sends the first data packet to the MDCP layer at the AP layer. Alternatively, the sending time of the first data packet can be represented by the time estimated by the sending device (terminal 100) that the sending device (terminal 100) sends the first data packet to the receiving device (satellite network device 200).

[0596] In the outbound process, the sending time of the data packet can be any time from when the sending device (satellite network device 200) obtains the original data to when the authentication code A is generated plus the offset. The time when the satellite network device 200 obtains the original data can be the time when the satellite network device 200 receives the service request sent by the terminal 100, or the time when the satellite network device 200 obtains the original data can be the time when the satellite network device 200 receives the message sent to the terminal 100, or the time when the satellite network device 200 sends data to the terminal 100, or the time when the satellite network device 200 generates the authentication code A plus the offset, which is used to estimate the time when the SLC layer, MDCP layer or physical layer of the satellite network device 200 sends data. The time when the satellite network device 200 generates the authentication code A can be the current time obtained by the satellite network device 200 running the program statement for obtaining the sending time of the first data packet (for example, the fusion communication platform 24 in the satellite network device 200 obtains the current time function getCurrentTime()). The ground transceiver station 22 or the central station 23 in the satellite network device 200 can determine the sending time of the data packet based on the satellite 21.

[0597] Optionally, during the outbound process, the satellite network device 200 may obtain the scheduling time of the data packet based on the outbound data volume and the outbound air interface resources, and the satellite network device 200 may estimate the outbound time of the data packet based on the scheduling time of the data packet. In other words, the sending time of the data packet of the satellite network device 200 may be the estimated outbound time of the data packet. For example, the fusion communication platform 24 in the satellite network device 200 receives the schedulable time indicated by the ground transceiver station 22 or the central station 23.

[0598] In some embodiments, the sending time of the data packet may be represented as the time when the sending device sends the data packet from the AP layer to the MDCP layer.

[0599] (2) The sending device generates information A based on the sending time of the data packet.

[0600] After obtaining the sending time of the data packet, the sending device can encode the time according to the preset or configured minimum time granularity to obtain information A. For example, the time value before the preset minimum time granularity in the sending time of the data packet can be intercepted, and the time value can be encoded (for example, binary-decimal encoding, decimal conversion to binary, etc.) to obtain information A. For inbound transmission, the sending device, i.e., the terminal 100, can encode the time according to the preset minimum time granularity or the terminal 100 is configured by the network under the cellular or WLAN, or configured under the satellite network, to obtain information A. For outbound transmission, the sending device, i.e., the satellite network device 200, generates information A. For example, the fusion communication platform 24 in the satellite network device 200 encodes according to the time provided by the ground transceiver station 22 or the central station 23 and the prefabricated or configured minimum time granularity to generate information A; for another example, the ground transceiver station or the central station in the satellite network device 200 encodes according to the time and the prefabricated or configured minimum time granularity to obtain information A, and then informs the fusion communication platform 24 of the information A.

[0601] Among them, the preset or configured minimum time granularity can be minutes, half a minute, half an hour, etc., and this application does not impose any restrictions on this.

[0602] For example, the sending time of the data packet is 17:23:51 on August 25, 2021. When the minimum time granularity is minutes, the time value obtained by the sending device based on the preset minimum time granularity is 202108251723.

[0603] For another example, when the minimum time granularity is half a minute, the sending device can intercept the time value obtained based on the minimum time granularity. For example, the sending device can record the time that does not exceed 30s as 0.0 minutes, and the time that exceeds 30s as 0.5 minutes. Then, the time value obtained based on the sending time of the above data packet is 202108251723.5. For another example, the sending device can record the time that does not exceed 30s as 00 seconds, and the time that exceeds 30s as 30 seconds. Then, the time value obtained based on the sending time of the above data packet is 20210825172330. For another example, the sending device can directly encode the time value before the minute to obtain binary data, and then add 1 bit of data to the end of the obtained binary data to indicate the first half minute or the second half minute (for example, 0 represents 1s-30s, and 1 represents 31s-60s). For another example, the sending device can divide the value of the sending time of the above data packet by the minimum granularity to obtain an integer value, which is the time value obtained by the sending device. Then, the time value obtained by the sending device based on the above sending time is 404216503446. It can be understood that the actual sending time of the data packet is the product of the time value and the value of the minimum time granularity, so that the time information can be identified by an integer number of minimum granularities.

[0604] For example, when the encoding method of the sending device is 8421 encoding in binary-decimal encoding, the sending device can obtain the value of information A as 0010 0000 0010 00010000 1000 0010 0101 0001 01110010 0011 based on the time value 202108251723 through the 8421 encoding method. When the encoding method of the sending device is decimal to binary conversion, the sending device can convert the value of information A based on the time value 202108251723 to 101111000011101001010111001001011.

[0605] It should be noted that the above preset minimum time granularity value and the selection of encoding method are just examples, and this application does not make any specific limitations on this.

[0606] In a possible implementation, the sending device may also obtain the time value of one or more specific time granularities in the sending time of the data packet, and then encode it to obtain information A. For example, when the sending time of the data packet is 17:23:51 on August 25, 2021, the specific time granularity includes month, minute and hour, then the time value obtained by the sending device is 082317. (3) The sending device obtains the authentication code A based on the information A and the original data.

[0607] The sending device can calculate the authentication code A based on the information A and the original data through a specified algorithm (for example, the SM3 cryptographic hash algorithm).

[0608] Optionally, the sending device may calculate the authentication code A based on the information A, the original data and the key by using a specified algorithm.

[0609] 2. The sending device obtains the data packet based on the original data and authentication code A.

[0610] The sending device can concatenate the authentication code A and the original data together to obtain a data packet.

[0611] Optionally, the sending device may add header information before the spliced ​​authentication code A and the original data to obtain a data packet. The header information may include a service type indication, etc. The service type indication may be used to indicate the service type of the data packet (e.g., a data packet sending a message to a user device in a cellular network, or a data packet requesting data from the satellite network device 200, etc.).

[0612] In a possible implementation, the data packet may also include identification information for identifying the data packet, and the identification information may include but is not limited to a message ID field or a count value field or a sequence number field of the data packet. The identification may be used by the receiving device to identify the sent data packet, for example, the identification information may be added to the application receipt to indicate the reception status of the data packet. The sending device may confirm the reception status of the data packet corresponding to the identification information through the identification information of the application receipt.

[0613] 3. The receiving device obtains the authentication code A and the original data based on the data packet.

[0614] After receiving the data packet sent by the sending device, the receiving device can obtain the authentication code A and the original data from the data packet. The description of the sending device sending the data packet and the receiving device receiving the data packet during inbound can be found in the above Figure 2A , Figure 2B In the embodiment shown, the description of the sending device sending a data packet and the receiving device receiving a data packet when outbound can refer to the above Figure 3A , Figure 3B The embodiments shown are not described in detail here. It should be noted that the sending device can process the data packet into at least one sub-data packet at the MDCP layer and the SLC layer, or the sending device can comb the data packet into at least one sub-data packet at the MDCP layer. Figure 2A , Figure 2B The first data packet in the sub-packet can be regarded as Figure 2A , Figure 2B During the outbound process, the data packet can be regarded as Figure 3A , Figure 3B The third data packet in the above Figure 3A , Figure 3B The fourth data packet in .

[0615] 4. The receiving device obtains information B.

[0616] The information B is the receiving time information, and the information B can be used to indicate the receiving time of the data packet.

[0617] (1) The receiving device obtains the reception time of the data packet.

[0618] The receiving time of the data packet may be the time when the receiving device obtains the first sub-data packet of the data packet, or the time when the receiving device obtains the first sub-data packet of the data packet minus the offset value, or any time from the time when the receiving device obtains the first sub-data packet of the data packet minus the offset value to the generation of the authentication code B. The offset value may be set by configuration or according to the transmission delay (e.g., 540ms) or the processing delay.

[0619] In a specific case, the receiving time can be recorded through the SLC layer and passed to the AP layer through the MDCP layer. The receiving device can record the time of receiving each SLC PDU (i.e., sub-data packet) at the SLC layer. When the receiving device splices at least one SLC PDU based on the frame header information at the SLC layer to obtain the SLC SDU, it can record the earliest receiving time in at least one SLC PDU as the receiving time of the SLC SDU, and upload the SLC SDU and its corresponding receiving time to the MDCP layer. After the receiving device receives the SLC SDU uploaded by the SLC layer and the receiving time corresponding to the SLC SDU at the MDCP layer, the SLC SDU can be used as the MDCP PDU of the MDCP layer. The receiving device can determine whether the current MDCP PDU is the first MDCP PDU in at least one MDCP PDU based on the successor indication field, for example, the successor indication field is 00 or 01. When the successor field indicates that the data of the MDCP PDU is the first segment of the corresponding MDCP SDU, or when the successor indication field indicates that the data of the MDCP PDU is all the data of the corresponding MDCP SDU, the receiving device retains the receiving time of the corresponding MDCP PDU and uses the receiving time as the receiving time of the MDCP SDU. The receiving device can upload the MDCP SDU and the receiving time of the MDCP SDU to the AP layer at the MDCP layer. The receiving device can use the MDCP SDU as a data packet at the AP layer. The receiving time corresponding to the MDCP SDU is the time when the receiving device obtains the first sub-data packet of the data packet.

[0620] In another specific case, the receiving time can be recorded through the SLC layer and passed to the AP layer through the MDCP layer. The acquisition method is the same as the previous case and will not be repeated. It is based on the time uploaded from the SLC minus an offset value, where the offset value can be configured or set according to the transmission delay (for example, 540ms).

[0621] Another specific situation is that the receiving time can be recorded through the MDCP layer and passed to the AP layer. The receiving device records the time of the first MDCP PDU received at the MDCP layer. The MDCP layer can record the time based on the successor indication, for example, the successor indication field is 00 or 01. When the successor field indicates that the data of the MDCP PDU is the first segment of the corresponding MDCP SDU, or the successor indication field indicates that the data of the MDCP PDU is all the data of the corresponding MDCP SDU, the receiving device retains the receiving time of the corresponding MDCP PDU, and the receiving device uses the receiving time as the receiving time of the MDCP SDU. The receiving device submits the receiving time to the AP layer. The receiving device can use the MDCP SDU as a data packet at the AP layer. The receiving time corresponding to the MDCP SDU is the time when the receiving device obtains the first sub-data packet of the data packet.

[0622] In another specific case, the receiving time can be recorded through the MDCP layer and passed to the AP layer. The acquisition method is the same as the previous case and will not be repeated here. It is based on the time uploaded from the MDCP minus an offset value, where the offset value can be configured or set according to the transmission delay (for example, 540ms) or according to the processing delay.

[0623] In another specific case, the receiving time may be the time when the AP layer receives the MDCP SDU or the time when the MDCP SDU packetization submitted by the MDCP is completed.

[0624] In another specific case, the receiving time may be the time when the AP layer receives the MDCP SDU or the time when the MDCP SDU package submitted by the MDCP is completed, minus an offset value. The offset value may be set by configuration, or according to the transmission delay (e.g., 540ms), or according to the processing delay. In another specific case, the receiving time may be the current time obtained by executing a program statement for obtaining the sending time of the data packet when the receiving device calculates the authentication code B (e.g., by obtaining the current time function getCurrentTime()).

[0625] In another specific case, the receiving time can be the current time obtained by executing a program statement for obtaining the sending time of the data packet when the receiving device calculates the authentication code B (for example, by obtaining the current time function getCurrentTime()), and subtracting an offset value. The offset value can be set by configuration, or according to the transmission delay (for example, 540ms), or according to the processing delay.

[0626] For inbound transmission, the receiving device is the satellite network device 200, wherein the converged communication platform 24 in the satellite network device 200 carries out AP layer processing. According to the SLC layer processing and MDCP layer processing carried out by the ground transceiver station 22 or the central station 23, the converged communication platform 24 can request time information from the ground transceiver station 22 or the central station 23.

[0627] For outbound transmission, the receiving device is the terminal device 100.

[0628] (2) The receiving device generates information B based on the reception time of the data packet.

[0629] After obtaining the reception time of the data packet, the receiving device may encode the time according to the preset or configured minimum time granularity to obtain information B. For example, the time value before the preset minimum time granularity in the reception time of the data packet may be intercepted, and the time value may be encoded (for example, binary-decimal encoding, decimal to binary conversion, etc.) to obtain information B. For outbound transmission, the receiving device, i.e., the terminal 100, may encode the time according to the preset minimum time granularity or the minimum time granularity configured by the terminal 100 under the cellular network or configured under the satellite network to obtain information B. For inbound transmission, the receiving device, i.e., the satellite network device 200, generates information B. For example, the fusion communication platform 24 in the satellite network device 200 encodes the reception time information of the data packet provided by the ground transceiver station 22 or the central station 23 and the prefabricated or configured minimum time granularity to generate information B; for another example, the ground transceiver station or the central station in the satellite network device 200 encodes the recorded time and the prefabricated or configured minimum time granularity to obtain information B, and then transmits information B to the fusion communication platform 24.

[0630] Among them, the preset minimum time granularity can be minutes, half a minute, half an hour, etc., and this application does not impose any restrictions on this.

[0631] It should be noted that the minimum time granularity and encoding method used by the receiving device to generate information B based on the reception time of the data packet are the same as those used by the sending device to generate information A. That is, the description of the receiving device generating information B can refer to the description of the sending device generating information A, which will not be repeated here.

[0632] In a possible implementation, the receiving device may also intercept one or more time values ​​of specific time granularity in the receiving time of the data packet, and then encode them to obtain information B.

[0633] In a possible implementation, after obtaining the reception time of the MDCP SDU at the MDCP layer, the receiving device may use it as the reception time of the data packet, generate information B based on the reception time of the data packet at the MDCP layer, and upload the MDCP SDU and information B to the AP layer at the MDCP layer.

[0634] In one possible implementation, after obtaining the reception time of the SLC SDU at the SLC layer, the receiving device can use it as the reception time of the data packet, and generate information B based on the reception time of the data packet and the minimum granularity information at the SLC layer and upload it to the MDCP layer, and upload the MDCP SDU and information B to the AP layer at the MDCP layer.

[0635] 5. The receiving device generates an authentication code B based on the information B and the data packet.

[0636] The receiving device can calculate the authentication code B based on the information B and the original data in the data packet through a specified algorithm (for example, the SM3 cryptographic hash algorithm). The specified algorithm of the receiving device is the same as the specified algorithm of the sending device. For example, the sending device can add a specified algorithm indication in the header of the data packet, and the specified algorithm indication can be used to indicate the specified algorithm used by the sending device. The receiving device can determine the specified algorithm indication used by the sending device based on the specified algorithm indication in the received data packet. For another example, the sending device and the receiving device can negotiate the specified algorithm to be used in the cellular network.

[0637] 6. The receiving device determines the reception status of the data packet based on the authentication code B.

[0638] The receiving device can determine the reception status of the data packet by comparing whether the authentication code A and the authentication code B are the same.

[0639] (1) When the authentication code B is the same as the authentication code A, the receiving device determines that the data packet is received successfully. The receiving device can perform corresponding processing operations on the original data. For example, when the receiving device is the terminal 100, the receiving device can display the original data. When the receiving device is the satellite network device 200, the receiving device can forward the original data to a user device (such as the terminal 300) under the cellular network. Optionally, the receiving device can also generate a successful application receipt and send the successful application receipt to the sending device. The successful application receipt can be used to indicate that the receiving device has successfully received the data packet.

[0640] (2) When authentication code B is different from authentication code A, the receiving device can obtain information C based on information B. Specifically, the receiving device can obtain information C by reducing a preset value (e.g., 1) based on information B. The receiving device can obtain authentication code C based on information C and the original data by specifying an authentication algorithm. For example, based on the time corresponding to information B being 18:00 on September 23, 2021, the time corresponding to information C obtained by reducing the preset value is 17:59 on September 23, 2021. Authentication code C will be generated based on the time information corresponding to information C. The receiving device can compare whether authentication code C is the same as authentication code A.

[0641] (3) When the authentication code A and the authentication code C are the same, the receiving device can determine that the data packet is received successfully. Optionally, the receiving device can also generate and send a successful application receipt to the sending device, and the successful application receipt can be used to indicate that the receiving device has successfully received the data packet.

[0642] (4) When authentication code A and authentication code C are different, the receiving device can determine that the reception of the data packet has failed. Optionally, the receiving device can also generate and send a failed application receipt to the sending device. The failed application receipt can be used to indicate that the receiving device has failed to receive the data packet. In an embodiment, the authentication code A and the authentication code B can be compared first, and then information C can be generated in different situations, and the authentication code A and the authentication code C can be compared. It is also possible to generate information B and information C first, and then generate authentication code B and authentication code C, and then compare them with authentication code A. If any one is the same as authentication code A, it means that the reception is successful. Optionally, a successful application receipt can be fed back. If they are all different, a failed application receipt is fed back.

[0643] In some embodiments, after obtaining the receiving time of the data packet, the receiving device can obtain a receiving time set based on the receiving time of the data packet. The receiving device can obtain the first time value in the receiving time set based on the receiving time of the data packet and the minimum preset time granularity, and the receiving time is reduced by 1 for the first time value to obtain the second time value, and the second time value is reduced by 1 to obtain the third time value, and so on. The receiving device can obtain a receiving time set including n time values. Wherein, n is a positive integer. The receiving device can encode based on each time value in the receiving time set to obtain the information B set. The receiving device can calculate each value and original data in the information B set by a specified authentication algorithm to obtain an authentication code set. The receiving device can determine the reception of the data packet by comparing the value in the authentication code with the authentication code A. Wherein, as long as there is a value in the authentication code set that is the same as the authentication code A, the receiving device determines that the data packet is received successfully. When any value in the authentication code set is different from the authentication code A, the receiving device determines that the data packet is received unsuccessfully.

[0644] In a possible implementation, before obtaining a data packet, the sending device may use a specified key to encrypt the authentication code A and the original data. The sending device may also add header information including an encryption indication field to the data packet. After receiving the data packet sent by the sending device, the receiving device may decrypt the data packet based on the encryption indication field and the specified key to obtain the authentication code A and the original data. In this way, the sending device and the receiving device may ensure the security of the data by encrypting the data.

[0645] The format of the sending time of the data packet and the receiving time of the data packet is Coordinated Universal Time (UTC), Greenwich Mean Time (GMT), Beijing Time, Eastern Pacific Time, Western Pacific Time, etc., which is not limited in this embodiment.

[0646] It should be noted that, under normal circumstances, the difference between the sending time of the data packet of the sending device and the receiving time of the data packet of the receiving device will not exceed the preset minimum time granularity, that is, the receiving device can successfully receive the data packet sent by the sending device.

[0647] In a possible implementation, the information A of the sending device is the sending time information, and the information B of the receiving device is the receiving time information. The sending device can generate the authentication code A based on the information A, the designated key and the original data, and then generate the data packet based on the authentication code A and the original data. The receiving device can generate the authentication code B based on the information B, the designated key and the data packet. In this way, not only will the problem of repeated processing and billing not occur. Since both the sending device and the receiving device generate the authentication code based on the designated key stored by each, the receiving device can also verify whether the designated keys of both parties are the same through the authentication code, and then verify the legitimacy of the sending device.

[0648] The terminal 100 and the satellite network device 200 can obtain the specified key through negotiation via the cellular network, such as Figure 5 Alternatively, the terminal 100 and the satellite network device 200 may be preset with the same designated key.

[0649] In some embodiments, the terminal 100 may obtain the designated key through the intermediate device. The intermediate device and the satellite network device 200 may first negotiate to obtain the designated key through the cellular network (for example, the process of the intermediate device and the satellite network device 200 negotiating to obtain the designated key can be referred to Figure 5The intermediate device can establish a communication connection with the terminal 100 (for example, a Bluetooth connection, a Wi-Fi connection, or a sidelink connection, etc.), and the intermediate device can send the specified key to the terminal 100 through the communication connection.

[0650] Furthermore, in order to ensure the security of transmitted data. The sending device can splice the authentication code A and the original data together to obtain spliced ​​data. The sending device then uses the specified key to encrypt the spliced ​​data through the specified encryption algorithm to obtain encrypted data. The sending device can add header information before the encrypted data, and the header information includes an encryption indication field. The encryption indication field can be used to indicate the specified encryption algorithm used by the sending device (for example, the SM3 cryptographic hash algorithm). The receiving device can decrypt the encrypted data in the data packet based on the encryption indication field and the specified key to obtain the authentication code A and the original data. The receiving device then generates an authentication code B based on the original data, information B and the specified key, such as Figure 8 In this way, since the sending device encrypts the data before sending it to the receiving device, the security of the data can be further guaranteed.

[0651] Next, an inbound process of a transmission method provided in an embodiment of the present application is introduced.

[0652] The terminal 100 can generate a first authentication code based on the first information, the designated key and the first data (also called the original data). The first information is the sending time information. The terminal 100 can obtain a first data packet based on the first authentication code, the designated key and the first data. The terminal 100 can send the first data packet to the satellite network device 200. After receiving the first data packet, the satellite network device 200 can generate a second authentication code based on the second information, the designated key and the first data packet. The second information is the receiving time information. The satellite network device 200 can determine the receiving state of the first data packet based on the second authentication code. In this way, when the satellite network device 200 receives the first data packet that is sent repeatedly, since the second information has been updated with the change of time, the generated authentication code is different from the first authentication code in the first data packet. The satellite network device 200 determines that the reception of the first data packet fails, and the problem of repeatedly receiving the same data packet will not occur.

[0653] Fig. 9 A schematic diagram of an inbound transmission process provided by an embodiment of the present application is shown.

[0654] S901, the terminal 100, the satellite network device 200 and the cellular network device 400 negotiate a key.

[0655] The description of the negotiation of the key between the terminal 100, the satellite network device 200 and the cellular network device 400 can be found in the above Figure 5 The illustrated embodiment will not be described in detail here. After negotiating the key, the terminal 100 and the satellite network device 200 both store the designated key.

[0656] S902: The terminal 100 obtains original data.

[0657] After receiving the input of the user sending the satellite message, the terminal 100 can generate the original data based on the content of the satellite message input by the user in response to the input. Or after receiving the user's instruction, for example, when the user wants to initiate a query to the mailbox or wants to obtain other information from the network, the terminal 100 can generate the original data based on the user's request. The original data may include but is not limited to the number of receiving users, the ID number of the receiving user, the data input by the user (for example, text data, picture data, audio data, etc.), the location information of the terminal 100, etc.

[0658] S903: The terminal 100 generates a first authentication code based on the designated key, the original data and the first information.

[0659] First, the terminal 100 may obtain the sending time of the first data packet. The sending time of the first data packet may be any time from when the terminal 100 obtains the original data to when the first authentication code is generated. The time when the terminal 100 obtains the original data may be the time when the terminal 100 receives the input of the satellite message sent by the calling user, and at this time, the original data includes the data input by the calling user. The time when the terminal 100 generates the first authentication code may be the current time obtained by the terminal 100 executing the program statement for obtaining the sending time of the first data packet (for example, by obtaining the current time function getCurrentTime()). The terminal 100 may determine the sending time of the data packet based on the positioning timing of the satellite.

[0660] In some embodiments, the sending time of the first data packet may be represented as the time when the terminal 100 sends the first data packet to the MDCP layer at the AP layer.

[0661] In some other embodiments, the sending time of the first data packet may be represented as the time estimated by the terminal 100 for the terminal 100 to send the first data packet to the satellite network device 200 .

[0662] Specifically, the terminal 100 can obtain the sending time of the first data packet by referring to the above Figure 7 The illustrated embodiments will not be described in detail here.

[0663] Afterwards, the terminal 100 generates the first information based on the sending time of the first data packet. After obtaining the sending time of the first data packet, the terminal 100 can intercept the time value before the preset minimum time granularity in the sending time of the first data packet, and obtain the first information by encoding the time value (for example, binary-decimal encoding, decimal conversion to binary, etc.). Among them, the preset minimum time granularity can be minutes, half a minute, half an hour, etc., and this application does not limit this. Specifically, the description of the terminal 100 generating the first information can be referred to above. Figure 7 The illustrated embodiments will not be described in detail here.

[0664] Finally, the terminal 100 generates a first authentication code based on the specified key, the original data and the first information. The terminal 100 can calculate the first authentication code based on the first information, the specified key and the original data through a specified algorithm (eg, SM3 cryptographic hash algorithm).

[0665] Exemplarily, when the specified algorithm used by the terminal 100 may be a hash-based message authentication code (HMAC) algorithm based on the SM3 cryptographic hash algorithm, the calculation formula of HMAC is as follows:

[0666] HMAC=F{SM3{(k+⊕opad)||SM3[(k+⊕ipad)||(text||context)]}}

[0667] SM3 is a cryptographic hash algorithm. k+ can be obtained based on a specified key. The length of k+ can be 64 bytes. The high 16 bytes are the specified key, and the following 48 bytes are all 0. opad is 64 bytes of repeated 0x5C, and ipad is 64 bytes of repeated 0x36. text is the original data, and context is the first information. ⊕ is the XOR symbol, and || is the concatenation symbol. The length of the output of the SM3 algorithm is 32 bytes. F is a function that intercepts the first 16 bits of input data from the high bit to the low bit. The output of F (i.e., HMAC) is the first authentication code. The length of the first authentication code is 16 bits.

[0668] S904, the terminal 100 may obtain a first data packet based on the first authentication code and the original data.

[0669] The terminal 100 may concatenate the first authentication code and the original data to obtain a first data packet. Optionally, the terminal 100 may also add header information before the concatenated first authentication code and the original data to obtain the first data packet. The header information may include but is not limited to a service type indication, etc. The service type indication may be used to indicate the service type of the first data packet (e.g., a data packet sending a message to a user device in a cellular network, or a data packet requesting data from a satellite network device 200, etc.).

[0670] In a possible implementation, the terminal 100 may also use a specified key to encrypt the first authentication code and the original data concatenated together to obtain a first data packet. Figure 8 The illustrated embodiments will not be described in detail here.

[0671] S905 , the terminal 100 sends a first data packet to the satellite network device 200 .

[0672] In a possible implementation, after the terminal 100 sends the first data packet to the receiving device, it may display a sending prompt message, such as "sent", and the sending prompt message may be used to prompt the user terminal 100 that the first data packet has been sent to the satellite network device 200. The sending prompt message may also include a mark icon, which may be used to trigger (e.g., click to trigger) the display of information explanation, such as "sent!", which may be clicked to trigger the display of operation suggestions (e.g., this message has been sent to the receiving device, and it is not determined whether it has been delivered). The form of the sending prompt message is not limited, and may be text, pictures, animations, etc.

[0673] Specifically, the terminal 100 may process the first data packet into at least one second data packet (i.e., SLC PDU or MDCP PDU) at the MDCP layer and the SLC layer or the MDCP layer, and then send the at least one second data packet to the satellite network device 200. For a specific description of the terminal 100 obtaining the at least one second data packet and sending it to the satellite network device 200, please refer to the above Figure 2A and Figure 7 The illustrated embodiments will not be described in detail here.

[0674] S906, the satellite network device 200 obtains the reception time of the first data packet, and generates second information based on the reception time.

[0675] Specifically, there are many possible ways for the satellite network device 200 to obtain the reception time of the first data packet. For example, when the satellite network device 200 receives at least one second data packet at the SLC layer, it can record the reception time of each second data packet in the at least one second data packet. The satellite network device 200 can splice the second data packets belonging to an SLC SDU based on the frame header information of the second data packet at the SLC layer to obtain the SLC SDU. The satellite network device 200 can compare the order of the reception times of the second data packets included in the SLC SDU, and use the earliest reception time as the reception time of the SLC SDU. The satellite network device 200 can upload the reception time of the SLC SDU and the SLC SDU to the MDCP layer at the SLC layer. The satellite network device 200 can use the SLC SDU as an MDCP PDU at the MDCP layer, and obtain the MDCP SDU based on the MDCP PDU. The satellite network device 200 can determine the first MDCP PDU of the MDCP SDU through the successor indication field of the MDCP PDU, and use the reception time of the SLC SDU corresponding to the first MDCP PDU as the reception time of the MDCP SDU. The satellite network device 200 may upload the MDCP SDU and the reception time of the MDCP SDU to the AP layer at the MDCP layer. The satellite network device 200 may use the MDCP SDU as the first data packet and the reception time of the MDCP SDU as the reception time of the first data packet at the AP layer. The detailed description of how the satellite network device 200 obtains the reception time of the first data packet may also be referred to in the above Figure 7 The embodiment shown in the inbound process will not be repeated here.

[0676] Specifically, the detailed description of the satellite network device 200 receiving the first data packet can be found in the above Figure 2B and Figure 7 The embodiments shown will not be described in detail here.

[0677] After the satellite network device 200 obtains the reception time of the first data packet (also referred to as the fourth information) at the AP layer, it can generate the second information based on the fourth information and the preset or configured minimum time granularity. The specific description of the satellite network device 200 generating the second information can be found in the above Figure 7 The embodiment in which the receiving device generates information B is shown and will not be described in detail here.

[0678] S907, the satellite network device 200 may generate a second authentication code based on the designated key, the original data and the second information.

[0679] The satellite network device 200 may calculate the second authentication code based on the second information and the original data in the first data packet by using a specified algorithm (eg, SM3 cryptographic hash algorithm), wherein the specified authentication algorithm of the satellite network device 200 is the same as the specified authentication algorithm of the terminal 100.

[0680] Exemplarily, when the designated authentication algorithm used by the terminal 100 may be a hash-based message authentication code (HMAC) algorithm based on the SM3 cryptographic hash algorithm, the designated authentication algorithm used by the satellite network device 200 may also be an HMAC algorithm based on SM3.

[0681] HMAC=F{SM3{(k+⊕opad)||SM3[(k+⊕ipad)||(text||context)]}}

[0682] SM3 is a cryptographic hash algorithm. k+ can be obtained based on a specified key. The length of k+ can be 64 bytes. The high 16 bytes are the specified key, and the following 48 bytes are all 0. opad is 64 bytes of repeated 0x5C, and ipad is 64 bytes of repeated 0x36. text is the original data, and context is the second information. ⊕ is the XOR symbol, and || is the concatenation symbol. The length of the output of the SM3 algorithm is 32 bytes. F is a function that intercepts the first 16 bits of input data from the high bit to the low bit. The output of F (i.e., HMAC) is the second authentication code. The length of the second authentication code is 16 bits.

[0683] S908, the satellite network device 200 determines whether the first authentication code and the second authentication code are the same.

[0684] The satellite network device 200 can determine the reception status of the first data packet by comparing whether the first authentication code and the second authentication code are the same. When the first authentication code and the second authentication code are the same, the satellite network device 200 can perform step S909 and can also perform step S910. For a detailed description of the first authentication code, please refer to Figure 7 The detailed description of the authentication code A and the second authentication code in the embodiment shown can be referred to Figure 7 The authentication code B or authentication code C in the illustrated embodiment will not be described in detail here.

[0685] When the first authentication code and the second authentication code are different, the satellite network device 200 may perform step S911.

[0686] S909 , the satellite network device 200 sends the original data to the cellular network device 400 .

[0687] The satellite network device 200 determines that the first authentication code and the second authentication code are the same, and determines that the first data packet is received successfully. The satellite network device 200 can perform corresponding processing operations on the original data. For example, the satellite network device 200 can forward the original data to a user device (such as the terminal 300) under the cellular network.

[0688] Optionally, the satellite network device 200 may also record the time information of the successful reception of the first data packet. For example, the time information of the successful reception of the first data packet may be the second information corresponding to the second authentication code. The satellite network device 200 may record the second information and forward it to a network element in the cellular network (e.g., a short message center). The network element in the cellular network may record the time of successful sending of the inbound message based on the time information of the successful reception of the received first data packet, so as to facilitate the subsequent update of the sending status of the information of the unsuccessful receipt of the application receipt by the terminal 100 in the satellite network by sending the time information of the successful transmission to the terminal 100 in the cellular network.

[0689] S910, the satellite network device 200 sends an application receipt to the terminal 100, indicating that the transmission is successful.

[0690] The satellite network device 200 may also generate a successful application receipt (ie, an application receipt indicating successful transmission), which may be used to indicate that the satellite network device 200 successfully receives the data packet. The satellite network device 200 may send the successful application receipt to the terminal 100.

[0691] S911, the satellite network device 200 sends an application receipt to the terminal 100, indicating that the transmission fails.

[0692] The satellite network device 200 determines that the first authentication code and the second authentication code are different, and determines that the first data packet fails to be received. The satellite network device 200 may delete the first data packet. The satellite network device 200 may also generate a failed application receipt (i.e., an application receipt indicating a failed transmission), which may be used to indicate that the satellite network device 200 fails to receive the data packet. The satellite network device 200 may send the failed application receipt to the terminal 100.

[0693] In one possible implementation, after the satellite network device 200 determines that the first authentication code and the second authentication code are different, the satellite network device 200 can reduce the value of the second information by a preset value (for example, 1), and then generate a new second authentication code based on the adjusted second information, the designated key and the original data.

[0694] The satellite network device 200 can compare the first authentication code and the new second authentication code to see if they are the same. When the first authentication code and the new second authentication code are the same, the satellite network device 200 can determine that the data packet is received successfully. The receiving device of the satellite network device 200 can also perform steps S909 and S910.

[0695] When the first authentication code and the new second authentication code are different, the satellite network device 200 can determine that the data packet reception fails. The satellite network device 200 can also generate and send a failed application receipt to the terminal 100, which can be used to indicate that the satellite network device 200 fails to receive the data packet.

[0696] In some embodiments, after receiving the failed application receipt, the terminal 100 may regenerate and send the first data packet to the satellite network device 200 .

[0697] Here, the successful application receipt and the failed application receipt may be collectively referred to as the first application receipt, and the first application receipt may include indication information for indicating whether the user has received the receipt successfully.

[0698] In a possible implementation, after receiving the application receipt (including the failed application receipt and the successful application receipt), the terminal 100 may display the result prompt information (including the success prompt information and the failure prompt information) on the display screen. In this way, the user can confirm the sending status of the first data packet through the result prompt information, avoiding repeated sending of the successfully sent satellite message.

[0699] Specifically, after receiving the successful application receipt (ie, the application receipt indicating that the first data packet is sent successfully), the terminal 100 may display a success prompt message. The success prompt message may be used to prompt the user that the first data packet is sent successfully.

[0700] After receiving the failed application receipt (ie, the application receipt indicating the failure of sending the first data packet), the terminal 100 may display the failure prompt information. The failure prompt information may be used to prompt the user that the first data packet has failed to be sent.

[0701] Next, an outbound process of a transmission method provided in an embodiment of the present application is introduced.

[0702] The satellite network device 200 can generate a fourth authentication code based on the sixth information and the original data (also referred to as the first data). The sixth information is the sending time information. The satellite network device 200 can obtain a third data packet based on the fourth authentication code and the original data. The satellite network device 200 can send the third data packet to the terminal 100. After receiving the third data packet, the terminal 100 can generate a third authentication code based on the fifth information and the third data packet. The fifth information is the receiving time information. The terminal 100 can determine the receiving state of the third data packet based on the third authentication code. In this way, when the terminal 100 receives the third data packet that is repeatedly sent, since the fifth information has been updated with the change of time, the authentication code generated based on the fifth information is different from the fourth authentication code in the third data packet. The terminal 100 determines that the reception of the third data packet fails, and the problem of receiving duplicate data packets will not occur.

[0703] Fig.10 A schematic diagram of an outbound transmission process provided by an embodiment of the present application is shown.

[0704] S1001, the satellite network device 200 receives original data sent by the cellular network device 400.

[0705] The satellite network device 200 receives the original data sent by the short message center 25 of the cellular network device 400. The original data is data sent by the calling user (e.g., the user of the terminal 300) in the cellular network to the called user (the user of the terminal 100) in the satellite network (including but not limited to text data and picture data input by the calling user). It should be noted that when the cellular network device 400 forwards the data sent by the terminal 300 to the terminal 100 to the satellite network device 200, it can also forward the identifier of the called user (e.g., the ID number or telephone number of the terminal 100) to the satellite network device 200 at the same time.

[0706] In some embodiments, the original data acquired by the satellite network device 200 may be data stored in a memory of the satellite network device 200. For example, the original data may be map data stored in the satellite network device 200.

[0707] In other embodiments, the original data received by the satellite network device 200 may be data (eg, text data, image data, audio data, video data, etc.) sent to the satellite network device 200 by a third-party server.

[0708] S1002, optionally, the satellite network device 200 receives a service request sent by the terminal 100.

[0709] The service request may be a request for downloading original data, and the receiving device of the original data is the terminal 100. After receiving the service request from the terminal 100, the satellite network device 200 may perform steps S1003 to S1005.

[0710] S1003, the satellite network device 200 generates a fourth authentication code based on the original data and the sixth information.

[0711] First, the satellite network device 200 can obtain the sending time of the third data packet. The sending time of the third data packet can be any time during the entire period from when the satellite network device 200 obtains the original data to when the fourth authentication code is generated plus the offset. The time when the satellite network device 200 obtains the original data can be the time when the satellite network device 200 receives the service request sent by the terminal 100, or the time when the satellite network device 200 receives the original data sent by the cellular network device 400, or the time when the satellite network device 200 sends data to the terminal 100, or the time when the satellite network device 200 generates the fourth authentication code minus the offset, which is used to estimate the time when the satellite network device 200 SLC layer or MDCP layer or physical layer sends data. For example, the time when the satellite network device 200 generates the fourth authentication code can be the current time obtained by the satellite network device 200 running the program statement for obtaining the sending time of the third data packet (for example, by obtaining the current time function getCurrentTime()).

[0712] In a possible implementation, the satellite network device 200 may determine the sending time of the third data packet (also referred to as the eighth information) at the MDCP layer / SLC layer (i.e., based on the central station 23 or the ground central station 31). The satellite network device 200 then generates the sixth information at the AP layer based on the eighth information and the minimum time granularity. Optionally, the satellite network device 200 may determine the sending time of the third data packet at the MDCP layer / SLC layer, generate the sixth information based on the sending time of the third data packet and the preset minimum time granularity, and then upload the sixth information to the AP layer.

[0713] In some embodiments, the sending time of the third data packet can be expressed as the time when the satellite network device 200 sends the third data packet to the MDCP layer at the AP layer, that is, the time when the converged communication platform 24 sends the third data packet to the central station 23 or the ground central station 31.

[0714] The satellite network device 200 obtains the sending time of the third data packet, which can be found in Figure 7 The process in the illustrated embodiment will not be described in detail here.

[0715] Afterwards, the satellite network device 200 generates the sixth information based on the sending time of the third data packet. After obtaining the sending time of the third data packet, the satellite network device 200 may encode the time according to the preset or configured minimum time granularity to obtain the sixth information. For example, the time value before the preset or configured minimum time granularity in the sending time of the third data packet may be intercepted, and the time value may be encoded (for example, binary-decimal encoding, decimal to binary conversion, etc.) to obtain the sixth information. Among them, the preset or configured minimum time granularity may be seconds, minutes, half a minute, half an hour, etc., which is not limited in the present application. Specifically, the description of the satellite network device 200 generating the sixth information can be referred to above. Figure 7 The embodiments shown will not be described in detail here.

[0716] Finally, the satellite network device 200 generates a fourth authentication code based on the original data and the sixth information. Specifically, the satellite network device 200 can calculate the fourth authentication code based on the sixth information and the original data through a specified algorithm (eg, SM3 cryptographic hash algorithm).

[0717] S1004, the satellite network device 200 obtains a third data packet based on the original data and the fourth authentication code.

[0718] The satellite network device 200 may concatenate the fourth authentication code and the original data to obtain a third data packet. Optionally, the satellite network device 200 may also add header information before the concatenated fourth authentication code and the original data to obtain a third data packet. The header information may include but is not limited to a service type indication, etc. The service type indication may be used to indicate the service type of the third data packet (for example, a data packet sending a satellite message to the terminal 100, or a data packet sending to the terminal 100 a number of satellite messages sent to the terminal 100, etc.).

[0719] In a possible implementation, the terminal 100 may obtain the fourth authentication code based on the designated key, the sixth information and the original data.

[0720] In a possible implementation, the terminal 100 may also use a designated key to encrypt the fourth authentication code and the original data concatenated together to obtain a third data packet. Figure 8 The embodiments shown will not be described in detail here.

[0721] S1005 , the satellite network device 200 sends a third data packet to the terminal 100 .

[0722] Specifically, the satellite network device 200 may process the third data packet into at least one fourth data packet (i.e., SLC PDU) at the MDCP layer and the SLC layer, or the satellite network device 200 may process the third data packet into at least one fourth data packet (i.e., MDCP PDU) at the MDCP layer, and then send the at least one fourth data packet to the terminal 100. The specific description of the satellite network device 200 obtaining at least one fourth data packet and sending it to the terminal 100 can be referred to in the above Figure 3A The embodiments shown will not be described in detail here.

[0723] S1006, the terminal 100 obtains the reception time of the third data packet, and generates fifth information based on the reception time.

[0724] There are many ways for the terminal 100 to obtain the reception time of the third data packet. For example, when the terminal 100 receives at least one fourth data packet at the SLC layer, it can record the reception time of each fourth data packet in the at least one fourth data packet. The terminal 100 can splice the fourth data packets belonging to an SLC SDU based on the frame header information of the fourth data packet at the SLC layer to obtain the SLC SDU. The terminal 100 can compare the order of the reception times of the fourth data packets included in the SLC SDU, and use the earliest reception time as the reception time of the SLC SDU. The terminal 100 can upload the reception time of the SLC SDU and the SLC SDU to the MDCP layer at the SLC layer. The terminal 100 can use the SLC SDU as an MDCP PDU at the MDCP layer, and obtain the MDCP SDU based on the MDCP PDU. The terminal 100 can determine the first MDCP PDU of the MDCP SDU through the successor indication field of the MDCP PDU, and use the reception time of the SLC SDU corresponding to the first MDCP PDU as the reception time of the MDCP SDU. The terminal 100 may upload the MDCP SDU and the reception time of the MDCP SDU to the AP layer at the MDCP layer. The terminal 100 may use the MDCP SDU as the third data packet at the AP layer, and use the reception time of the MDCP SDU as the reception time of the third data packet. For other detailed descriptions of how the terminal 100 obtains the reception time of the third data packet, see Figure 7 The description of how the receiving device obtains the data packet receiving time in the embodiment is not repeated here.

[0725] Specifically, the detailed description of the terminal 100 receiving the third data packet can be found in the above Figure 2B and Figure 7 The embodiments shown will not be described in detail here.

[0726] After obtaining the reception time of the third data packet, the terminal 100 may generate fifth information based on the reception time of the third data packet and the preset or configured minimum time granularity. For a detailed description of how the terminal 100 generates the fifth information, see the above Figure 7 The embodiments shown will not be described in detail here.

[0727] S1007, the terminal 100 obtains a third authentication code based on the third data packet and the fifth information.

[0728] The terminal 100 may calculate the third authentication code based on the fifth information and the original data in the third data packet by using a specified authentication algorithm (eg, SM3 cryptographic hash algorithm).

[0729] S1008: The terminal 100 determines whether the third authentication code and the fourth authentication code are the same.

[0730] The terminal 100 can determine the reception status of the third data packet by comparing whether the third authentication code and the fourth authentication code are the same. When the third authentication code and the fourth authentication code are the same, the terminal 100 executes step S1009, and optionally, can also execute step S1010.

[0731] Optionally, the terminal 100 may also record the time information of the successful reception of the third data packet, for example, to generate the fifth information corresponding to the third authentication code. The time information of the successful reception of the third data packet may be used to send the time information of the successful transmission to the satellite network device 200 or the network element of the second transmission system when the terminal 100 subsequently accesses the second transmission system (for example, a cellular or WLAN network), and update the sending status of the information of the unsuccessful receipt of the application receipt under the satellite network. This is to avoid billing problems.

[0732] When the third authentication code and the fourth authentication code are different, the terminal 100 may execute step S1011.

[0733] S1009, the terminal 100 displays a receiving prompt message.

[0734] The terminal 100 determines that the third authentication code is the same as the fourth authentication code, and determines that the third data packet is received successfully. The terminal 100 can perform corresponding processing operations on the original data. For example, the terminal 100 can display a receiving prompt message. Among them, the receiving prompt message can be used to prompt the user that a satellite message is received from a user device (such as terminal 300) under the cellular network. The receiving prompt message may include but is not limited to voice prompt information, text prompt information, vibration prompt information, etc. For example, when the receiving prompt message is a text prompt message, the receiving prompt message can be "A satellite message from "terminal 300" is received." Optionally, the terminal 100 can also display the original data in the third data packet on the display screen.

[0735] S1010, the terminal 100 sends an application receipt to the satellite network device 200, indicating successful reception.

[0736] The terminal 100 may also generate a successful application receipt (ie, an application receipt indicating successful transmission), which may be used to indicate that the terminal 100 successfully receives the data packet. The terminal 100 may send the successful application receipt to the satellite network device 200.

[0737] In some embodiments, after receiving the successful application receipt, the satellite network device 200 may delete the original data of the third data packet.

[0738] S1011, the terminal 100 sends an application receipt to the satellite network device 200, indicating that the reception failed.

[0739] The terminal 100 determines that the third authentication code is different from the fourth authentication code, and determines that the third data packet fails to be received. The terminal 100 may delete the third data packet. The terminal 100 may also generate a failed application receipt (i.e., an application receipt indicating a failed transmission), which may be used to indicate that the terminal 100 fails to receive the data packet. The terminal 100 may send the failed application receipt to the satellite network device 200.

[0740] In one possible implementation, after the terminal 100 determines that the third authentication code is different from the fourth authentication code, the terminal 100 can reduce the value of the fifth information by a preset value (eg, 1), and then generate a new third authentication code based on the adjusted fifth information and the original data.

[0741] The receiving device may compare the fourth authentication code with the new third authentication code to see if they are the same. When the fourth authentication code is the same as the new third authentication code, the terminal 100 may determine that the data packet is received successfully. The terminal 100 may also perform step S1010.

[0742] When the fourth authentication code is different from the new third authentication code, the terminal 100 may determine that the data packet reception fails. The terminal 100 may also generate and send a failed application receipt to the satellite network device 200, and the failed application receipt may be used to indicate that the terminal 100 fails to receive the data packet.

[0743] In some embodiments, after receiving the failed application receipt, the satellite network device 200 may regenerate and send a third data packet to the terminal 100 .

[0744] Here, the successful application receipt and the failed application receipt may be collectively referred to as a third application receipt, and the third application receipt may include indication information for indicating whether the user has received the receipt successfully.

[0745] Not limited to the above embodiments, the present application also provides the following embodiments. It should be noted that the following embodiments can be used in combination with the above embodiments.

[0746] In a possible implementation, the information A of the sending device is context information A, which can be used to indicate the number of data packets sent, and the number of data packets sent is the number of data packets successfully sent by the sending device. The information B of the receiving device is context information B, which can be used to indicate the number of data packets received. The number of data packets received is the number of data packets successfully received by the receiving device (i.e., the number of successfully generated application receipts). Among them, the initial values ​​of information A and information B are the same. In this way, when the receiving device successfully parses the data packet generated by the sending device based on information A based on information B, the value of information B can be updated. When the receiving device receives the repeatedly sent data packet again, since the updated information B and the information A before the update have different values, that is, the authentication code A and the authentication code B are different, the receiving device cannot parse the data packet sent by the sending device, and there will be no problems of repeated processing and billing.

[0747] It should be noted that before the sending device sends a data packet to the receiving device, the sending device and the receiving device may obtain context information. The context information of the sending device may be referred to as context information A, i.e., information A. The context information of the receiving device may be referred to as context information B, i.e., information B.

[0748] In a possible implementation manner, the number of data packets successfully sent by the sending device may be the number of successful application receipts received by the sending device.

[0749] Next, several methods for the terminal 100 and the satellite network device 200 to obtain context information are introduced, and the specific description is as follows:

[0750] (1) The terminal 100 and the satellite network device 200 may obtain context information when negotiating to obtain a specified key through the cellular network. For example, the terminal 100, the satellite network device 200 and the cellular network device 400 may perform the following steps: Figure 5 Steps S501 to S515 are shown. When the satellite network device 200 receives the parameter response (including the specified key) sent by the guidance server 41, the satellite network device 200 can set the context information of the satellite network device 200. For example, the initial value of the context information of the satellite network device 200 can be X. After that, the satellite network device 200 can send a service response 4 to the terminal 100. The service response 4 can be used to indicate that within the validity period of the specified key, the terminal 100 and the satellite network device 200 can use the specified keys stored in each of them to perform data encryption and decryption operations. The service response 4 can also include the context information of the satellite network device 200. After the terminal 100 receives the service response 4, the initial value of the context information of the terminal 100 can be set to X based on the service response 4. It should be noted that as long as the value of the context information of the satellite network device 200 is the same as the value of the context information of the terminal 100, any value of the initial value of the context information will not affect the receiving results of the sending device and the receiving device.

[0751] (2) The terminal 100 may obtain the initial value of the designated key and the context information through the intermediate device. The intermediate device and the satellite network device 200 may firstly obtain the designated key, the context information of the satellite network device 200 and the context information of the terminal 100 through the above operation through negotiation in the cellular network, the intermediate device may establish a communication connection (for example, a Bluetooth connection, etc.) with the terminal 100, and the intermediate device may send the designated key and the context information of the terminal 100 to the terminal 100 through the communication connection.

[0752] (3) The initial values ​​of the information A of the terminal 100 and the information B of the satellite network device 200 are preset designated values.

[0753] (4) The initial value of the information A of the terminal 100 is the data value configured for the terminal 100 by the satellite network device 200.

[0754] Fig.11 A schematic diagram of a processing flow of a transmission method provided in an embodiment of the present application is shown.

[0755] 1. The sending device generates an authentication code A based on the original data and information A.

[0756] Among them, information A is context information A, and information A can be used to indicate the number of data packets sent. The number of data packets sent is the number of data packets successfully sent by the sending device. Here, the number of successful application receipts received by the sending device can be used to represent the number of data packets successfully sent by the sending device. That is to say, when the sending device receives a successful application receipt, a preset value can be added to the value of information A. It should be noted that the increment of information A is related to the number of data packets successfully sent by the sending device.

[0757] The sending device can obtain the authentication code A based on the information A and the original data. The detailed description of how the sending device obtains the authentication code A can be found in the above Figure 7 The illustrated embodiments will not be described in detail here.

[0758] In a possible implementation, the sending device can generate authentication code A based on information A, a designated key, and original data, and then generate a data packet based on authentication code A and original data. The receiving device can generate authentication code B based on information B, a designated key, and data packet. In this way, the legitimacy of the sending device can be verified by the designated key, thereby ensuring the security of transmission.

[0759] 2. The sending device obtains the data packet based on the original data and authentication code A.

[0760] The sending device can concatenate the authentication code A and the original data together to obtain a data packet.

[0761] Optionally, the sending device may add header information before the spliced ​​authentication code A and the original data to obtain a data packet. The header information may include a service type indication, etc. The service type indication may be used to indicate the service type of the data packet.

[0762] In a possible implementation, the sending device may splice the authentication code A and the original data together to obtain spliced ​​data. The sending device then uses a specified key to encrypt the spliced ​​data using a specified algorithm to obtain encrypted data. The sending device may add header information before the encrypted data, and the header information includes an encryption indication field. The encryption indication field may be used to indicate the specified algorithm (e.g., SM3 cryptographic hash algorithm) used by the sending device. In this way, since the sending device encrypts the data before sending it to the receiving device, the security of the data can be further guaranteed.

[0763] The sending device can send a data packet to the receiving device. The description of the sending device sending a data packet to the receiving device when inbound can be referred to above. Figure 2A In the embodiment shown, the description of the sending device sending a data packet to the receiving device when outbound can refer to the above Figure 3A The illustrated embodiments will not be described in detail here.

[0764] In a possible implementation, when the sending device is the terminal 100, after the sending device sends the data packet to the receiving device, the sending device may display sending prompt information. The sending prompt information may be used to prompt the user that the sending device has sent the satellite message to the receiving device.

[0765] 3. The receiving device obtains the authentication code A and the original data based on the data packet.

[0766] After receiving the data packet sent by the sending device, the receiving device can obtain the authentication code A and the original data from the data packet. Figure 2B In the embodiment shown, the description of the receiving device receiving the data packet when outbound can refer to the above Figure 3B The illustrated embodiments will not be described in detail here.

[0767] In a possible implementation, the data packet includes an encryption indication field and encrypted data. The receiving device can decrypt the encrypted data in the data packet based on the encryption indication field and the specified key to obtain the authentication code A and the original data.

[0768] 4. The receiving device generates an authentication code B based on the information B and the data packet.

[0769] The receiving device can calculate the authentication code B based on the information B and the original data in the data packet through a specified algorithm (for example, the SM3 cryptographic hash algorithm). The specified algorithm of the receiving device is the same as the specified algorithm of the sending device. For example, the sending device can add a specified algorithm indication in the header of the data packet, and the specified algorithm indication can be used to indicate the specified algorithm used by the sending device. The receiving device can determine the specified algorithm indication used by the sending device based on the specified algorithm indication in the received data packet. For another example, the sending device and the receiving device can negotiate the specified algorithm to be used in the cellular network.

[0770] In a possible implementation, when the sending device generates authentication code A based on original data, information A and a specified key, the receiving device can generate authentication code B based on original data, information B and a specified key. The sending device and the receiving device can preset parameters required to generate the authentication code.

[0771] 5. The receiving device determines the reception status of the data packet based on the authentication code B.

[0772] The receiving device can determine the reception status of the data packet by comparing whether the authentication code A and the authentication code B are the same.

[0773] (1) When the authentication code B is the same as the authentication code A, the receiving device determines that the data packet is received successfully. The receiving device can perform corresponding processing operations on the original data. For a detailed description, please refer to Figure 7 The embodiment described.

[0774] The receiving device may update the value of information B. Specifically, the receiving device may add a preset value to the value of information B.

[0775] The receiving device may also generate a successful application receipt and send the successful application receipt to the sending device. The successful application receipt may be used to indicate that the receiving device has successfully received the data packet.

[0776] (2) When the authentication code B is different from the authentication code A, the receiving device can determine that the data packet has failed to be received. The receiving device can also generate and send a failed application receipt to the sending device, and the failed application receipt can be used to indicate that the receiving device has failed to receive the data packet.

[0777] 6. The sending device determines the sending status of the data packet based on the application receipt.

[0778] The sending device can determine the sending status of the data packet based on the application receipt.

[0779] (1) When the application receipt received by the sending device is a successful application receipt indicating that the receiving device successfully received the data packet, the sending device can confirm that the data packet was successfully sent. The sending device can add a preset value to the value of information A. The preset value added in the sending device and the receiving device is the same.

[0780] In some embodiments, when the sending device is a terminal 100, the sending device can display a success prompt message after receiving a successful application receipt, and the success prompt message can be used to prompt the user that the data packet is successfully sent. It should be noted that the sending device can only confirm that the data packet is successfully sent after receiving a successful application receipt.

[0781] (2) When the application receipt received by the sending device is a failed application receipt indicating that the receiving device failed to receive the data packet, the sending device may confirm that the data packet sending failed.

[0782] Optionally, the sending device may retransmit the data packet that failed to be sent.

[0783] In some embodiments, when the sending device is a terminal 100, the sending device may display a failure prompt message after receiving a failed application receipt, and the failure prompt message may be used to prompt a user that the data packet has failed to be sent.

[0784] Next, an inbound process of a transmission method provided in an embodiment of the present application is introduced.

[0785] The terminal 100 may generate a first authentication code based on the first information, the designated key and the first data (also referred to as the original data). The first information is the first context information, and the first context information is used to indicate the number of data packets sent. The terminal 100 may obtain the first data packet based on the first authentication code, the designated key and the original data. The terminal 100 may send the first data packet to the satellite network device 200. After receiving the first data packet, the satellite network device 200 may generate a second authentication code based on the second information, the designated key and the first data packet. The second information is the second context information, and the second context information is used to indicate the number of data packets received. The satellite network device 200 may determine the reception status of the first data packet based on the second authentication code. In this way, the satellite network device 200 may update the value of the second information when successfully receiving the first data packet sent by the terminal 100. When the satellite network device 200 repeatedly receives the first data packet, since the updated second information is different from the second information before the update, the authentication code generated by the satellite network device 200 based on the updated second information is different from the first authentication code in the first data packet. The satellite network device 200 determines that the reception of the first data packet has failed, and the problem of repeatedly receiving the same data packet will not occur.

[0786] Fig.12 A schematic diagram of an inbound transmission process provided by an embodiment of the present application is shown.

[0787] S1201, the terminal 100, the satellite network device 200 and the cellular network device 400 negotiate a key, first information and second information.

[0788] The description of the negotiation of the key, the first information and the second information by the terminal 100, the satellite network device 200 and the cellular network device 400 can be found in the above Fig.11 The illustrated embodiment will not be described in detail here. After negotiating the key, the terminal 100 and the satellite network device 200 both store the designated key. The terminal 100 stores the first information. The satellite network device 200 stores the second information. The initial values ​​of the first information and the second information are the same.

[0789] S1202: Terminal 100 obtains original data.

[0790] S1203, the terminal 100 generates a first authentication code based on the designated key, the original data and the first information.

[0791] The terminal 100 may calculate the first authentication code based on the stored first information, the designated key and the original data by using a designated authentication algorithm (eg, the SM3 cryptographic hash algorithm).

[0792] S1204, the terminal 100 may obtain a first data packet based on the first authentication code and the original data.

[0793] In a possible implementation, the terminal 100 may also use a designated key to encrypt the first authentication code and the original data that are spliced ​​together to obtain a first data packet.

[0794] S1205 , the terminal 100 sends a first data packet to the satellite network device 200 .

[0795] In a possible implementation, after sending the first data packet to the receiving device, the terminal 100 may display a sending prompt message, such as "Sent", and the sending prompt message may be used to prompt the user terminal 100 that the first data packet has been sent to the satellite network device 200. The sending prompt message may also include a mark icon, which may be used to trigger (e.g., click to trigger) the display of information explanations, such as "Sent!", which may be clicked to trigger the display of operation suggestions (e.g., this message has been sent to the receiving device, and it is not determined whether it has been delivered). The form of the sending prompt message is not limited, and may be text, pictures, animations, etc.

[0796] S1206: The satellite network device 200 may generate a second authentication code based on the designated key, the original data and the second information.

[0797] S1207, the satellite network device 200 determines whether the first authentication code and the second authentication code are the same.

[0798] The satellite network device 200 can determine the reception status of the first data packet by comparing whether the first authentication code and the second authentication code are the same. When the first authentication code and the second authentication code are the same, the satellite network device 200 can execute steps S1208 to S1210.

[0799] When the first authentication code and the second authentication code are different, the satellite network device 200 may execute step S1213.

[0800] S1208, the satellite network device 200 updates the value of the second information.

[0801] The satellite network device 200 may add a preset value to the value of the second information. For example, when the value of the second information is 0 and the preset value is 1, the value of the updated second information is 1.

[0802] S1209 , the satellite network device 200 sends the original data to the cellular network device 400 .

[0803] S1210 , the satellite network device 200 sends a successful application receipt to the terminal 100 .

[0804] S1211, the terminal 100 updates the value of the first information.

[0805] After receiving the successful application receipt sent by the satellite network device 200, the terminal 100 may add a preset value to the value of the first information. The preset value added to the first information is the same as the preset value added to the second information, that is, the value of the updated first information is the same as the value of the updated second information. Optionally, the terminal 100 may also perform step S1212.

[0806] S1212, the terminal 100 displays a success prompt message.

[0807] The terminal 100 displays a success prompt message. The success prompt message is used to prompt the user that the first data packet is sent successfully.

[0808] S1213, the satellite network device 200 sends a failed application receipt to the terminal 100.

[0809] Optionally, after receiving the failed application receipt, the terminal 100 may further execute step S1214.

[0810] S1214, the terminal 100 displays a failure prompt message.

[0811] The terminal 100 displays a failure prompt message. The failure prompt message is used to prompt the user that the first data packet fails to be sent.

[0812] The detailed description of steps S1202 to S1206, step S1209, step S1210 and step S1212 can be found in the above Fig. 9 The illustrated embodiments will not be described in detail here.

[0813] Next, an outbound process of a transmission method provided in an embodiment of the present application is introduced.

[0814] The satellite network device 200 can generate a fourth authentication code based on the sixth information and the first data (also called the original data). The sixth information is the sixth context information, and the sixth context information is used to indicate the number of data packets sent. The satellite network device 200 can obtain a third data packet based on the fourth authentication code and the original data. The satellite network device 200 can send the third data packet to the terminal 100. After receiving the third data packet, the terminal 100 can generate a third authentication code based on the fifth information and the third data packet. The fifth information is the fifth context information, and the fifth context information is used to indicate the number of data packets received. The terminal 100 can determine the reception status of the third data packet based on the third authentication code. In this way, when the terminal 100 successfully receives the third data packet sent by the satellite network device 200, the value of the fifth information can be updated. When the terminal 100 repeatedly receives the third data packet, since the updated fifth information is different from the fifth information before the update, the authentication code generated by the terminal 100 based on the updated fifth information is different from the fourth authentication code in the third data packet, and the terminal 100 determines that the reception of the third data packet fails, and there will be no problem of repeatedly receiving the same data packet.

[0815] Fig.13 A schematic diagram of an outbound transmission process provided by an embodiment of the present application is shown.

[0816] S1301, the terminal 100, the satellite network device 200 and the cellular network device 400 negotiate the fifth information and the sixth information.

[0817] The terminal 100 and the satellite network device 200 can obtain their respective context information when negotiating to obtain a key through the cellular network device 400 in the cellular network. For a detailed description, please refer to the above Fig.11 The illustrated embodiment will not be described in detail here. Alternatively, the terminal 100 and the satellite network device 200 can establish a communication connection under the cellular network and negotiate to obtain their respective context information. Among them, the terminal 100 stores the fifth information. The satellite network device 200 stores the sixth information. The initial values ​​of the fifth information and the sixth information are the same.

[0818] S1302 , the satellite network device 200 receives original data sent by the cellular network device 400 .

[0819] S1303 , the satellite network device 200 receives the service request sent by the terminal 100 .

[0820] S1304: The satellite network device 200 generates a fourth authentication code based on the original data and the sixth information.

[0821] The satellite network device 200 may generate a fourth authentication code based on the stored sixth information and the original data.

[0822] S1305, the satellite network device 200 obtains a third data packet based on the original data and the fourth authentication code.

[0823] S1306 , the satellite network device 200 sends a third data packet to the terminal 100 .

[0824] S1307: The terminal 100 obtains a third authentication code based on the third data packet and the fifth information.

[0825] S1308: Terminal 100 determines whether the third authentication code and the fourth authentication code are the same.

[0826] The terminal 100 can determine the reception status of the third data packet by comparing whether the third authentication code and the fourth authentication code are the same. When the third authentication code and the fourth authentication code are the same, the terminal 100 can execute steps S1309 to S1311.

[0827] When the third authentication code and the fourth authentication code are different, the terminal 100 may execute step S1313.

[0828] S1309, the terminal 100 displays the receiving prompt information.

[0829] S1310, the terminal 100 updates the value of the fifth information.

[0830] The terminal 100 may add a preset value to the value of the fifth information. For example, when the value of the fifth information is 0 and the preset value is 1, the value of the updated fifth information is 1.

[0831] S1311, the terminal 100 sends a successful application receipt to the satellite network device 200.

[0832] S1312, the satellite network device 200 updates the value of the sixth information.

[0833] After receiving the successful application receipt sent by the terminal 100, the satellite network device 200 can add a preset value to the value of the sixth information. The preset value added to the sixth information is the same as the preset value added to the fifth information, that is, the updated value of the sixth information is the same as the updated value of the fifth information.

[0834] S1313, the terminal 100 sends a failed application receipt to the satellite network device 200.

[0835] The detailed description of steps S1302 to S1306, step S1308, step S1309, step S1311 and step S1313 can be found in the above Fig.10 The embodiments shown will not be described in detail here.

[0836] Fig.14A transmission process schematic diagram provided in an embodiment of the present application is shown.

[0837] S1401, after the sending device generates authentication code A based on information A, it obtains a data packet based on authentication code A and original data. At this time, the value of information A is X.

[0838] Specifically, the sending device generates the authentication code A, and the detailed description of the data packet can be found in the above Fig.11 The illustrated embodiments will not be described in detail here.

[0839] S1402: The sending device sends a data packet to the receiving device.

[0840] Specifically, the detailed description of the sending device sending the data packet to the receiving device can be found in the above Figure 2A , Figure 3A The illustrated embodiments will not be described in detail here.

[0841] S1403, the receiving device generates an authentication code B based on the information B and the data packet. At this time, the value of the information B is X.

[0842] Specifically, the detailed description of the receiving device generating the authentication code B can be found in the above Fig.11 The illustrated embodiments will not be described in detail here.

[0843] S1404: The receiving device determines that the authentication code A is the same as the authentication code B, and the value of the update information B is X+i.

[0844] The receiving device determines that the authentication code A is the same as the authentication code B, and determines that the data packet is received successfully. The receiving device can increase the value of information B by i, that is, update the value of information B to X+i.

[0845] S1405: The receiving device sends a successful application receipt to the sending device.

[0846] After determining that the data packet is successfully received, the receiving device may generate a successful application receipt and send the successful application receipt to the sending device. The successful application receipt may be used to indicate that the receiving device has successfully received the data packet.

[0847] S1406, the value of sending device update information A is X+i.

[0848] After receiving the successful application receipt, the sending device can determine that the data packet has been sent successfully. The sending device can increase the value of information A by i, that is, update the value of information A to X+i. The i value updated by the sending device and the receiving device is the same.

[0849] S1407, after generating authentication code A based on information A, the sending device may obtain a data packet based on authentication code A and original data. At this time, the value of information A is X+i.

[0850] S1408: The sending device sends the data packet to the receiving device.

[0851] S1409, the receiving device generates an authentication code B based on the information B and the data packet. At this time, the value of the information B is X+i.

[0852] S1410, the receiving device determines that the authentication code A is the same as the authentication code B, and the value of the update information B is X+2i.

[0853] The receiving device determines that the authentication code A is the same as the authentication code B, and determines that the data packet is received successfully. The receiving device can increase the value of information B by i, that is, update the value of information B to X+2i.

[0854] S1411, the receiving device sends a successful application receipt to the sending device.

[0855] After determining that the data packet is successfully received, the receiving device may generate a successful application receipt and send the successful application receipt to the sending device. The successful application receipt may be used to indicate that the receiving device has successfully received the data packet.

[0856] S1412, the value of the device update information A sent is X+2i.

[0857] After receiving the successful application receipt, the sending device can determine that the data packet has been sent successfully. The sending device can increase the value of information A by i, that is, update the value of information A to X+2i. The i value updated by the sending device and the receiving device is the same.

[0858] In this way, the sending device and the receiving device can synchronously update and maintain their respective context information, the sending device and the receiving device can transmit data packets, and the receiving device is prevented from repeatedly processing repeatedly sent data packets.

[0859] The following is a detailed introduction to a transmission method provided by the present application in combination with an application scenario.

[0860] In some inbound application scenarios, the terminal 100 may send a satellite message (i.e., a data packet) to the satellite network device 200 and display a sending prompt message after receiving the user's first input. The sending prompt message may be used to prompt the user that the terminal 100 has sent the satellite message to the satellite network device 200. The terminal 100 may display a result prompt message after receiving an application receipt, and the result prompt message may be used to prompt the user whether the satellite message is sent successfully or failed. In this way, the user of the terminal 100 may confirm the sending of the satellite message, and resend the satellite message when the satellite message fails to be sent.

[0861] For example, Fig.15AAs shown, the terminal 100 may display a desktop 1500. The desktop 1500 may include multiple application icons (e.g., a clock application icon, an information application icon 1501, etc.). The information application icon 1501 may be used to trigger an interface for displaying an information application (e.g., Fig. 15B 1500). Optionally, a status bar including icons such as a time identification icon and a signal identification icon may also be displayed above the desktop 1500. The information identification icon may be used to prompt the user terminal 100 that it is in a no-network scenario, i.e., a scenario where a communication connection cannot be established with the second transmission system. Optionally, multiple tray icons (e.g., a dial-up application icon, a contact application icon, a camera application icon) may be displayed below multiple application icons, and the tray icon remains displayed when the page is switched. Optionally, the information application icon 1501 may also be a tray icon, displayed below the multiple application icons.

[0862] After the terminal 100 detects the user's input (eg, single click) for the information application icon 1501, the terminal 100 may also display the following Fig. 15B The information application interface 1510 shown. Fig. 15B As shown, the information application interface 1510 may include an information overview display area and a title bar. The information overview display area may be used to display information sent and received by the terminal 100. The title bar may include but is not limited to a return control, a new information control 1511, etc. The return control may be used to trigger the terminal 100 to display the desktop 1500. The new information control 1511 may be used to trigger the terminal 100 to create a new satellite message. Optionally, the above-mentioned status bar may also be displayed above the information application interface 1510.

[0863] After the terminal 100 detects the user's input (for example, a single click) for the new information control 1511, the terminal 100 may also display the following Fig. 15C The contact interface 1520 shown. Fig. 15C As shown, the contact interface 1520 may include at least one contact icon (the contact icon may include but is not limited to the name, mobile phone number, etc. of the contact). The at least one contact icon may include a contact icon 1521. The contact icon 1521 may be used to trigger the terminal 100 to confirm the recipient's ID number.

[0864] After the terminal 100 detects the user's input (eg, single click) on the contact icon 1521, the terminal 100 may display the following information: Fig.15D The information details interface 1530 is shown. Fig.15DAs shown, the information details interface 1530 may include but is not limited to an information editing bar 1533, a send control 1532 and a keyboard area 1531. Among them, the information editing bar 1533 can be used to display the data entered by the user through the keyboard area 1531. The keyboard area 1531 can be used to receive the user's input to trigger the terminal 100 to display the corresponding data. The send control 1532 can be used to trigger the terminal 100 to send the data in the information editing bar 1533 to the recipient after receiving the user's input. For example, the information editing bar 1533 may display a text message "X" entered by the user. It should be noted that the content displayed in the information editing bar 1533 is the content entered by the user. Here, the embodiment of the present application writes the content entered by the user as "X" just to better describe the embodiment, and this description does not constitute a limitation on the content entered by the user.

[0865] It should be noted that, since the terminal 100 is in the first transmission system, the terminal 100 needs to send the satellite message to the called user (e.g., the terminal 300) through the satellite network device 200. In the description of the embodiment of the present application, as long as the satellite network device 200 successfully receives the data packet sent by the terminal 100, it is assumed that the information is successfully sent to the called user.

[0866] Terminal 100 receives the user's Fig.15D In response to the input, the terminal 100 can send a data packet including the original data input by the user (i.e., the data displayed in the information editing bar 1533) to the satellite network device 200. Specifically, the detailed description of the terminal 100 sending a data packet to the satellite network device 200 can be found in the above Fig.14 The detailed description of the satellite network device 200 receiving and processing the data packet can be found in Fig.14 Steps S1403 to S1404 in .

[0867] The terminal 100 receives the user's Fig.15D In response to the input, the terminal 100 may also display Fig.15EThe information details interface 1530 shown. The information details interface 1530 may include but is not limited to an information editing bar 1533, an information box 1542 and a sending prompt 1543. The information box 1542 may be used to display the content of the satellite message that the terminal 100 has sent to the satellite network device 200. Here, the information box 1542 is displayed with an "X". The sending prompt 1543 may be used to prompt the user terminal 100 that the content displayed in the information box 1542 has been sent to the satellite network device 200. The sending prompt 1543 may include but is not limited to text prompt information. For example, the sending prompt 1543 may be a character string "sent". The specific description of the information details interface 1530 can be found in Fig.15D The illustrated embodiments will not be described in detail here.

[0868] Afterwards, the terminal 100 may display the following after receiving the successful application receipt: Fig.15F The success prompt information 1551 shown. The success prompt information 1551 can be used to prompt the user terminal 100 to successfully send the content in the information box 1542 to the recipient. The success prompt information 1551 can include but is not limited to text prompt information, for example, the success prompt information 1551 can be a text prompt information "successfully sent". The description of the satellite network device 200 sending a successful application receipt to the terminal 100 can refer to the above Fig.14 After receiving the successful application receipt, the terminal 100 may also update the value of the first information to X+i. For a detailed description of the terminal 100 updating the first information, see Fig.14 Step S1406 in .

[0869] After updating the value of the first information, the terminal 100 can receive the user's Fig.15F In response to the input, the terminal 100 may send a data packet including the original data input by the user (i.e., the data displayed in the information editing bar 1533) to the satellite network device 200. The information editing bar 1533 may display the text information "X+i" input by the user. Specifically, the detailed description of the terminal 100 sending a data packet to the satellite network device 200 can be found in the above Fig.14 Step S1407 and step S1408 in .

[0870] The terminal 100 receives the user's Fig.15F After the input of the sending control 1532 is input, the terminal 100 may also display the following Figure 15GThe information box 1561 and the sending prompt 1562 shown in the figure. The information box 1561 can be used to display the content of the satellite message that the terminal 100 has sent to the satellite network device 200. Here, the information box 1561 displays "X+i". The sending prompt 1562 can be used to prompt the user terminal 100 to send the content displayed in the information box 1561 to the satellite network device 200. For a detailed description of the information details interface 1530, please refer to Fig.15D The illustrated embodiments will not be described in detail here.

[0871] After receiving the successful application receipt, the terminal 100 may display the following information: Fig.15H The success prompt message 1571 is shown. The success prompt message 1571 can be used to prompt the user terminal 100 to successfully send the content in the information box 1561 to the recipient.

[0872] Next, the abnormal situations that may occur in the embodiments of the present application are introduced.

[0873] 1. Abnormal situation of packet loss.

[0874] When a sending device sends a data packet to a receiving device, and the receiving device does not receive the data packet from the sending device, it does not affect the transmission of the next data packet between the sending device and the receiving device. Fig.16A As shown:

[0875] S1601, after the sending device generates authentication code A based on information A, it obtains a data packet based on authentication code A and original data. At this time, the value of information A is X.

[0876] S1602: The sending device fails to send a data packet to the receiving device.

[0877] Therein, a data packet is lost during transmission and the receiving device fails to receive the data packet.

[0878] S1603, after generating authentication code A based on information A, the sending device may obtain a data packet based on authentication code A and original data. At this time, the value of information A is X.

[0879] Among them, since the receiving device failed to receive the last data packet sent by the sending device, the receiving device's information B is not updated. And the receiving device does not send a successful application receipt to the sending device, so the value of the sending device's information A is still X.

[0880] S1604: The sending device sends the data packet to the receiving device.

[0881] S1605, the receiving device generates an authentication code B based on the information B and the data packet. At this time, the value of the information B is X.

[0882] S1606: The receiving device determines that the authentication code A is the same as the authentication code B, and the value of the update information B is X+i.

[0883] The receiving device determines that the authentication code A is the same as the authentication code B, and determines that the data packet is received successfully. The receiving device can increase the value of information B by i, that is, update the value of information B to X+i.

[0884] The detailed description of the above steps can be found in the above Fig.11 The embodiments shown will not be described in detail here.

[0885] In this way, when the sending device sends a data packet to the receiving device, the data packet is lost during the sending process and the receiving device fails to receive the data packet. However, since the context information of the sending device and the receiving device is not updated, the transmission of subsequent data packets will not be affected.

[0886] 2. Abnormal situation where application receipt is lost.

[0887] When the sending device sends a data packet to the receiving device, the receiving device successfully receives the data packet and updates the value of information B. The successful application receipt sent by the receiving device to the sending device is lost during the sending process, and the sending device fails to receive the successful application receipt and does not update the value of information A. In this way, the context information of the sending device and the receiving device is inconsistent, which affects the transmission of subsequent data packets. Specifically, Fig. 16B As shown:

[0888] S1611, after the sending device generates authentication code A based on information A, it obtains a data packet based on authentication code A and original data. At this time, the value of information A is X.

[0889] S1612: The sending device sends the data packet to the receiving device.

[0890] S1613, the receiving device generates an authentication code B based on the information B and the data packet. At this time, the value of the information B is X.

[0891] S1614: The receiving device determines that the authentication code A is the same as the authentication code B, and the value of the update information B is X+i.

[0892] The receiving device determines that the authentication code A is the same as the authentication code B, and determines that the data packet is received successfully. The receiving device can increase the value of information B by i, that is, update the value of information B to X+i.

[0893] S1615, the receiving device fails to send a successful application receipt to the sending device.

[0894] The successful application receipt is lost during the sending process, and the sending device fails to receive the successful application receipt.

[0895] S1616, after the sending device generates authentication code A based on information A, it obtains a data packet based on authentication code A and original data. At this time, the value of information A is X.

[0896] Among them, since the sending device fails to receive the successful application receipt sent by the receiving device, it cannot confirm the sending of the previous data packet and cannot update information A. Therefore, the value of information A remains X.

[0897] S1617: The sending device sends the data packet to the receiving device.

[0898] S1618, the receiving device generates an authentication code B based on the information B and the data packet. At this time, the value of the information B is X+i.

[0899] S1619: The receiving device determines that authentication code A and authentication code B are different.

[0900] The receiving device determines that the authentication code A and the authentication code B are different, and determines that the data packet reception fails.

[0901] The detailed description of the above steps can be found in the above Fig.11 The embodiments shown will not be described in detail here.

[0902] In this way, when the sending device sends a data packet to the receiving device, the receiving device successfully receives the data packet, updates the value of information B, and sends a successful application receipt to the sending device. However, since the sending device fails to receive the successful application receipt, the sending device's information A is not updated, so information A and information B are different, affecting the transmission of subsequent data packets.

[0903] Therefore, in order for the sending device and the receiving device to be able to transmit subsequent data packets after the information A and the information B are inconsistent, the sending device and the receiving device may reset the values ​​of their respective context information, so that the sending device and the receiving device may continue to transmit data packets.

[0904] In a possible implementation, when the receiving device determines that the data packet reception fails, the information B can be reset to a preset initial value. After receiving the failed application receipt, the sending device can also reset the information A to a preset initial value. In this way, when the information A and the information B are out of sync, the values ​​of the information A and the information B can be adjusted to the same value, and the sending device and the receiving device can continue to transmit the data packet. For example, Fig.17A As shown:

[0905] S1701, after the sending device generates authentication code A based on information A, it obtains a data packet based on authentication code A and original data. At this time, the value of information A is X.

[0906] S1702: The sending device sends a data packet to the receiving device.

[0907] S1703, the receiving device generates an authentication code B based on the information B and the data packet. At this time, the value of the information B is Y.

[0908] Where X and Y are different.

[0909] S1704: The receiving device determines that the authentication code A is different from the authentication code B, and the value of the update information B is Z.

[0910] The receiving device can determine the reception status of the data packet by comparing whether the authentication code A is the same as the authentication code B. The receiving device determines that the authentication code A is different from the authentication code B, and determines that the data packet has failed to be received.

[0911] The receiving device can adjust the value of information B to a preset initial value Z.

[0912] S1705: The receiving device sends a failed application receipt to the sending device.

[0913] After determining that the data packet has failed to be received, the receiving device may generate an application receipt indicating the failure to receive the data packet (ie, a failed application receipt). The receiving device may send the failed application receipt to the sending device.

[0914] S1706, the value of sending device update information A is Z.

[0915] After receiving the failed application receipt, the sending device confirms that the data packet has failed to be sent, and updates the value of information A to Z. The context information of the sending device and the receiving device are adjusted to the same value.

[0916] However, when the sending device does not receive the failed application receipt sent by the receiving device, the values ​​of information A and information B are still different. Therefore, in a possible implementation, when the receiving device determines that the received data packet fails, it can only send the failed application receipt to the sending device without changing the value of information B. After receiving the failed application receipt, the sending device can reset information A to a preset initial value. The sending device can also send a preset initial value to the receiving device, and the receiving device can adjust the value of information B to the preset initial value after receiving the preset initial value. For example, Fig. 17B As shown:

[0917] S1711, after the sending device generates authentication code A based on information A, it obtains a data packet based on authentication code A and original data. At this time, the value of information A is X.

[0918] S1712, the sending device sends the data packet to the receiving device.

[0919] S1713, the receiving device generates an authentication code B based on the information B and the data packet. At this time, the value of the information B is Y.

[0920] Where X and Y are different.

[0921] S1714: The receiving device determines that authentication code A and authentication code B are different.

[0922] The receiving device can determine the reception status of the data packet by comparing whether the authentication code A is the same as the authentication code B. The receiving device determines that the authentication code A is different from the authentication code B, and determines that the data packet has failed to be received.

[0923] S1715, the receiving device sends a failed application receipt to the sending device.

[0924] After determining that the data packet has failed to be received, the receiving device may generate an application receipt indicating the failure to receive the data packet (ie, a failed application receipt). The receiving device may send the failed application receipt to the sending device.

[0925] S1716, the value of sending device update information A is Z.

[0926] After receiving the failed application receipt, the sending device confirms that the data packet has failed to be sent and updates the value of information A to Z.

[0927] S1717, the sending device sends the value of information A to the receiving device.

[0928] For example, the sending device may encapsulate the value of information A into a data packet, and then send the data packet including the value of information A to the receiving device.

[0929] That is, during the inbound process, the terminal 100 may send the third information to the satellite network device 200 after adjusting the value of the first information to a preset value, wherein the value of the third information is the same as the adjusted value of the first information.

[0930] During the outbound process, the satellite network device 200 may send the seventh information to the terminal 100 after adjusting the value of the sixth information to a preset value, wherein the value of the seventh information is the same as the adjusted value of the sixth information.

[0931] Optional, the default value is the initial value.

[0932] S1718, the value of the received device update information B is Z.

[0933] After receiving the value of information A, the receiving device can adjust the value of information B to be the same as information A, that is, adjust the value of information B to a preset initial value Z.

[0934] However, when the attack terminal intercepts the preset initial value and repeatedly sends the preset initial value to the receiving device, the receiving device will always reset the value of the receiving device's information B, causing the sending device and the receiving device to be unable to communicate normally. In addition, since the inconsistency between information A and information B is mostly caused by the sending device not receiving the successful application receipt sent by the receiving device, the value of information B is greater than the value of information A by the preset value.

[0935] Therefore, in a possible implementation, the receiving device does not adjust the value of information B after failing to receive the data packet, and the sending device can add a preset value to the value of information A after receiving the failed application receipt. In this way, the sending device can adjust the value of information A by itself after receiving the application receipt, so that information A and information B are the same.

[0936] It should be noted that, here, the number of data packets successfully sent by the sending device may be the sum of the number of successful application receipts received by the sending device and the number of unreceived successful application receipts determined by the sending device based on failed application receipts.

[0937] ...

Claims

1. A transmission method, characterized in that: include: The third device receives at least one second data packet sent by the first device; The third device generates a first data packet based on the at least one second data packet; The third device sends the first data packet to the second device; The third device sends second information or fourth information to the second device, where the second information or the fourth information is receiving time information, and the receiving time information is used by the second device to generate a second authentication code, and the second authentication code is used to determine the receiving status of the first data packet.

2. The method according to claim 1, characterized in that The receiving time information is used to indicate the time corresponding to when the third device receives the first data packet in at least one second data packet.

3. The method according to claim 1 or 2, characterized in that: The third device receives at least one second data packet sent by the first device, including: Under a first transmission system, the third device receives at least one second data packet sent by the first device, wherein the first transmission system is a satellite transmission system.

4. The method according to any one of claims 1 to 3, characterized in that: The first data packet further includes first indication information, where the first indication information is used to indicate a first message ID of the first data packet, or the first indication information is used to indicate a first count value or a first sequence number of the first data packet.

5. The method according to claim 4, characterized in that The first indication information is used by the second device to send receiving status indication information to the first device under a second transmission system, and the second transmission system is a cellular transmission system or a wireless local area network WLAN transmission system.

6. A transmission method, characterized in that: include: The second device receives a first data packet from a third device, wherein the first data packet is generated by the third device based on at least one second data packet from the first device; The second device receives the second information or the fourth information from the third device, the second information or the fourth information is reception time information, the reception time information is used by the second device to generate a second authentication code, and the second authentication code is used to determine the reception status of the first data packet.

7. The method according to claim 6, characterized in that The receiving time information is used to indicate the time corresponding to when the third device receives the first data packet in at least one second data packet.

8. The method according to claim 6 or 7, characterized in that: The first data packet includes a first authentication code, wherein the first authentication code is generated based on a first secret key, a data packet of the first data packet, and sending time information, The first secret key is obtained by negotiation between the first device and the second device in a second transmission system, and the second transmission system is a cellular transmission system or a wireless local area network (WLAN) transmission system.

9. The method according to claim 8, characterized in that The sending time information is used to indicate the time when the first device sends the first data packet.

10. The method according to claim 9, characterized in that The time when the first device sends the first data packet is the time when the application AP layer of the first device sends the first data packet to the message data convergence MDCP layer, or the time estimated by the first device to send the first data packet to the second device.

11. According to the method according to any one of claims 8-10, the second device determines the reception status of the first data packet based on the first authentication code and the second authentication code.

12. The method according to any one of claims 6 to 11, characterized in that: The first data packet further includes first indication information, where the first indication information is used to indicate a first message ID of the first data packet, or the first indication information is used to indicate a first count value or a first sequence number of the first data packet.

13. The method according to claim 12, characterized in that The first indication information is used by the second device to send receiving status indication information to the first device under a second transmission system, and the second transmission system is a cellular transmission system or a wireless local area network WLAN transmission system.

14. A transmission method, characterized in that: include: The first device sends at least one second data packet to the third device, where the at least one second data packet is used by the third device to generate a first data packet sent to the second device; The first data packet includes a first authentication code, and the first authentication code is used to determine a reception status of the first data packet.

15. The method according to claim 14, characterized in that: The first device generates the first authentication code based on the first secret key, the data packet of the first data packet, and the sending time information, The first secret key is obtained by negotiation between the first device and the second device under the second transmission system, and the second transmission system is a cellular transmission system or a wireless local area network WLAN transmission system.

16. The method according to claim 15, characterized in that The sending time information is used to indicate the time when the first device sends the first data packet.

17. The method according to claim 16, characterized in that The time when the first device sends the first data packet is the time when the application AP layer of the first device sends the first data packet to the message data convergence MDCP layer, or the time estimated by the first device to send the first data packet to the second device.

18. The method according to any one of claims 14 to 17, characterized in that The first device sends at least one second data packet to the third device, including: Under a first transmission system, the first device sends the at least one second data packet to the third device, wherein the first transmission system is a satellite transmission system.

19. The method according to any one of claims 14 to 18, characterized in that The first data packet further includes first indication information, where the first indication information is used to indicate a first message ID of the first data packet, or the first indication information is used to indicate a first count value or a first sequence number of the first data packet.

20. The method according to claim 19, characterized in that The first indication information is used by the second device to send receiving status indication information to the first device under the second transmission system.

21. A communication device, characterized in that: The communication device is configured to perform the method according to any one of claims 1-20.

22. A computer-readable storage medium, wherein instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 20.

23. A computer program product, characterized in that When the computer program product is run on a computer, the computer is caused to perform the method according to any one of claims 1 to 20.

Citation Information

Cited By

  • Field data transmission method and system based on Internet of Things

    CN119629167A