Communication method and communication apparatus

By establishing and maintaining the mapping relationship between the SSB index and RO of the serving cell in the communication system, the complexity and computing power overhead of sending SSBs on demand are solved, and network energy saving and efficient operation of terminal equipment are achieved.

WO2026233350A1PCT designated stage Publication Date: 2026-11-12HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2026/095145
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2025-05-21
Filing Date
2026-05-07
Publication Date
2026-11-12

AI Technical Summary

Technical Problem

In a communication system, when the serving cell is configured with on-demand synchronization signal blocks (SSBs), how to determine the mapping relationship between the SSB index and the random access channel timing (RO) to reduce the complexity and computing power overhead of terminal equipment?

Method used

By determining the mapping relationship between the N SSB indices and M ROs of the serving cell, this mapping relationship is established and maintained. This includes the correspondence between the indices and ROs of SSBs that are always sent and those that are sent on demand, reducing the need to re-determine the mapping relationship when the on-demand SSB transmission status changes.

Benefits of technology

This reduces the complexity and computational overhead of re-determining the SSB index and RO mapping relationship when the terminal device transmits a state change on-demand SSB, thereby improving network energy efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2026095145_12112026_PF_FP_ABST
    Figure CN2026095145_12112026_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a communication method and a communication apparatus. The method comprises: determining a mapping relationship between N synchronization signal block (SSB) indexes of a serving cell and M ROs, wherein the N SSB indexes are all SSB indexes configured for the serving cell, and the N SSB indexes include all SSB indexes correspondingly configured for P types of on-demand SSBs configured for the serving cell; and on the basis of the mapping relationship, determining an RO corresponding to one of the N SSB indexes, and sending a random access request message. By means of the method, when on-demand SSBs are configured for a serving cell, a mapping relationship between all configured SSB indexes in the serving cell and ROs is established, so that when sent on-demand SSBs change, there is no need to re-determine a mapping relationship between different SSB indexes and the ROs, thereby reducing implementation complexity of a terminal device and reducing computing overhead.
Need to check novelty before this filing date? Find Prior Art

Description

Communication methods and communication devices

[0001] This application claims priority to two Chinese patent applications filed with the China National Intellectual Property Administration on May 9, 2025, application number 202510603479.6, entitled "Communication Method and Communication Device", and on May 21, 2025, application number 202510662084.3, entitled "Communication Method and Communication Device", the entire contents of which are incorporated herein by reference. Technical Field

[0002] This application relates to the field of wireless communication, and more specifically, to a communication method and a communication device. Background Technology

[0003] In current communication systems, network devices periodically transmit common signals (also known as always-transmitted common signals) to facilitate terminal identification and access to the network. However, this frequent and periodic transmission of common signals results in significant overhead for network devices. To address this, Release 19 (R19) of the 3rd Generation Partnership Project (3GPP) began researching network energy saving (NES), proposing the introduction of adaptive processing of common signals in certain cells to achieve energy savings.

[0004] To enhance network energy efficiency, the Release 19 (R19) standard discussions are exploring the issue of on-demand transmission of the serving cell's synchronization signal block (SSB). This means that the SSB on the serving cell can be transmitted non-periodically, but rather as an on-demand SSB (OD-SSB). It is transmitted only when there is demand, and not when there is no demand, thus achieving network energy savings.

[0005] When performing random access, the terminal device can determine the SSB index corresponding to the beam with the best signal quality among the received beams, and further determine the RO corresponding to the SSB index through the mapping relationship between the SSB index and the random access channel occasion (RO), and initiate random access on the RO.

[0006] When an on-demand SSB is configured in the serving cell, determining the mapping relationship between the SSB index and the RO is an urgent problem to be solved. Summary of the Invention

[0007] This application provides a communication method and a communication device that can determine the mapping relationship between SSB index and RO.

[0008] Firstly, a communication method is provided. This method can be applied to the terminal side; that is, it can be executed by the terminal device or by components of the terminal device (such as a chip, chip system, circuit, or communication module). This application does not limit the scope of the method. The following description mainly uses a terminal device as an example.

[0009] The method may include: determining the mapping relationship between N synchronization signal block (SSB) indices and M random access channel (RO) opportunities of the serving cell, wherein the N SSB indices are all SSB indices configured for the serving cell, and the N SSB indices include all SSB indices configured for P types of on-demand synchronization signal blocks (SSBs) of the serving cell, wherein N, M, or P are positive integers; and determining the RO corresponding to one of the N SSB indices according to the mapping relationship to send a random access request message.

[0010] Based on the above scheme, when the serving cell is configured with on-demand SSB, a mapping relationship between all configured SSB indices and ROs on the serving cell is established. Therefore, when the on-demand SSB is changed, it is not necessary to redetermine the mapping relationship between different SSB indices and ROs, which can reduce the complexity of terminal equipment implementation and reduce computing power overhead.

[0011] In some implementations, the N SSB indices include all SSB indices configured for the P types of on-demand synchronization signal blocks (SSBs) of the serving cell, including: the N SSB indices include the SSB indices corresponding to the set of multiple SSB burst set position parameters (ssb-PositionsInBurst) configured for the P types of on-demand SSBs of the serving cell.

[0012] For example, the N SSB indices are SSB indices provided by the combined set of multiple ssb-PositionsInBurst configured for multiple on-demand SSBs in the ServingCellConfigCommon of the RRC configuration message.

[0013] In some implementations, the N SSB indices are determined based on the RRC configuration message, for example, based on the SSB configuration information in the RRC configuration message. For example, the SSB configuration information is the parameter ssb-PositionsInBurst.

[0014] In some implementations, the RO is determined by RO configuration information, such as the RO configuration information in the RRC configuration message. This RO configuration information is used to determine the time-frequency domain resources of the PRACH, that is, to determine the location of the time-frequency domain resources of the RO in the serving cell.

[0015] For example, RO configuration information may include the parameters prach-ConfigurationIndex, msg1-FrequencyStart, and msg1-FDM from the RRC configuration message.

[0016] In some implementations, each of the P types of on-demand SSBs corresponds to at least one beam pattern, the P types of on-demand SSBs correspond to L types of beam patterns, each of the L types of beam patterns corresponds to at least one SSB index, and the union of the SSB indices corresponding to the L types of beam patterns corresponds to the N SSB indices, where L is a positive integer.

[0017] In some implementations, the N SSB indices also include all SSB indices configured for the always-on synchronization signal block (always-on SSB) of the serving cell.

[0018] Based on the above scheme, a mapping relationship is established between all configured SSB indexes (including all SSB indexes corresponding to always-on SSB and on-demand SSB) and ROs on the serving cell. Thus, when the on-demand SSB is changed, it is not necessary to redetermine the mapping relationship between different SSB indexes and ROs, which can reduce the complexity of terminal equipment implementation and reduce computing power overhead.

[0019] In some implementations, the always-on SSB corresponds to K beam patterns, each of the P on-demand SSBs corresponds to at least one beam pattern, the P on-demand SSBs correspond to L beam patterns, each of the K beam patterns or the L beam patterns corresponds to at least one SSB index, and the union of the SSB indices corresponding to the K beam patterns and the L beam patterns corresponds to the N SSB indices, where K or L is a positive integer.

[0020] In some implementations, if the transmission of the P types of on-demand SSBs is indicated by an RRC configuration message, and the serving cell is not configured with always-on SSBs, then the N SSB indices include all SSB indices corresponding to the P types of on-demand SSBs.

[0021] Based on the above scheme, for semi-static on-demand SSBs, a mapping relationship between all configured SSB indexes and ROs on the serving cell can be established.

[0022] In some implementations, if the transmission of the P types of on-demand SSB is indicated by MAC CE or DCI, and the serving cell is not configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to the P types of on-demand SSB.

[0023] Based on the above scheme, for dynamically indicated on-demand SSBs, and when the serving cell is not configured with always-on SSBs, a mapping relationship between all configured SSB indexes and ROs on the serving cell can be established.

[0024] In some implementations, if the transmission of the P types of on-demand SSB is indicated by an RRC configuration message, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to the always-on SSB and all SSB indices corresponding to the P types of on-demand SSB.

[0025] Based on the above scheme, for semi-static on-demand SSBs, a mapping relationship between all configured SSB indexes and ROs on the serving cell can be established.

[0026] In some implementations, if the transmission of the P types of on-demand SSB is indicated by MAC CE or DCI, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices of the always-on SSB, but do not include the SSB indexes corresponding to the P types of on-demand SSB.

[0027] Based on the above scheme, for dynamically indicated on-demand SSBs, and when the serving cell is configured with always-on SSBs, only the mapping relationship between the SSB index and RO corresponding to the always-on SSB on the serving cell needs to be established, thereby saving computing power.

[0028] In some implementations, the M ROs are all the ROs configured for the serving cell, and all the ROs include valid ROs and invalid ROs on the serving cell at any given time; the step of determining the RO corresponding to one of the N SSB indices according to the mapping relationship and sending a random access request message includes: determining the valid RO among one or more ROs corresponding to one of the N SSB indices according to the mapping relationship and sending a random access request message.

[0029] Based on the above scheme, the mapping relationship between the SSB index and RO can be determined once, and after the on-demand SSB transmission status changes, it is not necessary to re-determine the validity of RO, nor is it necessary to re-determine the mapping relationship between the SSB index and RO.

[0030] In some implementations, the M ROs are valid ROs determined based on the time-frequency domain resource location information corresponding to the N SSB indices and the time-frequency domain resource location information of the ROs.

[0031] Based on the above scheme, the mapping relationship between the SSB index and RO can be determined once, and after the on-demand SSB transmission status changes, it is not necessary to re-determine the validity of RO, nor is it necessary to re-determine the mapping relationship between the SSB index and RO.

[0032] Secondly, a communication method is provided. This method can be applied to the network side; that is, it can be executed by a network device or by a component of the network device (such as a chip, chip system, circuit, or communication module). This application does not limit the scope of the method. The following description mainly uses a network device as an example.

[0033] The method may include: determining the mapping relationship between N synchronization signal block (SSB) indices and M random access channel (RO) opportunities of a serving cell, wherein the N SSB indices are all SSB indices configured for the serving cell, and the N SSB indices include all SSB indices configured for P types of on-demand synchronization signal blocks (SSBs) of the serving cell, wherein N, M, or P are positive integers; receiving a random access request message, and determining the SSB index corresponding to the RO that sends the random access request message based on the RO that sends the random access request message and the mapping relationship.

[0034] In some implementations, each of the P types of on-demand SSBs corresponds to at least one beam pattern, the P types of on-demand SSBs correspond to L types of beam patterns, each of the L types of beam patterns corresponds to at least one SSB index, and the union of the SSB indices corresponding to the L types of beam patterns corresponds to the N SSB indices, where L is a positive integer.

[0035] In some implementations, the N SSB indices also include all SSB indices configured for the always-on synchronization signal block (always-on SSB) of the serving cell.

[0036] In some implementations, the always-on SSB corresponds to K beam patterns, each of the P on-demand SSBs corresponds to at least one beam pattern, the P on-demand SSBs correspond to L beam patterns, each of the K beam patterns or the L beam patterns corresponds to at least one SSB index, and the union of the SSB indices corresponding to the K beam patterns and the L beam patterns corresponds to the N SSB indices, where K or L is a positive integer.

[0037] In some implementations, if the transmission of the P types of on-demand SSBs is indicated by an RRC configuration message, and the serving cell is not configured with always-on SSBs, then the N SSB indices include all SSB indices corresponding to the P types of on-demand SSBs.

[0038] In some implementations, if the transmission of the P types of on-demand SSB is indicated by MAC CE or DCI, and the serving cell is not configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to the P types of on-demand SSB.

[0039] In some implementations, if the transmission of the P types of on-demand SSB is indicated by an RRC configuration message, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to the always-on SSB and all SSB indices corresponding to the P types of on-demand SSB.

[0040] In some implementations, if the transmission of the P types of on-demand SSB is indicated by MAC CE or DCI, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices of the always-on SSB, but do not include the SSB indexes corresponding to the P types of on-demand SSB.

[0041] In some implementations, the M ROs are all the ROs configured for the serving cell, and all ROs include the valid ROs and invalid ROs on the serving cell at any given time.

[0042] In some implementations, the M ROs are valid ROs determined based on the time-frequency domain resource location information corresponding to the N SSB indices and the time-frequency domain resource location information of the ROs.

[0043] Thirdly, a communication method is provided. This method can be applied to the terminal side; that is, it can be executed by the terminal device or by components of the terminal device (such as a chip, chip system, circuit, or communication module). This application does not limit the scope of the method. The following description mainly uses a terminal device as an example.

