Data transmission method and apparatus, system, and electronic device

By optimizing the second message format during the random access process of AIoT devices, and setting the domain corresponding to the resource to indicate the device response and access layer index, the problem of unclear access layer index allocation is solved, and communication efficiency is improved.

WO2026232953A1PCT designated stage Publication Date: 2026-11-12HONOR DEVICE CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/082011
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-09
Filing Date
2026-03-06
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

During the random access process of AIoT devices, the format uncertainty of the second message leads to unclear access layer index allocation, resulting in conflicts and scheduling difficulties.

Method used

By setting a field corresponding to the resource in the second message to indicate whether there is a response from the device corresponding to the resource and/or to indicate relevant information about the access layer index, the format of the second message is optimized to make it more explicit.

Benefits of technology

It improves the explicitness of access layer index allocation for AIoT devices, reduces conflicts, and improves communication efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026082011_12112026_PF_FP_ABST
    Figure CN2026082011_12112026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and provides a data transmission method and apparatus, a system, and an electronic device. The data transmission method comprises: receiving a first message sent by at least one first device; and sending a second message to the at least one first device, wherein the second message comprises a field corresponding to a resource of the first message, the field is used for indicating whether there is a reply to the first device corresponding to the resource, and / or the field is used for indicating related information of an access stratum index of the first device corresponding to the resource; and the resource is in a time domain and / or a frequency domain. On the basis of the present solution, the format of the second message can be made more perfect.
Need to check novelty before this filing date? Find Prior Art

Description

Data transmission method, device, system and electronic device

[0001] The present application claims priority from the Chinese patent application No. 2025106039751, filed with the State Intellectual Property Office of China on May 09, 2025 and entitled "Data transmission method, device, system and electronic device", the whole content of which is incorporated herein by reference. TECHNICAL FIELD

[0002] The present application relates to the field of communication technology, in particular, to a data transmission method and an electronic device. BACKGROUND

[0003] In a communication system, in order to improve the sustainability and performance of communication and reduce the power consumption of wireless communication, the low-power Ambient Internet of things (A-IoT) technology is introduced. The AIoT reader, also known as Ambient Internet of things reader / writer / reading device, is a node between the AIoT device and the access network device or core network device. The AIoT reader can communicate with the AIoT device, for example, read the data information in the AIoT device, and send the communication result to the core network device or the access network device.

[0004] For AIoT devices, there are currently two random access mechanisms, including contention based random access (CBRA) and contention free random access (CFRA). For CBRA, after the AIoT reader triggers a group of AIoT devices to select resources to send a first message containing a random number generated by the AIoT device to the AIoT reader, the AIoT reader needs to generate a second message including the random number included in the first message of the group of AIoT devices, and send the second message to the group of AIoT devices. If the random numbers contained in different first messages conflict, it is not possible to determine which AIoT device the second message is sent to according to the random number. And when the AIoT reader needs to schedule a specific AIoT device, an access layer index needs to be introduced in the second message. Currently, the allocation of the access layer index of the second message is optional, and the specific allocation form is not necessarily.

[0005] Therefore, how to set the format of the second message becomes a problem to be solved. SUMMARY

[0006] This application provides a data transmission method, apparatus, system, and electronic device, which indicates relevant information by setting a field corresponding to the resource, and provides a new format for the second message, making the format of the second message more reasonable.

[0007] In a first aspect, embodiments of this application provide a data transmission method, comprising: receiving a first message sent by at least a first device; sending a second message to the at least one first device, the second message including a field corresponding to a resource of the first message, the field being used to indicate whether there is a reply to the first device corresponding to the resource, and / or, the field being used to indicate relevant information of the access layer index of the first device corresponding to the resource; the resource being a time domain and / or a frequency domain.

[0008] The first message carries a random number generated by the first device.

[0009] In the above scheme, after receiving a first message sent by at least one first device through time-domain and / or frequency-domain resources, the second message is configured with fields corresponding to the resources (time-domain and / or frequency-domain) to indicate relevant information sent to the first device. Specifically, this includes indicating whether there is a reply for the first device corresponding to the resource, and / or indicating information related to the access layer index of the first device corresponding to the resource. This allows the first device, upon receiving the second message, to read relevant information about itself based on the values ​​of the fields corresponding to the time-domain and / or frequency-domain resources and related fields. This information can be used to indicate whether there is a reply for the first device corresponding to the resource, and also to indicate information related to the access layer index of the first device corresponding to the resource. In other words, by optimizing the format of the second message (setting fields corresponding to the resources), the information that the second message can indicate (the information indicated by the fields) can be more comprehensive.

[0010] In conjunction with the first aspect, in certain implementations of the first aspect, the aforementioned field is used to indicate whether there is a response to the first device corresponding to the aforementioned resource. Specifically, the field corresponding to the aforementioned resource indicates whether there is a field corresponding to the resource. If a field corresponding to the resource exists, it indicates that there is a response to the at least one first device corresponding to the resource. If no field corresponding to the resource exists, it indicates that there is no response to the at least one first device corresponding to the resource. The aforementioned field is used to indicate the random number and / or access layer index sent to the first device corresponding to the aforementioned resource, and / or, the aforementioned field is used to indicate whether the at least one first device corresponding to the aforementioned resource replies to or does not reply to the third message. The third message carries the device index of the first device.

[0011] In the above scheme, when the aforementioned field is used to indicate whether there is a response from the first device corresponding to the resource, it can specifically include the following two cases, or a combination of the following two cases: Case 1 refers to the existence of a field corresponding to the resource, which is used to indicate the random number and / or access layer index sent to the first device corresponding to the resource. If the field exists, it indicates that there is a response; if the field does not exist, it indicates that there is no response. Case 2 refers to whether the first device corresponding to the resource responds or does not respond to a third message carrying the first device index. This scheme further refines the information that the second message (setting the field corresponding to the resource) can indicate after its format is improved, making the information that the second message can indicate more comprehensive.

[0012] In conjunction with the first aspect, in some implementations of the first aspect, the first message carries a random number generated by the first device; the relevant information of the access layer index includes any one of the following: newly allocated access layer index, no allocation of access layer index, or reuse of the random number in the first message as the access layer index.

[0013] It should be understood that both allocating a new access layer index and reusing the random number in the first message as the access layer index can be understood as allocating an access layer index. However, the difference between the two is that allocating a new access layer index is simply allocating an additional access layer index, which is unrelated to the random number in the first message, while reusing the random number in the first message as the access layer index is simply setting the random number in the first message as the access layer index.

[0014] In the above scheme, the explanation of the relevant information of the access layer index indicates the situation of allocating the access layer index to the first device, including allocating a new access layer index, not allocating an access layer index, reusing the random number in the first message as the access layer index, etc. By optimizing the format of the second message (setting the field corresponding to the resource), the allocation situation and specific allocation form of the access layer index are clearly indicated, making the information that the second message can indicate more comprehensive.

[0015] In conjunction with the first aspect, in some implementations of the first aspect, the newly allocated access layer index includes setting a preset bit related to the first device corresponding to the resource as the access layer index. For example, but not limited to, setting a preset bit adjacent to the random number of the first device corresponding to the resource carried in the second message as the access layer index.

[0016] In conjunction with the first aspect, in some implementations of the first aspect, there is a preset correspondence between the second message and the resource; sending the second message to at least one first device includes sending at least two second messages to the at least one first device.

[0017] Optionally, the preset correspondence is: different second messages correspond to different time domains.

[0018] Optionally, the preset correspondence is: different second messages correspond to different frequency domains.

[0019] Optionally, the second message may also include a grouping field, which indicates the resource group to which the second message corresponds.

[0020] In the above scheme, at least two second messages can be generated based on the correspondence between the second message and the resource. This reduces the number of fields corresponding to the resource in the second message and simplifies the format of the second message.

[0021] In conjunction with the first aspect, in some implementations of the first aspect, the aforementioned second message includes first information and second information. The first information is used to indicate whether there is a response for the first device corresponding to the resource, and the second information is determined by the first information and is used to indicate, in the case of a response for the first device corresponding to the resource, to allocate relevant information of the access layer index to the first device corresponding to the resource.

[0022] Optionally, the first information is a bitmap.

[0023] Optionally, the first piece of information is a resource index.

[0024] In the above scheme, two pieces of information are set in the second message, and the second information is determined by the first information. This simplifies the content of the first and second information, making it easier for the first device to quickly read information related to itself from the second message after receiving it.

[0025] In conjunction with the first aspect, in some implementations of the first aspect, the aforementioned field is used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or reuse of the random number in the first message as the access layer index.

[0026] It should be understood that both allocating a new access layer index and reusing the random number in the first message as the access layer index can be understood as allocating an access layer index. However, the difference between the two is that allocating a new access layer index is simply allocating an additional access layer index, which is unrelated to the random number in the first message, while reusing the random number in the first message as the access layer index is simply setting the random number in the first message as the access layer index.

[0027] In the above scheme, by using the field corresponding to the resource (time domain and / or frequency domain) to indicate the relevant information of the access layer index of the first device corresponding to the resource, the first device can, upon receiving the second message, read whether the access layer index is newly allocated or reused random number based on the value of the field corresponding to the time domain and / or frequency domain resource and related fields. By optimizing the format of the second message (setting the field corresponding to the resource), the information that the second message can indicate (the information indicated by the field) can be made more comprehensive.

[0028] In conjunction with the first aspect, in some implementations of the first aspect, the aforementioned field is used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or no allocated access layer index.

[0029] In the above scheme, by using the field corresponding to the resource (time domain and / or frequency domain) to indicate the relevant information of the access layer index of the first device corresponding to the resource, the first device can, upon receiving the second message, read whether the access layer index is newly allocated or not allocated based on the value of the field corresponding to the time domain and / or frequency domain resource and related fields. By optimizing the format of the second message (setting the field corresponding to the resource), the information that the second message can indicate (the information indicated by the field) can be made more comprehensive.

[0030] In conjunction with the first aspect, in some implementations of the first aspect, before receiving the first message sent by at least one first device, the method further includes: sending a trigger message to at least one first device, the trigger message being used to trigger at least one first device to select a resource to send the first message.

