BWP switching method, terminal device, storage medium and computer program product
The random access process on the first BWP through the terminal device in the 5G network and switch to the second BWP, and send it directly on the second BWP to solve the problem of waste and time in the BWP switching process. Resource saving and switching time.
Patent Information
- Application Number
- CN202411417139.6
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-11
- Publication Date
- 2025-01-24
AI Technical Summary
In 5G network, if the target BWP does not have PRACH resources during the BWP switching process of the terminal device, it will lead to waste of uplink resources, or it will need to configure SR to increase the allocation process, thereby increasing the BWP switching time.
The terminal device terminates the random access process on the first BWP and switches to the second BWP. If the second BWP is configured with UL_GRANT or SR, the device directly sends uplink data on the second BWP, avoiding UL_GRANT or SR configuration on the first BWP.
By sending up your upward data directly on the target BWP, it saves empty port resources and reduces the BWP switching time, which improves the switching efficiency.
Smart Images

Figure CN119364534A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the wireless field, and in particular to a BWP switching method and terminal equipment, a storage medium, and a computer program product. Background Art
[0002] The bandwidth part (BWP) switching process is that the terminal device activates one inactive BWP in the serving cell and deactivates one active BWP at the same time. When the terminal device in the fifth generation mobile communication technology (5G) network performs BWP switching, if the target BWP does not have physical random access channel (PRACH) resources, the terminal device needs to perform uplink pre-scheduling on the source BWP to pre-allocate uplink resources; or configure a scheduling request (SR) on the source BWP first, and then perform BWP switching. However, pre-allocating uplink resources will cause a waste of air interface resources when the uplink resources are not used; configuring SR will increase the process of allocating SR, thereby increasing the BWP switching time. Summary of the invention
[0003] The present application provides a BWP switching method, terminal device, storage medium, and computer program product, which can save air interface resources and reduce BWP switching time.
[0004] The technical solution of this application is implemented as follows:
[0005] In a first aspect, the present application proposes a BWP switching method, characterized in that it is applied to a terminal device, and the method includes:
[0006] terminating the ongoing random access procedure on the first BWP and switching from the first BWP to the second BWP;
[0007] Determining that the reason for initiating the random access process is for sending uplink data;
[0008] If the second BWP is configured with UL_GRANT or SR, the uplink data sending process on the second BWP is executed.
[0009] Optionally, the method further includes:
[0010] A random access process is initiated on the first BWP, and a reason for initiating the random access process is recorded as being used to send uplink data.
[0011] Optionally, the recording of the initiation reason of the random access process is used to send uplink data, including:
[0012] A first value is written into the first flag bit; the first flag bit is used to record the reason for initiating random access, and the first value indicates that uplink data needs to be initiated.
[0013] Optionally, the determining that the cause of initiating the random access process is for sending uplink data includes:
[0014] Check that the initiation reason of the random access process is for sending uplink data.
[0015] Optionally, if the second BWP is configured with UL_GRANT, the uplink data sending process performed on the second BWP includes:
[0016] The uplink data is sent on the second BWP based on the UL_GRANT configured corresponding to the second BWP.
[0017] Optionally, if the second BWP is configured with an SR, the uplink data sending process performed on the second BWP includes:
[0018] Apply for UL_GRANT by sending SR to the network device;
[0019] The uplink data is sent on the second BWP based on the applied UL_GRANT.
[0020] Optionally, the second BWP is not configured with PRACH resources; the first BWP is not configured with UL_GRANT or SR.
[0021] Optionally, the method further includes:
[0022] If the second BWP is not configured with UL_GRANT or SR, the BWP switching from the first BWP to the second BWP fails.
[0023] In a second aspect, the present application proposes a terminal device, the terminal device comprising:
[0024] A switching unit, configured to terminate the random access process being performed on the first BWP and switch from the first BWP to the second BWP;
[0025] Determining unit; determining that the initiation reason of the random access process is for sending uplink data;
[0026] The sending unit is configured to execute the uplink data sending process on the second BWP if the second BWP is configured with UL_GRANT or SR.
[0027] In a third aspect, the present application proposes a terminal device, comprising: a processor, a memory and a communication bus; the communication bus is used to realize the connection and communication between the processor and the memory; the processor implements the above-mentioned BWP switching method when executing the running program stored in the memory.
[0028] In a fourth aspect, the present application proposes a storage medium having a computer program stored thereon, and the computer program implements the above-mentioned BWP switching method when executed by a processor.
[0029] In a fifth aspect, the present application proposes a computer program product, including a computer program, which implements the above-mentioned BWP switching method when executed by a processor.
[0030] The present application provides a BWP switching method and a terminal device, a storage medium, and a computer program product. The method includes: the terminal device terminates the random access process being carried out on the first BWP, and switches from the first BWP to the second BWP; the terminal device determines that the initiation reason of the random access process is for sending uplink data; if the second BWP is configured with UL_GRANT or SR, the terminal device executes the uplink data sending process on the second BWP. With the above implementation scheme, after the terminal device switches from the first BWP to the second BWP, based on the initiation reason of the random access process terminated on the first BWP being for sending uplink data, and the second BWP is configured with UL_GRANT or SR, the terminal device directly sends uplink data on the second BWP to complete the BWP switching. The first BWP does not need to perform UL_GRANT in advance, which saves air interface resources. The first BWP does not need to configure SR, which reduces the BWP switching time. BRIEF DESCRIPTION OF THE DRAWINGS
[0031] Figure 1 A schematic diagram of the structure of a wireless communication system;
[0032] Figure 2 A flowchart of a BWP switching method provided in an embodiment of the present application;
[0033] Figure 3 A schematic diagram of an exemplary BWP switching method provided in an embodiment of the present application Figure 1 ;
[0034] Figure 4 A schematic diagram of an exemplary BWP switching method provided in an embodiment of the present application Figure 2 ;
[0035] Figure 5 A schematic diagram of a terminal device provided in an embodiment of the present application Figure 1 ;
[0036] Figure 6 A schematic diagram of a terminal device provided in an embodiment of the present application Figure 2 . DETAILED DESCRIPTION
[0037] In order to enable a more detailed understanding of the features and technical contents of the embodiments of the present application, the implementation of the embodiments of the present application is described in detail below in conjunction with the accompanying drawings. The attached drawings are for reference only and are not used to limit the embodiments of the present application.
[0038] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as those commonly understood by those skilled in the art to which this application belongs. The terms used herein are only for the purpose of describing the embodiments of this application and are not intended to limit this application.
[0039] In the following description, reference is made to "some embodiments", which describe a subset of all possible embodiments, but it is understood that "some embodiments" may be the same subset or different subsets of all possible embodiments, and may be combined with each other without conflict. It should also be noted that the terms "first\second\third" involved in the embodiments of the present application are only used to distinguish similar objects and do not represent a specific ordering of the objects. It is understandable that "first\second\third" may be interchanged in a specific order or sequence where permitted, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0040] The technical solution of the embodiment of the present application can be applied to various communication systems, and the wireless communication system is a network that provides wireless communication functions. The wireless communication system can adopt different communication technologies, such as Code Division Multiple Access (CDMA), Wideband Code Division Multiple Access (WCDMA), Time Division Multiple Access (TDMA), Frequency Division Multiple Access (FDMA), Orthogonal Frequency Division Multiple Access (OFDMA), Single Carrier FDMA (SC-FDMA), Carrier Sense Multiple Access with Collision Avoidance (CSMACA). According to the capacity, rate, delay and other factors of different networks, the network can be divided into 2G network, 3G network, 4G network or future evolution network, such as 5G network, which can also be called New Radio (NR). For the convenience of description, the present disclosure sometimes refers to the wireless communication network as a network.
[0041] Figure 1 The wireless communication system 100 used in the embodiment of the present application is shown. The wireless communication system 100 may include a network device 110. The network device 110 may be a device that communicates with a terminal device. The network device 110 may provide communication coverage for a specific geographical area, and may communicate with a terminal device located in the coverage area.
[0042] In some embodiments, the network device is a device that provides wireless communication functions for terminal devices, including but not limited to: evolutionary base stations (evolutional Node B, referred to as eNB or e-NodeB), macro base stations, micro base stations (also referred to as "small base stations"), pico base stations, base transceiver stations (Base Transceiver Station, BTS), baseband units (Base Band Unit, BBU), access points (Access Point, AP), transmission points (Transmission Point, TP) or new generation base stations (new generation Node B, gNodeB), etc. in Long-Term Evolution (LTE) systems, New Radio (NR) systems or Licensed-Assisted Access using Long-Term Evolution (LAA-LTE) systems.
[0043] The wireless communication system 100 further includes at least one terminal device 120 located within the coverage area of the network device 110. The terminal device 120 may be mobile or fixed.
[0044] Optionally, the terminal device may be referred to as User Equipment (UE). The terminal device may be a Personal Communication Service (PCS) phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), etc. The terminal device may also be a smart phone, a tablet computer, a PDA, a Mobile Station (MS), a Mobile Terminal, etc. The terminal device may communicate with one or more network devices via a Radio Access Network (RAN). For example, the terminal device may be a mobile phone (or a "cellular" phone) or a computer with a terminal device, etc. For example, the terminal device may also be a portable, pocket-sized, handheld, computer-built-in or vehicle-mounted mobile device, which exchanges voice and / or data with a wireless access network. The terminal device may also be a handheld device with wireless communication function, a computing device or other processing device connected to a wireless modem, a vehicle-mounted device, a wearable device, a terminal device in a future evolving network, etc., which is not limited in the implementation of this application.
[0045] Optionally, the 5G system or network may also be referred to as a New Radio (NR) system or network.
[0046] Optionally, the wireless communication system 100 may also include other network entities such as a network controller and a mobility management entity, which is not limited in the embodiments of the present application.
[0047] Figure 1 One network device and two terminal devices are shown exemplarily. Optionally, the wireless communication system 100 may include multiple network devices and each network device may include another number of terminal devices within its coverage area, which is not limited in the embodiments of the present application.
[0048] In the design of the NR standard, a new technology, namely receiving bandwidth adaptation, is introduced. Through receiving bandwidth adaptation technology, if the amount of data to be sent is small, the terminal can monitor the downlink control channel and receive a small amount of downlink data transmission on a smaller bandwidth. When the terminal has a large amount of data to receive, it opens a larger bandwidth for reception. In order to better support terminals that cannot handle the entire carrier bandwidth and receive bandwidth adaptation, the NR standard defines BWP.
[0049] BWP includes the following features:
[0050] 1. It can support small-bandwidth terminals to access the 5G network without supporting the entire system bandwidth, which is conducive to the development of low-cost terminals.
[0051] 2. The terminal uses different working bandwidths in different working states. For example, when there is small data or no data transmission, the control channel is monitored or sent with a small bandwidth; when there is large data transmission, the data can be received or sent with a large bandwidth. In low data cycles, the working bandwidth is reduced to avoid the terminal from searching the full bandwidth, which can effectively save power.
[0052] 3. The movement of the BWP working frequency band in the frequency domain can improve the flexibility of resource scheduling; the change of subcarrier spacing can be better applied to different business needs.
[0053] In a 5G network, a terminal can configure up to 4 downlink BWPs and 4 uplink BWPs in each service cell; however, only one BWP can be activated for each uplink and downlink at the same time. The BWP switching process is that the terminal activates one BWP in the service cell and deactivates one active BWP at the same time.
[0054] In FDD networks, BWP switching can be performed independently for uplink and downlink; however, in TDD networks, BWP switching for uplink and downlink should be performed simultaneously.
[0055] The BWP switching method proposed in the embodiment of the present application is RRC indicating BWP switching. The process of RRC indicating BWP switching is that the network device instructs the terminal device to perform BWP switching through an RRC Connection Reconfiguration message.
[0056] The network device includes the firstActiveDownlinkBWP-Id field and / or the firstActiveUplinkBWP-Id field for the special cell (Special Cell, SpCell) or the secondary cell (Secondary Cell, SCell) in the RRC Connection Reconfiguration message.
[0057] Upon receiving the RRC Connection Reconfiguration of the firstActiveDownlinkBWP-Id field and / or the firstActiveUplinkBWP-Id field for the SpCell, the terminal device activates the downlink BWP and / or uplink BWP indicated by the firstActiveDownlinkBWP-Id field and / or the firstActiveUplinkBWP-Id field, respectively.
[0058] For the SCell cell, the terminal does not activate the downlink BWP and / or uplink BWP immediately after receiving the RRC Connection Reconfiguration message, but activates the corresponding BWP when the SCell is activated.
[0059] If the network device does not allow BWP switching, the firstActiveDownlinkBWP-Id field and / or the firstActiveUplinkBWP-Id field will not be added to the RRC Connection Reconfiguration message.
[0060] The present application embodiment provides a BWP switching method, such as Figure 2 As shown, applied to a terminal device, the method may include:
[0061] S101: Terminate the ongoing random access procedure on a first BWP, and switch from the first BWP to a second BWP.
[0062] The BWP switching method provided in the embodiment of the present application can be applicable to service switching scenarios, BWP fallback scenarios when there is no service on the current BWP, etc. The specific method can be selected according to actual conditions, and the embodiment of the present application does not make specific limitations.
[0063] In an embodiment of the present application, when the medium access control (MAC) layer of the terminal device receives a BWP switching instruction sent by the radio resource control (RRC) layer of the terminal device, the terminal device terminates the ongoing random access process on the first BWP and switches from the first BWP to the second BWP.
[0064] It should be noted that the process of switching from the first BWP to the second BWP may be to deactivate the first BWP and activate the second BWP at the same time.
[0065] In the embodiment of the present application, the switched second BWP is not configured with PRACH resources, and the first BWP is not configured with uplink (UpLink, UL)_GRANT (grant) and / or SR.
[0066] It should be noted that the network device first sends a BWP switching message to the terminal device. The Radio Link Control (RLC) layer of the terminal device receives the BWP switching message. Since it is in the RLC_Acknowledgement Mode (AM) mode, it needs to reply to the RLC layer of the network device with a status report. The RLC layer of the terminal device will send an RLC_Protocol Data Unit (PDU) to the MAC layer of the terminal device. RLC_PDU is used to send status report data. After receiving the BWP switching message, the RRC layer of the terminal device sends a BWP switching instruction to the MAC layer of the terminal device.
[0067] In an embodiment of the present application, when the MAC layer receives a status report sent by the RLC layer, a random access process is initiated on the first BWP, UL_GRANT is applied for, and the reason for initiating the random access process is recorded as being used to send uplink data.
[0068] It should be noted that after the MAC layer in the embodiment of the present application receives the status report sent by the RLC layer, it directly initiates a random access process on the first BWP and records the reason for initiating the random access process, and does not perform uplink pre-scheduling and SR configuration on the first BWP. Therefore, for the BWP switching method proposed in the embodiment of the present application, the network device does not need to send UL_GRANT to the first BWP, saving air interface resources, and the network device does not need to allocate SR for the first BWP, and does not need to add an RRC Connection Reconfiguration process to allocate SR, reducing the time of BWP switching. Therefore, the BWP switching method proposed in the embodiment of the present application can be used in scenarios where air interface resources are limited or BWP switching delay is sensitive.
[0069] In an embodiment of the present application, the terminal device adds a first flag bit, which is used to record the reason for initiating random access; when the MAC layer receives a status report sent by the RLC layer, a first value is written to the first flag bit; wherein the first value indicates the need to initiate uplink data.
[0070] It should be noted that the first flag bit can be stored in a storage unit in the terminal device for storing flag bits, or stored in other storage spaces in the terminal device. The specific storage location of the first flag bit can be selected according to actual conditions, and the embodiments of the present application do not make specific limitations.
[0071] It should be noted that the first value may be 1 or 0, or other values indicating that uplink data needs to be sent, and the specific value may be selected according to actual conditions, and the embodiment of the present application does not make any specific limitation.
[0072] It should be noted that, when the terminal device initiates the random access process for a purpose other than sending uplink data, the terminal device may fill in the second value at the first flag bit, or not fill in the value, to indicate that the reason for initiating the random access process is not for sending uplink data. The specific selection may be made according to the actual situation, and the embodiments of the present application do not make specific limitations.
[0073] For example, if the first value is 0, the second value is 1; if the first value is 1, the second value is 0. It should be noted that the above is only an optional embodiment shown in the embodiment of the present application, and the embodiment of the present application is not limited to the above two value-taking methods. The specific selection can be made according to the actual situation, and the embodiment of the present application does not make specific limitations.
[0074] S102: Determine that the reason for initiating the random access process is for sending uplink data.
[0075] In one embodiment, the terminal device may check that the initiation reason of the random access process is for sending uplink data to determine that the initiation reason of the random access process is for sending uplink data.
[0076] In an embodiment of the present application, the terminal device checks the value of the first flag bit. If the value is the first value, it indicates that the reason for initiating the random access process is for sending uplink data.
[0077] It should be noted that, if the value of the first flag bit is the second value or blank, it indicates that the reason for initiating the random access process is not for sending uplink data.
[0078] S103: If the second BWP is configured with UL_GRANT or SR, the uplink data sending process on the second BWP is executed.
[0079] In an embodiment, if the second BWP is configured with a UL_GRANT, the uplink data is sent on the second BWP based on the UL_GRANT configured with the second BWP.
[0080] It should be noted that UL_GRANT is used to specify at least one of the following uplink resources: Resource Block (RB), Adaptive Modulation Coding Scheme (MCS), Transport Block Size (TBS), etc. The specific ones can be selected according to the actual situation, and the embodiments of the present application do not make specific limitations.
[0081] It should be noted that the uplink data is sent on the second BWP using the uplink resources specified by the UL_GRANT configured corresponding to the second BWP.
[0082] In another embodiment, if the second BWP is configured with an SR, a UL_GRANT is applied for by sending an SR to the network device; and uplink data is sent on the second BWP based on the applied UL_GRANT.
[0083] It should be noted that the uplink data is sent on the second BWP using the uplink resources specified by the applied UL_GRANT.
[0084] Specifically, the terminal device sends an SR request for resources to the network device, the network device sends UL_downlink control information (Downlink Control Information, DCI) to the terminal device on the second BWP, the terminal device obtains UL_GRANT according to the UL_DCI information, and then the terminal device sends uplink data on the second BWP.
[0085] It should be noted that if the first BWP is not configured with UL_GRANT and / or SR, the BWP switching method proposed in the embodiment of the present application will not continue to initiate the random access process on the second BWP when switching to the second BWP, and then the BWP switching fails because the second BWP is not configured with PRACH resources. The embodiment of the present application further sends uplink data on the second BWP when it is detected that the second target BWP is configured with UL_GRANT or SR to complete the BWP switching. The BWP switching method proposed in the embodiment of the present application can improve the success rate of BWP switching.
[0086] In an embodiment of the present application, the uplink data may include status report data and / or BWP switching completion message data.
[0087] In an embodiment of the present application, the BWP switching completion message data may be carried in an RRC ConnectionReconfiguration Complete message.
[0088] It should be noted that if the second BWP is configured with UL_GRANT or SR, the terminal device sends the status report data and the BWP switching completion message data on the second BWP. Among them, the status report data and the BWP switching completion message data can be sent successively, that is, the status report data is sent first and then the BWP switching completion message data is sent, or the status report data and the BWP switching completion message data can be sent at the same time, and the specific sending order between the two is not specifically limited in this application.
[0089] Further, if the second BWP is not configured with UL_GRANT or SR, the BWP switching of the terminal device from the first BWP to the second BWP fails.
[0090] It should be noted that, in the case that the BWP switching of the terminal device from the first BWP to the second BWP fails, the terminal device may switch to the initial BWP.
[0091] In the embodiment of the present application, the initial BWP may include at least one of the following parameters: Remaining Minimum System Information (RMSI), Control Resource SET (CORESET) and RMSI frequency position, bandwidth, sub-carrier spacing (SCS) and other parameters. The specific parameters may be selected according to the actual situation, and the embodiment of the present application does not make specific limitations.
[0092] It can be understood that after the terminal device switches from the first BWP to the second BWP, based on the reason for initiating the random access process terminated on the first BWP for sending uplink data, and the second BWP is configured with UL_GRANT or SR, the terminal device directly sends the uplink data on the second BWP to complete the BWP switching. The first BWP does not need to perform UL_GRANT in advance, saving air interface resources. The first BWP does not need to configure SR, reducing the BWP switching time.
[0093] Based on the above embodiments, the present application embodiment proposes a BWP switching method, the source BWP is not configured with UL_GRANT and / or SR, and the target BWP is not configured with PRACH resources, such as Figure 3 As shown, the method may include:
[0094] 1. The base station sends an RRC Connection Reconfiguration message (BWP switching message) to the terminal.
[0095] It should be noted that after receiving the RRC Connection Reconfiguration message, the RLC layer of the terminal sends an RLC_PDU to the MAC layer of the terminal. The MAC layer of the terminal initiates a random access process, applies for UL_GRANT, and records the reason for initiating the random access process as being used to send uplink data.
[0096] It should be noted that after receiving the RRC Connection Reconfiguration message, the RRC layer of the terminal sends a BWP switching instruction to the MAC layer of the terminal.
[0097] 2. The terminal executes the BWP switching process.
[0098] It should be noted that the MAC layer of the terminal first terminates the ongoing random access process and switches from the source BWP to the target BWP. Then, the terminal checks that the initiation reason for initiating the access process is for sending uplink data.
[0099] 3. If the target BWP is configured with UL_GRANT, the terminal receives the UL_GRANT sent by the base station on the target BWP.
[0100] 4. The terminal sends an RRC Connection Reconfiguration Complete message to the base station.
[0101] Based on the above embodiments, the present application embodiment proposes a BWP switching method, the source BWP is not configured with UL_GRANT and / or SR, and the target BWP is not configured with PRACH resources, such as Figure 4 As shown, the method may include:
[0102] 1. The base station sends an RRC Connection Reconfiguration message (BWP switching message) to the terminal.
[0103] It should be noted that after receiving the RRC Connection Reconfiguration message, the RLC layer of the terminal sends an RLC_PDU to the MAC layer of the terminal. The MAC layer of the terminal initiates a random access process, applies for UL_GRANT, and records the reason for initiating the random access process as being used to send uplink data.
[0104] It should be noted that after receiving the RRC Connection Reconfiguration message, the RRC layer of the terminal sends a BWP switching instruction to the MAC layer of the terminal.
[0105] 2. The terminal executes the BWP switching process.
[0106] It should be noted that the MAC layer of the terminal first terminates the ongoing random access process and switches from the source BWP to the target BWP. Then, the terminal checks that the initiation reason for initiating the access process is for sending uplink data. If the target BWP is configured with SR, the terminal sends an SR request UL_GRANT on the target BWP and executes 3.
[0107] 3. If the target BWP is configured with SR, the terminal sends SR on the target BWP.
[0108] 4. The terminal receives the UL_GRANT sent by the base station on the target BWP.
[0109] 5. The terminal sends an RRC Connection Reconfiguration Complete message to the base station.
[0110] It should be noted that the BWP switching method proposed in the embodiment of the present application only needs to execute the RRCConnection Reconfiguration process once to complete the BWP switching process, which greatly shortens the BWP switching time and improves the BWP switching efficiency.
[0111] The present application embodiment provides a terminal device. Figure 5 As shown, the terminal device 1 includes:
[0112] The switching unit 10 is configured to terminate the random access process being performed on the first BWP and switch from the first BWP to the second BWP;
[0113] A determining unit 11 determines that a reason for initiating the random access process is for sending uplink data;
[0114] The sending unit 12 is configured to execute an uplink data sending process on the second BWP if the second BWP is configured with UL_GRANT or SR.
[0115] Optionally, the terminal device further includes: an initiating unit and a recording unit;
[0116] The initiating unit is configured to initiate a random access process on the first BWP;
[0117] The recording unit is used to record that the reason for initiating the random access process is for sending uplink data.
[0118] Optionally, the terminal device further includes: a writing unit;
[0119] The writing unit is used to write a first value in a first flag bit; the first flag bit is used to record a random access initiation reason, and the first value indicates that uplink data needs to be initiated.
[0120] Optionally, the terminal device further includes: a viewing unit;
[0121] The checking unit is used to check whether the initiation reason of the random access process is for sending uplink data.
[0122] Optionally, if the second BWP corresponds to the configuration UL_GRANT,
[0123] The sending unit 12 is further configured to send uplink data on the second BWP based on the UL_GRANT configured corresponding to the second BWP.
[0124] Optionally, if the second BWP corresponds to a configuration SR,
[0125] The sending unit 12 is further configured to apply for UL_GRANT by sending an SR to the network device; and send uplink data on the second BWP based on the applied UL_GRANT.
[0126] Optionally, the second BWP is not configured with PRACH resources; the first BWP is not configured with UL_GRANT or SR.
[0127] Optionally, the switching unit 10 is further configured to fail the BWP switching from the first BWP to the second BWP if the second BWP is not configured with UL_GRANT or SR.
[0128] An embodiment of the present application provides a terminal device, wherein the terminal device terminates a random access process being performed on a first BWP, and switches from the first BWP to a second BWP; determines that the initiation reason for the random access process is for sending uplink data; and if the second BWP is configured with UL_GRANT or SR, the terminal device executes the uplink data sending process on the second BWP. It can be seen that the terminal device proposed in this embodiment, after the terminal device switches from the first BWP to the second BWP, based on the initiation reason for the random access process terminated on the first BWP being for sending uplink data, and the second BWP being configured with UL_GRANT or SR, the terminal device directly sends uplink data on the second BWP to complete the BWP switching, and the first BWP does not need to perform UL_GRANT in advance, thereby saving air interface resources, and the first BWP does not need to be configured with SR, thereby reducing the BWP switching time.
[0129] Figure 6 A schematic diagram of the structure of a terminal device 1 provided in an embodiment of the present application Figure 2 In practical applications, based on the same disclosure concept of the above embodiments, Figure 6 As shown, the terminal device 1 of this embodiment includes: a processor 13, a memory 14 and a communication bus 15.
[0130] The processor 13 may be at least one of an application-specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a CPU, a controller, a microcontroller, and a microprocessor. It is understandable that for different devices, the electronic device used to implement the processor function may also be other, which is not specifically limited in this embodiment.
[0131] In the embodiment of the present application, the communication bus 15 is used to realize the connection communication between the processor 13 and the memory 14; when the processor 13 executes the running program stored in the memory 14, the following BWP switching method is implemented:
[0132] Terminate the random access process in progress on the first BWP and switch from the first BWP to the second BWP; determine that the reason for initiating the random access process is for sending uplink data; if the second BWP is configured with UL_GRANT or SR, execute the uplink data sending process on the second BWP.
[0133] Furthermore, the processor 13 is further configured to initiate a random access process on the first BWP, and record that a reason for initiating the random access process is for sending uplink data.
[0134] Furthermore, the processor 13 is further configured to write a first value into a first flag bit; the first flag bit is used to record a reason for initiating random access, and the first value indicates that uplink data needs to be initiated.
[0135] Furthermore, the processor 13 is further configured to check whether the reason for initiating the random access process is for sending uplink data.
[0136] Furthermore, if the second BWP corresponds to the configuration UL_GRANT,
[0137] The processor 13 is further configured to send uplink data on the second BWP based on the UL_GRANT configured corresponding to the second BWP.
[0138] Furthermore, if the second BWP is configured with SR,
[0139] The processor 13 is further configured to apply for UL_GRANT by sending an SR to the network device; and send uplink data on the second BWP based on the applied UL_GRANT.
[0140] Furthermore, the second BWP is not configured with PRACH resources; and the first BWP is not configured with UL_GRANT or SR.
[0141] Furthermore, the processor 13 is further configured to, if the second BWP is not configured with UL_GRANT or SR, fail the BWP switching from the first BWP to the second BWP.
[0142] An embodiment of the present application provides a storage medium having a computer program stored thereon. The computer-readable storage medium stores one or more programs. The one or more programs can be executed by one or more processors and applied to a terminal device. The computer program implements the BWP switching method as described above.
[0143] Based on the above embodiments, an embodiment of the present application provides a computer program product, including a computer program, which can be executed by one or more processors, and the computer program implements the BWP switching method as described above.
[0144] It should be noted that, in this article, the terms "include", "comprises" or any other variations 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 a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0145] 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 software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present disclosure, or the part that contributes to the relevant technology, can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, a disk, or an optical disk), and includes a number of instructions for enabling an image display device (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods described in each embodiment of the present disclosure.
[0146] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A BWP switching method, characterized in that: Applied to a terminal device, the method comprises: terminating the ongoing random access procedure on the first bandwidth part BWP, and switching from the first BWP to the second BWP; Determining that the reason for initiating the random access process is for sending uplink data; If the second BWP is configured with an uplink grant UL_GRANT or a scheduling request SR, the uplink data sending process on the second BWP is executed.
2. The method according to claim 1, characterized in that The method further comprises: A random access process is initiated on the first BWP, and a reason for initiating the random access process is recorded as being used to send uplink data.
3. The method according to claim 2, characterized in that The recording of the initiation reason of the random access process is used to send uplink data, including: A first value is written into the first flag bit; the first flag bit is used to record the reason for initiating random access, and the first value indicates that uplink data needs to be initiated.
4. The method according to claim 1, characterized in that: The determining that the initiation cause of the random access process is for sending uplink data includes: Check that the initiation reason of the random access process is for sending uplink data.
5. The method according to claim 1, characterized in that If the second BWP is configured with UL_GRANT, the uplink data sending process performed on the second BWP includes: The uplink data is sent on the second BWP based on the UL_GRANT configured corresponding to the second BWP.
6. The method according to claim 1, characterized in that If the second BWP is configured with an SR, the uplink data sending process performed on the second BWP includes: Send SR to the network device to apply for UL_GRANT; The uplink data is sent on the second BWP based on the applied UL_GRANT.
7. The method according to claim 1, characterized in that The second BWP is not configured with PRACH resources; the first BWP is not configured with UL_GRANT or SR.
8. The method according to claim 1, characterized in that The method further comprises: If the second BWP is not configured with UL_GRANT or SR, the BWP switching from the first BWP to the second BWP fails.
9. A terminal device, characterized in that: The terminal device comprises: A switching unit, configured to terminate the random access process being performed on the first BWP and switch from the first BWP to the second BWP; Determining unit; determining that the initiation reason of the random access process is for sending uplink data; The sending unit is configured to execute the uplink data sending process on the second BWP if the second BWP is configured with UL_GRANT or SR.
10. A terminal device, characterized in that: The terminal device includes: a processor, a memory and a communication bus; the communication bus is used to realize the connection and communication between the processor and the memory; when the processor executes the running program stored in the memory, it implements the method according to any one of claims 1-8.
11. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.
12. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the method according to any one of claims 1 to 8.