Power climb counter processing method, command sending method, device and equipment

By maintaining multiple preambles in the terminal to receive the target power climb counter and resetting or adding 1 to the counter according to specific conditions, the problem of poor performance of sending preambles at the terminal is solved, and more reasonable counter management and transmission performance improvement is achieved. .

CN119450791APending Publication Date: 2025-02-14VIVO MOBILE COMM CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202311232736.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Priority Date
2023-08-02
Filing Date
2023-09-22
Publication Date
2025-02-14

AI Technical Summary

Technical Problem

The terminal has a poor performance problem when sending preambles. In the prior art, only one preamble receiving target power climb counter is maintained, resulting in poor transmission performance.

Method used

Maintain multiple preambles to receive the target power climb counter in the terminal, and reset or increase the counter by 1 according to the association relationship between the target PDCCH command and other PDCCH commands, detection information and random access process.

Benefits of technology

By maintaining multiple preamble receiving target power climb counters, the terminal can maintain the counter more reasonably, improve the performance of preamble transmission, and avoid unreasonable counting problems caused by missing the PDCCH command indicating a new transmission.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119450791A_ABST
    Figure CN119450791A_ABST
Patent Text Reader

Abstract

The invention discloses a power climbing counter processing method, a command sending method, a device and equipment, and the power climbing counter processing method comprises the steps that a terminal receives a target PDCCH command, and the target PDCCH command is used for triggering the terminal to execute a process of obtaining TA of a target candidate cell in advance; the terminal executes a first operation, and the first operation comprises at least one of the following steps: under the condition that the terminal maintains a plurality of preamble receiving target power climbing counters, resetting or adding 1 to the preamble receiving target power climbing counters associated with the target candidate cell based on the target PDCCH command; resetting or adding 1 to a preamble receiving target power climbing counter based on target information, wherein the target information comprises at least one of the following items: an association relationship between the target PDCCH command and other PDCCH commands; associated information of other PDCCH commands; the target PDCCH commands the associated detection information; and obtaining the incidence relation between the TA flow of the target candidate cell and the last random access flow in advance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of communication technology, and specifically relates to a power climbing counter processing method, command sending method, device and equipment. Background Art

[0002] During the random access process, the target receiving power of the preamble is calculated based on the preamble receiving target power climbing counter (also referred to as the preamble power climbing counter). In some related technologies, the terminal will only maintain a preamble receiving target power climbing counter, and the counter is reset or increased by 1 only based on the new transmission or retransmission indicated by the physical downlink control channel (PDCCH) command. The PDCCH command is specifically used to trigger: the terminal executes the process of obtaining the timing advance (TA) of the candidate cell in advance. However, the above scheme may have the problem of poor transmission performance of the terminal sending the preamble. Summary of the invention

[0003] The embodiments of the present application provide a power ramp counter processing method, a command sending method, an apparatus and a device, which can solve the problem of poor transmission performance of a terminal's sending preamble code.

[0004] In a first aspect, a power climbing counter processing method is provided, comprising:

[0005] The terminal receives a target PDCCH command, where the target PDCCH command is used to trigger the terminal to execute a process of acquiring a TA of a target candidate cell in advance;

[0006] The terminal performs a first operation, wherein the first operation is at least one of the following:

[0007] In the case where the terminal maintains multiple preamble code reception target power climbing counters, resetting or adding 1 to the preamble code reception target power climbing counter associated with the target candidate cell based on the target PDCCH command;

[0008] The preamble receiving target power climbing counter is reset or increased by 1 based on the target information, wherein the target information includes at least one of the following:

[0009] The association relationship between the target PDCCH command and other PDCCH commands;

[0010] Other PDCCH command related information;

[0011] Detection information associated with the target PDCCH command;

[0012] The association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process;

[0013] The other PDCCH commands include PDCCH commands received before receiving the target PDCCH command;

[0014] The previous random access procedure is the most recently executed random access procedure before executing the procedure of acquiring the TA of the target candidate cell in advance triggered by the target PDCCH command.

[0015] In a second aspect, a command sending method is provided, comprising:

[0016] The network side device sends a first PDCCH command to the terminal, where the first PDCCH command is used to trigger: executing a process of obtaining a TA of a first candidate cell in advance and instructing a new transmission;

[0017] The network side device sends a second PDCCH command to the terminal under the target condition, where the second PDCCH command is used to trigger: executing a process of obtaining a TA of a second candidate cell in advance;

[0018] The target condition includes any of the following:

[0019] The network side device confirms that the process of obtaining the TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed;

[0020] The network side device successfully sends the first PDCCH command;

[0021] The network side device successfully triggers the terminal to execute a process of obtaining the TA of the first candidate cell in advance.

[0022] In a third aspect, a power rise counter processing device is provided, comprising:

[0023] A receiving module, used for receiving a target PDCCH command, where the target PDCCH command is used for triggering the terminal to execute a process of obtaining a TA of a target candidate cell in advance;

[0024] The execution module is configured to execute a first operation, wherein the first operation is at least one of the following:

[0025] In the case where the terminal maintains multiple preamble code reception target power climbing counters, resetting or adding 1 to the preamble code reception target power climbing counter associated with the target candidate cell based on the target PDCCH command;

[0026] The preamble receiving target power climbing counter is reset or increased by 1 based on the target information, wherein the target information includes at least one of the following:

[0027] The association relationship between the target PDCCH command and other PDCCH commands;

[0028] Other PDCCH command related information;

[0029] Detection information associated with the target PDCCH command;

[0030] The association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process;

[0031] Among them, other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; the previous random access process is the most recently executed random access process before executing the process of obtaining the TA of the target candidate cell in advance triggered by the target PDCCH command.

[0032] In a fourth aspect, a command sending device is provided, comprising:

[0033] A first sending module is used to send a first physical downlink control channel PDCCH command to the terminal, where the first PDCCH command is used to trigger: executing a process of obtaining a TA of a first candidate cell in advance and instructing a new transmission;

[0034] A second sending module is used to send a second PDCCH command to the terminal under a target condition, where the second PDCCH command is used to trigger: executing a process of obtaining a TA of a second candidate cell in advance;

[0035] The target condition includes any of the following:

[0036] The network side device confirms that the process of obtaining the TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed;

[0037] The network side device successfully sends the first PDCCH command;

[0038] The network side device successfully triggers the terminal to execute a process of obtaining the TA of the first candidate cell in advance.

[0039] In a fifth aspect, a terminal is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the power climb counter processing method provided in the embodiment of the present application are implemented.

[0040] In the sixth aspect, a terminal is provided, comprising a processor and a communication interface, wherein the communication interface is used to receive a target PDCCH command, and the target PDCCH command is used to trigger the terminal to execute a process of obtaining the TA of a target candidate cell in advance; the processor is used to execute a first operation, and the first operation is at least one of the following: when the terminal maintains multiple preamble code reception target power climb counters, the preamble code reception target power climb counter associated with the target candidate cell is reset or added by 1 based on the target PDCCH command; the preamble code reception target power climb counter is reset or added by 1 based on target information, and the target information includes at least one of the following: the association relationship between the target PDCCH command and other PDCCH commands; the association information of other PDCCH commands; the detection information associated with the target PDCCH command; the association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process; wherein other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; the last random access process is the most recently executed random access process before executing the process of obtaining the TA of the target candidate cell in advance.

[0041] In the seventh aspect, a network side device is provided, which includes a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the program or instructions are executed by the processor, the steps of the command sending method provided in the embodiment of the present application are implemented.

[0042] In the eighth aspect, a network side device is provided, including a processor and a communication interface, wherein the communication interface is used to send a first physical downlink control channel (PDCCH) command to a terminal, the first PDCCH command being used to trigger: executing a process of obtaining a TA of a first candidate cell in advance, and indicating a new transmission; under a target condition, a second PDCCH command is sent to the terminal, the second PDCCH command being used to trigger: executing a process of obtaining a TA of a second candidate cell in advance; the target condition includes any one of the following: the network side device confirms that the process of obtaining a TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining a TA of the first candidate cell in advance is not successfully completed; the network side device successfully sends the first PDCCH command; the network side device successfully triggers the terminal to execute the process of obtaining a TA of the first candidate cell in advance.

[0043] In the ninth aspect, a readable storage medium is provided, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps of the power climb counter processing method provided in the embodiment of the present application are implemented, or the steps of the command sending method provided in the embodiment of the present application are implemented.

[0044] In the tenth aspect, a wireless communication system is provided, including: a terminal and a network side device, wherein the terminal can be used to execute the steps of the power climb counter processing method provided in the embodiment of the present application, and the network side device can be used to execute the steps of the command sending method provided in the embodiment of the present application.

[0045] In the eleventh aspect, a chip is provided, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement a power climb counter processing method as provided in an embodiment of the present application, or to implement a command sending method as provided in an embodiment of the present application.

[0046] In the twelfth aspect, a computer program / program product is provided, wherein the computer program / program product is stored in a storage medium, wherein the program / program product is executed by at least one processor to implement the steps of the power climb counter processing method provided in the embodiment of the present application, and wherein the program / program product is executed by at least one processor to implement the steps of the command sending method provided in the embodiment of the present application.

[0047] In an embodiment of the present application, a terminal receives a target PDCCH command, and the target PDCCH command is used to trigger the terminal to execute a process for obtaining the TA of a target candidate cell in advance; the terminal executes a first operation, and the first operation is at least one of the following: when the terminal maintains multiple preamble code reception target power climb counters, the preamble code reception target power climb counter associated with the target candidate cell is reset or added by 1 based on the target PDCCH command; the preamble code reception target power climb counter is reset or added by 1 based on target information, and the target information includes at least one of the following: the association relationship between the target PDCCH command and other PDCCH commands; the association information of other PDCCH commands; the detection information associated with the target PDCCH command; the association relationship between the process for obtaining the TA of the target candidate cell in advance and the last random access process; wherein other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; the last random access process is the most recently executed random access process before executing the process for obtaining the timing advance of the target candidate cell in advance. In this way, by maintaining multiple preamble receiving target power climbing counters, the terminal can reset or add 1 to the counters for different candidate cells respectively, so that the count of the preamble receiving target power climbing counter maintained by the terminal is more reasonable, thereby improving the terminal's sending performance of sending preambles. Resetting or adding 1 to the counter based on the above target information can avoid the terminal missing the PDCCH command indicating the new transmission, resulting in unreasonable counting of the counter, thereby improving the terminal's sending performance of sending preambles. BRIEF DESCRIPTION OF THE DRAWINGS

[0048] Figure 1 is a block diagram of a wireless communication system to which the embodiments of the present application can be applied;

[0049] Figure 2 It is a flow chart of a power climbing counter processing method provided by an embodiment of the present application;

[0050] Figure 3 is a flowchart of a command sending method provided in an embodiment of the present application;

[0051] Figure 4 It is a processing schematic diagram of a power climbing counter provided in an embodiment of the present application;

[0052] Figure 5 It is a processing schematic diagram of another power climbing counter provided in an embodiment of the present application;

[0053] Figure 6 is a structural diagram of a power climbing counter processing device provided in an embodiment of the present application;

[0054] Figure 7 is a structural diagram of a command sending device provided in an embodiment of the present application;

[0055] Figure 8 is a structural diagram of a communication device provided in an embodiment of the present application;

[0056] Fig. 9 is a structural diagram of another communication device provided in an embodiment of the present application;

[0057] Fig.10 It is a structural diagram of another communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0058] The following will be combined with the drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field belong to the scope of protection of this application.

[0059] The terms "first", "second", etc. of the present application are used to distinguish similar objects, and are not used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, so that the embodiments of the present application can be implemented in an order other than those illustrated or described herein, and the objects distinguished by "first" and "second" are generally of one type, and the number of objects is not limited, for example, the first object can be one or more. In addition, "or" in the present application represents at least one of the connected objects. For example, "A or B" covers three schemes, namely, Scheme 1: including A but not including B; Scheme 2: including B but not including A; Scheme 3: including both A and B. The character " / " generally indicates that the objects associated with each other are in an "or" relationship.

[0060] The term "indication" in this application can be a direct indication (or explicit indication) or an indirect indication (or implicit indication). A direct indication can be understood as the sender explicitly informing the receiver of specific information, operations to be performed, or request results in the sent indication; an indirect indication can be understood as the receiver determining the corresponding information according to the indication sent by the sender, or making a judgment and determining the operation to be performed or the request result according to the judgment result.