[0044] The method may include: determining a mapping relationship between R synchronization signal block (SSB) indices and M random access channel (RO) opportunities of a serving cell, wherein the R SSB indices are a subset of all SSB indices configured in the serving cell, the serving cell is configured with Q types of SSBs, the Q types of SSBs include P types of on-demand synchronization signal blocks (SSBs), and the R SSB indices are the SSB indices configured corresponding to the first SSB among the Q types of SSBs, wherein R, M, or P are positive integers; and determining the RO corresponding to one of the R SSB indices based on the mapping relationship to send a random access request message.

[0045] In some implementations, the Q-type SSB also includes a U-type always-on SSB, where U is an integer greater than or equal to 1.

[0046] In some implementations, the method further includes: receiving first information, the first information being used to indicate the first SSB. The SSB index corresponding to the first SSB can be a set consisting of SSB indices configured for one type of SSB among Q types of SSBs, or it can be the union of SSB indices configured for several types of SSBs among Q types of SSBs.

[0047] In some implementations, the first SSB is the SSB index configured corresponding to the SSB with the smallest index value among the Q types of SSBs.

[0048] In some implementations, the first SSB is the SSB index configured corresponding to the SSB with the largest index value among the Q types of SSBs.

[0049] In some implementations, the Q types of SSBs correspond to Q types of beam patterns, and each of the Q types of beam patterns includes the same R beams. The R SSB indices are the SSB indices corresponding to the same R beams.

[0050] In some implementations, the M ROs are valid ROs determined based on the time-frequency domain resource location information corresponding to the R SSB indices and the time-frequency domain resource location information of the ROs.

[0051] Fourthly, a communication method is provided. This method can be applied to the network side; that is, it can be executed by a network device or by a component of the network device (such as a chip, chip system, circuit, or communication module). This application does not limit this. The following description mainly uses a network device as an example.

[0052] The method may include: determining the mapping relationship between R synchronization signal block (SSB) indices and M random access channel (RO) opportunities of a serving cell, wherein the R SSB indices are a subset of all SSB indices configured for the serving cell, the serving cell is configured with Q types of SSBs, the Q types of SSBs include P types of on-demand synchronization signal blocks (SSBs), and the R SSB indices are the SSB indices configured corresponding to the first SSB among the Q types of SSBs, wherein R, M, or P are positive integers; receiving a random access request message, and determining the SSB index corresponding to the RO that sends the random access request message based on the RO that sends the random access request message and the mapping relationship.

[0053] In some implementations, the Q-type SSB also includes a U-type always-on SSB, where U is an integer greater than or equal to 1.

[0054] In some implementations, the method further includes: sending first information, the first information being used to indicate the first SSB.

[0055] In some implementations, the first SSB is the SSB index configured corresponding to the SSB with the smallest index value among the Q types of SSBs.

[0056] In some implementations, the first SSB is the SSB index configured corresponding to the SSB with the largest index value among the Q types of SSBs.

[0057] In some implementations, the Q types of SSBs correspond to Q types of beam patterns, and each of the Q types of beam patterns includes the same R beams. The R SSB indices are the SSB indices corresponding to the same R beams.

[0058] In some implementations, the M ROs are valid ROs determined based on the time-frequency domain resource location information corresponding to the R SSB indices and the time-frequency domain resource location information of the ROs.

[0059] Fifthly, a communication apparatus is provided for performing the methods of any one of the first to fourth aspects and any possible implementation thereof. Specifically, the apparatus may include units and / or modules for performing the methods of any one of the first and second aspects and any possible implementation thereof, such as processing units and / or communication units.

[0060] In one implementation, the device is a communication device (such as a terminal device or a network device). When the device is a communication device, the communication unit can be a transceiver or an input / output interface; the processing unit can be at least one processor. Optionally, the transceiver can be a transceiver circuit. Optionally, the input / output interface can be an input / output circuit.

[0061] In another implementation, the device is a chip, chip system, circuit, or communication module for communication equipment (such as terminal equipment or network equipment). When the device is a chip, chip system, or circuit for communication equipment, the communication unit can be an input / output interface, interface circuit, output circuit, input circuit, pin, or related circuit on the chip, chip system, or circuit; the processing unit can be at least one processor, processing circuit, or logic circuit.

[0062] A sixth aspect provides a communication device comprising: at least one processor configured to cause the device to perform any of the first to fourth aspects and any possible implementation thereof.

[0063] Optionally, the at least one processor is configured to execute computer programs or instructions to perform the methods of any of the first to fourth aspects and any possible implementation thereof.

[0064] Optionally, the device further includes a memory for storing the computer program or instructions.

[0065] Optionally, the at least one processor is coupled to a memory for storing the computer program or instructions. The memory may be located externally to the device.

[0066] Optionally, the device also includes a communication interface through which the processor reads instructions from memory. This can be understood as the communication interface being coupled to the processor and used to input computer programs or instructions to the processor, or to output information from the processor.

[0067] Unless otherwise specified, or if the transmission and acquisition / reception operations involved do not contradict their actual function or internal logic in the relevant description, they can be understood as output, input, or other operations, or as transmission and reception operations performed by radio frequency circuits and antennas. This application does not limit them in this regard.

[0068] In one implementation, the device is a communication device (such as a terminal device or a network device).

[0069] In another implementation, the device is a chip, chip system, circuit, or communication module for communication equipment (such as terminal equipment or network equipment). Optionally, the chip is a modem chip, also known as a baseband chip, or a system-on-chip (SoC) chip containing a modem core or a system-in-package (SIP) chip.

[0070] In a seventh aspect, a computer-readable storage medium is provided, on which a computer program (e.g., program code) or instructions are stored, which, when executed on a communication device, cause the communication device to perform the methods of any one of the first to fourth aspects and any possible implementation thereof.

[0071] Eighthly, a computer program product containing instructions is provided, which, when run on a computer, causes the computer to perform any of the first to fourth aspects and any possible implementation thereof.

[0072] Ninthly, embodiments of this application provide a chip or chip system, including an interface circuit and one or more processors. The one or more processors are coupled to a memory. The memory is used to store part or all of a computer program, code, or instructions necessary for implementing the functions involved in the methods described in any of the above aspects or any of their implementations. The one or more processors are executable to the computer program, code, or instructions, causing the communication device to implement the methods described in any of the above aspects or any of their implementations when the computer program, code, or instructions are executed. The interface circuit is used to implement communication functions within the communication device and / or communication functions between the communication device and other devices or components.

[0073] In one possible design, the processor is used to communicate with other devices or components through the interface circuit.

[0074] In one possible design, the chip or chip system may also include the memory.

[0075] A tenth aspect provides a communication system, including a first communication device and a second communication device. The first communication device is configured to execute a method provided in any implementation of the first aspect, and the second communication device is configured to execute a method provided in any implementation of the second aspect; or, the first communication device is configured to execute a method provided in any implementation of the third aspect, and the second communication device is configured to execute a method provided in any implementation of the fourth aspect. Attached Figure Description

[0076] Figure 1 is a schematic diagram of a wireless communication system applicable to an embodiment of this application.

[0077] Figure 2 is another schematic diagram of a wireless communication system applicable to an embodiment of this application.

[0078] Figure 3 is a schematic diagram of an access network device applicable to an embodiment of this application.

[0079] Figure 4 is a schematic diagram of a beam scanning method.

[0080] Figure 5 is a schematic diagram of the mapping relationship between SSB index and RO.

[0081] Figure 6 is a schematic diagram of a beam scanning method.

[0082] Figure 7 is a schematic flowchart of a communication method provided in an embodiment of this application.

[0083] Figure 8 is a schematic diagram of the mapping relationship between an SSB index and a RO provided in an embodiment of this application.

[0084] Figure 9 is a schematic flowchart of a communication method provided in an embodiment of this application.

[0085] Figure 10 is a schematic diagram of a communication device provided in an embodiment of this application.

[0086] Figure 11 is a schematic diagram of another communication device provided in an embodiment of this application.

[0087] Figure 12 is a schematic diagram of a chip system provided in an embodiment of this application. Detailed Implementation

[0088] The technical solutions in this application will now be described with reference to the accompanying drawings.

[0089] Before introducing the scheme of this application, the following points should be noted.

[0090] (1) In this application, "instruction" can include direct instruction, indirect instruction, explicit instruction, implicit instruction, etc. When describing an instruction information as indicating A, it can be understood that the instruction information carries A, carries the identifier of A, carries B which is associated with A, carries the identifier of B which is associated with A, etc. In other words, if the receiving side of an instruction information can determine A based on the instruction information, it can be described as the instruction information indicating A, and the specific method of determination is not limited. When it is understood that the instruction information carries A, "instruction" can be replaced with "includes". In this case, a statement such as "send / receive instruction information, the instruction information indicates A" can be replaced with "send / receive A".

[0091] In this application, the information indicated by the instruction information is called the information to be instructed. In specific implementations, there are many ways to indicate the information to be instructed, such as, but not limited to, directly indicating the information to be instructed, such as the information to be instructed itself or its index. It can also indirectly indicate the information to be instructed by indicating other information, where there is a relationship between the other information and the information to be instructed. It can also indicate only a part of the information to be instructed, while the other parts are known or pre-agreed upon. For example, the instruction of specific information can be achieved by using a pre-agreed (e.g., protocol-defined) arrangement of various pieces of information, thereby reducing instruction overhead to some extent. Furthermore, the information to be instructed can be sent as a whole or divided into multiple sub-information pieces, and the sending period and / or timing of these sub-information pieces can be the same or different.

[0092] (2) In this application, the expression " / " is used to indicate that the objects before and after are in an "or" relationship; for example, A / B can mean: A or B. The expression "and / or" is used to indicate that the objects before and after are in a relationship of either "and" or "or"; for example, A and / or B can mean the following: A exists alone, B exists alone, A and B exist simultaneously, where A and B can be single or multiple. "At least one of the following" or similar expressions are used to indicate any combination of the listed items; for example, at least one of A, B and / or C can mean the following: A exists alone, B exists alone, C exists alone, A and B exist simultaneously, B and C exist simultaneously, A and C exist simultaneously, A, B and C exist simultaneously, where A, B, and C can be single or multiple.

[0093] (3) In this application, "send" and "receive" indicate the direction of signal transmission. For example, "send information to XX" can be understood as the destination of the information being XX, which may include direct transmission via the air interface or indirect transmission by other units or modules via the air interface. "Receive information from YY" can be understood as the source of the information being YY, which may include direct reception from YY via the air interface or indirect reception from YY by other units or modules via the air interface. "Send" can also be understood as the "output" of the chip interface, and "receive" can also be understood as the "input" of the chip interface. In other words, sending and receiving can occur between devices, such as between 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.

[0094] (4) In the various embodiments of this application, unless otherwise specified or in case of logical conflict, the terms and / or descriptions of different embodiments are consistent and can be referenced by each other. The technical features of different embodiments can be combined to form new embodiments according to their inherent logical relationship.

[0095] (5) In this application, “first”, “second”, and “#1”, “#2”, “#A” are only for the convenience of description and are used to distinguish objects. This description is not used to describe the order or sequence of features and is not used to limit the scope of the embodiments of this application.

[0096] (6) In this application, "predefined" can mean a standard protocol predefined, or it can mean a pre-agreed or pre-negotiated agreement between devices. Here, "protocol" can refer to a standard protocol in the field of communications, for example, it may include fourth-generation (4G) protocols. th Generation 4G network, fifth generation (5G) network th This application does not limit the scope to network protocols such as 5G (generation, 5G), New Radio (NR), 5.5G, and related protocols used in future communication networks.

[0097] (7) In this application, the words “exemplary,” “for example,” etc., are used to indicate examples, illustrations, or descriptions. Any embodiment or design described as an “example” in this application should not be construed as being more preferred or advantageous than other embodiments or designs. Specifically, the use of the word “example” is intended to present the concept in a concrete manner. In the embodiments of this application, “of,” “corresponding, relevant,” and “corresponding” may sometimes be used interchangeably, and it should be noted that their intended meanings are consistent unless their distinction is emphasized.

[0098] (8) In this application, the terms “information”, “message” or “message” may be used interchangeably.

[0099] First, let me introduce the communication system to which this application applies.

[0100] The technical solutions provided in this application can be applied to various communication systems, such as 5th generation (5G) or new radio (NR) systems, long term evolution (LTE) systems, LTE frequency division duplex (FDD) systems, and LTE time division duplex (TDD) systems. The technical solutions provided in this application can also be applied to future communication network systems. Furthermore, the technical solutions provided in this application can be applied to device-to-device (D2D) communication, vehicle-to-everything (V2X) communication, machine-to-machine (M2M) communication, machine-type communication (MTC), and Internet of Things (IoT) communication systems. The technical solutions provided in this application can also be applied to non-terrestrial network (NTN) systems such as inter-satellite communication and satellite communication.

