Communication method and apparatus

WO2026175150A1PCT designated stage Publication Date: 2026-08-27HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/076569
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-02-19
Filing Date
2026-02-02
Publication Date
2026-08-27

Smart Images

  • Figure CN2026076569_27082026_PF_FP_ABST
    Figure CN2026076569_27082026_PF_FP_ABST
Patent Text Reader

Abstract

The present application relates to the technical field of communications, and provides a communication method and apparatus. After a first device fails in random access, the first device determines, on the basis of first information, whether a random access resource to be accessed when random access is re-performed is a first resource used for random access for a plurality of services or a second resource dedicated to random access for a first service. On this basis, the first device can clearly determine which random access resource to select for re-access, thereby improving data processing efficiency. In addition, in the present application, different first devices are distributed across different random access resources for access, thereby reducing the access collision rate and improving the access success rate.
Need to check novelty before this filing date? Find Prior Art

Description

A communication method and apparatus

[0001] Cross-reference to related applications

[0002] This application claims priority to Chinese Patent Application No. 202510185649.3, filed on February 19, 2025, entitled "A Communication Method and Apparatus", the entire contents of which are incorporated herein by reference. Technical Field

[0003] This application relates to the field of communication technology, and in particular to a communication method and apparatus. Background Technology

[0004] With the development of communication technology, the 3rd Generation Partnership Project (3GPP) defined the Ambient Internet of Things (A-IoT) network. In an A-IoT network, network devices are configured with random access resources for different services and random access resources dedicated to a specific service. When multiple terminals fail to access the network initially, resource conflicts may occur if they select the same random access resource to re-attempt access. How terminals should select the appropriate random access resource is a problem that urgently needs to be solved. Summary of the Invention

[0005] This application provides a communication method and apparatus for determining how to select random access resources for re-access after a terminal fails to access the network randomly.