[0061] It is worth noting that the technology described in the embodiments of the present application is not limited to the Long Term Evolution (LTE) / LTE-Advanced (LTE-A) system, but can also be used in other wireless communication systems, such as Code Division Multiple Access (CDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single-carrier Frequency-Division Multiple Access (SC-FDMA) or other systems. The terms "system" and "network" in the embodiments of the present application are often used interchangeably, and the described technology can be used for the systems and radio technologies mentioned above as well as for other systems and radio technologies. The following description describes a New Radio (NR) system for illustrative purposes, and NR terminology is used in most of the following descriptions, but these technologies can also be applied to systems other than NR systems, such as the 6th generation (6 thGeneration, 6G) communication system.

[0062] Figure 1 A block diagram of a wireless communication system applicable to an embodiment of the present application is shown. The wireless communication system includes a terminal 11 and a network side device 12. Among them, the terminal 11 can be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a notebook computer, a personal digital assistant (Personal Digital Assistant, PDA), a handheld computer, a netbook, an ultra-mobile personal computer (Ultra-mobile Personal Computer, UMPC), a mobile Internet device (Mobile Internet Device, MID), an augmented reality (Augmented Reality, AR), a virtual reality (Virtual Reality, VR) device, a robot, a wearable device (Wearable Device), an aircraft (flight vehicle), a vehicle-mounted device (Vehicle User Equipment, VUE), a ship-mounted device, a pedestrian terminal (Pedestrian User Equipment, PUE), a smart home (home appliances with wireless communication functions, such as refrigerators, televisions, washing machines or furniture, etc.), a game console, a personal computer (Personal Computer, PC), a teller machine or a self-service machine and other terminal side devices. Wearable devices include: smart watches, smart bracelets, smart headphones, smart glasses, smart jewelry (smart bracelets, smart bracelets, smart rings, smart necklaces, smart anklets, smart anklets, etc.), smart wristbands, smart clothing, etc. Among them, the vehicle-mounted device can also be called a vehicle-mounted terminal, a vehicle-mounted controller, a vehicle-mounted module, a vehicle-mounted component, a vehicle-mounted chip or a vehicle-mounted unit, etc. It should be noted that the specific type of the terminal 11 is not limited in the embodiment of the present application.

[0063] The network side device 12 may include an access network device or a core network device, wherein the access network device may also be referred to as a radio access network (RAN) device, a radio access network function or a radio access network unit. The access network device may include a base station, a wireless local area network (WLAN) access point (AP) or a wireless fidelity (WiFi) node, etc. Among them, the base station may be referred to as a Node B (NB), an evolved Node B (eNB), a next generation Node B (gNB), a New Radio Node B (NR Node B), an access point, a Relay Base Station (RBS), a Serving Base Station (SBS), a Base Transceiver Station (BTS), a radio base station, a radio transceiver, a Basic Service Set (BSS), an Extended Service Set (ESS), a Home Node B (HNB), a Home Evolved Node B (home evolved Node B), a Transmission Reception Point (TRP) or other appropriate terms in the field. As long as the same technical effect is achieved, the base station is not limited to specific technical terms. It should be noted that in the embodiments of the present application, only the base station in the NR system is used as an example for introduction, and the specific type of the base station is not limited.

[0064] The core network equipment may include but is not limited to at least one of the following: core network node, core network function, mobility management entity (Mobility Management Entity, MME), access mobility management function (Access and Mobility Management Function, AMF), session management function (Session Management Function, SMF), user plane function (User Plane Function, UPF), policy control function (Policy Control Function, PCF), policy and charging rules function unit (Policy and Charging Rules Function, PCRF), edge application service discovery function (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data storage (Unified Data Repository, UDR), home user server (Home Subscriber Server, HSS), centralized network configuration (CNC), network storage function (Network Repository Function, NRF), network exposure function (Network Exposure Function, NEF), local NEF (Local NEF, or L-NEF), binding support function (Binding Support Function, BSF), application function (Application Function, AF), etc. It should be noted that in the embodiments of the present application, only the core network device in the NR system is introduced as an example, and the specific type of the core network device is not limited.

[0065] In some embodiments, during the random access process, in order to ensure the successful transmission of the preamble, the terminal will resend the preamble after each preamble transmission failure or after no random access response (Random Access Response, RAR) is received or the contention resolution fails. If the reference signal selected by the terminal during this random access is the same as the reference signal selected during the last unsuccessful random access execution, the terminal will increase the power boost counter, such as the synchronization signal block (Synchronization Signal Block, SSB) or the channel state information reference signal (Channel State Information Reference Signal, CSI-RS) and the SSB or CSI-RS selected during the last unsuccessful random access execution are the same, the terminal will increase the power boost counter. By increasing the power boost counter, a larger target received power of the preamble can be calculated to increase the probability of successful preamble transmission. Specifically, the above counter is called a preamble reception target power climb counter, or a preamble power climb counter.

[0066] In some embodiments, the target received power of the preamble (PREAMBLE_RECEIVED_TARGET_POWER) is calculated by the following formula:

[0067] preambleReceivedTargetPower+DELTA_PREAMBLE+(PREAMBLE_POWER_RAMPING_COUNTER–1)×PREAMBLE_POWER_RAMPING_STEP

[0068] Where: preambleReceivedTargetPower is the initial power of the preamble that the network-side device expects to receive;

[0069] DELTA_PREAMBLE indicates the offset based on the preamble format. The specific preamble format (preambleformat) is related. The value of DELTA_PREAMBLE is determined by the protocol.

[0070] PREAMBLE_POWER_RAMPING_STEP indicates the power increase for the next random access after each random access fails but the current random access is not completed;

[0071] PREAMBLE_POWER_RAMPING_COUNTER represents the power boost counter, that is, the preamble receiving target power ramping counter, which will be reset to 1 each time the terminal starts a new random access process.

[0072] It should be noted that in the embodiments of the present application, the implementation method of calculating the target receiving power of the preamble based on the preamble receiving target power climbing counter is not limited. The specific calculation method can refer to the calculation method agreed upon in the protocol, such as the calculation method defined in the protocol, or the calculation method newly defined in the subsequent protocol version.

[0073] In some embodiments, the actual transmission power of the preamble is calculated by the following formula:

[0074] P PRACH,b,f,c (i) = min{P CMAX,f,c (i),P PRACH,target,f,c +PL b,f,c}

[0075] Among them, P CMAX,f,c (i) represents the maximum transmission power configured for the terminal by carrier f in the serving cell of transmission opportunity i (e.g., the maximum transmission power of the terminal is 23 dBm); P PRACH,target,f,c Indicates the target received power (PREAMBLE_RECEIVED_TARGET_POWER) of the physical random access channel (PRACH) on the activated uplink bandwidth part (UL BWP) b of the carrier f on the serving cell C; PL b,f,c represents the path loss of the activated UL BWP b of the carrier f of the downlink reference signal associated with the PRACH transmission on the activated downlink bandwidth part (DL BWP) of the serving cell C, and PL b,f,c It can be equal to reference signal power (reference Signal Power) minus higher layer filtered reference signal received power (higher layer filtered RSRP).

[0076] It should be noted that in the embodiment of the present application, the calculation method of the actual transmission power of the preamble is not limited. The specific calculation method can refer to the calculation method agreed upon in the protocol, such as the calculation method defined in the protocol, or the calculation method newly defined in the subsequent protocol version.

[0077] In some embodiments, a layer 1 / layer 2 triggered mobility (L1 / L2 triggered mobility, LTM) process is introduced. Specifically, the serving base station determines the target cell based on the layer 1 measurement result of the terminal, and uses the medium access control control element (MAC CE) to trigger the terminal to switch the primary cell or the primary and secondary cells (or the primary cell group or the secondary cell group) to the target cell (or the target cell group). In the LTM process, the network side will prepare multiple candidate cells in advance, and send the configuration information of the candidate cells to the terminal through the radio resource control (RRC) signaling, and when the terminal changes the cell, the configuration information of the candidate cells saved by the terminal will not be actively released.

[0078] In order to reduce the delay of cell change, during the LTM process, the network side can trigger the terminal to obtain the TA (timing advance) value of the candidate cell in advance. Specifically, the network side sends a PDCCH order (PDCCH order) to the terminal, which carries the identifier of the candidate cell. After receiving the PDCCH order, the terminal sends a preamble to the candidate cell indicated by the PDCCH order. The network side device of the candidate cell calculates the TA value of the terminal based on the preamble.

[0079] In some embodiments, the PDCCH order that triggers early acquisition of the TA of the candidate cell carries indication information of the candidate cell and configuration information of the random access timing of the candidate cell. In addition, there is 1 bit in the PDCCH order that explicitly configures whether the PRACH is an initial transmission or a retransmission.

[0080] In some embodiments, the TA value (TA value) of the candidate cell is maintained by the serving base station. When the serving base station uses MAC CE to trigger the terminal to perform LTM, if the serving base station maintains a valid TA value of the target cell, the TA value will be carried in the LTM cell switching signaling (MAC CE). After receiving the MAC CE, the terminal can obtain the TA value of the target cell, so there is no need to trigger the RACH process to the target cell, so that the cell switching based on reduced random access (RACH-less) can be performed.

[0081] It should be noted that the above is only an example of the technology related to the embodiments of the present application, and the embodiments of the present application are not limited to this.

[0082] In combination with the accompanying drawings, a power climbing counter processing method, a command sending method, an apparatus and a device provided in an embodiment of the present application are described in detail through some embodiments and their application scenarios.

[0083] See also Figure 2 , Figure 2 is a flow chart of a power climbing counter processing method provided by an embodiment of the present application, such as Figure 2 As shown, the following steps are included:

[0084] Step 201: A terminal receives a target PDCCH command, where the target PDCCH command is used to trigger the terminal to execute a process of acquiring a TA of a target candidate cell in advance.

[0085] The above-mentioned target PDCCH command is a target PDCCH command sent by a network side device and received by the terminal.

[0086] The above process of obtaining the TA of the target candidate cell in advance may be as follows:

[0087] The terminal sends a preamble to the candidate cell indicated by the target PDCCH command, and the network side equipment of the candidate cell calculates the TA value of the terminal based on the preamble, and sends the obtained TA value to the service network side equipment of the terminal for maintenance.

[0088] Step 202: The terminal performs a first operation, wherein the first operation is at least one of the following:

[0089] In the case where the terminal maintains multiple preamble code reception target power climbing counters, resetting or adding 1 to the preamble code reception target power climbing counter associated with the target candidate cell based on the target PDCCH command;

[0090] The preamble receiving target power climbing counter is reset or increased by 1 based on the target information, wherein the target information includes at least one of the following:

[0091] The association relationship between the target PDCCH command and other PDCCH commands;

[0092] Other PDCCH command related information;

[0093] Detection information associated with the target PDCCH command;

[0094] The association relationship between the process of obtaining the TA of the target candidate cell in advance triggered by the target PDCCH command and the previous random access process;

[0095] Among them, other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; the previous random access process is the most recently executed random access process before executing the process of obtaining the TA of the target candidate cell in advance triggered by the target PDCCH command.

[0096] In the embodiment of the present application, the preamble code receiving target power ramping counter may also be referred to as the preamble code power ramping counter (PREAMBLE_POWER_RAMPING_COUNTER), or simply referred to as the power ramping counter.

[0097] The above-mentioned multiple preamble code reception target power climbing counters may be multiple preamble code reception target power climbing counters maintained for multiple cells or multiple cell groups.

[0098] The preamble reception target power rise counter associated with the target candidate cell may be a preamble reception target power rise counter of the target candidate cell, or a preamble reception target power rise counter of the cell group to which the target candidate cell belongs.

[0099] Resetting or adding 1 to the preamble reception target power climbing counter based on the target information means resetting or adding 1 to the preamble reception target power climbing counter maintained by the terminal based on the target information, such as resetting or adding 1 to a preamble reception target power climbing counter maintained by the terminal based on the target information. For example: in the case where the terminal maintains a preamble reception target power climbing counter, the preamble reception target power climbing counter is reset or added 1 based on the target information. The above-mentioned maintenance of a preamble reception target power climbing counter may be to maintain a preamble reception target power climbing counter in a Medium Access Control (MAC) entity.

[0100] The other PDCCH commands may be one or more PDCCH commands received before the terminal receives the target PDCCH command, such as a PDCCH command received by the terminal before receiving the target PDCCH command with the shortest time interval with the target PDCCH command reception time.

[0101] In addition, the above-mentioned other PDCCH commands may indicate new transmission or retransmission, and are used to trigger the terminal to execute the PDCCH command of the TA process of early acquisition of candidate cells. Among them, indicating new transmission means indicating that the TA process of early acquisition of candidate cells this time is the first transmission of the preamble code, and indicating retransmission means indicating that the TA process of early acquisition of candidate cells this time is not the first transmission of the preamble code but a retransmission of the preamble code.

[0102] The association relationship between the target PDCCH command and other PDCCH commands may be a time association, a relationship between indication contents, etc. between the target PDCCH command and other PDCCH commands.

[0103] The above-mentioned other PDCCH command-related information may be received signal quality information associated with other PDCCH commands, or information such as command types.

[0104] The detection information associated with the target PDCCH command may be information detected by the terminal when or before receiving the target PDCCH command.

[0105] The above-mentioned last random access process may be that when the terminal receives the above-mentioned target PDCCH command, triggering the terminal to execute the TA process of obtaining the target candidate cell in advance, that is, before the terminal triggers the execution of the relevant random access process of the target candidate cell according to the target PDCCH command, the terminal recently executed the random access process, such as the random access process with the shortest time interval from the terminal executing the random access process triggered by the PDCCH command and before.

[0106] The association relationship between the above-mentioned process of obtaining the TA of the target candidate cell in advance and the last random access process may be the association relationship between the cell associated with the process of obtaining the TA of the target candidate cell in advance and the cell associated with the last random access process, or whether there is a last random access process, etc.

[0107] In this embodiment of the present application, the PDCCH command may also be referred to as PDCCH.

[0108] In the embodiment of the present application, by maintaining multiple preamble receiving target power climbing counters, the terminal resets or adds 1 to the counters for different candidate cells respectively, so that the count of the preamble receiving target power climbing counter maintained by the terminal is more reasonable, thereby improving the sending performance of the terminal sending the preamble. In addition, since multiple preamble receiving target power climbing counters are maintained, the network side device can send the PDCCH command of another candidate cell in time after sending the PDCCH command of one candidate cell, thereby reducing the delay of obtaining the TA of multiple candidate cells of the terminal, such as the terminal can send preambles to multiple candidate cells in time, thereby improving the sending performance of the terminal sending the preamble, and also improving the random access performance of the terminal.

[0109] Resetting or adding 1 to the counter based on the above target information can avoid the terminal missing the PDCCH command indicating a new transmission, which causes the counter to count unreasonably, thereby improving the terminal's transmission performance of sending the preamble. For example: it can avoid the terminal missing the PDCCH command indicating a new transmission. The terminal adds 1 to the counter based on the PDCCH command indicating a retransmission, which makes the counter count too large, causing the terminal to use unnecessary and excessive power to send the preamble, thereby causing the terminal to consume more power during random access. Resetting or adding 1 to the counter based on the above target information can avoid this situation, ensuring that the terminal uses appropriate power to send the preamble, thereby saving the terminal's transmission power for sending the preamble, that is, improving the transmission performance of sending the preamble, and saving the terminal's power consumption during random access.

[0110] As an optional manner, the association relationship between the target PDCCH command and other PDCCH commands includes at least one of the following:

[0111] The relationship between the candidate cell information indicated by the target PDCCH command and the candidate cell information indicated by the other PDCCH commands;

[0112] The time relationship between the target PDCCH command and the other PDCCH commands.

[0113] The candidate cell information may be a candidate configuration identifier (candidate configuration Id) indicated by a PDCCH command, or a cell identifier of a candidate cell indicated by a PDCCH command.

[0114] The relationship between the candidate cell information indicated by the above-mentioned target PDCCH command and the candidate cell information indicated by other PDCCH commands may be whether the candidate cell information indicated by the target PDCCH command and the candidate cell information indicated by the other PDCCH commands are the same, or whether the candidate cell information indicated by the target PDCCH command and the candidate cell information indicated by the other PDCCH commands are for the same candidate cell.

[0115] The time relationship between the target PDCCH command and other PDCCH commands may be a time interval relationship between receiving the target PDCCH command and other PDCCH commands.

[0116] In this implementation, the preamble code reception target power climb counter can be reset or added by 1 based on the relationship between the candidate cell information indicated by the above-mentioned target PDCCH command and the candidate cell information indicated by other PDCCH commands, or the time relationship between the target PDCCH command and other PDCCH commands. This can avoid the terminal missing the PDCCH indicating the new transmission, resulting in unreasonable counting of the preamble code reception target power climb counter.

[0117] As an optional manner, when the target information satisfies the first condition, the preamble code receiving target power climbing counter is reset;

[0118] Or, when the target information satisfies the second condition, the preamble code receiving target power climbing counter is incremented by 1;

[0119] The first condition and the second condition are different conditions.

[0120] Among them, the above-mentioned first condition and second condition can be agreed upon in the protocol or configured on the network side.

[0121] In this implementation, the preamble code reception target power rise counter can be reset or increased by 1 according to different conditions satisfied by the target information, so as to improve the counting rationality of the preamble code reception target power rise counter.

[0122] Optionally, the first condition includes at least one of the following:

[0123] The candidate cell information indicated by the target PDCCH command is different from the candidate cell information indicated by the other PDCCH command;

[0124] The reception time difference between the target PDCCH command and the other PDCCH command is greater than or equal to a first threshold;

[0125] The target PDCCH command is received after a timer corresponding to the other PDCCH command expires.

[0126] In this implementation, if the candidate cell information indicated by the target PDCCH command is different from the candidate cell information indicated by other PDCCH commands, the preamble receiving target power climbing counter is reset, such as setting the preamble receiving target power climbing counter to 1. If the target PDCCH command indicates retransmission, and the indicated candidate cell information is different from the candidate cell information indicated by other PDCCH commands, the preamble receiving target power climbing counter is reset. In this way, the preamble receiving target power climbing counter can be prevented from being large, causing the terminal to use unnecessary excessive power to send the preamble, so as to save power consumption of the terminal during random access.

[0127] The first threshold is a protocol agreement or a network configuration.

[0128] In some implementations, the first threshold is a fixed value, or the first threshold is associated with at least one of the following:

[0129] Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal;

[0130] The switching type includes at least one of the following:

[0131] Switching within a distributed unit (DU) (Intra-DU), switching between DUs (Inter-DU), switching within a centralized unit (CU) (Intra-CU), and switching between CUs (Inter-CU).

[0132] Among them, the above-mentioned first threshold is associated with at least one of the above-mentioned items, which means that the first threshold is determined based on at least one of the above-mentioned items, for example: Intra-DU and inter-DU correspond to different first thresholds, respectively, and Intra-CU and inter-CU correspond to different first thresholds, respectively; different candidate cells correspond to different first thresholds, respectively; different frequency points associated with different candidate cells correspond to different first thresholds, respectively; different frequency bands correspond to different first thresholds, and if the frequency band corresponding to the candidate cell is frequency band (Frequency range, FR) 1, then it is one value, and if it is FR2, then it is another value; different terminals correspond to different first thresholds, respectively, and different terminal types correspond to different first thresholds.

[0133] Since the above-mentioned first threshold is associated with at least one of the switching type, candidate cell, frequency point, frequency band, terminal, and terminal type, it is possible to flexibly configure a threshold that is more matched with the terminal, so that the count of the preamble code receiving target power climb counter is more matched with the terminal, thereby improving the random access performance of the terminal.

[0134] In the above implementation, when the reception time difference between the target PDCCH command and other PDCCH commands is greater than or equal to the first threshold, the preamble code reception target power rise counter can be reset, such as setting the preamble code reception target power rise counter to 1. If the target PDCCH command indicates retransmission, and the reception time difference between the target PDCCH command and other PDCCH commands is greater than or equal to the first threshold, the preamble code reception target power rise counter is reset. In this way, the preamble code reception target power rise counter can be prevented from being large, causing the terminal to use unnecessary excessive power to send the preamble, so as to save power consumption of the terminal during random access.

[0135] The timer corresponding to the other PDCCH command is a timer started or restarted for the other PDCCH command, and the duration of the timer may be a protocol agreement or a network side configuration. For example, the time when the timer corresponding to the other PDCCH command is started or restarted includes at least one of the following:

[0136] The time when the terminal receives the other PDCCH command;

[0137] The time when the terminal receives the other PDCCH command is delayed.

[0138] The time unit of the above moment may be a time slot, frame, subframe, second, millisecond or microsecond, such as starting or restarting the above timer in the first time slot, frame, subframe, second, millisecond or microsecond after the terminal receives the other PDCCH command.

[0139] The above-mentioned delay may be a delay of N time units, such as starting or restarting the above-mentioned timer N time slots, frames, subframes, seconds, milliseconds or microseconds after receiving the above-mentioned other PDCCH commands.

[0140] In the embodiment of the present application, the timer may also be referred to as a timer.

[0141] In some implementations, the duration of the timer corresponding to the other PDCCH command is a fixed size, or the duration of the timer corresponding to the other PDCCH command is associated with at least one of the following:

[0142] Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal;

[0143] The switching type includes at least one of the following:

[0144] Intra-DU switching, inter-DU switching, intra-CU switching, inter-CU switching.

[0145] Among them, the duration of the timer corresponding to the above-mentioned other PDCCH commands is associated with at least one of the above-mentioned items, which means that the duration of the timer is determined based on at least one of the above-mentioned items, for example: Intra-DU and inter-DU correspond to different durations, Intra-CU and inter-CU correspond to different durations; different candidate cells correspond to different durations; different frequency points associated with different candidate cells correspond to different durations; different frequency bands correspond to different durations, and if the frequency band corresponding to the candidate cell is FR1, it is one duration, and if it is FR2, it is another duration; different terminals correspond to different durations, and different terminal types correspond to different durations.

[0146] Since the duration of the above-mentioned timer is associated with at least one of the switching type, candidate cell, frequency point, frequency band, terminal, and terminal type, it is possible to flexibly configure a timer duration that better matches the terminal, so that the terminal can more accurately determine whether the PDCCH command indicating the initial transmission is missed, thereby setting an appropriate preamble code reception target power counter, so that the count of the preamble code reception target power climb counter is more matched with the terminal, ensuring that the terminal uses appropriate power to send the preamble code.

[0147] In the above implementation, when the target PDCCH command is received after the timer corresponding to other PDCCH commands expires, the preamble code receiving target power climbing counter is reset, such as setting the preamble code receiving target power climbing counter to 1. If the target PDCCH command indicates retransmission and is received after the timer corresponding to other PDCCH commands expires, the preamble code receiving target power climbing counter is reset. This can avoid the preamble code receiving target power climbing counter being large, causing the terminal to use unnecessary excessive power to send the preamble, so as to save the power consumption of the terminal during the random access process.

[0148] Optionally, the second condition includes at least one of the following:

[0149] The candidate cell information indicated by the target PDCCH command is the same as the candidate cell information indicated by the other PDCCH command;

[0150] The reception time difference between the target PDCCH command and the other PDCCH command is less than or equal to a first threshold;

[0151] The target PDCCH command is received before the timer corresponding to the other PDCCH command expires.

[0152] In this implementation, when the candidate cell information indicated by the target PDCCH command is the same as the candidate cell information indicated by other PDCCH commands, or the reception time difference between the target PDCCH command and the other PDCCH commands is less than or equal to the first threshold, or the target PDCCH command is received before the timer corresponding to the other PDCCH command expires, the preamble receiving target power climbing counter is incremented by 1. If the target PDCCH command indicates retransmission, and the indicated candidate cell information is the same as the candidate cell information indicated by other PDCCH commands, the preamble receiving target power climbing counter is incremented by 1, so that the transmission power of the preamble for the same candidate cell can be improved to ensure that the terminal uses appropriate power to send the preamble.

[0153] As an optional implementation manner, the other PDCCH command associated information includes:

[0154] a signal quality of a serving cell associated with the other PDCCH command when the other PDCCH command is received;

[0155] The type of the other PDCCH command.

[0156] The service cell associated with the other PDCCH command may refer to a cell in which the terminal receives the other PDCCH command, and the signal measurement of the service cell refers to the signal quality measured by the terminal when receiving the other PDCCH command.

[0157] The types of the above-mentioned other PDCCH commands may be types of other PDCCH command functions, such as a PDCCH command used to trigger the UE to perform a normal random access procedure, where the normal random access procedure is a random access procedure other than the procedure for the terminal to perform early acquisition of candidate cells.

[0158] In this implementation, the preamble code reception target power climbing counter can be reset or increased by 1 based on the signal quality of the service cell associated with other PDCCH commands or the type of other PDCCH commands when receiving other PDCCH commands. This can avoid the terminal missing the PDCCH indicating the new transmission, resulting in unreasonable counting of the preamble code reception target power climbing counter.

[0159] In some implementations, the associated information of the other PDCCH command may also be the signal quality of the serving cell associated with the other PDCCH command before the other PDCCH command is received.

[0160] As an optional implementation manner, the detection information associated with the target PDCCH command includes:

[0161] whether a beam failure occurs before receiving the target PDCCH command;

[0162] The signal quality of the serving cell associated with the target PDCCH command;

[0163] Whether a PDCCH command for triggering early acquisition of the TA of the candidate cell is received before the target PDCCH command is received.

[0164] Whether a beam failure occurs before the target PDCCH command is received may refer to whether the terminal detects a beam failure before receiving the target PDCCH, such as whether a beam failure is detected within a preset time before receiving the target PDCCH command. The preset time may be a protocol agreement or a network side configuration.

[0165] In some implementations, the signal quality of the serving cell associated with the target PDCCH command includes at least one of the following:

[0166] When the target PDCCH command is received, the signal quality of the serving cell associated with the target PDCCH command;

[0167] Before receiving the target PDCCH command, the signal quality of the serving cell associated with the target PDCCH command.

[0168] The signal quality of the service cell associated with the target PDCCH command before receiving the target PDCCH command may be the signal quality of the service cell associated with the target PDCCH command within a preset time before receiving the target PDCCH command. The preset time may be a protocol agreement or a network side configuration.

[0169] The above-mentioned whether the PDCCH command for triggering early acquisition of the TA of the candidate cell is received before the target PDCCH command is received may be whether the PDCCH command for triggering early acquisition of the TA of the candidate cell is received within a preset time before the target PDCCH command is received, and the preset time may be a protocol agreement or a network side configuration.

[0170] In this implementation, the preamble code reception target power rise counter can be reset or increased by 1 based on the above detection information associated with the target PDCCH command, so as to avoid the terminal missing the PDCCH indicating the new transmission, resulting in unreasonable counting of the preamble code reception target power rise counter.

[0171] Optionally, the first condition includes at least one of the following:

[0172] The signal quality of the serving cell associated with the other PDCCH command is lower than or equal to the second threshold;

[0173] The other PDCCH command is a most recent PDCCH command received by the terminal before the terminal receives the target PDCCH command, and the type of the other PDCCH command is a PDCCH command used to trigger the terminal to perform a normal random access procedure;

[0174] A beam failure occurs before receiving the target PDCCH command;

[0175] The signal quality of the serving cell associated with the target PDCCH command is lower than or equal to a third threshold;

[0176] A PDCCH command for triggering early acquisition of the TA of the candidate cell is not received before the target PDCCH command is received.

[0177] The second threshold and the third threshold are agreed upon by the protocol or configured on the network side.

[0178] The above-mentioned normal random access procedure refers to a random access procedure that does not perform a procedure for obtaining candidate cells in advance.

[0179] In the above implementation, the preamble receiving target power rise counter can be reset under at least one of the above conditions. If the target PDCCH command indicates retransmission, but at least one of the above conditions is met, the preamble receiving target power rise counter is reset. This can avoid the preamble receiving target power rise counter being large, causing the terminal to use unnecessary excessive power to send the preamble, so as to save power consumption of the terminal during random access.

[0180] It should be noted that the above first condition may also be combined with the first condition of the above implementation mode. For example, in some implementation modes, the above first condition includes at least one of the following:

[0181] The candidate cell information indicated by the target PDCCH command is different from the candidate cell information indicated by the other PDCCH command;

[0182] The reception time difference between the target PDCCH command and the other PDCCH command is greater than or equal to a first threshold;

[0183] The target PDCCH command is received after the timer corresponding to the other PDCCH command expires;

[0184] The signal quality of the serving cell associated with the other PDCCH command is lower than or equal to the second threshold;

[0185] The other PDCCH command is a most recent PDCCH command received by the terminal before the terminal receives the target PDCCH command, and the type of the other PDCCH command is a PDCCH command used to trigger the terminal to perform a normal random access procedure;

[0186] A beam failure occurs before receiving the target PDCCH command;

[0187] The signal quality of the serving cell associated with the target PDCCH command is lower than or equal to a third threshold;

[0188] A PDCCH command for triggering early acquisition of the TA of the candidate cell is not received before the target PDCCH command is received.

[0189] In this way, the preamble code receiving target power climbing counter can be reset more flexibly.

[0190] As an optional implementation manner, other PDCCH commands in the embodiment of the present application include:

[0191] a PDCCH command that is most recently received before receiving the target PDCCH command, is used to trigger the terminal to execute a process of acquiring the TA of the candidate cell in advance, and indicates a newly transmitted PDCCH command; or

[0192] A PDCCH command that is most recently received before receiving the target PDCCH command and is used to trigger the terminal to execute a process of acquiring the TA of the candidate cell in advance.

[0193] The PDCCH command for triggering the terminal to execute the process of obtaining the TA of the candidate cell in advance may refer to, and it is not limited to whether the PDCCH command refers to a new transmission or a retransmission.

[0194] In this implementation, the preamble code receiving target power climbing counter can be reset or added by 1 based on the PDCCH command most recently received before receiving the target PDCCH command, so that the counting of the preamble code receiving target power climbing counter can be made more reliable. For example, the preamble code receiving target power climbing counter is reset under at least one of the following conditions:

[0195] The signal quality of the serving cell associated with the other PDCCH command is lower than or equal to the second threshold;

[0196] The candidate cell information indicated by the target PDCCH command is different from the candidate cell information indicated by the other PDCCH command;

[0197] The reception time difference between the target PDCCH command and the other PDCCH command is greater than or equal to a first threshold;

[0198] The target PDCCH command is received after a timer corresponding to the other PDCCH command expires.

[0199] As an optional implementation manner, the association relationship between the process of obtaining the TA of the target candidate cell in advance triggered by the target PDCCH command and the last random access process includes:

[0200] The relationship between the cell associated with the process of acquiring the TA of the target candidate cell in advance triggered by the target PDCCH command and the cell associated with the previous random access process; or,

[0201] Whether there is a previous random access process before the process of obtaining the TA of the target candidate cell in advance triggered by the target PDCCH command.

[0202] The process of obtaining the TA of the target candidate cell in advance triggered by the target PDCCH command may be that the UE performs a random access process to the target candidate cell indicated in the target PDCCH command to obtain the TA of the target candidate cell.

[0203] The cell associated with the process of obtaining the TA of the target candidate cell in advance triggered by the target PDCCH command may be the candidate cell for which the terminal performs the random access process of the process of obtaining the TA of the target candidate cell in advance, and the terminal sends a preamble code to the candidate cell.

[0204] The cell associated with the last random access procedure may be the cell targeted when the terminal performed the last random access procedure, and the terminal sends a preamble code to the cell.

[0205] The relationship between the cell associated with the process of obtaining the TA of the target candidate cell in advance and the cell associated with the last random access process can be reflected as: whether the cell associated with the process of obtaining the TA of the target candidate cell in advance is the same as the cell associated with the last random access process; or whether the last random access process has been executed before the terminal executes the process of obtaining the TA of the target candidate cell in advance.

[0206] In this implementation, the preamble code receiving target power climbing counter can be reset or added by 1 based on the association between the process of obtaining the TA of the target candidate cell in advance and the last random access process. This can avoid conflicts with the last random access process of the corresponding service cell when the terminal executes the process of obtaining the TA of the target candidate cell in advance (that is, the first time domain resources corresponding to the last random access process and the second time-frequency resources corresponding to the random access process associated with the process of the TA of the target candidate cell overlap or the spacing is too small). The terminal executes the random access process of the service cell, resulting in unreasonable counting of the preamble code receiving target power climbing counter, and then the problem of inappropriate power for sending the preamble code occurs.

[0207] In this embodiment, the first condition includes at least one of the following:

[0208] The process of obtaining the TA of the target candidate cell in advance is associated with a different cell than the last random access process;

[0209] The previous random access procedure does not exist.

[0210] In this implementation, when the process of obtaining the TA of the target candidate cell in advance is different from the cell targeted by the last random access process executed last time, even if the target PDCCH command indicates retransmission, the above-mentioned preamble code receiving target power climbing counter is reset, such as setting the preamble code receiving target power climbing counter to 1. Or even if the target PDCCH command indicates retransmission, but the terminal has not executed any random access process before executing the random access process triggered by the target PDCCH command, the above-mentioned preamble code receiving target power climbing counter is reset. In this way, the preamble code receiving target power climbing counter can be avoided to be large, causing the terminal to use unnecessary excessive power to send the preamble code, so as to save the power consumption of the terminal during the random access process.

[0211] In this embodiment, the second condition includes:

[0212] The process of obtaining the TA of the target candidate cell in advance is associated with the same cell as the last random access process;

[0213] The target PDCCH order indicates a retransmission.

[0214] In this implementation, the process of obtaining the TA of the target candidate cell in advance triggered by the target PDCCH command can be associated with the same cell as the last random access process, that is, the preamble is sent to the same cell, and the target PDCCH indicates retransmission, and the preamble receiving target power climbing counter is increased by 1. In this way, the transmission power of the preamble for the same candidate cell can be improved to ensure that the terminal uses appropriate power to send the preamble.

[0215] As an optional implementation manner, the multiple preamble code reception target power climbing counters include at least one of the following:

[0216] A preamble receiving target power ramp-up counter associated with the serving cell;

[0217] A preamble reception target power rise counter associated with multiple candidate cells;

[0218] A preamble code reception target power climbing counter associated with multiple candidate cell groups.

[0219] The above-mentioned multiple candidate cells may be cells associated with multiple candidate configuration identifiers (configuration IDs), or cells associated with multiple candidate configurations, that is, one candidate cell is a cell associated with one configuration identifier or a cell associated with one candidate configuration.

[0220] A candidate cell group may be a candidate cell group of a combination of cells associated with one or more configuration identifiers. Alternatively, a candidate cell group may be any candidate cells allocated by the network side, or candidate cells belonging to the same DU or CU, or candidate cells belonging to the same frequency point, or candidate cells belonging to the same frequency band.

[0221] In this implementation, it is possible to achieve service cell association, and multiple candidate cells or multiple candidate cell groups respectively maintain corresponding preamble code reception target power rise counters, so that the counting of these preamble code reception target power rise counters is more reliable, and the network side device can send the PDCCH command of another candidate cell in time after sending the PDCCH command of one candidate cell, thereby reducing the delay in obtaining the TA of multiple candidate cells of the terminal.

[0222] In some embodiments, when the target PDCCH command indicates initial transmission, the terminal resets the preamble code reception target power rise counter associated with the target candidate cell; when the target PDCCH command indicates retransmission, the terminal adds 1 to the preamble code reception target power rise counter associated with the target candidate cell.

[0223] Optionally, under the third condition, a preamble code reception target power rise counter associated with the target candidate cell is reset, or a preamble code reception target power rise counter associated with the candidate cell group to which the target candidate cell belongs is reset;

[0224] The third condition includes at least one of the following:

[0225] A target timer expires, where the target timer includes a timer associated with the target candidate cell, or a timer associated with a candidate cell group to which the target candidate cell belongs;

[0226] The reception time difference between the target PDCCH command and the PDCCH command indicating a new transmission associated with the target PDCCH command is greater than or equal to a fourth threshold;

[0227] The terminal undergoes cell switching;

[0228] A counter is greater than a fifth threshold, the counter including a counter associated with the target candidate cell, or a counter associated with a candidate cell group to which the target candidate cell belongs;

[0229] The target PDCCH command indicates a new transmission; or the target PDCCH command indicates a retransmission, wherein the terminal does not receive a PDCCH command indicating a new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating a retransmission.

[0230] The PDCCH command indicating new transmission associated with the target PDCCH command may be a PDCCH command for triggering the terminal to execute a process of acquiring the TA of the target candidate cell in advance and indicating new transmission.

[0231] In some implementations, the target timer starts or restarts at a time when:

[0232] The target PDCCH command is associated with a reception time of a newly transmitted PDCCH command; or,

[0233] The receiving time of the PDCCH command indicating retransmission associated with the target PDCCH command, wherein the terminal does not receive the PDCCH command indicating new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating retransmission.

[0234] The above-mentioned terminal did not receive the PDCCH command indicating new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating retransmission, which can be understood as the terminal missed the PDCCH command indicating new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating retransmission. For example: before receiving the target PDCCH command indicating retransmission, the terminal did not receive any PDCCH command for triggering early acquisition of the TA of the candidate cell, or the most recent PDCCH command received by the terminal before receiving the target PDCCH command indicating retransmission was for normal random access, that is, the traditional PDCCH command for triggering random access (legacy PDCCH order for Random access).

[0235] The above counters and timers may be configured separately for different candidate cells, or separately for each candidate cell group.

[0236] The above-mentioned fourth threshold and fifth threshold may be agreed upon by protocol or configured on the network side. In addition, the values ​​of the fourth threshold and the fifth threshold for different candidate cells may be the same or different, or the values ​​of the fourth threshold and the fifth threshold for different candidate cell groups may be the same or different.

[0237] In some implementations, the counter is incremented by 1 in the following situations:

[0238] The target PDCCH command indicating retransmission is received, but it is not possible to determine through the target PDCCH command whether the PDCCH command indicating new transmission associated with the target PDCCH command is missed.

[0239] For example: if the terminal receives a PDCCH command, and it carries the identifier of the candidate cell or candidate cell group associated with the above-mentioned counter, and indicates retransmission, but it cannot be determined through the PDCCH command whether the associated PDCCH order indicating new transmission is missed or the terminal believes that it has not missed the associated PDCCH order indicating new transmission, then the counter is increased by 1.

[0240] In some embodiments, the counter is reset when:

[0241] Indicates the reception time of the newly transmitted target PDCCH command; or,

[0242] The receiving time of the target PDCCH command indicating retransmission, wherein, before receiving the target PDCCH command indicating retransmission, the terminal has not received the PDCCH command indicating new transmission associated with the target PDCCH command.

[0243] In the above implementation manner, when the target timer expires, or when the reception time difference between the target PDCCH command and the PDCCH command indicating new transmission associated with the target PDCCH command is greater than or equal to the fourth threshold, or when a cell switching occurs at the terminal, or when the counter is greater than the fifth threshold, or when the target PDCCH command indicates a new transmission, or when the target PDCCH command indicates a retransmission but the terminal does not receive the PDCCH command indicating a new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating a retransmission, the target power climb counter for receiving the preamble code associated with the target candidate cell or the candidate cell group to which the target candidate cell belongs can be reset. This can avoid excessive power in sending the preamble code by the terminal, thereby saving power consumption of the terminal during random access.

[0244] In an embodiment of the present application, a terminal receives a target PDCCH command, and the target PDCCH command is used to trigger the terminal to execute a process for obtaining the TA of a target candidate cell in advance; the terminal executes a first operation, and the first operation is at least one of the following: when the terminal maintains multiple preamble code reception target power climb counters, the preamble code reception target power climb counter associated with the target candidate cell is reset or added by 1 based on the target PDCCH command; the preamble code reception target power climb counter is reset or added by 1 based on target information, and the target information includes at least one of the following: the association relationship between the target PDCCH command and other PDCCH commands; the association information of other PDCCH commands; the detection information associated with the target PDCCH command; the association relationship between the process for obtaining the TA of the target candidate cell in advance and the last random access process; wherein other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; the last random access process is the most recently executed random access process before executing the process for obtaining the timing advance of the target candidate cell in advance. In this way, by maintaining multiple preamble receiving target power climbing counters, the terminal resets or adds 1 to the counters for different candidate cells respectively, so that the count of the preamble receiving target power climbing counter maintained by the terminal is more reasonable, thereby improving the terminal's sending performance of sending preambles. Resetting or adding 1 to the counter based on the above target information can avoid the terminal missing the PDCCH command indicating the new transmission, resulting in unreasonable counting of the counter, thereby improving the terminal's sending performance of sending preambles.

[0245] See also Figure 3 , Figure 3 is a flowchart of a command sending method provided in an embodiment of the present application, such as Figure 3 As shown, the following steps are included:

[0246] Step 301: The network side device sends a first PDCCH command to the terminal, where the first PDCCH command is used to trigger: executing a process of obtaining the TA of the first candidate cell in advance and instructing a new transmission.

[0247] Among them, the above-mentioned first PDCCH command can be Figure 2 For details, please refer to the target PDCCH command or other PDCCH command in the embodiment shown in FIG. Figure 2 The corresponding descriptions in the illustrated embodiments are not repeated here.

[0248] Step 302: The network side device sends a second PDCCH command to the terminal under the target condition, where the second PDCCH command is used to trigger: executing a process of obtaining a TA of a second candidate cell in advance;

[0249] The target condition includes any of the following:

[0250] The network side device confirms that the process of obtaining the TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed;

[0251] The network side device successfully sends the first PDCCH command;

[0252] The network side device successfully triggers the terminal to execute a process of obtaining the TA of the first candidate cell in advance.

[0253] Among them, the network side device confirms that the process of obtaining the TA of the first candidate cell in advance has not been successfully completed, which may mean that the network side device has executed the process of obtaining the TA of the first candidate cell in advance, but failed to successfully obtain the TA of the first candidate cell, or the network side device determines that the acquisition of the TA of the first candidate cell in advance has failed.

[0254] In this embodiment, since the second PDCCH command is sent to the terminal under the condition that the network side device confirms the successful completion of the process of obtaining the TA of the first candidate cell in advance or confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed, the terminal can avoid resetting the preamble code reception target power climbing counter based on the above-mentioned second PDCCH command while maintaining a preamble code reception target power climbing counter, so that the terminal cannot select a higher transmission power to send the preamble code for the first candidate cell, thereby improving the terminal's transmission performance of the preamble code.

[0255] In this embodiment, since the network side device successfully triggers the terminal to execute the process of obtaining the TA of the first candidate cell in advance, a second PDCCH command is sent to the terminal. This can reduce the delay in obtaining the TA of the first candidate cell and the TA of the second candidate cell of the terminal, so that the terminal can send the preamble code to the second candidate cell more quickly, thereby improving the sending performance of the terminal sending the preamble code.

[0256] In some embodiments, when the terminal maintains a preamble code reception target power climb counter, the above-mentioned target condition includes: the network side device confirms that the process of obtaining the TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed.

[0257] In some embodiments, when the terminal maintains multiple preamble code reception target power climb counters, the above target conditions include: the network side device successfully sends the first PDCCH command, or the network side device successfully triggers the terminal to execute the process of obtaining the TA of the first candidate cell in advance.

[0258] Optionally, before the first timer expires, the network side device acquires the TA of the first candidate cell, and determines that the process of acquiring the TA of the first candidate cell in advance is successfully completed;

[0259] The method further comprises:

[0260] After the first timer expires, the network side device fails to acquire the TA of the first candidate cell, and the network side device sends a third PDCCH command to the terminal, where the third PDCCH command is used to trigger: executing a process of acquiring the TA of the first candidate cell in advance and instructing retransmission;

[0261] The time when the first timer is started or restarted includes:

[0262] The time when the network side device sends the first PDCCH command;

[0263] The time after which the network side device sends the first PDCCH command.

[0264] The above-mentioned delay may be a delay of one or more time units, such as one or more seconds, milliseconds, microseconds, frames, subframes, time slots or symbols.

[0265] The delay duration may be a fixed duration, or a variable duration associated with at least one of the following:

[0266] Candidate cells, terminal measurement reports, terminal capabilities, and terminal locations

[0267] The association with the candidate cell may be association with the candidate cell identifier, the DU corresponding to the candidate cell, and the frequency point or frequency band information corresponding to the candidate cell.

[0268] The duration of the first timer is associated with at least one of the following:

[0269] Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal;

[0270] The switching type includes at least one of the following:

[0271] Intra-DU switching, inter-DU switching, intra-CU switching, and inter-CU switching.

[0272] In the above implementation, it is possible to determine the successful completion of the process of obtaining the TA of the first candidate cell in advance based on the first timer, thereby sending the second PDCCH command to the terminal in time to reduce the delay in obtaining the TA of the second candidate cell of the terminal.

[0273] And it is also possible to send a third PDCCH command to the terminal based on the first timer, instructing the terminal to retransmit the preamble code in time, thereby improving the sending performance of the terminal sending the preamble code.

[0274] Optionally, in the first case, the network side device obtains the TA of the first candidate cell, and determines that the process of obtaining the TA of the first candidate cell in advance is successfully completed;

[0275] Or, in the second case, the network side device fails to obtain the TA of the first candidate cell, and confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed;

[0276] The first condition includes that the first timer has not expired, and also includes at least one of the following:

[0277] The counter is less than or equal to the threshold and the second timer has not expired;

[0278] The second situation includes at least one of the following:

[0279] The counter is greater than the threshold and the second timer expires.

[0280] Wherein, the counter is incremented by 1 when the network side device sends the third PDCCH command;

[0281] The moment when the second timer is started or restarted includes:

[0282] At the moment when the network side device triggers the terminal to execute the process of obtaining the TA of the first candidate cell in advance for the first time; or,

[0283] Determine a time point when a process of obtaining the TA of the first candidate cell in advance is successfully completed.

[0284] The length of the second timer is fixed, or the length of the second timer is associated with at least one of the following:

[0285] Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal;

[0286] The switching type includes at least one of the following:

[0287] Intra-DU switching, inter-DU switching, intra-CU switching, and inter-CU switching.

[0288] In some implementations, the length of the second timer is longer than that of the first timer, such as an integer multiple of the first timer.

[0289] The threshold corresponding to the counter may be a protocol agreement or a network configuration, such as a fixed threshold or an association with at least one of the following:

[0290] Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal;

[0291] The switching type includes at least one of the following:

[0292] Intra-DU switching, inter-DU switching, intra-CU switching, and inter-CU switching.

[0293] In this implementation, it is possible to accurately determine the successful completion of the process of early acquisition of the TA of the first candidate cell based on the above-mentioned counter or the second timer, or accurately confirm that the process of early acquisition of the TA of the first candidate cell has not been successfully completed, thereby sending the above-mentioned second PDCCH command to the terminal in time to reduce the delay in acquiring the TA of the second candidate cell of the terminal.

[0294] Optionally, the network side device sending a second PDCCH command to the terminal under a target condition includes:

[0295] The network side device sends the second PDCCH command to the terminal when successfully triggering the terminal to execute the process of acquiring the TA of the first candidate cell in advance; or,

[0296] The network side device sends the second PDCCH command to the terminal at a time delayed from a time of successfully sending the first PDCCH command.

[0297] The above-mentioned delay period may be agreed upon in the protocol or configured on the network side.

[0298] In this implementation, the second PDCCH command can be flexibly sent to the terminal to meet the needs of different scenarios or services.

[0299] Optionally, the first candidate cell and the second candidate cell belong to different candidate cell groups.

[0300] In this implementation, when the terminal maintains the preamble code reception target power climbing counters of multiple candidate cell groups, it can be achieved that the counting of the preamble code reception target power climbing counter maintained by the terminal is made more reasonable.

[0301] It should be noted that this embodiment is Figure 2 The implementation of the corresponding network side device in the embodiment shown in the figure can be found in the specific implementation of Figure 2 To avoid repeated description, the related description of the embodiment shown in the present invention will not be repeated in detail.

[0302] The method provided in the embodiments of the present application is illustrated below by means of multiple embodiments:

[0303] Embodiment 1:

[0304] This embodiment mainly describes that before the source gNB triggers the terminal to complete the early acquisition of the TA of the first candidate cell, it will not trigger the terminal to perform the process of acquiring the TA in advance to other candidate cells or trigger the terminal to perform other random access processes, so as to avoid unreasonable counting of the terminal's preamble code reception target power climb counter, which specifically includes the following steps:

[0305] Step 1: The source gNB sends an RRC reconfiguration message to the terminal, which carries the configuration information of one or more candidate cells.

[0306] Step 2: The source gNB sends a PDCCH command to the terminal, triggering the terminal to execute the process of acquiring the TA in advance for candidate cell #1 (C-cell #1). The PDCCH command indicates that the terminal is for initial scheduling and carries at least one of the following information:

[0307] Candidate cell identifier, such as configuration ID or cell identifier;

[0308] Preamble retransmission or initial transmission indication information;

[0309] Random Access Preamble index;

[0310] Uplink / supplementary uplink indicator (UL / SUL indicator);

[0311] Synchronization signal / physical broadcast channel index (SS / PBCH index);

[0312] PRACH Mask index (PRACH Mask index).

[0313] Step 3: The source gNB starts the first timer at the first moment:

[0314] The first moment is any of the following moments:

[0315] The moment when the Source gNB successfully sends the PDCCH command that triggers the terminal to execute the TA procedure for early acquisition of candidate cells;

[0316] The time after the Source gNB successfully sends the PDCCH command for the first duration;

[0317] The first duration may be any of the following:

[0318] Fixed

[0319] Variable duration according to different candidate cells (including candidate cell identifiers, DUs corresponding to candidate cells, frequency points or frequency band information corresponding to candidate cells) and / or measurement reports of terminals and / or capability determination of terminals and / or location of terminals

[0320] The unit of the first duration may be seconds, milliseconds, microseconds, frames, subframes, time slots or symbols.

[0321] The unit of the first moment may be a frame, a subframe, a time slot, a symbol, a second, a millisecond or a microsecond.

[0322] The duration of the first timer can be any of the following:

[0323] Fixed length;

[0324] Intra-DU and inter-DU correspond to different first timer durations respectively;

[0325] Different candidate cells correspond to different first timer durations;

[0326] Different frequency points correspond to different durations of the first timer;

[0327] Different frequency bands correspond to different durations of the first timer;

[0328] Different terminals correspond to different first timer durations;

[0329] Different terminal types correspond to different durations of the first timer.

[0330] Optionally, the Source gNB maintains a first counter, and resets the first counter when the Source gNB triggers the terminal to execute the process of obtaining the TA of the first candidate cell in advance for the first time (that is, the above-mentioned PDCCH command indicates new transmission), including setting the first counter to 1 or 0; or the Source gNB maintains a second timer, and resets the second counter when the Source gNB triggers the terminal to execute the process of obtaining the TA of the first candidate cell in advance for the first time (that is, the above-mentioned PDCCH command indicates new transmission);

[0331] The length of the second timer is fixed, or Intra-DU and inter-DU correspond to different lengths of the second timer respectively, or the length of the second timer is determined by referring to the length of the first timer.

[0332] The size of the first threshold corresponding to the first counter may be fixed, or Intra-DU and inter-DU may correspond to different first thresholds respectively, and the size of the first threshold is determined by referring to the duration of the first timer.

[0333] In some implementations, the length of the second timer is longer than that of the first timer, and optionally, is an integer multiple of the first timer.

[0334] Step 4: If the source gNB receives the TA value of the candidate cell (C-cell) #1 before the first counter is less than or equal to the first threshold or before the second timer expires, and before the first timer expires, the source gNB considers that the TA process of obtaining C-cell #1 in advance is successfully completed, and the source gNB stops the first timer and the second timer (if configured); if the source gNB does not receive the TA value of C-cell #1 after the first timer expires, the source gNB re-triggers the terminal to execute the TA process of obtaining C-cell #1 in advance; the first counter + 1 (if the first counter is configured);

[0335] If the source gNB successfully completes the TA procedure for early acquisition of C-cell#1, the source gNB resets the second timer or resets the first counter.

[0336] If the TA procedure for early acquisition of C-cell#1 is not successfully completed after the first counter is greater than or equal to the first threshold or the second timer expires, the source gNB considers that the TA procedure for early acquisition of C-cell#1 is not successfully completed.

[0337] Step 5: After completing (including successful completion or unsuccessful completion) the TA process of pre-acquiring C-cell#1, the source gNB can trigger the terminal to execute the TA process of pre-acquiring other candidate cells except C-cell#1; otherwise, the terminal cannot be triggered to execute the TA process of pre-acquiring other candidate cells except C-cell#1.

[0338] In this embodiment, the terminal's preamble code receiving target power climbing counter is specifically as follows: Figure 4 shown.

[0339] In this embodiment, after the source gNB obtains the TA value of a candidate cell, it can trigger the terminal to obtain the TA value of other candidate cells. This can prevent the terminal from being unable to use a higher transmit power to send the preamble code, so as to increase the probability of successfully obtaining the TA value of the candidate cell. For example: the MAC entity of the terminal has only one preamble code receiving target power ramping counter (PREAMBLE_POWER_RAMPING_COUNTE), so it can only get one preamble code receiving target power (PREAMBLE_RECEIVED_TARGET_POWER). If the source gNB does not execute the method provided in this embodiment, PREAMBLE_POWER_RAMPING_COUNTER will always be reset to 1. Therefore, in the case of failure to obtain the TA value of a candidate cell, the terminal cannot use a higher preamble code transmission power to send the preamble code, which reduces the probability of successfully obtaining the TA value of the candidate cell.

[0340] Embodiment 2:

[0341] Generally, the terminal maintains a preamble code reception target power ramping counter (PREAMBLE_POWER_RAMPING_COUNTER) in a MAC entity. When the terminal receives a PDCCH command that triggers the terminal to execute the TA process of early acquisition of candidate cells and indicates a new transmission, the terminal sets PREAMBLE_POWER_RAMPING_COUNTER to 1; when the terminal receives a PDCCH command that triggers the terminal to execute the TA process of early acquisition of candidate cells and indicates a retransmission, the terminal adds 1 to PREAMBLE_POWER_RAMPING_COUNTER.

[0342] In this embodiment, the terminal receives a first PDCCH command, the first PDCCH command is used to trigger the terminal to execute a TA process for acquiring a candidate cell in advance, and the first PDCCH command indicates retransmission. When one of the following is satisfied, the terminal sets the current PREAMBLE_POWER_RAMPING_COUNTER to 1:

[0343] Solution 1-1: If the candidate configuration Id indicated in the first PDCCH command is different from the candidate configuration Id indicated in the second PDCCH command, the second PDCCH command is used to trigger the terminal to perform a TA procedure for early acquisition of candidate cells, and the second PDCCH command indicates a new transmission, and the second PDCCH command is the PDCCH command indicating a new transmission that the terminal has recently received before the first PDCCH command;

[0344] Scheme 1-2: If the candidate configuration Id indicated in the first PDCCH command is different from that indicated in the third PDCCH command, the third PDCCH command is used to trigger the terminal to execute the TA process for early acquisition of candidate cells, and the third PDCCH command is used to trigger the terminal to execute the TA process for early acquisition of candidate cells and is the most recent PDCCH command received before the first PDCCH command.

[0345] Solution 2: If the terminal detects a beam failure before receiving the first PDCCH command or the RSRP of the cell where the PDCCH command is received measured by the terminal is lower than the second threshold.

[0346] The second threshold is a value specified in the protocol or configured in the network.

[0347] Solution 3-1: The time difference between the first PDCCH command and the second PDCCH command received by the terminal is greater than a third threshold;

[0348] Among them, the above-mentioned first PDCCH command and second PDCCH refer to the corresponding description of the above-mentioned solution 1, which will not be repeated here.

[0349] The third threshold is agreed upon by the protocol or configured by the network. The third threshold can be any of the following:

[0350] Fixed length;

[0351] Intra-DU and inter-DU correspond to different third thresholds respectively;

[0352] Different candidate cells correspond to different third thresholds;

[0353] Different frequency points associated with different candidate cells correspond to different third thresholds;

[0354] Different frequency bands correspond to different third thresholds, that is, if the frequency band corresponding to the candidate cell is FR1, then the third threshold is one value, and if the frequency band corresponding to the candidate cell is FR2, then the third threshold is another value;

[0355] Different terminals correspond to different third thresholds;

[0356] Different terminal types correspond to different third thresholds.

[0357] Solution 3-2: The terminal receives the first PDCCH command after the third timer expires, the length of the third timer is agreed upon by the protocol or configured by the network, and the start or restart time of the third timer is any of the following times:

[0358] The moment when the terminal receives the second PDCCH command;

[0359] The terminal receives the second PDCCH command at a moment after the second duration, for example, N time slots, or frames, subframes, seconds, milliseconds, or microseconds after receiving the second PDCCH command; the second duration may be a fixed length or different terminals or terminal types may correspond to different second durations.

[0360] Scheme 4-1: If the time difference between the first PDCCH command and the second PDCCH command received by the terminal is less than the third threshold, even if Scheme 1-1 is met, the value of PREAMBLE_POWER_RAMPING_COUNTER is still increased by 1; if the time difference between the first PDCCH command and the second PDCCH command received by the terminal is not less than the third threshold and satisfies Scheme 1-1, the value of PREAMBLE_POWER_RAMPING_COUNTER is set to 1.

[0361] Scheme 4-2: The terminal receives the first PDCCH command before the third timer expires. Even if Scheme 1-1 is met, the value of PREAMBLE_POWER_RAMPING_COUNTER is still increased by 1; if the terminal receives the first PDCCH command after the third timer expires and Scheme 1-1 is met, the value of PREAMBLE_POWER_RAMPING_COUNTER is set to 1.

[0362] In this way, when a PDCCH command is received, if the third timer is running and scheme 1 is satisfied, PREAMBLE_POWER_RAMPING_COUNTER+1; otherwise, PREAMBLE_POWER_RAMPING_COUNTER is reset.

[0363] Solution 5-1: The time difference between the first PDCCH command and the third PDCCH command received by the terminal is greater than the fourth threshold

[0364] Among them, the above-mentioned first PDCCH command and the third PDCCH refer to the corresponding description of the above-mentioned solution 1, which will not be repeated here.

[0365] The fourth threshold is agreed upon by the protocol or configured by the network. The fourth threshold may be any of the following:

[0366] Fixed length;

[0367] Intra-DU and inter-DU correspond to different fourth thresholds respectively;

[0368] Different candidate cells correspond to different fourth thresholds;

[0369] Different frequency points correspond to different fourth thresholds;

[0370] Different frequency bands correspond to different fourth thresholds;

[0371] Different terminals correspond to different fourth thresholds respectively;

[0372] Different terminal types correspond to different fourth thresholds.

[0373] Solution 5-2: The terminal receives the first PDCCH command after the fourth timer expires, the length of the fourth timer is agreed upon by the protocol or configured by the network, and the start or restart time of the fourth timer is any of the following times:

[0374] The moment when the terminal receives the third PDCCH command;

[0375] The terminal receives the third PDCCH command at a time after the third duration, for example, N time slots, frames, subframes, seconds, milliseconds, or microseconds after receiving the third PDCCH command. The third duration may be a fixed length or different terminals or terminal types may correspond to different second durations.

[0376] Scheme 6-1: If the time difference between the first PDCCH command and the third PDCCH command received by the terminal is less than the fourth threshold, even if Scheme 1-2 is met, the value of PREAMBLE_POWER_RAMPING_COUNTER is still increased by 1; if the time difference between the first PDCCH command and the third PDCCH command received by the terminal is not less than the fourth threshold and satisfies Scheme 1-2, the value of PREAMBLE_POWER_RAMPING_COUNTER is set to 1.

[0377] Scheme 6-2: The terminal receives the first PDCCH command before the fourth timer expires. Even if Scheme 1-2 is met, the value of PREAMBLE_POWER_RAMPING_COUNTER is still increased by 1; if the terminal receives the first PDCCH command after the fourth timer expires and Scheme 1-2 is met, the value of PREAMBLE_POWER_RAMPING_COUNTER is set to 1.

[0378] Solution 7: The terminal does not receive any PDCCH command for triggering early acquisition of the TA value of the candidate cell before receiving the first PDCCH command.

[0379] For example, at time T1, the network-side device sends a PDCCH command indicating a new transmission and triggers early acquisition of the TA value of candidate cell #1, and the terminal misses the PDCCH command;

[0380] In the T2 time slot: the network side device sends an indication of retransmission and triggers the above-mentioned first PDCCH command for obtaining the TA value of candidate cell #1 in advance.

[0381] That is, the first PDCCH command received by the terminal in the serving cell is a retransmission, at which time the preamble receiving target power climbing counter is reset or does not increase.

[0382] or

[0383] After the terminal completes contention-based random access (CBRA) in the serving cell, the first PDCCH command received is a retransmission. At this time, the preamble reception target power rise counter is reset.

[0384] Solution 8: The most recent PDCCH order for random access received by the terminal before receiving the first PDCCH order is a legacy PDCCH order for triggering random access (legacy PDCCH order for Random Access).

[0385] It should be noted that the various solutions described above can be implemented separately or in combination with each other.

[0386] By using the method provided in this embodiment, when the terminal misses a PDCCH command indicating initial transmission, the PREAMBLE_POWER_RAMPING_COUNTER may be set to 1, thereby preventing the PREAMBLE_POWER_RAMPING_COUNTER from being too large and causing the terminal to use unnecessary excessive power to send the preamble.

[0387] Embodiment three:

[0388] This embodiment mainly describes that after the terminal completes the TA of a candidate cell in advance, the network side may trigger the terminal to execute a process of obtaining the TA in advance for other candidate cells or trigger the terminal to execute other random access processes, which specifically includes the following steps:

[0389] Step 1 and step 2 are the same as in Example 1;

[0390] Step 3: The source gNB sends a PDCCH command to the terminal at the second moment, triggering the terminal to execute the process of obtaining the TA in advance for candidate cell #2 (C-cell #2);

[0391] The second time may be before or after the source gNB obtains the TA value of C-cell#1, and the second time is any of the following times:

[0392] The moment when the Source gNB successfully sends the PDCCH command that triggers the terminal to execute the TA procedure for early acquisition of the candidate cell C-cell#1;

[0393] The moment after the Source gNB successfully sends the fourth duration of the PDCCH command, where the fourth duration can be any of the following:

[0394] Fixed;

[0395] The variable duration is determined according to different candidate cells or terminal measurement reports or terminal capabilities or terminal locations, such as any of the following:

[0396] Intra-DU and inter-DU correspond to different fourth durations;

[0397] Different candidate cells correspond to different fourth time lengths;

[0398] Different frequency points correspond to different fourth durations;

[0399] Different frequency bands correspond to different fourth durations;

[0400] Different terminals correspond to different fourth durations;

[0401] Different terminal types correspond to different fourth time periods.

[0402] The unit of the fourth time length may be seconds, milliseconds, microseconds, frames, subframes, time slots or symbols.

[0403] The method provided in this embodiment can avoid the need to obtain the TA value of one candidate cell before continuing to obtain the TA values ​​of other candidate cells, thereby reducing the delay in obtaining the TA values ​​of more candidate cells.

[0404] Embodiment 4:

[0405] In this embodiment, the terminal maintains multiple preamble code reception target power ramping counters (PREAMBLE_POWER_RAMPING_COUNTER), and each preamble code reception target power ramping counter is for any of the following items:

[0406] Service community;

[0407] a candidate cell;

[0408] a set of candidate cells;

[0409] A group of candidate cells may be any of the following:

[0410] Any number of candidate cells assigned by NW;

[0411] Candidate cells belonging to the same DU or CU;

[0412] Candidate cells belonging to the same frequency point;

[0413] Candidate cells belonging to the same frequency band.

[0414] That is, the terminal maintains a preamble code reception target power climbing counter for the serving cell and each (or each group) of candidate cells respectively.

[0415] If the terminal maintains a preamble code reception target power ramp-up counter for each serving cell and each candidate cell, when the terminal receives a PDCCH command and the PDCCH command indicates initial transmission, the terminal sets the PREAMBLE_POWER_RAMPING_COUNTER associated with the candidate cell identifier (or candidate configuration identifier) ​​carried in the PDCCH command to 1; when the PDCCH command indicates retransmission, the terminal increases the PREAMBLE_POWER_RAMPING_COUNTER associated with the candidate cell identifier (or candidate configuration identifier) ​​carried by the PDCCH command by 1;

[0416] If the terminal maintains a preamble receiving target power ramp counter for each serving cell and each group of candidate cells, the PDCCH command carries a first identifier, which may be a group identifier or a DU identifier or a CU identifier or a frequency identifier or a frequency band identifier, and each first identifier is associated with a group of cells, which is a set of cells sharing a PREAMBLE_POWER_RAMPING_COUNTER. The association between the first identifier and a group of cells may be determined by protocol agreement or NW configuration. In this case, in the implementation method on the network side of Example 3, the source gNB cannot simultaneously trigger the terminal to execute the process of obtaining the TA of multiple cells in a group of cells in advance. Specifically, only when the source gNB obtains the TA value of cell A in the group of cells, can it trigger the terminal to execute the process of obtaining the TA values ​​of other candidate cells in the group except cell A in advance. On the terminal side, when the terminal receives a PDCCH command, when the PDCCH command indicates initial transmission, the terminal sets the PREAMBLE_POWER_RAMPING_COUNTER associated with the first identifier carried in the PDCCH command to 1; when the PDCCH command indicates retransmission, the terminal increases the PREAMBLE_POWER_RAMPING_COUNTER associated with the first identifier carried by the PDCCH command by 1, as shown in the following example: Figure 5 shown.

[0417] Embodiment five:

[0418] This embodiment mainly describes the method for setting the multiple preamble code receiving target power ramping counters (PREAMBLE_POWER_RAMPING_COUNTER) in the above-mentioned embodiment 4, which is as follows:

[0419] When the first condition is met, the terminal resets the first PREAMBLE_POWER_RAMPING_COUNTER to 1, where the first PREAMBLE_POWER_RAMPING_COUNTER is a PREAMBLE_POWER_RAMPING_COUNTER associated with a candidate cell or a group of candidate cells. The first condition includes any one of the following:

[0420] The fifth timer expires;

[0421] The fifth duration exceeds the fifth threshold;

[0422] The terminal has a cell handover;

[0423] The terminal receives a PDCCH command, which carries an identifier of a candidate cell or a candidate cell group associated with the fifth timer or the fifth threshold, and indicates a new transmission (initial transmission);

[0424] The terminal receives a PDCCH command, which carries an identifier of a candidate cell or a candidate cell group associated with a fifth timer or a fifth threshold, and indicates retransmission, but the terminal determines that the PDCCH command indicating a new transmission (initial transmission) associated with the PDCCH command is missed;

[0425] The second counter is greater than a sixth threshold.

[0426] Among them, each candidate cell or candidate cell group is associated with a fifth timer, which is used to indicate that the network side will only trigger the process of obtaining the TA value of the candidate cell associated with the fifth timer in advance before the fifth timer expires, or indicate that the terminal only performs early acquisition of the TA value to the candidate cell before the fifth timer expires. The length of the fifth timer associated with each candidate cell or candidate cell group can be the same or different, and can be configured by the network side or agreed upon by the protocol.

[0427] The start time of the fifth timer includes:

[0428] The terminal receives a fourth PDCCH command indicating a new transmission (initial transmission), and the fourth PDCCH command carries an identifier of a candidate cell or a candidate cell group associated with the fifth timer; or,

[0429] The terminal receives the fifth PDCCH command indicating retransmission, and the fifth PDCCH command carries the identifier of the candidate cell or candidate cell group associated with the fifth timer, and the terminal determines that the PDCCH command indicating new transmission (initial transmission) associated with the fifth PDCCH command is missed.

[0430] The method for the terminal to determine the PDCCH command indicating a new transmission (initial transmission) associated with the fifth PDCCH command indicating retransmission that was missed includes:

[0431] The terminal has not received any PDCCH command for triggering early acquisition of the TA value of the candidate cell before receiving the fifth PDCCH command;

[0432] The most recent PDCCH order for RACH received by the terminal before receiving the fifth PDCCH order is a conventional PDCCH order for RACH.

[0433] For the fifth duration exceeding the fifth threshold, each candidate cell or candidate cell group is associated with a fifth threshold, which is used to indicate the upper limit of the duration of the process of obtaining the TA value in advance of the candidate cell associated with the fifth duration triggered by the network side; or indicate the upper limit of the fifth duration of the process of obtaining the TA value in advance of the candidate cell to the terminal. The fifth threshold associated with each candidate cell or candidate cell group can be the same or different, and can be configured by the network side or agreed upon by the protocol.

[0434] The starting time of the fifth duration may be the start time of the fifth timer.

[0435] For the above-mentioned second counter being greater than the sixth threshold, each candidate cell or candidate cell group is associated with a second counter and a sixth threshold, which is used to indicate the total number of times and the upper limit of the number of times that the network side triggers the process of obtaining the TA value of the candidate cell associated with the counter and the threshold in advance; or to indicate the number of times and the upper limit of the number of times that the terminal executes the process of obtaining the TA value in advance to the candidate cell. The sixth threshold associated with each candidate cell or candidate cell group can be the same or different, and can be configured by the network side or agreed upon by the protocol.

[0436] The condition for resetting the second counter, i.e., setting the second counter to 1 or 0, includes at least one of the following:

[0437] The terminal receives a PDCCH command, which carries an identifier of a candidate cell or a candidate cell group associated with a second counter, and indicates a new transmission;

[0438] The terminal receives a PDCCH command carrying an identifier of a candidate cell or a candidate cell group associated with a second counter, which indicates retransmission, and the terminal determines that the associated PDCCH command indicating new transmission is missed.

[0439] If the terminal receives a PDCCH command that carries the identifier of a candidate cell or candidate cell group associated with a second counter, and indicates retransmission and it is not possible to determine whether the associated PDCCH command indicating new transmission is missed through this PDCCH command, the second counter is increased by 1.

[0440] The embodiments of the present application can be implemented as follows:

[0441] The network side triggers the terminal to execute the process of obtaining the TA of the candidate cell in advance through the PDCCH command, including:

[0442] Method 1: After the source gNB completes (including successful completion or unsuccessful completion) the TA process of pre-acquiring C-cell#1, the source gNB can trigger the terminal to execute the TA process of pre-acquiring other candidate cells except C-cell#1; otherwise, the terminal cannot be triggered to execute the TA process of pre-acquiring other candidate cells except C-cell#1;

[0443] Method 2: After the source gNB fails to complete the TA process of pre-acquiring C-cell#1, it can trigger the terminal to execute the TA process of pre-acquiring other candidate cells except C-cell#1.

[0444] After the terminal receives a PDCCH command for triggering the terminal to execute a TA procedure for early acquisition of a candidate cell and instructing retransmission, the terminal sets the current PREAMBLE_POWER_RAMPING_COUNTER to 1 when certain conditions are met.

[0445] The terminal maintains a preamble code reception target power rise counter for the serving cell and each candidate cell or each group of candidate cells respectively.

[0446] It should be noted that the method provided in the embodiment of the present application is applied to the situation where the terminal does not receive the notification of the suspend power climbing counter, that is, it is assumed that the terminal does not receive the notification of the suspend power climbing counter.

[0447] Through the method provided in the embodiment of the present application, the terminal can more accurately set the preamble code receiving target power climbing counter, so that the appropriate preamble code sending power can be used to send the preamble code, thereby saving the terminal's energy consumption as much as possible without reducing the probability of successfully acquiring the TA value of the candidate cell, thereby improving the terminal's sending performance of the preamble code.

[0448] The power climbing counter processing method provided in the embodiment of the present application can be executed by a power climbing counter processing device. In the embodiment of the present application, the power climbing counter processing device provided in the embodiment of the present application is described by taking the power climbing counter processing device executing the power climbing counter processing method as an example.

[0449] The command sending method provided in the embodiment of the present application can be executed by a command sending device. In the embodiment of the present application, the command sending device provided in the embodiment of the present application is described by taking the command sending method executed by the command sending device as an example.

[0450] See also Figure 6 , Figure 6 is a structural diagram of a power climbing counter processing device provided in an embodiment of the present application, such as Figure 6 As shown, the power rise counter processing device 600 includes:

[0451] A receiving module 601 is used to receive a target physical downlink control channel PDCCH command, where the target PDCCH command is used to trigger the terminal to execute a process of obtaining a TA of a target candidate cell in advance;

[0452] The execution module 602 is configured to execute a first operation, wherein the first operation is at least one of the following:

[0453] In the case where the terminal maintains multiple preamble code reception target power climbing counters, resetting or adding 1 to the preamble code reception target power climbing counter associated with the target candidate cell based on the target PDCCH command;

[0454] The preamble code receiving target power climbing counter is reset or increased by 1 based on the target information, wherein the target information includes at least one of the following:

[0455] The association relationship between the target PDCCH command and other PDCCH commands;

[0456] Other PDCCH command related information;

[0457] Detection information associated with the target PDCCH command;

[0458] The association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process;

[0459] Among them, other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; the previous random access process is the most recently executed random access process before executing the process of obtaining the TA of the target candidate cell in advance.

[0460] Optionally, when the target information satisfies the first condition, the preamble code receiving target power climbing counter is reset;

[0461] Or, when the target information satisfies the second condition, the preamble code receiving target power climbing counter is incremented by 1;

[0462] The first condition and the second condition are different conditions.

[0463] Optionally, the association relationship between the target PDCCH command and other PDCCH commands includes at least one of the following:

[0464] The relationship between the candidate cell information indicated by the target PDCCH command and the candidate cell information indicated by the other PDCCH commands;

[0465] The time relationship between the target PDCCH command and the other PDCCH commands.

[0466] Optionally, the first condition includes at least one of the following:

[0467] The candidate cell information indicated by the target PDCCH command is different from the candidate cell information indicated by the other PDCCH command;

[0468] The reception time difference between the target PDCCH command and the other PDCCH command is greater than or equal to a first threshold;

[0469] The target PDCCH command is received after a timer corresponding to the other PDCCH command expires.

[0470] Optionally, the second condition includes at least one of the following:

[0471] The candidate cell information indicated by the target PDCCH command is the same as the candidate cell information indicated by the other PDCCH command;

[0472] The reception time difference between the target PDCCH command and the other PDCCH command is less than or equal to a first threshold;

[0473] The target PDCCH command is received before the timer corresponding to the other PDCCH command expires.

[0474] Optionally, the time at which the timer corresponding to the other PDCCH command is started or restarted includes at least one of the following:

[0475] The time when the terminal receives the other PDCCH command;

[0476] The time when the terminal receives the other PDCCH command is delayed.

[0477] Optionally, the first threshold is associated with at least one of the following:

[0478] Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal;

[0479] Or, the duration of the timer corresponding to the other PDCCH command is associated with at least one of the following:

[0480] Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal;

[0481] The switching type includes at least one of the following:

[0482] Switching within the distributed unit DU, switching between DUs, switching within the centralized unit CU, switching between CUs.

[0483] Optionally, the associated information of the other PDCCH commands includes:

[0484] a signal quality of a serving cell associated with the other PDCCH command when the other PDCCH command is received;

[0485] The type of the other PDCCH command;

[0486] Or, the detection information associated with the target PDCCH command includes:

[0487] whether a beam failure occurs before receiving the target PDCCH command;

[0488] The signal quality of the serving cell associated with the target PDCCH command;

[0489] Whether a PDCCH command for triggering early acquisition of the TA of the candidate cell is received before the target PDCCH command is received.

[0490] Optionally, the signal quality of the serving cell associated with the target PDCCH command includes at least one of the following:

[0491] When the target PDCCH command is received, the signal quality of the serving cell associated with the target PDCCH command;

[0492] Before receiving the target PDCCH command, the signal quality of the serving cell associated with the target PDCCH command.

[0493] Optionally, the first condition includes at least one of the following:

[0494] The signal quality of the serving cell associated with the other PDCCH command is lower than or equal to the second threshold;

[0495] The other PDCCH command is a most recent PDCCH command received by the terminal before the terminal receives the target PDCCH command, and the type of the other PDCCH command is a PDCCH command used to trigger the terminal to perform a normal random access procedure;

[0496] A beam failure occurs before receiving the target PDCCH command;

[0497] The signal quality of the serving cell associated with the target PDCCH command is lower than or equal to a third threshold;

[0498] A PDCCH command for triggering early acquisition of the TA of the candidate cell is not received before the target PDCCH command is received.

[0499] Optionally, the other PDCCH commands include:

[0500] a PDCCH command that is most recently received before receiving the target PDCCH command, is used to trigger the terminal to execute a process of acquiring the TA of the candidate cell in advance, and indicates a newly transmitted PDCCH command; or

[0501] A PDCCH command that is most recently received before receiving the target PDCCH command and is used to trigger the terminal to execute a process of acquiring the TA of the candidate cell in advance.

[0502] Optionally, the first condition includes at least one of the following:

[0503] The process of obtaining the TA of the target candidate cell in advance is associated with a different cell than the previous random access process;

[0504] The previous random access procedure does not exist.

[0505] Optionally, the second condition includes:

[0506] The process of obtaining the TA of the target candidate cell in advance is associated with the same cell as the previous random access process;

[0507] The target PDCCH order indicates a retransmission.

[0508] Optionally, the association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process includes at least one of the following:

[0509] An association relationship between the cell associated with the process of obtaining the TA of the target candidate cell in advance and the cell associated with the previous random access process;

[0510] Whether the previous random access process exists before executing the process of obtaining the TA of the target candidate cell in advance.

[0511] Optionally, the multiple preamble code receiving target power climbing counters include at least one of the following:

[0512] A preamble receiving target power ramp-up counter associated with the serving cell;

[0513] A preamble reception target power rise counter associated with multiple candidate cells;

[0514] A preamble code reception target power climbing counter associated with multiple candidate cell groups.

[0515] Optionally, under the third condition, a preamble code reception target power rise counter associated with the target candidate cell is reset, or a preamble code reception target power rise counter associated with the candidate cell group to which the target candidate cell belongs is reset;

[0516] The third condition includes at least one of the following:

[0517] A target timer expires, where the target timer includes a timer associated with the target candidate cell, or a timer associated with a candidate cell group to which the target candidate cell belongs;

[0518] The reception time difference between the target PDCCH command and the PDCCH command indicating a new transmission associated with the target PDCCH command is greater than or equal to a fourth threshold;

[0519] The terminal undergoes cell switching;

[0520] A counter is greater than a fifth threshold, the counter including a counter associated with the target candidate cell, or a counter associated with a candidate cell group to which the target candidate cell belongs;

[0521] The target PDCCH command indicates a new transmission; or the target PDCCH command indicates a retransmission, wherein the terminal does not receive a PDCCH command indicating a new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating a retransmission.

[0522] Optionally, the target timer is started or restarted at:

[0523] The target PDCCH command is associated with a reception time of a newly transmitted PDCCH command; or,

[0524] The receiving time of the PDCCH command indicating retransmission associated with the target PDCCH command, wherein the terminal does not receive the PDCCH command indicating new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating retransmission.

[0525] Optionally, the counter is reset in the following cases:

[0526] Indicates the reception time of the newly transmitted target PDCCH command; or,

[0527] The receiving time of the target PDCCH command indicating retransmission, wherein, before receiving the target PDCCH command indicating retransmission, the terminal has not received the PDCCH command indicating new transmission associated with the target PDCCH command.

[0528] The power ramp counter processing device can improve the transmission performance of the terminal for sending a preamble code.

[0529] In the embodiment of the present application, the power climbing counter processing device can be an electronic device, such as an electronic device with an operating system, or a component in an electronic device, such as an integrated circuit or a chip. For example, the electronic device can be a terminal, or it can be other devices other than a terminal. Exemplarily, the terminal can include but is not limited to the types of terminals listed in the embodiment of the present application, and other devices can be servers, network attached storage (NAS), etc., which are not specifically limited in the embodiment of the present application.

[0530] The power rise counter processing device provided in the embodiment of the present application can achieve Figure 2 The various processes implemented by the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.

[0531] See also Figure 7 , Figure 7 is a structural diagram of a command sending device provided in an embodiment of the present application, such as Figure 7 As shown, the command sending device 700 includes:

[0532] The first sending module 701 is used to send a first physical downlink control channel PDCCH command to the terminal, where the first PDCCH command is used to trigger: executing a process of obtaining a TA of a first candidate cell in advance and instructing a new transmission;

[0533] A second sending module 702 is used to send a second PDCCH command to the terminal under a target condition, where the second PDCCH command is used to trigger: executing a process of obtaining a TA of a second candidate cell in advance;

[0534] The target condition includes any of the following:

[0535] The network side device confirms that the process of obtaining the TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed;

[0536] The network side device successfully sends the first PDCCH command;

[0537] The network side device successfully triggers the terminal to execute a process of obtaining the TA of the first candidate cell in advance.

[0538] Optionally, before the first timer expires, the network side device acquires the TA of the first candidate cell, and determines that the process of acquiring the TA of the first candidate cell in advance is successfully completed;

[0539] The device also includes:

[0540] A third sending module is configured to send a third PDCCH command to the terminal if the network side device fails to obtain the TA of the first candidate cell after the first timer expires, and the third PDCCH command is used to trigger: executing a process of obtaining the TA of the first candidate cell in advance and instructing retransmission;

[0541] The time when the first timer is started or restarted includes:

[0542] The time when the network side device sends the first PDCCH command;

[0543] The time after which the network side device sends the first PDCCH command.

[0544] Optionally, in the first case, the network side device obtains the TA of the first candidate cell, and determines that the process of obtaining the TA of the first candidate cell in advance is successfully completed;

[0545] Or, in the second case, the network side device fails to obtain the TA of the first candidate cell, and confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed;

[0546] The first condition includes that the first timer has not expired, and also includes at least one of the following:

[0547] The counter is less than or equal to the threshold and the second timer has not expired;

[0548] The second situation includes at least one of the following:

[0549] The counter is greater than the threshold and the second timer expires.

[0550] Wherein, the counter is incremented by 1 when the network side device sends the third PDCCH command;

[0551] The moment when the second timer is started or restarted includes:

[0552] At the moment when the network side device triggers the terminal to execute the process of obtaining the TA of the first candidate cell in advance for the first time; or,

[0553] Determine a time point when a process of obtaining the TA of the first candidate cell in advance is successfully completed.

[0554] Optionally, the sending a second PDCCH command to the terminal under the target condition includes:

[0555] When the terminal is successfully triggered to execute the process of acquiring the TA of the first candidate cell in advance, sending the second PDCCH command to the terminal; or,

[0556] At a time delayed from the time of successfully sending the first PDCCH command, sending the second PDCCH command to the terminal.

[0557] Optionally, the first candidate cell and the second candidate cell belong to different candidate cell groups.

[0558] The command sending device can improve the sending performance of the terminal for sending the preamble code.

[0559] The command sending device in the embodiment of the present application may be an electronic device, such as an electronic device with an operating system, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device may be a terminal or a network side device.

[0560] The command sending device provided in the embodiment of the present application can achieve Figure 3 The various processes implemented by the method embodiment shown achieve the same technical effect and will not be described again here to avoid repetition.

[0561] Optional, such as Figure 8 As shown, an embodiment of the present application also provides a communication device 800, including a processor 801 and a memory 802, and the memory 802 stores programs or instructions that can be executed on the processor 801. For example, when the communication device 800 is a first device, the program or instruction is executed by the processor 801 to implement the various steps of the above-mentioned power climb counter processing method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0562] An embodiment of the present application also provides a communication device, including a processor and a communication interface, wherein the communication interface is used to receive a target PDCCH command, and the target PDCCH command is used to trigger the terminal to execute a process of obtaining the TA of a target candidate cell in advance; the processor is used to execute a first operation, and the first operation is at least one of the following: when the terminal maintains multiple preamble code reception target power climb counters, the preamble code reception target power climb counter associated with the target candidate cell is reset or added by 1 based on the target PDCCH command; the preamble code reception target power climb counter is reset or added by 1 based on target information, and the target information includes at least one of the following: the association relationship between the target PDCCH command and other PDCCH commands; the association information of other PDCCH commands; the detection information associated with the target PDCCH command; the association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process; wherein other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; the last random access process is the most recently executed random access process before executing the process of obtaining the timing advance of the target candidate cell in advance. This communication device embodiment corresponds to the above-mentioned power climb counter processing method embodiment. Each implementation process and implementation method of the above-mentioned method embodiment can be applied to this communication device embodiment and can achieve the same technical effect.

[0563] Specifically, Fig. 9 A schematic diagram of the hardware structure of a terminal for implementing an embodiment of the present application.

[0564] The terminal 900 includes but is not limited to: a radio frequency unit 901, a network module 902, an audio output unit 903, an input unit 904, a sensor 905, a display unit 906, a user input unit 907, an interface unit 908, a memory 909 and at least some of the components of a processor 910.

[0565] Those skilled in the art will appreciate that the terminal 900 may also include a power source (such as a battery) for supplying power to various components, and the power source may be logically connected to the processor 910 through a power management system, thereby implementing functions such as managing charging, discharging, and power consumption management through the power management system. Fig. 9 The device structure shown in the figure does not constitute a limitation on the terminal. The terminal may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be described in detail here.

[0566] It should be understood that in the embodiment of the present application, the input unit 904 may include a graphics processing unit (GPU) 9041 and a microphone 9042, and the graphics processing unit 9041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 906 may include a display panel 9061, and the display panel 9061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 907 includes a touch panel 9071 and at least one of other input devices 9072. The touch panel 9071 is also called a touch screen. The touch panel 9071 may include two parts: a touch detection device and a touch controller. Other input devices 9072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be repeated here.

[0567] In the embodiment of the present application, after receiving downlink data from the network side device, the RF unit 901 can transmit the data to the processor 910 for processing; in addition, the RF unit 901 can send uplink data to the network side device. Generally, the RF unit 901 includes but is not limited to an antenna, an amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.

[0568] The memory 909 can be used to store software programs or instructions and various data. The memory 909 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, an application program or instruction required for at least one function (such as a sound playback function, an image playback function, etc.), etc. In addition, the memory 909 may include a volatile memory or a non-volatile memory, or the memory 909 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM) and a direct memory bus random access memory (DRRAM). The memory 909 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0569] The processor 910 may include one or more processing units; optionally, the processor 910 integrates an application processor and a modem processor, wherein the application processor mainly processes operations related to an operating system, a user interface, and application programs, and the modem processor mainly processes wireless communication signals, such as a baseband processor. It is understandable that the modem processor may not be integrated into the processor 910.