[0031] It should be understood that after receiving the trigger message, each first device can select multiple time-domain and / or frequency-domain resources to send the first message.

[0032] In conjunction with the first aspect, in some implementations of the first aspect, the first message carries a random number generated by the first device; after sending the second message to the at least one first device, the method further includes: if the random number carried in the second message is the same as the random number generated by the first device carried in the first message, receiving a third message sent by the first device, the third message carrying the device index of the first device.

[0033] In the above scheme, if the first device receives a random number that is the same as the random number in its first message, it replies with its device index via a third message. Upon receiving the device index from the first device, the second device completes its inventory for that first device.

[0034] Secondly, embodiments of this application provide a data transmission method applied to a first device. The method includes: sending a first message to a second device; receiving a second message sent by the second device, wherein the second message includes a field corresponding to a resource of the first message, the field being used to indicate whether there is a reply to the first device corresponding to the resource, and / or, the field being used to indicate relevant information of the access layer index of the first device corresponding to the resource; the resource is in the time domain and / or frequency domain.

[0035] The first message carries a random number generated by the first device.

[0036] In the above scheme, after sending a first message to the second device via time-domain and / or frequency-domain resources, the second device indicates relevant information sent to the first device by setting fields corresponding to the resources (time-domain and / or frequency-domain) in the second message. Specifically, this includes indicating whether there is a reply for the first device corresponding to the resource, and / or indicating relevant information about the access layer index of the first device corresponding to the resource. This allows the first device, upon receiving the second message, to read relevant information about itself based on the values ​​of the fields corresponding to the time-domain and / or frequency-domain resources and related fields. This information can be used to indicate whether there is a reply for the first device corresponding to the resource, and also to indicate relevant information about the access layer index of the first device corresponding to the resource. In other words, by optimizing the format of the second message (setting fields corresponding to the resources), the information that the second message can indicate (the information indicated by the fields) can be more comprehensive.

[0037] In conjunction with the second aspect, in certain implementations of the second aspect, the aforementioned field is used to indicate whether there is a response to the first device corresponding to the aforementioned resource. Specifically, the field corresponding to the aforementioned resource indicates whether there is a field corresponding to the resource. If a field corresponding to the resource exists, it indicates that there is a response to at least one first device corresponding to the resource; if no field corresponding to the resource exists, it indicates that there is no response to at least one first device corresponding to the resource. The aforementioned field is used to indicate the random number and / or access layer index sent to the first device corresponding to the aforementioned resource, and / or, the aforementioned field is used to indicate whether at least one first device corresponding to the aforementioned resource replies to or does not reply to the third message, the third message carrying the device index of the first device.

[0038] In the above scheme, when the aforementioned field is used to indicate whether there is a response from the first device corresponding to the resource, it can specifically include the following two cases, or a combination of the following two cases: Case 1 refers to the existence of a field corresponding to the resource, which is used to indicate the random number and / or access layer index sent to the first device corresponding to the resource. If the field exists, it indicates that there is a response; if the field does not exist, it indicates that there is no response. Case 2 refers to whether the first device corresponding to the resource responds or does not respond to a third message carrying the first device index. This scheme further refines the information that the second message (setting the field corresponding to the resource) can indicate after its format is improved, making the information that the second message can indicate more comprehensive.

[0039] In conjunction with the second aspect, in some implementations of the second aspect, the first message carries a random number generated by the first device; the relevant information of the access layer index includes any one of the following: newly allocated access layer index, no allocation of access layer index, or reuse of the random number in the first message as the access layer index.

[0040] It should be understood that both allocating a new access layer index and reusing the random number in the first message as the access layer index can be understood as allocating an access layer index. However, the difference between the two is that allocating a new access layer index is simply allocating an additional access layer index, which is unrelated to the random number in the first message, while reusing the random number in the first message as the access layer index is simply setting the random number in the first message as the access layer index.

[0041] In the above scheme, the explanation of the relevant information of the access layer index indicates the situation of allocating the access layer index to the first device, including allocating a new access layer index, not allocating an access layer index, reusing the random number in the first message as the access layer index, etc. By optimizing the format of the second message (setting the field corresponding to the resource), the allocation situation and specific allocation form of the access layer index are clearly indicated, making the information that the second message can indicate more comprehensive.

[0042] In conjunction with the second aspect, in some implementations of the second aspect, the newly allocated access layer index includes setting a preset bit related to the first device corresponding to the resource as the access layer index. For example, but not limited to, setting a preset bit adjacent to the random number of the first device corresponding to the resource carried in the second message as the access layer index.

[0043] In conjunction with the second aspect, in some implementations of the second aspect, there is a preset correspondence between the second message and the resource; the above-mentioned receiving the second message sent by the second device includes: receiving at least two second messages sent by the second device.

[0044] Optionally, the preset correspondence is: different second messages correspond to different time domains.

[0045] Optionally, the preset correspondence is: different second messages correspond to different frequency domains.

[0046] Optionally, the second message may also include a grouping field, which indicates the resource group to which the second message corresponds.

[0047] In the above scheme, at least two second messages can be generated based on the correspondence between the second message and the resource. This reduces the number of fields corresponding to the resource in the second message and simplifies the format of the second message.

[0048] In conjunction with the second aspect, in some implementations of the second aspect, the aforementioned second message includes first information and second information. The first information is used to indicate whether there is a response for the first device corresponding to the resource. The second information is determined by the first information and is used to indicate, in the case of a response for the first device corresponding to the resource, to allocate relevant information of the access layer index to the first device corresponding to the resource.

[0049] Optionally, the first information is a bitmap.

[0050] Optionally, the first piece of information is a resource index.

[0051] In the above scheme, two pieces of information are set in the second message, and the second information is determined by the first information. This simplifies the content of the first and second information, making it easier for the first device to quickly read information related to itself from the second message after receiving it.

[0052] In conjunction with the second aspect, in some implementations of the second aspect, the aforementioned field is used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or reuse of the random number in the first message as the access layer index.

[0053] It should be understood that both allocating a new access layer index and reusing the random number in the first message as the access layer index can be understood as allocating an access layer index. However, the difference between the two is that allocating a new access layer index is simply allocating an additional access layer index, which is unrelated to the random number in the first message, while reusing the random number in the first message as the access layer index is simply setting the random number in the first message as the access layer index.

[0054] In the above scheme, by using the field corresponding to the resource (time domain and / or frequency domain) to indicate the relevant information of the access layer index of the first device corresponding to the resource, the first device can, upon receiving the second message, read whether the access layer index is newly allocated or reused random number based on the value of the field corresponding to the time domain and / or frequency domain resource and related fields. By optimizing the format of the second message (setting the field corresponding to the resource), the information that the second message can indicate (the information indicated by the field) can be made more comprehensive.

[0055] In conjunction with the second aspect, in some implementations of the second aspect, the aforementioned field is used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or no access layer index allocated.

[0056] In the above scheme, by using the field corresponding to the resource (time domain and / or frequency domain) to indicate the relevant information of the access layer index of the first device corresponding to the resource, the first device can, upon receiving the second message, read whether the access layer index is newly allocated or not allocated based on the value of the field corresponding to the time domain and / or frequency domain resource and related fields. By optimizing the format of the second message (setting the field corresponding to the resource), the information that the second message can indicate (the information indicated by the field) can be made more comprehensive.

[0057] In conjunction with the first aspect, in some implementations of the first aspect, the aforementioned field is used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or no allocated access layer index.

[0058] In the above scheme, by using the field corresponding to the resource (time domain and / or frequency domain) to indicate the relevant information of the access layer index of the first device corresponding to the resource, the first device can, upon receiving the second message, read whether the access layer index is newly allocated or not allocated based on the value of the field corresponding to the time domain and / or frequency domain resource and related fields. By optimizing the format of the second message (setting the field corresponding to the resource), the information that the second message can indicate (the information indicated by the field) can be made more comprehensive.

[0059] In conjunction with the second aspect, in some implementations of the second aspect, before sending the first message to the second device, the method further includes: receiving a trigger message sent by the second device, the trigger message being used to trigger at least one first device to select a resource to send the first message.

[0060] It should be understood that after receiving the trigger message, each first device can select multiple time-domain and / or frequency-domain resources to send the first message.

[0061] In conjunction with the second aspect, in some implementations of the second aspect, the first message carries a random number generated by the first device; after receiving the second message sent by the second device, the method further includes: if the random number carried in the second message is the same as the random number generated by the first device carried in the first message, a third message is sent to the second device, the third message carrying the device index of the first device.

[0062] In the above scheme, if the first device receives a random number that is the same as the random number in its first message, it replies with its device index via a third message. Upon receiving the device index from the first device, the second device completes its inventory for that first device.

[0063] Thirdly, embodiments of this application provide a data transmission apparatus, comprising: a first receiving module, configured to receive a first message sent by at least one first device; and a first sending module, configured to send a second message to at least one first device, the second message including a field corresponding to a resource of the first message, the field being used to indicate whether there is a reply to the first device corresponding to the resource, and / or, the field being used to indicate relevant information of the access layer index of the first device corresponding to the resource; the resource being in the time domain and / or frequency domain.

[0064] Fourthly, embodiments of this application provide a data transmission apparatus applied to a first device. The apparatus includes: a second sending module for sending a first message to a second device; and a second receiving module for receiving a second message sent by the second device. The second message includes a field corresponding to a resource in the first message, the field indicating whether there is a reply to the first device corresponding to the resource, and / or, the field indicating relevant information about the access layer index of the first device corresponding to the resource; the resource is in the time domain and / or frequency domain.

[0065] Fifthly, embodiments of this application provide a data transmission system, including at least one first device and a second device; the at least one first device is configured to send a first message to the second device; the second device is configured to send a second message to the at least one first device, the second message including a field corresponding to a resource of the first message, the field being used to indicate whether there is a reply to the first device corresponding to the resource, and / or, the field being used to indicate relevant information of the access layer index of the first device corresponding to the resource; the resource is in the time domain and / or frequency domain.

[0066] In a sixth aspect, embodiments of this application provide an electronic device, including: a processor and a memory; the memory stores a computer program, and the processor executes the computer program to implement the data transmission method provided in the first or second aspect of embodiments of this application.