[0006] Firstly, this application provides a communication method that can be applied to a first device. For example, the executing entity may be the first device, a component within the first device (e.g., a communication module, processor, circuit, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the first device. For example, the first device may be a terminal device or an Internet of Things (IoT) device. Furthermore, the first device may also be referred to as a tag; this application does not limit the specific form of the first device. The execution is as follows:

[0007] After determining that random access has failed, the first device re-executes the random access resource when performing the first service, based on the first information. The first information indicates whether the random access resource is a resource in the first resource or a resource in the second resource. The first resource is a resource used for random access to multiple services, and the second resource is a resource dedicated to random access to the first service, which includes the first service. Subsequently, the first device performs random access on the random access resource.

[0008] The first resource can be understood as a public random access resource. Specifically, the first resource can be used for random access to multiple services, such as downlink inventory services and uplink device-originated autonomous (DOA) services. The first resource may include frequency domain resources and time domain resources. Optionally, the first resource may also include spatial domain resources, etc. This is only an illustrative example and not a specific limitation.

[0009] The second resource can be understood as a dedicated random access resource used for random access to the first service. For example, different paging messages can indicate different second resources; for instance, paging message 1 indicates the random access resource for service 1, and paging message 2 indicates the random access resource for service 2, where both service 1 and service 2 can be understood as the first service. The second resource may include frequency domain resources and time domain resources. Optionally, the second resource may also include spatial domain resources, etc. This is merely an illustrative example and not a specific limitation.

[0010] In this application, after a first device fails to access the network randomly, the first device determines, based on first information, whether the random access resource to be accessed when re-performing random access is a first resource used for random access to multiple services, or a second resource dedicated to random access to the first service. Based on this, the first device can clearly select which random access resource to access the network again, improving data processing efficiency. Furthermore, in this application, different first devices are distributed across different random access resources for access, reducing the access collision rate and increasing the access success rate.

[0011] In one possible implementation, the first resource is indicated by one of the following: a system information block or a paging message.

[0012] When the first resource is indicated via a system information block (where the system information block is a broadcast message), paging message overhead can be reduced and paging coverage improved. When the first resource is indicated via a paging message, the first device does not need to monitor system messages in advance to obtain public random access resources, thereby reducing the power consumption and complexity of the first device.

[0013] In one possible implementation, the second resource is indicated via a paging message.

[0014] By using paging messages to indicate the second resource, the first device can be configured with the second resource only when it needs to perform the first service, thus improving resource efficiency.

[0015] In one possible implementation, the first information includes one of the following: the group identifier in the paging message, and the energy threshold corresponding to the first device.

[0016] In this application, when the first information includes a group identifier from the paging message, the first device can further determine the resource to re-execute random access based on whether its own group identifier corresponds to the group identifier in the paging message. When the first information includes an energy threshold corresponding to the first device, the first device can further determine the resource to re-execute random access based on the relationship between its own energy and the energy threshold. The first device can clearly select which random access resource to re-access based on the first information, which can improve data processing efficiency. Furthermore, in this application, different first devices are distributed to different random access resources for re-access, reducing the access collision rate and improving the access success rate.

[0017] In one possible implementation, the first information includes a group identifier, and the first device belongs to the devices contained in the group identifier.

[0018] In this application, when the first device belongs to a group identifier included in the paging message, the first device can further determine which random access resource to select for re-access based on the random access resource corresponding to the group identifier or the random access resource associated with the group identifier, thereby improving data processing efficiency. Furthermore, in this application, different first devices are distributed to different random access resources for re-access, reducing the access collision rate and improving the access success rate.

[0019] In one possible implementation, the first information includes an energy threshold, where the energy of the first device is below the energy threshold.

[0020] The energy of the first device is associated with one or more of the following: the data transmission time currently supported by the first device, or the data transmission volume currently supported by the first device. When the energy of the first device is related to the data transmission time and data transmission volume, the current data transmission capacity of the first device can be clearly determined, so as to select a random access resource that is more suitable for the transmission needs of the first device.

[0021] In this application, when the energy of the first device is lower than an energy threshold, the first device can further determine which random access resource to select for re-access based on the random access resource corresponding to the energy threshold or the random access resource associated with the energy threshold, thereby improving data processing efficiency. Furthermore, in this application, different first devices are distributed to different random access resources for re-access, reducing the access collision rate and improving the access success rate.

[0022] In one possible implementation, the random access resource is the random access resource between the first resource and the second resource that is closest to the third resource; or, the random access resource is one of the random access resources between the first resource and the second resource whose distance to the third resource is less than a distance threshold. The third resource is the random access resource used when the first device fails to access the third resource.

[0023] Among them, the first resource and the second resource can be understood as the resource obtained by superimposing the first resource and the second resource in the time domain and frequency domain.

[0024] In this application, the random access resource for the first device to re-perform random access is the resource that is closest to the third resource among the first and second resources, facilitating the first device to quickly perform another random access. Alternatively, the random access resource for the first device to re-perform random access is the random access resource among the first and second resources that is less than the distance threshold from the third resource, allowing the first device to flexibly select a random access resource to perform another random access. Furthermore, by not being limited to selecting the closest random access resource but randomly selecting a random access resource within the distance threshold to perform another random access, the access collision rate can be reduced and the access success rate improved.

[0025] In one possible implementation, among the first resource and the second resource, there are N random access resources whose distance to the third resource is less than a distance threshold. The first information includes N values, where the Xth value is less than the (X+1)th value, and the energy threshold is the Xth value. N is a positive integer, and X is a positive integer less than or equal to N.

[0026] Among them, the random access resource is the Xth random access resource that is closest to the third resource among the random access resources that are less than the distance threshold between the first resource and the second resource.

[0027] In this application, the energy threshold corresponding to the first device may include multiple levels. When the energy of the first device is less than the energy threshold of different corresponding levels, specific random access resources are accessed. Based on this, the current data transmission capacity of the first device can be adapted to select random access resources that are more suitable for the current energy of the first device.

[0028] In one possible implementation, the first information is included in the paging message, and the first information is one or more of the following: service priority information, random access resource information corresponding to different services.

[0029] In this application, the first information can be included in the paging message. When the first information is service priority information, different service priorities correspond to different random access resources. Based on this, the first device can determine how to select random access resources to perform re-random access. When the first information is random access resource information corresponding to different services, since the paging message includes specific service information, the first device can determine how to select random access resources to perform re-random access based on the random access resource information corresponding to the first service. Based on this, the efficiency of the first device performing re-random access can be improved.

[0030] In one possible implementation, the first information is contained in the paging message or system information block, and the first information is one or more of the following: the service type corresponding to different random access resources, and the access timing corresponding to different random access resources.

[0031] In this application, the first information may be included in a paging message or a system information block. When the first information represents the service type corresponding to different random access resources, the first device can explicitly select which random access resources to perform the re-random access when determining to perform the first service. When the first information represents the access timing corresponding to different random access resources, the first device can explicitly select which random access resources to perform the re-random access based on the re-random access time. Based on this, the efficiency of the first device performing re-random access can be improved. Furthermore, based on the explicit indication of the first information, different first devices can be distributed to different random access resources for re-access, reducing the access collision rate and improving the access success rate.

[0032] Secondly, this application provides a communication method that can be applied to a second device. For example, the executing entity may be the second device, a component within the second device (e.g., a communication module, processor, circuit, chip, or chip system), or a logic module or software capable of implementing all or part of the functions of the second device. For example, the second device may be a network device, a terminal device, or other device. Furthermore, the second device may also be referred to as a reader / writer; this application does not limit the specific form of the second device. The execution is as follows:

[0033] First information is determined, which instructs the first device to re-execute random access using random access resources after a failed random access attempt. The second device then sends the first information. This first information is included in the paging message and may be one or more of the following: service priority information, and random access resource information corresponding to different services.

[0034] Alternatively, the first information may be contained in the paging message or system information block, and the first information may be one or more of the following: the service type corresponding to different random access resources, and the access timing corresponding to different random access resources.

[0035] In this application, the second device sends first information about random access resources to the first device, instructing the first device to re-execute random access after a failed random access attempt. This allows the first device to clearly select which random access resource to re-access, improving data processing efficiency. Furthermore, in this application, different first devices are assigned to different random access resources for re-access, reducing the access collision rate and increasing the access success rate.

[0036] Thirdly, embodiments of this application provide a communication device, which can be a first device or a second device. The communication device has the functions described in the first and second aspects above. For example, the communication device includes modules, units, or means that perform the steps involved in the first and second aspects above. These functions, units, or means can be implemented by software, hardware, or hardware executing corresponding software.

[0037] In one possible design, the communication device includes a processing unit and a transceiver unit. The transceiver unit can be used to send and receive signals to enable communication between the communication device and other devices. The processing unit can be used to perform some internal operations of the communication device. The transceiver unit can be called an input / output unit, a communication unit, etc., and can be a transceiver; the processing unit can be a processor. When the communication device is a module (e.g., a chip) in a communication device, the transceiver unit can be an input / output interface, input / output circuit, or input / output pins, etc., and can also be called an interface, communication interface, or interface circuit, etc.; the processing unit can be a processor, processing circuit, or logic circuit, etc.

[0038] In another possible design, the communication device includes a processor and may further include a transceiver for transmitting and receiving signals. The processor executes program instructions to perform the methods in any of the possible designs or implementations of the first to second aspects described above. The communication device may also include one or more memories coupled to the processor, which may store necessary computer programs or instructions for implementing the functions involved in the first to second aspects described above. The processor can execute the computer programs or instructions stored in the memory, and when the computer programs or instructions are executed, the communication device implements the methods in any of the possible designs or implementations of the first to second aspects described above.

[0039] In another possible design, the communication device includes a processor that can be coupled to a memory. The memory can store necessary computer programs or instructions for implementing the functions described in the first to second aspects above. The processor can execute the computer programs or instructions stored in the memory, causing the communication device to implement the methods in any possible design or implementation of the first to second aspects above, when the computer programs or instructions are executed.

[0040] In another possible design, the communication device includes a processor and an interface circuit, wherein the processor is used to communicate with other devices through the interface circuit and to perform the methods in any possible design or implementation of the first to second aspects described above.

[0041] Understandably, in the third aspect described above, the processor can be implemented in hardware or software. When implemented in hardware, the processor can be a logic circuit, integrated circuit, etc.; when implemented in software, the processor can be a general-purpose processor that reads software code stored in memory. Furthermore, there can be one or more processors, and one or more memories. The memory can be integrated with the processor or separated from it. In specific implementations, the memory can be integrated with the processor on the same chip or disposed on different chips. This application does not limit the type of memory or the arrangement of the memory and processor.

[0042] Fourthly, embodiments of this application provide a communication system, which includes the first device and the second device described above.

[0043] Fifthly, this application provides a chip system including a processor and potentially a memory, for implementing the methods described in the first to second aspects above. The chip system may be composed of chips or may include chips and other discrete devices.

[0044] Sixthly, this application also provides a computer-readable storage medium, which may be a volatile storage medium or a non-volatile storage medium, wherein the computer-readable storage medium stores computer-readable instructions, which, when executed on a computer, cause the computer to perform the methods as described in the first to second aspects.

[0045] In a seventh aspect, this application provides a computer program product containing instructions that, when run on a computer, cause the computer to perform the methods of the embodiments of the first to second aspects described above. Attached Figure Description

[0046] Figure 1 is a schematic diagram of the backscattering system.

[0047] Figures 2 and 3 are schematic diagrams of the communication system applicable to the embodiments of this application;

[0048] Figure 4A is a flowchart of a random access method;

[0049] Figure 4B is a flowchart illustrating another random access method;

[0050] Figure 4C is a schematic diagram of a tag inventory process;

[0051] Figure 5A is a flowchart illustrating a communication method provided in an embodiment of this application;

[0052] Figure 5B is a flowchart illustrating a communication method provided in an embodiment of this application;

[0053] Figures 6 to 13 are schematic diagrams of a random access resource provided in an embodiment of this application;

[0054] Figure 14 is a schematic diagram of a communication device provided in an embodiment of this application;

[0055] Figure 15 is a schematic diagram of another structure of the communication device provided in an embodiment of this application. Detailed Implementation

[0056] In the embodiments of this application, the solutions in each embodiment can be used in a reasonable combination, and the explanations or descriptions of various terms, similar operations, or steps appearing in the embodiments can be referenced or explained to each other in the embodiments, without limitation.

[0057] In the embodiments of this application, "transmission" includes "sending" and / or "receiving." "Sending" and "receiving" indicate the direction of signal transmission. For example, "sending information to XX" can be understood as the destination of the information being XX, which can include direct transmission via the air interface or indirect transmission by other units or modules via the air interface. "Receiving information from YY" can be understood as the source of the information being YY, which can include direct reception from YY via the air interface or indirect reception from YY by other units or modules via the air interface. "Sending" can also be understood as the "output" of a chip interface, and "receiving" can also be understood as the "input" of a chip interface. In other words, sending and receiving can occur between devices, such as between access network devices and terminal devices, or within a device, such as between components, modules, chips, software modules, or hardware modules within the device via a bus, wiring, or interface.

[0058] In this application embodiment, the number of nouns, unless otherwise specified, refers to "singular nouns or plural nouns," that is, "one or more." "At least one" means one or more, and "more than one" means two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can mean: A exists alone, A and B exist simultaneously, or B exists alone, where A / B can be singular or plural. The character " / " generally indicates that the related objects before and after are in an "or" relationship. For example, A / B means: A or B. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, and / or c means the following combinations: a exists alone, b exists alone, c exists alone, a and b exist simultaneously, a and c exist simultaneously, b and c exist simultaneously, or a, b, and c exist simultaneously, where a, b, and c can be single or multiple.

[0059] In the embodiments of this application, "when," "if," and "if" all refer to the device taking corresponding actions under certain objective circumstances, and are not time-limited, nor do they require the device to perform a judgment action, nor do they imply any other limitations. Unless otherwise specified, "if" and "if" are interchangeable, and "when" and "in the case of" are interchangeable. "When" and "if" / "if" are interchangeable. "Associated" and "corresponding" are interchangeable.

[0060] In the embodiments of this application, the terms "exemplary" or "for example" are used to indicate that something is an example, illustration, or description. Any embodiment or design that is described as "exemplary" or "for example" in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the terms "exemplary" or "for example" is intended to present the relevant concepts in a specific manner.

[0061] In this application, the ordinal numbers such as "first" and "second" are used to distinguish multiple objects, and are not used to limit the size, content, order, timing, priority, or importance of the multiple objects. For example, the first parameter and the second parameter refer to two different parameters, and do not indicate a difference in priority or importance between the two parameters.

[0062] The technical solutions provided in the embodiments of this application can be applied to various communication systems, such as 3GPP-related cellular systems, such as Long Term Evolution (LTE) communication systems, 5th Generation (5G) mobile communication systems / New Radio (NR) communication systems, or future-oriented evolution systems, or other similar communication systems. Other similar communication systems include Wireless Fidelity (WiFi), Vehicle-to-Everything (V2X), Spark Link systems, Bluetooth systems, Near Field Communication (NFC) systems, and IoT systems, such as A-IoT and Narrow Band Internet of Things (NB-IoT). Alternatively, the solutions provided in the embodiments of this application can also be applied to communication systems that integrate two or more of the above systems. It should be understood that IoT technology is widely used in various industries; for example, IoT technology can be applied to scenarios such as logistics, warehousing, industrial manufacturing, identity recognition, or environmental monitoring.

[0063] The technical solution provided in this application is applicable to backscattering systems. A backscattering system generally consists of an exciter, a receiver, and a transmitter. Its communication link includes a downlink from the exciter to the reflector and an uplink from the reflector to the receiver. Figure 1 illustrates a backscattering system using a tag and a reader. The reader can send a carrier signal to the tag, which receives the carrier signal through an antenna. The solid line in Figure 1 represents the carrier signal sent by the reader, and the dashed line represents the reflected signal transmitted by the tag based on the carrier signal reflection. The tag can adjust the information to be transmitted in the reflected signal. Through this method, the tag uses a low-precision, low-power, mid-to-low frequency ring oscillator or a completely oscillator-free method to receive downlink signals, further reducing the power consumption of the tag's downlink reception. Optionally, the carrier can also be understood as an excitation signal, which can be sent by other devices besides the reader or devices integrated into the reader (e.g., external nodes).

[0064] For example, please refer to Figure 2, which illustrates a communication system to which this application embodiment applies. As shown in Figure 2, the communication system includes a network device and an A-IoT device. The A-IoT device can be a standalone device, or it can be integrated with a terminal device, i.e., the A-IoT device is part of the terminal device. In this communication system, the network device can communicate with the A-IoT device. It should be noted that Figure 1 uses the example of a network device communicating with the A-IoT device. In possible scenarios, the device communicating with the A-IoT device can be other than a network device, such as a terminal device.

[0065] For example, please refer to Figure 3, which shows a schematic diagram of another communication system applicable to embodiments of this application. As shown in Figure 3, the communication system includes a network device, an intermediate node, and an A-IoT device, wherein the intermediate node can forward information between the network device and the A-IoT device. Figure 2 uses a terminal device as an example of an intermediate node, that is, the terminal device acts as an intermediate node between the network device and the A-IoT device. The A-IoT device transmits information to the terminal device, and the terminal device forwards the information to the network device through the Uu interface; or, the network device transmits information to the terminal device, and the terminal device then forwards the information to the A-IoT device; or, based on resources pre-authorized or pre-configured by the network device, the terminal device conducts bidirectional communication with the A-IoT device through the A-IoT air interface.

[0066] Intermediate nodes can also be devices other than terminal devices, such as network devices. This network device can be located outdoors, while the terminal device and the A-IoT device can be located indoors. Essentially, the outdoor network device communicates with the indoor A-IoT device through an indoor intermediate node. Optionally, the intermediate node can be called an intermediate UE (User Equipment). For another example, an intermediate node can be an integrated access and backhaul (IAB) node. An IAB node can act as an intermediary between the network device and the A-IoT device. The A-IoT device transmits information to the IAB node, and the IAB node forwards this information to the network device via the Uu interface; alternatively, the network device transmits information to the IAB node, and the IAB node then forwards the information to the A-IoT device. Based on pre-authorized or pre-configured resources of the network device, the IAB node can also communicate bidirectionally with the A-IoT device via the A-IoT air interface. For yet another example, an intermediate node can be a relay node. Relay nodes can act as intermediary nodes between network devices and A-IoT devices. A-IoT devices transmit information to the relay node, and the relay node forwards this information to the network device via the Uu interface; alternatively, network devices transmit information to the relay node, and the relay node then forwards the information to the A-IoT device. Based on pre-authorized or pre-configured resources of the network device, relay nodes can also conduct bidirectional communication with A-IoT devices via the A-IoT air interface.

[0067] Optionally, the energy required for the A-IoT device to transmit information is provided by an excitation signal, which can come from an exciter. This exciter can be a network device, a terminal device, or a device other than a network device or a terminal device. In possible scenarios, the functions of the device communicating with the A-IoT device (e.g., a reader / writer) can be further separated. Functionally, the reader / writer can be divided into a receiver and an exciter, which can be deployed on different network devices. For example, the receiver is deployed on a first network device, and the exciter on a second network device. The first network device performs the reader / writer's receiving function. The second network device performs the reader / writer's transmitting function. The receiver is also called a receiving end or receiving unit, and the exciter is also called an excitation end or excitation unit.

[0068] In this embodiment, network equipment refers to radio access network ((R)AN) equipment / (R)AN nodes. In this embodiment, access network (AN) and RAN are interchangeable; for ease of description, RAN is used as an example below. RAN can be a 3GPP-related cellular system. RAN can also be an open radio access network (O-RAN or ORAN), a cloud radio access network (CRAN), a virtualized radio access network (vRAN), a non-terrestrial network (NTN), etc. RAN can also be a communication system that integrates two or more of the above systems. RAN equipment can also be called a RAN node, RAN entity, or access node, etc.

[0069] In one possible scenario, a RAN node can be a base station, an evolved NodeB (eNodeB), an access point (AP), a transmission reception point (TRP), a next-generation NodeB (gNB), or a base station in a future mobile communication system. RAN nodes can also be macro base stations, micro base stations, indoor stations, relay nodes, donor / host nodes, or radio controllers. RAN nodes can also be servers, wearable devices, vehicles, or in-vehicle equipment. For example, in V2X technology, the RAN node can be a roadside unit (RSU).

[0070] In another possible scenario, the RAN node can be a module or unit that performs some of the functions of the base station; or multiple RAN nodes can cooperate to assist terminal equipment in achieving wireless access, with different RAN nodes performing some of the functions of the base station. For example, the RAN node can be a central unit (CU), a distributed unit (DU), or a remote unit (RU). The function of the CU can be implemented by a single entity or by different entities. For example, the function of the CU can be further divided, that is, the control plane and the user plane can be separated and implemented by different entities, namely the control plane CU entity (i.e., CU-control plane (CP) entity) and the user plane CU entity (i.e., CU-user plane (UP) entity). The CU-CP entity and the CU-UP entity can be coupled with the DU to jointly complete the function of the RAN node. The CU and DU can be set up separately or included in the same network element, such as in the baseband unit (BBU). Any of the units among the CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented by software modules, hardware modules, or a combination of software modules and hardware modules.

[0071] The CU and DU can be configured according to the protocol layer functions of the wireless network they implement: for example, the CU can be configured to implement the functions of the Packet Data Convergence Protocol (PDCP) layer and above (such as the Radio Resource Control (RRC) layer and / or the Service Data Adaptation Protocol (SDAP) layer); the DU can be configured to implement the functions of protocol layers below the PDCP layer (such as the Radio Link Control (RLC) layer, the Media / Medium Access Control (MAC) layer, and / or the Physical (PHY) layer). For specific descriptions of the above protocol layers, please refer to the relevant 3GPP technical specifications or the technical specifications of other applicable communication protocols.

[0072] The above division of the processing functions of CU and DU according to protocol layers is merely an example; other division methods are also possible, and this application does not limit this. For example, in one design, CU or DU can be further divided into processing functions with protocol layers. In one design, some functions of the RLC layer and the functions of the protocol layer above the RLC layer are located in the CU, while the remaining functions of the RLC layer and the functions of the protocol layer below the RLC layer are located in the DU.

[0073] When the RAN is O-RAN, it can also have artificial intelligence (AI) capabilities. For example, O-RAN includes an intelligent controller. The intelligent controller can be a non-real-time RAN intelligent controller (RIC / non-RT RIC / NRT RIC) or a near-real-time RAN intelligent controller (RIC / nRT RIC / nRT RIC). A non-real-time RIC can be used to implement non-real-time intelligent management of RAN functions, enabling workflows including model training and model updates, and guiding applications / functions in the nRT RIC based on policies. A near-real-time RIC can be used to implement near-real-time intelligent management of the RAN. Through data collection and related operations on the E2 interface, near-real-time control and optimization of O-RAN modules and resources are achieved.

[0074] In the embodiments of this application, the means for implementing the functions of the network device can be the network device itself, or it can be a means that supports the network device in implementing the functions, such as a chip system or a combination of devices or components that can implement the functions of the network device. This means can be installed in the network device. The embodiments of this application do not limit the specific technology or specific device form used in the network device.

[0075] In this application embodiment, anything capable of data communication with a base station can be considered a terminal device. Terminal devices are also called terminals, terminal equipment, user equipment (UE), mobile stations, or mobile terminals, etc. Terminal devices can be widely used in various scenarios. For example, terminal devices can be: mobile phones, computers, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, stations (STA), robotic arms, cameras, robots, vehicles, drones, helicopters, airplanes, ships, or smart home devices (such as televisions, air conditioners, robot vacuums, speakers, set-top boxes), relays, customer premises equipment (CPE), etc.

[0076] Furthermore, in this embodiment, the terminal device can also be a terminal device in an IoT system, such as a water meter, electricity meter, electronic tag / label, etc. IoT is an important component of future information technology development. Its main technical characteristic is connecting objects to networks through communication technology, thereby realizing an intelligent network of human-machine interconnection and object-to-object interconnection.

[0077] When the terminal device is applied to V2X, it can also be called a V2X device, such as a smart car, an unmanned car, a driverless car, a pilotless car, or an automobile, or a roadside unit (RSU). All the terminal devices described above, if located on a vehicle (e.g., placed / installed inside the vehicle), can be considered in-vehicle terminal devices. In-vehicle terminal devices can be built into a vehicle's in-vehicle module, in-vehicle component, in-vehicle chip, or in-vehicle unit as one or more components or units. The vehicle can implement the methods of this application through the built-in in-vehicle module, in-vehicle component, in-vehicle chip, or in-vehicle unit. Vehicle-mounted terminal equipment can be vehicle equipment, vehicle-mounted modules, vehicles, on-board units (OBU), RSUs, vehicle infotainment systems (or on-board transmitting units) (telematics boxes, T-boxes), chips, or systems on chips (SoCs), etc. The aforementioned chips or SoCs can be installed in vehicles, OBUs, RSUs, or T-boxes.

[0078] In the embodiments of this application, the device for implementing the functions of the terminal device can be the network device itself, or it can be a device that supports the terminal device in implementing the functions, such as a chip system or a combination of devices or components that can implement the functions of the terminal device. This device can be installed in the terminal device. The embodiments of this application do not limit the specific technology or specific device form used in the terminal device.

[0079] The Internet of Things (IoT) can encompass a variety of devices, including smart water meters, shared bicycles, and devices for sensing and data collection in smart cities, environmental monitoring, smart homes, and forest fire prevention. To increase the number of devices that can be accommodated in IoT scenarios, reducing the size of IoT devices is generally a trend. However, due to various factors, the size of IoT devices cannot be reduced to a minimum; for example, IoT devices require high-capacity batteries. Therefore, for IoT devices with limited size, it is not feasible to incorporate high-capacity batteries, and the goal is to reduce the power consumption of IoT devices to extend their battery life.

[0080] Compared to NR terminal devices (e.g., NR terminal devices of release (R) 15, R16, R17), A-IoT devices have at least one of the following characteristics:

[0081] 1) Maximum Bandwidth: The maximum bandwidth of an A-IoT device can be less than the maximum bandwidth of R15 and R16 terminal devices (e.g., 100MHz). The maximum bandwidth of an A-IoT device can also be less than the maximum bandwidth of the reduced capability (RedCap) in R17 terminal devices (e.g., 20MHz). For example, the maximum bandwidth of an A-IoT device is 1 resource block (RB), 1.44MHz, 1.5MHz, 2.88MHz, 3MHz, etc.