[0570] The radio frequency unit 901 is used to receive a target physical downlink control channel PDCCH command, where the target PDCCH command is used to trigger the terminal to execute a process of obtaining a TA of a target candidate cell in advance;

[0571] The processor 910 is configured to perform a first operation, wherein the first operation is at least one of the following:

[0572] In the case where the terminal maintains multiple preamble code reception target power climbing counters, resetting or adding 1 to the preamble code reception target power climbing counter associated with the target candidate cell based on the target PDCCH command;

[0573] The preamble code receiving target power climbing counter is reset or increased by 1 based on the target information, wherein the target information includes at least one of the following:

[0574] The association relationship between the target PDCCH command and other PDCCH commands;

[0575] Other PDCCH command related information;

[0576] Detection information associated with the target PDCCH command;

[0577] The association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process;

[0578] Among them, other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; the previous random access process is the most recently executed random access process before executing the process of obtaining the timing advance of the target candidate cell in advance.

[0579] Optionally, when the target information satisfies the first condition, the preamble code receiving target power climbing counter is reset;

[0580] Or, when the target information satisfies the second condition, the preamble code receiving target power climbing counter is incremented by 1;

[0581] The first condition and the second condition are different conditions.

[0582] Optionally, the association relationship between the target PDCCH command and other PDCCH commands includes at least one of the following:

[0583] The relationship between the candidate cell information indicated by the target PDCCH command and the candidate cell information indicated by the other PDCCH commands;

[0584] The time relationship between the target PDCCH command and the other PDCCH commands.

[0585] Optionally, the first condition includes at least one of the following:

[0586] The candidate cell information indicated by the target PDCCH command is different from the candidate cell information indicated by the other PDCCH command;

[0587] The reception time difference between the target PDCCH command and the other PDCCH command is greater than or equal to a first threshold;

[0588] The target PDCCH command is received after a timer corresponding to the other PDCCH command expires.

[0589] Optionally, the second condition includes at least one of the following:

[0590] The candidate cell information indicated by the target PDCCH command is the same as the candidate cell information indicated by the other PDCCH command;

[0591] The reception time difference between the target PDCCH command and the other PDCCH command is less than or equal to a first threshold;

[0592] The target PDCCH command is received before the timer corresponding to the other PDCCH command expires.

[0593] Optionally, the time at which the timer corresponding to the other PDCCH command is started or restarted includes at least one of the following:

[0594] The time when the terminal receives the other PDCCH command;

[0595] The time when the terminal receives the other PDCCH command is delayed.

[0596] Optionally, the first threshold is associated with at least one of the following:

[0597] Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal;

[0598] Or, the duration of the timer corresponding to the other PDCCH command is associated with at least one of the following:

[0599] Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal;

[0600] The switching type includes at least one of the following:

[0601] Switching within the distributed unit DU, switching between DUs, switching within the centralized unit CU, switching between CUs.

[0602] Optionally, the associated information of the other PDCCH commands includes:

[0603] a signal quality of a serving cell associated with the other PDCCH command when the other PDCCH command is received;

[0604] The type of the other PDCCH command;

[0605] Or, the detection information associated with the target PDCCH command includes:

[0606] whether a beam failure occurs before receiving the target PDCCH command;

[0607] The signal quality of the serving cell associated with the target PDCCH command;

[0608] Whether a PDCCH command for triggering early acquisition of the TA of the candidate cell is received before the target PDCCH command is received.

[0609] Optionally, the signal quality of the serving cell associated with the target PDCCH command includes at least one of the following:

[0610] When the target PDCCH command is received, the signal quality of the serving cell associated with the target PDCCH command;

[0611] Before receiving the target PDCCH command, the signal quality of the serving cell associated with the target PDCCH command.

[0612] Optionally, the first condition includes at least one of the following:

[0613] The signal quality of the serving cell associated with the other PDCCH command is lower than or equal to the second threshold;

[0614] The other PDCCH command is a most recent PDCCH command received by the terminal before the terminal receives the target PDCCH command, and the type of the other PDCCH command is a PDCCH command used to trigger the terminal to perform a normal random access procedure;