[0067] In a seventh aspect, embodiments of this application provide a computer-readable storage medium, characterized in that the computer-readable storage medium stores a computer program, which, when executed by an electronic device, enables the electronic device to implement the data transmission method provided in the first or second aspect of embodiments of this application.

[0068] Understandably, the data transmission apparatus provided in the third aspect, the data transmission system provided in the fifth aspect, the electronic device provided in the sixth aspect, and the computer-readable storage medium provided in the seventh aspect can all be used to execute the data transmission method provided in the first aspect. Therefore, the beneficial effects they achieve can be referenced to the beneficial effects of the data transmission method provided in the first aspect, and will not be repeated here. The data transmission apparatus provided in the fourth aspect can be used to execute the data transmission method provided in the second aspect. Therefore, the beneficial effects it achieves can be referenced to the beneficial effects of the data transmission method provided in the second aspect, and will not be repeated here. Attached Figure Description

[0069] Figure 1 is a schematic diagram of a communication system with a topology provided in an embodiment of this application;

[0070] Figure 2 is a schematic diagram of another communication system topology provided in an embodiment of this application;

[0071] Figure 3 is a schematic diagram of the AIoT device inventory process under a CBRA access mechanism provided in an embodiment of this application;

[0072] Figure 4 is a schematic flowchart of a data transmission method provided in an embodiment of this application;

[0073] Figure 5 is a schematic diagram illustrating the values ​​and meanings of a domain corresponding to a resource, provided in an embodiment of this application.

[0074] Figure 6 is a schematic diagram of a second message bitmap structure provided in an embodiment of this application;

[0075] Figure 7 is a schematic diagram illustrating the value of a domain corresponding to a resource and its meaning, provided in an embodiment of this application.

[0076] Figure 8 is a schematic diagram of another second message bitmap structure provided in an embodiment of this application;

[0077] Figure 9 is a schematic diagram of another second message bitmap structure provided in an embodiment of this application;

[0078] Figure 10 is a schematic diagram of the structure of two bitmaps contained in a second message according to an embodiment of this application;

[0079] Figure 11 is a schematic flowchart of another data transmission method provided in an embodiment of this application;

[0080] Figure 12 is a schematic flowchart of another data transmission method provided in an embodiment of this application;

[0081] Figure 13 is a schematic diagram of a specific data transmission process provided in an embodiment of this application;

[0082] Figure 14 is a schematic diagram of a data transmission device provided in an embodiment of this application;

[0083] Figure 15 is a schematic diagram of another data transmission device provided in an embodiment of this application;

[0084] Figure 16 is a schematic diagram of a data transmission system provided in an embodiment of this application;

[0085] Figure 17 is a schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0086] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. The terminology used in the following embodiments is for the purpose of describing specific embodiments only and is not intended to be a limitation of this application. As used in the specification and appended claims of this application, the singular expressions "a," "an," "the," "the," "the," and "this" are intended to also include expressions such as "one or more," unless the context clearly indicates otherwise. It should also be understood that in the embodiments of this application, "one or more" refers to one, two, or more; "and / or" describes the relationship between related objects, indicating that three relationships may exist; for example, A and / or B can represent: A alone, A and B simultaneously, or B alone, where A and B can be singular or plural. The character " / " generally indicates that the preceding and following related objects are in an "or" relationship.

[0087] References to "one embodiment" or "some embodiments" as described in this specification mean that one or more embodiments of this application include a specific feature, structure, or characteristic described in connection with that embodiment. Therefore, the phrases "in one embodiment," "in some embodiments," "in other embodiments," "in still other embodiments," etc., appearing in different parts of this specification do not necessarily refer to the same embodiment, but rather mean "one or more, but not all, embodiments," unless otherwise specifically emphasized. The terms "comprising," "including," "having," and variations thereof mean "including but not limited to," unless otherwise specifically emphasized.

[0088] The "multiple" mentioned in the embodiments of this application refers to two or more. It should be noted that in the description of the embodiments of this application, terms such as "first" and "second" are used only for the purpose of distinguishing descriptions and should not be construed as indicating or implying relative importance, nor should they be construed as indicating or implying order.

[0089] The embodiments of this application are applied to communication systems, which can be second-generation (2G) communication systems, third-generation (3G) communication systems, fourth-generation (4G) systems such as Long-Term Evolution (LTE), fifth-generation (5G) communication systems, LTE and 5G hybrid architectures, 5G New Radio (5G NR) systems, and other new communication systems that will emerge in the future development of communication.

[0090] The communication system includes network devices and readers. Network devices are those that support the Internet of Things (IoT), such as AIoT devices in Ambient IoT (AIoT). These devices can connect to the IoT through the aforementioned communication system to achieve intelligent interconnection and management.

[0091] In this context, network devices are devices on the network side used to provide network communication functions; they are sometimes also referred to as network elements. In the Internet of Things (IoT), such as AIoT (Artificial Intelligence of Things), network devices can typically include, but are not limited to, AIoT controllers, application function (AF) network elements, network exposure function (NEF) network elements, or operation management (OM) network elements.

[0092] The AIoT controller is an entity in the core network (CN) used to implement AIoT functions. The AIoT controller enables communication and coordination between different AIoT devices. It can act as a centralized control point for managing and optimizing the performance of connected AIoT devices, serving as both a controller for AIoT devices and a server (such as an AF network element).

[0093] AF network elements include various services at the application layer, which can be internal applications of the operator or third-party AFs, such as AIoT servers.

[0094] The NEF (Network Element) is used to manage externally accessible data and typically resides between the core network and the AF (Active Front-End). External applications, such as the AF, that want to access data within the core network usually need to go through the NEF. The NEF provides corresponding security guarantees to ensure the security of external applications accessing the network, and offers functions such as customizable Quality of Service (QoS) capabilities for external applications, mobility state event subscription, and AF request distribution.

[0095] An OM (Operational Network Element) is an entity in the core network used to manage operations. These operations can be operations on AIoT devices. For example, operations can be turning AIoT devices on, off, or switching modes.

[0096] A reader is used to communicate with AIoT devices by transmitting and receiving radio frequency signals. In some examples, the reader can be a terminal, or integrated into a terminal and located in the same location as the terminal, so that communication between the reader and the AIoT controller uses a Protocol Data Unit (PDU) session. A PDU session can be a data transmission channel established between the communication participants. For example, the PDU session used for communication between the reader and the AIoT is a data transmission channel established between the reader and the AIoT controller. In other examples, the reader can be deployed independently of the UE; for example, the reader can be a standalone radio access network (RAN) device or RAN node. The RAN device can include a base station (BS).

[0097] AIoT devices refer to devices capable of accessing and connecting to the AIoT ecosystem. AIoT devices connect to the AIoT network and are typically at the edge of the AIoT chain. AIoT devices can include sensors such as temperature sensors, hygrometers, and smoke sensors. In the smart home field, AIoT devices can also include various home appliances such as air conditioners, refrigerators, washing machines, televisions, and robot vacuum cleaners. In the field of autonomous driving, AIoT devices can include in-vehicle air conditioners, in-vehicle audio systems, and in-vehicle screens.

[0098] Figures 1 and 2 illustrate two different communication system topologies, which may include AIoT devices, RAN nodes, a core network (CN), and an AIoT server. The RAN node can act as a reader, and network elements in the core network or the AIoT server can act as network devices configuring the reader.

[0099] In the topology shown in Figure 1, the AIoT devices in this communication system are directly connected to the RAN Node. The RAN Node acts as a reader, enabling communication between the AIoT devices and the AIoT Server. In the topology shown in Figure 2, the AIoT devices connect to the RAN Node through a terminal (such as a UE). The terminal acts as a reader, enabling communication between the AIoT devices and the AIoT Server.

[0100] For AIoT, the terminal or RAN can act as an intermediate node to receive AIoT messages such as AIoT device inventory or control commands transmitted from the network side. The control commands can include read or write commands, and the aggregation and transmission of AIoT messages from multiple UEs is supported.

[0101] Figure 3 illustrates an exemplary process for inventorying AIoT devices under the CBRA access mechanism. As shown in Figure 3, the process includes the following steps:

[0102] S301: The reader sends a paging message to one or more AIoT devices. The paging message may include relevant information about the AIoT devices that need to respond (such as device identifiers).

[0103] S302: The reader sends a trigger message (R2D message) to one or more AIoT devices. The trigger message is used to trigger one or more time-domain and / or frequency-domain resources. That is, the trigger message can trigger a set of random access resources for a first message (message1, Msg1). After receiving the trigger message, the AIoT device can select time-domain and / or frequency-domain resources to send Msg1 based on the slot aloha algorithm. Alternatively, the trigger message can be a paging message, which can also be used to select the device that needs to reply to Msg1, i.e., the indicated target. The indicated target may include a target-related index, which includes the device ID, filter, group index, or may not include a target-related index but is used to indicate full disk storage.

[0104] S303: One or more AIoT devices send a first message to the reader. The first message carries a random number RN generated by the AIoT device itself. For example, the random number RN can be 16 bits.

[0105] S304: The reader sends a second message (message2, Msg2) to one or more AIoT devices. Msg2 may include the RN value included in one or more AIoT devices. If one or more AIoT devices receive an RN containing the same RN as the one they sent in the first message, then S305 is executed below.

[0106] S305: The AIoT device sends a third message (message3, Msg3) to the reader. This third message includes the AIoT device's own device index. Upon receiving the AIoT device's device index, the reader completes inventory for that AIoT device.

[0107] In related technologies, when a reader needs to schedule a specific AIoT device, an access layer identifier (AS ID) needs to be included in the second message. For example, the AS ID can also be 16 bits long. In the CBRA access mechanism, the second message Msg2 currently determines whether the original RN is reused as an AS ID or a new AS ID is assigned. Furthermore, it's possible that an AS ID will only be assigned in use cases involving disk storage and commands, and not in use cases involving only disk storage. In other words, an AS ID may not be assigned at all.

[0108] When a reader's Msg2 needs to respond to RNs generated by multiple AIoT devices, there may be RN conflicts in the Msg1 received by the reader. When RN conflicts occur, AIoT devices cannot determine whether an RN belongs to them solely based on the RN. Furthermore, as mentioned earlier, the allocation of AS IDs in Msg2 is optional, and even if allocated, the specific allocation format is uncertain. Therefore, the format of Msg2 needs optimization.