[0082] 2) Number of antennas supported: A-IoT devices support one transmit antenna and one receive antenna, or A-IoT devices support one transmit antenna and two receive antennas.

[0083] 3) The transmission channels of A-IoT devices and readers are not aligned with the start and / or boundaries of NR time slots, frames, symbols, etc.

[0084] 4) The transmission between A-IoT devices and readers uses a single-carrier waveform.

[0085] 5) The transmission channel from the reader to the A-IoT device is not aligned with the start and / or end boundaries of the NR time slots, frames, etc.; the transmission channel from the reader to the A-IoT device is aligned with the start and / or end boundaries of the NR orthogonal frequency division multiplexing (OFDM) symbols.

[0086] 6) The transmission from the reader to the A-IoT device uses OFDM waveform.

[0087] 7) A-IoT devices support at least one of the following modulation methods: binary on-off keying (OOK), frequency-shift keying (FSK), binary phase shift keying (BPSK), and minimum shift keying (MSK). FSK can also be called binary frequency shift keying (BFSK), 2FSK, or OOK-FSK.

[0088] IoT devices include those requiring batteries (also known as IoT devices with energy storage or active IoT devices), those without batteries (also known as IoT devices without energy storage or passive IoT devices), and those with limited energy storage (also known as semi-passive IoT devices). IoT devices with limited energy storage do not require manual battery replacement or charging. Active IoT devices can independently generate signals and have active radio frequency components for transmission. Passive IoT devices have no energy storage, cannot independently generate signals, and transmit based on backscatter communications. Semi-passive IoT devices have energy storage but cannot independently generate signals and transmit based on backscatter communications. Passive or semi-passive IoT devices can also be called A-IoT devices; A-IoT devices can provide services and communicate by harvesting energy from the environment.

[0089] A typical IoT device is a tag. Tags can also be called electronic tags or IoT tags. In this embodiment, the tag can function as a terminal device to communicate with network devices. The term "tag" is merely an optional designation, and this name may change; for example, "A-IoT tag" may be replaced with other names. This embodiment does not limit the name. For ease of description, the term "tag" will continue to be used as an example below.

[0090] The tag uses a low-precision, low-power mid-to-low frequency ring oscillator or a completely oscillator-less receiver to receive downlink signals. When the tag is operating, the energy and / or carrier for communication is supplied by the reader, and communication is based on a reflected carrier.