[0615] A beam failure occurs before receiving the target PDCCH command;

[0616] The signal quality of the serving cell associated with the target PDCCH command is lower than or equal to a third threshold;

[0617] A PDCCH command for triggering early acquisition of the TA of the candidate cell is not received before the target PDCCH command is received.

[0618] Optionally, the other PDCCH commands include:

[0619] a PDCCH command that is most recently received before receiving the target PDCCH command, is used to trigger the terminal to execute a process of acquiring the TA of the candidate cell in advance, and indicates a newly transmitted PDCCH command; or

[0620] A PDCCH command that is most recently received before receiving the target PDCCH command and is used to trigger the terminal to execute a process of acquiring the TA of the candidate cell in advance.

[0621] Optionally, the multiple preamble code receiving target power climbing counters include at least one of the following:

[0622] A preamble receiving target power ramp-up counter associated with the serving cell;

[0623] A preamble reception target power rise counter associated with multiple candidate cells;

[0624] A preamble code reception target power climbing counter associated with multiple candidate cell groups.

[0625] Optionally, under the third condition, a preamble code reception target power rise counter associated with the target candidate cell is reset, or a preamble code reception target power rise counter associated with the candidate cell group to which the target candidate cell belongs is reset;

[0626] The third condition includes at least one of the following:

[0627] A target timer expires, where the target timer includes a timer associated with the target candidate cell, or a timer associated with a candidate cell group to which the target candidate cell belongs;

[0628] The reception time difference between the target PDCCH command and the PDCCH command indicating a new transmission associated with the target PDCCH command is greater than or equal to a fourth threshold;

[0629] The terminal undergoes cell switching;

[0630] A counter is greater than a fifth threshold, the counter including a counter associated with the target candidate cell, or a counter associated with a candidate cell group to which the target candidate cell belongs;

[0631] The target PDCCH command indicates a new transmission; or the target PDCCH command indicates a retransmission, wherein the terminal does not receive a PDCCH command indicating a new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating a retransmission.

[0632] Optionally, the target timer is started or restarted at:

[0633] The target PDCCH command is associated with a reception time of a newly transmitted PDCCH command; or,

[0634] The receiving time of the PDCCH command indicating retransmission associated with the target PDCCH command, wherein the terminal does not receive the PDCCH command indicating new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating retransmission.

[0635] Optionally, the counter is reset in the following cases:

[0636] Indicates the reception time of the newly transmitted target PDCCH command; or,

[0637] The receiving time of the target PDCCH command indicating retransmission, wherein, before receiving the target PDCCH command indicating retransmission, the terminal has not received the PDCCH command indicating new transmission associated with the target PDCCH command.

[0638] The above terminal can improve the transmission performance of the terminal for sending a preamble code.

[0639] It can be understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the above-mentioned power climb counter processing method, and achieve the same or corresponding technical effect. To avoid repetition, it will not be repeated here.

[0640] The embodiment of the present application also provides a device, including a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run a program or instruction to implement the following Figure 3 The steps of the method embodiment shown. This network side device embodiment corresponds to the above power climbing counter processing method embodiment, and each implementation process and implementation mode of the above method embodiment can be applied to this device embodiment and can achieve the same technical effect.

[0641] An embodiment of the present application also provides a device, including a processor and a communication interface, wherein the communication interface is used to send a first physical downlink control channel (PDCCH) command to a terminal, the first PDCCH command being used to trigger: executing a process of obtaining a TA of a first candidate cell in advance and indicating a new transmission; under a target condition, sending a second PDCCH command to the terminal, the second PDCCH command being used to trigger: executing a process of obtaining a TA of a second candidate cell in advance; the target condition includes any one of the following: the network side device confirms that the process of obtaining a TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining a TA of the first candidate cell in advance is not successfully completed; the network side device successfully sends the first PDCCH command; the network side device successfully triggers the terminal to execute the process of obtaining a TA of the first candidate cell in advance.

[0642] Specifically, the embodiment of the present application also provides a network side device. Fig.10 As shown, the network side device 1000 includes: an antenna 1001, a radio frequency device 1002, a baseband device 1003, a processor 1004 and a memory 1005. The antenna 1001 is connected to the radio frequency device 1002. In the uplink direction, the radio frequency device 1002 receives information through the antenna 1001 and sends the received information to the baseband device 1003 for processing. In the downlink direction, the baseband device 1003 processes the information to be sent and sends it to the radio frequency device 1002. The radio frequency device 1002 processes the received information and sends it out through the antenna 1001.

[0643] The power climbing counter processing method in the above embodiment may be implemented in the baseband device 1003, which includes a baseband processor.

[0644] The baseband device 1003 may include, for example, at least one baseband board on which a plurality of chips are arranged. Fig.10 As shown, one of the chips is, for example, a baseband processor, which is connected to the memory 1005 through a bus interface to call the program in the memory 1005 to execute the network device operations shown in the above method embodiment.

[0645] The device may further include a network interface 1006, which is, for example, a Common Public Radio Interface (CPRI).

[0646] Specifically, the network side device 1000 of the embodiment of the present application further includes: instructions or programs stored in the memory 1005 and executable on the processor 1004, and the processor 1004 calls the instructions or programs in the memory 1005 to execute Figure 7 The methods executed by the modules shown achieve the same technical effects, and therefore will not be described here in detail to avoid repetition.

[0647] The radio frequency device 1002 sends a first physical downlink control channel PDCCH command to the terminal, wherein the first PDCCH command is used to trigger: executing a process of obtaining the TA of the first candidate cell in advance and instructing a new transmission; under a target condition, sending a second PDCCH command to the terminal, wherein the second PDCCH command is used to trigger: executing a process of obtaining the TA of the second candidate cell in advance;

[0648] The target condition includes any of the following:

[0649] The network side device confirms that the process of obtaining the TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed;

[0650] The network side device successfully sends the first PDCCH command;

[0651] The network side device successfully triggers the terminal to execute a process of obtaining the TA of the first candidate cell in advance.