[0109] Figure 4 illustrates a flowchart of a data transmission method provided in an embodiment of this application. In this embodiment, the reader is referred to as the second device, and the AIoT device is referred to as the first device. As shown in Figure 4, the data transmission method includes at least the following steps:

[0110] S401: At least one first device sends a first message to a second device.

[0111] Specifically, the first message sent by the first device may carry a random number RN generated by the first device. For example, the length of the random number may be 16 bits.

[0112] S402: The second device sends a second message to at least one of the first devices, the second message including a field corresponding to the resource in the first message.

[0113] The aforementioned fields are used to indicate whether there is a response from the first device corresponding to the aforementioned resource, and / or, the aforementioned fields are used to indicate information related to the access layer index of the first device corresponding to the aforementioned resource. The aforementioned resource is in the time domain and / or frequency domain.

[0114] In some possible embodiments, the above field is used to indicate whether there is a response to the first device corresponding to the resource, specifically including the following two scenarios:

[0115] Scenario 1: The field corresponding to the resource indicates whether a field corresponding to the resource exists. If a field corresponding to the resource exists, it indicates that there is a response from at least one first device corresponding to the resource; if no field corresponding to the resource exists, it indicates that there is no response from at least one first device corresponding to the resource. The aforementioned field is used to indicate the random number and / or access stratum index sent to the first device corresponding to the resource.

[0116] For example, if the field corresponding to the resource takes the first value, it indicates that there is no field corresponding to the resource in the second message, and there is no response to at least one first device corresponding to the resource. If the field corresponding to the resource takes another value, it indicates that there is a field corresponding to the resource in the second message, and there is a response to at least one first device corresponding to the resource. This field can specifically be used to indicate information sent to the first device corresponding to the resource. This information can include a random number, an access layer index, or both a random number and an access layer index.

[0117] Scenario 2: The above field is used to indicate whether at least one first device corresponding to the resource replies to or does not reply to the third message, whereby the third message carries the device index of the first device. In addition, in some possible embodiments, when a conflict arises between resources selected by multiple first devices, the above field can also be used to indicate whether the conflict has been resolved. If the above field indicates a reply from the first device corresponding to the resource, it indicates that the resource conflict has been resolved; if it indicates no reply from the first device corresponding to the resource, it indicates that the resource conflict has not been resolved. In other possible embodiments, the above field can also be used to indicate whether the random access procedure of the first device has been successfully completed. If the above field indicates a reply from the first device corresponding to the resource, it indicates that the random access procedure of the first device has been successfully completed; if it indicates no reply from the first device corresponding to the resource, it indicates that the random access procedure of the first device has not been successfully completed.

[0118] It should be noted that when the first device replies to the second device with a third message without verifying the random number RN, both scenario one and scenario two described above can exist simultaneously. That is, the above field is used to indicate whether there is a reply from the first device corresponding to the resource; it is used both to indicate whether the field corresponding to the resource exists and to indicate whether at least one first device corresponding to the resource replies to or does not reply to the third message.

[0119] In some possible embodiments, the first message carries a random number generated by the first device. The information related to the access stratum index includes any of the following: a new access stratum index is allocated, no access stratum index is allocated, or the random number in the first message is reused as the access stratum index.

[0120] It should be understood that both allocating a new access layer index and reusing the random number in the first message as the access layer index can be understood as allocating an access layer index. However, the difference between the two is that allocating a new access layer index is simply allocating an additional access layer index, which is unrelated to the random number in the first message, while reusing the random number in the first message as the access layer index is simply setting the random number in the first message as the access layer index.

[0121] The newly allocated access layer index may include setting a preset bit related to the first device corresponding to the resource as the access layer index. For example, but not limited to, setting a preset bit adjacent to the random number of the first device corresponding to the resource carried in the second message as the access layer index. Subsequent embodiments of this application will be described using the example of setting a preset bit adjacent to the random number of the first device corresponding to the resource as the access layer index.

[0122] In this embodiment, after receiving a first message sent by at least one first device through time-domain and / or frequency-domain resources, the relevant information sent to the first device is indicated by setting a field corresponding to the resource (time-domain and / or frequency-domain) in the second message. Specifically, this includes indicating whether there is a reply for the first device corresponding to the resource, and / or indicating the access layer index information of the first device corresponding to the resource. This allows the first device, upon receiving the second message, to read the relevant information about itself based on the value of the field corresponding to the time-domain and / or frequency-domain resource and related fields. This serves two purposes: firstly, it indicates whether there is a reply for the first device corresponding to the resource; secondly, it indicates the access layer index information of the first device corresponding to the resource. Furthermore, by setting a field corresponding to the resource, even in the event of conflicting random numbers generated by multiple first devices, the first device's original random number can be determined through the resource index (RI). In summary, this embodiment, by optimizing the format of the second message (setting a field corresponding to the resource), makes the information indicated by the second message (the information indicated by the field) more comprehensive.

[0123] Next, we will introduce several specific implementation methods for different combinations of the information indicated by the domain and the relevant information of the access layer index.

[0124] Implementation Method 1: The above field is used both to indicate whether there is a response for the first device corresponding to the resource and to indicate information related to the access layer index of the first device corresponding to the resource. The access layer index information includes any one of the following: newly allocated access layer index, no allocated access layer index, or reuse of the random number in the first message as the access layer index.

[0125] Figure 5 illustrates, for example, the values ​​of the domain corresponding to the resource and their meanings. As shown in Figure 5:

[0126] When the field takes the first value (such as 00), it indicates that there is no response for the resource.

[0127] When the field value is the second value (e.g., 10), it indicates that there is a response for the resource, and no AS ID is assigned. That is, only the RN carried in the first message is sent.

[0128] When the field value is the third possible value (e.g., 11), it indicates that there is a response for the resource, and the random number RN in the first message is reused as the AS ID. That is, only the RN carried in the first message needs to be sent. This RN is used to represent both the random number and the AS ID.

[0129] When the field takes the fourth value (such as 01), it indicates that there is a response for the resource and a new AS ID has been assigned. That is, the second message includes both the RN carried in the first message and the newly assigned AS ID.

[0130] It is understood that the aforementioned field, used to indicate whether there is a response to the first device corresponding to the resource, specifically refers to scenario one mentioned in the preceding embodiments. That is, the resource-corresponding field indicates whether a field corresponding to the resource exists. If a field corresponding to the resource exists, it indicates that there is a response to at least one first device corresponding to the resource; if no field corresponding to the resource exists, it indicates that there is no response to at least one first device corresponding to the resource. Here, the aforementioned field is used to indicate the random number RN and / or access stratum index AS ID sent to the first device corresponding to the resource.

[0131] Referring to Figures 5 and 6, Figure 6 exemplarily illustrates the structure of a bitmap in a second message. This bitmap is used to represent information indicating the fields corresponding to the resources. As shown in Figure 6, a field corresponding to the resource index RI (time domain and / or frequency domain index) can be introduced into the header of the second message. The field length is 2 bits. For example, when RI1 and RI7 are 01, that is, when the fields corresponding to resources RI1 and RI7 are 01, it indicates that there is a response for the resource, and a new AS ID is assigned. That is, the second message includes both the RN carried in the first message and the newly assigned AS ID. It can also be seen from the fields corresponding to RI1 and RI7 that this field contains both the RN corresponding to resources RI1 and RI7 and the AS ID corresponding to resources RI1 and RI7. For another example, when RI2 and RI8 are 10, that is, when the fields corresponding to resources RI2 and RI8 are 10, it indicates that there is a response for the resource, and no AS ID is assigned. That is, only the RN carried in the first message is sent. As can be seen from the fields corresponding to RI2 and RI8, these fields only contain the resources and the corresponding RNs for RI2 and RI8. For example, when the values ​​of the fields corresponding to RI3, RI4, RI5, and RI6 are all 00, it indicates that there are no responses for these resources, and therefore no fields corresponding to those resources exist.

[0132] Implementation Method 2: The above field is only used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or reuse of the random number in the first message as the access layer index.

[0133] Figure 7 illustrates, for example, the values ​​of the domain corresponding to the resource and their meanings. As shown in Figure 7:

[0134] When the value of the field is the first value (such as 0), it indicates that the random number RN in the first message should be reused as the AS ID.

[0135] When the field takes the second value (such as 1), it indicates that a new AS ID has been allocated. That is, the second message includes both the RN carried in the first message and the newly allocated AS ID.

[0136] Referring to Figures 7 and 8, Figure 8 exemplifies another possible structure of the bitmap in the second message. This bitmap is used to represent information indicating the field corresponding to the resource. As shown in Figure 8, a field corresponding to the resource index RI (time domain and / or frequency domain index) can be introduced into the header of the second message. The field length is 1 bit. For example, when RI1 is 1, meaning the field corresponding to resource RI1 is 1, it indicates a newly allocated AS ID. That is, the second message includes both the RN carried in the first message and the newly allocated AS ID. Therefore, it can be seen from the field corresponding to RI1 that this field contains both the RN corresponding to resource RI1 and the AS ID corresponding to resource RI1. For another example, when RI2 is 0, meaning the field corresponding to resource RI2 is 0, it indicates that the random number RN in the first message is reused as the AS ID. That is, only the RN carried in the first message needs to be sent. This RN is used to represent both the random number and the AS ID. Therefore, it can be seen from the field corresponding to RI2 that this field only contains the RN corresponding to resource RI2. The values ​​of the domains and corresponding fields for other resources are similar to those for RI1 and RI2, and will not be repeated here.

[0137] Implementation Method 3: The above field is only used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, no allocated access layer index.

[0138] In this embodiment of the application, when the value of the field is the first value (such as 0), it indicates that no AS ID is assigned.

[0139] When the field takes the second value (such as 1), it indicates that a new AS ID has been allocated. That is, the second message includes both the RN carried in the first message and the newly allocated AS ID.

