Data transmission method and related apparatus
By sending status and indication information to network devices through A-IoT devices, the problem of unclear information reporting in existing communication protocols is solved, and more efficient data transmission accuracy and communication performance are achieved.
Patent Information
- Authority / Receiving Office
- WO · WO
- Patent Type
- Applications
- Current Assignee / Owner
- HONOR DEVICE CO LTD
- Filing Date
- 2025-07-30
- Publication Date
- 2026-06-11
Smart Images

Figure CN2025111402_11062026_PF_FP_ABST
Abstract
Description
Data transmission method and related devices
[0001] This application claims priority to Chinese Patent Application No. 202411772155.7, filed on December 4, 2024, entitled "Data Transmission Method and Related Apparatus", the entire contents of which are incorporated herein by reference. Technical Field
[0002] This application relates to the field of Internet of Things (IoT) technology, and in particular to data transmission methods and related devices. Background Technology
[0003] Ambient Internet of Things (A-IoT) devices can harvest energy from the environment to power themselves, which reduces the energy storage requirements of A-IoT devices. Some A-IoT devices have a certain energy storage capacity.
[0004] In practical applications, in order to improve the communication performance and efficiency between network devices and A-IoT devices, A-IoT devices can report relevant information (such as the energy information of A-IoT devices) to the network side. However, current IoT communication protocols do not provide specific solutions for reporting such data. Summary of the Invention
[0005] In view of this, this application provides a data transmission method and related apparatus to solve at least some of the above-mentioned problems, and the disclosed technical solution is as follows:
[0006] Firstly, this application provides a data transmission method applied to A-IoT devices. The method includes: sending first information to a network device, the first information including status information and / or indication information of the A-IoT device, the indication information indicating whether the first information contains status information. Thus, the A-IoT device sends first information carrying device status information to the network device. After receiving the first information, the network device can identify the specific information content reported by the A-IoT device by parsing the information content, avoiding incorrect decoding of A-IoT data packets containing the first information by the network device, thereby improving the accuracy of A-IoT data transmission.
[0007] In one possible implementation, the status information includes at least one of the following: energy information of the A-IoT device, data packet size, device priority, random access type, and service type. Therefore, the A-IoT device can report at least one of multiple status types to the network device, and the network device can accurately identify the status information type by parsing the status information in the first set of information, thus improving data transmission accuracy.
[0008] In one possible implementation, the first information is contained in a data packet of a first protocol layer, which includes at least one of the following: an access layer, a non-access layer, and an application layer. In this way, A-IoT devices can encapsulate the first information using at least one of the access layer protocol, non-access layer protocol, and application layer protocol, improving the flexibility of data encapsulation.
[0009] In one possible implementation, the information bits used to carry status information in the first information are reserved bits or have a second value, indicating that the first information does not contain status information or that the A-IoT device does not support reporting status information. In this way, the network device can accurately identify the first information that does not contain status information by parsing the status information bits in the first information. Furthermore, the reserved bits can also carry extended information, improving the utilization rate of the information bits.
[0010] In one possible implementation, the information bits in the first information used to carry indication information are reserved bits or have a first value, indicating that the first information does not contain status information or that the A-IoT device does not support reporting status information. In this way, the A-IoT device can also indicate that the first information does not contain status information through the indication information in the first information. In this scenario, the status information field in the first information can carry other information, improving the utilization rate of the information bits.
[0011] In one possible implementation, the indication information is the packet type and / or capability information of the first protocol layer packet. This allows existing information fields to be reused to indicate whether status information is included, eliminating the need to allocate dedicated bits for the indication information and thus improving the utilization of information bits.
[0012] In one possible implementation, the indication information is a data packet type. When the data packet type is a first type, the indication information includes status information; when the data packet type is a second type, the indication information does not include status information. Alternatively, when the data packet type is a first type value or a third type value, the indication information includes status information; when the data packet type is a second type value or a fourth type value, the indication information does not include status information. The indication information is capability information. When the capability information is a first capability, the indication information includes status information; when the capability information is a second capability, the indication information does not include status information. The indication information is both data packet type and capability information. When the data packet type is a first type and the capability information is a first capability, the indication information includes status information; when the data packet type is a second type and / or the capability information is a second capability, the indication information does not include status information. In this way, by using the existing data packet type and / or capability information in the data packet to indicate whether the data packet contains status information, there is no need to allocate dedicated information bits for the indication information, saving information bit usage and improving information bit utilization.
[0013] In one possible implementation, the status information also includes the capability information of the A-IoT device.
[0014] In one possible implementation, the capability information includes at least one of the following: device type, energy storage capacity, segmentation capability, reuse capability, and connectivity capability of the A-IoT device.
[0015] In one possible implementation, the status information includes a first state. When the first state is a first state value, it indicates that the status information also includes a second state. The first state and the second state are different and each contains at least one of energy information, packet size, capability information, device priority, random access type, and service type. Thus, one type of status information contained in the first information can indicate that the first information also includes another type of status information. That is, the status information is reused to indicate whether another type of status information is included. Therefore, the type of status information indicated can be increased without adding additional information bits, improving the utilization rate of information bits.
[0016] In one possible implementation, the first device state is the energy information of the A-IoT device. When the energy information is a first energy value, the status information indicates that the state information also includes the data packet size; or, the first device state is the data packet size. When the data packet size is a first size value, the status information indicates that the state information also includes the energy information of the A-IoT device. It is evident that the energy information contained in the first information can indicate that the first information also includes the data packet size, or the data packet size in the first information can indicate that the first information also includes energy information, thus improving the utilization rate of information bits.
[0017] In one possible implementation, sending first information to the network device includes: when the A-IoT device meets the reporting conditions, it sends the first information to the network device; wherein the reporting conditions include at least one of the following: the A-IoT device's energy is below an energy threshold, the size of the A-IoT data packet meets a second threshold, the A-IoT device's service type is device-initiated, the A-IoT device's data packet is segmented, the A-IoT device's data packet is reused, the A-IoT device requests the allocation of a device identifier, the A-IoT device is in a connected state, and the A-IoT device's charging is controllable. The A-IoT device only reports status information after detecting that the reporting conditions are met, which can reduce the frequency of A-IoT device reporting status information, thereby saving the A-IoT device's energy, while simultaneously meeting the network device's need to promptly obtain the status information of A-IoT devices in specific states.
[0018] In one possible implementation, sending first information to the network device includes: the A-IoT device receiving a reporting instruction from the network device, the reporting instruction instructing the A-IoT device to report status information; and the A-IoT device sending the first information to the network device. The A-IoT device can report first information containing status information after receiving the reporting instruction from the network device. This allows the network device to determine whether the A-IoT data packet contains the A-IoT device's status information based on the timing of its transmission, reducing the variety of data packet formats, lowering the complexity of data transmission, and further reducing communication complexity.
[0019] In one possible implementation, the reporting indication information includes at least one of A-IoT device capability reporting indication, energy information reporting indication, data packet size reporting indication, segmentation indication, A-IoT device identifier, and status reporting condition indication.
[0020] In one possible implementation, the status information is energy information. The energy information is used to indicate at least one of the following states of the A-IoT device: the A-IoT device's energy is below the energy threshold and it cannot receive the next data after the first information transmission, and / or there is no data to be transmitted; the A-IoT device's energy is below the energy threshold and it can receive the next data after the first information transmission, but cannot send data, and / or there is no data to be transmitted; the A-IoT device's energy is below the energy threshold and it cannot transmit data after the first information transmission, but there is data to be transmitted; the A-IoT device's energy is below the energy threshold and it can still perform data transmission for a unit process after the first information transmission; the A-IoT device's energy is below the energy threshold and the access layer state of the A-IoT device cannot be maintained; the A-IoT device's energy is below the energy threshold, and the current process can be paused until charging is complete before resuming processing; the A-IoT device has completed charging. This improves the indication range of the status information, thereby increasing information utilization.
[0021] In one possible implementation, the status information is the data packet size. The data packet size is used to indicate the data packet status of the A-IoT device, including at least one of the following states: the size of the data packet to be transmitted; the size of the complete data packet; and the size of the data packet already transmitted. In this way, the data packet size can indicate at least one of the above-mentioned data packet states, increasing the indication range of the data packet size and thus improving information utilization.
[0022] Secondly, this application also provides a data transmission method applied to a network device, the method comprising: receiving first information sent by an A-IoT device, the first information including status information and / or indication information of the A-IoT device, the indication information being used to indicate whether the first information contains status information.
[0023] In one possible implementation, the status information includes at least one of the following: energy information of the A-IoT device, data packet size, device priority, and service type.
[0024] In one possible implementation, the first information is contained in a data packet of a first protocol layer, which includes at least one of the following: an access layer, a non-access layer, and an application layer.
[0025] In one possible implementation, the method further includes: when the status information in the first information is parsed to a first value, indicating that the first information contains the status information of the A-IoT device; when the status information is parsed to a second value, indicating that the first information does not contain the status information of the A-IoT device.
[0026] In one possible implementation, the method further includes: when the indication information in the first information is parsed as a third value, indicating that the first information contains the status information of the A-IoT device.
[0027] In one possible implementation, the method further includes: when the parsed indication information is a fourth value, indicating that the first information does not contain the status information of the A-IoT device.
[0028] In one possible implementation, the indication information is capability information of the first information and / or the type of the first protocol layer data packet.
[0029] In one possible implementation, before receiving the first information sent by the A-IoT device, the method further includes: sending a reporting instruction to the A-IoT device, the reporting instruction being used to instruct the A-IoT device to report status information.
[0030] In one possible implementation, the reported indication information includes at least one of the following: A-IoT device capability reporting indication, energy status reporting indication, data packet size reporting indication, segmentation indication, A-IoT device identifier and status reporting condition indication, A-IoT device being in a connected state, and A-IoT device being able to charge.
[0031] Thirdly, this application also provides an electronic device, which includes: one or more processors, a memory, and a touch screen; the memory is used to store program code; the processor is used to run the program code, enabling the electronic device to implement the data transmission method as described in any possible implementation of the first aspect.
[0032] Fourthly, this application also provides a computer-readable storage medium having instructions stored thereon, which, when executed on an electronic device, cause the electronic device to perform a data transmission method as described in any possible implementation of the first aspect.
[0033] Fifthly, this application also provides a chip system, including: at least one processor and an interface, the interface being used to receive code instructions and transmit them to the at least one processor; the at least one processor executing the code instructions to implement the data transmission method of any possible implementation of the first aspect.
[0034] Sixthly, this application also provides a computer program product having instructions stored thereon, which, when the computer program product is run on an electronic device, cause the electronic device to implement the data transmission method as described in any possible implementation of the first aspect. Attached Figure Description
[0035] Figure 1 is a schematic diagram of the communication system structure of an environmental Internet of Things provided in an embodiment of this application;
[0036] Figure 2 is a schematic diagram of another communication system structure for an IoT environment provided in an embodiment of this application;
[0037] Figure 3 is a flowchart of a data transmission method provided in an embodiment of this application;
[0038] Figure 4 is a schematic diagram of a data packet format containing first information provided in an embodiment of this application;
[0039] Figure 5 is a schematic diagram of another data packet format containing first information provided in an embodiment of this application;
[0040] Figure 6 is a schematic diagram of another data packet format containing first information provided in an embodiment of this application;
[0041] Figure 7 is a schematic diagram of another data packet format containing first information provided in an embodiment of this application;
[0042] Figure 8 is a schematic diagram of another data packet format containing first information provided in an embodiment of this application;
[0043] Figure 9 is a flowchart of another data transmission method provided in an embodiment of this application;
[0044] Figure 10 is a schematic diagram of the time-domain resources of first information provided in an embodiment of this application;
[0045] Figure 11 is a schematic diagram of the structure of a communication device provided in an embodiment of this application;
[0046] Figure 12 is a schematic diagram of another communication device provided in an embodiment of this application;
[0047] Figure 13 is a schematic diagram of the chip structure provided in an embodiment of this application. Detailed Implementation
[0048] The terms "first," "second," and "third," etc., used in this application specification, claims, and drawings are used to distinguish different objects, not to limit a specific order.
[0049] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in the embodiments of this application should not be construed as being more preferred or advantageous than other embodiments or design. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.
[0050] To ensure clarity and conciseness in the description of the following embodiments, a brief introduction to the related technologies is given first:
[0051] Ambient IoT Services (A-IoT service): This service supports the functions and processes required for environmental IoT application scenarios. It should be noted that A-IoT is one possible abbreviation for Ambient IoT; other English abbreviations, such as AIoT, may also be used, and this application does not limit the choice.
[0052] A-IoT service data packets: Application layer service data generated by A-IoT devices or A-IoT network devices that needs to be transmitted over the network.
[0053] Please refer to Figure 1, which shows a communication system structure diagram of an environmental Internet of Things (IoT) according to an embodiment of this application. As shown in Figure 1, the communication system includes a network device 101 and an A-IoT device 102.
[0054] The A-IoT device 102 can be used to receive excitation signals or backscattered signals. Optionally, the A-IoT device 102 may not be a power storage device and cannot independently generate or amplify signals. Optionally, the A-IoT device 102 can be a power storage device, but cannot independently generate or amplify signals. Optionally, the A-IoT device 102 can be a power storage device and can also independently generate or amplify signals. Optionally, the A-IoT device 102 can be a power storage device (capacitor) or a supercapacitor.
[0055] Network device 101 can provide data transmission services to A-IoT devices through a wireless interface. That is, wireless transmission can be performed between network device 101 and A-IoT devices. For example, network device 101 sends data or instructions to A-IoT device 102 through wireless communication, and A-IoT device 102 can report data through wireless communication, such as energy information, data packet size, etc. of A-IoT devices.
[0056] Please refer to Figure 2, which shows a schematic diagram of the architecture of another Internet of Things (IoT) network communication system provided in an embodiment of this application. As shown in Figure 2, the communication system may include a network device 201, an intermediate node 202 (or an auxiliary node), and an A-IoT device 203.
[0057] In this architecture, A-IoT device 203 communicates wirelessly with network device 202 through intermediate node 202.
[0058] The intermediate node 202 can be a relay, user equipment (UE), integrated access and backhaul (IAB) node, repeater, or other device with relay capabilities. In this embodiment, the intermediate node 202 can be considered as part of the network device.
[0059] In this embodiment, intermediate node 202 can provide data transmission services to A-IoT device 203 via a wireless interface, that is, intermediate node 202 provides relay function for A-IoT device 203. For example, during uplink, A-IoT device 203 can send uplink data to network device 201 through intermediate node 202, or A-IoT device 203 can directly send uplink data to network node 201. During downlink, network device 201 can send downlink data to A-IoT device 203 through intermediate node 202, or network device 201 can directly send downlink data to A-IoT device 203. In other words, intermediate node 202 can assist network device and A-IoT device in achieving wireless communication during uplink and / or downlink processes.
[0060] It should be noted that in addition to the architecture of the A-IoT system listed in Figures 1 and 2, the architecture of the A-IoT system also includes a variety of architectures, such as: the A-IoT device's transmit and receive functions being different network devices or nodes, or the terminal device directly providing a wireless interface for the A-IoT device, etc., all of which are applicable to this invention.
[0061] In this application, network devices and intermediate nodes (e.g., terminal devices) that provide wireless interface transmission for A-IoT devices can be collectively referred to as readers.
[0062] The aforementioned terminal equipment, also known as user equipment (UE), mobile station (MS), or mobile terminal (MT), is a device that provides voice or data connectivity to a user. Specifically, it includes devices that provide voice connectivity, devices that provide data connectivity, or devices that provide both voice and data connectivity. For example, it may include handheld devices with wireless connectivity or processing devices connected to a wireless modem. This terminal equipment can communicate with the core network via a radio access network (RAN), exchanging voice or data with the RAN, or interacting with the RAN to exchange voice and data. Currently, terminal devices can include: mobile phones, tablets, laptops, PDAs, mobile internet devices (MIDs), wearable devices (such as smartwatches, smart bracelets, pedometers, etc.), in-vehicle devices (such as cars, bicycles, electric vehicles, airplanes, ships, trains, high-speed trains, etc.), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, smart home devices (such as refrigerators, televisions, air conditioners, electricity meters, etc.), smart robots, workshop equipment, wireless terminals in autonomous driving, wireless terminals in remote surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, and flying equipment (such as smart robots, hot air balloons, drones, airplanes), etc.
[0063] Terminal devices can also be other devices with terminal functions. For example, a terminal device can also be a device that acts as a terminal in D2D communication. Terminal devices can also include vehicle-to-everything (V2X) terminal devices, machine-to-machine / machine-type communications (M2M / MTC) terminal devices, Internet of Things (IoT) terminal devices, light UEs, reduced capability UEs (REDCAP UEs), subscriber units, subscriber stations, mobile stations, remote stations, access points (APs), remote terminals, access terminals, user terminals, user agents, or user devices, drone equipment, etc.
[0064] For example, it can include mobile phones (or "cellular" phones), computers with mobile terminal devices, portable, pocket-sized, handheld, and computer-embedded mobile devices. Examples include personal communication service (PCS) phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, and personal digital assistants (PDAs). It also includes limited devices, such as devices with low power consumption, limited storage capacity, or limited computing power. Examples include information sensing devices such as barcode scanners, radio frequency identification (RFID), sensors, global positioning systems (GPS), and laser scanners. In this application, terminal devices with wireless transceiver capabilities and chips that can be installed in the aforementioned terminal devices are collectively referred to as terminal devices.
[0065] It should be noted that the terminal device may be a device or apparatus with a chip, or a device or apparatus with integrated circuitry, or a chip, module or control unit in the device or apparatus shown above. This application does not limit the specific device.
[0066] The network devices in the architectures shown in Figures 1 and 2 can be access network devices for cellular systems related to the 3rd Generation Partnership Project (3GPP). For example, fourth-generation (4G) mobile communication systems or 5G mobile communication systems. The network devices can also be access network devices in open RAN (O-RAN or ORAN) or cloud radio access network (CRAN). Alternatively, the network devices can be access network devices in a communication system resulting from the integration of two or more of the above communication systems.
[0067] Network equipment includes, but is not limited to: evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), baseband unit (BBU), access point (AP) in wireless fidelity (WIFI) systems, macro base station, micro base station, wireless relay node, donor node, radio controller in CRAN scenarios, wireless backhaul node, transmission point (TP), or transmission and receiving point (TRP). Network equipment can also be access network equipment in 5G mobile communication systems. For example, next-generation Node B (gNB), TRP, TP in new radio (NR) systems, or one or more antenna panels (including multiple antenna panels) of a base station in a 5G mobile communication system. Alternatively, network devices can also be network nodes constituting a gNB or transmission point. Examples include centralized units (CUs), distributed units (DUs), CU-control plane (CPs), CU-user plane (UPs), or radio units (RUs). CUs and DUs can be separate entities or included in the same network element, such as a BBU. RUs can be included in radio equipment or radio units, such as remote radio units (RRUs), active antenna units (AAUs), or remote radio heads (RRHs). Alternatively, network devices can also be servers, wearable devices, vehicles, or in-vehicle equipment. For example, in V2X technology, network devices can be roadside units (RSUs).Network equipment can also serve as core network equipment in 5G mobile communication systems, such as: Ambient IoT function (AIoTF), access and mobility management function (AMF), application function (AF), etc.
[0068] It should be noted that the network device can be the device or apparatus shown above, or a component (e.g., a chip), module, or unit in the device or apparatus shown above; this application does not limit the specifics.
[0069] In real-world applications, during data communication between network devices and A-IoT devices, the network devices (i.e., network-side devices) may experience disruptions in the overall communication performance between the A-IoT devices and the network devices because they are unable to obtain relevant information about the A-IoT devices (such as energy information and data packet size) in a timely manner.
[0070] To address the aforementioned technical problems, this application provides a data transmission method in which an A-IoT device can send first information to a network device. This first information includes the A-IoT device's status information and / or indication information. The indication information indicates whether the first information contains the A-IoT device's status information. For example, the A-IoT device's status information may include at least one of: energy information, data packet size information, device priority, and service type. Therefore, after receiving the first information reported by the A-IoT device, the network device can identify whether the first information contains the A-IoT device's status information by parsing its content, thus avoiding incorrect decoding of A-IoT data packets containing the first information and improving the accuracy of A-IoT data transmission. Furthermore, the network device can accurately identify the A-IoT device's status information and decide on subsequent communication procedures based on this information, thereby improving the communication efficiency and performance between the A-IoT device and the network device.
[0071] Please refer to Figure 3, which shows a flowchart of a data transmission method provided in an embodiment of this application. This method can be applied to an environmental Internet of Things (IoT) communication system.
[0072] As shown in Figure 3, the method may include the following steps:
[0073] S101, the A-IoT device sends the first information to the network device.
[0074] The first information includes the status information and / or indication information of the A-IoT device. The indication information is used to indicate whether the first information includes the status information of the A-IoT device.
[0075] For example, the status information of an A-IoT device may include at least one of the following: energy information, data packet size, capability information, device priority, random access type, and service type (such as device originated autonomous (DoA) type, inventory, command, etc., where commands may include read, write, invalid, etc.).
[0076] In some embodiments, the first information may be included in a data packet of the first protocol layer, wherein the first protocol layer may be at least one of the access layer, the non-access layer, and the application layer. Further, when the first protocol layer is an access layer, it may be a Medium Access Control (MAC) layer or an access layer defined for A-IoT device communication; no specific name is limited here. The data packet of the first protocol layer may be a protocol data unit of the first protocol layer containing A-IoT service data packets, or a control unit of the first protocol layer, or a multiplexed data packet of both; no limitation is made here.
[0077] This application does not limit the specific encapsulation or transmission format of the first information. For example, the first information may be included in the header portion of the first protocol layer data packet, or in the payload portion of the first protocol layer data packet.
[0078] Energy information is used to indicate the energy status of A-IoT devices, such as remaining energy being below a threshold, within a certain range, or an estimated energy status. For example, energy information can indicate at least one of the following seven states:
[0079] (1) The energy of the A-IoT device is lower than the energy threshold, and after the first information transmission, it cannot receive the next data, and / or there is no data to be transmitted.
[0080] (2) When the energy of the A-IoT device is below the energy threshold, it can receive the next data after the first information transmission, but cannot send data, and / or there is no data to be transmitted.
[0081] (3) The energy of the A-IoT device is lower than the energy threshold. After the first information transmission, it cannot transmit data and there is data waiting to be transmitted.
[0082] (4) The energy of the A-IoT device is lower than the energy threshold and it can still perform data transmission per unit process after the first information transmission. The data transmission per unit process refers to the predefined minimum data transmission process, such as the process of the A-IoT device receiving data sent by the network device once, or the process of the A-IoT device sending and receiving data to the network device once.
[0083] (5) The energy of the A-IoT device is lower than the energy threshold and the access status of the A-IoT device cannot be maintained.
[0084] (6) When the energy of the A-IoT device is lower than the energy threshold, the process can be paused and continue to be processed after the charging is completed. The process can be paused means that the A-IoT device can maintain process information during the charging period, such as the status of data packet transmission and the identification of the A-IoT device.
[0085] (7) A-IoT device charging complete.
[0086] Random access types include 2-step access, 3-step access, or various types such as the first packet containing data and the first packet not containing data, or the first packet containing a random number and the first packet not containing a random number. Here, the first packet can be MSG1, and the random number can be RN16; this application does not impose any restrictions.
[0087] The data packet size can indicate at least one of the following states: the size of the data packet to be transmitted, the size of the complete data packet, or the size of the data packet already transmitted. Here, the data packet can refer to an access layer data packet or an application layer business data packet. The data packet size can be the amount of data in a single data packet or the amount of data buffered in the cache (e.g., the sum of the amounts of multiple data packets).
[0088] Capability information is used to indicate the capabilities supported by A-IoT devices, such as device type, energy storage capacity, segmentation capacity, reuse capacity, and connectivity capacity.
[0089] The service type is used to indicate the type of service information carried in the current data packet.
[0090] Device priority is used to indicate the priority of the current A-IoT device. For example, priorities can be assigned based on the importance of the A-IoT device or based on the device's capabilities.
[0091] In some embodiments, the location in the first information used to carry status information, referred to as an information bit in this application, can be a predefined fixed location, that is, the field used to carry status information is a mandatory information field of the first information, or it can be a location indicated by the network device. This application does not limit the method of determining the location used to carry status information.
[0092] For A-IoT devices that do not support reporting status information, the information bits used to carry the status information can be reserved or set to a second value, such as 0. Of course, the second value can also be other values different from the first value indicating the status information of the A-IoT device, and this application does not limit this.
[0093] Furthermore, this application does not limit the timing of A-IoT devices reporting status information. For example, an A-IoT device may report the first information after detecting that it meets the reporting conditions.
[0094] For example, the reporting conditions may include at least one of the following: the energy of the A-IoT device is lower than the energy threshold, the size of the A-IoT data packet meets the second threshold, the service type of the A-IoT device is DoA type, the data packet of the A-IoT device is segmented, the data packet of the A-IoT device is reused, the A-IoT device requests the allocation of a device identifier, the A-IoT device is in a connected state, and the charging of the A-IoT device is controllable.
[0095] For example, when an A-IoT device detects that the energy level is below a threshold, it reports first information including the energy status. When an A-IoT device detects that the A-IoT data packet size meets a second threshold, it reports first information including the data packet size. When an A-IoT device detects that the A-IoT service type is DoA, it reports first information including the service type. When an A-IoT device detects that an A-IoT data packet has undergone segmentation, it reports first information including the segmentation indication. When an A-IoT device detects that an A-IoT data packet has been reused, it reports first information including the data packet reuse.
[0096] S102, the network device parses the first information to identify whether the first information contains the status information of the A-IoT device.
[0097] After receiving the first information, the network device parses the information in each bit. If the parsed bit used to carry status information is a first value, it is determined that the first information contains the status information of the A-IoT device. The first value can be set according to actual needs, and this application does not limit it. If the parsed bit is a second value, it is determined that the first information does not contain the status information of the A-IoT device, and / or the A-IoT device does not support reporting status information, that is, the A-IoT device does not have the function of reporting status information.
[0098] After parsing the initial information to obtain the status information of the A-IoT device, the network device can decide on the next communication step based on the device's status. For example, if the initial information includes a status message that the A-IoT device has run out of power and cannot receive the next data, the network device will stop sending data packets to that A-IoT device upon receiving this message, thus avoiding resource waste caused by the device running out of power. The network device will then continue sending data packets once the A-IoT device has sufficient power, improving communication efficiency.
[0099] The data transmission method provided in this embodiment allows an A-IoT device to send first information containing its status information to a network device. The network device parses this first information to identify whether it contains the A-IoT device's status information, thereby preventing the network device from incorrectly decoding the data packets reported by the A-IoT device and improving the accuracy of A-IoT data transmission. Furthermore, after the network device accurately identifies the A-IoT device's status information, it can provide effective information for communication between the network device and the A-IoT device, reducing resource waste caused by the network device's lack of knowledge about the A-IoT device's status. Therefore, it improves the communication performance and efficiency between the network device and the A-IoT device.
[0100] The following sections, with reference to Figures 4 through 8, will introduce the possible data packet formats for data packets containing the first information.
[0101] 1. The first possible data packet format
[0102] Please refer to Figure 4, which illustrates a data packet format for first information provided in an embodiment of this application.
[0103] As shown in Figure 4, the first information may include the status information of the A-IoT device.
[0104] It is understood that A-IoT devices can include the first information in A-IoT data packets and send it to network devices. For example, the first information can be included in the header or payload of the data packet, and this application does not impose any special restrictions on this. Alternatively, A-IoT devices can also send the first information to network devices separately, and this application does not limit the encapsulation and transmission form of the first information.
[0105] For example, status information may include at least one of the following: energy information of the A-IoT device, data packet size, capability information, device priority, and service type (such as DoA type).
[0106] In some embodiments, status information is a mandatory field for the first information. When an A-IoT device needs to report status information, the information bits used to carry the status information are the numerical values corresponding to the status information. When an A-IoT device does not need to report (or does not support reporting) status information, the information bits used to carry the status information are reserved bits or set to a specific value (i.e., the aforementioned second value), such as all bits of the information bit being set to 0. The reserved bits can be used to carry extended content during expansion.
[0107] In some embodiments, the information bits used to carry status information may be fixed information bits predefined in the protocol, or information bits indicated by the network device.
[0108] The values of the status information can be determined according to the actual situation. Taking the energy information of the A-IoT device as an example, the first value (such as 1) indicates that the energy (or remaining energy) of the A-IoT device is lower than the energy threshold, and the second value (such as 0) indicates that there is no energy information or that the energy of the A-IoT device is higher than the energy threshold. The energy threshold here can be a numerical value or a range, such as 10% or 11% to 20%.
[0109] In some embodiments, the status information may include one or more bits. The status information includes multiple bits, and the multiple bits can carry different types of status information. For example, the first bit is the energy information of the A-IoT device, the second and third bits are the data packet size of the A-IoT data, the fourth bit is the capability information, and the fifth to eighth bits are the service type.
[0110] In other embodiments, the status information can be any of the predefined status information of the same type, such as energy information, packet size, capability information, device priority, and service type (such as DoA type). In this scenario, the status information can include multiple bits or one bit.
[0111] For example, taking energy information as the status information, using only one bit to represent the energy information of an A-IoT device can indicate whether the A-IoT device is in a state where its energy is below a threshold. For example, "1" indicates that the energy is below the threshold, and "0" indicates that there is no state where the energy is below the threshold, or that the energy is above the threshold. When multiple bits are used to represent the energy information of an A-IoT device, different values can represent different energy states. For example, the binary number "11" indicates that the energy is depleted, the binary number "10" indicates that the energy is in the range of 10% to 20%, the binary number "01" indicates that the energy is in the range of 21% to 30%, and the binary number "00" indicates that the energy is above 30%.
[0112] For example, taking the status information as the size of the data packet as an example, when using one bit to represent the size of the A-IoT data packet transmitted by the A-IoT device, for instance, "0" indicates that the data packet size is less than the first threshold, and "1" indicates that the data packet size is greater than the first threshold. When using two bits to represent the size of the A-IoT data packet, the binary number "00" indicates that the data packet size is less than the first threshold, the binary number "01" indicates that the data packet size is greater than the first threshold and less than the second threshold, the binary number "10" indicates that the data packet size is greater than the second threshold and less than the third threshold, and the binary number "11" indicates that the data packet size is greater than the third threshold. Here, the first threshold is less than the second threshold, and the second threshold is less than the third threshold.
[0113] Other types of status information can be selected using one or more bits, and the meaning of different values can be determined according to the actual situation of the status information. This application does not impose any special restrictions on this.
[0114] After receiving the first information, the network device parses the information bits corresponding to the status information and obtains the corresponding information according to the meaning of different predefined values.
[0115] Taking energy status as an example, if the status information is a first value, it indicates that the A-IoT device's energy is below a threshold. If the status information is a second value, it indicates that the first information does not contain the A-IoT device's status information, or that the A-IoT device sending the first information does not support status information reporting, or that the A-IoT device's energy is above the threshold. It should be noted that if the network device needs to further distinguish whether the A-IoT device does not support status information reporting or whether its energy is above the threshold, more information bits need to be allocated to the energy status.
[0116] The first information provided in this embodiment includes the status information of the A-IoT device. After receiving the first information, the network device can accurately identify whether the first information contains the status information of the A-IoT device by parsing its value, thereby improving the accuracy of A-IoT data packet transmission. Furthermore, after obtaining the status information of the A-IoT device, the network device can provide effective information for communication between the network device and the A-IoT device, reducing the problem of resource waste caused by the network device not knowing the status of the A-IoT device. Therefore, the communication performance and efficiency between the network device and the A-IoT device are improved.
[0117] 2. The second possible data format
[0118] Please refer to Figure 5, which illustrates another data packet format containing first information provided in an embodiment of this application.
[0119] As shown in Figure 5, the first information may include indication information, status information, and data / instructions. The status information and data / instructions are the same as those in the embodiment shown in Figure 4, and will not be described again here.
[0120] The indication information is used to indicate whether the first information contains status information of the A-IoT device. In some embodiments, the indication information may indicate whether the first information contains at least one of the following status information: energy information, data packet size, capability information, service type, device priority, etc. In other words, the indication information may indicate whether the first information contains one or more of the above-mentioned status information.
[0121] In some embodiments, the indication information is a mandatory field of the first information. When the indication information is a first value, it indicates that the first information contains status information of the A-IoT device; when the indication information is a second value, it indicates that the first information does not contain status information, or that the A-IoT device does not support reporting status information. For A-IoT devices that do not support reporting status information, the information bits of the indication information can be reserved bits or set to a specific value, such as 0. In this scenario, the information bits used to carry status information can carry other information.
[0122] It should be noted that the first values of different pieces of information can be the same or different. The second values of different pieces of information can also be the same or different. For example, the first value of the indication information and the first value of the status information can be the same or different, and the second value of the indication information and the second value of the status information can be the same or different. This application does not impose any special restrictions on this.
[0123] In some embodiments, the indication information is used to indicate whether the first information contains one of the aforementioned state information. For example, a first value (such as 1) indicates that the first information contains energy information, while a second value (such as 0) indicates that the first information does not contain any state information.
[0124] In other embodiments, the indication information is used to indicate whether the first information contains the aforementioned multiple state information. A first value (e.g., 11) indicates that the first information contains multiple state information, such as energy information and data packet size; a second value (e.g., 10) indicates that it only contains energy information; and a third value (e.g., 00) indicates that it does not contain any state information. When there are more different state information, the same principle applies.
[0125] In some embodiments, the type of status information indicated by the indication information can be predefined in the protocol, or can be indicated by the indication information itself.
[0126] In one exemplary embodiment, the indication information may include one or more bits.
[0127] For example, the indication information includes one bit, which can indicate whether the first information contains one or more predefined state information through different values. For instance, taking energy information as the predefined state information, a first value (e.g., 1) indicates that the first information contains energy information, while a second value (e.g., 0) indicates that the first information does not contain energy information. As another example, if the predefined state information is energy information and data packet size, a first value indicates that the first information contains both energy information and data packet size, while a second value indicates that the first information does not contain either. The type of state information indicated by the indication information can be predefined according to actual application requirements; this application does not impose any special restrictions on this.
[0128] In other embodiments, the indication information may include multiple bits. For example, indication information containing multiple bits may indicate whether the first information contains status information of an A-IoT device, and may also indicate the type of status information contained therein. For example, some bits (such as one bit) in the indication information indicate whether the first information contains status information of an A-IoT device, while other bits in the indication information indicate the type of status information.
[0129] For example, the indication information includes 3 bits. The first bit indicates whether the first information contains status information, and the second and third bits indicate the type of status information. For instance, if the first bit of the indication information is "1", it indicates that the first information contains A-IoT device status information; if the second and third bits are "01", it indicates that the status information is energy information. That is, the indication information as binary number "101" indicates that the first information contains energy information. As another example, the indication information as binary number "110" indicates that the first information contains data packet size. The indication information as binary number "111" indicates that the first information contains capability information. If the first bit of the indication information is "0", regardless of the values of the second and third bits, it indicates that the first information does not contain status information. That is, when the first bit is "0", it can be directly determined that the first information does not contain status information without checking the values of the second and third bits. For example, the indication information as "001" indicates that the first information does not contain status information.
[0130] The number of information bits for the indication information and the meaning of the corresponding values of each information bit can be configured according to actual application requirements. This application does not impose any special limit on the number of information bits used to carry the indication information. In some embodiments, the information bits of the indication information may be fixed information bits predefined in the protocol, or information bits indicated by the network device.
[0131] In some embodiments, both indication information and status information are mandatory information fields. The information bits for indication information and status information can be fixed positions predefined by the protocol, or positions indicated by the network device. This application does not impose any special limitations on the positions of indication information and status information.
[0132] In the example shown in Figure 5, the next field after the indication information is the status information. In other embodiments, the position of the status information may not be related to the position of the indication information, and this application does not impose any special limitations on the positional relationship between the indication information and the status information.
[0133] The A-IoT device reports first information using the data packet format provided in this embodiment. After receiving the first information, the network device parses the indication information to determine whether the information carries the status information of the A-IoT device. If it is determined that the information contains the status information of the A-IoT device, the network device further parses the content of the status information to obtain the status information.
[0134] The first information provided in this embodiment includes indication information, which is used to indicate whether the information contains status information of A-IoT devices. In this way, the network device only needs to parse the content of the indication information to determine whether the information contains status information. After parsing the indication information to determine that the information contains status information, the content of the status information is then parsed, which improves the efficiency of the network device in identifying whether the information contains status information, and at the same time, improves the accuracy of A-IoT data identification.
[0135] 3. The third possible data packet format
[0136] Please refer to Figure 6, which illustrates another data packet format containing first information provided in an embodiment of this application. In this embodiment, the data packet type field of the first protocol layer data packet indicates whether the information includes status information.
[0137] As shown in Figure 6(1), the first information may include data packet type (such as MessageType), status information, data / instructions, etc.
[0138] As shown in Figure 6(2), the first information may include data packet type (such as MessageType), data / instruction, etc.
[0139] The data packet type indicates the specific type of the first protocol layer data packet. For example, the data packet type may include the Protocol Data Unit (PDU) type of the Media Access Control (MAC) layer, the Control Element (CE) type of the MAC layer, etc. The data packet type may also include the type of service data packet, such as inventory, command, read, write, count, etc. In this embodiment, the data packet type can also be an energy information reporting data packet, a segmented data packet, a multiplexed data packet, a service request data packet, etc. The data packet type in this embodiment can also indicate whether the first information contains the status information of the A-IoT device. For example, when the data packet type is Read, it indicates that the data packet contains energy information and / or the data packet size.
[0140] The status information in the first piece of information is used to indicate the status information of the A-IoT device.
[0141] When an A-IoT device needs to report status information, the data is encapsulated using the data packet format shown in Figure 6(1). When an A-IoT device does not need to report status information or does not support reporting status information, the data is encapsulated using the data packet format shown in Figure 6(2).
[0142] In this embodiment, the data packet type indicates the type of the data packet and also indicates whether the data packet contains status information of the A-IoT device. For example, the first protocol layer data packet may include MAC PDU, MAC CE, etc.
[0143] In other embodiments, other information in the data packet (such as capability information) may be used to indicate whether the data packet contains status information. This application does not limit the information fields corresponding to the indication information.
[0144] When the data packet type is a first type value (e.g., 01) or a third type value (e.g., 00), it indicates a first data packet format, as shown in (1) of Figure 6. This format of data packet contains status information. For example, taking the data packet type as MessageType, when MessageType is a first type value, it indicates that the data packet is of the first type (e.g., MAC PDU), and the first information contains the status information of the A-IoT device. When MessageType is a third type value, it indicates that the data packet is of the second type (e.g., MAC CE), and the first information contains the status information of the A-IoT device.
[0145] When the data packet type is a second type value (e.g., 10) or a fourth type value (e.g., 11), it indicates a second data packet format, as shown in Figure 6(2). This format of data packet does not contain status information. For example, taking the data packet type as MessageType, when MessageType is a second type value, it indicates that the data packet is of the first type (e.g., MAC PDU) and does not contain status information of the A-IoT device. When MessageType is a fourth type value, it indicates that the data packet is of the second type (e.g., MAC CE) and contains status information of the A-IoT device.
[0146] A-IoT devices that do not need to report status information or do not support status information reporting can use the second data packet format to encapsulate data packets.
[0147] In this embodiment, the first type value, the second type value, the third type value, and the fourth type value are all different. Furthermore, the numerical value and bit depth of the data packet type can be configured according to actual needs; this application does not impose any special restrictions on this.
[0148] In other embodiments, different data packet types can be used to indicate whether the information contains status information of A-IoT devices. For example, when the data packet type is indicated as a first type (such as MAC CE), it is also used to indicate that the information contains status information of A-IoT devices. When the data packet type is indicated as a second type (such as MAC PDU), it is also used to indicate that the information does not contain status information of A-IoT devices.
[0149] In some embodiments, the location of the indication information can be a predefined fixed location or a location indicated by the network device. The location of the status information can also be a predefined fixed location or a location indicated by the network device; this application does not impose any special restrictions on this.
[0150] This embodiment provides a data packet format that reuses existing information in the data packet to indicate whether the current data packet contains A-IoT device status information, eliminating the need to set dedicated bits for indicating information and improving the utilization of information bits. Furthermore, when the data packet does not contain A-IoT device status information, there is no need to set dedicated bits to carry the status information, further improving the utilization of information bits.
[0151] 4. The fourth possible data packet format
[0152] Please refer to Figure 7, which illustrates another data packet format containing first information provided in an embodiment of this application.
[0153] As shown in Figure 7, the first information may include capability information, status information, and data / instructions.
[0154] In this embodiment, the capability information is reused to indicate whether the information contains the status information of the A-IoT device. That is, the capability information indicates both the capabilities supported by the A-IoT device and whether the information contains the status information of the A-IoT device.
[0155] The status information in the first piece of information is the status information of the A-IoT device.
[0156] In some embodiments, the capability information of an A-IoT device may include at least one of the following: device type, energy storage capacity, segmentation capacity, reuse capacity, and connectivity capacity.
[0157] Equipment types can include Class 1 equipment, Class 2a equipment, Class 2b equipment, etc. Different types of equipment have different capabilities. For example, Class 2a and Class 2b equipment have status reporting capabilities, while Class 1 equipment does not have status reporting capabilities.
[0158] Energy storage capacity refers to the ability of an A-IoT device to store electrical energy. For example, there may be devices with a first energy storage capacity and devices with a second energy storage capacity. If the first energy storage capacity is lower than the second energy storage capacity, for example, a device with the first energy storage capacity does not have status reporting capability, while a device with the second energy storage capacity does. Alternatively, there may be different methods of storing electrical energy.
[0159] Segmentation capability refers to the ability of A-IoT devices to segment A-IoT data packets and report them segment by segment.
[0160] Reusability refers to the ability of an A-IoT device to combine at least two different A-IoT data packets into a single data packet for transmission.
[0161] Connectivity refers to the ability of an A-IoT device to maintain a connection with network devices. For example, an A-IoT device can be in a registered state, or it can save an access layer identifier or a temporary identifier.
[0162] In some embodiments, capability information can indicate one or more status information, which can be predefined status information, or different capability information can indicate different status information. For example, associations can be established between different capability information and different status information; for instance, device type and / or energy storage capacity can be associated with energy information, and segmentation capacity and / or multiplexing capacity can be associated with data packet size.
[0163] Taking the predefined state information as the energy information of an A-IoT device as an example, when the capability information is the first capability, such as a Class 2a device and / or the second energy storage capability, it indicates that the information contains energy information; when the capability information is the second capability, such as a Class 1 device and / or the first energy storage capability, it indicates that the information does not contain energy information.
[0164] Taking the segmentation capability and / or multiplexing capability as an example to indicate the data packet size, when the capability information has segmentation capability and / or multiplexing capability, it indicates that the information includes the data packet size of the A-IoT device; when the capability information does not have segmentation capability or multiplexing capability, it indicates that the information does not include the data packet size of the A-IoT device.
[0165] In some embodiments, status information is an optional information field. When capability information indicates that the information includes status information of the A-IoT device, the information includes status information. When capability information indicates that the information does not include status information of the A-IoT device, the information may not include status information.
[0166] In other embodiments, the status information is a mandatory field. When the capability information indicates that the information includes the device's status information, the status information carries the A-IoT device's status information. When the capability information indicates that the information does not include the device's status information, the status information is a reserved bit or carries other information.
[0167] The first information provided in this embodiment reuses existing capability information to indicate whether the current information contains the status information of A-IoT devices. This eliminates the need to set up a dedicated field for the indication information, saving information bits and improving information utilization.
[0168] 5. The fifth possible data packet format
[0169] Please refer to Figure 8, which illustrates another data packet format containing first information provided in an embodiment of this application. This data packet format uses multiple existing information fields in the data packet to jointly indicate whether the data packet contains status information of an A-IoT device. This example illustrates whether the data packet includes A-IoT device status information by jointly indicating whether the data packet contains data packet type and capability information.
[0170] As shown in Figure 8, the first information may include data packet type, capability information, status information, data / instructions, etc.
[0171] The data packet type is used to indicate the specific type of the first protocol layer data packet. The specific types included in the data packet type are the same as those in the embodiment shown in Figure 6, and will not be described again here.
[0172] Status information is used to indicate the status information of A-IoT devices. For example, taking a data packet type of MessageType, when MessageType is a first type and the capability information is a first capability, it indicates that the data packet includes the status information of the A-IoT device. For instance, when MessageType is MAC CE and the capability information is a 2a or 2b class device, it indicates that the data packet contains the energy information of the A-IoT device.
[0173] When MessageType is Type 2 and / or Capability Information is Capability 2, it indicates that the data packet does not include the status information of the A-IoT device. For example, if MessageType is MAC PDU and Capability Information is Class 1 device, it indicates that the data packet does not contain energy information.
[0174] In some embodiments, the status information can be an optional or required field. In scenarios where the status information is an optional field, the data packet includes a status information field when the packet type and capability information indicate that the packet contains status information for the A-IoT device. Conversely, the data packet does not include a status information field when the packet type and capability information indicate that the packet does not contain status information for the A-IoT device.
[0175] In scenarios where status information is a required field, if the packet type and capability information indicate that the packet contains status information of the A-IoT device, the content of the status information is the status information of the A-IoT device. If the packet type and capability information indicate that the packet does not contain status information of the A-IoT device, the status information is a reserved bit or used to indicate other information.
[0176] Furthermore, as shown in Figure 8, the data packet containing the first information may also include optional fields such as ID Type and ID (i.e., device ID). The ID Type indicates the ID type of the device, which can be an access layer identifier, a random number, a service identifier, a permanent device identifier, etc. Alternatively, the first information may also include other optional fields, which are not specifically limited in this application.
[0177] It is understood that other data packet formats (as shown in Figures 4 to 7) may also include optional fields, and this application does not impose any special restrictions on the specific content of the optional fields. In the above data packet formats, data / instructions may be optional, that is, the data packet may contain data / instructions or may not contain data / instructions.
[0178] It is understood that the data packet formats in Figures 4 to 8 are merely examples of the first information data packet format, and the data packets generated by combining the various information fields in the data packet formats in Figures 4 to 8 are also within the scope of protection of this invention.
[0179] The data packet containing the first information provided in this embodiment reuses at least two existing pieces of information to indicate whether the current data packet contains the status information of the A-IoT device. This eliminates the need to set a dedicated information bit for the indication information, thereby saving information bits and improving information utilization. Moreover, different status information can be indicated by different information from multiple existing pieces of information, further improving the utilization of the indication information.
[0180] Furthermore, among the five data packet formats mentioned above, when the status information includes the first status information of the A-IoT device, and the first status information is a first status value, the indication status information also includes second status information. Both the first and second status information contain portions of all the status information of the A-IoT device, and they are different. The first and second status information can be any one or more of the following: energy information, capability information, data packet size, device priority, random access type, and service type.
[0181] For example, in scenarios where status information includes energy information, the energy information can be reused to indicate whether the status information includes the status of other devices. For instance, when the energy information is a first energy value, it indicates that the A-IoT device's energy is in a specified state. It also indicates that the status information includes the data packet size. The specified state can be a predefined energy state or an energy state specified by the network device, or it can be the current or estimated energy state of the A-IoT device. For example, the specified state could include energy below a threshold, energy within a specified range, or energy depletion.
[0182] For example, in the first possible data packet format described above, the status information includes energy information. Furthermore, when the energy information is a first energy value, it indicates that the A-IoT device's energy is in a specified state, and also indicates that the status information includes the data packet size.
[0183] For example, in the second possible data packet format described above, the indication information indicates that the first information includes the energy information of the A-IoT device. When the energy information is a first energy value, it indicates that the A-IoT device's energy is in a specified state, and it also indicates that this state information includes the data packet size.
[0184] For example, in the third possible data packet format described above, the data packet type indicates that the first information includes the energy information of the A-IoT device. When the energy information is a first energy value, it indicates that the A-IoT device's energy is in a specified state, and it also indicates that the information includes the data packet size.
[0185] For example, in the fourth possible data packet format described above, the capability information indicates that the first information includes the energy information of the A-IoT device. When the energy information is a first energy value, it indicates that the A-IoT device's energy is in a specified state, and it also indicates that the information includes the data packet size.
[0186] For example, in the fifth possible data packet format described above, the capability information and data packet type indicate that the first information includes the energy information of the A-IoT device. When the energy information is a first energy value, it indicates that the A-IoT device's energy is in a specified state, and it also indicates that the information includes the data packet size.
[0187] In other embodiments, after receiving the status reporting indication information sent by the network device, the A-IoT device reports first information to the network device. Please refer to Figure 9, which shows a flowchart of another data transmission method provided by an embodiment of this application. This method is applicable to the A-IoT communication system shown in Figure 1 or Figure 2 above. As shown in Figure 9, the method may include the following steps:
[0188] S201, the network device sends a reporting instruction message to the A-IoT device.
[0189] The reporting instruction information is used to instruct A-IoT devices to report their status information to the network device.
[0190] In some embodiments, the reporting indication information may include at least one of capability reporting indication, energy information reporting indication, data packet size reporting indication, segmentation indication, A-IoT device identifier, and status reporting condition indication.
[0191] In other embodiments, the reporting indication information may also be the type of a first protocol layer data packet, which is the same as the data packet type described above, and will not be repeated here.
[0192] The capability reporting indicator is used to instruct A-IoT devices to report supported capabilities. The energy information reporting indicator is used to indicate the energy information of the A-IoT device. The packet size reporting indicator is used to indicate the size of the data packets reported by the A-IoT device. The segmentation reporting indicator is used to indicate whether the A-IoT device has performed segmentation operations and / or packet size reporting on the transmitted data packets. The status reporting condition indicator is used to indicate the reporting conditions for status information by the A-IoT device. When the A-IoT device detects that the reporting condition is met, it reports the corresponding status information to the network device.
[0193] In some embodiments, when a network device detects that the current state of an A-IoT device meets specified conditions, it can send a reporting instruction to the A-IoT device. For example, the specified conditions may be that the online time of the A-IoT device reaches a preset duration, or the amount of data transmitted between the network device and the A-IoT device reaches a preset threshold, etc. This application does not impose any special restrictions on the specified conditions.
[0194] S202, the A-IoT device sends the first information to the network device.
[0195] A-IoT devices can encapsulate data using any of the data packet formats shown in Figures 4 to 8 to obtain a first protocol layer data packet containing first information.
[0196] In some embodiments, an A-IoT device may send a data packet carrying first information directly to a network device after receiving a reporting instruction.
[0197] In other embodiments, after receiving a reporting instruction, the A-IoT device checks whether its state meets the reporting conditions. If the conditions are met, it sends a data packet carrying first information to the network device; otherwise, it sends a data packet without the first information to the network device. For example, the reporting condition might be that the A-IoT device's energy is below 10%. When the A-IoT device receives the reporting instruction, if it detects that its energy is below 10%, it reports first information containing energy information to the network device. If it detects that its energy is above 10%, it reports first information without energy information to the network device.
[0198] For example, when an A-IoT device encapsulates data using the third possible data packet format described above, if it needs to report status information, such as receiving a reporting instruction from a network device, or receiving a reporting instruction and detecting that the A-IoT device meets the reporting conditions, then it encapsulates data using the data packet format shown in Figure 6(1). If it does not need to report status information, such as not receiving a reporting instruction from a network device, or receiving a reporting instruction but the A-IoT device does not meet the reporting conditions, then it encapsulates data using the data packet format shown in Figure 6(2).
[0199] Furthermore, the A-IoT device transmits the first information on a designated time domain resource, which can be a predefined time domain resource or a time domain resource dynamically allocated by the network device. For example, as shown in Figure 10, the next time domain resource for reporting the indication information is the time domain resource used to transmit the first information.
[0200] S203, the network device parses the first information to obtain the status information of the A-IoT device.
[0201] The network device receives first information on a specified time domain resource, which can be a predefined time domain resource or a time-frequency resource allocated by the network device. After receiving the first information, the network device parses the information to identify whether it contains status information of the A-IoT device.
[0202] The data transmission method provided in this embodiment involves the network device first sending a reporting instruction to the A-IoT device. After receiving the reporting instruction, the A-IoT device reports first information containing status information to the network device. In this way, the network device can determine whether the A-IoT data packet contains the A-IoT device's status information by observing the timing of its transmission. This reduces the variety of data packet formats, lowers the complexity of the data transmission process, and further reduces communication complexity.
[0203] This application also provides corresponding communication device embodiments. Figure 11 shows a schematic diagram of a communication device provided in this application embodiment. This communication device can be an A-IoT device, a terminal device, or a device within a terminal device, or a device compatible with a terminal device; alternatively, the communication device can be a network device, a device within a network device, or a device compatible with a network device.
[0204] As shown in Figure 11, the communication device may include a transceiver module 301 and a processing module 302. Specifically, the processing module 302 is used to process data, which may be data received by the transceiver module 301, or the processed data may be sent by the transceiver module 301.
[0205] The processing module 302 is used to perform the data processing function of the terminal device or network device in the above-described communication instruction method embodiment. For other possible implementations of the communication device, please refer to the relevant descriptions of the terminal device or network device functions above, which will not be repeated here.
[0206] Figure 12 is a schematic diagram of another communication device provided in an embodiment of this application. This communication device can be a terminal device or a network device as described in the above method embodiments, or it can be a chip, chip system, or processor that supports the terminal device or network device in implementing the above methods. This communication device can be used to implement the methods described in the above method embodiments; for details, please refer to the descriptions in the above method embodiments.
[0207] As shown in Figure 12, the communication device may include one or more processors 401. The processor 401 may be a general-purpose processor or a dedicated processor, such as a baseband processor or a central processing unit (CPU). The baseband processor can be used to process communication protocols and communication data, while the CPU can be used to control the communication device (e.g., base station, baseband chip, terminal, terminal chip, DU or CU, etc.), execute software programs, and process data from the software programs.
[0208] Optionally, the communication device may include one or more memories 402, which may store instructions 404 that can be executed on the processor 401 to cause the communication device to perform the methods described in the above method embodiments. Optionally, the memories 402 may also store data. The processor 401 and the memories 402 may be provided separately or integrated together.
[0209] Optionally, the communication device may further include a transceiver 405 and an antenna 406. The transceiver 405, also known as a transceiver module, transceiver, or transceiver circuit, is used to implement transceiver functions. The transceiver 405 may include a receiver and a transmitter. The receiver, also known as a receiver circuit, is used to implement a receiving function; the transmitter, also known as a transmitter or transmitting circuit, is used to implement a transmitting function. The processing module 302 shown in Figure 11 can be a processor 401. The transceiver module 301 can be the transceiver 405.
[0210] In another possible design, the processor 401 may include a transceiver for implementing receive and transmit functions. For example, the transceiver may be a transceiver circuit, an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing receive and transmit functions may be separate or integrated. The aforementioned transceiver circuit, interface, or interface circuit can be used for reading and writing code / data, or it can be used for transmitting or relaying signals.
[0211] In another possible design, the processor 401 may optionally store instructions 403, which, when executed, cause the communication device to perform the methods described in the above method embodiments. Instructions 403 may be embedded in the processor 401; in this case, the processor 401 may be implemented in hardware.
[0212] The communication device described in the above embodiments can be a terminal device or a network device, but the scope of the communication device described in the embodiments of this application is not limited thereto, and the structure of the communication device is not limited to FIG12. The communication device can be a standalone device or can be part of a larger device.
[0213] For communication devices that can be chips or chip systems, please refer to the schematic diagram of the chip structure shown in Figure 13. The chip shown in Figure 13 includes a processor 501 and an interface 502. Optionally, it may also include a memory 503. The number of processors 501 can be one or more, and the number of interfaces 502 can be multiple.
[0214] For cases where the chip is used to implement the terminal device or network device in the embodiments of this application:
[0215] Interface 502 is used to receive or output signals.
[0216] Processor 501 is used to perform data processing operations on terminal devices or network devices.
[0217] It should be understood that the processor in the embodiments of this application can be an integrated circuit chip with signal processing capabilities. In implementation, the steps of the above method embodiments can be completed by integrated logic circuits in the processor's hardware or by instructions in software form. The processor described above can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components.
[0218] It is understood that the memory in the embodiments of this application can be volatile memory or non-volatile memory, or may include both volatile and non-volatile memory. The non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. The volatile memory can be random access memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM). It should be noted that the memory used in the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0219] It is understood that some optional features in the embodiments of this application can be implemented independently in certain scenarios without relying on other features, such as the current solution on which they are based, to solve the corresponding technical problems and achieve the corresponding effects. Alternatively, they can be combined with other features as needed in certain scenarios. Accordingly, the communication device given in the embodiments of this application can also implement these features or functions, which will not be elaborated here.
[0220] This application also provides a computer-readable medium storing a computer program or instructions, which, when executed by a communication device, implements the functions of any of the above method embodiments.
[0221] This application also provides a computer program product including instructions, which, when read and executed by a computer, causes the computer to perform the functions of any of the above method embodiments.
[0222] This application provides a communication system, which includes an A-IoT device and a network device; wherein the A-IoT device is used to execute the method executed by the A-IoT device in the above embodiments, and the network device is used to execute the method executed by the network device in the above embodiments.
[0223] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this embodiment, in essence, or the part that contributes to the prior art, 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.) or processor to execute all or part of the steps of the methods described in the various embodiments. The aforementioned storage medium includes various media capable of storing program code, such as flash memory, portable hard disk, read-only memory, random access memory, magnetic disk, or optical disk.
[0224] The above description is merely a specific embodiment of this application, but the scope of protection of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A data transmission method, characterized in that, Applied to A-IoT devices, the method includes: Send first information to the network device, the first information including the status information and / or indication information of the A-IoT device, the indication information being used to indicate whether the first information includes the status information.
2. The method of claim 1, wherein, The status information includes at least one of the following: energy information of the A-IoT device, data packet size, device priority, random access type, and service type.
3. The method according to claim 1, characterized in that, The first information is contained in a data packet of a first protocol layer, which includes at least one of the following: an access layer, a non-access layer, and an application layer.
4. The method according to claim 1, characterized in that, The information bits used to carry the status information in the first information are reserved bits or a second value, indicating that the first information does not contain the status information or that the A-IoT device does not support reporting status information.
5. The method according to claim 1, characterized in that, The information bits used to carry the indication information in the first information are reserved bits or have a first value, indicating that the first information does not contain the status information or the A-IoT device does not support the reporting of the status information.
6. The method according to claim 1, characterized in that, The indication information is the data packet type and / or capability information of the first protocol layer data packet.
7. The method according to claim 6, characterized in that, The indication information is the data packet type. When the data packet type is a first type, it indicates that the first information contains the status information; when the data packet type is a second type, it indicates that the first information does not contain the status information. Alternatively, when the data packet type is a first type value or a third type value, it indicates that the first information contains the status information; when the data packet type is a second type value or a fourth type value, it indicates that the first information does not contain the status information. The indication information is the capability information. When the capability information is a first capability, it indicates that the first information includes the status information; when the capability information is a second capability, it indicates that the first information does not include the status information. The indication information is the data packet type and the capability information. When the data packet type is a first type and the capability information is a first capability, it indicates that the first information includes the status information. When the data packet type is a second type and / or the capability information is a second capability, it indicates that the first information does not include the status information.
8. The method according to claim 2, characterized in that, The status information also includes the capability information of the A-IoT device.
9. The method according to any one of claims 6-8, characterized in that, The capability information includes at least one of the following: device type, energy storage capacity, segmentation capability, reuse capability, and connectivity capability of the A-IoT device.
10. The method according to any one of claims 1-8, characterized in that, The status information includes first status information. When the first status information is a first status value, it indicates that the status information also includes second status information. The first status information is different from the second status information and each includes at least one of energy information, data packet size, capability information, device priority, random access type, and service type.
11. The method according to claim 10, characterized in that, The first status information includes the energy information of the A-IoT device, and when the energy information is a first energy value, it indicates that the second status information includes the data packet size; Alternatively, the first status information may be the data packet size, and when the data packet size is a first size value, it indicates that the second status information includes the energy information of the A-IoT device.
12. The method according to any one of claims 1-8, characterized in that, Sending the first information to the network device includes: When the A-IoT device meets the reporting conditions, it sends the first information to the network device; The reporting conditions include at least one of the following: the energy of the A-IoT device is lower than the energy threshold, the size of the A-IoT data packet meets the second threshold, the service type of the A-IoT device is the device-initiated type, the data packet of the A-IoT device is segmented, the data packet of the A-IoT device is reused, the A-IoT device requests the allocation of a device identifier, the A-IoT device is in a connected state, and the charging of the A-IoT device is controllable.
13. The method according to any one of claims 1-8, characterized in that, Sending the first information to the network device includes: The A-IoT device receives a reporting instruction information sent by the network device, the reporting instruction information being used to instruct the A-IoT device to report the status information; The A-IoT device sends the first information to the network device.
14. The method according to claim 13, characterized in that, The reporting indication information includes at least one of the following: A-IoT device capability reporting indication, energy information reporting indication, data packet size reporting indication, segmentation indication, A-IoT device identifier, and status reporting condition indication.
15. The method according to any one of claims 1-8, characterized in that, The state information is energy information; The energy information is used to indicate at least one of the following states of the A-IoT device: The A-IoT device's energy is below the energy threshold and it cannot receive the next data after the first information transmission, and / or there is no data to be transmitted; The A-IoT device's energy is below the energy threshold and it can receive the next data after the first information transmission, but cannot send data, and / or has no data to be transmitted; The A-IoT device's energy is below the energy threshold and it cannot transmit data after the first information transmission, and there is data waiting to be transmitted; The A-IoT device has energy below the energy threshold and can still transmit data per unit process after the first information transmission; The energy of the A-IoT device is below the energy threshold and the access layer state of the A-IoT device cannot be maintained; If the energy of the A-IoT device is lower than the energy threshold, the current process can be paused until charging is completed and then continued. The A-IoT device has been fully charged.
16. The method according to any one of claims 1-8, characterized in that, The status information is the data packet size; The data packet size is used to indicate the data packet status of the A-IoT device, including at least one of the following statuses: Size of the data packet to be transmitted; Size of the complete data packet; The size of the data packets that have been transmitted.
17. A data transmission method, characterized in that, Applied to network devices, the method includes: Receive first information sent by an A-IoT device, the first information including the status information and / or indication information of the A-IoT device, the indication information being used to indicate whether the first information includes the status information.
18. The method according to claim 17, characterized in that, The status information includes at least one of the following: energy information of the A-IoT device, data packet size, device priority, and service type.
19. The method according to claim 17, characterized in that, The first information is contained in a data packet of a first protocol layer, which includes at least one of the following: an access layer, a non-access layer, and an application layer.
20. The method according to any one of claims 17-19, characterized in that, The method further includes: When the status information in the first information is parsed to a first value, it indicates that the first information contains the status information of the A-IoT device; when the status information is parsed to a second value, it indicates that the first information does not contain the status information of the A-IoT device.
21. The method according to any one of claims 17-19, characterized in that, The method further includes: When the indication information in the first information is parsed to a third value, it indicates that the first information contains the status information of the A-IoT device.
22. The method according to any one of claims 17-19, characterized in that, The method further includes: when the indication information is parsed as a fourth value, indicating that the first information does not contain the status information of the A-IoT device.
23. The method according to any one of claims 17-19, characterized in that, The indication information is the capability information of the first information and / or the type of the first protocol layer data packet.
24. The method according to any one of claims 17-19, characterized in that, Before receiving the first information sent by the A-IoT device, the method further includes: Send a reporting instruction to the A-IoT device, the reporting instruction being used to instruct the A-IoT device to report the status information.
25. The method according to claim 24, characterized in that, The reporting indication information includes at least one of the following: A-IoT device capability reporting indication, energy status reporting indication, data packet size reporting indication, segmentation indication, A-IoT device identifier and status reporting condition indication, the A-IoT device being in a connected state, and the A-IoT device being controllable in terms of charging.
26. An electronic device, characterized in that, The electronic device includes: one or more processors, a memory, and a touch screen; the memory is used to store program code; the processor is used to run the program code, causing the electronic device to implement the data transmission method as described in any one of claims 1 to 25.
27. A computer-readable storage medium, characterized in that, It stores instructions that, when executed on an electronic device, cause the electronic device to perform the data transmission method as described in any one of claims 1 to 25.
28. A chip system, characterized in that, include: At least one processor and an interface, the interface being used to receive code instructions and transmit them to the at least one processor; The at least one processor executes the code instructions to implement the data transmission method according to any one of claims 1-25.