[0091] A tag is a miniature wireless transceiver device, mainly consisting of a built-in antenna, coupling element, and chip. The tag's chip contains storage space that enables a reader to read or write tag data. After receiving radio frequency (RF) signals from the reader via its antenna, the tag can couple these signals through the coupling element. This coupling channel allows power to be supplied to the tag's chip, and the data stored in the chip can be fed back to the reader via the antenna. A communication network based on cellular network infrastructure, including readers and tags, can be called A-IoT.

[0092] There are various types of A-IoT devices, and this application does not limit the methods for classifying A-IoT device types. Several methods for classifying A-IoT device types are illustrated below.

[0093] In classification method 1, A-IoT devices can be divided into three categories: Type 1 (also known as device1), Type 2 (also known as device2a), and Type 3 (also known as device2b). Type 1 A-IoT devices do not support uplink or downlink amplification, and their uplink transmission relies on an externally provided carrier wave using backscatter, rather than generating its own signal. Type 2 A-IoT devices support either uplink or downlink amplification, and their uplink transmission relies on an externally provided carrier wave using backscatter, also without generating its own signal. Type 3 A-IoT devices support either uplink or downlink amplification, and their uplink transmission relies on an internally generated carrier wave.

[0094] Optionally, Type 1 A-IoT devices have an output power consumption of approximately 1 μW and some energy storage capacity. Type 2 A-IoT devices have a peak power of no more than several hundred μW. Type 3 A-IoT devices have a peak power of no more than several hundred μW.

[0095] Optionally, the initial sampling frequency offset (SFO) of Type 1 A-IoT devices is at most 10. X1 ppm, X1 can be 5, 4, 3, or 2. The maximum initial sampling clock skew for Type 2 A-IoT devices is 10. X2 ppm, X2 can be 5, 4, 3, or 2. The maximum initial sampling clock skew for Type 3 A-IoT devices is 10. X3 ppm, X3 can be 5, 4, 3 or 2.

[0096] In classification method 2, A-IoT devices can be divided into three categories: passive A-IoT devices, semi-passive A-IoT devices, and active A-IoT devices. Among them, passive A-IoT devices and semi-passive A-IoT devices can use reflection-based communication methods, while active A-IoT devices use actively generated carrier communication methods.

[0097] In classification method 3, A-IoT devices can also be divided into three categories: device A, device B, and device C. Device A has no energy storage and cannot generate signals independently; it uses backscattering to transmit signals. Device B has energy storage but cannot generate signals independently; it also uses backscattering to transmit signals, and the energy stored in device B can amplify the reflected signal. Device C has energy storage, can generate carrier signals internally, and has a local high-frequency oscillator for transmission.

[0098] The A-IoT devices in this application embodiment can be classified according to classification method 1, classification method 2, or classification method 3. This application embodiment is applicable to type 3 (also known as device2b) in classification method 1 or device C (device C) in classification method 3. Alternatively, the A-IoT tags in this application embodiment may have other classification methods or may not be classified at all; this is not limited.

[0099] A-IoT is an infrastructure based on cellular network communication, consisting of readers (such as base stations) and passive / semi-passive / active A-IoT terminals (A-IoT terminals are terminals within the cellular network, which can be understood as extremely low-power, extremely low-complexity IoT terminals). The main services of A-IoT include inventory management, positioning, sensing, and command processing. Typical application scenarios for A-IoT include logistics, warehousing, industrial manufacturing, identity recognition, and environmental monitoring.

[0100] For example, inventory management involves using a reader to manage the access of A-IoT terminals within the coverage area. Successfully connected A-IoT terminals send their unique identifier (an identifier that the network can recognize, such as an electronic product code (EPC)) to the reader.

[0101] Positioning is the process of using location signals to pinpoint the location of an A-IoT terminal.

[0102] Sensing involves A-IoT terminals reporting sensor data to readers, such as temperature data.

[0103] Commands are operational instructions, such as write and lock. Write means the reader sends a downlink command and data, instructing the A-IoT terminal to write data into its memory. Lock means the reader sends a downlink command, instructing the A-IoT terminal to lock a specified address in the memory, making the contents of that memory area unchangeable and / or unreadable.

[0104] The above describes several communication systems applicable to the embodiments of this application. To better understand the technical solutions of the embodiments of this application, some terms and concepts related to the embodiments of this application will be introduced first.

[0105] To better illustrate the solution of this application, the technical terms involved in this application are explained below:

[0106] 1) Random Access

[0107] Random access can generally be divided into two categories: two-step random access (RA) (as shown in Figure 4A) and four-step random access (RA) (as shown in Figure 4B).

[0108] In the 2-step RA, the terminal sends MsgA (message A) to the base station. MsgA consists of the physical random access channel (PRACH) and the physical uplink shared channel (PUSCH). PRACH is used to send the random access preamble, and PUSCH is used to send control plane (CP) and / or user plane data. After receiving MsgA, the base station sends MsgB to the terminal. If the base station correctly decodes the PUSCH in MsgA, MsgB (message B) is called a success random access response (RAR), which includes a contention resolution message. If the base station does not correctly decode the PUSCH, MsgB is called a fallback RAR. After receiving the fallback RAR, the terminal will fall back to the 4-step RA based on the uplink grant (UL grant) carried in it and send Msg3 (message 3) to the base station.

[0109] In 4-step RA, the terminal first sends a Preamble (Msg1) to the base station via PRACH. Upon receiving Msg1, the base station sends a RAR (Rate Arrangement) to the terminal (Msg2). Based on the UL grant contained in the RAR, the terminal sends Msg3 to the base station, which carries control plane and / or user plane data. After correctly receiving Msg3, the base station sends a contention resolution message (Msg4) to the terminal, which may also carry control plane and / or user plane data. When Msg3 or Msg4 carries user plane data, 4-step RA can also be called early data transmission (EDT).

[0110] Simply put, MsgA in 2-step RA can be seen as a combination of Msg1 and Msg3 in 4-step RA, while MsgB can be seen as a combination of Msg2 and Msg4. Therefore, compared with 4-step RA, 2-step RA can achieve lower access latency and terminal power consumption.

[0111] Depending on whether the terminal uses contention-based random access resources, random access can be divided into contention-based random access (CBRA) and contention-free random access (CFRA). For CBRA, the base station typically issues random access resource allocation instructions via radio resource control (RRC) signaling such as system information (SI) messages, configuring a PRACH resource pool and a Preamble resource pool for the terminal's random access. When the terminal performs random access, it selects a PRACH and a Preamble from the configured PRACH and Preamble resource pools, respectively, and transmits the selected Preamble on the selected PRACH resource. In the case of 2-step RA, the terminal also transmits control plane and / or user plane data on the PUSCH resource associated with the selected PRACH and Preamble. The PUSCH resource is also configured by the base station via public RRC signaling such as system information (SI) messages. The reason for associating PUSCH resources with PRACH resources and preambles is to reduce the complexity of blind detection by the base station. Knowing this association, the base station can determine the PUSCH resources based on the detected preamble, thus enabling direct PUSCH reception and demodulation, avoiding or reducing the number of blind detections. In CBRA, different terminals may select the same PRACH resources and preamble for competitive random access. For CFRA, there is no contention during random access because the base station typically uses dedicated signaling such as RRC messages or downlink control information (DCI) to instruct the terminal on the PRACH resources and / or preamble to use for random access.

[0112] For CBRA, after a terminal sends Msg1 or MsgA, it initiates a response time window (hereinafter referred to as the time window) and monitors for response messages from the base station, namely Msg2 or MsgB, within the time window. The specific monitoring method typically involves the terminal determining a radio network temporary identity (RNTI) based on the PRACH resource used to send the preamble, and using this RNTI to monitor the physical downlink control channel (PDCCH) used for scheduling Msg2 or MsgB within the time window. Based on the PDCCH's indication, it further receives Msg2 or MsgB. Taking 4-step RA as an example, when multiple terminals select the same PRACH resource to send the preamble, the RNTI determined by these multiple terminals is the same, and they will use this RNTI to monitor the PDCCH used for scheduling Msg2 within the same time window. In this case, the terminal needs to determine whether the received Msg2 is for its specific terminal by using the random access preamble identifier (RAP ID) carried in Msg2. For example, when a terminal detects a PDCCH and correctly decodes the scheduled Msg2, if it determines that the RAP ID carried in the received Msg2 is the same as the Preamble ID sent by the terminal, the terminal considers the response to be for it, stops the time window, and sends Msg3 according to the UL grant instruction carried in the response. However, if one of the following situations occurs, the terminal will continue to use the determined RNTI to detect the PDCCH until the time window ends: the terminal detects the PDCCH but fails to correctly decode the scheduled Msg2; or the terminal decodes Msg2 but finds that it does not carry the same RAPID as the Preamble ID sent by the terminal. If the terminal fails to correctly receive Msg2 for itself even until the time window ends, the terminal can reselect the PRACH resource and Preamble, and send Msg1 again.For 2-step RA, the situation is similar to 4-step RA, the difference being that after the terminal sends MsgA, it may receive either a fallback RAR for the preamble sent to that terminal, or a success RAR for that terminal. For the former, the situation is the same as for 4-step RACH, while for the latter, the success RAR does not carry the RAP ID, but rather the competition resolution identifier (CR ID) sent by the terminal in MsgA. That is, if the terminal determines that the CR ID carried by MsgB is the same as the CR ID sent by the terminal in MsgA, then the terminal considers MsgB to be for that terminal, and the terminal will stop the time window. Here, the CR ID can also be understood as an ID used to identify the terminal. When one of the following situations occurs, the terminal will continue to use the determined RNTI to monitor PDCCH until the time window ends:

[0113] The terminal detected the PDCCH but failed to correctly decode the scheduled MsgB. The terminal decoded the MsgB but found that it did not carry the same RAPID as the Preamble ID sent by the terminal, nor the same CR ID as the CR ID sent by the terminal.

[0114] If the terminal fails to receive the MsgB message correctly by the end of the time window, the terminal can reselect the PRACH resource and Preamble, and resend Msg1 or MsgB.

[0115] In addition, regardless of the random access method, in order for the base station to estimate the timing advance (TA) of the terminal, the terminal needs to send a Preamble to the base station through the PRACH channel.