[0101] As an example, a satellite communication system includes a satellite base station and terminal equipment. The satellite base station provides communication services to the terminal equipment. Satellite base stations can also communicate with each other. A satellite can act as a base station or as a terminal device. Here, "satellite" can refer to drones, hot air balloons, low-Earth orbit satellites, medium-Earth orbit satellites, high-Earth orbit satellites, etc. "Satellite" can also refer to non-terrestrial base stations or non-terrestrial equipment.

[0102] As an example, V2X communication can include: vehicle-to-vehicle (V2V) communication, vehicle-to-infrastructure (V2I) communication, vehicle-to-pedestrian (V2P) communication, and vehicle-to-network (V2N) communication.

[0103] In a communication system, a device can send signals to or receive signals from another device. These signals can include information, signaling, or data. The device can also be replaced by an entity, network entity, communication equipment, communication module, node, communication node, etc. This application uses a device as an example for description.

[0104] The terminal device in this application embodiment can be a device or module that accesses the aforementioned communication system and has corresponding communication functions. The terminal device can include various devices with wireless communication capabilities, which can be used to connect people, objects, machines, etc. The terminal device can be widely applied in various scenarios, such as: cellular communication, D2D, V2X, peer-to-peer, M2M, MTC, IoT, virtual reality (VR), augmented reality (AR), industrial control, autonomous driving, telemedicine, smart grids, smart furniture, smart offices, smart wearables, smart transportation, smart cities, drones, robots, remote sensing, passive sensing, positioning, navigation and tracking, autonomous delivery, etc. The terminal device can be a terminal in any of the above scenarios, such as an MTC terminal, an IoT terminal, etc. Terminal equipment can be user equipment (UE), terminal, fixed equipment, mobile station equipment or mobile equipment, subscriber unit, handheld device, vehicle-mounted equipment, wearable device, cellular phone, smartphone, session initiation protocol (SIP) phone, wireless data card, personal digital assistant (PDA), computer, tablet computer, laptop computer, wireless modem, handset, laptop computer, computer with wireless transceiver capability, smart book, vehicle, satellite, global positioning system (GPS) device, target tracking device, aircraft (e.g., drone, helicopter, multiple helicopters, four helicopters, or airplanes), ship, remote control device, smart home device, industrial equipment, transportation vehicle with wireless communication capability, communication module, or roadside unit with terminal function, all conforming to the 3rd generation partnership project (3GPP) standard. The device may be a wireless communication unit (RSU), or a device built into the aforementioned device (e.g., a communication module, modem, or chip in the aforementioned device), or other processing devices connected to the wireless modem.

[0105] It should be understood that in certain scenarios, a UE can also be used as a base station. For example, a UE can act as a scheduling entity, providing sidelink signals between UEs in scenarios such as V2X, D2D, and peer-to-peer.

[0106] In this embodiment, the device for implementing the functions of a terminal device, i.e., the terminal device, can be the terminal device itself, or it can be any device capable of supporting the terminal device in implementing the functions, such as a chip system, chip, circuit, or communication module (i.e., a communication module that performs communication functions). This device can be installed in the terminal device. In this embodiment, the chip system can be composed of chips, or it can include chips and other discrete devices. Furthermore, the device can also be configured with program instructions for performing corresponding communication functions.

[0107] The network device in this application embodiment can be a device or module with corresponding communication functions. The network device can be a device used to communicate with terminal devices; it can also be called an access network device or a wireless access network device, such as a base station. In this application embodiment, the network device can refer to a radio access network (RAN) node (or device) that connects the terminal device to the wireless network. A base station can broadly encompass, or be replaced by, various names including: NodeB, evolved NodeB (eNB), next-generation NodeB (gNB), relay station, access point, transmitting and receiving point (TRP), transmitter, master station, auxiliary station, multiple standard radio (MSR) node, home base station, network controller, access node, wireless node, access point (AP), transmission node, transceiver node, baseband unit (BBU), remote radio unit (RRU), active antenna unit (AAU), remote radio head (RRH), central unit (CU), distributed unit (DU), positioning node, etc. A base station can be a macro base station, micro base station, relay node, donor node, or similar, or a combination thereof. A base station can also refer to a communication module, modem, or chip installed within the aforementioned equipment or apparatus. A base station can also be a mobile switching center, a device that performs base station functions in D2D, V2X, and M2M communications, a network-side device in future communication networks, or a device that performs base station functions in future communication systems. A base station can support networks using the same or different access technologies. The embodiments of this application do not limit the specific technologies or device forms used in the network equipment.

[0108] Base stations can be fixed or mobile. For example, a helicopter or drone can be configured to act as a mobile base station, and one or more cells can move depending on the location of the mobile base station. In other examples, a helicopter or drone can be configured as a device to communicate with another base station.

[0109] In some deployments, the network devices mentioned in the embodiments of this application may be devices including CU, or DU, or devices including CU and DU, or devices with control plane CU nodes (central unit-control plane (CU-CP)) and user plane CU nodes (central unit-user plane (CU-UP)) and DU nodes.

[0110] In some deployments, multiple RAN nodes collaborate to assist terminal devices in achieving wireless access, with different RAN nodes each implementing some of the base station's functions. For example, RAN nodes can be CUs, DUs, CU-CPs, CU-UPs, or radio units (RUs). CUs and DUs can be configured separately or included in the same network element, such as a BBU. RUs can be included in radio equipment or radio units, such as RRUs, AAUs, or RRHs.

[0111] In different systems, CU (or CU-CP and CU-UP), DU, or RU may have different names, but those skilled in the art will understand their meaning. For example, a radio access network can also be an open radio access network (O-RAN) architecture. In an O-RAN system, CU can also be called an open CU (open CU, O-CU), DU can also be called an open DU (open DU, O-DU), CU-CP can also be called an open CU-CP (open CU-CP, O-CU-CP), CU-UP can also be called an open CU-UP (open CU-UP, O-CU-UP), and RU can also be called an open RU (open RU, O-RU). Any of the units among CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented through software modules, hardware modules, or a combination of software modules and hardware modules.

[0112] In this embodiment, the device for implementing the functions of a network device can be a network device itself, or a device capable of supporting the network device in implementing those functions, such as a chip system, chip, circuit, or communication module (i.e., a communication module that performs communication functions). This device can be installed within the network device. In this embodiment, the chip system can be composed of chips, or it can include chips and other discrete devices. Furthermore, the device can be configured with program instructions for performing corresponding communication functions. This embodiment only uses a network device as an example to illustrate the device for implementing the functions of a network device, and does not limit the solution of this embodiment.

[0113] Network devices and terminal devices can be deployed on land, including indoors or outdoors, handheld or vehicle-mounted; they can also be deployed on water; and they can also be deployed in the air on airplanes, balloons, and satellites. This application does not limit the scenario in which the network devices and terminal devices are located.

[0114] The communication system applicable to the embodiments of this application is briefly described below with reference to Figure 1.

[0115] Figure 1 is a schematic diagram of a wireless communication system applicable to an embodiment of this application. As shown in Figure 1, the wireless communication system includes a wireless access network 100. The wireless access network 100 may be a next-generation (e.g., future or higher version) wireless access network or a traditional (e.g., 5G, 4G, 3G, or 2G) wireless access network. One or more terminal devices (120a-120j, collectively referred to as 120) may be interconnected or connected to one or more network devices (110a, 110b, collectively referred to as 110) in the wireless access network 100. Network elements in the wireless communication system are connected through interfaces (e.g., NG, Xn) or air interfaces.

[0116] When network devices and terminal devices communicate, the network device can manage one or more cells, and a cell can include at least one terminal device. A cell can be understood as an area within the wireless signal coverage range of the network device.

[0117] Figure 1 is just a schematic diagram. The wireless communication system may also include other devices, such as core network devices, wireless relay devices and / or wireless backhaul devices, which are not shown in Figure 1.

[0118] Figure 2 is another schematic diagram of a wireless communication system applicable to embodiments of this application. This wireless communication system may also be referred to as an ORAN system, for example. The wireless communication system may include a core network, access network equipment, and a UE. As an example, the wireless communication system may also include other components besides those shown in Figure 2; specific details are not limited in this application.

[0119] Access network equipment can communicate with the core network (CN) via a backhaul link. Access network equipment can also communicate with the UE via an air interface. Specifically, the BBU in the access network equipment communicates with the core network via a backhaul link. The RU in the access network equipment communicates with at least one UE via an air interface. The BBU communicates with at least one RU via a fronthaul link; the BBU and RU may or may not be co-located. A BBU includes at least one CU and at least one DU, and the CU and DU can communicate via at least one midhaul link.

[0120] Figure 3 is a schematic diagram of an access network device applicable to an embodiment of this application.

[0121] Optionally, the access network equipment includes a CU. The CU is a logical node that carries the radio resource control (RRC), service data adaptation protocol (SDAP) layer, packet data convergence protocol (PDCP) layer, and other control functions of the access network equipment. The CU can connect to network nodes such as the core network through interfaces, such as the E2 interface. The CU may have some core network functions. The CU (e.g., the PDCP layer and / or higher layers of the CU) connects to the DU (e.g., the radio link control (RLC) layer and lower layers of the DU) through interfaces, such as the F1 interface. Optionally, the F1 interface can provide control plane (C-Plane) and user plane (U-Plane) functions (e.g., interface management, system information management, UE context management, RRC message transmission, etc.). F1AP is the application protocol of the F1 interface, defining the signaling procedures of F1 in some examples. The F1 interface supports control plane F1-C and user plane F1-U.

[0122] As an example, a CU includes CU-CP and CU-UP. CU-CP is a logical node carrying the control plane (PDCP-C) layer, which carries the RRC layer and the Packet Data Convergence Protocol layer, and is used to implement the CU's control plane functions. CU-CP can interact with network elements in the core network used to implement control plane functions. These network elements in the core network can be access and mobility function (AMF) network elements, such as the access and mobility management function (AMF) in a 5G system. The AMF network element is responsible for mobility management in the mobile network, such as terminal device location updates, terminal device registration with the network, and terminal device handover. CU-UP is a logical node carrying the user plane (PDCP-U) layer, which carries the SDAP layer and the Packet Data Convergence Protocol layer, and is used to implement the CU's user plane functions. CU-UP can interact with network elements in the core network used to implement user plane functions. These network elements in the core network, such as the user plane function (UPF) in a 5G system, are responsible for data forwarding and receiving in terminal devices. The above CU and DU configurations are merely examples. In practical applications, the functions of the CU and DU can be configured as needed. For instance, the CU or DU can be configured to have more protocol layer functions, or to have only some protocol layer processing functions. For example, some RLC layer functions and protocol layer functions above the RLC layer can be placed in the CU, while the remaining RLC layer functions and protocol layer functions below the RLC layer can be placed in the DU. Furthermore, the functions of the CU or DU can be divided according to service type or other system requirements. For example, based on latency, functions that require low latency can be placed in the DU, while functions that do not require low latency can be placed in the CU.

[0123] Optionally, the access network equipment includes a DU. As shown in Figure 3, the DU is a logical node carrying the RLC layer, medium access control (MAC) layer, higher physical layer (Higher PHY) layer, and other functions. In some examples, the DU can control at least one RU. The DU connects to the RU through interfaces, which can be fronthaul interfaces. In some examples, the Higher PHY layer includes the PHY layer processing, such as forward error correction (FEC) encoding and decoding, scrambling, modulation, and demodulation.

[0124] Optionally, the access network equipment includes an RU. As shown in Figure 3, the RU is a logical node that carries lower physical layer (PHY) and radio frequency (RF) processing. In some examples, the RU may be a 3GPP transmission reception point (TRP), a remote radio head (RRH), or other similar entities. In some examples, the Low-PHY includes PHY processing functions such as fast fourier transform (FFT), inverse fast fourier transform (IFFT), digital beamforming, and filtering. The RU communicates with one or more UEs via a radio link.

[0125] The DU and RU may or may not be co-located. The DU and RU exchange control plane and user plane information via a fronthaul link through a lower-layer split CUS-plane (LLS-CUS) interface. The LLS-CUS may include a lower-layer split control (LLS-C) interface providing the control plane (C-Plane) and a lower-layer split user (LLS-U) interface, respectively. In some examples, the control plane (C-Plane) refers to real-time control between the DU and RU. The DU and RU exchange management information via an LLS-M interface on the fronthaul link; the management plane (M-Plane) refers to non-real-time management operations between the DU and RU.