[0140] In this embodiment, a field corresponding to the resource index RI (time domain and / or frequency domain index) can be included in the header of the second message. The field length is 1 bit. For example, when RI1 is 1, meaning the field corresponding to resource RI1 is 1, it indicates a newly allocated AS ID. That is, the second message includes both the RN carried in the first message and the newly allocated AS ID. Therefore, the field corresponding to RI1 contains both the RN and the AS ID corresponding to resource RI1. As another example, when RI2 is 0, meaning the field corresponding to resource RI2 is 0, it indicates no AS ID is allocated. That is, only the RN carried in the first message needs to be sent. Therefore, the field corresponding to RI2 only contains the RN corresponding to resource RI2.

[0141] In another possible embodiment, the second message may not need to carry the RN of the first message. Therefore, if no AS ID is allocated, the RN carried in the first message may not be sent. If a new AS ID is allocated, only the AS ID may be sent, without sending the RN carried in the first message. This application does not limit this aspect.

[0142] Implementation Method 4: The above field is only used to indicate whether there is a response for the first device corresponding to the resource.

[0143] When the field takes the first value (such as 0), it indicates that there is a response from the first device corresponding to the resource.

[0144] When the field takes the second value (such as 1), it indicates that there is no response for the first device corresponding to the resource.

[0145] It is understood that the aforementioned field, used to indicate whether there is a response from the first device corresponding to the resource, specifically refers to scenario two mentioned in the preceding embodiments. That is, the aforementioned field is used to indicate whether at least one first device corresponding to the resource responds to or does not respond to the third message, where the third message carries the device index of the first device. In addition, in some possible embodiments, when multiple first devices select conflicting resources, the aforementioned field can also be used to indicate whether the conflict has been resolved. If the aforementioned field indicates a response from the first device corresponding to the resource, this indicates that the resource conflict has been resolved; if it indicates no response from the first device corresponding to the resource, this indicates that the resource conflict has not been resolved. In other possible embodiments, the aforementioned field can also be used to indicate whether the random access procedure of the first device has been successfully completed. If the aforementioned field indicates a response from the first device corresponding to the resource, this indicates that the random access procedure of the first device has been successfully completed; if it indicates no response from the first device corresponding to the resource, this indicates that the random access procedure of the first device has not been successfully completed.

[0146] It should be noted that the values ​​of the fields and their corresponding meanings in the above specific embodiments are merely illustrative examples. Other correspondences may exist in specific implementations, and this application embodiment does not limit them. The bitmap structure embodied in the above specific embodiments is also merely illustrative. Other structures may exist in specific implementations, and this application embodiment does not limit them.

[0147] In the above embodiments, the number of second messages sent by the second device to each of the first devices is 1, meaning that the second message can contain all the domains corresponding to the resources. In some possible embodiments, to reduce the number of resources contained in the second message, the correspondence between the second message and the resources can be set through protocol settings or network settings. Therefore, when a preset correspondence exists between the second message and the resources, the second device can send at least two second messages to at least one first device.

[0148] Optionally, the preset correspondence can be based on time domain grouping, that is, dividing resources in the same time domain into a resource group, and different second messages correspond to different time domains.

[0149] Optionally, the preset correspondence can be grouped according to the frequency domain, that is, resources in the same frequency domain are divided into a resource group, and different second messages correspond to different frequency domains.

[0150] Optionally, in this embodiment of the application, all resources may be numbered, and then resources with odd-numbered numbers may be grouped into one resource group, and resources with even-numbered numbers may be grouped into another resource group. Then, the second device will send two second messages to at least one first device. One second message contains the field corresponding to the resource with the odd-numbered number, and the other second message contains the field corresponding to the resource with the even-numbered number.

[0151] Optionally, in this embodiment of the application, all resources can be numbered, and then the remainder operation can be performed on all resources according to the number of second messages corresponding to a trigger message predefined in the network protocol or network configuration, and resources with the same remainder can be divided into a resource group.

[0152] For example, if the number of second messages is 4, and the total number of resources is 10, numbered 1-10, then the resources with a remainder of 1 are numbered 1, 5, and 9; the resources with a remainder of 2 are numbered 2, 6, and 10; the resources with a remainder of 3 are numbered 3 and 7; and the resources with a remainder of 4 are numbered 4 and 8. Therefore, resources numbered 1, 5, and 9 can be grouped into one resource group, and the domain corresponding to this group will be included in the first second message. Resources numbered 2, 6, and 10 can be grouped into another resource group, and the domain corresponding to this group will be included in the second second message. Resources numbered 3 and 7 can be grouped into another resource group, and the domain corresponding to this group will be included in the third second message. Resources numbered 4 and 8 can be grouped into another resource group, and the domain corresponding to this group will be included in the fourth second message.

[0153] The above-described resource allocation rules are merely illustrative examples. Other allocation rules may exist in specific implementations. This application will not exhaustively list them, nor will it limit them.

[0154] In one possible implementation, a grouping field can be set in the second message through protocol settings or network settings. This grouping field can be used to indicate the resource group corresponding to the second message. For example, the field SubGroup = 1 or 2 can be added. If SubGroup = 1, it indicates that the second message corresponds to the first resource group. If SubGroup = 2, it indicates that the second message corresponds to the second resource group. The resource group corresponding to the second message is at least one resource determined based on a preset relationship, and the fields in the second message corresponding to the resources correspond to the aforementioned at least one resource.

[0155] This application embodiment can generate at least two second messages based on the correspondence between the second message and the resource. This reduces the number of fields corresponding to the resource in the second message and simplifies the format of the second message.

[0156] Next, let's look at Figures 5 and 9. Figure 9 illustrates the structure of a bitmap in a second message by taking the sending of two second messages to the first device as an example. Figures 9(a) and (b) show the structure of the bitmap of the two second messages sent by the second device, that is, dividing resources RI1-RI8 into two resource groups. RI1-RI4 is the first resource group, corresponding to the first second message (a), and RI5-RI8 is the second resource group, corresponding to the second second message (b).

[0157] As shown in Figure 9, a field corresponding to the resource index RI (time domain and / or frequency domain index) can be included in the header of the second message. The field length is 2 bits. For example, in the first second message (a), when RI1 is 01, meaning the field corresponding to resource RI1 is 01, it indicates a response to the resource and a newly assigned AS ID. That is, the second message includes both the RN carried in the first message and the newly assigned AS ID. Therefore, the field corresponding to RI1 also shows that it contains both the RN and the AS ID corresponding to resource RI1. For another example, in the second second message (b), when RI8 is 11, meaning the field corresponding to resource RI8 is 11, it indicates a response to the resource and reuses the random number RN from the first message as the AS ID. That is, only the RN carried in the first message needs to be sent. This RN is used to represent both the random number and the AS ID. Therefore, the field corresponding to RI8 also shows that it only contains the RN corresponding to resource RI8. For example, when the field corresponding to RI3 is 00, it indicates that there is no response to these resources, and therefore the field corresponding to this resource will not exist in the first second message (a). When the field corresponding to RI6 is 00, it indicates that there is no response to these resources, and therefore the field corresponding to this resource will not exist in the first second message (b).

[0158] The field length is not limited to 2 bits; in specific implementations, it can also be set to only 1 bit to indicate the AS ID allocation method, or the field length can be set to a longer number of bits to indicate more information. This application does not limit this approach.

[0159] In some possible embodiments, the second message may include first information and second information. The first information indicates whether there is a response for the first device corresponding to the resource. The second information, determined by the first information, is used to indicate, in the case of a response for the first device corresponding to the resource, information related to allocating an access stratum index for the first device corresponding to the resource. Specifically, the first information is a field corresponding to the resource in the first message, used to indicate whether a field corresponding to the resource in the first message exists in the second information. The first information may be a bitmap or a resource index RI. Information related to the access stratum index may include: allocating a new access stratum index, reusing a random number from the first message as the access stratum index. In some possible embodiments, the information related to the access stratum index may also include not allocating an access stratum index, i.e., indicating no AS ID.

[0160] For example, the first information is a first bitmap, and the second information is a second bitmap. A field corresponding to the resource can be introduced in the header of the first bitmap of the second message. The length of the field is 1 bit. When the field value is the first value (e.g., 1), it indicates that there is a response to the first device corresponding to the resource. When the field value is the second value (e.g., 0), it indicates that there is no response to the first device corresponding to the resource.

[0161] It should be understood that the above-mentioned field, used to indicate whether there is a response from the first device corresponding to the resource, specifically refers to at least one of the scenarios one and two mentioned in the foregoing embodiments. That is, the above-mentioned field, used to indicate whether there is a response from the first device corresponding to the resource, is used both to indicate whether the field corresponding to the resource exists and to indicate whether at least one first device corresponding to the resource responds to or does not respond to the third message.

[0162] The second information is determined through the first information. Specifically, if the first information indicates a response from the first device corresponding to the resource, this further determines the allocation of access layer index information for the first device corresponding to the resource. In this embodiment, a field corresponding to the resource whose field value in the first bitmap is the first value can be introduced into the header of the second bitmap of the second message. The field length is 1 bit. When the field value in the second bitmap is the first value (e.g., 0), it indicates that the random number in the first message is reused as the access layer index. That is, only the RN carried in the first message needs to be sent. This RN is used to represent both the random number and the AS ID. When the field value in the second bitmap is the second value (e.g., 1), it indicates that a new access layer index is allocated. That is, the second message includes both the RN carried in the first message and the newly allocated AS ID.

[0163] In some possible embodiments, the absence of a second bitmap indicates that the second message does not indicate the AS ID to the first device, which is applicable to scenarios where the AS ID is not assigned.

[0164] It should be noted that the first value of the field in the first bit diagram and the first value of the field in the second bit diagram can be the same or different, and the second value of the field in the first bit diagram and the second value of the field in the second bit diagram can be the same or different. This application embodiment does not limit this.

[0165] For example, we will now refer to Figures 7 and 10. Figure 10 illustrates a schematic diagram of the structure of the two bitmaps contained in the second message. Figure 10(a) shows the structure of the first bitmap, and Figure 10(b) shows the structure of the second bitmap.