[0116] 2) Tag inventory or access process

[0117] Referring to Figure 4C, the tag access process is shown.

[0118] Step 1: The reader sends a Select message.

[0119] The `Select` option is used to select a group of tags. This `Select` carries the `inventorySession` (detailed session), `action`, and `mask` (which can be understood as a group identifier). Assuming `inventorySession` corresponds to S0, and `action` = 0, if the mask matches, the tag sets the flag of S0 to A (initial flag setting). Afterwards, the tag reads and writes data and transmits EPC. If the transmission is successful, the flag is flipped to B. Tags with flag A have not yet transmitted EPC, while those with flag B have successfully transmitted it.

[0120] The session and the subsequent flags are bound together; each flag corresponds to a session, and inventorySession specifies which session's flag is being set.

[0121] The action specifies how to set the flag, such as action=1 or 0. If the mask matches when the tag is received, the flag corresponding to the session will be set to A (action=1) or B (action=0).

[0122] The mask is used to filter which tags are selected. For example, if a tag stores a complete 96-bit identifier, the mask can indicate that the tags whose first 16 bits are 111...111 are selected. If the mask matches, it can be further set according to the action, and then listen for the subsequent query message.

[0123] Step 2: The reader sends a query.

[0124] The Query carries the Q value, session, and flags.

[0125] Assuming session S0 and flag A, when the session of the tag matches the flag, a random number between 0 and 2 is generated based on Q. Q A random number of -1 is used as the initial value for Counter.

[0126] If no tag sends a response, the reader continues to send QueryRep (query response). When the tag receives QueryRep, Counter = Counter - 1.

[0127] Step 3: The tag receives (may be multiple) QueryRep.

[0128] QueryRep does not need to carry any content.

[0129] Step 4: If the Counter generated by the label is 0, the label will respond with RN16; otherwise, no response will be given.

[0130] RN16 is a 16-bit random number (it can be 16 bits or 8 bits) used for contention resolution. If the reader does not receive RN16 (16-bit random number), it sends a QueryRep.

[0131] Step 5: If Counter is reduced to 0, the label will respond with RN16; otherwise, there will be no response.

[0132] For example, each QueryRep corresponds to the start or end of an access time slot. Each time a tag receives a QueryRep, it signifies the end of the previous time slot and the start of the next time slot. The tag can randomly select an access time slot to initiate access, send uplink data (EPC), or receive downlink data in the corresponding access time slot.

