Communication method, communication apparatus and storage medium
By receiving instructions from network devices, terminal devices send target data packets or service data packet segments, which solves the problem of process failure caused by limited resources or coverage issues during data transmission of A-IoT terminal devices, and improves the success rate of business processes.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2025-07-31
- Publication Date
- 2026-05-15
AI Technical Summary
During data transmission, data packets may be lost or fail to transmit due to limited resources or coverage issues in environmental IoT (A-IoT) terminal devices, leading to business process failures.
By receiving transmission or re-trigger indication information sent by network devices, terminal devices send target data packets or service data packet segments to ensure data packet integrity and success rate.
It improves the success rate of A-IoT business processes and avoids business process failures caused by segmented data packet loss or transmission failure.
Smart Images

Figure CN2025111705_15052026_PF_FP_ABST
Abstract
Description
A communication method, communication device and storage medium
[0001] This application claims priority to Chinese Patent Application No. 202411589524.9, filed with the State Intellectual Property Office of China on November 7, 2024, entitled "A Communication Method, Communication Device and Storage Medium", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of Internet of Things (IoT) communication technology, and in particular to a communication method, communication device, and storage medium. Background Technology
[0003] Ambient Internet of Things (A-IoT) terminal devices refer to intelligent devices that connect physical environment-related equipment to the internet through embedded systems, sensors, and communication technologies. These devices enable the collection, transmission, processing, and analysis of environmental data, as well as interaction and collaborative work with other devices or systems. Due to their advantages such as self-powered operation, low power consumption, low cost, ease of deployment, and wide applicability, A-IoT terminal devices are now widely used in daily production and life.
[0004] In A-IoT (Artificial Intelligence of Things) services, A-IoT devices may fail to send service data packets due to limited resources or coverage issues. For example, service data transmission may employ a segmented transmission method, dividing an original data packet into several segments and sending them in segments. If one or more segments are lost or fail to transmit during data transmission, the receiving end will be unable to or will incorrectly recover the service data packet, leading to the failure of the A-IoT service process. Summary of the Invention
[0005] This application provides a communication method, communication device, and storage medium, with the aim of improving the success rate of A-IoT business processes.
[0006] To achieve the above objectives, this application provides the following technical solution:
[0007] The first aspect of this application provides a communication method applied to an environmental Internet of Things (A-IoT) terminal device. The method includes: receiving transmission indication information or re-trigger indication information sent by a network device; wherein the transmission indication information is used to indicate the retransmission of a target data packet, and the re-trigger indication information is used to indicate the transmission of a target service data packet, and the target data packet is a segmented data packet of the target service data packet; sending the target data packet based on the transmission indication information, or sending the target service data packet based on the re-trigger indication information.
[0008] In this embodiment, the target service data packet is the original data packet related to the service generated by the A-IoT terminal device, and the target data packet is a segmented data packet of the target service data packet. For example, the target service data packet is a response data packet of the A-IoT Command, which is divided into four segments, namely segment 1, segment 2, segment 3 and segment 4. The target data packet can be any one of the segments 1, 2, 3 and 4.
[0009] This application does not specify an A-IoT terminal device for the environment; the terminal device can also be called an environmental IoT terminal or an environmental IoT device, and this application does not limit it. Therefore, in this application embodiment, the A-IoT terminal device can send corresponding service data packets or service data packet segments based on the transmission indication information or re-trigger indication information sent by the network device. This avoids service process failure due to the loss or transmission failure of one or more segmented data packets by the network device, thereby improving the success rate of the A-IoT service process.
[0010] Unless otherwise specified, "A-IoT terminal device" in this application may refer to the A-IoT terminal device itself, a component within the A-IoT terminal device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the transmitting end's functions. This application does not limit the entity executing the communication method.
[0011] In one optional implementation, the transmission indication information includes at least one of the following: location information of received segmented data packets, location information of expected received segmented data packets, range of location information of expected received segmented data packets, number or identifier of received segmented data packets, identifier of expected received segmented data packets, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet. In this embodiment, the terminal device can determine the next segmented data packet to be sent based on the transmission indication information indicated by the network device, thereby meeting the network device's service data reception requirements and ensuring the success rate of the A-IoT service process.
[0012] The location information of the received segmented data packets can indicate the size of the segmented data packets already received by the network device, facilitating the terminal device to determine the next segmented data packet to be sent based on this location information. It is understood that the location information of the received segmented data packets can be indicated by the size of the received segmented data packets, by the buffer address information of the received segmented data packets, or by other information that can indicate the size of the received segmented data packets; this embodiment does not impose any limitations.
[0013] The location information of the segmented data packets to be received can indicate the starting location information of the segmented data packets that the network device expects to receive, so that the terminal device can determine the next segmented data packet to be sent based on the location information.
[0014] The expected range of the segmented data packets to be received can indicate the start and end positions of the segmented data packets that the network device expects to receive, facilitating the terminal device to determine the next segmented data packet to be sent based on this position information. It should be noted that if the expected range of the segmented data packets to be received exceeds the size of the data to be transmitted or the remaining data in the terminal device's buffer, it can optionally be determined based on the actual amount of data remaining in the terminal device. Optionally, the terminal device can also construct a data packet of the required size by padding data. This application does not impose any limitations.
[0015] The number or identifier of the received segmented data packets can indicate the segmented data packets that the network device has received. The terminal device can determine the next segmented data packet to be sent based on the number or identifier of the received segmented data packets. The identifier can be the sequence number, serial number, or other identifier that can indicate and distinguish the identity of the segmented data packets, and this application does not limit it.
[0016] The identifier of the segmented data packet to be received can indicate the segmented data packet that the network device expects to receive. The terminal device can determine the next segmented data packet to be sent by using the identifier of the segmented data packet to be received. The identifier can be the sequence number, number, or other identifier that can indicate and distinguish the identity of the segmented data packet, and this application does not limit it.
[0017] The new transmission indicator or retransmission indicator can indicate whether the data transmission currently indicated by the network device is for newly transmitted data or retransmitted data. When the transmission indication information includes a new transmission indicator, the terminal device sends new or previously untransmitted segmented data packets. When the transmission indication information includes a retransmission indicator, the terminal device retransmits previously transmitted segmented data packets or sends data packets containing part or all of the information of previously transmitted segmented data packets, i.e., retransmits segmented data packets. It should be noted that this application does not limit the form of the new transmission indicator and retransmission indicator; for example, a New Data Indicator (NDI) can be used for indication.
[0018] The transaction ID and session ID corresponding to the target data packet can indicate the service or process corresponding to the segmented data packet that the network device expects to receive. The terminal device can determine the next segmented data packet to be sent based on the transaction ID and / or session ID. For example, the terminal device can determine whether the target data packet and the previously sent data packet belong to the same service transmission process based on the transaction ID of the target data packet and the transaction ID of the previously sent data packet. If the two belong to the same service transmission process and the segmented data packet of the service process has not been sent in the cache, the next segmented data packet to be sent can be determined from the cache.
[0019] In one optional implementation, the transmission indication information is sent based on at least one of the following: a Media Access Control (MAC) Control Element (CE), a Media Access Control (MAC) Protocol Data Unit (PDU), physical layer control signaling, or layer one control signaling. In this embodiment, the network device can send the transmission indication information based on MAC CE, MAC PDU, physical layer control signaling, or layer one control signaling, providing a method for sending transmission indication information.
[0020] Optionally, when the network device sends the transmission indication information, it may also include the target data packet transmission resources allocated to the terminal device and / or the trigger message of the service data packet.
[0021] In one optional implementation, receiving transmission indication information sent by the network device includes: a first protocol layer receiving the transmission indication information; the method further includes: a second protocol layer receiving the transmission indication information sent by the first protocol layer, and determining the target data packet based on the transmission indication information; wherein, the first protocol layer is used for sending and receiving the target data packet, the second protocol layer is an upper protocol layer of the first protocol layer, and the second protocol layer is used to implement at least one of the following functions: generating the target service data packet, storing sent segmented data packets, storing segmented data packets to be retransmitted, retransmitting the target data packet, and performing segmentation processing on the target service data packet.
[0022] The terminal device includes a first protocol layer and a second protocol layer. The first protocol layer can be the terminal device's Access-Stratum (AS) layer, such as the Media Access Control (MAC) layer. The first protocol layer is responsible for receiving and sending data packets. The second protocol layer is a protocol layer above the first protocol layer. The second protocol layer is used to generate service data packets, store sent segmented data packets, store segmented data packets to be retransmitted, retransmit target data packets, and perform segmentation processing on target service data packets. In this embodiment, the first protocol layer of the terminal device transmits the received transmission indication information to the second protocol layer. The second protocol layer determines the target data packet for transmission based on the transmission indication information and sends it to the first protocol layer, which then sends the target data packet. It should be noted that after receiving the target data packet, the first protocol layer can also encapsulate the data packet according to its own requirements, such as adding a first protocol layer header or control information. In this embodiment, the data packet processed by the first protocol layer can also be referred to as the target data packet.
[0023] It should be noted that when the transmission indication information includes multiple pieces of information, the first protocol layer may send only the transmission indication information related to determining the target data packet to the second protocol layer, such as the location information range of the segmented data packets to be received, so that the second protocol layer can generate the target data packet based on this part of the transmission indication information, without having to send all the information in the transmission indication information to the second protocol layer, thereby reducing data interaction within the terminal device and improving communication efficiency.
[0024] In one alternative implementation, in this embodiment of the application, the first protocol layer of the terminal device can store service data packets. The first protocol layer directly determines the target data packet for transmission based on the received transmission indication information and sends the target data packet.
[0025] In one optional implementation, the target data packet includes update indication information, which indicates that the target service data packet has been updated. In this embodiment, the target data packet sent by the terminal device may carry update indication information, which indicates that the target service data packet has been updated. The network device can discard data packets previously received during the target service data packet reception cycle and re-receive the updated target data packet. It should be noted that the update indication information is sent from the second protocol layer to the first protocol layer and then from the first protocol layer to the network device.
[0026] In one optional implementation, the update indication information includes at least one of the following: an update indication for the target data packet, an invalidation indication for a received data packet, and a discard indication for a received data packet. In this embodiment, the update indication information may include an update indication for the target data packet, an invalidation indication for a received data packet, or a discard indication for a received data packet. Therefore, when the network device receives the update indication information, it can determine that the service data packet has been updated and proceed with the processing flow of the updated data packet.
[0027] In an optional implementation, before receiving the transmission indication information sent by the network device, the method further includes: reporting segmentation capability, wherein the segmentation capability is used to indicate that the terminal device supports data packet segmentation transmission. In this embodiment, the terminal device can report segmentation capability to the network device so that the network device can know whether the terminal device supports data packet segmentation transmission capability. For example, the segmentation capability can be reported through a first message MSG1, or through a third message MSG3, or through other messages; this embodiment does not limit the reporting.
[0028] It should be noted that, in addition to determining whether a terminal device has the ability to send data packets in segments by receiving the segmentation capability reported by the terminal device, network devices can also obtain the segmentation capability of the terminal device from the core network (CN) or application function (AF), providing multiple ways to obtain the segmentation capability of the terminal device.
[0029] In an optional implementation, the method further includes: sending the location information of the target data packet; the location information of the target data packet includes at least one of the following: segmentation indication information of the target data packet, location information of the target data packet within the target service data packet, location information of the target data packet in the cache, and an identifier of the target data packet; wherein, the segmentation indication information of the target data packet is used to indicate whether the target data packet belongs to a segmented data packet and / or to indicate the segmentation type of the target data packet. In this embodiment, the terminal device can send the location information of the target data packet, that is, the terminal device can send the location information of the target data packet at the same time as sending the target data packet, so as to facilitate the network device to confirm the location information of the received data packet. The location information may include at least one of the following:
[0030] The segmentation indication information of the target data packet can be used to indicate whether the target data packet is a segmented data packet or a complete target service data packet, and can indicate the segmentation type of the target data packet when it is a segmented data packet, such as: the first segment, the middle segment, or the end segment.
[0031] The location information of the target data packet within the target service data packet can indicate the position of the segmented data packet within the target service data packet. For example, it can be indicated by a position pointer, or by the distance between the first bit or byte of the current target data packet and the first bit or byte of the target service data packet. For example, it can also be indicated by a pre-agreed distance unit, which is a multiple of the bit or byte size or the unit size, such as 8 bits, 16 bits, the minimum transport block size, etc.
[0032] The location information of the target data packet in the cache can indicate the position of the target data packet in the cache data corresponding to the target service data packet. For example, it can be indicated by the address of the target data packet in the cache or the cache pointer.
[0033] The identifier of the target data packet can indicate the location information of the target data packet in the target service data packet. For example, it can be indicated by the number or sequence number of the target data packet, but this application does not limit it.
[0034] It should be noted that the location information of the target data packet can be transmitted simultaneously or sequentially with the target data packet in the initial transmission process, or simultaneously or sequentially with the target data packet in the re-trigger transmission process. This application embodiment does not limit this.
[0035] In an optional implementation, the method further includes: receiving a first data packet sent by the network device and the location information of the first data packet, wherein the first data packet is a segmented data packet of a first service data packet; the location information of the first data packet includes at least one of the following: segmentation indication information of the first data packet, location information of the first data packet in the first service data packet, location information of the first data packet in the cache, and an identifier of the first data packet; wherein the segmentation indication information of the first data packet is used to indicate whether the first data packet belongs to a segmented data packet and / or to indicate the segmentation type of the first data packet. In this embodiment, the network device can also send data packets and the corresponding location information of the data packets to the A-IoT terminal device. The description of the location information is similar to that of the location information sent by the terminal device to the network device, and will not be repeated here. Thus, the terminal device can know the location information of the received data packets while receiving the data packets sent by the network device, which facilitates the terminal device in determining the next data packet to be received and how each data packet segment should be constructed into a complete service data packet. It should be noted that the location information of the first data packet in the cache can be determined based on the application function (AF) of the network device.
[0036] In one optional implementation, the re-triggering indication information includes at least one of the following: the message type of the service request message, the message identifier of the service request message, the number of re-triggering attempts, the reason for re-triggering, and the identifier of the terminal device; wherein, the service request message is a message used by the network device to request the terminal device to send the service data packet, and the service request message includes the re-triggering indication information. In this embodiment, the network device can send a service request message including re-triggering indication information to the terminal device. The re-triggering indication information is used to indicate the re-triggering of the current service transmission process, and the re-triggering indication information includes at least one of the following:
[0037] The message type of the business request message indicates the re-triggering process, or it indicates the re-triggering process through different message types, such as through different sending methods like first protocol layer messages or first protocol layer control units.
[0038] The message identifier for a business request message is indicated by different identifiers, such as a transaction ID or a session ID. If the message identifier is the same as the previously received message identifier, it indicates a re-triggering process.
[0039] The number of re-triggers can be included in the re-trigger indication information, indicating how many times the business request message has been re-triggered.
[0040] The re-triggering reason can be included in the re-triggering indication information, which is used to indicate why the service request message is re-triggered. For example, the re-triggering reason can include: data packet reception failure, segmented data packet loss, receiving an instruction from a higher-level protocol layer, etc., which are not limited in this embodiment.
[0041] The terminal device identifier may be included in the re-trigger indication information to indicate whether the terminal device needs to respond to the re-trigger indication information or should not respond to the re-trigger indication information.
[0042] In one optional implementation, the re-triggering indication information further includes at least one of the following: location information of received data packets, location information of expected received data packets, range information of expected received data packets, number or identifier of received data packets, identifier of expected received data packets, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet. In this embodiment, the re-triggering indication information may also include information about currently received data packets. The terminal device can combine this information to selectively retransmit partial segments of the target service data packet instead of retransmitting the entire target service data packet when retransmitting it, thereby improving the targeting and efficiency of retransmitting the target service data packet. It should be noted that the description of this information can be found in the description of the transmission indication information in the first aspect of this application, and will not be repeated here.
[0043] In one optional implementation, sending the target service data packet based on the re-trigger indication information includes: sending the target service data packet based on re-trigger conditions and the re-trigger indication information; wherein, the re-trigger conditions include: the service transmission process is not completed, or, the terminal device matches the re-trigger indication information; wherein, the service transmission process is the transmission process of the target service data packet. In this embodiment, when sending the target service data packet based on the re-trigger indication information, it can be determined whether the terminal device meets the preset re-trigger conditions, and the sending of the target service data packet based on the re-trigger indication information is performed only when the preset re-trigger conditions are met.
[0044] It is understandable that the service transmission process is the transmission process of the target service data packet. If the service transmission process is not completed, it means that the transmission process of the target service data packet has not ended. Under the condition that the service transmission process is not completed, the transmission of the target service data packet is retried based on the retriggered indication information.
[0045] It is understandable that the re-trigger indication information can indicate the identifier of the terminal device. When the identifier of the terminal device matches the identifier of the terminal device indicated in the re-trigger indication information, the target service data packet is sent based on the re-trigger indication information.
[0046] In one optional implementation, the incomplete service transmission process includes at least one of the following: the service transmission process has not yet been executed, the target service data packet has not been completely transmitted, no receipt confirmation indication for the target data packet has been received, the message identifier of the service request message is the same as the message identifier of the previously received service request message, and the service request message includes a re-trigger indication. In this embodiment, the incomplete service transmission process can be determined by the following conditions:
[0047] The service transmission process has not yet been executed, and the terminal device has not yet sent any data packets corresponding to the service transmission process.
[0048] The target service data packet has not been completely sent. The terminal device has sent part of the data packet corresponding to the service sending process. For example, there are still some segmented data packets corresponding to the service sending process that have not been sent.
[0049] The terminal device sent the target data packet but did not receive a reception confirmation instruction from the network device, meaning the service transmission process has not yet ended.
[0050] The message identifier of the service request message is the same as the message identifier of the previously received service request message. The message identifiers of the service request messages received by the terminal device before and after are the same, which means that the network device instructs the terminal device to re-trigger the transmission of the target service data packet.
[0051] The service request message includes a re-trigger instruction, which the network device uses to explicitly instruct the terminal device to re-trigger the transmission of the target service data packet.
[0052] In one optional implementation, receiving the re-trigger indication information sent by the network device includes: a first protocol layer receiving the re-trigger indication information; the method further includes: a second protocol layer receiving the re-trigger indication information sent by the first protocol layer, and determining a data packet to be transmitted based on the re-trigger indication information; wherein the data packet to be transmitted is the target service data packet or a segmented data packet of the target service data packet, the first protocol layer is used for sending and receiving the target data packet, the second protocol layer is an upper protocol layer of the first protocol layer, and the second protocol layer is used to implement at least one of the following functions: generating the target service data packet, storing the sent segmented data packets, storing the segmented data packets to be retransmitted, retransmitting the target data packet, and performing segmentation processing on the target service data packet.
[0053] The terminal device includes a first protocol layer and a second protocol layer. The first protocol layer can be the terminal device's Access-Stratum (AS) layer, such as the Media Access Control (MAC) layer. The first protocol layer is responsible for receiving and sending data packets. The second protocol layer is a protocol layer above the first protocol layer. The second protocol layer is used to generate service data packets, store sent segmented data packets, store segmented data packets to be retransmitted, retransmit target data packets, and perform segmentation processing on target service data packets. In this embodiment, the first protocol layer of the terminal device transmits the received re-triggering indication information to the second protocol layer. The second protocol layer determines the data packet to be transmitted based on the triggering indication information and sends it to the first protocol layer, which then sends the data packet to be transmitted. It should be noted that after receiving the data packet to be transmitted, the first protocol layer can also encapsulate the data packet according to its own requirements, such as adding a first protocol layer header or control information. In this embodiment, the data packet processed by the first protocol layer can also be referred to as the data packet to be transmitted.
[0054] A second aspect of this application provides a communication method applied to a network device. The method includes: sending transmission indication information or re-trigger indication information to enable a terminal device to send a target data packet based on the transmission indication information, or to send a target service data packet based on the re-trigger indication information; wherein the transmission indication information is used to indicate the retransmission of the target data packet, the re-trigger indication information is used to indicate the transmission of the target service data packet, the target data packet is a segmented data packet of the target service data packet, and the terminal device is an A-IoT terminal device. In this embodiment, the network device can send transmission indication information or re-trigger indication information to the terminal device, enabling the terminal device to send corresponding service data packets or service data packet segments based on the transmission indication information or re-trigger indication information, thereby avoiding service process failure due to the loss or transmission failure of one or more segmented data packets and improving the success rate of A-IoT service processes.
[0055] Unless otherwise specified, the term "network device" in this application may refer to the network device itself, a component within the network device (e.g., a processor, chip, or chip system), or a logic module or software capable of implementing all or part of the transmitting end's functions. This application does not limit the entity executing the communication method.
[0056] In one optional implementation, the transmission indication information includes at least one of the following: location information of received segmented data packets, location information of expected received segmented data packets, range of location information of expected received segmented data packets, number or identifier of received segmented data packets, identifier of expected received segmented data packets, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet. In this embodiment, the terminal device can determine the next segmented data packet to be sent based on the transmission indication information indicated by the network device, thereby meeting the network device's service data reception requirements and ensuring the success rate of the A-IoT service process.
[0057] In one optional implementation, the target data packet includes update indication information, which indicates that the target service data packet has been updated. In this embodiment, the target data packet sent by the terminal device may carry update indication information, which indicates that the target service data packet has been updated. The network device can discard data packets previously received during the target service data packet reception cycle and re-receive the updated target data packet. It should be noted that the update indication information is sent from the second protocol layer to the first protocol layer and then from the first protocol layer to the network device.
[0058] In one optional implementation, the update indication information includes at least one of the following: an update indication for the target data packet, an invalidation indication for a received data packet, and a discard indication for a received data packet. In this embodiment, the update indication information may include an update indication for the target data packet, an invalidation indication for a received data packet, or a discard indication for a received data packet. Therefore, when the network device receives the update indication information, it can determine that the service data packet has been updated and proceed with the processing flow of the updated data packet.
[0059] In an optional implementation, the method further includes: obtaining the segmentation capability of the terminal device, wherein the segmentation capability is used to indicate whether the terminal device supports data packet segmentation transmission. In this embodiment, the network device obtains whether the terminal device supports data packet segmentation transmission. For example, the terminal device can report its segmentation capability to the network device, such as through a first message MSG1, a third message MSG3, or other messages; this embodiment does not limit the scope. For example, the network device can also obtain the terminal device's segmentation capability from the core network (CN) or application function (AF), providing multiple implementation methods for obtaining the terminal device's segmentation capability.
[0060] In an optional implementation, the method further includes: receiving location information of the target data packet sent by the terminal device; the location information of the target data packet includes at least one of the following: segmentation indication information of the target data packet, location information of the target data packet within the target service data packet, location information of the target data packet in the cache, and an identifier of the target data packet; wherein the segmentation indication information of the target data packet is used to indicate whether the target data packet belongs to a segmented data packet and / or to indicate the segmentation type of the target data packet. In this embodiment, the terminal device can send the location information of the target data packet, that is, the terminal device can send the location information of the target data packet at the same time as sending the target data packet, so as to facilitate the network device to confirm the location information of the received data packet. The description of the location information is similar to the location information sent by the terminal device to the network device in the first aspect of this application, and will not be repeated here.
[0061] It should be noted that the location information of the target data packet can be transmitted simultaneously or sequentially with the target data packet in the initial transmission process, or simultaneously or sequentially with the target data packet in the re-trigger transmission process. This application embodiment does not limit this.
[0062] In an optional implementation, the method further includes: sending a first data packet and its location information, wherein the first data packet is a segmented data packet of a first service data packet; the location information of the first data packet includes at least one of the following: segmentation indication information of the first data packet, location information of the first data packet in the first service data packet, location information of the first data packet in the cache, and an identifier of the first data packet; wherein the segmentation indication information of the first data packet is used to indicate whether the first data packet belongs to a segmented data packet and / or to indicate the segmentation type of the first data packet. In this embodiment, the network device can also send data packets and their corresponding location information to the A-IoT terminal device. The description of the location information is similar to that of the location information sent by the terminal device to the network device in the first aspect of this application, and will not be repeated here. Thus, the terminal device can obtain the location information of the received data packet while receiving the data packet sent by the network device, which facilitates the terminal device in determining the next data packet to be received and how each data packet segment should be constructed into a complete service data packet.
[0063] In an optional implementation, the method further includes: delivering the received segmented data packets and an incomplete reception indication to the core network or application layer based on data delivery conditions; wherein the data delivery conditions include: not receiving the target data packet within a preset time period, and the target data packet being the last segmented data packet of the target service data packet, or the received data packets already meeting the transmission service requirements; the incomplete reception indication includes at least one of the following: the data volume of the target service data packet, the data volume of the unreceived data packets, the proportion of the unreceived data packets, the data volume of the received data packets, and the proportion of the received data packets. In this embodiment, if the network device has not received the corresponding segmented data packet, for example, not receiving the last segmented data packet of the target service data packet, or if the network device determines that the currently received segmented data packets already meet the service requirements, such as decoding requirements or transmission requirements, then the network device directly delivers the received segmented data packets to the core network or application layer, while indicating that the data packets are not completely received. The incomplete reception indication can indicate the complete data volume of the target service data packet, the data volume and proportion of the unreceived data packets, the data volume and proportion of the received data packets, and other information.
[0064] Understandably, given the strong processing capabilities of the core network and application layer, even if some data packets are not received, the core network and application layer can still recover or correctly decode the service data. Submitting the received data under the condition of data delivery can improve the efficiency of the service processing mechanism and ensure the normal flow of the service processing process.
[0065] In one optional implementation, the re-triggering indication information includes at least one of the following: the message type of the service request message, the message identifier of the service request message, the number of re-triggering attempts, the reason for re-triggering, and the identifier of the terminal device; wherein, the service request message is a message used by the network device to request the terminal device to send the service data packet, and the service request message includes the re-triggering indication information. In this embodiment, the network device may send a service request message including re-triggering indication information to the terminal device. The re-triggering indication information is used to indicate the re-triggering of the current service transmission process. The description of the re-triggering indication information is the same as that in the first aspect of this application, and will not be repeated here.
[0066] In one optional implementation, the re-triggering indication information further includes at least one of the following: location information of received data packets, location information of expected received data packets, range information of expected received data packets, number or identifier of received data packets, identifier of expected received data packets, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet. In this embodiment, the re-triggering indication information may also include information about currently received data packets. The terminal device can combine this information to selectively retransmit partial segments of the target service data packet instead of retransmitting the entire target service data packet when retransmitting it, thereby improving the targeting and efficiency of retransmitting the target service data packet. It should be noted that the description of this information can be found in the description of the transmission indication information in the first aspect of this application, and will not be repeated here.
[0067] In one optional implementation, sending transmission indication information or re-trigger indication information includes: if the terminal device supports segmented data packet transmission, or has received any segmented data packet sent by the terminal device, sending the transmission indication information based on the data transmission failure of the terminal device; if the terminal device does not support segmented data packet transmission, or has not acquired the segmentation capability of the terminal device, or the number of times the target data packet has not been acquired based on the transmission indication information reaches a preset threshold, sending the re-trigger indication information based on the data transmission failure of the terminal device; if the terminal device supports segmented data packet transmission and has not received any segmented data packet sent by the terminal device, sending the transmission indication information or the re-trigger indication information based on the data transmission failure of the terminal device. In this embodiment, the network device can adaptively send different indication information to achieve business data transmission when it learns of different segmentation capabilities of the terminal device or different data packet transmission scenarios.
[0068] A third aspect of this application provides a communication device, specifically an A-IoT terminal device, the communication device comprising:
[0069] The information receiving module is used to receive transmission indication information or re-trigger indication information sent by the network device; wherein, the transmission indication information is used to indicate the retransmission of the target data packet, and the re-trigger indication information is used to indicate the transmission of the target service data packet, and the target data packet is a segmented data packet of the target service data packet;
[0070] The data sending module is used to send the target data packet based on the transmission indication information, or to send the target service data packet based on the re-trigger indication information.
[0071] A fourth aspect of this application provides a communication device, specifically a network device, comprising:
[0072] An information sending module is used to send transmission indication information or re-trigger indication information, so that the terminal device sends a target data packet based on the transmission indication information, or sends a target service data packet based on the re-trigger indication information; wherein, the transmission indication information is used to indicate the retransmission of the target data packet, the re-trigger indication information is used to indicate the transmission of the target service data packet, the target data packet is a segmented data packet of the target service data packet, and the terminal device is an environmental Internet of Things (A-IoT) terminal device.
[0073] A fifth aspect of this application provides a communication device, comprising: a memory and at least one processor. The memory is used to store a program, and the at least one processor is used to execute the computer program or computer instructions stored in the memory, so that the communication device implements any one of the communication methods provided in the first or second aspect of this application.
[0074] The sixth aspect of this application is a computer storage medium for storing a computer program, which, when executed, is used to implement any one of the communication methods provided in the first or second aspect of this application.
[0075] The seventh aspect of this application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform any of the communication methods described in the first or second aspect above.
[0076] An eighth aspect of this application provides a chip system including a processor for supporting a terminal device or network device in implementing the functions involved in the foregoing aspects, such as transmitting or processing data and / or information involved in the foregoing methods. In one possible design, the chip system further includes a memory for storing program instructions and data necessary for the terminal device or network device. The chip system may be composed of chips or may include chips and other discrete devices.
[0077] It is understood that the beneficial effects of the third to eighth aspects mentioned above can be found in the relevant descriptions of the first or second aspects and any implementation of the first or second aspects, and will not be repeated here. Attached Figure Description
[0078] Figure 1A is a schematic diagram of the system architecture of the communication system provided in an embodiment of this application;
[0079] Figure 1B is a schematic diagram of a data interaction process for an environmental Internet of Things terminal device provided in an embodiment of this application;
[0080] Figure 1C is a schematic diagram of another data interaction process for environmental IoT terminal devices provided in an embodiment of this application;
[0081] Figure 2 is a schematic diagram of the interaction process between a network device and a terminal device provided in an embodiment of this application;
[0082] Figure 3 is a schematic diagram of the location information of a received segmented data packet provided in an embodiment of this application;
[0083] Figure 4 is a schematic diagram of the location information of a segmented data packet to be received according to an embodiment of this application;
[0084] Figure 5 is a schematic diagram of the location information range of a segmented data packet to be received according to an embodiment of this application;
[0085] Figure 6 is a schematic diagram of another interaction process between a network device and a terminal device provided in an embodiment of this application;
[0086] Figure 7 is a schematic diagram of another interaction process between a network device and a terminal device provided in an embodiment of this application;
[0087] Figure 8 is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0088] Figure 9 is a schematic diagram of another communication device provided in an embodiment of this application;
[0089] Figure 10 is a structural example diagram of an electronic device provided in an embodiment of this application;
[0090] Figure 11 is a structural example diagram of another electronic device provided in an embodiment of this application. Detailed Implementation
[0091] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. The terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this application. As used in the specification and appended claims of this application, the singular expressions "a," "an," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the embodiments of this application, "one or more" refers to one, two, or more; "and / or" describes the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.
[0092] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.
[0093] The "multiple" mentioned in the embodiments of this application refers to two or more. It should be noted that in the description of the embodiments of this application, terms such as "first" and "second" are used only for the purpose of distinguishing descriptions and should not be construed as indicating or implying relative importance, nor should they be construed as indicating or implying order.
[0094] The embodiments of this application are applied to communication systems, which can be second-generation (2G) communication systems, third-generation (3G) communication systems, LTE systems, fifth-generation (5G) communication systems, LTE and 5G hybrid architectures, 5G New Radio (5G NR) systems, and new communication systems that will emerge in the future development of communication.
[0095] The communication system includes a first device and a second device. The first device can be a network-side device used to provide network communication functions, sometimes also referred to as a network device or network element. A network device is typically a base station (including functional units of a base station, or a combination of functional units of base stations) or a core network unit. The core network unit can be a functional unit within the core network, including but not limited to Access and Mobility Management Function (AMF) units, Session Management Function (SMF) units, or User Plane Function (UPF) units. A network device can also be a mobile terminal device. The second device can be a device accessing the network, typically a terminal device, specifically an environmental IoT terminal device. An example of a communication system is shown in Figure 1A, which includes a base station 11 and a terminal 12.
[0096] In the embodiments provided in this application, the base station can be any device with wireless transceiver capabilities, including but not limited to: evolved base stations (NodeB, eNB, or e-NodeB) in Long Term Evolution (LTE), base stations (gNodeB or gNB) or transmission receiving points / transmission reception points (TRPs) in New Radio (NR), base stations in subsequent 3GPP evolutions, access nodes in Wi-Fi systems, wireless relay nodes, wireless backhaul nodes, etc. The base station can be: macro base station, micro base station, pico base station, small cell, relay station, or balloon station, etc. The base station can include one or more co-located or non-co-located Transmission Reception Points (TRPs). The base station can also be a radio controller, centralized unit (CU), and / or distributed unit (DU) in a cloud radio access network (CRAN) scenario. The base station can communicate with terminal devices or communicate with terminal devices through relay stations. Terminal devices can communicate with multiple base stations using different technologies. For example, a terminal device can communicate with a base station that supports LTE networks, or with a base station that supports 5G networks, or even have dual connections with both LTE and 5G base stations.
[0097] In the embodiments provided in this application, the terminal device can be of various forms, such as a mobile phone, a tablet computer, a computer with wireless transceiver capabilities, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal device in industrial control, an in-vehicle terminal device, a wireless terminal device in self-driving technology, a wireless terminal device in remote medical care, a wireless terminal device in a smart grid, a wireless terminal device in transportation safety, a wireless terminal device in a smart city, a wireless terminal device in a smart home, a wearable terminal device, etc. The terminal device may also be referred to as a terminal device, user equipment (UE), access terminal device, in-vehicle terminal device, industrial control terminal device, UE unit, UE station, mobile station, mobile station, remote station, remote terminal device, mobile device, UE terminal device, terminal device, wireless communication device, UE agent, or UE device, etc. The terminal device can also be a fixed terminal device or a mobile terminal device.
[0098] In communication systems, Ambient Internet of Things (A-IoT) terminal devices refer to intelligent devices that connect physical environment-related equipment to the internet through embedded systems, sensors, and communication technologies. These devices enable the collection, transmission, processing, and analysis of environmental data, as well as interaction and collaborative work with other devices or systems. Due to their advantages of self-powered operation, low power consumption, low cost, ease of deployment, and wide applicability, A-IoT terminal devices are now widely used in daily production and life.
[0099] In the use of environmental IoT terminal devices, communication and interaction between the environmental IoT terminal devices and network devices are usually required. Specifically, as shown in Figure 1B, the base station and the environmental IoT terminal device directly exchange data via a wireless interface; as shown in Figure 1C, the base station interacts with the environmental IoT terminal device through an intermediate node. This intermediate node can be a mobile terminal device, an Integrated Access and Backhaul (IAB) node, a repeater (RP), or other devices with intermediate capabilities; this application embodiment does not limit the scope. It should be noted that in this application embodiment, both the intermediate node and the base station are network devices.
[0100] However, in the current environment, when IoT transmitters send service data packets, due to limitations in their own transmission resources, they may divide a single service data packet into multiple data packet segments for transmission. If one or more segments fail to be successfully transmitted and received, the receiver will be unable to or incorrectly recover the service data packet, leading to the failure of the A-IoT service process. To improve the success rate of A-IoT service processes, this application provides a communication method. To make the technical solution of this application clearer and easier to understand, the communication method of this application embodiment is described below with reference to the accompanying drawings. This application embodiment is applicable to data transmission processes in wireless communication scenarios. This application embodiment takes data transmission between a terminal device and a network device as an example, such as data transmission between a single terminal device and a network device. The above-mentioned data transmission between a terminal device and a network device is only a feasible example. This application embodiment can be applied to data transmission between terminal devices, data transmission between network devices, or data transmission between two network elements in a wireless communication network.
[0101] Please refer to Figure 2, which shows a schematic diagram of an interaction process between a network device and a terminal device provided in an embodiment of this application. This embodiment of the application provides a communication method, which mainly includes the following steps:
[0102] Step 201: The terminal device receives transmission indication information or re-trigger indication information sent by the network device.
[0103] The transmission indication information is used to indicate the retransmission of the target data packet, and the re-trigger indication information is used to indicate the transmission of the target service data packet. The target data packet is a segmented data packet of the target service data packet. It is understood that the terminal device involved in the embodiments of this application refers to an environmental Internet of Things (A-IoT) terminal device, which is different from the mobile terminal device that serves as an intermediate node in Figure 1C above. The terminal device can also be called an environmental Internet of Things terminal or an environmental Internet of Things device, and this application does not limit it.
[0104] In this embodiment, the target service data packet is the original data packet related to the service generated by the A-IoT terminal device, and the target data packet is a segmented data packet of the target service data packet. For example, the target service data packet is a response data packet of the A-IoT Command, which is divided into four segments: Seg1, Seg2, Seg3, and Seg4. The target data packet can be any one of Seg1, Seg2, Seg3, and Seg4.
[0105] Step 202: The terminal device sends the target data packet based on the transmission indication information, or sends the target service data packet based on the re-trigger indication information.
[0106] In this embodiment, the terminal device can send corresponding service data packets or service data packet segments based on the transmission indication information or re-trigger indication information sent by the network device, so as to avoid the network device from causing the service process to fail due to the loss or transmission failure of one or more segmented data packets, thereby improving the success rate of A-IoT service processes.
[0107] It should be noted that, in the embodiments of this application, the terminal device can retransmit the target data packet based on the transmission indication information sent by the network device. In another optional implementation, the terminal device can also retransmit the target data packet based on the transmission indication information sent by the network device. That is, the transmission indication information can also indicate the retransmission of the target data packet. This is not limited in the embodiments of this application.
[0108] In one possible implementation of this application embodiment, the transmission indication information includes at least one of the following: location information of received segmented data packets, location information of expected received segmented data packets, range of location information of expected received segmented data packets, number or identifier of received segmented data packets, identifier of expected received segmented data packets, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet.
[0109] In this embodiment, the terminal device can determine the next segmented data packet to be sent based on the transmission indication information indicated by the network device, thereby meeting the service data reception requirements of the network device and ensuring the success rate of the A-IoT service process.
[0110] The location information of the received segmented data packets can indicate the size of the segmented data packets that the network device has received, making it easier for the terminal device to determine the next segmented data packet to be sent based on this location information.
[0111] For example, referring to Figure 3, a schematic diagram of the location information of a received segmented data packet is shown. The service data packet includes four segments: Seg1, Seg2, Seg3, and Seg4. The segment currently received by the network device is Seg3. The location information of the received segmented data packet is the distance between the last bit or byte of Seg3 and the initial position of the service data packet (i.e., the first bit or byte of Seg1). The unit of this distance is a multiple of the bit or byte or unit size.
[0112] It is understood that the location information of the received segmented data packets can be indicated not only by the size of the received segmented data packets, but also by the cache address information of the received segmented data packets, or by other information that can indicate the size of the received segmented data packets. This application embodiment does not limit the scope of the information.
[0113] The location information of the segmented data packets to be received can indicate the starting location information of the segmented data packets that the network device expects to receive, so that the terminal device can determine the next segmented data packet to be sent based on the location information.
[0114] For example, referring to Figure 4, a schematic diagram of the location information of a segmented data packet to be received is shown. The service data packet includes four segments: Seg1, Seg2, Seg3, and Seg4. The segment that the network device has currently received is Seg3, and the segment to be received is Seg4. The location information of the segmented data packet to be received is the distance between the first bit or byte of Seg4 and the initial position of the service data packet (i.e., the first bit or byte of Seg1). The unit of this distance is a multiple of the size of a bit or byte or unit.
[0115] The range of the expected segmented data packets can indicate the start and end positions of the segmented data packets that the network device expects to receive, making it easier for the terminal device to determine the next segmented data packet to be sent based on this position information.
[0116] For example, referring to Figure 5, a schematic diagram of the expected location information range of a segmented data packet is shown. The service data packet includes four segments: Seg1, Seg2, Seg3, and Seg4. The segment currently received by the network device is Seg3, and the segment expected to be received is Seg4. The location information range of the expected segmented data packet is the difference between distance 2 and distance 1. Here, distance 1 is the distance between the first bit or byte of Seg4 and the initial position of the service data packet (i.e., the first bit or byte of Seg1), and distance 2 is the distance between the last bit or byte of Seg4 and the initial position of the service data packet (i.e., the first bit or byte of Seg1). The distance unit is a multiple of bit or byte or unit size. For example, the distance unit size can be 8 bits, 16 bits, minimum transport block size, etc.
[0117] It should be noted that if the expected range of the location information of the segmented data packets exceeds the size of the data to be transmitted or the remaining data in the buffer of the terminal device, it can optionally be determined according to the actual amount of remaining data in the terminal device. Optionally, the terminal device can also construct data packets of the required size by padding data. This application does not impose any limitations.
[0118] The number or identifier of the received segmented data packets can indicate the segmented data packets that the network device has received. The terminal device can determine the next segmented data packet to be sent based on the number or identifier of the received segmented data packets. The identifier can be the sequence number, serial number, or other identifier that can indicate and distinguish the identity of the segmented data packets, and this application does not limit it.
[0119] The identifier of the segmented data packet to be received can indicate the segmented data packet that the network device expects to receive. The terminal device can determine the next segmented data packet to be sent by using the identifier of the segmented data packet to be received. The identifier can be the sequence number, number, or other identifier that can indicate and distinguish the identity of the segmented data packet, and this application does not limit it.
[0120] The new transmission indicator or retransmission indicator can indicate whether the data transmission currently indicated by the network device is for newly transmitted data or retransmitted data. When the transmission indication information includes the new transmission indicator, the terminal device sends a new or previously untransmitted segmented data packet. When the transmission indication information includes the retransmission indicator, the terminal device retransmits a previously transmitted segmented data packet or sends a data packet containing part or all of the information of a previously transmitted segmented data packet, i.e., retransmits a segmented data packet.
[0121] It should be noted that this application does not limit the form of the new transmission indicator and the retransmission indicator. For example, the new data indicator (NDI) can be used for indication.
[0122] The transaction ID and session ID corresponding to the target data packet can indicate the service or process corresponding to the segmented data packet that the network device expects to receive. The terminal device can determine the next segmented data packet to be sent based on the transaction ID and / or session ID. For example, the terminal device can determine whether the target data packet and the previously sent data packet belong to the same service transmission process based on the transaction ID of the target data packet and the transaction ID of the previously sent data packet. If the two belong to the same service transmission process and the segmented data packet of the service process has not been sent in the cache, the next segmented data packet to be sent can be determined from the cache.
[0123] In one possible implementation of this application embodiment, the transmission indication information may further include the size of the transmissible data packet, wherein the size of the transmissible data packet indicates the size of the data packet that the terminal device can send. The size of the transmissible data packet can be indicated explicitly, that is, by a specified method; the size of the transmissible data packet can also be indicated implicitly, for example, by using a predefined size for transmission. The predefined size may be a fixed size used by the terminal device or the same size as the first or previous segment data packet.
[0124] In one possible implementation of this application embodiment, the transmission indication information is sent based on at least one of the following: Media Access Control (MAC) Control Element (CE), Media Access Control MAC Protocol Data Unit (PDU), Physical Layer Control Signaling, or Layer 1 Control Signaling.
[0125] In this embodiment of the application, the network device can send transmission indication information based on MAC CE, MAC PDU, physical layer control signaling or Layer one control signaling.
[0126] In one possible implementation of this application embodiment, receiving transmission indication information sent by a network device specifically includes: a first protocol layer receiving the transmission indication information; the communication method provided in this application embodiment further includes: a second protocol layer receiving the transmission indication information sent by the first protocol layer, and determining a target data packet based on the transmission indication information. The first protocol layer is used for sending and receiving data packets, and the second protocol layer is an upper protocol layer of the first protocol layer. The second protocol layer is used to implement at least one of the following functions: generating a target service data packet, storing sent segmented data packets, storing segmented data packets to be retransmitted, retransmitting the target data packet, and performing segmentation processing on the target service data packet.
[0127] In this embodiment, the first protocol layer of the terminal device transmits the received transmission indication information to the second protocol layer. Then, the second protocol layer determines the target data packet for transmission based on the transmission indication information and sends it to the first protocol layer. Finally, the first protocol layer sends the target data packet. The terminal device includes a first protocol layer and a second protocol layer. The first protocol layer can be the terminal device's Access-Stratum (AS) layer, such as the Media Access Control (MAC) layer. The first protocol layer is responsible for receiving and sending data packets. The second protocol layer is a protocol layer above the first protocol layer. The second protocol layer is used to generate service data packets, store sent segmented data packets, store segmented data packets to be retransmitted, retransmit the target data packet, and perform segmentation processing on the target service data packet.
[0128] It should be noted that when the transmission indication information includes multiple pieces of information, the first protocol layer may send only the transmission indication information related to determining the target data packet to the second protocol layer, such as the location information range of the segmented data packets to be received, so that the second protocol layer can generate the target data packet based on this part of the transmission indication information, without having to send all the information in the transmission indication information to the second protocol layer, thereby reducing data interaction within the terminal device and improving communication efficiency.
[0129] It should be noted that after receiving the target data packet, the first protocol layer can also encapsulate the data packet according to the requirements of the first protocol layer, such as adding the first protocol layer header, the first protocol layer control information, etc. In this embodiment of the application, the data packet processed by the first protocol layer can also be referred to as the target data packet.
[0130] In one possible implementation of this application embodiment, the communication method provided in this application embodiment further includes: a first protocol layer determining a target data packet based on received transmission indication information and sending the target data packet. The first protocol layer is used for sending and receiving data packets, as well as storing service data packets; that is, the first protocol layer of the terminal device can directly determine the target data packet based on the transmission indication information to complete data transmission.
[0131] In one possible implementation of this application embodiment, the target data packet includes update indication information, which includes at least one of the following: an update indication for the target data packet, an invalidation indication for a received data packet, and a discard indication for a received data packet.
[0132] In this embodiment, the update indication information can be used to indicate that the target service data packet has been updated. The terminal device can carry the update indication information when sending the target data packet. The update indication information may include an update indication for the target data packet, an invalidation indication for a received data packet, or a discard indication for a received data packet. Thus, when the network device receives the update indication information, it can know that the service data packet has been updated. The network device can discard the data packets previously received in the target service data packet reception cycle and proceed with the reception process of the updated data packet. It should be noted that the update indication information can be sent from the second protocol layer of the terminal device to the first protocol layer, and then from the first protocol layer to the network device.
[0133] The target service data packet reception period can be the reception process of the target service data packet, with the reception period ending when the network device receives the complete target service data packet. In one possible implementation of this application embodiment, before receiving the transmission indication information sent by the network device, the communication method provided in this application embodiment further includes: reporting segmentation capability, whereby the segmentation capability is used to instruct the terminal device to support segmented data packet transmission.
[0134] In this embodiment, the terminal device can report its segmentation capability to the network device so that the network device can know whether the terminal device supports the ability to send data packets in segments. For example, the segmentation capability can be reported through a first message MSG1, a third message MSG3, or other messages; this embodiment does not limit the reporting.
[0135] It should be noted that, in addition to determining whether a terminal device has the capability to send data packets in segments by receiving segmentation capabilities reported by the terminal device, network devices can also obtain the segmentation capabilities of the terminal device from the core network (CN) or application functions (AF), providing multiple ways to acquire the segmentation capabilities of the terminal device. It is understood that the core network (CN) contains entities with A-IoT (Artificial Intelligence of Things) functionality, capable of supporting the implementation of A-IoT service-related functions.
[0136] In one possible implementation of this application embodiment, the communication method provided in this application embodiment further includes: sending location information of the target data packet; the location information of the target data packet includes at least one of the following: segmentation indication information of the target data packet, location information of the target data packet in the target service data packet, location information of the target data packet in the cache, and identifier of the target data packet; wherein, the segmentation indication information of the target data packet is used to indicate whether the target data packet belongs to a segmented data packet and / or to indicate the segmentation type of the target data packet.
[0137] In this embodiment of the application, the terminal device can send the location information of the target data packet at the same time as sending the target data packet, so as to facilitate the network device to confirm the location information of the received data packet. The location information may include at least one of the following:
[0138] The segmentation indication information of the target data packet is used to indicate whether the target data packet is a segmented data packet or a complete target service data packet, and can indicate the segmentation type of the target data packet when it is a segmented data packet, such as: the first segment, the middle segment, or the end segment.
[0139] The location information of the target data packet within the target service data packet is used to indicate the position of the segmented data packet within the target service data packet. For example, it can be indicated by a position pointer, or by the distance between the first bit or byte of the current target data packet and the first bit or byte of the target service data packet. For example, it can also be indicated by a pre-agreed distance unit, which is a multiple of the bit or byte size or the unit size, such as 8 bits, 16 bits, the minimum transport block size, etc.
[0140] The location information of the target data packet in the cache is used to indicate the position of the target data packet in the cached data corresponding to the target service data packet. For example, it can be indicated by the address of the target data packet in the cache or the cache pointer.
[0141] The identifier of the target data packet is used to indicate the location information of the target data packet in the target service data packet. For example, it can be indicated by the number or sequence number of the target data packet, but this application does not limit it.
[0142] It should be noted that the location information of the target data packet can be transmitted simultaneously or sequentially with the target data packet in the initial transmission process, or simultaneously or sequentially with the target data packet in the re-trigger transmission process. This application embodiment does not limit this.
[0143] In one possible implementation of this application embodiment, the communication method provided by this application embodiment further includes: receiving a first data packet sent by a network device and the location information of the first data packet, wherein the first data packet is a segmented data packet of a first service data packet; the location information of the first data packet includes at least one of the following: segmentation indication information of the first data packet, location information of the first data packet in the first service data packet, location information of the first data packet in the cache, and identifier of the first data packet; wherein, the segmentation indication information of the first data packet is used to indicate whether the first data packet belongs to a segmented data packet and / or to indicate the segmentation type of the first data packet.
[0144] In this embodiment, the network device can also send data packets and their corresponding location information to the A-IoT terminal device. The description of the location information is similar to that sent by the terminal device to the network device, and will not be repeated here. Therefore, while receiving data packets from the network device, the terminal device can also obtain the location information of the received data packets, facilitating the terminal device to determine the next data packet to be received and how the various data packet segments should be constructed into a complete service data packet.
[0145] It should be noted that the location information of the first data packet in the cache can be determined based on the application function (AF) of the network device.
[0146] The communication method provided in this application embodiment will be described below with reference to another interactive flow diagram between a network device and a terminal device shown in Figure 6. The flow includes:
[0147] The terminal device generates a service data packet, which includes four segmented data packets: Seg1, Seg2, Seg3, and Seg4.
[0148] The network device sends a service request message 1 to the terminal device to request the first segment data packet Seg1 of the service data packet from the terminal device. The terminal device responds to the service request message 1 by transmitting the first segment data packet Seg1 and the identifier of Seg1 to the network device. The network device successfully receives the first segment data packet Seg1.
[0149] The network device sends a service request message 2 to the terminal device to request the second segment data packet Seg2 of the service data packet from the terminal device. The terminal device responds to the service request message 2 by transmitting the second segment data packet Seg2 and the identifier of Seg2 to the network device. The network device successfully receives the second segment data packet Seg2.
[0150] The network device sends a service request message 3 to the terminal device to request the third segment data packet Seg3 of the service data packet from the terminal device. The terminal device responds to the service request message 3 by transmitting the third segment data packet Seg3 and the identifier of Seg3 to the network device. The network device fails to receive the third segment data packet Seg3.
[0151] The network device sends transmission indication information to the terminal device (taking the location information of the received segmented data packets as an example). After receiving the transmission indication information, the terminal device determines that the segmented data packets currently received by the network device include the first segmented data packet Seg1 and the second segmented data packet Seg2. Then, it determines that the next data packet that the network device expects to receive is the third segmented data packet Seg3. Therefore, the terminal device retransmits the third segmented data packet Seg3 and its identifier to the network device, and the network device successfully receives the third segmented data packet Seg3.
[0152] The reception of the fourth segment data packet Seg4 follows the same procedure as described above, and is omitted here.
[0153] It should be noted that in the data transmission process shown in Figure 6, the terminal device may only send the corresponding segmented data packet in response to the service request message without sending the segmented data packet identifier. For example, the terminal device may send the third segmented data packet Seg3 to the network device in response to the service request message 3, or the terminal device may send the third segmented data packet Seg3 and the identifier of the third segmented data packet Seg3 to the network device in response to the service request message 3. This application embodiment does not limit this.
[0154] Therefore, in this embodiment of the application, the network device can inform the terminal device of the segmented data packets it expects to receive by transmitting indication information, ensuring that the network device can correctly obtain the required segmented data packets, improving the accuracy of A-IoT service data packets, and reducing unnecessary service failures.
[0155] It should be noted that the data interaction diagram provided in Figure 6 of this application, which uses a terminal device as the sender and a network device as the receiver, can be described in an optional implementation where the terminal device acts as the receiver and the network device acts as the sender. The communication method provided in this application also applies when the network device sends service data packets to the terminal device. That is, the terminal device sends transmission indication information that indicates the segmented data packets to be received to the network device, and the network device sends the corresponding segmented data packets to the terminal device. The specific implementation can be referred to the description where the terminal device acts as the sender and the network device acts as the receiver, which will not be repeated here.
[0156] In one possible implementation of this application embodiment, the re-trigger indication information includes at least one of the following: the message type of the service request message, the message identifier of the service request message, the number of re-triggers, the reason for re-triggering, and the identifier of the terminal device; wherein, the service request message is sent by the network device, and the service request message includes the re-trigger indication information.
[0157] In this embodiment of the application, the network device can send a service request message including re-triggering indication information to the terminal device. The re-triggering indication information is used to indicate the re-triggering of the current service transmission process, and the re-triggering indication information includes at least one of the following:
[0158] The message type of the business request message indicates the re-triggering process, or it indicates the re-triggering process through different message types, such as through different sending methods like the first protocol layer protocol data unit or the first protocol layer control unit.
[0159] The message identifier for a business request message is indicated by different identifiers, such as a transaction ID or a session ID. If the message identifier is the same as the previously received message identifier, it indicates a re-triggering process.
[0160] The number of re-triggers can be included in the re-trigger indication information, indicating how many times the business request message has been re-triggered.
[0161] The re-triggering reason can be included in the re-triggering indication information, which is used to indicate why the service request message is re-triggered. For example, the re-triggering reason can include: data packet reception failure, segmented data packet loss, receiving an instruction from a higher-level protocol layer, etc., which are not limited in this embodiment.
[0162] The terminal device identifier may be included in the re-trigger indication information to indicate whether the terminal device needs to respond to the re-trigger indication information or should not respond to the re-trigger indication information.
[0163] In one possible implementation of this application embodiment, the re-trigger indication information further includes at least one of the following: location information of the received data packet, location information of the expected received data packet, range information of the expected received data packet, number or identifier of the received data packet, identifier of the expected received data packet, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet.
[0164] In this embodiment, the re-triggering indication information may further include information about the currently received data packets. The terminal device can combine this information to selectively retransmit partial segments of the target service data packet instead of retransmitting the entire target service data packet when retransmitting it, thereby improving the targeting and efficiency of retransmitting the target service data packet. It should be noted that the description of this information can be found in the description of the aforementioned transmission indication information, and will not be repeated here.
[0165] In one possible implementation of this application embodiment, sending a target service data packet based on re-triggering indication information includes: sending the target service data packet based on re-triggering conditions and re-triggering indication information; wherein, the re-triggering conditions include: the service sending process is not completed, or, the terminal device matches the re-triggering indication information; wherein, the service sending process is the sending process of the target service data packet.
[0166] The service transmission process refers to the transmission flow of the target service data packet. This target service data packet can be the data packet corresponding to the first trigger message, or it can be the data packet corresponding to any trigger message for that service. An incomplete service transmission process indicates that the transmission of the target service data packet has not yet ended, meaning the network side has not yet correctly received the required target service data packet. Under the condition that the service transmission process is incomplete, the transmission of the target service data packet can be directly executed based on the re-triggering indication information.
[0167] The re-trigger indication information can indicate the identifier of the terminal device. When the identifier of the terminal device matches the identifier of the terminal device indicated in the re-trigger indication information, the target service data packet is sent based on the re-trigger indication information.
[0168] In one possible implementation of this application embodiment, the incomplete service transmission process includes at least one of the following situations: the service transmission process has not been executed, the target service data packet has not been sent, no receipt confirmation indication for the target data packet has been received, the message identifier of the service request message is the same as the message identifier of the previously received service request message, and the service request message includes a re-trigger indication.
[0169] In this embodiment of the application, the incomplete service transmission process can be determined by the following conditions:
[0170] The service transmission process has not yet been executed, meaning the terminal device has not yet sent any data packets corresponding to the service transmission process.
[0171] The target service data packet has not been completely sent, meaning that the terminal device has sent part of the data packet corresponding to the service sending process. For example, there are still some segment data packets corresponding to the service sending process that have not been sent.
[0172] No confirmation of receipt of the target data packet was received. This means that the terminal device sent the target data packet, but did not receive a transmission confirmation from the network device, indicating that the service transmission process has not yet ended.
[0173] The message identifier of the service request message is the same as the message identifier of the previously received service request message. In other words, the message identifiers of the service request messages received by the terminal device before and after are the same, which means that the network device instructs the terminal device to re-trigger the transmission of the target service data packet.
[0174] The service request message includes a re-triggering instruction, which means that the network device explicitly instructs the terminal device to re-trigger the transmission of the target service data packet.
[0175] In one possible implementation of this application embodiment, receiving re-trigger indication information sent by a network device includes: a first protocol layer receiving the re-trigger indication information; the communication method provided in this application embodiment further includes: a second protocol layer receiving the re-trigger indication information sent by the first protocol layer, and determining the data packet to be transmitted based on the re-trigger indication information.
[0176] Among them, the data packet to be transmitted is a segmented data packet of the target service data packet, the first protocol layer is used for sending and receiving the target data packet, the second protocol layer is the upper protocol layer of the first protocol layer, and the second protocol layer is used to implement at least one of the following functions: generating the target service data packet, storing the sent segmented data packet, storing the segmented data packet to be retransmitted, retransmitting the target data packet, and performing segmentation processing on the target service data packet.
[0177] In this embodiment of the application, the first protocol layer of the terminal device transmits the received re-trigger indication information to the second protocol layer, the second protocol layer determines the data packet to be transmitted based on the trigger indication information and sends it to the first protocol layer, and the first protocol layer sends the data packet to be transmitted.
[0178] The terminal device includes a first protocol layer and a second protocol layer. The first protocol layer can be the access-stratum (AS) layer of the terminal device, such as the media access control (MAC) layer. The first protocol layer is responsible for receiving and sending data packets. The second protocol layer is a protocol layer above the first protocol layer. The second protocol layer is used to generate service data packets, store sent segmented data packets, store segmented data packets to be retransmitted, retransmit target data packets, and perform segmentation processing on target service data packets.
[0179] It should be noted that after receiving the data packet to be transmitted, the first protocol layer can also encapsulate the data packet according to the requirements of the first protocol layer, such as adding the first protocol layer header, the first protocol layer control information, etc. In this embodiment of the application, the data packet processed by the first protocol layer can also be referred to as the data packet to be transmitted.
[0180] It should be noted that when the re-trigger indication information includes multiple pieces of information, the first protocol layer may send only the transmission indication information related to determining the data packet to be transmitted to the second protocol layer, such as the range information of the data packets to be received, so that the second protocol layer can generate the data packet to be transmitted based on this part of the transmission indication information, without having to send all the information in the transmission indication information to the second protocol layer, thereby reducing data interaction within the terminal device and improving communication efficiency.
[0181] It should be noted that if the communication process between the terminal device and the network device involves updating encryption and decryption parameters, the encryption and decryption parameters can be reset to their values before sending or receiving the re-trigger indication information, or the encryption and decryption parameters can be configured in the re-trigger indication information.
[0182] In one possible implementation of this application embodiment, the communication method provided by this application embodiment further includes: submitting the received segmented data packets and the incomplete reception indication to the core network or application layer based on data delivery conditions; wherein, the data delivery conditions include: no target data packet is received within a preset time period, and the target data packet is the last segmented data packet of the target service data packet, or, the received data packets have met the service requirements; the incomplete reception indication includes at least one of the following information: the data volume of the target service data packet, the data volume of the unreceived data packets, the proportion of the unreceived data packets, the data volume of the received data packets, and the proportion of the received data packets.
[0183] In this embodiment of the application, if the network device has not received the corresponding segmented data packet, for example, has not received the last segmented data packet of the target service data packet, or if the network device determines that the currently received segmented data packet has met the service requirements, such as decoding requirements or transmission requirements, then the network device directly delivers the received segmented data packet to the core network or application layer, while indicating that the data packet has not been fully received.
[0184] Understandably, given the strong processing capabilities of the core network and application layer, even if some data packets are not received, the core network and application layer can still recover or correctly decode the service data. Submitting the received data under the condition of data delivery can improve the efficiency of the service processing mechanism and ensure the normal flow of the service processing process.
[0185] In one possible implementation of this application embodiment, sending transmission indication information or re-trigger indication information specifically includes:
[0186] If the terminal device supports segmented data packet transmission, or has received any segmented data packet sent by the terminal device, a transmission indication message is sent based on the terminal device's data transmission failure.
[0187] Specifically, when a network device has received any segmented data packet sent by a terminal device, it means that the terminal device supports segmented data packet transmission. In these cases, the network device can use segmented retransmission to instruct the terminal device to retransmit the segmented data packets that were not successfully received. That is, the network device can send transmission indication information to the terminal device so that the terminal device can send the target data packet based on the transmission indication information.
[0188] If the terminal device does not support data packet segmentation, or if the terminal device's segmentation capability is not obtained, or if the number of times the target data packet is not obtained based on the transmission indication information reaches a preset threshold, or if the terminal device's data transmission fails, then a re-trigger indication information is sent.
[0189] Specifically, when the terminal device does not support data packet segmentation, or it is not determined whether the terminal device supports data packet segmentation, or the number of times the request to obtain the target data packet through the transmission indication information has failed has reached a preset threshold, the network device sends a re-trigger indication information to instruct the terminal device to re-execute the service transmission process.
[0190] If the terminal device supports segmented data packet transmission, and no segmented data packet is received from the terminal device, a transmission indication message or a re-trigger indication message is sent based on the data transmission failure of the terminal device.
[0191] Specifically, when the terminal device supports segmented data packet transmission and no segmented data packets have been received from the terminal device, data packet transmission can be achieved by sending either transmission indication information or retrievable indication information. Optionally, in this case, when using a segmented retransmission scheme based on transmission indication information, the transmission indication information can be set to a specific value, such as all "0"s, all "1"s, or other specific values; this application does not impose any limitations on this.
[0192] As a result, network devices can adaptively send different instruction information to achieve business data transmission when they learn about the different segmentation capabilities of terminal devices or different data packet transmission scenarios, thus ensuring the reliability and success rate of A-IoT business transmission.
[0193] The communication method provided in this application embodiment will be described below with reference to another interactive flow diagram between a network device and a terminal device shown in Figure 7. The flow includes:
[0194] The terminal device generates a service data packet, which includes four segmented data packets: Seg1, Seg2, Seg3, and Seg4. The service sending process is used by the terminal device to send Seg1, Seg2, Seg3, and Seg4 to the network device.
[0195] The network device sends a service request message 1 to the terminal device to request the first segment data packet Seg1 of the service data packet from the terminal device. The terminal device responds to the service request message 1 by transmitting the first segment data packet Seg1 and the identifier of Seg1 to the network device. The network device successfully receives the first segment data packet Seg1.
[0196] The network device sends a service request message 2 to the terminal device to request the second segment data packet Seg2 of the service data packet from the terminal device. The terminal device responds to the service request message 2 by transmitting the second segment data packet Seg2 and the identifier of Seg2 to the network device. The network device successfully receives the second segment data packet Seg2.
[0197] The network device sends a service request message 3 to the terminal device to request the third segment data packet Seg3 of the service data packet from the terminal device. The terminal device responds to the service request message 3 by transmitting the third segment data packet Seg3 and the identifier of Seg3 to the network device. The network device fails to receive the third segment data packet Seg3.
[0198] The network device sends a service request message 4 (including a re-triggering indication) to the terminal device. After receiving the transmission indication, the terminal device determines that the network device has re-triggered the service transmission process. Therefore, the terminal device re-executes the service transmission process, that is, it re-sends the first segmented data packet Seg1 and its identifier to the network device, or, according to the requirements of the service request message 4, re-segments or encapsulates the service data packet and re-sends it, so that the network device can successfully receive the first segmented data packet Seg1.
[0199] The process of sending other segmented data packets is then carried out according to the above rules, which is omitted here.
[0200] It should be noted that in the data transmission process shown in Figure 7, the terminal device may only send the corresponding segmented data packet in response to the service request message without sending the segmented data packet identifier. For example, the terminal device may send the first segmented data packet Seg1 to the network device in response to the service request message 4, or the terminal device may send the first segmented data packet Seg1 and the identifier of the first segmented data packet Seg1 to the network device in response to the service request message 4. This embodiment of the application does not limit the terminal device.
[0201] Therefore, in this embodiment of the application, the network device triggers the terminal device to re-execute the service transmission process through the re-triggering indication information. The network device can then re-receive the service data packets, ensuring that the network device can correctly obtain the required data packets, thereby improving the accuracy of A-IoT service data packets and reducing unnecessary service failures.
[0202] Figure 8 is a schematic diagram of a communication device provided in an embodiment of this application. This communication device can specifically be an A-IoT terminal device, including: an information receiving module 801 and a data sending module 802; wherein...
[0203] The information receiving module is used to receive transmission indication information or re-trigger indication information sent by the network device; wherein, the transmission indication information is used to indicate the retransmission of the target data packet, and the re-trigger indication information is used to indicate the transmission of the target service data packet, and the target data packet is a segmented data packet of the target service data packet;
[0204] The data sending module is used to send the target data packet based on the transmission indication information, or based on the re-trigger indication information.
[0205] In one possible implementation of this application embodiment, the transmission indication information includes at least one of the following: location information of received segmented data packets, location information of expected received segmented data packets, range of location information of expected received segmented data packets, number or identifier of received segmented data packets, identifier of expected received segmented data packets, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet.
[0206] In one possible implementation of this application embodiment, the transmission indication information is sent based on at least one of the following: Media Access Control (MAC) Control Unit (CE), Media Access Control (MAC) Protocol Data Unit (PDU), Physical Layer Control Signaling, or Layer 1 Control Signaling.
[0207] In one possible implementation of this application embodiment, the information receiving module is specifically used to receive the transmission indication information based on the first protocol layer; the communication device further includes: a data determining module, used to receive the transmission indication information sent by the first protocol layer based on the second protocol layer, and to determine the target data packet based on the transmission indication information; wherein, the first protocol layer is used for sending and receiving the target data packet, the second protocol layer is an upper protocol layer of the first protocol layer, and the second protocol layer is used to implement at least one of the following functions: generating the target service data packet, storing the sent segmented data packets, storing the segmented data packets to be retransmitted, retransmitting the target data packet, and performing segmentation processing on the target service data packet.
[0208] In one possible implementation of this application embodiment, the target data packet includes update indication information, which includes at least one of the following: an update indication for the target data packet, an invalidation indication for a received data packet, and a discard indication for a received data packet.
[0209] In one possible implementation of this application embodiment, the update indication information is used to indicate that the target service data packet has been updated.
[0210] In one possible implementation of this application embodiment, the communication device further includes: a capability reporting module, used to report segmentation capability, wherein the segmentation capability is used to indicate that the terminal device supports data packet segmentation transmission.
[0211] In one possible implementation of this application embodiment, the data sending module is further configured to send the location information of the target data packet; the location information of the target data packet includes at least one of the following: segmentation indication information of the target data packet, location information of the target data packet in the target service data packet, location information of the target data packet in the cache, and identifier of the target data packet; wherein, the segmentation indication information of the target data packet is used to indicate whether the target data packet belongs to a segmented data packet and / or to indicate the segmentation type of the target data packet.
[0212] In one possible implementation of this application embodiment, the communication device further includes: a data receiving module, configured to receive a first data packet sent by the network device and location information of the first data packet, wherein the first data packet is a segmented data packet of a first service data packet; the location information of the first data packet includes at least one of the following: segmentation indication information of the first data packet, location information of the first data packet in the first service data packet, location information of the first data packet in the cache, and identifier of the first data packet; wherein the segmentation indication information of the first data packet is used to indicate whether the first data packet belongs to a segmented data packet and / or to indicate the segmentation type of the first data packet.
[0213] In one possible implementation of this application embodiment, the re-trigger indication information includes at least one of the following: the message type of the service request message, the message identifier of the service request message, the number of re-triggers, the reason for re-triggering, and the identifier of the terminal device; wherein, the service request message is a message used by the network device to request the terminal device to send the service data packet, and the service request message includes the re-trigger indication information.
[0214] In one possible implementation of this application embodiment, the re-trigger indication information further includes at least one of the following: location information of the received data packet, location information of the expected received data packet, range information of the expected received data packet, number or identifier of the received data packet, identifier of the expected received data packet, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet.
[0215] In one possible implementation of this application embodiment, the data sending module is specifically used to send the target service data packet based on the re-triggering condition and the re-triggering indication information; wherein, the re-triggering condition includes: the service sending process is not completed, or, the terminal device matches the re-triggering indication information; wherein, the service sending process is the sending process of the target service data packet.
[0216] In one possible implementation of this application embodiment, the incomplete service transmission process includes at least one of the following situations: the service transmission process has not been executed, the target service data packet has not been sent, no receipt confirmation indication for the target data packet has been received, the message identifier of the service request message is the same as the message identifier of the previously received service request message, and the service request message includes a re-trigger indication.
[0217] In one possible implementation of this application embodiment, the information receiving module is specifically used to receive the re-trigger indication information based on the first protocol layer; the communication device further includes: a data determining module, used to receive the re-trigger indication information sent by the first protocol layer based on the second protocol layer, and determine the data packet to be transmitted based on the re-trigger indication information; wherein, the data packet to be transmitted is the target service data packet or a segmented data packet of the target service data packet, the first protocol layer is used for sending and receiving the target data packet, the second protocol layer is an upper protocol layer of the first protocol layer, and the second protocol layer is used to implement at least one of the following functions: generating the target service data packet, storing the sent segmented data packet, storing the segmented data packet to be retransmitted, retransmitting the target data packet, and performing segmentation processing on the target service data packet.
[0218] It should be noted that the steps and related technical features executed by each module in the communication device provided in this application correspond to the method applied to the terminal device provided in the foregoing embodiments of the application. The description of the device part can be found in the embodiments of the foregoing method part, and will not be repeated here.
[0219] Figure 9 is a schematic diagram of a communication device provided in an embodiment of this application. Specifically, the communication device can be a network device, and it specifically includes an information sending module 901; wherein...
[0220] An information sending module is used to send transmission indication information or re-trigger indication information, so that the terminal device sends a target data packet based on the transmission indication information, or sends a target service data packet based on the re-trigger indication information; wherein, the transmission indication information is used to indicate the retransmission of the target data packet, the re-trigger indication information is used to indicate the transmission of the target service data packet, the target data packet is a segmented data packet of the target service data packet, and the terminal device is an environmental Internet of Things (A-IoT) terminal device.
[0221] In one possible implementation of this application embodiment, the transmission indication information includes at least one of the following: location information of received segmented data packets, location information of expected received segmented data packets, range of location information of expected received segmented data packets, number or identifier of received segmented data packets, identifier of expected received segmented data packets, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet.
[0222] In one possible implementation of this application embodiment, the target data packet includes update indication information, which includes at least one of the following: an update indication for the target data packet, an invalidation indication for a received data packet, and a discard indication for a received data packet.
[0223] In one possible implementation of this application embodiment, the communication device further includes: a capability acquisition module, configured to acquire the segmentation capability of the terminal device, wherein the segmentation capability is used to indicate whether the terminal device supports data packet segmentation transmission.
[0224] In one possible implementation of this application embodiment, the communication device further includes: a data receiving module, configured to receive the location information of the target data packet sent by the terminal device; the location information of the target data packet includes at least one of the following: segmentation indication information of the target data packet, location information of the target data packet in the target service data packet, location information of the target data packet in the cache, and identifier of the target data packet; wherein, the segmentation indication information of the target data packet is used to indicate whether the target data packet belongs to a segmented data packet and / or to indicate the segmentation type of the target data packet.
[0225] In one possible implementation of this application embodiment, the communication device further includes: a data transmission module, configured to transmit a first data packet and location information of the first data packet, wherein the first data packet is a segmented data packet of a first service data packet; the location information of the first data packet includes at least one of the following: segmentation indication information of the first data packet, location information of the first data packet in the first service data packet, location information of the first data packet in the cache, and identifier of the first data packet; wherein the segmentation indication information of the first data packet is used to indicate whether the first data packet belongs to a segmented data packet and / or to indicate the segmentation type of the first data packet.
[0226] In one possible implementation of this application embodiment, the communication device further includes: a data delivery module, configured to deliver received segmented data packets and an incomplete reception indication to the core network or application layer based on data delivery conditions; wherein, the data delivery conditions include: the target data packet is not received within a preset time period, and the target data packet is the last segmented data packet of the target service data packet, or, the received data packets have met the service requirements; the incomplete reception indication includes at least one of the following: the data volume of the target service data packet, the data volume of the unreceived data packets, the proportion of unreceived data packets, the data volume of the received data packets, and the proportion of the received data packets.
[0227] In one possible implementation of this application embodiment, the re-trigger indication information includes at least one of the following: the message type of the service request message, the message identifier of the service request message, the number of re-triggers, the reason for re-triggering, and the identifier of the terminal device; wherein, the service request message is a message used by the network device to request the terminal device to send the service data packet, and the service request message includes the re-trigger indication information.
[0228] In one possible implementation of this application embodiment, the re-trigger indication information further includes at least one of the following: location information of the received data packet, location information of the expected received data packet, range information of the expected received data packet, number or identifier of the received data packet, identifier of the expected received data packet, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet.
[0229] In one possible implementation of this application embodiment, the information sending module is specifically configured to: if the terminal device supports segmented data packet transmission, or has received any segmented data packet sent by the terminal device, send the transmission indication information based on the data transmission failure of the terminal device; if the terminal device does not support segmented data packet transmission, or has not acquired the segmentation capability of the terminal device, or, based on the transmission indication information, the number of times the target data packet has not been acquired reaches a preset threshold, send the re-trigger indication information based on the data transmission failure of the terminal device; if the terminal device supports segmented data packet transmission and has not received any segmented data packet sent by the terminal device, send the transmission indication information or the re-trigger indication information based on the data transmission failure of the terminal device.
[0230] It should be noted that the steps and related technical features executed by each module in the communication device provided in this application correspond to the method applied to network devices provided in the foregoing embodiments of the application. The description of the device part can be found in the embodiments of the foregoing method part, and will not be repeated here.
[0231] Figure 10 illustrates an example of the composition of an electronic device provided in an embodiment of this application. This electronic device may be a first device, including but not limited to a base station and a core network unit. Figure 10 shows a simplified schematic diagram of a base station structure. The base station includes parts 1010, 1020, and 1030. Part 1010 is mainly used for baseband processing and controlling the base station; part 1010 is typically the control center of the base station, often referred to as a processor, used to control the base station to perform the processing operations on the first device side in the above method embodiments. Part 1020 is mainly used for storing computer program code and data. Part 1030 is mainly used for transmitting and receiving radio frequency signals and converting radio frequency signals to baseband signals; part 1030 is often referred to as a transceiver module, transceiver, transceiver circuit, or transceiver. The transceiver module of part 1030, also referred to as a transceiver or transceiver, includes an antenna 1033 and a radio frequency circuit (not shown in the figure), wherein the radio frequency circuit is mainly used for radio frequency processing. Optionally, the device used to implement the receiving function in part 1030 can be regarded as a receiver, and the device used to implement the transmitting function can be regarded as a transmitter. That is, part 1030 includes receiver 1032 and transmitter 1031. The receiver can also be called a receiving module, receiver, or receiving circuit, etc., and the transmitter can be called a transmitting module, transmitter, or transmitting circuit, etc.
[0232] Sections 1010 and 1020 may include one or more single boards, each of which may include one or more processors and one or more memories. The processors are used to read and execute programs in the memories to implement baseband processing functions and control the base station. If multiple single boards exist, they can be interconnected to enhance processing capabilities. As an optional implementation, multiple single boards may share one or more processors, or multiple single boards may share one or more memories, or multiple single boards may simultaneously share one or more processors.
[0233] For example, in one implementation, the transceiver module of section 1030 is used to execute the transceiver-related processes performed by the base station (first device) in the aforementioned method embodiments. The processor of section 1010 is used to execute the processing-related processes performed by the base station in the aforementioned method embodiments.
[0234] It should be understood that Figure 10 is merely an example and not a limitation, and the network devices described above, including processors, memory, and transceivers, may not depend on the structure shown in Figure 10.
[0235] Figure 11 illustrates another example of the composition of an electronic device provided in an embodiment of this application. This electronic device can be a second device, which can be a terminal device, including but not limited to mobile phones, smart wearable devices (such as smartwatches), and other electronic devices. Taking a mobile phone as an example, the electronic device may include a processor 310, an external memory interface 320, an internal memory 321, a display screen 330, a camera 340, antenna 1, antenna 2, a mobile communication module 350, and a wireless communication module 360, etc.
[0236] It is understood that the structure illustrated in this embodiment does not constitute a specific limitation on the electronic device. In other embodiments, the electronic device may include more or fewer components than illustrated, or combine some components, or split some components, or have different component arrangements. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.
[0237] Processor 310 may include one or more processing units, such as: application processor (AP), modem processor, graphics processing unit (GPU), image signal processor (ISP), controller, video codec, digital signal processor (DSP), baseband processor, and / or neural network processing unit (NPU), etc. Different processing units may be independent devices or integrated into one or more processors.
[0238] It is understood that the interface connection relationships between the modules illustrated in this embodiment are merely illustrative and do not constitute a limitation on the structure of the electronic device. In other embodiments of this application, the electronic device may also employ different interface connection methods or combinations of multiple interface connection methods as described in the above embodiments.
[0239] The external storage interface 320 can be used to connect an external memory card, such as a Micro SD card, to expand the storage capacity of the electronic device. The external memory card communicates with the processor 310 through the external storage interface 320 to perform data storage functions. For example, music, video, and other files can be saved on the external memory card.
[0240] Internal memory 321 can be used to store executable program code, including instructions. Processor 310 executes various functional applications and data processing of the electronic device by running the instructions stored in internal memory 321. Internal memory 321 may include a program storage area and a data storage area. The program storage area may store the operating system, at least one application program required for a function (such as sound playback, image playback, etc.), etc. The data storage area may store data created during the use of the electronic device (such as audio data, phonebook, etc.). Furthermore, internal memory 321 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, universal flash storage (UFS), etc. Processor 310 executes various functional applications and data processing of the electronic device by running instructions stored in internal memory 321 and / or instructions stored in memory located within the processor.
[0241] The wireless communication function of electronic devices can be realized through antenna 1, antenna 2, mobile communication module 350, wireless communication module 360, modem processor and baseband processor, etc.
[0242] Antenna 1 and antenna 2 are used to transmit and receive electromagnetic wave signals. Each antenna in the electronic device can be used to cover one or more communication frequency bands. Different antennas can also be reused to improve antenna utilization. For example, antenna 1 can be reused as a diversity antenna for a wireless local area network. In some other embodiments, the antennas can be used in conjunction with a tuning switch.
[0243] The mobile communication module 350 can provide solutions for wireless communication applications including 2G / 3G / 4G / 5G in electronic devices. The mobile communication module 350 may include at least one filter, switch, power amplifier, low noise amplifier (LNA), etc. The mobile communication module 350 can receive electromagnetic waves via antenna 1, and perform filtering, amplification, and other processing on the received electromagnetic waves before transmitting them to a modem processor for demodulation. The mobile communication module 350 can also amplify the signal modulated by the modem processor and convert it into electromagnetic waves for radiation via antenna 1. In some embodiments, at least some functional modules of the mobile communication module 350 may be housed in the processor 310. In some embodiments, at least some functional modules of the mobile communication module 350 and at least some modules of the processor 310 may be housed in the same device.
[0244] In some embodiments, the electronic device initiates or receives call requests via the mobile communication module 350 and the antenna 1.
[0245] Furthermore, an operating system runs on top of the aforementioned components. Examples include iOS, Android, and Windows operating systems. Applications can be installed and run on this operating system. Those skilled in the art will understand that, for the sake of convenience and brevity, explanations and beneficial effects of the relevant content in any of the above-described electronic devices can be found in the corresponding method embodiments provided above, and will not be repeated here.
[0246] This application also provides a communication system, which may include a first device (e.g., a network device such as a base station) as shown in FIG10 and a second device (e.g., an A-IoT terminal device) as shown in FIG11.
[0247] In this application, the terminal device or network device may include a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer may include hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also known as main memory). The operating system layer may be any one or more computer operating systems that implement business processing through processes, such as Linux, Unix, Android, iOS, or Windows. The application layer may include applications such as browsers, address books, word processing software, and instant messaging software.
[0248] Those skilled in the art will clearly understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and modules described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.
[0249] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods can be implemented in other ways. For example, the device embodiments described above are merely illustrative; for instance, the division of modules is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple modules or components may be combined or integrated into another system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces, or indirect coupling or communication connection between devices or modules, and may be electrical, mechanical, or other forms.
[0250] The modules described as separate components may or may not be physically separate. The components shown as modules may or may not be physical modules; that is, they may be located in one place or distributed across multiple network modules. Some or all of the modules can be selected to achieve the purpose of this embodiment according to actual needs.
[0251] Furthermore, the functional modules in the various embodiments of this application can be integrated into one processing module, or each module can exist physically separately, or two or more modules can be integrated into one module. The integrated modules described above can be implemented in hardware or as software functional modules.
[0252] If the integrated module is implemented as a software functional module and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the essential contribution of the technical solution of this application, or all or part of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the processes of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory, random access memory, magnetic disks, or optical disks.
[0253] The above-described embodiments are only used to illustrate the technical solutions of this application, and are not intended to limit it. Although this application has been described in detail with reference to the foregoing embodiments, those skilled in the art should understand that modifications can still be made to the technical solutions described in the foregoing embodiments, or equivalent substitutions can be made to some of the technical features. Such modifications or substitutions do not cause the essence of the corresponding technical solutions to deviate from the scope of the technical solutions of the embodiments of this application.
Claims
A communication method, characterized in that, The method, applied to A-IoT terminal devices for environmental IoT, includes: Receive transmission indication information or re-trigger indication information sent by network device; wherein, the transmission indication information is used to indicate the retransmission of target data packet, and the re-trigger indication information is used to indicate the transmission of target service data packet, and the target data packet is a segmented data packet of the target service data packet; The target data packet is sent based on the transmission indication information, or the target service data packet is sent based on the re-trigger indication information. The method according to claim 1, characterized in that, The transmission indication information includes at least one of the following: location information of received segmented data packets, location information of expected received segmented data packets, range of location information of expected received segmented data packets, number or identifier of received segmented data packets, identifier of expected received segmented data packets, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet. The method according to any one of claims 1-2 is characterized in that, The transmission indication information is sent based on at least one of the following: Media Access Control (MAC) Control Unit (CE), Media Access Control (MAC) Protocol Data Unit (PDU), Physical Layer Control Signaling, or Layer 1 Control Signaling. The method according to any one of claims 1-3 is characterized in that, The receiving of transmission indication information sent by the network device includes: the first protocol layer receiving the transmission indication information; The method further includes: a second protocol layer receiving the transmission indication information sent by the first protocol layer, and determining the target data packet based on the transmission indication information; wherein, the first protocol layer is used for sending and receiving the target data packet, the second protocol layer is an upper protocol layer of the first protocol layer, and the second protocol layer is used to implement at least one of the following functions: generating the target service data packet, storing the sent segmented data packets, storing the segmented data packets to be retransmitted, retransmitting the target data packet, and performing segmentation processing on the target service data packet. The method according to any one of claims 1-4, characterized in that, The target data packet includes update indication information, which is used to indicate that the target service data packet has been updated. The method according to claim 5, characterized in that, The update indication information includes at least one of the following: update indication of the target data packet, invalidation indication of the received data packet, and discard indication of the received data packet. The method according to any one of claims 1-6, characterized in that, Before receiving the transmission indication information sent by the network device, the method further includes: The segmentation capability is reported, which is used to instruct the terminal device to support the segmented transmission of data packets. The method according to any one of claims 1-7 is characterized in that, The method further includes: The location information of the target data packet was sent; The location information of the target data packet includes at least one of the following: segmentation indication information of the target data packet, location information of the target data packet in the target service data packet, location information of the target data packet in the cache, and identifier of the target data packet; wherein, the segmentation indication information of the target data packet is used to indicate whether the target data packet belongs to a segmented data packet and / or to indicate the segmentation type of the target data packet. The method according to any one of claims 1-8, characterized in that, The method further includes: Receive the first data packet sent by the network device and the location information of the first data packet, wherein the first data packet is a segmented data packet of the first service data packet; The location information of the first data packet includes at least one of the following: segmentation indication information of the first data packet, location information of the first data packet in the first service data packet, location information of the first data packet in the cache, and identifier of the first data packet; wherein, the segmentation indication information of the first data packet is used to indicate whether the first data packet belongs to a segmented data packet and / or to indicate the segmentation type of the first data packet. The method according to claim 1, characterized in that, The re-triggering indication information includes at least one of the following: the message type of the service request message, the message identifier of the service request message, the number of re-triggering attempts, the reason for re-triggering, and the identifier of the terminal device; wherein, the service request message is a message used by the network device to request the terminal device to send the service data packet, and the service request message includes the re-triggering indication information. The method according to claim 10, characterized in that, The re-trigger indication information also includes at least one of the following: location information of the received data packet, location information of the expected received data packet, range information of the expected received data packet, number or identifier of the received data packet, identifier of the expected received data packet, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet. The method according to claim 10 or 11 is characterized in that, Sending the target service data packet based on the re-trigger indication information includes: The target service data packet is sent based on the re-triggering conditions and the re-triggering indication information; wherein, the re-triggering conditions include: the service transmission process is not completed, or, the terminal device matches the re-triggering indication information; wherein, the service transmission process is the transmission process of the target service data packet. The method according to claim 12, characterized in that, The incomplete service transmission process includes at least one of the following situations: the service transmission process has not been executed, the target service data packet has not been sent, no receipt confirmation indication for the target data packet has been received, the message identifier of the service request message is the same as the message identifier of the previously received service request message, or the service request message includes a re-trigger indication. The method according to any one of claims 10-13 is characterized in that, The receiving of the re-trigger indication information sent by the network device includes: the first protocol layer receiving the re-trigger indication information; The method further includes: a second protocol layer receiving the re-trigger indication information sent by the first protocol layer, and determining the data packet to be transmitted based on the re-trigger indication information; wherein the data packet to be transmitted is the target service data packet or a segmented data packet of the target service data packet, the first protocol layer is used for sending and receiving the target data packet, the second protocol layer is an upper protocol layer of the first protocol layer, and the second protocol layer is used to implement at least one of the following functions: generating the target service data packet, storing the sent segmented data packet, storing the segmented data packet to be retransmitted, retransmitting the target data packet, and performing segmentation processing on the target service data packet. A communication method, characterized in that, Applied to network devices, the method includes: Sending transmission indication information or re-trigger indication information to enable the terminal device to send a target data packet based on the transmission indication information, or to send a target service data packet based on the re-trigger indication information; wherein, the transmission indication information is used to indicate the retransmission of the target data packet, the re-trigger indication information is used to indicate the transmission of the target service data packet, the target data packet is a segmented data packet of the target service data packet, and the terminal device is an environmental Internet of Things (A-IoT) terminal device. The method according to claim 15, characterized in that, The transmission indication information includes at least one of the following: location information of received segmented data packets, location information of expected received segmented data packets, range of location information of expected received segmented data packets, number or identifier of received segmented data packets, identifier of expected received segmented data packets, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet. The method according to claim 15 or 16 is characterized in that, The target data packet includes update indication information, which includes at least one of the following: an update indication for the target data packet, an invalidation indication for a received data packet, and a discard indication for a received data packet. The method according to any one of claims 15-17 is characterized in that, The method further includes: The segmentation capability of the terminal device is obtained, and the segmentation capability is used to indicate whether the terminal device supports data packet segmentation. The method according to any one of claims 15-18 is characterized in that, The method further includes: Receive the location information of the target data packet sent by the terminal device; The location information of the target data packet includes at least one of the following: segmentation indication information of the target data packet, location information of the target data packet in the target service data packet, location information of the target data packet in the cache, and identifier of the target data packet; wherein, the segmentation indication information of the target data packet is used to indicate whether the target data packet belongs to a segmented data packet and / or to indicate the segmentation type of the target data packet. The method according to any one of claims 15-19 is characterized in that, The method further includes: Send a first data packet and its location information, wherein the first data packet is a segmented data packet of the first service data packet; The location information of the first data packet includes at least one of the following: segmentation indication information of the first data packet, location information of the first data packet in the first service data packet, location information of the first data packet in the cache, and identifier of the first data packet; wherein, the segmentation indication information of the first data packet is used to indicate whether the first data packet belongs to a segmented data packet and / or to indicate the segmentation type of the first data packet. The method according to any one of claims 15-20 is characterized in that, The method further includes: Based on the data delivery conditions, the received segmented data packets and the incomplete reception indication are delivered to the core network or application layer. The data delivery conditions include: no target data packet is received within a preset time period, and the target data packet is the last segment data packet of the target service data packet, or the received data packet has met the service requirements; The incomplete reception indication includes at least one of the following: the data volume of the target service data packet, the data volume of the unreceived data packet, the proportion of the unreceived data packet, the data volume of the received data packet, and the proportion of the received data packet. The method according to claim 15, characterized in that, The re-triggering indication information includes at least one of the following: the message type of the service request message, the message identifier of the service request message, the number of re-triggering attempts, the reason for re-triggering, and the identifier of the terminal device; wherein, the service request message is a message used by the network device to request the terminal device to send the service data packet, and the service request message includes the re-triggering indication information. According to the method of claim 22, the re-trigger indication information further includes at least one of the following: location information of received data packets, location information of data packets to be received, range information of data packets to be received, number or identifier of received data packets, identifier of data packets to be received, new transmission indication identifier or retransmission indication identifier, service identifier and / or session identifier corresponding to the target data packet. The method according to any one of claims 15-23 is characterized in that, The transmission indication information or re-trigger indication information includes: If the terminal device supports segmented data packet transmission, or has received any segmented data packet sent by the terminal device, the transmission indication information is sent based on the data transmission failure of the terminal device; If the terminal device does not support data packet segmentation, or if the segmentation capability of the terminal device is not obtained, or if the number of times the target data packet is not obtained based on the transmission indication information reaches a preset threshold, or if the data transmission of the terminal device fails, then the re-trigger indication information is sent. If the terminal device supports segmented data packet transmission, and no segmented data packet is received from the terminal device, the transmission indication information or the re-trigger indication information is sent based on the data transmission failure of the terminal device. A communication device, characterized in that, The communication device is specifically an A-IoT terminal device, and the communication device includes: The information receiving module is used to receive transmission indication information or re-trigger indication information sent by the network device; wherein, the transmission indication information is used to indicate the retransmission of the target data packet, and the re-trigger indication information is used to indicate the transmission of the target service data packet, and the target data packet is a segmented data packet of the target service data packet; The data sending module is used to send the target data packet based on the transmission indication information, or to send the target service data packet based on the re-trigger indication information. A communication device, characterized in that, The communication device is specifically a network device, and the communication device includes: An information sending module is used to send transmission indication information or re-trigger indication information, so that the terminal device sends a target data packet based on the transmission indication information, or sends a target service data packet based on the re-trigger indication information; wherein, the transmission indication information is used to indicate the retransmission of the target data packet, the re-trigger indication information is used to indicate the transmission of the target service data packet, the target data packet is a segmented data packet of the target service data packet, and the terminal device is an environmental Internet of Things (A-IoT) terminal device. A communication device, characterized in that, The communication device includes: Memory is used to store computer programs or computer instructions; A processor for executing a computer program or computer instructions stored in the memory, causing the communication device to perform the method as claimed in any one of claims 1-14 or 15-24. A computer storage medium for storing a computer program, which, when executed, implements the method of any one of claims 1-14 or 15-24.