[0166] As shown in Figure 10, a field corresponding to the resource index RI (time domain and / or frequency domain index) can be introduced into the header of the first bit diagram of the second message. The field length is 1 bit. For example, when RI1 in the first bit diagram (a) is 1, that is, when the field corresponding to resource RI1 is 1, it indicates that there is a response for that resource. When RI2 in the first bit diagram (a) is 0, that is, when the field corresponding to resource RI2 is 0, it indicates that there is no response for that resource. The first bit diagram (a) shows that the values ​​of the fields corresponding to resources RI1-RI16 are as follows: 1010011000110011. It can be seen that the field corresponding to 8 resources (RI1, RI3, RI6, RI7, RI11, RI12, RI15, RI16) is 1, indicating that there are responses for these 8 resources. Therefore, the field corresponding to these 8 resources can be introduced into the header of the second bit diagram (b), with a field length of 1 bit. For example, when the value of RI1 in the second bitmap (b) is 0, that is, when the value of the field corresponding to resource RI1 is 0, it indicates that the random number RN in the first message is reused as the AS ID. In other words, only the RN carried in the first message needs to be sent. This RN is used to represent both the random number and the AS ID. Therefore, it can be seen from the field corresponding to RI1 that this field only contains the RN corresponding to resource RI1. When the value of RI3 in the second bitmap (b) is 1, that is, when the value of the field corresponding to resource RI3 is 1, it indicates that a new AS ID is allocated. That is, the second message includes both the RN carried in the first message and the newly allocated AS ID. Therefore, it can be seen from the field corresponding to RI3 that this field includes both the RN corresponding to resource RI3 and the AS ID corresponding to resource RI3. The values ​​of the fields corresponding to other resources and the corresponding fields are similar to RI1 and RI3, and will not be described further here. The second bitmap (b) shows that the values ​​of the fields corresponding to resources RI1, RI3, RI6, RI7, RI11, RI12, RI15, and RI16 are 01100110 in sequence.

[0167] For example, the first information is a resource index. If the resource index appears in the second message, it indicates that there is second information corresponding to the resource. That is, the second device can determine whether there is a reply from the first device corresponding to the resource before generating the second message. If not, the resource index will not appear in the second message; only the index of the resource corresponding to the first device that has replied will appear in the second message. For example, the second message may only include the bitmap in Figure 10(b), and the resource indices RI1, RI3, RI6, RI7, RI11, RI12, RI15, and RI16 appearing in the bitmap can be regarded as the first information.

[0168] In this embodiment, by using a field corresponding to the resource (time domain and / or frequency domain) to indicate the relevant information of the access layer index of the first device corresponding to the resource, the first device can, upon receiving the second message, read whether the access layer index is newly allocated or reused random number based on the value of the field corresponding to the time domain and / or frequency domain resource and related fields. By optimizing the format of the second message (setting the field corresponding to the resource), the information that the second message can indicate (the information indicated by the field) can be more comprehensive.

[0169] In some possible embodiments, resources can be grouped according to a preset correspondence, enabling a second device to send at least two second messages to at least one first device. Each second message may further include first information and second information. The first information indicates whether there is a response from the first device corresponding to the resource, and the second information, determined by the first information, is used to instruct the allocation of access layer index information to the first device corresponding to the resource, should there be a response.

[0170] For example, if the total number of resources is 16, specifically RI1-RI16, and these 16 resources are divided into two groups, RI1-RI8 form one resource group, and the domain corresponding to this group of resources will be included in the second message A. RI9-RI16 form another resource group, and the domain corresponding to this group of resources will be included in the second message B. The second message A further includes first information A1 and second information A2. The second message B further includes first information B1 and second information B2.

[0171] For example, the field value of the resources RI1-RI8 corresponding to the first information A1 is 11001011, where 1 represents a reply from the first device corresponding to the resource (RI1, RI2, RI5, RI7, RI8). The field value of the resources RI1, RI2, RI5, RI7, RI8 corresponding to the second information A2 is 00110, where 1 represents a newly assigned AS ID, and 0 represents reusing the random number RN from the first message as the AS ID. That is, a new AS ID is assigned to the first device corresponding to RI5 and RI7, and the random number RN from the first message is reused as the AS ID for the first device corresponding to RI1, RI2, and RI8.

[0172] For example, the field value of the resources RI9-RI16 corresponding to the first information B1 is 01011001, where 1 represents a reply from the first device corresponding to the resource (RI10, RI12, RI13, RI16). The field value of the resources RI10, RI12, RI13, RI16 corresponding to the second information B2 is 01100, where 1 represents a newly assigned AS ID, and 0 represents reusing the random number RN from the first message as the AS ID. That is, a new AS ID is assigned to the first device corresponding to RI12 and RI13, and the random number RN from the first message is reused as the AS ID for the first device corresponding to RI10 and RI16.

[0173] This application embodiment can generate at least two second messages based on the correspondence between the second message and the resource. This reduces the number of fields corresponding to the resource in the second message, simplifies the format of the second message, and allows the fields corresponding to the resource (time domain and / or frequency domain) to indicate the relevant information of the access layer index of the first device corresponding to the resource. This enables the first device to read whether the access layer index is newly allocated or reused random number based on the values ​​of the fields corresponding to the time domain and / or frequency domain resources and related fields after receiving the second message. By optimizing the format of the second message (setting the fields corresponding to the resource), the information that the second message can indicate (the information indicated by the fields) can be more comprehensive.

[0174] Figure 11 illustrates a flowchart of another data transmission method provided in an embodiment of this application. As shown in Figure 11, the method includes at least the following steps:

[0175] S1101: The second device sends a trigger message to at least one first device.

[0176] Specifically, the trigger message is used to trigger one or more time-domain and / or frequency-domain resources. That is, the trigger message can trigger a set of first messages (message1, Msg1) for random access to resources. After receiving the trigger message, the first device can select time-domain and / or frequency-domain resources based on the slot aloha algorithm to send the first message.

[0177] S1102: At least one first device sends a first message to a second device.

[0178] Specifically, S1102 is the same as S401, and will not be repeated here.

[0179] S1103: The second device sends a second message to at least one first device, the second message including a field corresponding to the resource of the first message.

[0180] Specifically, S1103 is the same as S402, and will not be repeated here.

[0181] In this embodiment, the trigger message sent by the second device to the first device can trigger multiple random access resources in the time domain and / or frequency domain. After receiving the trigger message, the first device can select resources and send a first message based on relevant algorithms. Then, the second device can set fields corresponding to the resources in the first message in the second message to indicate relevant information sent to the first device. Specifically, this includes indicating whether there is a response for the first device corresponding to the resource, and / or indicating relevant information about the access layer index of the first device corresponding to the resource. This allows the first device, upon receiving the second message, to read relevant information about itself based on the values ​​of the fields corresponding to the time domain and / or frequency domain resources and related fields. This information can be used to indicate whether there is a response for the first device corresponding to the resource, and also to indicate relevant information about the access layer index of the first device corresponding to the resource. In other words, by optimizing the format of the second message (setting fields corresponding to the resources), the information that the second message can indicate (the information indicated by the fields) can be more comprehensive.

[0182] Figure 12 illustrates a flowchart of another data transmission method provided in an embodiment of this application. As shown in Figure 12, the method includes at least the following steps:

[0183] S1201: The second device sends a trigger message to at least one first device.

[0184] Specifically, S1201 is the same as S1101, and will not be repeated here.

[0185] S1202: At least one first device sends a first message to a second device.

[0186] Specifically, S1202 is the same as S1102, and will not be repeated here.

[0187] S1203: The second device sends a second message to at least one first device, the second message including a field corresponding to the resource of the first message.

[0188] Specifically, S1203 is the same as S1103, and will not be repeated here.

[0189] Specifically, after receiving the second message and reading the data related to itself, the first device can determine whether the random number related to itself carried in the second message is the same as the random number carried in the first message it sent. If they are the same, then the following step S1204 is executed.

[0190] Specifically, after receiving the second message, the first device can skip data that is irrelevant to itself and read the data at the corresponding position according to the following formula.

[0191] The number of data bits to be skipped = the number of resources in the RI whose preceding field indicates the number of resources requiring a new time ID × (RN length + AS ID length) + (number of RNs reused as AS IDs + number of resources not assigned AS IDs) × RN length. Data can be read starting from the next bit of the data calculated using the above formula, thus reading data related to the first device itself.

[0192] For example, if the length of the RN is 16 bits, the length of the AS ID is also 16 bits.

[0193] When the value of the field is 00, it indicates that there is no response for the resource.

[0194] When the value of the field is 10, it indicates that there is a response for the resource and no AS ID is assigned.

[0195] When the value of the field is 11, it indicates that there is a response for the resource, and the random number RN in the first message is reused as the AS ID.

[0196] When the value of the field is 01, it indicates that there is a response for the resource and a new AS ID is assigned.

[0197] Therefore, the data read by the first device at the corresponding position is, based on the second message, skipping data that is irrelevant to itself, that is, the number of resources in the RI corresponding to itself, (the number of those marked 10 + the number of those marked 11) × 16 + the number of those marked 01 × 32.

[0198] S1204: At least one first device sends a third message to a second device.

[0199] Specifically, the third message includes the device index of the first device itself. After receiving the device index of the first device, the second device completes the inventory of the first device.

[0200] In this embodiment of the application, the first device determines whether to send its device index to the second device by comparing whether the random number related to itself in the second message is the same as the random number it carried in the first message, so that the second device can complete the inventory of the first device.

[0201] Figure 13 illustrates a specific data transmission process. As shown in Figure 13, a second device can send a paging message to at least one first device. The paging message may include relevant information about the AIoT device requiring a response (such as device identification). Then, the second device sends a trigger message to at least one first device to trigger a set of random access resources for a first message (in a specific implementation, a trigger message can trigger multiple time-domain resources or multiple frequency-domain resources). The figure exemplifies a trigger message triggering 3 time-domain × 4 frequency-domain resources, i.e., 12 random access resources (RI1-RI12). Multiple first devices select RI1-RI9 based on the slot aloha algorithm and send first messages to the second device through RI1-RI9 respectively. The first message may carry a random number RN generated by the first device. After receiving the first messages from each first device, the second device can generate a second message and send it to each first device. The second message includes a field corresponding to the resource in the first message. This field indicates whether there is a response from the first device corresponding to the resource, and / or indicates information related to the access layer index of the first device corresponding to the resource. After receiving the second message, each first device can read data related to itself from the second message and determine whether the random number related to itself carried in the second message is the same as the random number carried in its first message. If they are the same, a third message is sent to the second device. It can be known that the second device can send multiple trigger messages, and each trigger message can trigger a set of random access resources of the first message.