[0126] DU and RU can cooperate to implement the functions of the PHY layer. A DU can be connected to one or more RUs. The functions of DU and RU can be configured in various ways depending on the design. For example, a DU can be configured to implement baseband functions, and an RU can be configured to implement mid-RF functions. Another example is that a DU can be configured to implement higher-level functions in the PHY layer, and an RU can be configured to implement lower-level functions in the PHY layer, or to implement both lower-level and RF functions. Higher-level functions in the physical layer can include a portion of the physical layer's functions that are closer to the MAC layer, while lower-level functions in the physical layer can include another portion of the physical layer's functions that are closer to the mid-RF side.

[0127] Figures 1 to 3 above are illustrative examples, and the embodiments of this application are not limited thereto.

[0128] To facilitate understanding of the embodiments of this application, a brief explanation of the background and terminology involved in this application is provided.

[0129] 1. Synchronization signal block (SSB)

[0130] SSB, also known as synchronization signal, can comprise two parts: a synchronization signal (SS) and a physical broadcast channel block (PBCH). The SS can include a primary synchronization signal (PSS) and a secondary synchronization signal (SSS). Therefore, the SSB can also be considered to consist of three parts: PSS, SSS, and PBCH, without limitation. For example, the SSB may also include a demodulation reference signal (DMRS) (or PBCH-DMRS) required for demodulating the PBCH. As an example, the SSB is sometimes referred to as a "physical sidelink broadcast channel (PSBCH) block" (SS / PSBCH block), which is not a limitation in this application.

[0131] As an example, SSB can be used to implement the following functions: 1) cell synchronization and acquisition of the master information block (MIB); 2) beam scanning on the network device side. A brief introduction follows.

[0132] 1) Cell Synchronization and MIB Acquisition: The PSS and SSS within the SSB can carry the Physical Cell Identifier (PCI). Terminal devices obtain the PCI by detecting the PSS and SSS. Furthermore, the PBCH within the SSB can carry the SSB index. Each SSB index corresponds to the location where the SSB was sent. Cell synchronization can be completed by detecting the SSB index and the time of receiving the SSB. Additionally, the PBCH within the SSB can carry the MIB, therefore the MIB can also be obtained based on the SSB.

[0133] 2) Network Equipment Side Beam Scanning: SSBs can be transmitted in the form of beam scanning. That is, the base station can transmit a beam direction at a certain moment, and transmit different beams at multiple moments to cover the directions required for the entire cell, as shown in Figure 4. In a certain round of beam scanning, multiple SSBs are transmitted in different directions. All SSBs transmitted in this round are called the SSB Burst. The entire set of beams transmitted in this round of beam scanning can be called a beam pattern. Each beam in the beam pattern corresponds to an SSB index, and the beam pattern corresponds to an SSB pattern. An SSB pattern can contain multiple SSB indices. Different SSB indices correspond to different transmission beams of the network equipment. The terminal equipment can detect SSBs and select the transmission beam corresponding to the SSB with better quality, thus completing the beam scanning. Alternatively, the terminal equipment can also use multiple receiving beams to receive the same SSB, completing the terminal equipment side receiving beam scanning.

[0134] 2. Random Access

[0135] After completing cell search via SSB, the UE has achieved downlink synchronization with the cell and can therefore receive downlink data. However, the UE can only obtain uplink resources and perform uplink transmissions after achieving uplink synchronization with the cell. The UE establishes a connection with the cell and achieves uplink synchronization through a random access procedure. Once random access is complete, the UE will be in a connected state, and the UE and the base station can communicate via dedicated transmission.

[0136] Random access is the first message that the UE sends to the base station after it is powered on. It is called random access because from the base station's perspective, it appears to obtain the first UE signal in a random manner, since it does not know when the user turns on the UE.

[0137] The physical random access channel (PRACH) is an uplink channel used during random access procedures to transmit the random access preamble (PRACH preamble). The PRACH preamble is a pulse signal that is the information transmitted by the UE in the PRACH channel.

[0138] Through RRC configuration, the base station specifies on which time-frequency resources the UE can transmit PRACH, but whether or not to transmit is determined by the UE. These time-frequency resources specified by the base station are called ROs.

[0139] 3. SSB-RO mapping

[0140] When a UE initiates random access, it needs to select the downlink beam corresponding to a high-quality SSB (i.e., select the SSB index) and inform the network device. In order for the network device to know the location of the beam, since different beams correspond to different SSB indices, a mapping relationship between the SSB index and the RO can be configured. Based on this mapping relationship, the RO corresponding to the selected SSB index can be determined to initiate random access. Thus, the network device can determine the SSB index corresponding to the RO that initiates random access through the mapping relationship between the SSB index and the RO, and then determine the downlink beam selected by the UE.

[0141] In one implementation, the mapping relationship between the SSB index and the RO can be determined through the following steps:

[0142] Step 1: The UE receives RRC configuration information and determines the time-frequency domain positions of SSB and RO.

[0143] Step 2: The UE determines the valid RO based on the temporal location relationship between the SSB and the RO.

[0144] Step 3: The UE determines the SSB-RO mapping based on the RRC configuration information.

[0145] In step 1, after receiving the RRC configuration message from the base station, the UE determines the time-domain resources of the PRACH using parameters such as "PRACH Configuration Index" and the frequency-domain resources of the PRACH using parameters such as "Msg1 Frequency Start" and "Msg1 Frequency Division Multiplexing Order" (msg1 FDM). In other words, it determines the time-frequency domain position of the RO. Additionally, it determines the time-frequency domain position and SSB index of the SSB using the SSB PositionsInBurst information element in the RRC configuration message.

[0146] In step 2, the UE needs to determine the valid ROs based on the time-domain location of the SSB, i.e., which ROs can be used for preamble transmission. PRACH preamble can only be transmitted on the "valid ROs".

[0147] For FDD systems, all ROs are valid ROs.

[0148] For TDD systems, if the TDD uplink / downlink common configuration (tdd-UL-DL-ConfigCommon) parameter is configured in the ServingCellConfigCommon of the RRC configuration information, then for a PRACH slot, the RO is valid only if the following conditions are met: the RO is located in the uplink symbol (UL symbol); or, the RO is after the SSB, and the RO is at least N gap symbols after the last downlink symbol (DL symbol), and the RO is at least N gap symbols after the last transmitted SSB symbol.

[0149] Additionally, if the tdd-UL-DL-ConfigCommon parameter is not configured in ServingCellConfigCommon, then for a PRACH slot, the RO is valid only if the following conditions are met: the RO is after the SSB, and the RO is at least Ngap symbols after the last received SSB symbol.

[0150] The Ngap parameter mentioned above is provided in an RRC configuration message. Based on the rules established by the existing protocols, the UE can determine which Routes of Interest (ROs) are valid after receiving the RRC configuration information.

[0151] In step 3, for the SSBs (containing several ascending SSB indices) transmitted by the ssb-PositionsInBurst cell indication in the RRC configuration, firstly, they are mapped in ascending order of the PRACH preamble index within a RO; secondly, they are mapped in ascending order of the frequency domain RO; then, they are mapped in ascending order of the time domain RO within a PRACH time slot; and finally, they are mapped in ascending order of the PRACH time slot.

[0152] After the UE accesses the network, the RRC configuration message provided by the base station includes the parameter: ssb-perRACH-Occasion. This parameter indicates how many ROs a single SSB is mapped to. For example, if the base station configures this parameter to a value of oneHalf, it means that one SSB is mapped to two ROs. As another example, if the base station configures this parameter to a value of oneFourth, it means that one SSB is mapped to two ROs.