[0133] Step 6: When the reader receives the RN16, if there is no collision (only one tag's RN16 is received), it sends back an acknowledgment character (ACK).

[0134] The ACK contains the received random number RN, which indicates that the contest was successfully resolved.

[0135] Step 7: If the tag receives an ACK and RN16 matches, then EPC is fed back; otherwise, no feedback is given.

[0136] Step 8: If EPC is sent and QueryRep is received, it indicates that the data transmission was successful, and the flag bit is flipped to B.

[0137] For example, a flag can be used to prevent a previously stored tag from being stored again, because if a subsequent query carries a flag of A, the query that receives a flag of A after the flip will not respond.

[0138] In A-IoT networks, network devices configure random access resources for terminals through system information blocks (SIBs) or paging messages. SIBs can configure random access resources for different services, while paging messages can configure random access resources dedicated to a specific service. When both SIB-configured and paging-configured random access resources exist, if a terminal fails to access the network again, whether it chooses the SIB-configured resource or the paging-configured resource for re-attempting random access remains unclear. The relevant technologies do not provide a definitive solution.

[0139] Based on this, this application provides a communication method to determine how to select random access resources for re-access after the initial random access fails when a terminal is performing a first service. The communication method provided in this application is applicable to the communication systems illustrated in Figures 1-3 above. This communication method can be applied to a first device, a second device, or can be implemented based on the interaction between the first and second devices. The first device can be the first device itself, components within the first device (e.g., communication modules, processors, circuits, chips, or chip systems), or logic modules or software capable of implementing all or part of the functions of the first device. For example, the first device can be an IoT device, a tag, etc., and this application does not limit the specific form of the first device. The second device can be the second device itself, components within the second device (e.g., communication modules, processors, circuits, chips, or chip systems), or logic modules or software capable of implementing all or part of the functions of the second device, depending on the specific application. For example, the second device can be a reader / writer, a network device, or other devices, and this application does not limit the specific form of the second device. For example, when the first device fails to perform a first random access during the execution of the first service, before attempting a second random access, the second device has already sent resource indication information 1 and resource indication information 2 to the first device. Resource indication information 1 indicates the first resource, and resource indication information 2 indicates the second resource. Furthermore, the timing of sending resource indication information 1 and resource indication information 2 is not specifically limited; resource indication information 1 can be sent first and then resource indication information 2, or resource indication information 2 can be sent first and then resource indication information 1, or both can be sent simultaneously. Additionally, resource indication information 1 and resource indication information 2 may be the same message or different messages. This is also not specifically limited here.

[0140] The first resource can be understood as a public random access resource. Specifically, the first resource can be used for random access to multiple services, where the multiple services include the first service. Examples include downlink inventory management services and uplink DOA services. The first resource may include frequency domain resources and time domain resources. Optionally, the first resource may also include spatial domain resources, etc. This is merely an illustrative example and not a specific limitation.

[0141] For example, the first resource is indicated by one of the following (i.e., resource indication information 1 is one of the following): a system information block or a paging message. For instance, the first resource is indicated by a system information block, which is an SIB, and the SIB carries the first resource. In specific applications, different system information blocks can carry different resources, and these different resources are all referred to as the first resource. For example, SIB1 carries random access resource 1, and SIB2 carries random access resource 2, where random access resource 1 and random access resource 2 are both first resources. SIB1 and SIB2 can be sent within a continuous time period or within an interval time period; the time interval between the sending times of SIB1 and SIB2 is not specifically limited here. When the first resource is indicated by a system information block (where the system information block is a broadcast message), the paging message overhead can be reduced, and the paging coverage can be improved.

[0142] For example, the first resource is indicated by paging messages, namely paging1 and paging2. Paging1 carries random access resource 3, and paging2 carries random access resource 4. Both random access resources 3 and 4 are the first resource. Paging1 and paging2 can be sent within a continuous time period or at intervals; the specific time interval between their transmission is not limited here. When the first resource is indicated by paging messages, the first device does not need to monitor system messages in advance to obtain the common random access resource, thereby reducing the power consumption and complexity of the first device.

[0143] The second resource can be understood as a dedicated random access resource used for random access to the first service. For example, different paging messages can indicate different second resources; for instance, paging message 1 indicates the random access resource for service 1, and paging message 2 indicates the random access resource for service 2. Both service 1 and service 2 can be understood as the first service. Therefore, the first service may be one or more. This is merely an illustrative example and does not specifically limit the number or type of services included in the first service. The second resource may include frequency domain resources and time domain resources. Optionally, the second resource may also include spatial domain resources, etc. This is merely an illustrative example and does not specifically limit the scope.

[0144] For example, the second resource is indicated via a paging message (i.e., resource indication information 2 is indicated via a paging message). For instance, the paging messages are paging1 and paging2. Paging1 carries random access resource 5, and paging2 carries random access resource 6. Both random access resources 5 and 6 are second resources. Paging1 and paging2 can be sent within a continuous time period or at intervals; the specific time interval between their transmissions is not limited here. Indicating the second resource via paging messages provides greater flexibility, allowing the first device to configure the second resource only when it needs to perform the first service, thus improving resource efficiency.

[0145] In addition to indicating the first or second resource, the paging message mentioned above also includes a group identifier. This allows the first device to determine how to select a resource for random access again based on the group identifier, as illustrated in Figure 5A below. The group identifier can be configured by the core network, and each group identifier can include multiple first devices. The group identifier can be negotiated and configured between the core network device and the first device. When the first device initially accesses the network, the core network device assigns a group identifier to the first device. This group identifier may be related to the device type of the first device, the region where the first device is located, etc. For example, a first device of device type C in region A corresponds to group identifier 1, and a first device of device type C in region A corresponds to group identifier 2. This is only an example and not a specific limitation. Furthermore, the corresponding group identifier can be different when the first device performs different services. For example, the group identifier corresponding to the first device performing inventory service 1 is group identifier X, and the group identifier corresponding to the first device performing inventory service 2 is group identifier Y. This is only an example and not a specific limitation.

[0146] For example, the paging message may also include other new information (such as the first information), based on which the first device can determine how to select resources for random access again. Refer to the process illustrated in Figure 5A below for a detailed understanding.

[0147] In practical applications, the communication method of this application may involve multiple first devices, which are not specifically limited here. The number of first devices is illustrated using only one as an example. The execution is as follows:

[0148] Step 501: After determining that random access has failed, the first device determines the random access resource to re-execute when performing the first service, based on the first information. The first information indicates whether the random access resource is a resource in the first resource or a resource in the second resource.

[0149] For example, if the first device does not receive an ACK message from the second device after performing random access for the first time, or if the random number in the received ACK message is different from the RN16 of the first device, the first device determines that the random access has failed. This is only an example and does not specifically limit how the first device determines that the random access has failed.

[0150] In one possible implementation, the first device may use the group identifier in the paging message as the first information, and the first device may further determine the resources to be re-executed for random access based on whether the group identifier to which it belongs corresponds to the group identifier in the paging message.

[0151] For example, the first information includes a group identifier, and the first device belongs to the devices included in the group identifier. When the first device performs the first service, the random access resource for re-executing random access is the random access resource closest to the third resource among the first resource and the second resource. The third resource is the random access resource used when the first device fails to access the system; the third resource is either a resource in the first resource or a resource in the second resource. The first and second resources can be understood as the resource obtained by superimposing the first and second resources in the time and frequency domains. For example, the first resource sequentially includes random access channel (RACH)1 and RACH2, the second resource sequentially includes RACH~A and RACH~B, and the first and second resources sequentially include: RACH1, RACH~A, RACH~B, and RACH2. If the third resource is RACH~B among the second resources, then the random access resource closest to RACH~B is RACH2. As shown in Figure 5B(a), RACH1, RACH~A, RACH~B, and RACH2 do not overlap in either the time or frequency domains. As shown in Figure 5B(b), RACH~B and RACH2 partially overlap in both the time and frequency domains. As shown in Figure 5B(c), RACH~B includes RACH2. Without specifying here, the overlap between the random access resources in the first resource and the second resource after sorting them according to their starting time domain positions is not limited. The following descriptions concerning the first and second resources can be understood by referring to this section; other locations will not be elaborated upon.

[0152] In this application, the random access resource for the first device to re-execute random access is the resource closest to the third resource among the first and second resources, facilitating the first device to quickly execute random access again. As shown in Figure 6, the first resource sequentially includes RACH1, RACH2, and RACH3, and the second resource sequentially includes RACH~A, RACH~B, and RACH~C. The first and second resources sequentially include: RACH1, RACH~A, RACH~B, RACH2, RACH3, and RACH~C. Assuming that the random access resource used by the first device when random access fails is the random access resource RACH1 indicated by the paging message (i.e., the third resource), since the first device is the device included in the group identifier in the paging message, the first device can select the random access resource RACH~A, which is closest to RACH1 among the first and second resources, to re-execute random access. As shown in Figure 7, the first resource sequentially includes RACH1, RACH2, and RACH3, and the second resource sequentially includes RACH~A, RACH~B, and RACH~C. The first and second resources, in sequence, include: RACH1, RACH2, RACH~A, RACH~B, RACH3, and RACH~C. Assume that when the first device fails to access the system, the random access resource used is RACH1 (i.e., the third resource) indicated in the paging message. Since the first device is the device whose group identifier is included in the paging message, the first device can choose RACH2, the random access resource closest to RACH1 among the first and second resources, to perform random access again.

[0153] For example, the first information includes a group identifier, and the first device belongs to the devices included in the group identifier. When the first device performs the first service, the random access resource for re-executing random access is one of the random access resources between the first resource and the second resource whose distance to the third resource is less than a distance threshold. The distance threshold can be understood as a time period or the number of random resources. For example, if the distance threshold is 10 minutes, "less than the distance threshold" can be understood as random access resources within 10 minutes after the end of the third resource; or, if the distance threshold is the number of random resources (5), "less than the distance threshold" can be understood as the 5 random access resources after the third resource. This is only an example. In the following text, the distance threshold can be understood with reference to the description here, and will not be repeated here. As shown in Figure 8, the first resource sequentially includes RACH1, RACH2, and RACH3, and the second resource sequentially includes RACH~A, RACH~B, and RACH~C. The first resource and the second resource sequentially include: RACH1, RACH~A, RACH~B, RACH2, RACH3, and RACH~C. Assuming that the random access resource used when the first device fails to access the network is RACH1 (i.e., the third resource) indicated in the paging message, and since the first device is the device included in the group identifier in the paging message, and assuming the distance threshold is 4 (the number of random resources), then the random access resources whose distance to RACH1 is less than the distance threshold include RACH~A, RACH~B, RACH2, and RACH3. The first device can randomly select one of RACH~A, RACH~B, RACH2, and RACH3 to perform random access again. The random access resource that the first device re-performs random access on is the random access resource among the first resource and the second resource whose distance to the third resource is less than the distance threshold. Based on this, it is convenient for the first device to flexibly select a random access resource to perform random access again.

[0154] For example, among the first and second resources, there are N random access resources whose distance to the third resource is less than a distance threshold. The first device corresponds to a random number X, where X is a positive integer less than or equal to N. When the first device executes the first service, the random access resource to be re-executed is the Xth random access resource closest to the third resource among the random access resources whose distance to the third resource is less than the distance threshold (or the random access resources whose distance to the third resource is less than the distance threshold are arranged in order from closest to farthest from the third resource, and the random access resource located at the Xth position). The random number corresponds one-to-one with the random access resource. For example, if there are 5 random access resources whose distance to the third resource is less than the distance threshold (RACH1~RACH5, where RACH1~RACH5 are arranged in order from closest to farthest from the third resource), then there are also 5 random numbers. Random number 1 corresponds to RACH1, which is the closest random access resource to the third resource among the 5 random access resources; random number 2 corresponds to RACH2; random number 3 corresponds to RACH3; random number 4 corresponds to RACH4; and random number 5 corresponds to RACH5. For example, different first devices correspond to different random numbers; for instance, tag 1 corresponds to random number 2, and tag 2 corresponds to random number 3. Therefore, when different first devices re-execute random access for the first service, they can access different random access resources, avoiding the probability of access collisions. As shown in Figure 8 above, N is 4. Assuming the random number corresponding to the first device is 3, then the random access resource re-executed by the first device when executing the first service is RACH2. This is merely an illustrative example and not a specific limitation.

[0155] In practical applications, the paging message may include multiple group identifiers. After a random access failure, devices within these group identifiers can select the random access resource closest to the one used in the failed random access attempt (either the first resource or the second resource) as the random access resource for re-accessing. Alternatively, they can select the random access resource less than a distance threshold from the one used in the failed random access attempt (either the first resource or the second resource) as the random access resource for re-accessing. For example, the paging message includes group identifier 1 and group identifier 2, where group identifier 1 includes tag 1 and tag 2, and group identifier 2 includes tag 3 and tag 4. The first and second resources sequentially include: RACH1, RACH~A, RACH~B, RACH2, RACH3, and RACH~C. When tag 1's random access failed, the random access resource used was RACH1. When tag 1 attempts random access again, it can select RACH~A as the random access resource for re-accessing. When random access fails with tag 3, the random access resource used is RACH~A. When tag 3 attempts random access again, it can select RACH~B as the random access resource for the second attempt. This is only an example and is not a specific limitation.

[0156] In another possible implementation, the first device can also use its corresponding energy threshold as first information. Based on the relationship between its own energy and the energy threshold, the first device can further determine the resource to re-execute random access. The first device can clearly select which random access resource to re-access based on the first information, which can improve data processing efficiency. The energy threshold can be predefined by the core network device and the first device, or it can be indicated by a system information block or paging message; this is not specifically limited here. Furthermore, in specific applications, multiple energy thresholds can be set, such as energy threshold 1, energy threshold 2, etc., which are only exemplified here and are not specifically limited.

[0157] For example, the first information includes an energy threshold, and the energy of the first device is lower than the energy threshold. When the first device performs a first service, the random access resource for re-executing random access is the random access resource that is closest to the third resource among the first resource and the second resource. The energy of the first device is associated with one or more of the following: the data transmission time currently supported by the first device, or the data transmission volume currently supported by the first device. For example, if the data transmission time currently supported by the first device is 10 minutes, the energy of the first device is energy 1. If the data transmission time currently supported by the first device is 20 minutes, the energy of the first device is energy 2. Energy 2 is higher than energy 1. For example, if the data transmission volume currently supported by the first device is 10 bits, the energy of the first device is energy 3. If the data transmission time currently supported by the first device is 20 bits, the energy of the first device is energy 4. Energy 4 is higher than energy 3. When the energy of the first device is related to the data transmission time and data transmission volume, the data transmission status of the first device can be clearly defined, so as to select a random access resource that is more suitable for the transmission needs of the first device. As shown in Figure 6 above, if the first device determines that its energy is below the energy threshold, the first device can select the random access resource RACH~A that is closest to RACH1 between the first resource and the second resource to perform random access again. This is only an example and is not specifically limited.

[0158] For example, the first information includes an energy threshold, and the energy of the first device is lower than the energy threshold. When the first device performs the first service, the random access resource to re-perform random access is one of the random access resources between the first resource and the second resource whose distance to the third resource is less than the distance threshold. As shown in Figure 8 above, if the first device determines that its energy is lower than the energy threshold, the first device can randomly select one of RACH~A, RACH~B, RACH2, and RACH3 to re-perform random access. This is only an example and not a specific limitation. In this application, when the energy of the first device is lower than the energy threshold, the first device can further determine which random access resource to select for re-access based on the random access resource corresponding to the energy threshold or the random access resource associated with the energy threshold, which can improve data processing efficiency. In addition, in this application, different first devices are discretely assigned to different random access resources for access, reducing the access collision rate and improving the access success rate.

[0159] For example, among the first resource and the second resource, there are N random access resources whose distance to the third resource is less than a distance threshold, N energy thresholds, and N values ​​for the first information. The Xth value is less than the (X+1)th value, and the energy threshold is the Xth value. N is a positive integer, and X is a positive integer less than or equal to N. Wherein, if the energy of the first device is lower than the Xth energy threshold, the random access resource that the first device re-executes when performing the first service is the Xth random access resource among the first and second resources whose distance to the third resource is less than the distance threshold (or the random access resources whose distance to the third resource is less than the distance threshold are arranged in order of distance from the third resource, and the random access resource located at the Xth position). The energy thresholds correspond one-to-one with random access resources. For example, there are five random access resources (RACH1 to RACH5, arranged in order of proximity to the third resource) whose distance to the third resource is less than the distance threshold. Therefore, there are also five energy thresholds: energy threshold 1 corresponds to RACH1, the closest random access resource to the third resource; energy threshold 2 corresponds to RACH2; energy threshold 3 corresponds to RACH3; energy threshold 4 corresponds to RACH4; and energy threshold 5 corresponds to RACH5. For example, different first devices correspond to different energy thresholds; for instance, tag 1 corresponds to energy threshold 2, and tag 2 corresponds to energy threshold 3. Thus, when different first devices re-execute random access for the first service, they can access different random access resources, reducing the probability of access collisions. As shown in Figure 9, the first resources sequentially include RACH1, RACH2, and RACH3, and the second resources sequentially include RACH~A, RACH~B, and RACH~C. The first and second resources, in sequence, include: RACH1, RACH~A, RACH~B, RACH2, RACH3, and RACH~C. Assuming that the random access resource used when the first device fails to access the system is RACH1 (i.e., the third resource) indicated by the paging message, and since the first device is the device included in the group identifier in the paging message, assuming the distance threshold is 4 (the number of random resources), then the random access resources whose distance to RACH1 is less than the distance threshold include RACH~A, RACH~B, RACH2, and RACH3. There are four energy thresholds. The first energy threshold is less than the second, the second is less than the third, and the third is less than the fourth. If the first device's energy is less than the first energy threshold, the first random access resource closest to the third resource is RACH~A, and the first device will re-execute random access using RACH~A.If the energy of the first device is less than the second energy threshold, the second random access resource closest to the third resource is RACH~B, and the first device re-executes random access using RACH~B. If the energy of the first device is less than the third energy threshold, the third random access resource closest to the third resource is RACH2, and the first device re-executes random access using RACH2. If the energy of the first device is less than the fourth energy threshold, the fourth random access resource closest to the third resource is RACH3, and the first device re-executes random access using RACH3. Figure 9 illustrates this with the first device's energy being less than the fourth energy threshold, and the first device re-executing random access using RACH3. When the energy of the first device is high, the first device selects the random access resource ranked later between the first and second resources for random access. Since the device with low energy performs random access first, it can successfully access the device before it runs out of power, thus improving the access success rate. In this application, the energy threshold corresponding to the first device may include multiple levels, and when the energy of the first device is less than the energy threshold of different corresponding levels, specific random access resources are selected. Based on this, the data that the first device can currently transmit can be adapted to select random access resources that are more suitable for the current energy of the first device.

[0160] In another possible implementation, the first information is included in the paging message. The first information is one or more of the following: service priority information and random access resource information corresponding to different services. For example, the first device and the second device pre-agree on random access resources corresponding to services of the same type but different priorities. The first information included in the paging message indicates that the priority of inventory service 1 is higher than that of inventory service 2, and the priority of inventory service 2 is higher than that of inventory service 3. After obtaining this first information, if the first device determines that the first service is inventory service 1, it can select the random access resource closest to the third resource from the first and second resources as the random access resource for re-performing random access. If the first device obtains this first information and determines that the first service is inventory service 3, it can randomly select one random access resource (e.g., the random access resource furthest from the third resource) from the first and second resources whose distance to the third resource is less than a distance threshold as the random access resource for re-performing random access. Alternatively, services of different priorities correspond to different random access resources, as shown in Figure 10. As shown in Figure 10, the first resource sequentially includes RACH1, RACH2, and RACH3, and the second resource sequentially includes RACH~A, RACH~B, and RACH~C. Assuming that the random access resource used when the first device fails to access the system is RACH1 (i.e., the third resource) indicated by the paging message, the first information included in the paging message is that the priority of stored service 1 is higher than that of stored service 2, and the priority of stored service 2 is higher than that of stored service 3. Stored service 1 corresponds to RACH1 and RACH~A, stored service 2 corresponds to RACH~B and RACH2, and stored service 3 corresponds to RACH3 and RACH~C. Since the first service is stored service 1, the random access resource used by the first device to re-execute random access is RACH~A. In this application, the first information can be included in the paging message. When the first information is service priority information, different service priorities correspond to different random access resources. Based on this, the first device can clearly determine how to select the random access resource to perform re-random access. Furthermore, in this application, different first devices are discretely assigned to different random access resources for access, thereby reducing the access collision rate and improving the access success rate.

[0161] For example, different services correspond to different random access resource information. The paging message includes first information such as the first resource corresponding to inventory service 1, and the second resource corresponding to DOA service, etc. After the first device obtains this first information and determines that the first service is inventory service 1, it can select the first resource as the random access resource for the first device to re-execute random access. When the first information is random access resource information corresponding to different services, since the paging message includes specific service information, the first device can determine how to select a random access resource to perform re-random access based on the random access resource information corresponding to the first service. Based on this, the efficiency of the first device re-executing random access can be improved.

[0162] In another possible implementation, the first information is included in the paging message or system information block. This first information is one or more of the following: the service type corresponding to different random access resources, and the access timing corresponding to different random access resources. For example, different random access resources correspond to different services in their time domain, as shown in Figure 11. The first resources sequentially include RACH1, RACH2, and RACH3, and the second resources sequentially include RACH~A, RACH~B, and RACH~C. Assuming that the random access resource used when the first device fails to access the system is the random access resource RACH1 indicated by the paging message (i.e., the third resource), the first information included in the paging message is that the inventory service corresponds to RACH~B, RACH2, and RACH3, and the DOA service corresponds to RACH1, RACH~A, and RACH~C. The first service is the DOA service, and the random access resource used by the first device to re-execute random access is RACH~A.

[0163] For example, different random access resources correspond to different services in their frequency domain, as shown in Figure 12. The first resource includes RACH1 and RACH2 in sequence, and the second resource includes RACH~A, RACH~B, and RACH~C in sequence. Assuming that the random access resource used when the first device fails to access the system is the random access resource RACH1 indicated by the paging message (i.e., the third resource), the paging message indicates that the first frequency domain resources corresponding to RACH~A, RACH~B, and RACH~C are used to perform inventory storage services, and the first frequency domain resources corresponding to RACH~A, RACH~B, and RACH~C are used to perform DOA services. The first service is a DOA service, and the random access resource used by the first device to re-execute random access is the second frequency domain resource of RACH~A. In this application, the first information can be included in the paging message or the system information block. When the first information is the service type corresponding to different random access resources, the first device can clearly select which random access resources to perform the re-random access when determining to execute the first service for random access. Furthermore, based on the explicit instructions of the first information, different first devices are discretely assigned to different random access resources for access, reducing the access collision rate and improving the access success rate.

[0164] For example, different random access resources correspond to different access timings. For instance, the first resource sequentially includes RACH1 and RACH2, and the second resource sequentially includes RACH~A, RACH~B, and RACH~C. Assuming that the random access resource used when the first device fails to access is RACH1 as indicated by the paging message, and the first information is the access timing of different random access resources, it can be understood as several random access resources that can be used to perform re-random access after RACH1 access fails, or random access resources within a certain time period that can be used for re-random access. As shown in Figure 13. The first resource sequentially includes RACH~A, RACH~B, and RACH~C, and the second resource sequentially includes RACH1 and RACH2. Assuming that the random access resource used when the first device fails to access is RACH1 (i.e., the third resource), and the first information is that the resources in the first resource that can be used to perform re-random access are RACH~B and RACH~C, the random access resource for the first device to re-perform random access is RACH~C. The first piece of information is the access timing corresponding to different random access resources. The first device can determine which random access resources to perform re-random access based on the re-random access time. Based on this, the efficiency of the first device in performing re-random access can be improved.

[0165] Step 502: The first device randomly accesses the random access resources.

[0166] Specifically, the first device re-accesses the random access resource, for example, by sending a random preamble. This can be understood by referring to the existing random access process, which will not be elaborated here. For details, please refer to the description in the above technical terminology explanation.

[0167] In this application, after a first device fails to access the network randomly, the first device determines, based on first information, whether the random access resource to be accessed when re-performing random access is a first resource used for random access to multiple services, or a second resource dedicated to random access to the first service. Based on this, the first device can clearly select which random access resource to access the network again, improving data processing efficiency. Furthermore, in this application, different first devices are distributed across different random access resources for access, reducing the access collision rate and increasing the access success rate.

[0168] The foregoing primarily describes the solutions provided by the embodiments of this application from the perspective of device interaction. It is understood that, in order to achieve the above functions, each device may include corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should readily recognize that, in conjunction with the units and algorithm steps of the various examples described in the embodiments disclosed herein, the embodiments of this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in 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, but such implementation should not be considered beyond the scope of this application.

[0169] The embodiments of this application can divide the device into functional units according to the above method examples. For example, each function can be divided into a separate functional unit, or two or more functions can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.

[0170] Figure 14 illustrates a possible exemplary block diagram of a communication device according to an embodiment of this application, using an integrated unit. As shown in Figure 14, the communication device 1400 may include a processing module 1410 and a transceiver module 1420. The processing module 1410 is used to control and manage the operation of the communication device 1400. The transceiver module 1420 is used to support communication between the communication device 1400 and other devices. Optionally, the transceiver module 1420 may include a receiving unit and / or a transmitting unit, respectively used to perform receiving and transmitting operations. Optionally, the communication device 1400 may also include a storage unit for storing the program code and / or data of the communication device 1400. The transceiver module may be referred to as an input / output module, a communication module, etc., and may be a transceiver; the processing module may be a processor. When the communication device is a module (e.g., a chip) in a communication device, the transceiver module may be an input / output interface, an input / output circuit, or an input / output pin, etc., and may also be referred to as an interface, a communication interface, or an interface circuit, etc.; the processing module may be a processor, a processing circuit, or a logic circuit, etc. Specifically, the communication device can be the aforementioned A-IoT terminal, reader, etc.

[0171] Optionally, a storage module may also be included, which can be used to store instructions (code or program) and / or data. This storage module may be, for example, a memory. The processing module 1410 and the transceiver module 1420 may be coupled to this storage module. For example, the processing module 1410 can read instructions (code or program) and / or data from the storage module to implement corresponding methods. For example, when the communication device 1400 is a chip in an A-IoT device, the storage module may be an internal storage module within the chip, such as a register or cache. Alternatively, the storage module may be an external storage module within the A-IoT device, such as a read-only memory (ROM) or other types of static storage devices capable of storing static information and instructions, such as random access memory (RAM). The aforementioned units may be configured independently or partially or completely integrated.

[0172] Processing module 1410 may be a processor or controller, such as a general-purpose central processing unit (CPU), a general-purpose processor, a digital signal processing unit (DSP), an application-specific integrated circuit (ASIC), a field-programmable gate array (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. It may implement or execute the various exemplary logic blocks, modules, and circuits described in conjunction with the disclosure of this application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of a DSP and a microprocessor, etc. Transceiver module 1420 is a transceiver, interface circuit, bus, pin, or other possible communication interface for receiving signals from other devices. For example, when the device is implemented as a chip, transceiver module 1420 is an interface circuit for the chip to receive signals from other chips or devices, or an interface circuit for the chip to send signals to other chips or devices.

[0173] In one implementation, the communication device 1400 can correspondingly implement the behavior and functions of the second device in the above method embodiments. The communication device 1400 can be an A-IoT device, a component (e.g., a chip or circuit) within an A-IoT device, a part of a chip or chipset in an A-IoT device used to execute related method functions, or a software module in the second device capable of implementing the above communication method; there are no limitations. For details, please refer to the relevant content of the foregoing method embodiments, which will not be repeated here.

[0174] For example, processing module 1410 is used to determine, after determining that random access has failed, the random access resource to be re-executed when the first device performs the first service, based on first information. The first information indicates whether the random access resource is a resource in a first resource or a resource in a second resource. The first resource is a resource used for random access to multiple services, and the second resource is a resource dedicated to random access to the first service, where the multiple services include the first service. Optionally, transceiver module 1420 is also used to send a random preamble, etc., on the random access resource.

[0175] In one implementation, the communication device 1400 can correspondingly implement the behavior and functions of the network device in the above method embodiments. The communication device 1400 can be a first device, a component (e.g., a chip or circuit) within the first device, a part of a chip or chipset in the first device used to execute the relevant method functions, or a software module in the first device capable of implementing the above communication method; there are no limitations. Optionally, the network device has some or all of the functions of a reader / writer. For details, please refer to the relevant content of the foregoing method embodiments; further details will not be repeated here.

[0176] For example, the transceiver module 1420 is used to send first information, and the first information is used to instruct the first device to re-execute the random access resource after the random access fails. The first information is included in the paging message and is one or more of the following: service priority information, random access resource information corresponding to different services. Alternatively, the first information is included in the paging message or system information block and is one or more of the following: service type corresponding to different random access resources, access timing corresponding to different random access resources.

[0177] When the communication device 1400 is a chip-based device or circuit, the transceiver module can be an input / output circuit and / or a communication interface; the processing module is an integrated processor, microprocessor, or integrated circuit.

[0178] Figure 15 is a schematic block diagram of a communication device 1500 provided in an embodiment of this application. The communication device 1500 can be a first terminal device or a network device as described in the above embodiments. For example, the communication device 1500 can be an A-IoT device or a chip (system) within an A-IoT device as shown in Figure 2 or Figure 3. As another example, the communication device 1500 can be a network device or a chip (system) within a network device as shown in Figure 2 or Figure 3. In this embodiment, the chip system can be composed of chips or may include chips and other discrete devices. Specific functions can be found in the descriptions of the above method embodiments.

[0179] The communication device 1500 includes one or more processors 1501, used to implement or support the communication device 1500 in implementing the functions of the first terminal device or network device in the methods provided in the embodiments of this application. For details, please refer to the detailed description in the method examples, which will not be repeated here. The processor 1501 can also be called a processing unit or processing module, and can implement certain control functions. The processor 1501 can be a general-purpose processor or a dedicated processor, etc. For example, it includes: a baseband processor, a central processing unit, an application processor, a modem processor, a graphics processor, an image signal processor, a digital signal processor, a video codec processor, a controller, a memory, and / or a neural network processor, etc. The baseband processor can be used to process communication protocols and communication data. The central processing unit can be used to control the communication device 1500 (e.g., a terminal device or a network device), execute software programs and / or process data. Different processors can be independent devices or integrated into one or more processors, for example, integrated on one or more application-specific integrated circuits.

[0180] In one design, processor 1501 may include program 1503 (sometimes also referred to as code or instructions), which may be executed on processor 1501 to cause communication device 1500 to perform the methods described in the embodiments below. In yet another possible design, communication device 1500 includes circuitry (not shown in FIG15) for implementing the functions of the first terminal device or network device in the above embodiments.

[0181] In one design, the communication device 1500 may include one or more memories 1502 storing a program 1504 (sometimes referred to as code or instructions), which can be run on the processor 1501 to cause the communication device 1500 to perform the methods described in the above method embodiments.

[0182] In one possible design, the processor 1501 and / or memory 1502 may also store data. The processor and memory may be configured separately or integrated together.

[0183] In one possible design, the communication device 1500 may further include a transceiver 1505 and / or an antenna 1506. The processor 1501, sometimes referred to as a processing unit, controls the communication device 1500. The transceiver 1505, sometimes referred to as a transceiver unit, transceiver, transceiver circuit, or transceiver, is used to realize the transmission and reception functions of the communication device 1500 through the antenna 1506.

[0184] In one possible design, the communication device 1500 may further include one or more of the following components: a wireless communication module, an audio module, an external memory interface, internal memory, a universal serial bus (USB) interface, a power management module, an antenna, a speaker, a microphone, an input / output module, a sensor module, a motor, a camera, or a display screen, etc. It is understood that in some embodiments, the communication device 1500 may include more or fewer components, or some components may be integrated, or some components may be separated. These components may be implemented in hardware, software, or a combination of software and hardware.

[0185] The communication device in the above embodiments can be a first terminal device or a network device, a circuit, a chip applied in a terminal device or network device, or other combined devices or components having the aforementioned first terminal device or network device. When the communication device is a terminal device, the transceiver module can be a transceiver, which may include an antenna and radio frequency circuits, etc., and the processing module can be a processor, such as a CPU. When the communication device is a chip system, the communication device can be an FPGA, a dedicated ASIC, a SoC, a CPU, a network processor (NP), a DSP, a microcontroller unit (MCU), a programmable logic device (PLD), or other integrated chips. The processing module can be the processor of the chip system. The transceiver module or communication interface can be the input / output interface or interface circuit of the chip system. For example, the interface circuit can be a code / data read / write interface circuit. The interface circuit can be used to receive code instructions (the code instructions are stored in memory and can be read directly from memory or through other devices) and transmit them to the processor; the processor can be used to run the code instructions to execute the methods in the above method embodiments. For example, the interface circuit can also be a signal transmission interface circuit between the communication processor and the transceiver.

[0186] This application also provides a communication system, which includes at least one first device and at least one second device. The terminal device is a terminal device used to implement the functions related to the above-described communication method, and the network device is a network device used to implement the functions related to the above-described communication method.

[0187] This application also provides a computer-readable storage medium including instructions that, when run on a computer, cause the method executed by the first device or the second device in the above-described communication method to be executed.

[0188] This application also provides a computer program product, including computer program code, which, when executed, causes the method executed by the first device or the second device in the above-described communication method to be executed.

[0189] This application provides a chip system including a processor and potentially a memory, for implementing the functions of the first or second device in the aforementioned communication method. The chip system can be composed of chips or may include chips and other discrete components.

[0190] To achieve the functions of the communication devices shown in Figures 14 and 15, this application embodiment also provides a chip, including a processor, for supporting the communication device in implementing the functions involved in the first or second device in the above method embodiments. In one possible design, the chip is connected to a memory or the chip includes a memory for storing necessary computer programs, instructions, and data for the communication device.

[0191] It should be understood that in the various embodiments of this application, the order of the above-mentioned processes 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.

[0192] Those skilled in the art will recognize that the various illustrative logical blocks and steps described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software 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, but such implementations should not be considered beyond the scope of this application.

[0193] Those skilled in the art will understand that, for the sake of convenience and brevity, the specific working processes of the systems, devices, and units described above can be referred to the corresponding processes in the foregoing method embodiments, and will not be repeated here.

[0194] In the several embodiments provided in this application, it should be understood that the disclosed systems, apparatuses, and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of 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 system, or some features may be ignored or not executed. Furthermore, the coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.

[0195] The units described as separate components may or may not be physically separate. The components shown as units may or may not be physical units; that is, they may be located in one place or distributed across multiple network units. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.

[0196] If the aforementioned functions are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the essential contributing part of the technical solution of this application, or a portion of the technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions to cause a computer device (which may be a personal computer, server, or network device, etc.) to execute all or part of the steps of the methods described in the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.

[0197] Obviously, those skilled in the art can make various modifications and variations to this application without departing from the scope of this application. Therefore, if such modifications and variations fall within the scope of the claims of this application and their equivalents, this application also intends to include such modifications and variations.

Claims

1. A communication method characterized by comprising: Applied to the first device, including: After determining that random access has failed, the random access resource for re-execution of random access is determined according to the first information. The first information is used to indicate that the random access resource is a resource in the first resource or a resource in the second resource. The first resource is a resource for random access of multiple services, and the second resource is a resource dedicated to random access of the first service. The multiple services include the first service. Random access is performed on the random access resource.

2. The method of claim 1, wherein, The first resource is indicated by one of the following: System information block, or paging message.

3. The method of claim 1, wherein, The second resource is indicated via a paging message.

4. The method according to any one of claims 1 to 3, characterized in that, The first information includes one of the following: The group identifier in the paging message and the energy threshold corresponding to the first device.

5. The method of claim 4, wherein, The first information includes the group identifier, and the first device belongs to the devices included in the group identifier.

6. The method according to claim 4 or 5, characterized in that, The first information includes the energy threshold, and the energy of the first device is lower than the energy threshold.

7. The method according to claim 5 or 6, characterized in that, The random access resource is the random access resource that is closest to the third resource, between the first resource and the second resource; or, The random access resource is one of the first resource and the second resource whose distance from the third resource is less than a distance threshold; The third resource is the random access resource used when the first device fails to access the network.

8. The method of claim 7, wherein, Among the first resource and the second resource, there are N random access resources whose distance to the third resource is less than a distance threshold. The first information includes N values, where the Xth value is less than the (X+1)th value. The energy threshold is the Xth value, and N is a positive integer; X is a positive integer less than or equal to N. The random access resource is the Xth random access resource closest to the third resource among the random access resources that are less than a distance threshold between the first resource and the second resource.

9. The method according to any one of claims 6-8, characterized in that, The energy of the first device is associated with one or more of the following: The data transmission time currently supported by the first device, or the data transmission volume currently supported by the first device.

10. The method of any one of claims 1-3, wherein, The first information is contained in the paging message, and the first information is one or more of the following: Service priority information and random access resource information corresponding to different services.

11. The method of any one of claims 1-3, wherein, The first information is contained in a paging message or system information block, and the first information is one or more of the following: Different random access resources correspond to different service types, and different random access resources correspond to different access times.

12. A communication method characterized by comprising: Applied to a second device, including: First information is determined, which is used to instruct the first device to re-execute the random access resource after the random access fails; Send the first message; The first information is included in the paging message, and the first information is one or more of the following: service priority information, random access resource information corresponding to different services; or, The first information is included in a paging message or a system information block, and the first information is one or more of the following: a service type corresponding to different random access resources, an access occasion corresponding to different random access resources.

13. A communications device, characterized by Comprising: at least one processor; for running some or all of the computer program or data, such that a method as claimed in any of claims 1-11 or claim 12 is performed.

14. A communication system, characterized by comprising a first device and a second device; the first device is configured to implement a method as claimed in any of claims 1-11; the second device is configured to implement a method as claimed in claim 12.

15. A computer-readable storage medium, characterized in that, the computer readable storage medium stores instructions which, when executed by a computer, cause a method as claimed in any of claims 1-12 to be performed.

16. A computer program product comprising computer programs or instructions, characterized in that, the computer program or instructions, when run on a computer, cause a method as claimed in any of claims 1-12 to be performed.