[0202] Figure 14 illustrates a schematic diagram of a data transmission device provided in an embodiment of this application. This data transmission device can be applied to the second device mentioned in the foregoing embodiments. As shown in Figure 14, the data transmission device 140 includes: a first receiving module 1410 and a first transmitting module 1420. Wherein:

[0203] The first receiving module 1410 is used to receive a first message sent by at least one first device.

[0204] The first sending module 1420 is configured to send a second message to at least one first device. The second message includes a field corresponding to a resource of the first message, the field indicating whether there is a reply to the first device corresponding to the resource, and / or, the field indicating relevant information of the access layer index of the first device corresponding to the resource; the resource is in the time domain and / or frequency domain.

[0205] In some possible embodiments, the above field is used to indicate whether there is a response to the first device corresponding to the resource. Specifically, the field corresponding to the resource indicates whether there is a field corresponding to the resource. If there is a field corresponding to the resource, it indicates that there is a response to the at least one first device corresponding to the resource. If there is no field corresponding to the resource, it indicates that there is no response to the at least one first device corresponding to the resource. The field is used to indicate the random number and / or access layer index sent to the first device corresponding to the resource. And / or, the field is used to indicate whether the at least one first device corresponding to the resource replies to or does not reply to the third message. The third message carries the device index of the first device.

[0206] In some possible embodiments, the first message carries a random number generated by the first device; the information related to the access layer index includes any of the following: a new access layer index is allocated, no access layer index is allocated, or the random number in the first message is reused as the access layer index.

[0207] In some possible embodiments, the newly allocated access stratum index includes setting a preset bit associated with the first device corresponding to the resource as the access stratum index. For example, but not limited to, setting a preset bit adjacent to the random number of the first device corresponding to the resource carried in the second message as the access stratum index.

[0208] In some possible embodiments, there is a preset correspondence between the second message and the resource; the first sending module 1420 is specifically used to send at least two second messages to at least one of the first devices.

[0209] In some possible embodiments, the preset correspondence is that different second messages correspond to different time domains.

[0210] In some possible embodiments, the preset correspondence is that different second messages correspond to different frequency domains.

[0211] In some possible embodiments, the second message may further include a grouping field that indicates the resource group to which the second message corresponds.

[0212] In some possible embodiments, the second message includes first information and second information. The first information is used to indicate whether there is a response for the first device corresponding to the resource. The second information is determined by the first information and is used to indicate the allocation of access layer index related information for the first device corresponding to the resource if there is a response for the first device corresponding to the resource.

[0213] In some possible embodiments, the first information is a bitmap.

[0214] In some possible embodiments, the first information is a resource index.

[0215] In some possible embodiments, the above field is used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or reuse of the random number in the first message as the access layer index.

[0216] In some possible embodiments, the above field is used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or no access layer index allocated.

[0217] In some possible embodiments, the first sending module 1420 is further configured to: send a trigger message to at least one first device, the trigger message being used to trigger the first device to select resources to send the first message.

[0218] In some possible embodiments, the first message carries a random number generated by the first device; the first receiving module 1410 is further configured to: receive a third message sent by the first device if the random number carried in the second message is the same as the random number generated by the first device carried in the first message, wherein the third message carries the device index of the first device.

[0219] Figure 15 illustrates a schematic diagram of another data transmission device provided in an embodiment of this application. This data transmission device can be applied to the first device mentioned in the foregoing embodiments. As shown in Figure 15, the data transmission device 150 includes: a second transmitting module 1510 and a second receiving module 1520. Wherein:

[0220] The second sending module 1510 is used to send the first message to the second device.

[0221] The second receiving module 1520 is used to receive a second message sent by the second device. The second message includes a field corresponding to a resource in the first message. The field is used to indicate whether there is a reply from the first device corresponding to the resource, and / or, the field is used to indicate relevant information about the access layer index of the first device corresponding to the resource. The resource is in the time domain and / or frequency domain.

[0222] In some possible embodiments, the above field is used to indicate whether there is a response to the first device corresponding to the resource. Specifically, the field corresponding to the resource indicates whether there is a field corresponding to the resource. If there is a field corresponding to the resource, it indicates that there is a response to the at least one first device corresponding to the resource. If there is no field corresponding to the resource, it indicates that there is no response to the at least one first device corresponding to the resource. The field is used to indicate the random number and / or access layer index sent to the first device corresponding to the resource. And / or, the field is used to indicate whether the at least one first device corresponding to the resource replies to or does not reply to the third message. The third message carries the device index of the first device.

[0223] In some possible embodiments, the first message carries a random number generated by the first device; the information related to the access layer index includes any of the following: a new access layer index is allocated, no access layer index is allocated, or the random number in the first message is reused as the access layer index.

[0224] In some possible embodiments, the newly allocated access stratum index includes setting a preset bit associated with the first device corresponding to the resource as the access stratum index. For example, but not limited to, setting a preset bit adjacent to the random number of the first device corresponding to the resource carried in the second message as the access stratum index.

[0225] In some possible embodiments, there is a preset correspondence between the second message and the resource; the second receiving module 1520 is specifically used to receive at least two second messages sent by the second device.

[0226] In some possible embodiments, the preset correspondence is that different second messages correspond to different time domains.

[0227] In some possible embodiments, the preset correspondence is that different second messages correspond to different frequency domains.

[0228] In some possible embodiments, the second message may further include a grouping field that indicates the resource group to which the second message corresponds.

[0229] In some possible embodiments, the second message includes first information and second information. The first information is used to indicate whether there is a response for the first device corresponding to the resource. The second information is determined by the first information and is used to indicate the allocation of access layer index related information for the first device corresponding to the resource if there is a response for the first device corresponding to the resource.

[0230] In some possible embodiments, the first information is a bitmap.

[0231] In some possible embodiments, the first information is a resource index.

[0232] In some possible embodiments, the above field is used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or reuse of the random number in the first message as the access layer index.

[0233] In some possible embodiments, the above field is used to indicate information related to the access layer index of the first device corresponding to the resource. The information related to the access layer index includes any one of the following: newly allocated access layer index, or no access layer index allocated.

[0234] In some possible embodiments, the second sending module 1510 is further configured to: send a trigger message to at least one first device, the trigger message being used to trigger the first device to select resources to send the first message.

[0235] In some possible embodiments, the first message carries a random number generated by the first device; the second receiving module 1520 is further configured to: receive a third message sent by the first device if the random number carried in the second message is the same as the random number generated by the first device carried in the first message, wherein the third message carries the device index of the first device.

[0236] Figure 16 illustrates a schematic diagram of a data transmission system provided in an embodiment of this application. As shown in Figure 16, the data transmission system 160 includes: at least one first device 1610 and a second device 1620. Wherein:

[0237] At least one first device 1610 is used to send a first message to a second device 1620.

[0238] The second device 1620 is configured to send a second message to at least one first device 1610. The second message includes a field corresponding to a resource of the first message, the field indicating whether there is a response to the first device corresponding to the resource, and / or, the field indicating relevant information about the access layer index of the first device corresponding to the resource; the resource is in the time domain and / or frequency domain.

[0239] Figure 17 is a schematic diagram of the structure of an electronic device provided in an embodiment of this application.

[0240] For example, as shown in FIG17, the electronic device 170 includes: a memory 1701 for storing executable program code; and a processor 1702 for calling and running the executable program code from the memory 1701, so that the electronic device performs the data transmission method in the above method embodiment.

[0241] The processor may include one or more processing units. For example, the processor may include at least one of the following processing units: an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, or a neural network processing unit (NPU). These different processing units may be independent devices or integrated devices. The controller can generate operation control signals based on instruction opcodes and timing signals to control the reading and execution of instructions.

[0242] The processor may also include memory for storing instructions and data. In some embodiments, the memory in the processor is a cache memory. This memory can store instructions or data that the processor has just used or that are used repeatedly. If the processor needs to use the instruction or data again, it can retrieve it directly from the memory. This avoids repeated accesses, reduces processor waiting time, and thus improves system operating efficiency.

[0243] In some embodiments, the processor may include one or more interfaces. For example, the processor may include at least one of the following interfaces: an Inter-integrated Circuit (I2C) interface, an Inter-integrated Circuit Sound (I2S) interface, a Pulse Code Modulation (PCM) interface, a Universal Asynchronous Receiver / Transmitter (UART) interface, a Mobile Industry Processor Interface (MIPI) interface, a General-Purpose Input / Output (GPIO) interface, a SIM interface, and a USB interface.

[0244] It should be noted that, in the description of the embodiments of this application, unless otherwise stated, " / " means "or," for example, A / B can mean A or B; the "and / or" in this document is merely a description of the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A existing alone, A and B existing simultaneously, and B existing alone. Furthermore, in the description of the embodiments of this application, "multiple" refers to two or more than two.

[0245] It should be understood that the methods, situations, categories, and classifications of embodiments in this application are for the convenience of description only and should not constitute a special limitation. Various methods, categories, situations, and features in embodiments can be combined with each other without contradiction.

[0246] It should also be understood that, in the description of this embodiment, unless otherwise stated, "multiple" means two or more. In the various embodiments of this application, the sequence number of each process does not imply the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of this application.

[0247] It should also be noted that in the embodiments of this application, "preset", "fixed value", etc. can be implemented by pre-saving the corresponding code, table or other means that can be used to indicate relevant information in the electronic device. This application does not limit the specific implementation method.

[0248] It is understood that, in order to achieve the above-mentioned functions, electronic devices include hardware and / or software modules that perform the respective functions. Based on the algorithmic steps of the examples described in the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed by hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application in conjunction with the embodiments, but such implementation should not be considered beyond the scope of this application.

[0249] This embodiment can divide the electronic device into functional modules according to the above method example. For example, each function can be divided into its own functional modules, or two or more functions can be integrated into one processing module. The integrated modules can be implemented in hardware. It should be noted that the module division in this embodiment is illustrative and only represents one logical functional division. In actual implementation, there may be other division methods.