[0153] Obviously, the UE can determine the mapping relationship between the SSB index and the RO by using the SSB index of the transmitted SSB and the valid RO determined in step 2. For example, if the base station configures the transmission of 4 SSBs (indexes #0, #1, #2, #3) and indicates oneFourth through the parameter ssb-perRACH-Occasion in the RRC configuration message, then the mapping relationship between the SSB index and the RO is shown in Figure 5. Figure 5 has 16 ROs (each small square represents one), and SSB0, SSB1, SSB2, and SSB3 each correspond to 4 valid ROs.

[0154] Through the mapping between the SSB index and RO, the UE can map the indexes of valid ROs to the SSB indices one-to-one after receiving the RRC configuration information. Then, when the UE sends a PRACH preamble on a valid RO, the base station can determine which SSB the UE has selected based on this mapping, thus achieving bidirectional communication.

[0155] 4. Send SSB (on-demand)

[0156] The aforementioned SSB generally refers to always-on SSB (AO-SSB). This always-on SSB ensures that the cell still has a background signal with a relatively long period, guaranteeing the normal operation of the neighbor cell measurement mechanism. Besides always-on SSB, the SSB on the serving cell can also be sent non-periodically, as an on-demand SSB. That is, the secondary cell does not send an SSB when there is no demand; when there is demand, the base station sends an SSB and sends signaling to instruct the UE to receive it. This demand could be for cell measurement, time-frequency synchronization, secondary cell activation, etc. In this way, the base station can dynamically decide whether to send an SSB signal based on demand, achieving energy savings compared to the always-on SSB strategy.

[0157] The technical issues raised in this application are described below.

[0158] In a serving cell, a base station can be configured with two different types of SSBs: always-on SSB and on-demand SSB. Always-on SSB is generally configured with a longer period (e.g., 160ms) for purposes such as neighbor cell measurement. On-demand SSB is only triggered and transmitted in secondary cells when there is a temporary service area demand, such as for secondary cell activation, and is generally configured with a shorter period (e.g., 20ms or less).

[0159] For example, a serving cell may be configured with one always-on SSB and one or more on-demand SSBs, each with different characteristics (e.g., different center frequencies or different periods). For a given configuration of on-demand SSB, the base station can further configure one or more beam patterns. That is, for an on-demand SSB with a certain frequency and a certain period, it can be configured to transmit N beams or M beams, and these N beams and M beams can be partially the same or completely different.

[0160] Below are some specific examples of serving cells configured with on-demand SSB:

[0161] Example 1: The serving cell is configured with only one type of on-demand SSB, which is configured with K beam patterns, and these K beam patterns include N1, N2, ..., N K One beam. When the on-demand SSB is not instructed to be transmitted, there is no SSB transmission on the cell.

[0162] Example 2: An on-demand SSB is configured on the serving cell. This on-demand SSB is configured with K beam patterns, which respectively include N1, N2, ..., N K Multiple beams. Simultaneously, an always-on SSB is configured on this cell. Each round of the always-on SSB burst set contains multiple beams, which are connected to N1, N2, ..., or N... K The beams can be the same or different. When the on-demand SSB is not instructed to be transmitted, only always-on SSB transmission exists on the cell.

[0163] Example 3: A serving cell is configured with P types of on-demand SSBs, each with a different beam pattern. Simultaneously, an always-on SSB is configured on the cell, with each round of the always-on SSB burst containing multiple beams. At any given time, only one type of on-demand SSB can be in transmission mode; in this case, both on-demand and always-on SSBs are transmitting on the cell. When no on-demand SSB is instructed to transmit, only the always-on SSB is transmitting on the cell.

[0164] By configuring different beam patterns, base stations can achieve more energy-efficient SSB coverage. As shown in Figure 6, in Example 1, at time one, the UE is located in an area covered by the base station. The base station instructs the transmission of one beam pattern for on-demand SSBs, namely, transmitting SSBs with indices #1, #2, and #3. At time two, the UE moves to another area covered by the base station, which is outside the beam coverage range of SSBs with indices #1, #2, and #3. The base station instructs the transmission of another beam pattern for on-demand SSBs, namely, transmitting SSBs with indices #4, #5, and #6. Clearly, the base station adaptively matches the transmitted SSBs to the UE's location, avoiding unnecessary SSB beam transmission and saving network energy.

[0165] When an on-demand SSB is configured in the serving cell, the transmitted SSB may change, as shown in Figure 6, from SSBs with indices #1, #2, and #3 to SSBs with indices #4, #5, and #6. When the transmitted SSB changes, the SSB-RO mapping relationship should be redefined; otherwise, the random access request sent by the UE may be interpreted by the base station as mapped to the wrong SSB. However, considering that in actual network deployment scenarios, the base station dynamically changes the transmitted SSBs frequently due to UE movement, if the UE has to redetermine the SSB-RO mapping relationship every time the base station dynamically changes the transmitted SSB, it will cause problems such as high complexity and large computing power overhead in the terminal equipment implementation.

[0166] Based on this, this application provides a communication method that, when an on-demand SSB is configured in the serving cell, determines the mapping relationship between the SSB index and the RO based on the SSB index configured in the RRC, thereby reducing the complexity of terminal device implementation and reducing computing power overhead.

[0167] The methods provided by the embodiments of this application will be described in detail below with reference to the accompanying drawings. The embodiments provided by this application can be applied to the scenarios shown in the above figures and are not limited thereto. Furthermore, the terms used below are as explained above and will not be repeated hereafter. For ease of description, terminal devices and network devices are used as examples for illustrative purposes. The terminal device can be replaced by components of the terminal device (e.g., a chip, chip system, circuit, or communication module), and the network device can be replaced by components of the network device (e.g., a chip, chip system, circuit, or communication module). Furthermore, the steps described below as being performed by a single execution entity can also be divided into steps performed by multiple execution entities, which can be logically and / or physically separated.

[0168] Figure 7 is a schematic diagram of a communication method 700 provided in an embodiment of this application. The method 700 shown in Figure 7 may include the following steps.

[0169] In S710, the network device sends the SSB configuration information and RO configuration information of the serving cell to the terminal device, and the terminal device receives the corresponding SSB configuration information and RO configuration information. The SSB configuration information and RO configuration information can be carried in the RRC configuration / reconfiguration message or the SIB1 broadcast message. The upper-layer information element of the SSB configuration information and RO configuration information can be the serving cell configuration (ServingCellConfig), ServingCellConfigCommon, or ServingCellConfigCommonSIB.

[0170] First, let's introduce the SSB configuration information.

[0171] SSB configuration information is carried in RRC configuration messages or SIB1 broadcast messages. This SSB configuration information is used to determine N SSB indices for the serving cell. These N SSB indices represent all SSB indices configured for the serving cell, including all SSB indices corresponding to the P types of on-demand SSBs configured for the serving cell. Optionally, these N SSB indices also include all SSB indices corresponding to the U types of always-on SSBs configured for the serving cell. Optionally, the SSB configuration information is also used to determine the time-frequency domain resource location of the SSB.

[0172] In one implementation, the SSB configuration information may include SSB index information corresponding to each of the P types of on-demand SSBs. The SSB configuration information may also include SSB index information corresponding to each of the U types of always-on SSBs.

[0173] The N SSB indexes are the union of the P types of on-demand SSB configured SSBs and / or the U types of always-on SSB configured SSBs included in the SSB configuration information.

[0174] The above text provides three specific examples of serving cells configured with on-demand SSB. The following text will use these three examples as a basis to provide a detailed introduction to the SSB configuration information.

[0175] In Example 1, only one on-demand SSB is configured on the serving cell. This on-demand SSB is configured with two beam patterns (beam pattern 1 and beam pattern 2). For example, the network device indicates that beam pattern 1 contains two beams ({#1, #2}) through the parameter od-ssb-PositionsInBurst-1 in the RRC configuration message, and indicates that beam pattern 2 contains one beam ({#3}) through the parameter od-ssb-PositionsInBurst-2 in the RRC configuration message. Beams #1, #2, and #3 correspond to different SSB indices, such as SSB1, SSB2, and SSB3. Therefore, based on the SSB configuration information, the union of the calculated N SSB indices determines SSB1, SSB2, and SSB3, where N = 3.

[0176] It should be understood that the SSB configuration information includes the parameters od-ssb-PositionsInBurst-1 and od-ssb-PositionsInBurst-2. This on-demand SSB can also be configured with more beam patterns, which is not limited in this application. For example, the on-demand SSB can configure L beam patterns, each of the L beam patterns corresponding to at least one SSB index, and the union of the SSB indices corresponding to the L beam patterns corresponds to the N SSB indices, where L is a positive integer. The information indicating the L beam patterns is all part of the SSB configuration information.

[0177] In Example 2, an on-demand SSB is configured on the serving cell. This on-demand SSB has a beam pattern, and the network device indicates the two beams included in the on-demand SSB: {#1, #2}, through the parameter od-ssb-PositionsInBurst in the RRC configuration message. Simultaneously, an always-on SSB is configured on the same cell, and the network device indicates the four beams included in the always-on SSB: {#2, #3, #4, #5}, through the parameter ssb-PositionsInBurst in the RRC configuration message. Beams #1, #2, #3, #4, and #5 correspond to different SSB indices, such as SSB1, SSB2, SSB3, SSB4, and SSB5. Therefore, based on the SSB configuration information, the union of the calculated N SSB indices is SSB1, SSB2, SSB3, SSB4, and SSB5, where N = 5.

[0178] It should be understood that the SSB configuration information includes the parameters od-ssb-PositionsInBurst and ssb-PositionsInBurst. The always-on SSB or on-demand SSB can also be configured with more beam patterns. This application does not limit the number of beam patterns for the always-on SSB or on-demand SSB. For example, the always-on SSB can be configured with K beam patterns, and the on-demand SSB can be configured with L beam patterns. Each of the K or L beam patterns corresponds to at least one SSB index, and the union of the SSB indices corresponding to the K and L beam patterns corresponds to N SSB indices, where K or L is a positive integer. The information indicating the K and L beam patterns is all part of the SSB configuration information.

[0179] In Example 3, two types of on-demand SSBs are configured on this cell. The first type of on-demand SSB has one beam pattern. The network device indicates the two beams contained in the first type of on-demand SSB: {#1,#2}, through the parameter od-ssb-PositionsInBurst in the od-ssb-config-1 of the RRC configuration message. The second type of on-demand SSB has two beam patterns. The network device indicates the four beams contained in beam pattern 1 of the second type of on-demand SSB: {#3,#4,#5,#6}, through the parameter od-ssb-PositionsInBurst-1 in the od-ssb-config-2 of the RRC configuration message, and the two beams contained in beam pattern 2 of the second type of on-demand SSB: {#5,#6}, through the parameter od-ssb-PositionsInBurst-2 in the od-ssb-config-2 of the RRC configuration message. Simultaneously, an always-on SSB is configured on this cell. The network device indicates the one beam included in the always-on SSB via the parameter ssb-PositionsInBurst in the RRC configuration message: {#3}. Beams #1, #2, #3, #4, #5, and #6 correspond to different SSB indices, such as SSB1, SSB2, SSB3, SSB4, SSB5, and SSB6. Therefore, based on the SSB configuration information, the union of the calculated N SSB indices determines N as SSB1, SSB2, SSB3, SSB4, SSB5, and SSB6, where N = 6.

[0180] It should be understood that the SSB configuration information includes the parameter od-ssb-PositionsInBurst in od-ssb-config-1, the parameter od-ssb-PositionsInBurst-1 in od-ssb-config-2, the parameter od-ssb-PositionsInBurst-2 in od-ssb-config-2, and the parameter ssb-PositionsInBurst. The always-on SSB or the two on-demand SSBs can be configured with more beam patterns, and the serving cell can be configured with more types of on-demand SSBs. This application does not limit the number of on-demand SSBs in the serving cell, nor does it limit the number of beam patterns in the always-on SSB or any on-demand SSB. For example, the serving cell is configured with one always-on SSB and P types of on-demand SSBs. The always-on SSB is configured with K beam patterns, and the P types of on-demand SSBs are configured with L beam patterns. Each of the K or L beam patterns corresponds to at least one SSB index. The union of the SSB indices corresponding to the K and L beam patterns corresponds to N SSB indices, where K or L is a positive integer. The information indicating the K and L beam patterns belongs to the SSB configuration information.

[0181] It should be understood that the form and name of the SSB configuration information mentioned above are merely examples. This application does not limit the name and form of the SSB configuration information, as long as it can be used to determine all SSB indexes of the serving cell configuration.

[0182] The following is an introduction to the RO configuration information.

[0183] RO configuration information is carried in RRC configuration messages or SIB1 broadcast messages to determine the time-frequency domain resources of PRACH, that is, to determine the location of the time-frequency domain resources of RO in the serving cell.

[0184] For example, RO configuration information may include the parameters prach-ConfigurationIndex, msg1-FrequencyStart, and msg1-FDM from the RRC configuration message.

[0185] In one implementation, M ROs can be determined by the time-frequency domain resource location of ROs and the time-frequency domain resource location information of SSBs in the serving cell. All M ROs are valid ROs. The terminal device needs to determine the validity of the ROs after each change in the transmission status of the on-demand SSB indicated by the network device.

[0186] For example, after the terminal device obtains the RO configuration message and SSB-related configuration message of the serving cell, it determines the resources of RO and SSB in the time-frequency domain, and then determines the validity of RO according to the rules introduced in the section on valid RO above.

[0187] Specifically, the on-demand SSB in the serving cell may start transmitting at times, stop transmitting at times, or change its period and / or beam pattern at times. To ensure that the random access process on the serving cell is not affected, the terminal device needs to determine the validity of ROs after each change in the transmission status of the on-demand SSB indicated by the network device. That is, when the network device instructs the on-demand SSB on the serving cell to start or stop transmitting via signaling (e.g., MAC CE, DCI, or RRC configuration message, etc.), and / or when the on-demand SSB that is transmitting changes its period or changes its beam pattern, the terminal device needs to determine the validity of ROs after receiving the instruction to identify which ROs are valid.

[0188] S720, the terminal device determines the mapping relationship between the N SSB indices and M ROs of the serving cell.

[0189] As described in step S710, the N SSB indices are all the SSB indices configured for the serving cell, and the M ROs are the valid ROs for the serving cell. In one implementation, after receiving the SSB configuration information and RO configuration information, the terminal device determines the N SSB indices and the M ROs, and determines the mapping relationship between the N SSB indices and the M ROs.

[0190] Specifically, the terminal device first maps within a RO in ascending order according to the PRACH preamble index; secondly, it maps in ascending order according to the frequency domain RO; then, it maps in ascending order according to the time domain RO within a PRACH time slot; and finally, it maps in ascending order according to the PRACH time slot.

[0191] For example, if a network device configures a serving cell for a terminal, and configures an always-on SSB and an on-demand SSB on this serving cell, the always-on SSB is configured with beams {#0,#1}; the on-demand SSB has two beam patterns, where beam pattern 1 corresponds to the four configured beams {#2,#3,#4,#5}, and beam pattern 2 corresponds to the four configured beams {#0,#1,#6,#7}. The always-on SSB continuously transmits on the serving cell. The network device can instruct the on-demand SSB to start or stop transmission, and to change the characteristics of the on-demand SSB (e.g., stop transmitting beam pattern 1 and start transmitting beam pattern 2) via RRC configuration messages, MAC CE, or DCI. After receiving the configuration information, the terminal device performs SSB-RO mapping based on the union of all the configured SSB indices. This union is {SSB0,SSB1,SSB2,SSB3,SSB4,SSB5,SSB6,SSB7} corresponding to the beam {#0,#1,#2,#3,#4,#5,#6,#7}.

[0192] Assume the network device configures the terminal device with ssb-perRACH-Occasion=1, meaning each RO is mapped to one SSB index. As shown in Figure 8, the terminal device establishes mappings between eight SSB indices and ROs, regardless of whether on-demand SSBs are being transmitted. At the first moment, the network device instructs the transmission of beam pattern 1 for on-demand SSBs. At this time, six beams corresponding to SSB indices (SSB0, SSB1, SSB2, SSB3, SSB4, and SSB5) are actually transmitted on the cell, and the terminal device can choose an RO corresponding to a specific SSB index for random access. At the second moment, the network device instructs the transmission of beam pattern 2 for on-demand SSBs. At this time, four beams corresponding to SSB indices (SSB0, SSB1, SSB6, and SSB7) are actually transmitted on the cell, and the terminal device can again choose an RO corresponding to a specific SSB index for random access. It should be noted that this application does not limit the method or principle by which the terminal device selects SSBs.

[0193] S730 (optional step): The terminal device determines the RO corresponding to one of the N SSB indices based on the mapping relationship between the N SSB indices and the M ROs, and sends a random access request message.

[0194] Specifically, the terminal device receives one or more beams sent by the network device, determines the SSB index corresponding to one of the beams, and then determines the RO corresponding to the SSB index through the mapping relationship between N SSB indices and M ROs to initiate random access.

[0195] By using the above scheme, when the serving cell is configured with on-demand SSB, a mapping relationship is established between all configured SSB indexes and valid ROs on the serving cell. Therefore, when the on-demand SSB is changed, it is not necessary to redetermine the mapping relationship between different SSB indexes and ROs, which can reduce the complexity of terminal equipment implementation and reduce computing power overhead.

[0196] In the above method 700, the on-demand SSB configured in the serving cell can be instructed to be sent in the following two ways.

[0197] 1) Semi-static indication: The network device directly instructs the terminal device to send the on-demand SSB on the cell through the RRC configuration message.

[0198] 2) Dynamic indication: The network device provides the terminal device with the configuration information of the on-demand SSB on the cell through the RRC configuration message, and then further instructs the on-demand SSB on the cell to send through dynamic signaling such as MAC CE or DCI.

[0199] Specifically, configuring on-demand SSB in a serving cell can include the following scenarios:

[0200] Scenario 1: The serving cell is not configured with always-on SSB, and the on-demand SSB configured on the serving cell is sent in a semi-static manner using RRC configuration messages.

[0201] Scenario 2: The serving cell is configured with always-on SSB, and the on-demand SSB configured on the serving cell is sent in a semi-static manner using RRC configuration messages.

[0202] Scenario 3: The serving cell is not configured with always-on SSB, and the transmission of the on-demand SSB configured on the serving cell is dynamically indicated by MAC CE or DCI.

[0203] Scenario 4: Always-on SSB is configured on the serving cell, and the transmission of on-demand SSB configured on the serving cell is dynamically indicated by MAC CE or DCI.

[0204] In one implementation, method 700 of this application can be applied to cases 1 to 3 above.

[0205] For example, corresponding to case 1, if the transmission of type P on-demand SSB is indicated by an RRC configuration message and always-on SSB is not configured on the serving cell, then the N SSB indices include all SSB indices corresponding to type P on-demand SSB.

[0206] For example, corresponding to case 2, if the transmission of type P on-demand SSB is indicated by the RRC configuration message, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to always-on SSB and all SSB indices corresponding to type P on-demand SSB.

[0207] For example, corresponding to case 3, if the transmission of type P on-demand SSB is indicated by MAC CE or DCI, and the serving cell is not configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to type P on-demand SSB.

[0208] Based on the two indication methods mentioned above, it can be found that the semi-static on-demand SSB has less flexible time-domain characteristics and fewer changes compared to the dynamic on-demand SSB. For this more "static" signal, the terminal device has lower implementation complexity.

[0209] Therefore, corresponding to case 4, if the transmission of type P on-demand SSB is indicated by MAC CE or DCI, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices of always-on SSB, but do not include the SSB index corresponding to type P on-demand SSB.

[0210] For example, in Example 3 of step S710 above, two types of on-demand SSBs are configured on the serving cell. The first type of on-demand SSB has one beam pattern, containing two beams: {#1,#2}. The second type of on-demand SSB has two beam patterns: beam pattern 1 contains four beams: {#3,#4,#5,#6}, and beam pattern 2 contains two beams: {#5,#6}. Simultaneously, an always-on SSB is configured on the cell, containing one beam: {#3}. Beams #1, #2, #3, #4, #5, and #6 correspond to different SSB indices, such as SSB1, SSB2, SSB3, SSB4, SSB5, and SSB6.

[0211] Therefore, if the transmission of the two on-demand SSBs on the serving cell is dynamically indicated by MAC CE or DCI, then the SSB-RO mapping relationship on the cell is only based on SSB 3 corresponding to beam #3, that is, it is only necessary to determine the mapping relationship between SSB3 and RO.

[0212] Conversely, if the transmission of the two on-demand SSBs on the serving cell is semi-statically indicated by the RRC configuration message, then the SSB-RO mapping relationship on the cell is completed based on SSB1, SSB2, SSB3, SSB4, SSB5, and SSB6. That is, it is necessary to determine the mapping relationship between SSB1, SSB2, SSB3, SSB4, SSB5, SSB6 and RO.

[0213] Figure 9 is a schematic diagram of a communication method 900 provided in an embodiment of this application. The method 900 shown in Figure 9 may include the following steps.

[0214] S910: The network device sends the SSB configuration information and RO configuration information of the serving cell to the terminal device, and the terminal device receives the corresponding SSB configuration information and RO configuration information.

[0215] For example, similar to method 700, the serving cell is configured with Q types of SSBs, wherein the Q types of SSBs include P types of on-demand SSBs, i.e., Q = P; or, the Q types of SSBs include P types of on-demand SSBs and U types of always-on SSBs, i.e., Q = P + U. Here, P and U are integers greater than or equal to 1.

[0216] For detailed information on SSB and RO configurations, please refer to Method 700; it will not be repeated here.

[0217] S920 (optional step): The network device sends first information to the terminal device, the first information indicating the first SSB among the Q types of SSBs. The SSB index corresponding to the first SSB can be a set of SSB indices configured for one type of SSB among the Q types of SSBs, or it can be the union of SSB indices configured for several types of SSBs among the Q types of SSBs.

[0218] For example, this first information is carried in an RRC configuration message. For instance, the first information is carried in RRC IE:ServingCellConfig.

[0219] In one implementation, the first information can be a non-negative integer (i.e., an integer greater than or equal to 0). The value of the first information is the index of the SSB configuration corresponding to the first SSB. For example, when the value of the first information is 2, the first SSB is the on-demand SSB configured by od-ssb-Config2. The maximum value of the first information can be predefined by the protocol, such as 8 or other positive integers, and this application does not limit this.

[0220] In another implementation, the first SSB includes multiple SSBs, and the first information is a set of multiple non-negative integers, which is the index of the multiple SSB configurations corresponding to the multiple SSBs included in the first SSB. For example, if the first information is {1,2,3,4}, then the first SSB includes on-demand SSBs configured by od-ssb-Config1, od-ssb-Config2, od-ssb-Config3, and od-ssb-Config4. The maximum value of any index value in the first information can be predefined by the protocol, such as 8 or other positive integers, and this application does not limit this. The minimum number of non-negative integers included in the set of the first information is 1, and the maximum number can be predefined by the protocol, such as 8 or other positive integers, and this application does not limit this.

[0221] For example, if two types of on-demand SSBs are configured on a cell, where the first type of on-demand SSB has one beam pattern, the network device indicates the two beams included in the first type of on-demand SSB: {#1,#2}, through the parameter od-ssb-PositionsInBurst in the od-ssb-config-1 of the RRC configuration message. The second type of on-demand SSB also has one beam pattern, and the network device indicates the four beams included in the second type of on-demand SSB's beam pattern 1: {#3,#4,#5,#6}, through the parameter od-ssb-config-2 of the RRC configuration message. Optionally, if an always-on SSB is also configured on the cell, the network device indicates the number of beams included in the always-on SSB through the parameter ssb-PositionsInBurst in the RRC configuration message. Among them, beam #1, beam #2, beam #3, beam #4, beam #5, and beam #6 correspond to different SSB indices, such as SSB1, SSB2, SSB3, SSB4, SSB5, and SSB6.

[0222] Therefore, the first information can indicate that the first type of on-demand SSB is the first SSB, or the first information can indicate that the second type of on-demand SSB is the first SSB, or the first information can indicate that the always-on SSB is the first SSB. For example, if the value of the first information is 1, then the first information indicates that the first type of on-demand SSB is the first SSB, and the SSB index corresponding to the first SSB is the SSB index corresponding to the two beams {#1,#2} corresponding to the first type of on-demand SSB, namely SSB1 and SSB2. Alternatively, the value of the first information corresponding to the always-on SSB can be predefined. For example, when the value of the first information is 0, the first information is used to indicate that the always-on SSB is the first SSB. Alternatively, when the first information is not configured, the always-on SSB is the first SSB.

[0223] For example, if eight on-demand SSBs are configured on a cell, and the first on-demand SSB has one beam pattern, the network device indicates the two beams contained in the first on-demand SSB: {#1, #2}, through the parameter od-ssb-PositionsInBurst in the od-ssb-config-1 of the RRC configuration message. The second on-demand SSB also has one beam pattern, and the network device indicates the four beams contained in the second on-demand SSB's beam pattern 1: {#3, #4, #5, #6}, through the parameter od-ssb-config-2 of the RRC configuration message. Similarly, similar indications exist for the third through eighth on-demand SSBs, and will not be elaborated further. Optionally, an always-on SSB is configured on the cell. The network device indicates the number of beams included in the always-on SSB through the parameter ssb-PositionsInBurst in the RRC configuration message. Among them, beam #1, beam #2, beam #3, beam #4, beam #5, and beam #6 correspond to different SSB indices, such as SSB1, SSB2, SSB3, SSB4, SSB5, and SSB6.

[0224] Therefore, the first information can indicate multiple on-demand SSBs as the first SSB. For example, if the value of the first information is the set {1, 2}, then the first information indicates that the first SSB includes the first type of on-demand SSB and the second type of on-demand SSB. The SSB index corresponding to the first SSB is the union of the SSB indices corresponding to the two beams {#1, #2} of the first type of on-demand SSB and the four beams {#3, #4, #5, #6} of the second type of on-demand SSB: that is, SSB1, SSB2, SSB3, SSB4, SSB5, and SSB6. For example, the first information indicates the set {1, 2, 3, 4}, indicating that the first SSB includes the first, second, third, and fourth types of on-demand SSBs. The parameter od-ssb-PositionsInBurst in od-ssb-config-1 indicates the number of beams included in the first type of on-demand SSB, the parameter od-ssb-PositionsInBurst in od-ssb-config-2 indicates the number of beams included in the second type of on-demand SSB, the parameter od-ssb-PositionsInBurst in od-ssb-config-3 indicates the number of beams included in the third type of on-demand SSB, and the parameter od-ssb-PositionsInBurst in od-ssb-config-4 indicates the number of beams included in the fourth type of on-demand SSB. The SSB index corresponding to the first SSB is the union of the SSB indices corresponding to the first, second, third, and fourth types of on-demand SSBs. Optionally, the value of the first information corresponding to the always-on SSB can be predefined. For example, when the value of the first information is 0, the first information is used to indicate that the first SSB includes the always-on SSB.

[0225] S930, the terminal device determines the mapping relationship between the R SSB indices and M ROs of the serving cell.

[0226] In one implementation, if step S920 is executed, the R SSB indices are the SSB indices configured corresponding to the first SSB indicated by the first information.

[0227] For example, if the first information indicates the first type of on-demand SSB, then the R SSB indices are the SSB indices corresponding to the two beams {#1,#2} included in the first type of on-demand SSB, namely SSB1 and SSB2. If the first information indicates the second type of on-demand SSB, then the R SSB indices are the SSB indices corresponding to the four beams {#3,#4,#5,#6} included in the second type of on-demand SSB, namely SSB3, SSB4, SSB5, and SSB6. If the first information indicates the always-on SSB, then the R SSB indices are the SSB index corresponding to the beam {#3} included in the always-on SSB, namely SSB3.

[0228] For example, if the first information indicates the first, second, third, and fourth types of on-demand SSBs, then the R SSB indices are the union of the SSB indices corresponding to the beams included in the first, second, third, and fourth types of on-demand SSBs.

[0229] In another implementation, if step S920 is not executed, the R SSB indices can be determined based on any of the following rules.

[0230] Rule 1: The R SSB indices are the SSB indices corresponding to the on-demand SSB with the smallest index value among the Q types of SSBs in the serving cell. For example, it is the SSB index corresponding to the first type of on-demand SSB mentioned above, which corresponds to od-ssb-config-1. Alternatively, the R SSB indices are the SSB indices corresponding to the Z types of on-demand SSBs with the smallest index value among the Q types of SSBs in the serving cell, where Z is a predefined value, and this application does not limit the value of Z. For example, if Z is 4, and 8 types of on-demand SSBs are configured on the cell, the R SSB indices are the union of the SSB indices corresponding to the first, second, third, and fourth types of on-demand SSBs mentioned above.

[0231] Rule 2: The R SSB indices are the SSB indices corresponding to the on-demand SSB with the largest index value among the Q types of SSBs in the serving cell. For example, it is the SSB index corresponding to the second type of on-demand SSB mentioned above, which corresponds to od-ssb-config-2. Alternatively, the R SSB indices are the SSB indices corresponding to the Z type of on-demand SSB with the largest index value among the Q types of SSBs in the serving cell, where Z is a predefined value, and this application does not limit the value of Z. For example, if Z is 4, and 8 types of on-demand SSBs are configured on the cell, the R SSB indices are the union of the SSB indices corresponding to the fifth, sixth, seventh, and eighth types of on-demand SSBs mentioned above.

[0232] Rule 3: If the beam patterns corresponding to the Q types of SSBs in the serving cell all contain the same R beams, then the index of the R SSBs is the index of the SSBs corresponding to the same R beams.

[0233] Optionally, the above rules are predefined rules.

[0234] After determining the R SSB indices, determine the mapping relationship between the R SSB indices and the M ROs. The introduction of the M ROs can be found in Method 700, and will not be repeated here.

[0235] In one implementation, when determining the mapping relationship between the R SSB indices and the M ROs, the terminal device first maps in ascending order of the PRACH preamble index within a RO; secondly, maps in ascending order of the frequency domain ROs; then, maps in ascending order of the time domain ROs within a PRACH time slot; and finally, maps in ascending order of the PRACH time slots.

[0236] S940 (optional step): The terminal device determines the RO corresponding to one of the R SSB indices based on the mapping relationship between the R SSB indices and the M ROs, and sends a random access request message.

[0237] Specifically, the terminal device receives one or more beams sent by the network device, determines the SSB index corresponding to one of the beams, and then determines the RO corresponding to the SSB index through the mapping relationship between R SSB indices and M ROs to initiate random access.

[0238] By using the above scheme, when the serving cell is configured with on-demand SSB, a mapping relationship between the SSB index and the valid RO is established on the serving cell. Therefore, when the on-demand SSB is changed, it is not necessary to redetermine the mapping relationship between different SSB indexes and ROs, which can reduce the complexity of terminal equipment implementation and reduce computing power overhead.

[0239] In methods 700 and 900 described above, when determining the mapping relationship between N SSB indices and M ROs, or the mapping relationship between R SSB indices and M ROs, referring to the description in step S710, all M ROs are valid ROs, and these M valid ROs are determined when the terminal device receives signaling indicating a change in the transmission status of an on-demand SSB. For example, when the network device instructs the on-demand SSB on the serving cell to start or stop transmission via signaling (e.g., MAC CE, DCI, or RRC configuration message, etc.), and / or when the on-demand SSB that is currently transmitting changes its period or changes its beam pattern, then after receiving the instruction, the terminal device needs to determine the validity of the ROs to identify which ROs are valid.

[0240] In other words, the determination of the validity of RO by the terminal device needs to be performed dynamically after each change in the transmission status of the on-demand SSB indicated by the network device. Therefore, after each change in the transmission status of the on-demand SSB, the mapping relationship between the SSB index and the M ROs also needs to be re-determined, which increases the complexity of the terminal device implementation and increases the computing power overhead.

[0241] Therefore, this application provides three methods to determine the mapping relationship between the SSB index and RO in one go, and after the on-demand SSB transmission status changes, it is not necessary to re-determine the validity of RO, nor is it necessary to re-determine the mapping relationship between the SSB index and RO.

[0242] Specifically, instead of the M ROs in Method 700 or Method 900 being valid ROs determined after the on-demand SSB transmission status changes, the M ROs used to determine the mapping relationship between the SSB index and the ROs can be determined by Method 1 or Method 2.

[0243] Method 1

[0244] The M ROs used to determine the mapping relationship between SSB indexes and ROs are all ROs obtained by the terminal device through SIB1 broadcast messages or RRC configuration messages, including valid and invalid ROs. These M ROs used to determine the SSB-RO mapping relationship do not change with the actual validity of the ROs.

[0245] After determining the mapping relationship between the SSB index and the RO through all ROs, the terminal device can select one of the N SSB indexes and send a random access request message to the valid RO among one or more ROs corresponding to the SSB index according to the mapping relationship.

[0246] For example, the first type of on-demand SSB on the serving cell includes two beam patterns, {#1,#2} and {#3,#4}, the second type of on-demand SSB includes one beam pattern {#5,#6}, and the always-on SSB on the serving cell includes one beam pattern {#7,#8}.

[0247] Therefore, based on method 700, the SSB index used to determine the SSB-RO mapping relationship is the complete set of SSB indices corresponding to all the configured beams, i.e., {SSB1, SSB2, SSB3, SSB4, SSB5, SSB6, SSB7, SSB8}. ROs on the serving cell occupy a certain amount of time-frequency resources at certain intervals. Assuming there are 4 ROs within one interval (e.g., RO1, RO2, RO3, RO4), the terminal device can determine the mapping relationship between these 8 SSB indices and these 4 ROs.

[0248] At a certain moment, the first type of on-demand SSB beam pattern 1 is instructed to begin transmission. The SSBs transmitted on the cell contain four beams: {SSB1, SSB2, SSB7, SSB8}. The terminal device determines the valid ROs and determines that only one RO (e.g., RO2) is valid after the SSB transmission status changes. At this time, the terminal device does not need to redetermine the mapping relationship between the eight SSB indices and RO2, but only needs to initiate random access based on the existing mapping relationship between the eight SSB indices and four ROs. It should be noted that when the terminal device initiates random access, if the selected SSB index corresponds to multiple ROs, the terminal device will select the valid RO for random access.

[0249] Method 2

[0250] Corresponding to method 700, M ROs are valid ROs determined based on the time-frequency domain resource location information and RO configuration information corresponding to N SSB indices.

[0251] The N SSB indexes represent all SSB indexes configured for the serving cell, including all SSB indexes configured for the P types of on-demand SSBs in the serving cell. Optionally, the N SSB indexes also include all SSB indexes configured for the L types of always-on SSBs in the serving cell. The N SSB indexes are the union of the SSB indexes configured for the P types of on-demand SSBs and / or the SSB indexes configured for the L types of always-on SSBs included in the SSB configuration information.

[0252] For example, the first type of on-demand SSB on the serving cell includes two beam patterns, {#1,#2} and {#3,#4}, and the period of the first type of on-demand SSB is 20ms; the second type of on-demand SSB includes one beam pattern {#5,#6}, and the period of the second type of on-demand SSB is 5ms; the always-on SSB on the serving cell includes one beam pattern {#7,#8}, and the period of the always-on SSB is 10ms.

[0253] Therefore, based on method 700, the SSB index used to determine the SSB-RO mapping relationship is the complete set of SSB indices corresponding to all the configured beams mentioned above, namely {SSB1, SSB2, SSB3, SSB4, SSB5, SSB6, SSB7, SSB8}.

[0254] At a certain moment, if the second type of on-demand SSB is instructed to be sent, then the SSB transmission pattern on that cell will be as follows: SSB7 and SSB8 will be sent with a period of 10ms, and SSB5 and SSB6 will be sent with a period of 5ms. If a certain time point is taken as the starting reference time, SSB5, SSB6, SSB7, and SSB8 will be sent in the first half-frame (each half-frame is 5ms long), SSB5 and SSB6 will be sent in the second half-frame, and SSB5, SSB6, SSB7, and SSB8 will be sent in the third half-frame, and so on.

[0255] In the scheme of method 700, before on-demand SSB#2 is instructed to be transmitted, only always-on SSB transmission exists on the cell, and the validity of RO is determined based on the time-frequency domain positions occupied by SSB7 and SSB8 every 10ms period. After on-demand SSB#2 is instructed to be transmitted, the validity of RO is determined simultaneously based on the time-frequency domain positions occupied by SSB7 and SSB8 every 10ms period and by SSB5 and SSB6 every 5ms period.

[0256] In contrast, in Method 2, after the terminal device is configured with the SSB configuration information and RO configuration information on the cell, it directly determines the validity of RO based on the time-frequency domain resources corresponding to the N SSB indices. That is, regardless of how the on-demand SSB is sent, the determination of RO validity is based on the time-frequency domain resources corresponding to all SSB indices configured in the serving cell. For example, the determination of RO validity is based on the time-frequency domain resources corresponding to SSB1, SSB2, SSB3, and SSB4 with a period of 20ms, SSB5 and SSB6 with a period of 5ms, and SSB7 and SSB8 with a period of 10ms.

[0257] Method 3

[0258] Corresponding to method 900, M ROs are valid ROs determined based on the time-frequency domain resource location information and RO configuration information corresponding to R SSB indices.

[0259] Similar to Method 2, in Method 3, after the terminal device is configured with the SSB configuration information and RO configuration information on the cell, it directly determines the validity of RO based on the time-frequency domain resources corresponding to the R SSB indices determined in Method 900. That is, regardless of how the on-demand SSB is sent, the determination of RO validity is based on the time-frequency domain resources corresponding to the R SSB indices.

[0260] By using the methods 1, 2, or 3 described above, once the RO used to determine the mapping relationship between the SSB index and the RO is determined, the RO in this mapping relationship does not change dynamically with the transmission status of the SSB on the serving cell, thereby reducing the complexity of the terminal device implementation and reducing computing power overhead.

[0261] The methods provided by the embodiments of this application have been described in detail above with reference to Figures 7 to 9. The apparatus provided by the embodiments of this application will be described in detail below with reference to Figures 10 to 12. It should be understood that the descriptions of the apparatus embodiments correspond to the descriptions of the method embodiments; therefore, any content not described in detail can be referred to the method embodiments above, and for the sake of brevity, will not be repeated here.

[0262] Referring to Figure 10, as an example, Figure 10 is a schematic diagram of a communication device 800 provided in an embodiment of this application. The communication device 800 includes a transceiver unit 810 and a processing unit 820. The transceiver unit 810 can be used to implement corresponding communication functions. The transceiver unit 810 can also be referred to as a communication interface or a communication unit. The processing unit 820 can be used to perform processing, such as measuring the serving cell.

[0263] Optionally, the device 800 may further include a storage unit for storing instructions and / or data, and the processing unit 820 may read the instructions and / or data from the storage unit to enable the device to implement the aforementioned method embodiments.

[0264] In a first possible design, the device 800 can be the terminal device in the foregoing embodiments, which can implement the steps or processes corresponding to those executed by the terminal device in the above method embodiments. Specifically, the transceiver unit 810 can be used to perform transceiver-related operations (such as sending and / or receiving data or messages) of the terminal device in the above method embodiments, and the processing unit 820 can be used to perform processing-related operations of the terminal device in the above method embodiments, or operations other than transceiver (such as operations other than sending and / or receiving data or messages).

[0265] One possible implementation is that the transceiver unit 810 is used to receive SSB configuration information, RO configuration information, or SSB; the processing unit 820 is used to determine the mapping relationship between the SSB index and RO; the transceiver unit 810 is also used to send a random access request message.

[0266] In a second possible design, the device 800 can be a network device as described in the foregoing embodiments. This device 800 can implement the steps or processes performed by the network device corresponding to those described in the method embodiments above. Specifically, the transceiver unit 810 can be used to perform transceiver-related operations (such as sending and / or receiving data or messages) of the network device described in the method embodiments above, and the processing unit 820 can be used to perform processing-related operations of the network device described in the method embodiments above, or operations other than transceiver operations (such as operations other than sending and / or receiving data or messages).

[0267] One possible implementation is that the transceiver unit 810 is used to send SSB configuration information, RO configuration information, or SSB.

[0268] It should be understood that the specific process of each unit performing the above-mentioned corresponding steps has been described in detail in the above method embodiments, and will not be repeated here for the sake of brevity.

[0269] It should also be understood that the device 800 here is embodied in the form of a functional unit. The term "unit" here can refer to an application-specific integrated circuit (ASIC), electronic circuitry, a processor (e.g., a shared processor, a proprietary processor, or a group processor, etc.) and memory for executing one or more software or firmware programs, integrated logic circuitry, and / or other suitable components supporting the described functions. In an alternative example, those skilled in the art will understand that the device 800 can specifically be the communication device in the above embodiments, and can be used to execute the various processes and / or steps corresponding to the communication device in the above method embodiments; to avoid repetition, these will not be described again here.

[0270] The apparatus 800 of each of the above-described schemes has the function of implementing the corresponding steps performed by the communication device (such as a terminal device or a network device) in the above-described methods. The function can be implemented in hardware or by hardware executing corresponding software. The hardware or software includes one or more modules corresponding to the above functions; for example, the transceiver unit can be replaced by a transceiver (e.g., the sending unit in the transceiver unit can be replaced by a transmitter, and the receiving unit in the transceiver unit can be replaced by a receiver), and other units, such as processing units, can be replaced by processors, each performing the transmission and reception operations and related processing operations in the respective method embodiments.

[0271] In addition, the transceiver unit 810 described above can also be a transceiver circuit (for example, it may include a receiving circuit and a transmitting circuit), and the processing unit can be a processing circuit.

[0272] It should be noted that the device in Figure 10 can be the communication device (such as a terminal device or a network device) in the aforementioned embodiments, or it can be a chip or a chip system, such as a system on a chip (SoC). The transceiver unit can be an input / output circuit or a communication interface; the processing unit is a processor, microprocessor, or integrated circuit integrated on the chip. No limitations are imposed here.

[0273] Referring to Figure 11, as an example, Figure 11 is a schematic diagram of another communication device 900 provided in an embodiment of this application. The device 900 includes a processor 910, which is coupled to a memory 920. The memory 920 is used to store computer programs or instructions and / or data. The processor 910 is used to execute the computer programs or instructions stored in the memory 920, or to read the data stored in the memory 920, to perform the methods in the above method embodiments.

[0274] Optionally, there may be one or more processors 910.

[0275] Optionally, the memory 920 may be one or more.

[0276] Alternatively, the memory 920 can be integrated with the processor 910, or it can be set separately.

[0277] Optionally, as shown in FIG11, the device 900 further includes a transceiver 930 for receiving and / or transmitting signals. For example, the processor 910 is used to control the transceiver 930 to receive and / or transmit signals.

[0278] As an example, processor 910 may have the functions of processing unit 820 shown in FIG10, memory 920 may have the functions of storage unit, and transceiver 930 may have the functions of transceiver unit 810 shown in FIG10.

[0279] As one approach, the device 900 is used to implement the operations performed by a communication device (such as a terminal device or a network device) in the various method embodiments described above.

[0280] For example, processor 910 is used to execute computer programs or instructions stored in memory 920 to implement the relevant operations of the communication device in the various method embodiments described above.

[0281] It should be understood that the processor mentioned in the embodiments of this application can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor can be a microprocessor or any conventional processor.

[0282] It should also be understood that the memory mentioned in the embodiments of this application can be volatile memory and / or non-volatile memory. Non-volatile memory can be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), or flash memory. Volatile memory can be random access memory (RAM). For example, RAM can be used as an external cache. By way of example and not limitation, RAM includes the following forms: static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous linked dynamic random access memory (SLDRAM), and direct rambus RAM (DR RAM).

[0283] It should be noted that when the processor is a general-purpose processor, DSP, ASIC, FPGA, or other programmable logic device, discrete gate or transistor logic device, or discrete hardware component, the memory (storage module) can be integrated into the processor.

[0284] It should also be noted that the memory described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0285] Referring to Figure 12, as an example, Figure 12 is a schematic diagram of a chip system 1000 provided in an embodiment of this application. The chip system 1000 (or may also be referred to as a processing system) includes logic circuitry 1010 and an input / output interface 1020.

[0286] The logic circuit 1010 can be a processing circuit in the chip system 1000. The logic circuit 1010 can be coupled to a memory unit, calling instructions from the memory unit, enabling the chip system 1000 to implement the methods and functions of the embodiments of this application. The input / output interface 1020 can be an input / output circuit in the chip system 1000, outputting processed information from the chip system 1000, or inputting data or signaling information to be processed into the chip system 1000 for processing.

[0287] As one approach, the chip system 1000 is used to implement the operations performed by the communication device (such as a terminal device or a network device) in the various method embodiments described above.

[0288] For example, logic circuit 1010 is used to implement processing-related operations performed by a communication device (such as a terminal device or a network device) in the above method embodiments; input / output interface 1020 is used to implement sending and / or receiving-related operations performed by a communication device (such as a terminal device or a network device) in the above method embodiments.

[0289] This application also provides a computer-readable storage medium storing a computer program or instructions for implementing the methods executed by a communication device (such as a terminal device or a network device) in the above-described method embodiments. For example, when the computer program or instructions are run on the communication device, the communication device (such as a terminal device or a network device) performs the above-described methods (such as method 700).

[0290] This application also provides a computer program product comprising instructions that, when executed by a computer, implement the methods described above as performed by a communication device (such as a terminal device or a network device). For example, when the computer program or instructions are run on the communication device, the communication device (such as a terminal device or a network device) performs the methods described above (such as method 700).

[0291] This application also provides a communication system that includes the terminal device and / or network device described in the embodiments above. For example, the system includes the terminal device and network device described in the embodiment of FIG7.

[0292] The explanations and beneficial effects of the relevant contents in any of the devices provided above can be found in the corresponding method embodiments provided above, and will not be repeated here.

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

[0294] In the above embodiments, implementation can be achieved entirely or partially through software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented entirely or partially in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, all or part of the processes or functions described in the embodiments of this application are generated. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. For example, the computer can be a personal computer, a server, or a network device, etc. The computer instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that integrates one or more available media. The available media can be magnetic media (e.g., floppy disks, hard disks, magnetic tapes), optical media (e.g., DVDs), or semiconductor media (e.g., solid-state disks, SSDs). For example, the aforementioned available media include, but are not limited to, USB flash drives, portable hard drives, read-only memory (ROM), random access memory (RAM), magnetic disks, or optical disks, and other media capable of storing program code.

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

Claims

1. A communication method, characterized in that, include: Determine the mapping relationship between N synchronization signal block (SSB) indices and M random access channel (RO) opportunities of the serving cell. The N SSB indices are all SSB indices configured for the serving cell. The N SSB indices include all SSB indices configured for the P types of on-demand synchronization signal blocks (SSBs) of the serving cell. N, M, or P are positive integers. Based on the mapping relationship, determine the RO corresponding to one of the N SSB indices and send a random access request message.

2. The method according to claim 1, characterized in that, Each of the P types of on-demand SSBs corresponds to at least one beam pattern. The P types of on-demand SSBs correspond to L types of beam patterns. Each of the L types of beam patterns corresponds to at least one SSB index. The union of the SSB indices corresponding to the L types of beam patterns corresponds to the N SSB indices, where L is a positive integer.

3. The method according to claim 1, characterized in that, The N SSB indices also include all SSB indices configured corresponding to the always-on SSB of the serving cell.

4. The method according to claim 3, characterized in that, The always-on SSB corresponds to K beam patterns, each of the P on-demand SSBs corresponds to at least one beam pattern, the P on-demand SSBs correspond to L beam patterns, each of the K beam patterns or the L beam patterns corresponds to at least one SSB index, and the union of the SSB indices corresponding to the K beam patterns and the L beam patterns corresponds to the N SSB indices, where K or L is a positive integer.

5. The method according to claim 2, characterized in that, If the transmission of the P types of on-demand SSB is indicated by an RRC configuration message, and the serving cell is not configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to the P types of on-demand SSB.

6. The method according to claim 2, characterized in that, If the transmission of the P types of on-demand SSB is indicated by MAC CE or DCI, and the serving cell is not configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to the P types of on-demand SSB.

7. The method according to claim 4, characterized in that, If the transmission of the P-type on-demand SSB is indicated by an RRC configuration message, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to the always-on SSB and all SSB indices corresponding to the P-type on-demand SSB.

8. The method according to claim 4, characterized in that, If the transmission of the P-type on-demand SSB is indicated by MAC CE or DCI, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices of the always-on SSB, but do not include the SSB index corresponding to the P-type on-demand SSB.

9. The method according to any one of claims 1 to 8, characterized in that, The M ROs are all the ROs configured for the serving cell, and all ROs include valid ROs and invalid ROs on the serving cell at any given time. The step of determining the RO corresponding to one of the N SSB indices based on the mapping relationship and sending a random access request message includes: determining the valid RO among one or more ROs corresponding to one of the N SSB indices based on the mapping relationship and sending a random access request message.

10. The method according to any one of claims 1 to 8, characterized in that, The M ROs are valid ROs determined based on the time-frequency domain resource location information corresponding to the N SSB indices and the time-frequency domain resource location information of the ROs.

11. A communication method, characterized in that, include: Determine the mapping relationship between N synchronization signal block (SSB) indices and M random access channel (RO) opportunities of the serving cell. The N SSB indices are all SSB indices configured for the serving cell. The N SSB indices include all SSB indices configured for the P types of on-demand synchronization signal blocks (SSBs) of the serving cell. N, M, or P are positive integers. Receive a random access request message, and determine the SSB index corresponding to the RO that sent the random access request message based on the RO that sent the random access request message and the mapping relationship.

12. The method according to claim 11, characterized in that, Each of the P types of on-demand SSBs corresponds to at least one beam pattern. The P types of on-demand SSBs correspond to L types of beam patterns. Each of the L types of beam patterns corresponds to at least one SSB index. The union of the SSB indices corresponding to the L types of beam patterns corresponds to the N SSB indices, where L is a positive integer.

13. The method according to claim 11, characterized in that, The N SSB indices also include all SSB indices configured corresponding to the always-on SSB of the serving cell.

14. The method according to claim 13, characterized in that, The always-on SSB corresponds to K beam patterns, each of the P on-demand SSBs corresponds to at least one beam pattern, the P on-demand SSBs correspond to L beam patterns, each of the K beam patterns or the L beam patterns corresponds to at least one SSB index, and the union of the SSB indices corresponding to the K beam patterns and the L beam patterns corresponds to the N SSB indices, where K or L is a positive integer.

15. The method according to claim 12, characterized in that, If the transmission of the P types of on-demand SSB is indicated by an RRC configuration message, and the serving cell is not configured with always-on SSB, then the N SSB indices are all the SSB indices corresponding to the P types of on-demand SSB.

16. The method according to claim 12, characterized in that, If the transmission of the P types of on-demand SSB is indicated by MAC CE or DCI, and the serving cell is not configured with always-on SSB, then the N SSB indices are all the SSB indices corresponding to the P types of on-demand SSB.

17. The method according to claim 14, characterized in that, If the transmission of the P-type on-demand SSB is indicated by an RRC configuration message, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices corresponding to the always-on SSB and all SSB indices corresponding to the P-type on-demand SSB.

18. The method according to claim 14, characterized in that, If the transmission of the P-type on-demand SSB is indicated by MAC CE or DCI, and the serving cell is configured with always-on SSB, then the N SSB indices include all SSB indices of the always-on SSB, but do not include the SSB index corresponding to the P-type on-demand SSB.

19. The method according to any one of claims 11 to 18, characterized in that, The M ROs are all ROs configured according to the serving cell, and all ROs include valid ROs and invalid ROs on the serving cell at any given time.

20. The method according to any one of claims 11 to 18, characterized in that, The M ROs are valid ROs determined based on the time-frequency domain resource location information corresponding to the N SSB indices and the time-frequency domain resource location information of the ROs.

21. A communication method, characterized in that, include: Determine the mapping relationship between R synchronization signal block SSB indices and M random access channel timings (RO) of the serving cell. The R SSB indices are a subset of all SSB indices configured for the serving cell. The serving cell is configured with Q types of SSBs, including P types of on-demand synchronization signal blocks (SSBs). The R SSB indices are the SSB indices configured corresponding to the first SSB among the Q types of SSBs. R, M, or P are positive integers. Based on the mapping relationship, determine the RO corresponding to one of the R SSB indices and send a random access request message.

22. The method according to claim 21, characterized in that, The Q-type SSB also includes a U-type always-on SSB, where U is an integer greater than or equal to 1.

23. The method according to claim 21 or 22, characterized in that, The method further includes: Receive first information, which is used to indicate the first SSB.

24. The method according to claim 21 or 22, characterized in that, The first SSB is the SSB index configured corresponding to the SSB with the smallest index value among the Q types of SSBs.

25. The method according to claim 21 or 22, characterized in that, The first SSB is the SSB index configured corresponding to the SSB with the largest index value among the Q types of SSBs.

26. The method according to claim 21 or 22, characterized in that, The Q types of SSBs correspond to multiple beam patterns, and each of the multiple beam patterns includes the same R beams. The R SSB indices are the SSB indices corresponding to the same R beams.

27. The method according to any one of claims 21 to 26, characterized in that, The M ROs are valid ROs determined based on the time-frequency domain resource location information corresponding to the R SSB indices and the time-frequency domain resource location information of the ROs.

28. A communication method, characterized in that, include: Determine the mapping relationship between R synchronization signal block SSB indices and M random access channel timings (RO) of the serving cell. The R SSB indices are a subset of all SSB indices configured for the serving cell. The serving cell is configured with Q types of SSBs, including P types of on-demand synchronization signal blocks (SSBs). The R SSB indices are the SSB indices configured corresponding to the first SSB among the Q types of SSBs. R, M, or P are positive integers. Receive a random access request message, and determine the SSB index corresponding to the RO that sent the random access request message based on the RO that sent the random access request message and the mapping relationship.

29. The method according to claim 28, characterized in that, The Q-type SSB also includes a U-type always-on SSB, where U is an integer greater than or equal to 1.

30. The method according to claim 28 or 29, characterized in that, The method further includes: Send a first message, which is used to instruct the first SSB.

31. The method according to claim 28 or 29, characterized in that, The first SSB is the SSB index configured corresponding to the SSB with the smallest index value among the Q types of SSBs.

32. The method according to claim 28 or 29, characterized in that, The first SSB is the SSB index configured corresponding to the SSB with the largest index value among the Q types of SSBs.

33. The method according to claim 28 or 29, characterized in that, The Q types of SSBs correspond to Q types of beam patterns. Each of the Q types of beam patterns includes the same R beams, and the R SSB indices are the SSB indices corresponding to the same R beams.

34. The method according to any one of claims 28 to 33, characterized in that, The M ROs are valid ROs determined based on the time-frequency domain resource location information corresponding to the R SSB indices and the time-frequency domain resource location information of the ROs.

35. A communication device, characterized in that, Includes modules or units for performing the method according to any one of claims 1 to 34.

36. A communication device, characterized in that, Includes a processor, the processor being configured to cause the communication device to perform the method of any one of claims 1 to 34.

37. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program or instructions that, when executed on a communication device, cause the communication device to perform the method as described in any one of claims 1 to 34.

38. A computer program product, characterized in that, The computer program product includes a computer program or instructions that, when executed on a communication device, cause the communication device to perform the method as described in any one of claims 1 to 34.