[0652] Optionally, before the first timer expires, the network side device acquires the TA of the first candidate cell, and determines that the process of acquiring the TA of the first candidate cell in advance is successfully completed;

[0653] The radio frequency device 1002 is also used for:

[0654] After the first timer expires, the network side device fails to acquire the TA of the first candidate cell, and sends a third PDCCH command to the terminal, where the third PDCCH command is used to trigger: executing a process of acquiring the TA of the first candidate cell in advance and instructing retransmission;

[0655] The time when the first timer is started or restarted includes:

[0656] The time when the network side device sends the first PDCCH command;

[0657] The time after which the network side device sends the first PDCCH command.

[0658] Optionally, in the first case, the network side device obtains the TA of the first candidate cell, and determines that the process of obtaining the TA of the first candidate cell in advance is successfully completed;

[0659] Or, in the second case, the network side device fails to obtain the TA of the first candidate cell, and confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed;

[0660] The first condition includes that the first timer has not expired, and also includes at least one of the following:

[0661] The counter is less than or equal to the threshold and the second timer has not expired;

[0662] The second situation includes at least one of the following:

[0663] The counter is greater than the threshold and the second timer expires.

[0664] Wherein, the counter is incremented by 1 when the network side device sends the third PDCCH command;

[0665] The moment when the second timer is started or restarted includes:

[0666] At the moment when the network side device triggers the terminal to execute the process of obtaining the TA of the first candidate cell in advance for the first time; or,

[0667] Determine a time point when a process of obtaining the TA of the first candidate cell in advance is successfully completed.

[0668] Optionally, the sending a second PDCCH command to the terminal under the target condition includes:

[0669] When the terminal is successfully triggered to execute the process of acquiring the TA of the first candidate cell in advance, sending the second PDCCH command to the terminal; or,

[0670] At a time delayed from the time of successfully sending the first PDCCH command, sending the second PDCCH command to the terminal.

[0671] Optionally, the first candidate cell and the second candidate cell belong to different candidate cell groups.

[0672] The above network side equipment can improve the random access performance of the terminal.

[0673] It can be understood that the implementation process of each implementation method mentioned in this embodiment can refer to the relevant description of the above-mentioned method embodiment, and achieve the same or corresponding technical effect. To avoid repetition, it will not be repeated here.

[0674] An embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, each process of the above-mentioned power climbing counter processing method or command sending method embodiment is implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0675] The processor is the processor in the terminal described in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory ROM, a random access memory RAM, a magnetic disk or an optical disk. In some examples, the readable storage medium may be a non-transient readable storage medium.

[0676] An embodiment of the present application further provides a chip, which includes a processor and a communication interface, wherein the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned power climb counter processing method or command sending method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0677] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0678] An embodiment of the present application further provides a computer program / program product, which is stored in a storage medium. The computer program / program product is executed by at least one processor to implement the various processes of the above-mentioned power climb counter processing method or command sending method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0679] An embodiment of the present application further provides a wireless communication system, including: a terminal and a network side device, wherein the terminal can be used to execute the steps of the power climb counter processing method provided in the embodiment of the present application, and the network side device can be used to execute the steps of the command sending method provided in the embodiment of the present application.

[0680] It should be noted that, in this article, the terms "comprise", "include" or any other variant thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the sentence "comprises one..." does not exclude the presence of other identical elements in the process, method, article or device including the element. In addition, it should be pointed out that the scope of the method and device in the embodiment of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved, for example, the described method may be performed in an order different from that described, and various steps may also be added, omitted or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0681] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of a computer software product plus a necessary general hardware platform, and of course, can also be implemented by hardware. The computer software product is stored in a storage medium (such as ROM, RAM, disk, CD, etc.), including several instructions to enable a terminal or a network-side device to execute the methods described in each embodiment of the present application.

[0682] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of the present application, ordinary technicians in this field can also make many forms of implementation methods without departing from the purpose of the present application and the scope of protection of the claims, and these implementation methods are all within the protection of the present application.

Claims

1. A power rise counter processing method, characterized in that: include: The terminal receives a target physical downlink control channel PDCCH command, where the target PDCCH command is used to trigger the terminal to execute a process of obtaining a timing advance TA of a target candidate cell in advance; The terminal performs a first operation, wherein the first operation is at least one of the following: In the case where the terminal maintains multiple preamble code reception target power climbing counters, resetting or adding 1 to the preamble code reception target power climbing counter associated with the target candidate cell based on the target PDCCH command; The preamble code receiving target power climbing counter is reset or increased by 1 based on the target information, wherein the target information includes at least one of the following: The association relationship between the target PDCCH command and other PDCCH commands; Other PDCCH command related information; Detection information associated with the target PDCCH command; The association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process; The other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; The previous random access procedure is a random access procedure most recently performed before the procedure for obtaining the TA of the target candidate cell in advance is performed.

2. The method according to claim 1, characterized in that When the target information satisfies the first condition, the preamble code receiving target power climbing counter is reset; Or, when the target information satisfies the second condition, the preamble code receiving target power climbing counter is incremented by 1; The first condition and the second condition are different conditions.

3. The method according to claim 1 or 2, characterized in that The association relationship between the target PDCCH command and other PDCCH commands includes at least one of the following: The relationship between the candidate cell information indicated by the target PDCCH command and the candidate cell information indicated by the other PDCCH commands; The time relationship between the target PDCCH command and the other PDCCH commands.

4. The method according to claim 2 or 3, characterized in that The first condition includes at least one of the following: The candidate cell information indicated by the target PDCCH command is different from the candidate cell information indicated by the other PDCCH command; The reception time difference between the target PDCCH command and the other PDCCH command is greater than or equal to a first threshold; The target PDCCH command is received after a timer corresponding to the other PDCCH command expires.

5. The method according to claim 2 or 3, characterized in that: The second condition includes at least one of the following: The candidate cell information indicated by the target PDCCH command is the same as the candidate cell information indicated by the other PDCCH command; The reception time difference between the target PDCCH command and the other PDCCH command is less than or equal to a first threshold; The target PDCCH command is received before the timer corresponding to the other PDCCH command expires.

6. The method according to claim 4 or 5, characterized in that The time when the timer corresponding to the other PDCCH command is started or restarted includes at least one of the following: The time when the terminal receives the other PDCCH command; The time when the terminal receives the other PDCCH command is delayed.

7. The method according to any one of claims 4 to 6, characterized in that The first threshold is associated with at least one of the following: Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal; Or, the duration of the timer corresponding to the other PDCCH command is associated with at least one of the following: Handover type, candidate cells, frequency points, frequency bands, the terminal, and the type of the terminal; The switching type includes at least one of the following: Switching within the distributed unit DU, switching between DUs, switching within the centralized unit CU, switching between CUs.

8. The method according to any one of claims 1 to 7, characterized in that The associated information of other PDCCH commands includes: a signal quality of a serving cell associated with the other PDCCH command when the other PDCCH command is received; The type of the other PDCCH command; Or, the detection information associated with the target PDCCH command includes: whether a beam failure occurs before receiving the target PDCCH command; The signal quality of the serving cell associated with the target PDCCH command; Whether a PDCCH command for triggering early acquisition of the TA of the candidate cell is received before the target PDCCH command is received.

9. The method according to claim 8, characterized in that The signal quality of the serving cell associated with the target PDCCH command includes at least one of the following: When the target PDCCH command is received, the signal quality of the serving cell associated with the target PDCCH command; Before receiving the target PDCCH command, the signal quality of the serving cell associated with the target PDCCH command.

10. The method according to claim 2, 8 or 9, characterized in that The first condition includes at least one of the following: The signal quality of the serving cell associated with the other PDCCH command is lower than or equal to the second threshold; The other PDCCH command is a most recent PDCCH command received by the terminal before the terminal receives the target PDCCH command, and the type of the other PDCCH command is a PDCCH command used to trigger the terminal to perform a normal random access procedure; A beam failure occurs before receiving the target PDCCH command; The signal quality of the serving cell associated with the target PDCCH command is lower than or equal to a third threshold; A PDCCH command for triggering early acquisition of the TA of the candidate cell is not received before the target PDCCH command is received.

11. The method according to any one of claims 1 to 9, characterized in that The other PDCCH commands include: a PDCCH command that is most recently received before receiving the target PDCCH command, is used to trigger the terminal to execute a process of acquiring the TA of the candidate cell in advance, and indicates a newly transmitted PDCCH command; or A PDCCH command that is most recently received before receiving the target PDCCH command and is used to trigger the terminal to execute a process of acquiring the TA of the candidate cell in advance.

12. The method according to claim 2, characterized in that The first condition includes at least one of the following: The process of obtaining the TA of the target candidate cell in advance is associated with a different cell than the previous random access process; The previous random access procedure does not exist.

13. The method according to claim 2, characterized in that The second condition includes: The process of obtaining the TA of the target candidate cell in advance is associated with the same cell as the previous random access process; The target PDCCH order indicates a retransmission.

14. The method according to claim 1, 12 or 13, characterized in that: The association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process includes at least one of the following: An association relationship between the cell associated with the process of obtaining the TA of the target candidate cell in advance and the cell associated with the previous random access process; Whether the previous random access process exists before executing the process of obtaining the TA of the target candidate cell in advance.

15. The method according to any one of claims 1 to 14, characterized in that The plurality of preamble code reception target power climbing counters include at least one of the following: A preamble receiving target power ramp-up counter associated with the serving cell; A preamble reception target power rise counter associated with multiple candidate cells; A preamble code reception target power climbing counter associated with multiple candidate cell groups.

16. The method according to claim 15, characterized in that Under the third condition, the preamble reception target power rise counter associated with the target candidate cell is reset, or the preamble reception target power rise counter associated with the candidate cell group to which the target candidate cell belongs is reset; The third condition includes at least one of the following: A target timer expires, where the target timer includes a timer associated with the target candidate cell, or a timer associated with a candidate cell group to which the target candidate cell belongs; The reception time difference between the target PDCCH command and the PDCCH command indicating a new transmission associated with the target PDCCH command is greater than or equal to a fourth threshold; The terminal undergoes cell switching; A counter is greater than a fifth threshold, the counter including a counter associated with the target candidate cell, or a counter associated with a candidate cell group to which the target candidate cell belongs; The target PDCCH command indicates a new transmission; or the target PDCCH command indicates a retransmission, wherein the terminal does not receive a PDCCH command indicating a new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating a retransmission.

17. The method according to claim 16, characterized in that The target timer starts or restarts at: The target PDCCH command is associated with a reception time of a newly transmitted PDCCH command; or, The receiving time of the PDCCH command indicating retransmission associated with the target PDCCH command, wherein the terminal does not receive the PDCCH command indicating new transmission associated with the target PDCCH command before receiving the target PDCCH command indicating retransmission.

18. The method according to claim 16 or 17, characterized in that The counter is reset when: Indicates the reception time of the newly transmitted target PDCCH command; or, The receiving time of the target PDCCH command indicating retransmission, wherein, before receiving the target PDCCH command indicating retransmission, the terminal has not received the PDCCH command indicating new transmission associated with the target PDCCH command.

19. A command sending method, characterized in that: include: The network side device sends a first physical downlink control channel PDCCH command to the terminal, where the first PDCCH command is used to trigger: executing a process of obtaining a timing advance TA of a first candidate cell in advance, and instructing a new transmission; The network side device sends a second PDCCH command to the terminal under the target condition, where the second PDCCH command is used to trigger: executing a process of obtaining a TA of a second candidate cell in advance; The target condition includes any of the following: The network side device confirms that the process of obtaining the TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed; The network side device successfully sends the first PDCCH command; The network side device successfully triggers the terminal to execute a process of obtaining the TA of the first candidate cell in advance.

20. The method of claim 19, wherein: Before the first timer expires, the network side device acquires the TA of the first candidate cell and determines that the process of acquiring the TA of the first candidate cell in advance is successfully completed; The method further comprises: After the first timer expires, the network side device fails to acquire the TA of the first candidate cell, and the network side device sends a third PDCCH command to the terminal, where the third PDCCH command is used to trigger: executing a process of acquiring the TA of the first candidate cell in advance and instructing retransmission; The time when the first timer is started or restarted includes: The time when the network side device sends the first PDCCH command; The time after which the network side device sends the first PDCCH command.

21. The method of claim 20, wherein: In the first case, the network side device obtains the TA of the first candidate cell, and determines that the process of obtaining the TA of the first candidate cell in advance is successfully completed; Or, in the second case, the network side device fails to obtain the TA of the first candidate cell, and confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed; The first condition includes that the first timer has not expired, and also includes at least one of the following: The counter is less than or equal to the threshold and the second timer has not expired; The second situation includes at least one of the following: The counter is greater than the threshold and the second timer expires; Wherein, the counter is incremented by 1 when the network side device sends the third PDCCH command; The moment when the second timer is started or restarted includes: At the moment when the network side device triggers the terminal to execute the process of obtaining the TA of the first candidate cell in advance for the first time; or, Determine a time point when a process of obtaining the TA of the first candidate cell in advance is successfully completed.

22. The method according to claim 21, characterized in that The network side device sends a second PDCCH command to the terminal under a target condition, including: The network side device sends the second PDCCH command to the terminal when successfully triggering the terminal to execute the process of acquiring the TA of the first candidate cell in advance; or, The network side device sends the second PDCCH command to the terminal at a time delayed from a time of successfully sending the first PDCCH command.

23. The method according to any one of claims 19 to 22, characterized in that The first candidate cell and the second candidate cell belong to different candidate cell groups.

24. A power rise counter processing device, characterized in that: include: A receiving module, used for receiving a target physical downlink control channel PDCCH command, wherein the target PDCCH command is used for triggering the terminal to execute a process of obtaining a timing advance TA of a target candidate cell in advance; The execution module is configured to execute a first operation, wherein the first operation is at least one of the following: In the case where the terminal maintains multiple preamble code reception target power climbing counters, resetting or adding 1 to the preamble code reception target power climbing counter associated with the target candidate cell based on the target PDCCH command; The preamble code receiving target power climbing counter is reset or increased by 1 based on the target information, wherein the target information includes at least one of the following: The association relationship between the target PDCCH command and other PDCCH commands; Other PDCCH command related information; Detection information associated with the target PDCCH command; The association relationship between the process of obtaining the TA of the target candidate cell in advance and the last random access process; The other PDCCH commands include PDCCH commands received before receiving the target PDCCH command; The previous random access procedure is the most recently executed random access procedure before executing the procedure of acquiring the TA of the target candidate cell in advance triggered by the target PDCCH command.

25. A command sending device, characterized in that: include: A first sending module is used to send a first physical downlink control channel PDCCH command to the terminal, where the first PDCCH command is used to trigger: executing a process of obtaining a timing advance TA of a first candidate cell in advance, and instructing a new transmission; A second sending module is used to send a second PDCCH command to the terminal under a target condition, where the second PDCCH command is used to trigger: executing a process of obtaining a TA of a second candidate cell in advance; The target condition includes any of the following: The network side device confirms that the process of obtaining the TA of the first candidate cell in advance is successfully completed, or the network side device confirms that the process of obtaining the TA of the first candidate cell in advance is not successfully completed; The network side device successfully sends the first PDCCH command; The network side device successfully triggers the terminal to execute a process of obtaining the TA of the first candidate cell in advance.

26. A terminal, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the power climb counter processing method as described in any one of claims 1 to 18 are implemented.

27. A network side device, characterized in that: It includes a processor and a memory, the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the PDCCH command sending method as described in any one of claims 19 to 23 are implemented.

28. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, it implements the steps of the power climb counter processing method as described in any one of claims 1 to 18, or implements the steps of the PDCCH command sending method as described in any one of claims 19 to 23.