[0250] It should be noted that all relevant content of each step involved in the above method embodiments can be referenced from the functional description of the corresponding functional module, and will not be repeated here.

[0251] The electronic device provided in this embodiment is used to execute the above-described data transmission method, and therefore can achieve the same effect as the above-described implementation method.

[0252] When using integrated units, the electronic device may include a processing module, a storage module, and a communication module. The processing module is used to control and manage the operation of the electronic device. The storage module supports the execution of stored program code and data. The communication module supports communication between the electronic device and other devices.

[0253] The processing module can be a processor or a controller. It can implement or execute various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor can also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of Digital Signal Processing (DSP) and a microprocessor, etc. The storage module can be a memory. The communication module can specifically be a radio frequency circuit, a Bluetooth chip, a Wi-Fi chip, or other devices that interact with other electronic devices.

[0254] This embodiment also provides a computer-readable storage medium storing computer instructions. When the computer instructions are executed on an electronic device, the electronic device performs the aforementioned method steps to implement the data transmission method in the above embodiment.

[0255] This embodiment also provides a computer program product that, when run on a computer, causes the computer to perform the aforementioned steps to implement the data transmission method described in the above embodiment.

[0256] In addition, embodiments of this application also provide an apparatus, which may specifically be a chip, component, or module. The apparatus may include a connected processor and a memory. The memory is used to store computer execution instructions. When the apparatus is running, the processor can execute the computer execution instructions stored in the memory to cause the chip to execute the data transmission methods in the above-described method embodiments.

[0257] In this embodiment, the electronic device, computer-readable storage medium, computer program product or chip are all used to execute the corresponding methods provided above. Therefore, the beneficial effects that can be achieved can be referred to the beneficial effects of the corresponding methods provided above, and will not be repeated here.

[0258] Through the above description of the embodiments, those skilled in the art will understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0259] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0260] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0261] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0262] 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 readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks.

[0263] The above description is merely a specific embodiment of this application, but the specific embodiments of this application are not limited thereto. The scope of protection of this application shall be determined by the scope of protection of the claims. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the claims of this application shall be included within the scope of protection of this application.

Claims

1. A data transmission method, characterized by, The method comprises: receiving a first message sent by at least one first device; sending a second message to the at least one first device, the second message comprising a field corresponding to a resource of the first message, the field being used to indicate whether there is a reply to the first device corresponding to the resource, and / or the field being used to indicate related information of an access layer index of the first device corresponding to the resource; the resource being a time domain and / or a frequency domain.

2. The method of claim 1, wherein, The field is used to indicate whether there is a reply to the first device corresponding to the resource, specifically: The field corresponding to the resource indicates whether there is a field corresponding to the resource, if there is a field corresponding to the resource, it indicates that there is a reply to the at least one first device corresponding to the resource; if there is no field corresponding to the resource, it indicates that there is no reply to the at least one first device corresponding to the resource, the field being used to indicate a random number sent to the first device corresponding to the resource and / or the access layer index; And / or The field is used to indicate that the at least one first device corresponding to the resource replies or does not reply to a third message carrying a device index of the first device.

3. The method according to claim 1 or 2, characterized in that, The first message carries a random number generated by the first device; the related information of the access layer index includes any one of the following: newly allocating the access layer index, not allocating the access layer index, and multiplexing the random number in the first message as the access layer index.

4. The method of claim 3, wherein, The newly allocated access layer index includes setting a preset bit related to the first device corresponding to the resource as the access layer index.

5. The method of claim 1, wherein, The second message has a preset corresponding relationship with the resource. The sending of the second message to the at least one first device comprises sending at least two second messages to the at least one first device.

6. The method of claim 5, wherein, The preset corresponding relationship is that different second messages correspond to different time domains.

7. The method of claim 5, wherein, The preset corresponding relationship is that different second messages correspond to different frequency domains.

8. The method of claim 5, wherein, The second message further comprises a grouping field, the grouping field being used to indicate a resource group corresponding to the second message.

9. The method according to any one of claims 1 to 8, characterized in that, The second message comprises first information and second information, the first information being used to indicate whether there is a reply to the first device corresponding to the resource, the second information being determined by the first information and being used to indicate related information of allocating an access layer index for the first device corresponding to the resource in the case of having a reply to the first device corresponding to the resource.

10. The method of claim 9, wherein, The first information is a bitmap.

11. The method of claim 9, wherein, The first information is a resource index.

12. The method of claim 1 or 9, wherein, The field is used to indicate related information of an access layer index of the first device corresponding to the resource, the related information of the access layer index including any one of the following: newly allocating the access layer index, and multiplexing a random number in the first message as the access layer index.

13. The method of claim 1 or 9, wherein, The field is used to indicate related information of an access layer index of the first device corresponding to a resource, the related information of the access layer index including any one of the following: newly allocating an access layer index, and not allocating an access layer index.

14. The method according to any one of claims 1 to 13, characterized in that, Before the receiving of the first message sent by the at least one first device, the method further comprises: sending a trigger message to the at least one first device, the trigger message being used to trigger the at least one first device to select a resource to send the first message.

15. The method according to any one of claims 1 to 14, characterized in that, the first message carrying a random number generated by the first device; after the sending of the second message to the at least one first device, the method further comprises: in a case where the random number carried by the second message is the same as the random number generated by the first device and carried by the first message, receiving a third message sent by the first device, the third message carrying a device index of the first device.

16. A data transmission method, characterized by, the method is applied to a first device, and the method comprises: sending a first message to a second device; receiving a second message sent by the second device, the second message including a field corresponding to a resource of the first message, the field being used to indicate whether there is a reply to the first device corresponding to the resource, and / or the field being used to indicate related information of an access layer index of the first device corresponding to the resource; the resource being a time domain and / or a frequency domain.

17. The method of claim 16, wherein, the field being used to indicate whether there is a reply to the first device corresponding to the resource specifically comprises: the field corresponding to the resource indicates whether there is a field corresponding to the resource, if there is a field corresponding to the resource, it indicates that there is a reply to the at least one first device corresponding to the resource; if there is no field corresponding to the resource, it indicates that there is no reply to the at least one first device corresponding to the resource, the field being used to indicate a random number sent to the first device corresponding to the resource and / or the access layer index; and / or the field being used to indicate that the at least one first device corresponding to the resource replies or does not reply to a third message, the third message carrying a device index of the first device.

18. The method according to claim 16 or 17, characterized in that, the first message carrying a random number generated by the first device; the related information of the access layer index includes any one of the following: newly allocating the access layer index, not allocating the access layer index, multiplexing the random number in the first message as the access layer index.

19. The method of claim 18, wherein, the newly allocating the access layer index includes setting a preset bit related to the first device corresponding to the resource as the access layer index.

20. The method of claim 16, wherein, the second message has a preset correspondence relationship with a resource; the receiving of the second message sent by the second device includes: receiving at least two second messages sent by the second device.

21. The method of claim 20, wherein, the preset correspondence relationship is that different second messages correspond to different time domains.

22. The method of claim 20, wherein, the preset correspondence relationship is that different second messages correspond to different frequency domains.

23. The method of claim 20, wherein, the second message further includes a grouping field, the grouping field being used to indicate a resource group corresponding to the second message.

24. The method according to any one of claims 16 to 23, characterized in that, the second message includes first information and second information, the first information being used to indicate whether there is a reply to the first device corresponding to the resource, the second information being determined through the first information and being used to indicate related information of an access layer index allocated for the first device corresponding to the resource in a case where there is a reply to the first device corresponding to the resource.

25. The method of claim 24, wherein, the first information is a bitmap.

26. The method of claim 24, wherein, the first information is a resource index.

27. The method of claim 16 or 24, wherein, The domain is used to indicate the access layer index related information of the first device corresponding to the resource, and the access layer index related information includes any one of the following: newly assigning the access layer index, multiplexing a random number in the first message as the access layer index.

28. The method of claim 16 or 24, wherein, The domain is used to indicate the access layer index related information of the first device corresponding to the resource, and the access layer index related information includes any one of the following: newly assigning the access layer index, not assigning the access layer index.

29. The method of any one of claims 16 to 28, wherein, Before the first message is sent to the second device, the method further includes: Receiving a trigger message sent by the second device, the trigger message being used to trigger the at least one first device to select a resource to send the first message.

30. The method of any one of claims 16 to 28, wherein, The first message carries a random number generated by the first device; After the second message sent by the second device is received, the method further includes: In a case where the random number carried by the second message is the same as the random number generated by the first device carried by the first message, sending a third message to the second device, the third message carrying a device index of the first device.

31. A data transmission device, characterized by Comprise: A first receiving module is used to receive a first message sent by at least one first device; A first sending module is used to send a second message to the at least one first device, the second message including a domain corresponding to a resource of the first message, the domain being used to indicate whether there is a reply to the first device corresponding to the resource, and / or the domain being used to indicate access layer index related information of the first device corresponding to the resource; the resource is a time domain and / or a frequency domain.

32. A data transmission device, characterized by The device is applied to a first device, and the device comprises: A second sending module is used to send a first message to a second device; A second receiving module is used to receive a second message sent by the second device, the second message including a domain corresponding to a resource of the first message, the domain being used to indicate whether there is a reply to the first device corresponding to the resource, and / or the domain being used to indicate access layer index related information of the first device corresponding to the resource; the resource is a time domain and / or a frequency domain.

33. A data transmission system, characterized by Comprise at least one first device and a second device; The at least one first device is used to send a first message to the second device; The second device is used to send a second message to the at least one first device, the second message including a domain corresponding to a resource of the first message, the domain being used to indicate whether there is a reply to the first device corresponding to the resource, and / or the domain being used to indicate access layer index related information of the first device corresponding to the resource; the resource is a time domain and / or a frequency domain.

34. An electronic device, comprising: Comprise: A processor and a memory; the memory stores a computer program, and the processor implements the data transmission method in any one of claims 1 to 15 or any one of claims 16 to 30 when executing the computer program.

35. A computer readable storage medium, characterized in that, The computer readable storage medium stores a computer program, when the computer program is executed by an electronic device, causes the electronic device to perform the data transmission method in any one of claims 1 to 15 or any one of claims 16 to 30.