WO2020061962A1 - Handover timing method, terminal device and network device - Google Patents

Handover timing method, terminal device and network device Download PDF

Info

Publication number
WO2020061962A1
WO2020061962A1 PCT/CN2018/108139 CN2018108139W WO2020061962A1 WO 2020061962 A1 WO2020061962 A1 WO 2020061962A1 CN 2018108139 W CN2018108139 W CN 2018108139W WO 2020061962 A1 WO2020061962 A1 WO 2020061962A1
Authority
WO
WIPO (PCT)
Prior art keywords
network device
target network
timer
connection
fails
Prior art date
Application number
PCT/CN2018/108139
Other languages
French (fr)
Chinese (zh)
Inventor
尤心
Original Assignee
Oppo广东移动通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to CN201880092310.7A priority Critical patent/CN112106403B/en
Priority to PCT/CN2018/108139 priority patent/WO2020061962A1/en
Priority to TW108134952A priority patent/TW202025842A/en
Publication of WO2020061962A1 publication Critical patent/WO2020061962A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/34Reselection control
    • H04W36/36Reselection control by user or terminal equipment
    • H04W36/362Conditional handover

Definitions

  • the present invention relates to the field of information processing technology, and in particular, to a switching timing method, a terminal device, a network device, a chip, a computer-readable storage medium, a computer program product, and a computer program.
  • the handover may fail during the handover process.
  • reasons for the handover failure are T304 timeout; T307 timeout; T312 timeout, etc.
  • the terminal device needs to initiate a radio resource control (RRC, Radio Resource Control) connection Re-established.
  • RRC Radio Resource Control
  • the target base station For the handover process of the terminal device, there may be a way to configure multiple target base stations for the terminal device, so that when the terminal device performs the handover, the target base station can be selected as soon as possible to ensure that the terminal device completes the handover process quickly.
  • how to control the connection of the terminal device is a problem to be solved.
  • embodiments of the present invention provide a switching timing method, a terminal device, a network device, a chip, a computer-readable storage medium, a computer program product, and a computer program.
  • an embodiment of the present invention provides a handover timing method, which is applied to a terminal device and includes:
  • an embodiment of the present invention provides a switching timing method, which is applied to a source network device and includes:
  • the terminal device is configured with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device.
  • an embodiment of the present invention provides a terminal device, including:
  • the first communication unit receives at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device.
  • an embodiment of the present invention provides a source network device, including:
  • the second communication unit configures the terminal device with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least longer than that of the timer for at least one target network device. Maximum duration.
  • an embodiment of the present invention provides a terminal device, including a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory, and execute the method in the above-mentioned first aspect or its implementations.
  • a network device including a processor and a memory.
  • the memory is used to store a computer program
  • the processor is used to call and run the computer program stored in the memory to execute the method in the second aspect or the implementations thereof.
  • a chip is provided for implementing any one of the first to second aspects or a method in each implementation thereof.
  • the chip includes a processor for invoking and running a computer program from a memory, so that a device installed with the chip executes any one of the first aspect to the second aspect described above or implementations thereof. method.
  • a computer-readable storage medium for storing a computer program that causes a computer to execute the method in any one of the first to second aspects described above or in its implementations.
  • a computer program product including computer program instructions that cause a computer to execute the method in any one of the first to second aspects described above or in various implementations thereof.
  • a computer program that, when run on a computer, causes the computer to execute the method in any one of the first to second aspects described above or in its implementations.
  • a terminal device can configure at least one timer corresponding to at least one target network device and / or a common timer during a handover stage; so that the terminal device is configured with at least one target network device.
  • switching processing is controlled based on a corresponding timer and / or a common timer, so as to ensure processing efficiency of re-establishing a connection with a target network device.
  • FIG. 1 is a schematic diagram 1 of a communication system architecture according to an embodiment of the present application.
  • FIG. 2 is a first schematic flowchart of a handover timing method according to an embodiment of the present application
  • FIG. 3 is a schematic diagram of a handover processing scenario according to an embodiment of the present invention.
  • FIG. 4 is a second schematic flowchart of a handover timing method according to an embodiment of the present application.
  • FIG. 5 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
  • FIG. 6 is a schematic structural diagram of a network device according to an embodiment of the present invention.
  • FIG. 7 is a schematic structural diagram of a communication device according to an embodiment of the present invention.
  • FIG. 8 is a schematic block diagram of a chip according to an embodiment of the present application.
  • FIG. 9 is a schematic diagram 2 of a communication system architecture provided by an embodiment of the present application.
  • GSM Global System for Mobile
  • CDMA Code Division Multiple Access
  • Wideband Code Division Multiple Access Wideband Code Division Multiple Access
  • GPRS General Packet Radio Service
  • LTE Long Term Evolution
  • LTE Frequency Division Duplex Frequency Division Duplex
  • TDD Time Division Duplex
  • UMTS Universal Mobile Telecommunication System
  • WiMAX Global Interoperability for Microwave Access
  • the communication system 100 applied in the embodiment of the present application may be shown in FIG. 1.
  • the communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal device 120 (or a communication terminal or a terminal).
  • the network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminal devices located within the coverage area.
  • the network device 110 may be a network device (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a network device (NodeB, NB) in a WCDMA system, or may be an evolution in an LTE system.
  • BTS Base Transceiver Station
  • NodeB NodeB
  • Type network equipment (Evolutional NodeB, eNB or eNodeB), or a wireless controller in a Cloud Radio Access Network (CRAN), or the network equipment may be a mobile switching center, relay station, access point, Vehicle-mounted devices, wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks, or network devices in public land mobile networks (PLMN) that will evolve in the future.
  • Evolutional NodeB, eNB or eNodeB or a wireless controller in a Cloud Radio Access Network (CRAN)
  • the network equipment may be a mobile switching center, relay station, access point, Vehicle-mounted devices, wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks, or network devices in public land mobile networks (PLMN) that will evolve in the future.
  • PLMN public land mobile networks
  • the communication system 100 further includes at least one terminal device 120 located within a coverage area of the network device 110.
  • terminal equipment used herein includes, but is not limited to, connection via wired lines, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Line (DSL), digital cable, direct cable connection ; And / or another data connection / network; and / or via a wireless interface, such as for cellular networks, Wireless Local Area Networks (WLAN), digital television networks such as DVB-H networks, satellite networks, AM- FM broadcast transmitter; and / or another terminal device configured to receive / transmit communication signals; and / or Internet of Things (IoT) devices.
  • PSTN Public Switched Telephone Networks
  • DSL Digital Subscriber Line
  • WLAN Wireless Local Area Networks
  • DVB-H Digital Video Broadband
  • satellite networks satellite networks
  • AM- FM broadcast transmitter AM- FM broadcast transmitter
  • IoT Internet of Things
  • a terminal device configured to communicate through a wireless interface may be referred to as a “wireless communication terminal”, a “wireless terminal”, or a “mobile terminal”.
  • mobile terminals include, but are not limited to, satellite or cellular phones; personal communications systems (PCS) terminals that can combine cellular radiotelephones with data processing, facsimile, and data communications capabilities; can include radiotelephones, pagers, Internet / internal PDA with network access, web browser, notepad, calendar, and / or Global Positioning System (GPS) receiver; and conventional laptop and / or palm-type receivers or others including radiotelephone transceivers Electronic device.
  • PCS personal communications systems
  • GPS Global Positioning System
  • a terminal device can refer to an access terminal, user equipment (terminal equipment), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent Or user device.
  • the access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Processing (PDA), and wireless communication.
  • terminal devices 120 may perform terminal direct device (D2D) communication.
  • D2D terminal direct device
  • the 5G system or the 5G network may also be referred to as a New Radio (NR) system or an NR network.
  • NR New Radio
  • FIG. 1 exemplarily shows one network device and two terminal devices.
  • the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. The embodiment does not limit this.
  • the communication system 100 may further include other network entities such as a network controller, a mobility management entity, and the like in this embodiment of the present application is not limited thereto.
  • network entities such as a network controller, a mobility management entity, and the like in this embodiment of the present application is not limited thereto.
  • the device having a communication function in the network / system in the embodiments of the present application may be referred to as a communication device.
  • the communication device may include a network device 110 and a terminal device 120 having a communication function, and the network device 110 and the terminal device 120 may be specific devices described above, and are not described herein again
  • the communication device may also include other devices in the communication system 100, such as other network entities such as a network controller, a mobile management entity, and the like, which is not limited in the embodiments of the present application.
  • An embodiment of the present invention provides a switching timing method, which is applied to a terminal device. As shown in FIG. 2, the method includes:
  • Step 201 Receive at least one timer for at least one target network device, and / or a common timer;
  • the timing duration of different timers may be the same or different;
  • the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all the timers; or the timing duration of the common timer may also be the sum of the timing durations of all the timers; of course The timing duration of the common timer may also be greater than the sum of the timing durations of all the timers.
  • the duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
  • the solution provided in this embodiment may further include: when initiating a connection to a target network device, based on the at least one timer, and / or, The common timer does the processing.
  • the receiving at least one timer for at least one target network device and / or a common timer includes:
  • Receive a handover command and obtain at least one timer for at least one target network device and / or a common timer through the handover command.
  • At least one timer of at least one target network device of the terminal device, and / or, a common timer corresponding to at least one target network device may be directly configured by the source network device, or the target network device may also pass the source network device. Forwarded to the terminal device.
  • the handover preparation phase includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; after the terminal device performs measurements for multiple network devices or cells, it sends a measurement report to the source network device; the source network device according to the measurement report (Or combined with RRM information) to make a handover decision; the source network device sends a handover request to the target network device to prepare the target network device for handover; the target network device performs handover admission control based on the handover request; when the target network device determines to perform handover, The network device sends a handover request confirmation.
  • the target network device generates RRC information, sends the RRC connection reconfiguration information to the source network device, and the source network device sends the RRC connection reconfiguration information to the terminal device. ; After receiving the RRC connection reconfiguration information, the terminal device performs handover processing according to the connection reconfiguration information; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then receives the target network device for UL Allocate and send RRC connection reconfiguration completion information to the target network device.
  • the target network device sends a path switching request to the MME to notify the MME terminal device to change the cell; the MME sends a bearer adjustment request to the serving gateway, and the MME performs the downlink path switching process.
  • the serving gateway finishes processing, it sends a bearer adjustment completion process to the MME, and the MME sends a confirmation message of the path switching request to the target network device; the target network device notifies the source network device of the terminal device context release and the source network device releases the resources.
  • the source network device may directly send a timer through a switch command, or send a timer through a reconfiguration message forwarded, that is, a timing for the target network device.
  • the source network device can directly configure at least two timers and / or public timers by switching instructions, or it can configure the terminal devices by forwarding reconfiguration messages At least two timers, and / or, common timers.
  • a message may be sent to a terminal device for a timer and / or a common timer corresponding to each target network device; or, a timer and / Or the common timer is added to the same message, and then only one message is sent to the terminal device.
  • the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, optional It also includes information such as the random access preamble, the system information block (SIB) of the second target network device.
  • SIB system information block
  • this embodiment can be applied to the following multiple scenarios:
  • a terminal device may have at least two target network devices, and all target network devices correspond to a common timer.
  • timers can be sent for at least two target network devices, that is, timers for at least two target network devices are sent separately, and each timer can be a common timer; or It is also possible to send only one common timer and configure that the common timer can be applied to all target network devices.
  • the common timer may be obtained through a switching command, or the common timer may be obtained from a reconfiguration message that is forwarded.
  • the initiating a connection to a target network device based on the at least one timer and / or a common timer includes:
  • a common timer is started to initiate a connection to the first target network device.
  • the initiating a connection to a target network device based on the at least one timer and / or a common timer further includes:
  • a common timer may be started when the terminal device selects the first target network device to be currently accessed.
  • the common timer is stopped.
  • the terminal device fails to switch to the first target network device.
  • the method further includes:
  • connection to the first target network device fails, or when the common timer stops and the first target network device fails to connect, determine the second target network device, restart the common timer, and initiate to the second target network device connection.
  • the method for determining a second target network device may include one of the following:
  • the handover command includes the second target network device reselected by the network side for the terminal device.
  • a second target network device is selected from the at least two target network devices.
  • the method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from the at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
  • the selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set.
  • the network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
  • the processing method for the first target network device may be used for processing, but details are not described herein again.
  • connection with the source network device is returned, or connection reestablishment is initiated.
  • the first target network device or the second target network device fails to switch, both can return to the connection to the source network device or initiate connection reestablishment to the new target network device.
  • the new target network device is different from the target network device that failed in this handover.
  • the second target network device can be used as a new first target network device for subsequent operations, that is, when the new first target network device When the device is successfully connected, it can be determined that the handover is successful. If the connection of the new first target network device fails, the new second target network device is re-selected again, and the process is performed in a loop.
  • the method further includes:
  • the value can be set according to actual conditions. For example, you can restart the public timer more than 5 times to confirm that there is no suitable target network device for the current switchover, so that the switchover fails. Of course, it can also be determined according to the number of target network devices. Preset number threshold, for example, the preset number threshold can be 2/3 of the number of target network devices. Assuming that there are 9 target network devices, the public timer can be restarted 6 times; in addition, there may be other The method for setting the preset number of times threshold is only exhaustive in this embodiment.
  • the preset selection threshold may be set according to the actual situation. For example, it may be determined that there is no suitable target network device for the current switchover to reselect the target network device more than 3 times, thereby determining the switchover failure; of course. You can also determine the threshold for the preset number of times based on the number of target network devices. For example, the preset selection threshold can be 2/3 of the number of target network devices.
  • the target network device determines that the handover has failed more than 6 times; in addition, there may be other methods for setting the threshold value for the preset number of times, but in this embodiment, no exhaustion is performed.
  • the second target network device configured in the handover command is acquired, and a connection is initiated to the second target network device.
  • the method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from the at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
  • the selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set.
  • the network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
  • the second target network device In the process of reselecting the second target network device from at least one network device each time, it is not necessary to maintain a connection with the source network device; and each time the switch command is reacquired, the second target network device based on the configuration of the switch command is re- In the process of initiating the connection, the connection to the source network device may be returned every time the connection fails.
  • the second target network device can be used as the first target network device again, and the operations in this scenario can be continued. Furthermore, when the new first target network device fails to connect When re-selecting a new second target network device again, the process is cyclically performed until the public timer stops, and when the target network device that can be connected is still not selected, it can be confirmed that the handover fails and returns to the source network device. Connect, or, initiate connection re-establishment.
  • the terminal device has at least two target network devices, and each target network device corresponds to a timer.
  • At least two timers for at least two target network devices configured by the receiving source network device may have the same or different timer durations. It is determined by each target network device, which is not limited in this embodiment.
  • the source network device may directly send a timer to the terminal device in a handover command; or, the source network device may forward the reconfiguration message of at least two target network devices to the terminal device.
  • the initiating a connection to a target network device based on the at least one timer and / or a common timer includes:
  • a first timer for the first target network device is started, and a connection is initiated to the first target network device.
  • the first timer is stopped.
  • the terminal device fails to switch to the first target network device.
  • the method further includes:
  • connection of the first target network device fails, selecting a second target network device from at least one target network device to initiate a connection, and starting a timer of the second target network device;
  • the second target network device configured in the handover command is acquired, a connection is initiated to the second target network device, and a timer of the second target network device is started.
  • the method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
  • the selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set.
  • the network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
  • the second target network device selected this time may be used as the new first target network device. Accordingly, the second timer is used as the new first target network device.
  • the first timer of the switch performs connection control; that is, when the new first target network device does not connect successfully when the first timer expires, a new second target network device is selected again and the new The second timer corresponding to the second target network device is processed cyclically.
  • the above-mentioned loop processing may be ended by judging whether the number of times of reselecting a new target network device exceeds a preset selection threshold, and if exceeding, determining that the handover fails; or, it may also be judged to restart a new Whether the number of timers of the timer exceeds a preset threshold, and if it exceeds the threshold, it is determined that the handover fails.
  • determining the preset selection threshold and the preset number of times refer to the description in the scenario 1, which is not repeated here.
  • the first target network device or the second target network device can use the above description to determine whether the handover is successful; and when the handover fails, they can return to the source network device or re-connect to the new The second target network device initiates connection reconstruction.
  • the new second target network device is different from the second target network device that failed in the handover.
  • the terminal device is provided with at least two target network devices, each target network device corresponds to a timer, and all target network devices share a common timer.
  • the timing duration of the timers corresponding to different target network devices may be the same or different; the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all timers; or, The timing duration of the common timer may also be the sum of the timing durations of all the timers; of course, the timing duration of the common timer may be greater than the sum of the timing durations of all the timers.
  • the duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
  • At least two timers corresponding to the at least two target network devices can be obtained from the reconfiguration message forwarded by the source base station; or the source network device directly sets at least two timers in the handover command to send to the terminal device.
  • the initiating a connection to a target network device based on the at least one timer and / or a common timer includes:
  • a first timer of a first target network device is started, and a common timer is started to initiate a connection to the first target network device.
  • the first timer is stopped. If the first timer times out and / or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.
  • the method further includes:
  • the second target network device is selected from at least one target network device and sent to the second The target network device initiates a connection and starts a timer of the second target network device;
  • the second target network device is acquired based on the handover command, and initiated to the second target network device Connect and start the timer of the second target network device.
  • the method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
  • the selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set.
  • the network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
  • the second target network device selected this time may be used as the new first target network device. Accordingly, the second timer is used as the new first target network device.
  • the first timer of the switch performs connection control; that is, when the new first target network device does not connect successfully when the first timer expires, a new second target network device is selected again and the new The second timer corresponding to the second target network device is processed cyclically.
  • the above-mentioned loop processing may be ended in a manner that, when the common timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated.
  • the terminal device in this embodiment may also retain the connection with the source network device; Wherein, the terminal device retains the first protocol stack and the first related key with the source network device, and maintains the second protocol stack and the second related key with the first target network device;
  • the first related key is different from the second related key.
  • the second correlation key may be generated from the first correlation key.
  • the first protocol stack and the second protocol stack may be the same or different, or at least partially different.
  • it may be a terminal device and a source network device, and a terminal device and a first target network device. Maintain different service data application protocols (SDAP, Service Data Adaptation Protocol), different packet data convergence protocols (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different Media access control (MAC) entities, different low-layer entities; when targeting 4G systems, different packet data aggregations can be maintained for terminal equipment and source network equipment, and between terminal equipment and first target network equipment Protocol (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different media access control (MAC) entities, different low layer (Low layer) entities.
  • SDAP Service Data Adaptation Protocol
  • PDCP Packet Data Convergence Protocol
  • RLC Radio Link Control
  • MAC Media access control
  • the PDCP of the first protocol stack and the second protocol stack must be different. At least one of SDAP, RLC, MAC, and physical layer may be the same or different. Alternatively, the first protocol stack and the second protocol stack may share at least one of SDAP, RLC, MAC, and physical layer, or may have SDAP, RLC, MAC, and physical layer, respectively.
  • the first target network device and the second target network device in this embodiment are target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary nodes SN, and the The source network device is the master node MN.
  • the SN is called SCG
  • the new radio (NR) is SN, which refers to the same concept, that is, the second service network device in the DC scenario.
  • the applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect to the target network device; the terminal source network device disconnects and successfully connects with the target network device; the auxiliary cell group (SCG) connection fails, and the SCG changes Connection failed.
  • LTE long-term evolution
  • NR new radio
  • At least one timer and / or common timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, based on the corresponding timer and / Or the common timer controls the switching process, thereby ensuring the processing efficiency of re-establishing a connection with the target network device.
  • An embodiment of the present invention provides a handover timing method, which is applied to a source network device, as shown in FIG. 4, and includes:
  • Step 401 Configure the terminal device with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device.
  • the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all the timers; or the timing duration of the common timer may also be the sum of the timing durations of all the timers; of course The timing duration of the common timer may also be greater than the sum of the timing durations of all the timers.
  • the duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
  • the configuring the terminal device with at least one timer for at least one target network device and / or a common timer includes:
  • the handover command carries at least one timer for at least one target network device, and / or a common timer, and sends the handover command to the terminal device.
  • At least one timer of at least one target network device of the terminal device may be configured by the source network device directly through a switch command, or may be forwarded by the target network device to the terminal device through the source network device.
  • the handover preparation phase includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; after the terminal device performs measurements for multiple network devices or cells, it sends a measurement report to the source network device; the source network device according to the measurement report (Or combined with RRM information) to make a handover decision; the source network device sends a handover request to the target network device to prepare the target network device for handover; the target network device performs handover admission control based on the handover request; when the target network device determines to perform handover, The network device sends a handover request confirmation.
  • the target network device generates RRC information, sends the RRC connection reconfiguration information to the source network device, and the source network device sends the RRC connection reconfiguration information to the terminal device. ; After receiving the RRC connection reconfiguration information, the terminal device performs handover processing according to the connection reconfiguration information; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then receives the target network device for UL Allocate and send RRC connection reconfiguration completion information to the target network device.
  • the target network device sends a path switching request to the MME to notify the MME terminal device to change the cell; the MME sends a bearer adjustment request to the serving gateway, and the MME performs the downlink path switching process.
  • the serving gateway finishes processing, it sends a bearer adjustment completion process to the MME, and the MME sends a confirmation message of the path switching request to the target network device; the target network device notifies the source network device of the terminal device context release and the source network device releases the resources.
  • the source network device when the terminal device has a target network device, can send a timer directly through a switch command, or send a timer by forwarding a reconfiguration message, that is, a timer for the target network device. ;
  • the source network device can configure at least two timers and / or public timers directly by switching instructions, or can configure the terminal device by forwarding reconfiguration messages At least two timers, and / or, common timers.
  • a message may be sent to a terminal device for a timer and / or a common timer corresponding to each target network device; or, a timer and / Or the common timer is added to the same message, and then only one message is sent to the terminal device.
  • the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, optional It also includes information such as the random access preamble, the system information block (SIB) of the second target network device.
  • SIB system information block
  • the method further includes: selecting a target network device based on a measurement report corresponding to at least one network device; or randomly selecting a target network device from the at least one network device.
  • selecting the target network device can select at least one target network device for the terminal device when the source network device receives the measurement report of at least one network device from the terminal device; and then pass the relevant information of the at least one target network device through A reconfiguration message or a switch command is sent to the terminal device; it should be noted that when sending at least one target network device, at least one timer corresponding to the at least one target network device and / or a common timer need to be added.
  • the source network device selects the second target network device for the terminal device from the at least one target network device, and selects the target network device.
  • the second target network device is sent to the terminal device through a reconfiguration message or a handover command. It should be noted that when sending the second target network device, a second timer corresponding to the second target network device needs to be added.
  • the first target network device and the second target network device in this embodiment are target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary nodes SN, and the The source network device is the master node MN.
  • the SN is called SCG
  • the new radio (NR) is SN, which refers to the same concept, that is, the second service network device in the DC scenario.
  • the applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect to the target network device; the terminal source network device disconnects and successfully connects with the target network device; the auxiliary cell group (SCG) connection fails, and the SCG changes Connection failed.
  • LTE long-term evolution
  • NR new radio
  • At least one timer and / or common timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, based on the corresponding timer and / Or the common timer controls the switching process, thereby ensuring the processing efficiency of re-establishing a connection with the target network device.
  • An embodiment of the present invention provides a terminal device, as shown in FIG. 5, including:
  • the first communication unit 51 receives at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device Initiating a connection to a target network device based on the at least one timer and / or a common timer.
  • the timing duration of different timers may be the same or different;
  • the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all the timers; or the timing duration of the common timer may also be the sum of the timing durations of all the timers; of course The timing duration of the common timer may also be greater than the sum of the timing durations of all the timers.
  • the duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
  • the first communication unit 51 The first communication unit 51,
  • At least one timer of at least one target network device of the terminal device may be directly configured by the source network device, or may also be passed by the target network device. It is forwarded by the source network device to the terminal device.
  • the handover preparation phase includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; after the terminal device performs measurements for multiple network devices or cells, it sends a measurement report to the source network device; the source network device according to the measurement report (Or combined with RRM information) to make a handover decision; the source network device sends a handover request to the target network device to prepare the target network device for handover; the target network device performs handover admission control based on the handover request; when the target network device determines to perform handover, The network device sends a handover request confirmation.
  • the target network device generates RRC information, sends the RRC connection reconfiguration information to the source network device, and the source network device sends the RRC connection reconfiguration information to the terminal device. ; After receiving the RRC connection reconfiguration information, the terminal device performs handover processing according to the connection reconfiguration information; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then receives the target network device for UL Allocate and send RRC connection reconfiguration completion information to the target network device.
  • the target network device sends a path switching request to the MME to notify the MME terminal device to change the cell; the MME sends a bearer adjustment request to the serving gateway, and the MME performs the downlink path switching process.
  • the serving gateway finishes processing, it sends a bearer adjustment completion process to the MME, and the MME sends a confirmation message of the path switching request to the target network device; the target network device notifies the source network device of the terminal device context release and the source network device releases the resources.
  • the source network device when the terminal device has a target network device, can send a timer directly through a switch command, or send a timer by forwarding a reconfiguration message, that is, a timer for the target network device. ;
  • the source network device can directly configure the terminal device with at least two timers and / or public timers by switching instructions, or it can forward the reconfiguration message to the terminal.
  • the device is configured with at least two timers, and / or a common timer.
  • a message may be sent to a terminal device for a timer and / or a common timer corresponding to each target network device; or, a timer and / Or the common timer is added to the same message, and then only one message is sent to the terminal device.
  • the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, optional It also includes information such as the random access preamble, the system information block (SIB) of the second target network device.
  • SIB system information block
  • this embodiment can be applied to the following multiple scenarios:
  • a terminal device may have at least two target network devices, and all target network devices correspond to a common timer.
  • timers can be sent for at least two target network devices, that is, timers for at least two target network devices are sent separately, and each timer can be a common timer; or It is also possible to send only one common timer and configure that the common timer can be applied to all target network devices.
  • the common timer may be obtained through a switching command, or the common timer may be obtained from a reconfiguration message that is forwarded.
  • the terminal device further includes:
  • the first processing unit 52 starts a common timer when receiving a handover command, and initiates a connection to the first target network device through the first communication unit 51.
  • the initiating a connection to a target network device based on the at least one timer and / or a common timer further includes:
  • the first processing unit 52 if the received handover command (HO command) carries a reconfiguration message including at least two target network devices, when the terminal device selects the first target network device to be currently accessed, Start the common timer.
  • the first processing unit 52 stops the common timer if the connection is successfully initiated to the first target network device within the duration of the timer.
  • the terminal device fails to switch to the first target network device.
  • the first processing unit 52 When it is determined that the handover of the terminal device to the first target network device fails, the first processing unit 52, when the connection to the first target network device fails, or when the common timer stops and the first target network device fails to connect To determine a second target network device, restart the common timer, and initiate a connection to the second target network device through the first communication unit 51.
  • the method for determining a second target network device may include one of the following:
  • the first processing unit 52 reaccepts the handover command sent by the source network device, and obtains the second target network device based on the handover command.
  • the handover command includes the second target network device reselected by the network side for the terminal device.
  • a second target network device is selected from the at least two target network devices.
  • the method for selecting a second target network device from the at least two target network devices may be the first processing unit 52, randomly selecting the second target network device from the at least two target network devices, or based on A selection priority of at least two target network devices selects a second target network device.
  • the selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set.
  • the network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
  • the processing method for the first target network device may be used for processing, but details are not described herein again.
  • connection with the source network device is returned, or connection reestablishment is initiated.
  • the first target network device or the second target network device fails to switch, both can return to the connection to the source network device or initiate connection reestablishment to the new target network device.
  • the new target network device is different from the target network device that failed in this handover.
  • the second target network device can be used as a new first target network device for subsequent operations, that is, when the new first target network device When the device is successfully connected, it can be determined that the handover is successful. If the connection of the new first target network device fails, the new second target network device is re-selected again, and the process is performed in a loop.
  • a common timer is restarted, and when a connection is initiated to the second target network device, the first processing unit 52 determines whether the number of restarts of the common timer exceeds a preset number of times If the threshold value is exceeded, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated; wherein the preset number of times may be set according to actual conditions, for example, it may be restarted If the public timer exceeds 5 times, it is confirmed that there is no suitable target network device for handover at present, so that the handover fails.
  • a preset number of times can be determined according to the number of target network devices, for example, the preset number of times It can be 2/3 of the number of target network devices. Assuming that there are 9 target network devices, the public timer can be restarted 6 times. In addition, there can be other methods for setting the threshold of preset times, but this implementation No more exhaustive in the example.
  • the first processing unit 52 determines whether the number of times of re-selecting the target network device exceeds a preset selection threshold. If the number of times of re-selection of the target network device exceeds the preset selection threshold, it confirms that the handover fails, returns to the connection with the source network device, or initiates connection reconstruction.
  • the preset selection threshold may be set according to the actual situation. For example, it may be determined that there is no suitable target network device for the current switchover to reselect the target network device more than 3 times, thereby determining the switchover failure; of course. You can also determine the threshold for the preset number of times based on the number of target network devices. For example, the preset selection threshold can be 2/3 of the number of target network devices.
  • the target network device determines that the handover has failed more than 6 times; in addition, there may be other methods for setting the threshold value for the preset number of times, but in this embodiment, no exhaustion is performed.
  • the first processing unit 52 selects a second target network device from at least one target network device when the connection to the first target network device fails and the common timer does not expire, and sends the second target network device to the second target through the first communication unit 51 A network device initiates a connection;
  • the second target network device configured in the handover command is acquired, and a connection is initiated to the second target network device through the first communication unit 51.
  • the method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from the at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
  • the selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set.
  • the network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
  • the second target network device In the process of reselecting the second target network device from at least one network device each time, it is not necessary to maintain a connection with the source network device; and each time the switch command is reacquired, the second target network device based on the configuration of the switch command is re- In the process of initiating the connection, the connection to the source network device may be returned every time the connection fails.
  • the second target network device can be used as the first target network device again, and the operations in this scenario can be continued. Furthermore, when the new first target network device fails to connect When re-selecting a new second target network device again, the process is cyclically performed until the public timer stops, and when the target network device that can be connected is still not selected, it can be confirmed that the handover fails and returns to the source network device. Connect, or, initiate connection re-establishment.
  • the terminal device has at least two target network devices, and each target network device corresponds to a timer.
  • At least two timers for at least two target network devices configured by the receiving source network device may have the same or different timer durations. It is determined by each target network device, which is not limited in this embodiment.
  • the source network device may directly send a timer to the terminal device in a handover command; or, the source network device may forward the reconfiguration message of at least two target network devices to the terminal device.
  • the first processing unit 52 when receiving the handover command, starts a first timer for the first target network device, and initiates a connection to the first target network device through the first communication unit 51.
  • the first timer is stopped.
  • the terminal device fails to switch to the first target network device.
  • the first processing unit 52 When it is determined that the handover of the terminal device to the first target network device fails, the first processing unit 52,
  • connection of the first target network device fails, selecting a second target network device from at least one target network device to initiate a connection, and starting a timer of the second target network device;
  • the second target network device configured in the handover command is acquired, a connection is initiated to the second target network device, and a timer of the second target network device is started.
  • the method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
  • the selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set.
  • the network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
  • the second target network device selected this time may be used as the new first target network device. Accordingly, the second timer is used as the new first target network device.
  • the first timer of the switch performs connection control; that is, when the new first target network device does not connect successfully when the first timer expires, a new second target network device is selected again and the new The second timer corresponding to the second target network device is processed cyclically.
  • the manner of ending the above-mentioned cyclic processing may be that the first processing unit 52 determines whether the number of times of reselecting a new target network device exceeds a preset selection threshold, and if it exceeds, determines that the handover fails; or It can be judged whether the number of times of restarting the new timer exceeds a preset number of times threshold, and if it exceeds, it is determined that the handover fails.
  • the method of determining the preset selection threshold and the preset number of times refer to the description in the scenario 1, which is not repeated here.
  • the first target network device or the second target network device can use the above description to determine whether the handover is successful; and when the handover fails, they can return to the source network device or re-connect to the new The second target network device initiates connection reconstruction.
  • the new second target network device is different from the second target network device that failed in the handover.
  • the terminal device is provided with at least two target network devices, each target network device corresponds to a timer, and all target network devices share a common timer.
  • the timing duration of the timers corresponding to different target network devices may be the same or different; the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all timers; or, The timing duration of the common timer may also be the sum of the timing durations of all the timers; of course, the timing duration of the common timer may be greater than the sum of the timing durations of all the timers.
  • the duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
  • At least two timers corresponding to the at least two target network devices can be obtained from the reconfiguration message forwarded by the source base station; or the source network device directly sets at least two timers in the handover command to send to the terminal device.
  • the first processing unit 52 When receiving the handover command, the first processing unit 52 starts a first timer of the first target network device and starts a common timer, and initiates a connection to the first target network device through the first communication unit 51.
  • the first timer is stopped. If the first timer times out and / or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.
  • the first processing unit 52 After the initiating the connection to the first target network device, the first processing unit 52,
  • the second target network device is selected from at least one target network device and sent to the second The target network device initiates a connection and starts a timer of the second target network device;
  • the second target network device is acquired based on the handover command, and initiated to the second target network device Connect and start the timer of the second target network device.
  • the method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
  • the selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set.
  • the network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
  • the second target network device selected this time may be used as the new first target network device. Accordingly, the second timer is used as the new first target network device.
  • the first timer of the switch performs connection control; that is, when the new first target network device does not connect successfully when the first timer expires, a new second target network device is selected again and the new The second timer corresponding to the second target network device is processed cyclically.
  • the above-mentioned loop processing may be ended in a manner that, when the common timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated.
  • the terminal device in this embodiment may also retain the connection with the source network device; Wherein, the terminal device retains the first protocol stack and the first related key with the source network device, and maintains the second protocol stack and the second related key with the first target network device;
  • the first related key is different from the second related key.
  • the second correlation key may be generated from the first correlation key.
  • the first protocol stack and the second protocol stack may be the same or different, or at least partially different.
  • it may be a terminal device and a source network device, and a terminal device and a first target network device. Maintain different service data application protocols (SDAP, Service Data Adaptation Protocol), different packet data convergence protocols (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different Media access control (MAC) entities, different low-layer entities; when targeting 4G systems, different packet data aggregations can be maintained for terminal equipment and source network equipment, and between terminal equipment and first target network equipment Protocol (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different media access control (MAC) entities, different low layer (Low layer) entities.
  • SDAP Service Data Adaptation Protocol
  • PDCP Packet Data Convergence Protocol
  • RLC Radio Link Control
  • MAC Media access control
  • the PDCP of the first protocol stack and the second protocol stack must be different. At least one of SDAP, RLC, MAC, and physical layer may be the same or different. Alternatively, the first protocol stack and the second protocol stack may share at least one of SDAP, RLC, MAC, and physical layer, or may have SDAP, RLC, MAC, and physical layer, respectively.
  • the first target network device and the second target network device in this embodiment are target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary nodes SN, and the The source network device is the master node MN.
  • the SN is called SCG
  • the new radio (NR) is SN, which refers to the same concept, that is, the second service network device in the DC scenario.
  • the applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect to the target network device; the terminal source network device disconnects and successfully connects with the target network device; the auxiliary cell group (SCG) connection fails, and the SCG changes Connection failed.
  • LTE long-term evolution
  • NR new radio
  • At least one timer and / or common timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, based on the corresponding timer and / Or the common timer controls the switching process, thereby ensuring the processing efficiency of re-establishing a connection with the target network device.
  • An embodiment of the present invention provides a source network device, as shown in FIG. 6, including:
  • the second communication unit 61 configures the terminal device with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least longer than the timer for at least one target network device Maximum duration.
  • the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all the timers; or the timing duration of the common timer may also be the sum of the timing durations of all the timers; of course The timing duration of the common timer may also be greater than the sum of the timing durations of all the timers.
  • the duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
  • the second communication unit 61 carries at least one timer for at least one target network device and / or a common timer in the handover command, and sends the handover command to the terminal device.
  • At least one timer of at least one target network device of the terminal device may be configured by the source network device directly through a switch command, or may be forwarded by the target network device to the terminal device through the source network device.
  • the handover preparation phase includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; after the terminal device performs measurements for multiple network devices or cells, it sends a measurement report to the source network device; the source network device according to the measurement report (Or combined with RRM information) to make a handover decision; the source network device sends a handover request to the target network device to prepare the target network device for handover; the target network device performs handover admission control based on the handover request; when the target network device determines to perform handover, The network device sends a handover request confirmation.
  • the target network device generates RRC information, sends the RRC connection reconfiguration information to the source network device, and the source network device sends the RRC connection reconfiguration information to the terminal device. ; After receiving the RRC connection reconfiguration information, the terminal device performs handover processing according to the connection reconfiguration information; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then receives the target network device for UL Allocate and send RRC connection reconfiguration completion information to the target network device.
  • the target network device sends a path switching request to the MME to notify the MME terminal device to change the cell; the MME sends a bearer adjustment request to the serving gateway, and the MME performs the downlink path switching process.
  • the serving gateway finishes processing, it sends a bearer adjustment completion process to the MME, and the MME sends a confirmation message of the path switching request to the target network device; the target network device notifies the source network device of the terminal device context release and the source network device releases the resources.
  • the source network device when the terminal device has a target network device, can send a timer directly through a switch command, or send a timer by forwarding a reconfiguration message, that is, a timer for the target network device. ;
  • the source network device can directly configure at least two timers and / or public timers by switching instructions, or can configure the terminal device at least by forwarding reconfiguration messages Two timers, and / or, a common timer.
  • a message may be sent to a terminal device for a timer and / or a common timer corresponding to each target network device; or, a timer and / Or the common timer is added to the same message, and then only one message is sent to the terminal device.
  • the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, optional It also includes information such as the random access preamble, the system information block (SIB) of the second target network device.
  • SIB system information block
  • the source network device further includes:
  • the second processing unit 62 selects the target network device based on the measurement report corresponding to the at least one network device; or randomly selects the target network device from the at least one network device.
  • selecting the target network device can select at least one target network device for the terminal device when the source network device receives the measurement report of at least one network device from the terminal device; and then pass the relevant information of the at least one target network device through A reconfiguration message or a switch command is sent to the terminal device; it should be noted that when sending at least one target network device, at least one timer corresponding to the at least one target network device and / or a common timer need to be added.
  • the source network device selects the second target network device for the terminal device from the at least one target network device, and selects the target network device.
  • the second target network device is sent to the terminal device through a reconfiguration message or a handover command. It should be noted that when sending the second target network device, a second timer corresponding to the second target network device needs to be added.
  • the first target network device and the second target network device in this embodiment are target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary nodes SN, and the The source network device is the master node MN.
  • the SN is called SCG
  • the new radio (NR) is SN, which refers to the same concept, that is, the second service network device in the DC scenario.
  • the applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect to the target network device; the terminal source network device disconnects and successfully connects with the target network device; the auxiliary cell group (SCG) connection fails, and the SCG changes Connection failed.
  • LTE long-term evolution
  • NR new radio
  • At least one timer and / or common timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, based on the corresponding timer and / Or the common timer controls the switching process, thereby ensuring the processing efficiency of re-establishing a connection with the target network device.
  • FIG. 7 is a schematic structural diagram of a communication device 700 according to an embodiment of the present application.
  • the communication device may be the terminal device or the network device described in this embodiment.
  • the communication device 700 shown in FIG. 7 includes a processor 710, and the processor 710 may call and run a computer program from a memory to implement the method in the embodiment of the present application.
  • the communication device 700 may further include a memory 720.
  • the processor 710 may call and run a computer program from the memory 720 to implement the method in the embodiment of the present application.
  • the memory 720 may be a separate device independent of the processor 710, or may be integrated in the processor 710.
  • the communication device 700 may further include a transceiver 730, and the processor 710 may control the transceiver 730 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other information. Information or data sent by the device.
  • the transceiver 730 may include a transmitter and a receiver.
  • the transceiver 730 may further include antennas, and the number of antennas may be one or more.
  • the communication device 700 may specifically be a network device according to an embodiment of the present application, and the communication device 700 may implement a corresponding process implemented by a network device in each method of the embodiments of the present application. For brevity, details are not described herein again. .
  • the communication device 700 may specifically be a terminal device or a network device in the embodiment of the present application, and the communication device 700 may implement the corresponding process implemented by the mobile terminal / terminal device in each method in the embodiments of the present application. Concise, I won't repeat them here.
  • FIG. 8 is a schematic structural diagram of a chip according to an embodiment of the present application.
  • the chip 800 shown in FIG. 8 includes a processor 810, and the processor 810 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
  • the chip 800 may further include a memory 820.
  • the processor 810 may call and run a computer program from the memory 820 to implement the method in the embodiment of the present application.
  • the memory 820 may be a separate device independent of the processor 810, or may be integrated in the processor 810.
  • the chip 800 may further include an input interface 830.
  • the processor 810 may control the input interface 830 to communicate with other devices or chips. Specifically, the processor 810 may obtain information or data sent by other devices or chips.
  • the chip 800 may further include an output interface 840.
  • the processor 810 may control the output interface 840 to communicate with other devices or chips. Specifically, the processor 810 may output information or data to the other devices or chips.
  • the chip may be applied to the network device in the embodiment of the present application, and the chip may implement the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the chip may be applied to the network device in the embodiment of the present application, and the chip may implement the corresponding process implemented by the network device in each method of the embodiment of the present application.
  • the chip may be applied to the terminal device in the embodiment of the present application, and the chip may implement the corresponding process implemented by the terminal device in each method of the embodiment of the present application.
  • the chip may implement the corresponding process implemented by the terminal device in each method of the embodiment of the present application.
  • the chip mentioned in the embodiments of the present application may also be referred to as a system-level chip, a system chip, a chip system or a system-on-chip.
  • FIG. 9 is a schematic block diagram of a communication system 900 according to an embodiment of the present application.
  • the communication system 900 includes a terminal device 910 and a network device 920.
  • the terminal device 910 may be used to implement the corresponding functions implemented by the terminal device in the foregoing method
  • the network device 920 may be used to implement the corresponding functions implemented by the network device in the foregoing method.
  • details are not described herein again. .
  • the processor in the embodiment of the present application may be an integrated circuit chip and has a signal processing capability.
  • each step of the foregoing method embodiment may be completed by using an integrated logic circuit of hardware in a processor or an instruction in a form of software.
  • the above processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (Field, Programmable Gate Array, FPGA), or other Programming logic devices, discrete gate or transistor logic devices, discrete hardware components.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • Various methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed.
  • a general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
  • the steps of the method disclosed in combination with the embodiments of the present application may be directly implemented by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like.
  • the storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the foregoing method in combination with its hardware.
  • the memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory.
  • the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), and an electronic memory. Erase programmable read-only memory (EPROM, EEPROM) or flash memory.
  • the volatile memory may be Random Access Memory (RAM), which is used as an external cache.
  • RAM Static Random Access Memory
  • DRAM Dynamic Random Access Memory
  • Synchronous Dynamic Random Access Memory Synchronous Dynamic Random Access Memory
  • SDRAM double data rate synchronous dynamic random access memory
  • Double SDRAM, DDR SDRAM enhanced synchronous dynamic random access memory
  • Enhanced SDRAM, ESDRAM synchronous connection dynamic random access memory
  • Synchronous DRAM Synchronous Dynamic Random Access Memory
  • Enhanced SDRAM Enhanced SDRAM, ESDRAM
  • synchronous connection dynamic random access memory Synchrobus RAM, SLDRAM
  • Direct Rambus RAM Direct Rambus RAM
  • the memory in the embodiment of the present application may also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (Double SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct RAMbus RAM, DR RAM) and so on. That is, the memories in the embodiments of the present application are intended to include, but not limited to, these and any other suitable types of memories.
  • An embodiment of the present application further provides a computer-readable storage medium for storing a computer program.
  • the computer-readable storage medium can be applied to the network device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the network device in each method in the embodiment of the present application. No longer.
  • the computer-readable storage medium can be applied to the terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the mobile terminal / terminal device in each method of the embodiment of the present application, for the sake of brevity , Will not repeat them here.
  • An embodiment of the present application further provides a computer program product, including computer program instructions.
  • the computer program product can be applied to the network device in the embodiment of the present application, and the computer program instruction causes the computer to execute a corresponding process implemented by the network device in each method in the embodiment of the present application. More details.
  • the computer program product can be applied to a mobile terminal / terminal device in the embodiments of the present application, and the computer program instructions cause the computer to execute a corresponding process implemented by the mobile terminal / terminal device in each method in the embodiments of the present application, For brevity, I will not repeat them here.
  • the embodiment of the present application also provides a computer program.
  • the computer program may be applied to a network device in the embodiment of the present application.
  • the computer program When the computer program is run on a computer, the computer is caused to execute a corresponding process implemented by the network device in each method in the embodiment of the present application. , Will not repeat them here.
  • the computer program may be applied to a mobile terminal / terminal device in the embodiment of the present application.
  • the computer program When the computer program is run on a computer, the computer executes each method in the embodiment of the application by the mobile terminal / terminal device. The corresponding processes are not repeated here for brevity.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of this application is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory) ROM, random access memory (Random Access Memory, RAM), magnetic disks or optical disks and other media that can store program codes .

Abstract

Disclosed in the present invention is a handover timing method, a terminal device, a network device, a chip, a computer readable storage medium, a computer program product and a computer program, the method comprising: receiving at least one timer for at least one target network device and/or a shared timer, wherein the duration of the shared timer is at least longer than the maximum duration of the timer for the at least one target network device.

Description

一种切换定时方法、终端设备及网络设备Switching timing method, terminal equipment and network equipment 技术领域Technical field
本发明涉及信息处理技术领域,尤其涉及一种切换定时方法、终端设备、网络设备、芯片、计算机可读存储介质、计算机程序产品以及计算机程序。The present invention relates to the field of information processing technology, and in particular, to a switching timing method, a terminal device, a network device, a chip, a computer-readable storage medium, a computer program product, and a computer program.
背景技术Background technique
在移动通信处理中,切换过程中可能会切换失败,通常切换失败的原因为T304超时;T307超时;T312超时等等,在切换失败之后终端设备需要发起无线资源控制(RRC,Radio Resource Control)连接重建立。In mobile communication processing, the handover may fail during the handover process. Usually the reasons for the handover failure are T304 timeout; T307 timeout; T312 timeout, etc. After the handover fails, the terminal device needs to initiate a radio resource control (RRC, Radio Resource Control) connection Re-established.
针对终端设备进行切换的流程,可能会出现为终端设备配置多个目标基站的方式,从而使得终端设备在进行切换的时候,可以尽快选取目标基站以保证终端设备快速的完成切换处理。但是,这样的处理方式中,如何对终端设备的连接进行控制是需要解决的问题。For the handover process of the terminal device, there may be a way to configure multiple target base stations for the terminal device, so that when the terminal device performs the handover, the target base station can be selected as soon as possible to ensure that the terminal device completes the handover process quickly. However, in such a processing method, how to control the connection of the terminal device is a problem to be solved.
发明内容Summary of the Invention
为解决上述技术问题,本发明实施例提供了一种切换定时方法、终端设备、网络设备、芯片、计算机可读存储介质、计算机程序产品以及计算机程序。To solve the above technical problems, embodiments of the present invention provide a switching timing method, a terminal device, a network device, a chip, a computer-readable storage medium, a computer program product, and a computer program.
第一方面,本发明实施例提供了一种切换定时方法,应用于终端设备,包括:In a first aspect, an embodiment of the present invention provides a handover timing method, which is applied to a terminal device and includes:
接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。Receive at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device.
第二方面,本发明实施例提供了一种切换定时方法,应用于源网络设备,包括:In a second aspect, an embodiment of the present invention provides a switching timing method, which is applied to a source network device and includes:
向终端设备配置针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。The terminal device is configured with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device.
第三方面,本发明实施例提供了一种终端设备,包括:According to a third aspect, an embodiment of the present invention provides a terminal device, including:
第一通信单元,接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。The first communication unit receives at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device.
第四方面,本发明实施例提供了一种源网络设备,包括:In a fourth aspect, an embodiment of the present invention provides a source network device, including:
第二通信单元,向终端设备配置针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。The second communication unit configures the terminal device with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least longer than that of the timer for at least one target network device. Maximum duration.
第五方面,本发明实施例提供了一种终端设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第一方面或其各实现方式中的方法。In a fifth aspect, an embodiment of the present invention provides a terminal device, including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, and execute the method in the above-mentioned first aspect or its implementations.
第六方面,提供了一种网络设备,包括处理器和存储器。该存储器用于存储计算机程序,该处理器用于调用并运行该存储器中存储的计算机程序,执行上述第二方面或其各实现方式中的方法。According to a sixth aspect, a network device is provided, including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method in the second aspect or the implementations thereof.
第七方面,提供了一种芯片,用于实现上述第一方面至第二方面中的任一方面或其各实现方式中的方法。In a seventh aspect, a chip is provided for implementing any one of the first to second aspects or a method in each implementation thereof.
具体地,该芯片包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有该芯片的设备执行如上述第一方面至第二方面中的任一方面或其各实现方式中的方法。Specifically, the chip includes a processor for invoking and running a computer program from a memory, so that a device installed with the chip executes any one of the first aspect to the second aspect described above or implementations thereof. method.
第八方面,提供了一种计算机可读存储介质,用于存储计算机程序,该计算机程序使得计算机执行上述第一方面至第二方面中的任一方面或其各实现方式中的方法。According to an eighth aspect, a computer-readable storage medium is provided for storing a computer program that causes a computer to execute the method in any one of the first to second aspects described above or in its implementations.
第九方面,提供了一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行上述第一方面至第二方面中的任一方面或其各实现方式中的方法。In a ninth aspect, a computer program product is provided, including computer program instructions that cause a computer to execute the method in any one of the first to second aspects described above or in various implementations thereof.
第十方面,提供了一种计算机程序,当其在计算机上运行时,使得计算机执行上述第一方面至第二方面中的任一方面或其各实现方式中的方法。In a tenth aspect, a computer program is provided that, when run on a computer, causes the computer to execute the method in any one of the first to second aspects described above or in its implementations.
本发明实施例的技术方案,终端设备在进行切换的阶段,能够配置至少一个目标网络设备所对应的至少一个定时器、和/或公共定时器;使得终端设备在配置了至少一个目标网络设备的时候,基于对应的定时器和/或公共定时器控制切换处理,从而能够保证重新与目标网络设备建立连接的处理效率。In the technical solution of the embodiment of the present invention, a terminal device can configure at least one timer corresponding to at least one target network device and / or a common timer during a handover stage; so that the terminal device is configured with at least one target network device. At this time, switching processing is controlled based on a corresponding timer and / or a common timer, so as to ensure processing efficiency of re-establishing a connection with a target network device.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1是本申请实施例提供的一种通信系统架构的示意性图一;FIG. 1 is a schematic diagram 1 of a communication system architecture according to an embodiment of the present application; FIG.
图2是本申请实施例提供的一种切换定时方法流程示意图一;FIG. 2 is a first schematic flowchart of a handover timing method according to an embodiment of the present application; FIG.
图3为本发明实施例提供的一种切换处理场景示意图;3 is a schematic diagram of a handover processing scenario according to an embodiment of the present invention;
图4是本申请实施例提供的一种切换定时方法流程示意图二;4 is a second schematic flowchart of a handover timing method according to an embodiment of the present application;
图5是本申请实施例提供的一种终端设备组成结构示意图;5 is a schematic structural diagram of a terminal device according to an embodiment of the present application;
图6为本发明实施例提供的一种网络设备组成结构示意图;6 is a schematic structural diagram of a network device according to an embodiment of the present invention;
图7为本发明实施例提供的一种通信设备组成结构示意图;7 is a schematic structural diagram of a communication device according to an embodiment of the present invention;
图8是本申请实施例提供的一种芯片的示意性框图。FIG. 8 is a schematic block diagram of a chip according to an embodiment of the present application.
图9是本申请实施例提供的一种通信系统架构的示意性图二。FIG. 9 is a schematic diagram 2 of a communication system architecture provided by an embodiment of the present application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by a person of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(General Packet Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Freq终端设备ncy Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)、通用移动通信系统(Universal Mobile Telecommunication System,UMTS)、全球互联微波接入(Worldwide Interoperability for Microwave Access,WiMAX)通信系统或5G系统等。The technical solutions of the embodiments of the present application can be applied to various communication systems, for example, a Global System for Mobile (GSM) system, a Code Division Multiple Access (CDMA) system, and a Wideband Code Division Multiple Access (Wideband Code Division Multiple Access) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (Freq Terminal Division Duplex, FDD) System, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Global Interoperability for Microwave Access (WiMAX) communication system or 5G system, etc.
示例性的,本申请实施例应用的通信系统100可以如图1所示。该通信系统100可以包括网络设备110,网络设备110可以是与终端设备120(或称为通信终端、终端)通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备进行通信。可选地,该网络设备110可以是GSM系统或CDMA系统中的网络设备(Base Transceiver Station,BTS),也可以是WCDMA系统中的网络设备(NodeB,NB),还可以是LTE系统中的演进型网络设备(Evolutional Node B,eNB或eNodeB),或者是云无线接入网络(Cloud Radio Access Network,CRAN)中的无线控制器,或者该网络设备可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的网络设备等。Exemplarily, the communication system 100 applied in the embodiment of the present application may be shown in FIG. 1. The communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal device 120 (or a communication terminal or a terminal). The network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminal devices located within the coverage area. Optionally, the network device 110 may be a network device (Base Transceiver Station, BTS) in a GSM system or a CDMA system, or a network device (NodeB, NB) in a WCDMA system, or may be an evolution in an LTE system. Type network equipment (Evolutional NodeB, eNB or eNodeB), or a wireless controller in a Cloud Radio Access Network (CRAN), or the network equipment may be a mobile switching center, relay station, access point, Vehicle-mounted devices, wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks, or network devices in public land mobile networks (PLMN) that will evolve in the future.
该通信系统100还包括位于网络设备110覆盖范围内的至少一个终端设备120。作为在此使用的“终端设备”包括但不限于经由有线线路连接,如经由公共交换电话网络(Public Switched Telephone Networks,PSTN)、数字用户线路(Digital Subscriber Line,DSL)、数字电缆、直接电缆连接;和/或另一数据连接/网络;和/或经由无线接口,如,针对蜂窝网络、无线局域网(Wireless Local Area Network,WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器;和/或另一终端设备的被设置成接收/发送通信信号的装置;和/或物联网(Internet of Things,IoT)设备。被设置成通过无线接口通信的终端设备可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(Personal Communications System,PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(Global Positioning System,GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。终端设备可以指接入终端、用户设备(User Equipment,终端设备)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端设备或者未来演进的PLMN中的终端设备等。The communication system 100 further includes at least one terminal device 120 located within a coverage area of the network device 110. As the "terminal equipment" used herein includes, but is not limited to, connection via wired lines, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Line (DSL), digital cable, direct cable connection ; And / or another data connection / network; and / or via a wireless interface, such as for cellular networks, Wireless Local Area Networks (WLAN), digital television networks such as DVB-H networks, satellite networks, AM- FM broadcast transmitter; and / or another terminal device configured to receive / transmit communication signals; and / or Internet of Things (IoT) devices. A terminal device configured to communicate through a wireless interface may be referred to as a “wireless communication terminal”, a “wireless terminal”, or a “mobile terminal”. Examples of mobile terminals include, but are not limited to, satellite or cellular phones; personal communications systems (PCS) terminals that can combine cellular radiotelephones with data processing, facsimile, and data communications capabilities; can include radiotelephones, pagers, Internet / internal PDA with network access, web browser, notepad, calendar, and / or Global Positioning System (GPS) receiver; and conventional laptop and / or palm-type receivers or others including radiotelephone transceivers Electronic device. A terminal device can refer to an access terminal, user equipment (terminal equipment), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent Or user device. The access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Processing (PDA), and wireless communication. Functional handheld devices, computing devices or other processing devices connected to wireless modems, vehicle-mounted devices, wearable devices, terminal devices in 5G networks, or terminal devices in future evolved PLMNs, etc.
可选地,终端设备120之间可以进行终端直连(Device to Device,D2D)通信。Optionally, terminal devices 120 may perform terminal direct device (D2D) communication.
可选地,5G系统或5G网络还可以称为新无线(New Radio,NR)系统或NR网络。Optionally, the 5G system or the 5G network may also be referred to as a New Radio (NR) system or an NR network.
图1示例性地示出了一个网络设备和两个终端设备,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。FIG. 1 exemplarily shows one network device and two terminal devices. Optionally, the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. The embodiment does not limit this.
可选地,该通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。Optionally, the communication system 100 may further include other network entities such as a network controller, a mobility management entity, and the like in this embodiment of the present application is not limited thereto.
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图1示出的通信系统100为例,通信设备可包括具有通信功能的网络设备110和终端设备120,网络设备110和终端设备120可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统100中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。It should be understood that the device having a communication function in the network / system in the embodiments of the present application may be referred to as a communication device. Taking the communication system 100 shown in FIG. 1 as an example, the communication device may include a network device 110 and a terminal device 120 having a communication function, and the network device 110 and the terminal device 120 may be specific devices described above, and are not described herein again The communication device may also include other devices in the communication system 100, such as other network entities such as a network controller, a mobile management entity, and the like, which is not limited in the embodiments of the present application.
应理解,本文中术语“系统”和“网络”在本文中常被可互换使用。本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A, 同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and / or" in this document is only an association relationship describing related objects, which means that there can be three kinds of relationships, for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and they exist alone B these three cases. In addition, the character "/" in this article generally indicates that the related objects are an "or" relationship.
为了能够更加详尽地了解本发明实施例的特点与技术内容,下面结合附图对本发明实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本发明实施例。In order to understand the features and technical contents of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference only and are not intended to limit the embodiments of the present invention.
实施例一、Example one,
本发明实施例提供了一种切换定时方法,应用于终端设备,如图2所示,包括:An embodiment of the present invention provides a switching timing method, which is applied to a terminal device. As shown in FIG. 2, the method includes:
步骤201:接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;Step 201: Receive at least one timer for at least one target network device, and / or a common timer;
其中,所述至少一个目标网络设备对应的所述至少一个定时器中,不同的定时器的定时时长可以相同也可以不同;Wherein, among the at least one timer corresponding to the at least one target network device, the timing duration of different timers may be the same or different;
另外,所述公共定时器的定时时长可以为大于全部定时器中定时时长最大的定时器的定时时长;或者,所述公共定时器的定时时长,还可以为全部定时器的定时时长总和;当然,所述公共定时器的定时时长,还可以大于全部定时器的定时时长总和。至少一个定时器以及公共定时器的时长均可以根据实际情况进行设置,这里不进行穷举。In addition, the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all the timers; or the timing duration of the common timer may also be the sum of the timing durations of all the timers; of course The timing duration of the common timer may also be greater than the sum of the timing durations of all the timers. The duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
进一步地,当接收到至少一个定时器和/或公共定时器之后,本实施例提供的方案中,还可以包括:向目标网络设备发起连接时,基于所述至少一个定时器、和/或、公共定时器进行处理。Further, after receiving at least one timer and / or a common timer, the solution provided in this embodiment may further include: when initiating a connection to a target network device, based on the at least one timer, and / or, The common timer does the processing.
所述接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器,包括:The receiving at least one timer for at least one target network device and / or a common timer includes:
接收切换命令,通过所述切换命令获取针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器。Receive a handover command, and obtain at least one timer for at least one target network device and / or a common timer through the handover command.
终端设备的至少一个目标网络设备的至少一个定时器,和/或,至少一个目标网络设备对应的一个公共定时器,可以由源网络设备直接配置,或者,还可以由目标网络设备通过源网络设备向终端设备转发得到。At least one timer of at least one target network device of the terminal device, and / or, a common timer corresponding to at least one target network device may be directly configured by the source network device, or the target network device may also pass the source network device. Forwarded to the terminal device.
关于切换的处理流程可以参见图3所示,包括:Refer to Figure 3 for the processing flow of handover, including:
切换准备阶段,包含图中步骤1-6:源网络设备向终端设备发送测量控制;终端设备进行针对多个网络设备或小区的测量之后,向源网络设备发送测量报告;源网络设备根据测量报告(或者结合RRM信息)进行切换决策;源网络设备向目标网络设备发送切换请求以使得目标网络设备准备进行切换;目标网络设备根据切换请求进行切换许可控制;目标网络设备确定进行切换时,向源网络设备发送切换请求确认。The handover preparation phase includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; after the terminal device performs measurements for multiple network devices or cells, it sends a measurement report to the source network device; the source network device according to the measurement report (Or combined with RRM information) to make a handover decision; the source network device sends a handover request to the target network device to prepare the target network device for handover; the target network device performs handover admission control based on the handover request; when the target network device determines to perform handover, The network device sends a handover request confirmation.
然后进行执行切换阶段,包含图中步骤7-11,具体的:目标网络设备生成RRC信息,将RRC连接重配置信息发送至源网络设备,由源网络设备通过RRC连接重配置信息发送至终端设备;终端设备接收到RRC连接重配置信息后,根据连接重配置信息执行切换处理;然后源网络设备发送SN状态传输至目标网络设备;终端设备与目标网络设备进行同步,然后接收目标网络设备进行UL分配,向目标网络设备发送RRC连接重配置完成信息。Then perform the handover phase, which includes steps 7-11 in the figure. Specifically: the target network device generates RRC information, sends the RRC connection reconfiguration information to the source network device, and the source network device sends the RRC connection reconfiguration information to the terminal device. ; After receiving the RRC connection reconfiguration information, the terminal device performs handover processing according to the connection reconfiguration information; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then receives the target network device for UL Allocate and send RRC connection reconfiguration completion information to the target network device.
最后进入切换完成阶段,包含图中12-18,具体的:目标网络设备向MME发送路径切换请求,以通知MME终端设备改变小区;MME向服务网关发送调整承载请求,由MME进行切换下行路径处理;服务网关完成处理后,向MME发送承载调整完成处理,并由MME向目标网络设备发送路径切换请求的确认消息;目标网络设备向源网络设备通知终端设备上下文释放由源网络设备释放资源。Finally, it enters the handover completion stage, including 12-18 in the figure. Specifically: the target network device sends a path switching request to the MME to notify the MME terminal device to change the cell; the MME sends a bearer adjustment request to the serving gateway, and the MME performs the downlink path switching process. After the serving gateway finishes processing, it sends a bearer adjustment completion process to the MME, and the MME sends a confirmation message of the path switching request to the target network device; the target network device notifies the source network device of the terminal device context release and the source network device releases the resources.
结合本实施例,当终端设备具备一个目标网络设备的时候,源网络设备可以通过切换命令直接发送定时器,或者通过转发的重配消息发送一个定时器,也就是针对该目标网络设备的一个定时器;当终端设备具备至少两个目标网络设备的时候,源网络设备可以直接通过切换指令配置至少两个定时器,和/或,公共定时器,或者,可以通过转发重配消息为终端设备配置至少两个定时器,和/或,公共定时器。In combination with this embodiment, when the terminal device has a target network device, the source network device may directly send a timer through a switch command, or send a timer through a reconfiguration message forwarded, that is, a timing for the target network device. When the terminal device has at least two target network devices, the source network device can directly configure at least two timers and / or public timers by switching instructions, or it can configure the terminal devices by forwarding reconfiguration messages At least two timers, and / or, common timers.
其中,可以针对每一个目标网络设备所对应的定时器和/或公共定时器均发送一个消息至终端设备;或者,可以为将全部目标网络设备的每一个目标网络设备所对应的定时器和/或公共定时器添加到同一个消息,然后仅向终端设备发送一条消息即可。A message may be sent to a terminal device for a timer and / or a common timer corresponding to each target network device; or, a timer and / Or the common timer is added to the same message, and then only one message is sent to the terminal device.
需要理解的是,重配消息中除了前述的定时器和/或公共定时器之外,还可以包括:移动控制信息、新的C-RNTI、第二目标网络设备的安全信息;另外,可选的还包括随机接入前导,第二目标网络设备的系统信息块(SIB)等信息。It should be understood that, in addition to the foregoing timers and / or common timers, the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, optional It also includes information such as the random access preamble, the system information block (SIB) of the second target network device.
具体的,本实施例可以应用于以下多种场景:Specifically, this embodiment can be applied to the following multiple scenarios:
场景一、终端设备可以具备至少两个目标网络设备,全部的目标网络设备对应一个公共定时器。Scenario 1: A terminal device may have at least two target network devices, and all target network devices correspond to a common timer.
需要理解的是,本场景中,可以分别针对至少两个目标网络设备发送定时器,也就是说分别发 送至少两个目标网络设备的定时器,每一个定时器相同均可以为公共定时器;或者,也可以仅发送一个公共定时器,并配置该公共定时器可以应用于全部的目标网络设备。It should be understood that, in this scenario, timers can be sent for at least two target network devices, that is, timers for at least two target network devices are sent separately, and each timer can be a common timer; or It is also possible to send only one common timer and configure that the common timer can be applied to all target network devices.
本场景中,可以通过切换命令中获取公共定时器,或者,可以从转发的重配消息中获取所述公共定时器。In this scenario, the common timer may be obtained through a switching command, or the common timer may be obtained from a reconfiguration message that is forwarded.
所述基于所述至少一个定时器、和/或、公共定时器,向目标网络设备发起连接,包括:The initiating a connection to a target network device based on the at least one timer and / or a common timer includes:
当接收到切换命令时,启动公共定时器,向第一目标网络设备发起连接。When a handover command is received, a common timer is started to initiate a connection to the first target network device.
或者,所述基于所述至少一个定时器、和/或、公共定时器,向目标网络设备发起连接,还包括:Alternatively, the initiating a connection to a target network device based on the at least one timer and / or a common timer further includes:
若接收到的切换命令(HO command)里携带包含有至少两个目标网络设备的重配消息,则可以在终端设备选取当前所要接入的第一目标网络设备的时候,启动公共定时器。If the received handover command (HO command) carries a reconfiguration message containing at least two target network devices, a common timer may be started when the terminal device selects the first target network device to be currently accessed.
本场景下还可以针对多个网络设备使用同一个公共定时器的具体处理方法,提供以下多个子场景:In this scenario, you can also use the same common timer for multiple network devices, and provide the following sub-scenarios:
子场景一、Sub-scene one,
每次与目标网络设备连接失败、连接第二目标网络设备的时候,重启公共定时器,具体的:Every time the connection to the target network device fails and the second target network device is connected, the public timer is restarted, specifically:
若在定时器的计时时长内,向第一目标网络设备发起连接成功,则停止所述公共定时器。If the connection is successfully initiated to the first target network device within the duration of the timer, the common timer is stopped.
若公共定时器超时、和/或、与第一目标网络设备连接失败,则确定终端设备向第一目标网络设备切换失败。If the common timer times out and / or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.
在确定终端设备向第一目标网络设备切换失败的时候,所述方法还包括:When it is determined that the handover of the terminal device to the first target network device fails, the method further includes:
当连接第一目标网络设备失败、或者当公共定时器停止且连接所述第一目标网络设备不成功时,确定第二目标网络设备,重新启动公共定时器,向所述第二目标网络设备发起连接。When the connection to the first target network device fails, or when the common timer stops and the first target network device fails to connect, determine the second target network device, restart the common timer, and initiate to the second target network device connection.
其中,所述确定第二目标网络设备的方法,可以包括以下之一:The method for determining a second target network device may include one of the following:
重新接受源网络设备发来的切换命令,基于切换命令获取第二目标网络设备;其中,切换命令中包含有网络侧为终端设备重新选取的第二目标网络设备。Re-accept the handover command sent by the source network device, and obtain the second target network device based on the handover command; wherein the handover command includes the second target network device reselected by the network side for the terminal device.
或者,若终端设备接收到的重配消息中携带有至少两个目标网络设备的信息时,从所述至少两个目标网络设备中选取第二目标网络设备。Alternatively, if the reconfiguration message received by the terminal device carries information of at least two target network devices, a second target network device is selected from the at least two target network devices.
其中,所述从所述至少两个目标网络设备中选取第二目标网络设备的方法,可以为随机从至少两个目标网络设备中选取第二目标网络设备,或者,基于至少两个目标网络设备的选取优先级来选取第二目标网络设备。The method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from the at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
所述选取优先级可以为根据实际情况,由网络侧为不同的目标网络设备设置的参数;网络侧可以参考终端设备的测量报告为不同的目标网络设备设置不同的选取优先级。比如,测量报告中的信号测量质量较高的可以设置的选取优先级较高,反之,则可以设置的选取优先级角度;和/或,根据目标网络设备的物理距离来设置,距离当前的源网络设备物理距离较近的选取优先级较高(或较低);当然,实际处理中还能够存在其他的设置方式,本实施例中不进行穷举。The selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set. The network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
需要理解的是,在针对第二目标网络设备进行切换处理的时候,可以采用针对第一目标网络设备的处理方式进行处理,只是这里不再进行赘述。It should be understood that, when performing the handover processing for the second target network device, the processing method for the first target network device may be used for processing, but details are not described herein again.
当所述公共定时器超时,确认切换失败,返回与源网络设备的连接、或者、发起连接重建。具体的,第一目标网络设备或第二目标网络设备,切换失败的时候,均可以返回至源网络设备的连接、或者重新向新的目标网络设备发起连接重建。其中,新的目标网络设备与本次切换失败的目标网络设备不同。When the common timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated. Specifically, when the first target network device or the second target network device fails to switch, both can return to the connection to the source network device or initiate connection reestablishment to the new target network device. Among them, the new target network device is different from the target network device that failed in this handover.
还需要理解的是,当重新向第二目标网络设备发起连接的时候,就可以将第二目标网络设备作为新的第一目标网络设备进行后续操作,也就是说,当新的第一目标网络设备连接成功的时候,可以确定切换成功,如果新的第一目标网络设备连接失败的时候,再次重新选取新的第二目标网络设备,如此循环处理。It should also be understood that when the connection is re-initiated to the second target network device, the second target network device can be used as a new first target network device for subsequent operations, that is, when the new first target network device When the device is successfully connected, it can be determined that the handover is successful. If the connection of the new first target network device fails, the new second target network device is re-selected again, and the process is performed in a loop.
所述确定第二目标网络设备,重新启动公共定时器,向所述第二目标网络设备发起连接时,所述方法还包括:When the second target network device is determined, a common timer is restarted, and a connection is initiated to the second target network device, the method further includes:
判断重新启动所述公共定时器的次数是否超过预设次数门限值,若超过,则确认切换失败,返回与源网络设备的连接、或者、发起连接重建;其中,所述预设次数门限值,可以为根据实际情况进行设置,比如,可以为重启公共定时器超过5次,就确认当前没有合适的目标网络设备进行切换,从而判断切换失败,当然还可以根据目标网络设备的数量来确定预设次数门限值,比如,预设次数门限值可以为目标网络设备的数量的2/3,假设有9个目标网络设备的时候,可以重启公共定时器6次;此外还可以存在其他的预设次数门限值的设定方法,只是本实施例中不再进行穷举。Judging whether the number of restarts of the common timer exceeds a preset number of times threshold; if the number of times of restarting the common timer exceeds a preset number of times, it confirms that the handover fails, returns to the connection with the source network device, or initiates connection reestablishment; The value can be set according to actual conditions. For example, you can restart the public timer more than 5 times to confirm that there is no suitable target network device for the current switchover, so that the switchover fails. Of course, it can also be determined according to the number of target network devices. Preset number threshold, for example, the preset number threshold can be 2/3 of the number of target network devices. Assuming that there are 9 target network devices, the public timer can be restarted 6 times; in addition, there may be other The method for setting the preset number of times threshold is only exhaustive in this embodiment.
或者,or,
判断重新选取目标网络设备的次数是否超过预设选取门限值,若超过,则确认切换失败,返回与源网络设备的连接、或者、发起连接重建。其中,所述预设选取门限值,可以为根据实际情况进行设置,比如,可以为重新选取目标网络设备超过3次,就确认当前没有合适的目标网络设备进行切换,从而判断切换失败;当然还可以根据目标网络设备的数量来确定预设次数门限值,比如,预设选取门限值可以为目标网络设备的数量的2/3,假设有9个目标网络设备的时候,可以重新选取目标网络设备超过6次就确定切换失败;此外还可以存在其他的预设次数门限值的设定方法,只是本实施例中不再进行穷举。It is determined whether the number of times of reselecting the target network device exceeds a preset selection threshold. If the number of times of reselecting the target network device exceeds the preset selection threshold, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated. The preset selection threshold may be set according to the actual situation. For example, it may be determined that there is no suitable target network device for the current switchover to reselect the target network device more than 3 times, thereby determining the switchover failure; of course. You can also determine the threshold for the preset number of times based on the number of target network devices. For example, the preset selection threshold can be 2/3 of the number of target network devices. Assuming that there are 9 target network devices, you can reselect them. The target network device determines that the handover has failed more than 6 times; in addition, there may be other methods for setting the threshold value for the preset number of times, but in this embodiment, no exhaustion is performed.
子场景二、Sub-scene two,
多个网络设备共用一个公共定时器,并且每次连接目标网络设备失败就直接重选目标网络设备,直至公共定时器停止。具体的:Multiple network devices share a common timer, and each time the connection to the target network device fails, the target network device is directly reselected until the common timer stops. specific:
当连接第一目标网络设备失败、且所述公共定时器未超时,从至少一个目标网络设备中选取第二目标网络设备向所述第二目标网络设备发起连接;When the connection to the first target network device fails and the common timer does not expire, selecting a second target network device from at least one target network device to initiate a connection to the second target network device;
或者,or,
当第一目标网络设备连接失败、且所述公共定时器未超时,获取切换命令中配置的第二目标网络设备,向所述第二目标网络设备发起连接。When the connection of the first target network device fails and the common timer does not expire, the second target network device configured in the handover command is acquired, and a connection is initiated to the second target network device.
其中,所述从所述至少两个目标网络设备中选取第二目标网络设备的方法,可以为随机从至少两个目标网络设备中选取第二目标网络设备,或者,基于至少两个目标网络设备的选取优先级来选取第二目标网络设备。The method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from the at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
所述选取优先级可以为根据实际情况,由网络侧为不同的目标网络设备设置的参数;网络侧可以参考终端设备的测量报告为不同的目标网络设备设置不同的选取优先级。比如,测量报告中的信号测量质量较高的可以设置的选取优先级较高,反之,则可以设置的选取优先级角度;和/或,根据目标网络设备的物理距离来设置,距离当前的源网络设备物理距离较近的选取优先级较高(或较低);当然,实际处理中还能够存在其他的设置方式,本实施例中不进行穷举。The selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set. The network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
当每次重新从至少一个网络设备中选取第二目标网络设备的处理中,可以不需要与源网络设备保持连接;而每次重新获取切换命令,基于切换命令的配置的第二目标网络设备重新发起连接的处理中,可以为每次连接失败均返回至源网络设备的连接。In the process of reselecting the second target network device from at least one network device each time, it is not necessary to maintain a connection with the source network device; and each time the switch command is reacquired, the second target network device based on the configuration of the switch command is re- In the process of initiating the connection, the connection to the source network device may be returned every time the connection fails.
需要指出的是,向第二目标网络设备发起连接之后,可以将第二目标网络设备重新作为第一目标网络设备,继续执行本场景中的操作,进而,当新的第一目标网络设备连接失败的时候,再次重新选取新的第二目标网络设备,如此循环处理,直至公共定时器停止的时候,仍未选取到能够连接的目标网络设备的时候,可以确认切换失败,返回与源网络设备的连接、或者、发起连接重建。It should be noted that after the connection is initiated to the second target network device, the second target network device can be used as the first target network device again, and the operations in this scenario can be continued. Furthermore, when the new first target network device fails to connect When re-selecting a new second target network device again, the process is cyclically performed until the public timer stops, and when the target network device that can be connected is still not selected, it can be confirmed that the handover fails and returns to the source network device. Connect, or, initiate connection re-establishment.
场景二、Scene two,
终端设备具备至少两个目标网络设备,每一个目标网络设备对应一个定时器。The terminal device has at least two target network devices, and each target network device corresponds to a timer.
需要理解的是,本场景中,接收源网络设备配置的针对至少两个目标网络设备的至少两个定时器;其中,不同的目标网络设备对应的定时器的计时时长可以相同也可以不同,可以由每一个目标网络设备来确定,本实施例中不做限定。It should be understood that in this scenario, at least two timers for at least two target network devices configured by the receiving source network device; among which, the timers corresponding to different target network devices may have the same or different timer durations. It is determined by each target network device, which is not limited in this embodiment.
本场景中,可以为源网络设备直接在切换命令中携带定时器发送至终端设备;或者,可以为源网络设备将至少两个目标网络设备的重配消息转发给终端设备。In this scenario, the source network device may directly send a timer to the terminal device in a handover command; or, the source network device may forward the reconfiguration message of at least two target network devices to the terminal device.
所述基于所述至少一个定时器、和/或、公共定时器,向目标网络设备发起连接,包括:The initiating a connection to a target network device based on the at least one timer and / or a common timer includes:
当接收到切换命令时,启动针对第一目标网络设备的第一定时器,向第一目标网络设备发起连接。When a handover command is received, a first timer for the first target network device is started, and a connection is initiated to the first target network device.
进一步地,若在第一定时器的计时时长内,向第一目标网络设备发起连接成功,则停止所述第一定时器。Further, if the connection is successfully initiated to the first target network device within the time length of the first timer, the first timer is stopped.
若第一定时器超时、和/或、与第一目标网络设备连接失败,则确定终端设备向第一目标网络设备切换失败。If the first timer times out and / or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.
在确定终端设备向第一目标网络设备切换失败的时候,所述方法还包括:When it is determined that the handover of the terminal device to the first target network device fails, the method further includes:
当第一目标网络设备连接失败时,从至少一个目标网络设备中选取第二目标网络设备发起连接,并启动所述第二目标网络设备的定时器;When the connection of the first target network device fails, selecting a second target network device from at least one target network device to initiate a connection, and starting a timer of the second target network device;
或者,or,
当第一目标网络设备连接失败时,获取切换命令中配置的第二目标网络设备,向所述第二目标网络设备发起连接,并启动所述第二目标网络设备的定时器。When the connection of the first target network device fails, the second target network device configured in the handover command is acquired, a connection is initiated to the second target network device, and a timer of the second target network device is started.
其中,所述从所述至少两个目标网络设备中选取第二目标网络设备的方法,可以为随机中至少 两个目标网络设备中选取第二目标网络设备,或者,基于至少两个目标网络设备的选取优先级来选取第二目标网络设备。The method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
所述选取优先级可以为根据实际情况,由网络侧为不同的目标网络设备设置的参数;网络侧可以参考终端设备的测量报告为不同的目标网络设备设置不同的选取优先级。比如,测量报告中的信号测量质量较高的可以设置的选取优先级较高,反之,则可以设置的选取优先级角度;和/或,根据目标网络设备的物理距离来设置,距离当前的源网络设备物理距离较近的选取优先级较高(或较低);当然,实际处理中还能够存在其他的设置方式,本实施例中不进行穷举。The selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set. The network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
还需要指出的,本场景中,当选取第二目标网络设备发起连接的时候,可以将本次选取的第二目标网络设备作为新的第一目标网络设备,相应的,第二定时器作为新的第一定时器进行切换连接控制;也就是,当新的第一目标网络设备在第一定时器结束的时候,未连接成功,则再次选取新的第二目标网络设备,并启动所述新的第二目标网络设备所对应的第二定时器,如此循环处理。It should also be noted that in this scenario, when the second target network device is selected to initiate the connection, the second target network device selected this time may be used as the new first target network device. Accordingly, the second timer is used as the new first target network device. The first timer of the switch performs connection control; that is, when the new first target network device does not connect successfully when the first timer expires, a new second target network device is selected again and the new The second timer corresponding to the second target network device is processed cyclically.
进一步地,上述循环处理的结束方式,可以为,判断重新选取新的目标网络设备的次数,是否超过预设选取门限值,若超过,则确定切换失败;或者,还可以为判断重新启动新的定时器的次数,是否超过预设次数门限值,若超过则确定切换失败。关于预设选取门限值以及预设次数门限值的确定方式可以参见场景一中的描述,这里不再赘述。Further, the above-mentioned loop processing may be ended by judging whether the number of times of reselecting a new target network device exceeds a preset selection threshold, and if exceeding, determining that the handover fails; or, it may also be judged to restart a new Whether the number of timers of the timer exceeds a preset threshold, and if it exceeds the threshold, it is determined that the handover fails. For the method of determining the preset selection threshold and the preset number of times, refer to the description in the scenario 1, which is not repeated here.
当所述定时器超时,确认切换失败,返回与源网络设备的连接、或者、发起连接重建。具体的,第一目标网络设备或第二目标网络设备,是否切换成功的判断方式均可以采用上述描述;并且,当切换失败的时候,均可以返回至源网络设备的连接、或者重新向新的第二目标网络设备发起连接重建。其中,新的第二目标网络设备与本次切换失败的第二目标网络设备不同。When the timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection re-establishment is initiated. Specifically, the first target network device or the second target network device can use the above description to determine whether the handover is successful; and when the handover fails, they can return to the source network device or re-connect to the new The second target network device initiates connection reconstruction. Wherein, the new second target network device is different from the second target network device that failed in the handover.
场景三、Scene three,
终端设备具备至少两个目标网络设备,每一个目标网络设备对应一个定时器、并且全部的目标网络设备共用一个公共定时器。需要理解的是,不同的目标网络设备对应的定时器的计时时长可以相同也可以不同;所述公共定时器的定时时长可以为大于全部定时器中定时时长最大的定时器的定时时长;或者,所述公共定时器的定时时长,还可以为全部定时器的定时时长总和;当然,所述公共定时器的定时时长,还可以大于全部定时器的定时时长总和。至少一个定时器以及公共定时器的时长均可以根据实际情况进行设置,这里不进行穷举。The terminal device is provided with at least two target network devices, each target network device corresponds to a timer, and all target network devices share a common timer. It should be understood that the timing duration of the timers corresponding to different target network devices may be the same or different; the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all timers; or, The timing duration of the common timer may also be the sum of the timing durations of all the timers; of course, the timing duration of the common timer may be greater than the sum of the timing durations of all the timers. The duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
本场景中,可以通过源基站转发的重配消息中获取所述至少两个目标网络设备对应的至少两个定时器;或者源网络设备直接在切换命令中设置至少两个定时器发送给终端设备。In this scenario, at least two timers corresponding to the at least two target network devices can be obtained from the reconfiguration message forwarded by the source base station; or the source network device directly sets at least two timers in the handover command to send to the terminal device. .
所述基于所述至少一个定时器、和/或、公共定时器,向目标网络设备发起连接,包括:The initiating a connection to a target network device based on the at least one timer and / or a common timer includes:
当接收到切换命令时,启动第一目标网络设备的第一定时器、并启动公共定时器,向第一目标网络设备发起连接。When a handover command is received, a first timer of a first target network device is started, and a common timer is started to initiate a connection to the first target network device.
进一步地,若在第一定时器的计时时长内,向第一目标网络设备发起连接成功,则停止所述第一定时器。若第一定时器超时、和/或、与第一目标网络设备连接失败,则确定终端设备向第一目标网络设备切换失败。Further, if the connection is successfully initiated to the first target network device within the time length of the first timer, the first timer is stopped. If the first timer times out and / or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.
所述向第一目标网络设备发起连接之后,所述方法还包括:After the initiating the connection to the first target network device, the method further includes:
当第一目标网络设备的第一定时器停止、和/或连接第一目标网络设备失败时,若公共定时器未超时,则从至少一个目标网络设备中选取第二目标网络设备,向第二目标网络设备发起连接、并启动第二目标网络设备的定时器;When the first timer of the first target network device stops and / or the connection to the first target network device fails, if the common timer has not timed out, the second target network device is selected from at least one target network device and sent to the second The target network device initiates a connection and starts a timer of the second target network device;
或者,or,
当第一目标网络设备的第一定时器停止、和/或连接第一目标网络设备失败时,若公共定时器未超时,则基于切换命令获取第二目标网络设备,向第二目标网络设备发起连接、并启动第二目标网络设备的定时器。When the first timer of the first target network device stops and / or the connection to the first target network device fails, if the common timer has not expired, the second target network device is acquired based on the handover command, and initiated to the second target network device Connect and start the timer of the second target network device.
其中,所述从所述至少两个目标网络设备中选取第二目标网络设备的方法,可以为随机中至少两个目标网络设备中选取第二目标网络设备,或者,基于至少两个目标网络设备的选取优先级来选取第二目标网络设备。The method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
所述选取优先级可以为根据实际情况,由网络侧为不同的目标网络设备设置的参数;网络侧可以参考终端设备的测量报告为不同的目标网络设备设置不同的选取优先级。比如,测量报告中的信号测量质量较高的可以设置的选取优先级较高,反之,则可以设置的选取优先级角度;和/或,根据目标网络设备的物理距离来设置,距离当前的源网络设备物理距离较近的选取优先级较高(或较低);当然,实际处理中还能够存在其他的设置方式,本实施例中不进行穷举。The selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set. The network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
还需要指出的,本场景中,当选取第二目标网络设备发起连接的时候,可以将本次选取的第二 目标网络设备作为新的第一目标网络设备,相应的,第二定时器作为新的第一定时器进行切换连接控制;也就是,当新的第一目标网络设备在第一定时器结束的时候,未连接成功,则再次选取新的第二目标网络设备,并启动所述新的第二目标网络设备所对应的第二定时器,如此循环处理。It should also be noted that in this scenario, when the second target network device is selected to initiate the connection, the second target network device selected this time may be used as the new first target network device. Accordingly, the second timer is used as the new first target network device. The first timer of the switch performs connection control; that is, when the new first target network device does not connect successfully when the first timer expires, a new second target network device is selected again and the new The second timer corresponding to the second target network device is processed cyclically.
进一步地,上述循环处理的结束方式,可以为,当所述公共定时器超时,确认切换失败,返回与源网络设备的连接、或者、发起连接重建。Further, the above-mentioned loop processing may be ended in a manner that, when the common timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated.
还需要指出的是,当确定切换失败并返回至源网络设备的连接的时候,或者,向目标网络设备发起连接的同时,本实施例中终端设备还可以保留与源网络设备之间的连接;其中,所述终端设备保留与源网络设备的第一协议栈以及第一相关密钥、并且维护与第一目标网络设备之间的第二协议栈以及第二相关密钥;It should also be noted that, when it is determined that the handover fails and returns to the connection to the source network device, or when the connection is initiated to the target network device, the terminal device in this embodiment may also retain the connection with the source network device; Wherein, the terminal device retains the first protocol stack and the first related key with the source network device, and maintains the second protocol stack and the second related key with the first target network device;
其中,所述第一相关密钥与第二相关密钥不同。第二相关密钥可以由第一相关密钥生成。The first related key is different from the second related key. The second correlation key may be generated from the first correlation key.
其中,第一协议栈与第二协议栈可以相同也可以不同,或者至少部分不同,比如,当针对5G系统的时候,可以为终端设备与源网络设备、以及终端设备与第一目标网络设备之间维护不同的服务数据应用协议(SDAP,Service Data Adaptation Protocol)、不同的分组数据汇聚协议(PDCP,Packet Data Convergence Protocol)、不同的无线链路层控制协议(RLC,Radio Link Control)、不同的媒体访问控制(MAC)实体、不同的低层(Low layer)实体;当针对4G系统的时候,可以为终端设备与源网络设备、以及终端设备与第一目标网络设备之间维护不同的分组数据汇聚协议(PDCP,Packet Data Convergence Protocol)、不同的无线链路层控制协议(RLC,Radio Link Control)、不同的媒体访问控制(MAC)实体、不同的低层(Low layer)实体。另外,本实施例提供的方案中,为了保证使用不同密钥,第一协议栈以及第二协议栈的PDCP一定是不同的。SDAP、RLC、MAC以及物理层中至少之一,则可以相同也可以不同。或者,所述第一协议栈以及第二协议栈可以共用SDAP、RLC、MAC以及物理层中至少之一,或者可以分别拥有SDAP、RLC、MAC以及物理层。The first protocol stack and the second protocol stack may be the same or different, or at least partially different. For example, when targeting a 5G system, it may be a terminal device and a source network device, and a terminal device and a first target network device. Maintain different service data application protocols (SDAP, Service Data Adaptation Protocol), different packet data convergence protocols (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different Media access control (MAC) entities, different low-layer entities; when targeting 4G systems, different packet data aggregations can be maintained for terminal equipment and source network equipment, and between terminal equipment and first target network equipment Protocol (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different media access control (MAC) entities, different low layer (Low layer) entities. In addition, in the solution provided by this embodiment, in order to ensure that different keys are used, the PDCP of the first protocol stack and the second protocol stack must be different. At least one of SDAP, RLC, MAC, and physical layer may be the same or different. Alternatively, the first protocol stack and the second protocol stack may share at least one of SDAP, RLC, MAC, and physical layer, or may have SDAP, RLC, MAC, and physical layer, respectively.
本实施例所述第一目标网络设备以及第二目标网络设备为所述终端设备切换时的目标网络设备;或者,所述第一目标网络设备以及第二目标网络设备为辅助节点SN,所述源网络设备为主节点MN。此处需注意,长期演进(LTE)系统中,SN称为SCG,在新无线(NR)则为SN,指的是一样的概念,就是DC场景下的第二服务网络设备。本实施例可以适用的场景为:终端与源网络设备保持连接、与目标网络设备连接失败;终端源网络设备断开连接、与目标网络设备连接成功;辅助小区组(SCG)连接失败、SCG改变连接失败。当然,还可以有,在配置了多个SCG场景中,一个SCG连接失败;配置了多个目标小区的场景中,一个目标小区连接失败。还可能会存在其他的适用场景,只是本实施例中不再进行穷举。The first target network device and the second target network device in this embodiment are target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary nodes SN, and the The source network device is the master node MN. It should be noted here that in the long-term evolution (LTE) system, the SN is called SCG, and the new radio (NR) is SN, which refers to the same concept, that is, the second service network device in the DC scenario. The applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect to the target network device; the terminal source network device disconnects and successfully connects with the target network device; the auxiliary cell group (SCG) connection fails, and the SCG changes Connection failed. Of course, it may also be that in a scenario where multiple SCGs are configured, one SCG connection fails; in a scenario where multiple target cells are configured, one target cell connection fails. There may also be other applicable scenarios, but in this embodiment, exhaustion is no longer performed.
可见,通过采用上述方案,能够配置至少一个目标网络设备所对应的至少一个定时器、和/或公共定时器;使得终端设备在配置了至少一个目标网络设备的时候,基于对应的定时器和/或公共定时器控制切换处理,从而能够保证重新与目标网络设备建立连接的处理效率。It can be seen that, by using the foregoing solution, at least one timer and / or common timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, based on the corresponding timer and / Or the common timer controls the switching process, thereby ensuring the processing efficiency of re-establishing a connection with the target network device.
实施例二、Example two,
本发明实施例提供了一种切换定时方法,应用于源网络设备,如图4所示,包括:An embodiment of the present invention provides a handover timing method, which is applied to a source network device, as shown in FIG. 4, and includes:
步骤401:向终端设备配置针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。Step 401: Configure the terminal device with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device. .
另外,所述公共定时器的定时时长可以为大于全部定时器中定时时长最大的定时器的定时时长;或者,所述公共定时器的定时时长,还可以为全部定时器的定时时长总和;当然,所述公共定时器的定时时长,还可以大于全部定时器的定时时长总和。至少一个定时器以及公共定时器的时长均可以根据实际情况进行设置,这里不进行穷举。In addition, the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all the timers; or the timing duration of the common timer may also be the sum of the timing durations of all the timers; of course The timing duration of the common timer may also be greater than the sum of the timing durations of all the timers. The duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
所述向终端设备配置针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器,包括:The configuring the terminal device with at least one timer for at least one target network device and / or a common timer includes:
在切换命令中携带针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器,发送所述切换命令至所述终端设备。The handover command carries at least one timer for at least one target network device, and / or a common timer, and sends the handover command to the terminal device.
终端设备的至少一个目标网络设备的至少一个定时器,可以通过源网络设备直接通过切换命令来配置,或者,还可以由目标网络设备通过源网络设备向终端设备转发。At least one timer of at least one target network device of the terminal device may be configured by the source network device directly through a switch command, or may be forwarded by the target network device to the terminal device through the source network device.
关于切换的处理流程可以参见图3所示,包括:Refer to Figure 3 for the processing flow of handover, including:
切换准备阶段,包含图中步骤1-6:源网络设备向终端设备发送测量控制;终端设备进行针对多个网络设备或小区的测量之后,向源网络设备发送测量报告;源网络设备根据测量报告(或者结合RRM信息)进行切换决策;源网络设备向目标网络设备发送切换请求以使得目标网络设备准备进行切换;目标网络设备根据切换请求进行切换许可控制;目标网络设备确定进行切换时,向源网络设备发送切换请求确认。The handover preparation phase includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; after the terminal device performs measurements for multiple network devices or cells, it sends a measurement report to the source network device; the source network device according to the measurement report (Or combined with RRM information) to make a handover decision; the source network device sends a handover request to the target network device to prepare the target network device for handover; the target network device performs handover admission control based on the handover request; when the target network device determines to perform handover, The network device sends a handover request confirmation.
然后进行执行切换阶段,包含图中步骤7-11,具体的:目标网络设备生成RRC信息,将RRC连接重配置信息发送至源网络设备,由源网络设备通过RRC连接重配置信息发送至终端设备;终端设备接收到RRC连接重配置信息后,根据连接重配置信息执行切换处理;然后源网络设备发送SN状态传输至目标网络设备;终端设备与目标网络设备进行同步,然后接收目标网络设备进行UL分配,向目标网络设备发送RRC连接重配置完成信息。Then perform the handover phase, which includes steps 7-11 in the figure. Specifically: the target network device generates RRC information, sends the RRC connection reconfiguration information to the source network device, and the source network device sends the RRC connection reconfiguration information to the terminal device. ; After receiving the RRC connection reconfiguration information, the terminal device performs handover processing according to the connection reconfiguration information; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then receives the target network device for UL Allocate and send RRC connection reconfiguration completion information to the target network device.
最后进入切换完成阶段,包含图中12-18,具体的:目标网络设备向MME发送路径切换请求,以通知MME终端设备改变小区;MME向服务网关发送调整承载请求,由MME进行切换下行路径处理;服务网关完成处理后,向MME发送承载调整完成处理,并由MME向目标网络设备发送路径切换请求的确认消息;目标网络设备向源网络设备通知终端设备上下文释放由源网络设备释放资源。Finally, it enters the handover completion stage, including 12-18 in the figure. Specifically: the target network device sends a path switching request to the MME to notify the MME terminal device to change the cell; the MME sends a bearer adjustment request to the serving gateway, and the MME performs the downlink path switching process. After the serving gateway finishes processing, it sends a bearer adjustment completion process to the MME, and the MME sends a confirmation message of the path switching request to the target network device; the target network device notifies the source network device of the terminal device context release and the source network device releases the resources.
结合本实施例,当终端设备具备一个目标网络设备的时候,源网络设备可以通过切换命令直接发送定时器,或者通过转发重配消息发送一个定时器,也就是针对该目标网络设备的一个定时器;当终端设备具备至少两个目标网络设备的时候,源网络设备可以向直接通过切换指令配置至少两个定时器,和/或,公共定时器,或者,可以通过转发重配消息为终端设备配置至少两个定时器,和/或,公共定时器。In combination with this embodiment, when the terminal device has a target network device, the source network device can send a timer directly through a switch command, or send a timer by forwarding a reconfiguration message, that is, a timer for the target network device. ; When the terminal device has at least two target network devices, the source network device can configure at least two timers and / or public timers directly by switching instructions, or can configure the terminal device by forwarding reconfiguration messages At least two timers, and / or, common timers.
其中,可以针对每一个目标网络设备所对应的定时器和/或公共定时器均发送一个消息至终端设备;或者,可以为将全部目标网络设备的每一个目标网络设备所对应的定时器和/或公共定时器添加到同一个消息,然后仅向终端设备发送一条消息即可。A message may be sent to a terminal device for a timer and / or a common timer corresponding to each target network device; or, a timer and / Or the common timer is added to the same message, and then only one message is sent to the terminal device.
需要理解的是,重配消息中除了前述的定时器和/或公共定时器之外,还可以包括:移动控制信息、新的C-RNTI、第二目标网络设备的安全信息;另外,可选的还包括随机接入前导,第二目标网络设备的系统信息块(SIB)等信息。It should be understood that, in addition to the foregoing timers and / or common timers, the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, optional It also includes information such as the random access preamble, the system information block (SIB) of the second target network device.
所述方法还包括:基于至少一个网络设备对应的测量报告,选取目标网络设备;或者,从所述至少一个网络设备中随机选取目标网络设备。The method further includes: selecting a target network device based on a measurement report corresponding to at least one network device; or randomly selecting a target network device from the at least one network device.
其中,选取目标网络设备,可以为源网络设备接收到终端设备发来的至少一个网络设备的测量报告的时候,为终端设备选取至少一个目标网络设备;然后将至少一个目标网络设备的相关信息通过重配消息或切换命令发送至终端设备;需要指出的是,发送至少一个目标网络设备的时候还需要添加至少一个目标网络设备对应的至少一个定时器,和/或公共定时器。Wherein, selecting the target network device can select at least one target network device for the terminal device when the source network device receives the measurement report of at least one network device from the terminal device; and then pass the relevant information of the at least one target network device through A reconfiguration message or a switch command is sent to the terminal device; it should be noted that when sending at least one target network device, at least one timer corresponding to the at least one target network device and / or a common timer need to be added.
和/或,选取目标网络设备,还可以为当终端设备针对第一目标网络设备连接失败的时候,源网络设备从至少一个目标网络设备中再为终端设备选取第二目标网络设备,并将选取的第二目标网络设备通过重配消息或切换命令发送至终端设备;需要指出的是,发送第二目标网络设备的时候还需要添加第二目标网络设备对应的第二定时器。And / or, selecting the target network device, when the terminal device fails to connect to the first target network device, the source network device selects the second target network device for the terminal device from the at least one target network device, and selects the target network device. The second target network device is sent to the terminal device through a reconfiguration message or a handover command. It should be noted that when sending the second target network device, a second timer corresponding to the second target network device needs to be added.
本实施例所述第一目标网络设备以及第二目标网络设备为所述终端设备切换时的目标网络设备;或者,所述第一目标网络设备以及第二目标网络设备为辅助节点SN,所述源网络设备为主节点MN。此处需注意,长期演进(LTE)系统中,SN称为SCG,在新无线(NR)则为SN,指的是一样的概念,就是DC场景下的第二服务网络设备。本实施例可以适用的场景为:终端与源网络设备保持连接、与目标网络设备连接失败;终端源网络设备断开连接、与目标网络设备连接成功;辅助小区组(SCG)连接失败、SCG改变连接失败。当然,还可以有,在配置了多个SCG场景中,一个SCG连接失败;配置了多个目标小区的场景中,一个目标小区连接失败。还可能会存在其他的适用场景,只是本实施例中不再进行穷举。The first target network device and the second target network device in this embodiment are target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary nodes SN, and the The source network device is the master node MN. It should be noted here that in the long-term evolution (LTE) system, the SN is called SCG, and the new radio (NR) is SN, which refers to the same concept, that is, the second service network device in the DC scenario. The applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect to the target network device; the terminal source network device disconnects and successfully connects with the target network device; the auxiliary cell group (SCG) connection fails, and the SCG changes Connection failed. Of course, it may also be that in a scenario where multiple SCGs are configured, one SCG connection fails; in a scenario where multiple target cells are configured, one target cell connection fails. There may also be other applicable scenarios, but in this embodiment, exhaustion is no longer performed.
可见,通过采用上述方案,能够配置至少一个目标网络设备所对应的至少一个定时器、和/或公共定时器;使得终端设备在配置了至少一个目标网络设备的时候,基于对应的定时器和/或公共定时器控制切换处理,从而能够保证重新与目标网络设备建立连接的处理效率。It can be seen that, by using the foregoing solution, at least one timer and / or common timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, based on the corresponding timer and / Or the common timer controls the switching process, thereby ensuring the processing efficiency of re-establishing a connection with the target network device.
实施例三、Example three,
本发明实施例提供了一种终端设备,如图5所示,包括:An embodiment of the present invention provides a terminal device, as shown in FIG. 5, including:
第一通信单元51,接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长;基于所述至少一个定时器、和/或、公共定时器,向目标网络设备发起连接。The first communication unit 51 receives at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device Initiating a connection to a target network device based on the at least one timer and / or a common timer.
其中,所述至少一个目标网络设备对应的所述至少一个定时器中,不同的定时器的定时时长可以相同也可以不同;Wherein, among the at least one timer corresponding to the at least one target network device, the timing duration of different timers may be the same or different;
另外,所述公共定时器的定时时长可以为大于全部定时器中定时时长最大的定时器的定时时长;或者,所述公共定时器的定时时长,还可以为全部定时器的定时时长总和;当然,所述公共定时器 的定时时长,还可以大于全部定时器的定时时长总和。至少一个定时器以及公共定时器的时长均可以根据实际情况进行设置,这里不进行穷举。In addition, the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all the timers; or the timing duration of the common timer may also be the sum of the timing durations of all the timers; of course The timing duration of the common timer may also be greater than the sum of the timing durations of all the timers. The duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
所述第一通信单元51,The first communication unit 51,
接收源网络设备转发的目标网络设备的重配消息,获取所述重配消息中携带的针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;Receiving a reconfiguration message of a target network device forwarded by a source network device, and acquiring at least one timer for at least one target network device and / or a common timer carried in the reconfiguration message;
或者,or,
接收源网络设备的切换命令,通过所述切换命令获取针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器。Receive a handover command from a source network device, and obtain at least one timer for at least one target network device and / or a common timer through the handover command.
也就是说,终端设备的至少一个目标网络设备的至少一个定时器,和/或,至少一个目标网络设备对应的一个公共定时器,可以由源网络设备直接配置,或者,还可以通过目标网络设备通过源网络设备向终端设备转发得到。That is, at least one timer of at least one target network device of the terminal device, and / or, a common timer corresponding to at least one target network device may be directly configured by the source network device, or may also be passed by the target network device. It is forwarded by the source network device to the terminal device.
关于切换的处理流程可以参见图3所示,包括:Refer to Figure 3 for the processing flow of handover, including:
切换准备阶段,包含图中步骤1-6:源网络设备向终端设备发送测量控制;终端设备进行针对多个网络设备或小区的测量之后,向源网络设备发送测量报告;源网络设备根据测量报告(或者结合RRM信息)进行切换决策;源网络设备向目标网络设备发送切换请求以使得目标网络设备准备进行切换;目标网络设备根据切换请求进行切换许可控制;目标网络设备确定进行切换时,向源网络设备发送切换请求确认。The handover preparation phase includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; after the terminal device performs measurements for multiple network devices or cells, it sends a measurement report to the source network device; the source network device according to the measurement report (Or combined with RRM information) to make a handover decision; the source network device sends a handover request to the target network device to prepare the target network device for handover; the target network device performs handover admission control based on the handover request; when the target network device determines to perform handover, The network device sends a handover request confirmation.
然后进行执行切换阶段,包含图中步骤7-11,具体的:目标网络设备生成RRC信息,将RRC连接重配置信息发送至源网络设备,由源网络设备通过RRC连接重配置信息发送至终端设备;终端设备接收到RRC连接重配置信息后,根据连接重配置信息执行切换处理;然后源网络设备发送SN状态传输至目标网络设备;终端设备与目标网络设备进行同步,然后接收目标网络设备进行UL分配,向目标网络设备发送RRC连接重配置完成信息。Then perform the handover phase, which includes steps 7-11 in the figure. Specifically: the target network device generates RRC information, sends the RRC connection reconfiguration information to the source network device, and the source network device sends the RRC connection reconfiguration information to the terminal device. ; After receiving the RRC connection reconfiguration information, the terminal device performs handover processing according to the connection reconfiguration information; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then receives the target network device for UL Allocate and send RRC connection reconfiguration completion information to the target network device.
最后进入切换完成阶段,包含图中12-18,具体的:目标网络设备向MME发送路径切换请求,以通知MME终端设备改变小区;MME向服务网关发送调整承载请求,由MME进行切换下行路径处理;服务网关完成处理后,向MME发送承载调整完成处理,并由MME向目标网络设备发送路径切换请求的确认消息;目标网络设备向源网络设备通知终端设备上下文释放由源网络设备释放资源。Finally, it enters the handover completion stage, including 12-18 in the figure. Specifically: the target network device sends a path switching request to the MME to notify the MME terminal device to change the cell; the MME sends a bearer adjustment request to the serving gateway, and the MME performs the downlink path switching process. After the serving gateway finishes processing, it sends a bearer adjustment completion process to the MME, and the MME sends a confirmation message of the path switching request to the target network device; the target network device notifies the source network device of the terminal device context release and the source network device releases the resources.
结合本实施例,当终端设备具备一个目标网络设备的时候,源网络设备可以通过切换命令直接发送定时器,或者通过转发重配消息发送一个定时器,也就是针对该目标网络设备的一个定时器;当终端设备具备至少两个目标网络设备的时候,源网络设备可以直接通过切换指令为终端设备配置至少两个定时器,和/或,公共定时器,或者,可以通过转发重配消息为终端设备配置至少两个定时器,和/或,公共定时器。In combination with this embodiment, when the terminal device has a target network device, the source network device can send a timer directly through a switch command, or send a timer by forwarding a reconfiguration message, that is, a timer for the target network device. ; When the terminal device has at least two target network devices, the source network device can directly configure the terminal device with at least two timers and / or public timers by switching instructions, or it can forward the reconfiguration message to the terminal. The device is configured with at least two timers, and / or a common timer.
其中,可以针对每一个目标网络设备所对应的定时器和/或公共定时器均发送一个消息至终端设备;或者,可以为将全部目标网络设备的每一个目标网络设备所对应的定时器和/或公共定时器添加到同一个消息,然后仅向终端设备发送一条消息即可。A message may be sent to a terminal device for a timer and / or a common timer corresponding to each target network device; or, a timer and / Or the common timer is added to the same message, and then only one message is sent to the terminal device.
需要理解的是,重配消息中除了前述的定时器和/或公共定时器之外,还可以包括:移动控制信息、新的C-RNTI、第二目标网络设备的安全信息;另外,可选的还包括随机接入前导,第二目标网络设备的系统信息块(SIB)等信息。It should be understood that, in addition to the foregoing timers and / or common timers, the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, optional It also includes information such as the random access preamble, the system information block (SIB) of the second target network device.
具体的,本实施例可以应用于以下多种场景:Specifically, this embodiment can be applied to the following multiple scenarios:
场景一、终端设备可以具备至少两个目标网络设备,全部的目标网络设备对应一个公共定时器。Scenario 1: A terminal device may have at least two target network devices, and all target network devices correspond to a common timer.
需要理解的是,本场景中,可以分别针对至少两个目标网络设备发送定时器,也就是说分别发送至少两个目标网络设备的定时器,每一个定时器相同均可以为公共定时器;或者,也可以仅发送一个公共定时器,并配置该公共定时器可以应用于全部的目标网络设备。It should be understood that, in this scenario, timers can be sent for at least two target network devices, that is, timers for at least two target network devices are sent separately, and each timer can be a common timer; or It is also possible to send only one common timer and configure that the common timer can be applied to all target network devices.
本场景中,可以通过切换命令中获取公共定时器,或者,可以从转发的重配消息中获取所述公共定时器。In this scenario, the common timer may be obtained through a switching command, or the common timer may be obtained from a reconfiguration message that is forwarded.
所述终端设备还包括:The terminal device further includes:
第一处理单元52,当接收到切换命令时,启动公共定时器,通过第一通信单元51向第一目标网络设备发起连接。The first processing unit 52 starts a common timer when receiving a handover command, and initiates a connection to the first target network device through the first communication unit 51.
或者,所述基于所述至少一个定时器、和/或、公共定时器,向目标网络设备发起连接,还包括:Alternatively, the initiating a connection to a target network device based on the at least one timer and / or a common timer further includes:
第一处理单元52,若接收到的切换命令(HO command)里携带包含有至少两个目标网络设备的重配消息,则可以在终端设备选取当前所要接入的第一目标网络设备的时候,启动公共定时器。The first processing unit 52, if the received handover command (HO command) carries a reconfiguration message including at least two target network devices, when the terminal device selects the first target network device to be currently accessed, Start the common timer.
本场景下还可以针对多个网络设备使用同一个公共定时器的具体处理方法,提供以下多个子场景:In this scenario, you can also use the same common timer for multiple network devices, and provide the following sub-scenarios:
子场景一、Sub-scene one,
每次与目标网络设备连接失败、连接第二目标网络设备的时候,重启公共定时器,具体的:Every time the connection to the target network device fails and the second target network device is connected, the public timer is restarted, specifically:
第一处理单元52,若在定时器的计时时长内,向第一目标网络设备发起连接成功,则停止所述公共定时器。The first processing unit 52 stops the common timer if the connection is successfully initiated to the first target network device within the duration of the timer.
若公共定时器超时、和/或、与第一目标网络设备连接失败,则确定终端设备向第一目标网络设备切换失败。If the common timer times out and / or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.
在确定终端设备向第一目标网络设备切换失败的时候,所述第一处理单元52,当连接第一目标网络设备失败、或者当公共定时器停止且连接所述第一目标网络设备不成功时,确定第二目标网络设备,重新启动公共定时器,通过第一通信单元51向所述第二目标网络设备发起连接。When it is determined that the handover of the terminal device to the first target network device fails, the first processing unit 52, when the connection to the first target network device fails, or when the common timer stops and the first target network device fails to connect To determine a second target network device, restart the common timer, and initiate a connection to the second target network device through the first communication unit 51.
其中,所述确定第二目标网络设备的方法,可以包括以下之一:The method for determining a second target network device may include one of the following:
第一处理单元52,重新接受源网络设备发来的切换命令,基于切换命令获取第二目标网络设备;其中,切换命令中包含有网络侧为终端设备重新选取的第二目标网络设备。The first processing unit 52 reaccepts the handover command sent by the source network device, and obtains the second target network device based on the handover command. The handover command includes the second target network device reselected by the network side for the terminal device.
或者,若终端设备接收到的重配消息中携带有至少两个目标网络设备的信息时,从所述至少两个目标网络设备中选取第二目标网络设备。Alternatively, if the reconfiguration message received by the terminal device carries information of at least two target network devices, a second target network device is selected from the at least two target network devices.
其中,所述从所述至少两个目标网络设备中选取第二目标网络设备的方法,可以为第一处理单元52,随机从至少两个目标网络设备中选取第二目标网络设备,或者,基于至少两个目标网络设备的选取优先级来选取第二目标网络设备。The method for selecting a second target network device from the at least two target network devices may be the first processing unit 52, randomly selecting the second target network device from the at least two target network devices, or based on A selection priority of at least two target network devices selects a second target network device.
所述选取优先级可以为根据实际情况,由网络侧为不同的目标网络设备设置的参数;网络侧可以参考终端设备的测量报告为不同的目标网络设备设置不同的选取优先级。比如,测量报告中的信号测量质量较高的可以设置的选取优先级较高,反之,则可以设置的选取优先级角度;和/或,根据目标网络设备的物理距离来设置,距离当前的源网络设备物理距离较近的选取优先级较高(或较低);当然,实际处理中还能够存在其他的设置方式,本实施例中不进行穷举。The selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set. The network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
需要理解的是,在针对第二目标网络设备进行切换处理的时候,可以采用针对第一目标网络设备的处理方式进行处理,只是这里不再进行赘述。It should be understood that, when performing the handover processing for the second target network device, the processing method for the first target network device may be used for processing, but details are not described herein again.
当所述公共定时器超时,确认切换失败,返回与源网络设备的连接、或者、发起连接重建。具体的,第一目标网络设备或第二目标网络设备,切换失败的时候,均可以返回至源网络设备的连接、或者重新向新的目标网络设备发起连接重建。其中,新的目标网络设备与本次切换失败的目标网络设备不同。When the common timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated. Specifically, when the first target network device or the second target network device fails to switch, both can return to the connection to the source network device or initiate connection reestablishment to the new target network device. Among them, the new target network device is different from the target network device that failed in this handover.
还需要理解的是,当重新向第二目标网络设备发起连接的时候,就可以将第二目标网络设备作为新的第一目标网络设备进行后续操作,也就是说,当新的第一目标网络设备连接成功的时候,可以确定切换成功,如果新的第一目标网络设备连接失败的时候,再次重新选取新的第二目标网络设备,如此循环处理。It should also be understood that when the connection is re-initiated to the second target network device, the second target network device can be used as a new first target network device for subsequent operations, that is, when the new first target network device When the device is successfully connected, it can be determined that the handover is successful. If the connection of the new first target network device fails, the new second target network device is re-selected again, and the process is performed in a loop.
所述确定第二目标网络设备,重新启动公共定时器,向所述第二目标网络设备发起连接时,所述第一处理单元52,判断重新启动所述公共定时器的次数是否超过预设次数门限值,若超过,则确认切换失败,返回与源网络设备的连接、或者、发起连接重建;其中,所述预设次数门限值,可以为根据实际情况进行设置,比如,可以为重启公共定时器超过5次,就确认当前没有合适的目标网络设备进行切换,从而判断切换失败,当然还可以根据目标网络设备的数量来确定预设次数门限值,比如,预设次数门限值可以为目标网络设备的数量的2/3,假设有9个目标网络设备的时候,可以重启公共定时器6次;此外还可以存在其他的预设次数门限值的设定方法,只是本实施例中不再进行穷举。When the second target network device is determined, a common timer is restarted, and when a connection is initiated to the second target network device, the first processing unit 52 determines whether the number of restarts of the common timer exceeds a preset number of times If the threshold value is exceeded, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated; wherein the preset number of times may be set according to actual conditions, for example, it may be restarted If the public timer exceeds 5 times, it is confirmed that there is no suitable target network device for handover at present, so that the handover fails. Of course, a preset number of times can be determined according to the number of target network devices, for example, the preset number of times It can be 2/3 of the number of target network devices. Assuming that there are 9 target network devices, the public timer can be restarted 6 times. In addition, there can be other methods for setting the threshold of preset times, but this implementation No more exhaustive in the example.
或者,or,
第一处理单元52,判断重新选取目标网络设备的次数是否超过预设选取门限值,若超过,则确认切换失败,返回与源网络设备的连接、或者、发起连接重建。其中,所述预设选取门限值,可以为根据实际情况进行设置,比如,可以为重新选取目标网络设备超过3次,就确认当前没有合适的目标网络设备进行切换,从而判断切换失败;当然还可以根据目标网络设备的数量来确定预设次数门限值,比如,预设选取门限值可以为目标网络设备的数量的2/3,假设有9个目标网络设备的时候,可以重新选取目标网络设备超过6次就确定切换失败;此外还可以存在其他的预设次数门限值的设定方法,只是本实施例中不再进行穷举。The first processing unit 52 determines whether the number of times of re-selecting the target network device exceeds a preset selection threshold. If the number of times of re-selection of the target network device exceeds the preset selection threshold, it confirms that the handover fails, returns to the connection with the source network device, or initiates connection reconstruction. The preset selection threshold may be set according to the actual situation. For example, it may be determined that there is no suitable target network device for the current switchover to reselect the target network device more than 3 times, thereby determining the switchover failure; of course. You can also determine the threshold for the preset number of times based on the number of target network devices. For example, the preset selection threshold can be 2/3 of the number of target network devices. Assuming that there are 9 target network devices, you can reselect them. The target network device determines that the handover has failed more than 6 times; in addition, there may be other methods for setting the threshold value for the preset number of times, but in this embodiment, no exhaustion is performed.
子场景二、Sub-scene two,
多个网络设备共用一个公共定时器,并且每次连接目标网络设备失败就直接重选目标网络设备,直至公共定时器停止。具体的:Multiple network devices share a common timer, and each time the connection to the target network device fails, the target network device is directly reselected until the common timer stops. specific:
第一处理单元52,当连接第一目标网络设备失败、且所述公共定时器未超时,从至少一个目标网络设备中选取第二目标网络设备,通过第一通信单元51向所述第二目标网络设备发起连接;The first processing unit 52 selects a second target network device from at least one target network device when the connection to the first target network device fails and the common timer does not expire, and sends the second target network device to the second target through the first communication unit 51 A network device initiates a connection;
或者,or,
当第一目标网络设备连接失败、且所述公共定时器未超时,获取切换命令中配置的第二目标网络设备,通过第一通信单元51向所述第二目标网络设备发起连接。When the connection of the first target network device fails and the common timer does not expire, the second target network device configured in the handover command is acquired, and a connection is initiated to the second target network device through the first communication unit 51.
其中,所述从所述至少两个目标网络设备中选取第二目标网络设备的方法,可以为随机从至少两个目标网络设备中选取第二目标网络设备,或者,基于至少两个目标网络设备的选取优先级来选取第二目标网络设备。The method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from the at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
所述选取优先级可以为根据实际情况,由网络侧为不同的目标网络设备设置的参数;网络侧可以参考终端设备的测量报告为不同的目标网络设备设置不同的选取优先级。比如,测量报告中的信号测量质量较高的可以设置的选取优先级较高,反之,则可以设置的选取优先级角度;和/或,根据目标网络设备的物理距离来设置,距离当前的源网络设备物理距离较近的选取优先级较高(或较低);当然,实际处理中还能够存在其他的设置方式,本实施例中不进行穷举。The selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set. The network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
当每次重新从至少一个网络设备中选取第二目标网络设备的处理中,可以不需要与源网络设备保持连接;而每次重新获取切换命令,基于切换命令的配置的第二目标网络设备重新发起连接的处理中,可以为每次连接失败均返回至源网络设备的连接。In the process of reselecting the second target network device from at least one network device each time, it is not necessary to maintain a connection with the source network device; and each time the switch command is reacquired, the second target network device based on the configuration of the switch command is re- In the process of initiating the connection, the connection to the source network device may be returned every time the connection fails.
需要指出的是,向第二目标网络设备发起连接之后,可以将第二目标网络设备重新作为第一目标网络设备,继续执行本场景中的操作,进而,当新的第一目标网络设备连接失败的时候,再次重新选取新的第二目标网络设备,如此循环处理,直至公共定时器停止的时候,仍未选取到能够连接的目标网络设备的时候,可以确认切换失败,返回与源网络设备的连接、或者、发起连接重建。It should be noted that after the connection is initiated to the second target network device, the second target network device can be used as the first target network device again, and the operations in this scenario can be continued. Furthermore, when the new first target network device fails to connect When re-selecting a new second target network device again, the process is cyclically performed until the public timer stops, and when the target network device that can be connected is still not selected, it can be confirmed that the handover fails and returns to the source network device. Connect, or, initiate connection re-establishment.
场景二、Scene two,
终端设备具备至少两个目标网络设备,每一个目标网络设备对应一个定时器。The terminal device has at least two target network devices, and each target network device corresponds to a timer.
需要理解的是,本场景中,接收源网络设备配置的针对至少两个目标网络设备的至少两个定时器;其中,不同的目标网络设备对应的定时器的计时时长可以相同也可以不同,可以由每一个目标网络设备来确定,本实施例中不做限定。It should be understood that in this scenario, at least two timers for at least two target network devices configured by the receiving source network device; among which, the timers corresponding to different target network devices may have the same or different timer durations. It is determined by each target network device, which is not limited in this embodiment.
本场景中,可以为源网络设备直接在切换命令中携带定时器发送至终端设备;或者,可以为源网络设备将至少两个目标网络设备的重配消息转发给终端设备。In this scenario, the source network device may directly send a timer to the terminal device in a handover command; or, the source network device may forward the reconfiguration message of at least two target network devices to the terminal device.
第一处理单元52,当接收到切换命令时,启动针对第一目标网络设备的第一定时器,通过第一通信单元51向第一目标网络设备发起连接。The first processing unit 52, when receiving the handover command, starts a first timer for the first target network device, and initiates a connection to the first target network device through the first communication unit 51.
进一步地,若在第一定时器的计时时长内,向第一目标网络设备发起连接成功,则停止所述第一定时器。Further, if the connection is successfully initiated to the first target network device within the time length of the first timer, the first timer is stopped.
若第一定时器超时、和/或、与第一目标网络设备连接失败,则确定终端设备向第一目标网络设备切换失败。If the first timer times out and / or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.
在确定终端设备向第一目标网络设备切换失败的时候,所述第一处理单元52,When it is determined that the handover of the terminal device to the first target network device fails, the first processing unit 52,
当第一目标网络设备连接失败时,从至少一个目标网络设备中选取第二目标网络设备发起连接,并启动所述第二目标网络设备的定时器;When the connection of the first target network device fails, selecting a second target network device from at least one target network device to initiate a connection, and starting a timer of the second target network device;
或者,or,
当第一目标网络设备连接失败时,获取切换命令中配置的第二目标网络设备,向所述第二目标网络设备发起连接,并启动所述第二目标网络设备的定时器。When the connection of the first target network device fails, the second target network device configured in the handover command is acquired, a connection is initiated to the second target network device, and a timer of the second target network device is started.
其中,所述从所述至少两个目标网络设备中选取第二目标网络设备的方法,可以为随机中至少两个目标网络设备中选取第二目标网络设备,或者,基于至少两个目标网络设备的选取优先级来选取第二目标网络设备。The method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
所述选取优先级可以为根据实际情况,由网络侧为不同的目标网络设备设置的参数;网络侧可以参考终端设备的测量报告为不同的目标网络设备设置不同的选取优先级。比如,测量报告中的信号测量质量较高的可以设置的选取优先级较高,反之,则可以设置的选取优先级角度;和/或,根据目标网络设备的物理距离来设置,距离当前的源网络设备物理距离较近的选取优先级较高(或较低);当然,实际处理中还能够存在其他的设置方式,本实施例中不进行穷举。The selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set. The network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
还需要指出的,本场景中,当选取第二目标网络设备发起连接的时候,可以将本次选取的第二目标网络设备作为新的第一目标网络设备,相应的,第二定时器作为新的第一定时器进行切换连接 控制;也就是,当新的第一目标网络设备在第一定时器结束的时候,未连接成功,则再次选取新的第二目标网络设备,并启动所述新的第二目标网络设备所对应的第二定时器,如此循环处理。It should also be noted that in this scenario, when the second target network device is selected to initiate the connection, the second target network device selected this time may be used as the new first target network device. Accordingly, the second timer is used as the new first target network device. The first timer of the switch performs connection control; that is, when the new first target network device does not connect successfully when the first timer expires, a new second target network device is selected again and the new The second timer corresponding to the second target network device is processed cyclically.
进一步地,上述循环处理的结束方式,可以为,第一处理单元52,判断重新选取新的目标网络设备的次数,是否超过预设选取门限值,若超过,则确定切换失败;或者,还可以为判断重新启动新的定时器的次数,是否超过预设次数门限值,若超过则确定切换失败。关于预设选取门限值以及预设次数门限值的确定方式可以参见场景一中的描述,这里不再赘述。Further, the manner of ending the above-mentioned cyclic processing may be that the first processing unit 52 determines whether the number of times of reselecting a new target network device exceeds a preset selection threshold, and if it exceeds, determines that the handover fails; or It can be judged whether the number of times of restarting the new timer exceeds a preset number of times threshold, and if it exceeds, it is determined that the handover fails. For the method of determining the preset selection threshold and the preset number of times, refer to the description in the scenario 1, which is not repeated here.
当所述定时器超时,确认切换失败,返回与源网络设备的连接、或者、发起连接重建。具体的,第一目标网络设备或第二目标网络设备,是否切换成功的判断方式均可以采用上述描述;并且,当切换失败的时候,均可以返回至源网络设备的连接、或者重新向新的第二目标网络设备发起连接重建。其中,新的第二目标网络设备与本次切换失败的第二目标网络设备不同。When the timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection re-establishment is initiated. Specifically, the first target network device or the second target network device can use the above description to determine whether the handover is successful; and when the handover fails, they can return to the source network device or re-connect to the new The second target network device initiates connection reconstruction. Wherein, the new second target network device is different from the second target network device that failed in the handover.
场景三、Scene three,
终端设备具备至少两个目标网络设备,每一个目标网络设备对应一个定时器、并且全部的目标网络设备共用一个公共定时器。需要理解的是,不同的目标网络设备对应的定时器的计时时长可以相同也可以不同;所述公共定时器的定时时长可以为大于全部定时器中定时时长最大的定时器的定时时长;或者,所述公共定时器的定时时长,还可以为全部定时器的定时时长总和;当然,所述公共定时器的定时时长,还可以大于全部定时器的定时时长总和。至少一个定时器以及公共定时器的时长均可以根据实际情况进行设置,这里不进行穷举。The terminal device is provided with at least two target network devices, each target network device corresponds to a timer, and all target network devices share a common timer. It should be understood that the timing duration of the timers corresponding to different target network devices may be the same or different; the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all timers; or, The timing duration of the common timer may also be the sum of the timing durations of all the timers; of course, the timing duration of the common timer may be greater than the sum of the timing durations of all the timers. The duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
本场景中,可以通过源基站转发的重配消息中获取所述至少两个目标网络设备对应的至少两个定时器;或者源网络设备直接在切换命令中设置至少两个定时器发送给终端设备。In this scenario, at least two timers corresponding to the at least two target network devices can be obtained from the reconfiguration message forwarded by the source base station; or the source network device directly sets at least two timers in the handover command to send to the terminal device. .
所述第一处理单元52,当接收到切换命令时,启动第一目标网络设备的第一定时器、并启动公共定时器,通过第一通信单元51向第一目标网络设备发起连接。When receiving the handover command, the first processing unit 52 starts a first timer of the first target network device and starts a common timer, and initiates a connection to the first target network device through the first communication unit 51.
进一步地,若在第一定时器的计时时长内,向第一目标网络设备发起连接成功,则停止所述第一定时器。若第一定时器超时、和/或、与第一目标网络设备连接失败,则确定终端设备向第一目标网络设备切换失败。Further, if the connection is successfully initiated to the first target network device within the time length of the first timer, the first timer is stopped. If the first timer times out and / or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.
所述向第一目标网络设备发起连接之后,所述第一处理单元52,After the initiating the connection to the first target network device, the first processing unit 52,
当第一目标网络设备的第一定时器停止、和/或连接第一目标网络设备失败时,若公共定时器未超时,则从至少一个目标网络设备中选取第二目标网络设备,向第二目标网络设备发起连接、并启动第二目标网络设备的定时器;When the first timer of the first target network device stops and / or the connection to the first target network device fails, if the common timer has not timed out, the second target network device is selected from at least one target network device and sent to the second The target network device initiates a connection and starts a timer of the second target network device;
或者,or,
当第一目标网络设备的第一定时器停止、和/或连接第一目标网络设备失败时,若公共定时器未超时,则基于切换命令获取第二目标网络设备,向第二目标网络设备发起连接、并启动第二目标网络设备的定时器。When the first timer of the first target network device stops and / or the connection to the first target network device fails, if the common timer has not expired, the second target network device is acquired based on the handover command, and initiated to the second target network device Connect and start the timer of the second target network device.
其中,所述从所述至少两个目标网络设备中选取第二目标网络设备的方法,可以为随机中至少两个目标网络设备中选取第二目标网络设备,或者,基于至少两个目标网络设备的选取优先级来选取第二目标网络设备。The method for selecting a second target network device from the at least two target network devices may be selecting a second target network device from at least two target network devices randomly, or based on the at least two target network devices. Select the priority to select the second target network device.
所述选取优先级可以为根据实际情况,由网络侧为不同的目标网络设备设置的参数;网络侧可以参考终端设备的测量报告为不同的目标网络设备设置不同的选取优先级。比如,测量报告中的信号测量质量较高的可以设置的选取优先级较高,反之,则可以设置的选取优先级角度;和/或,根据目标网络设备的物理距离来设置,距离当前的源网络设备物理距离较近的选取优先级较高(或较低);当然,实际处理中还能够存在其他的设置方式,本实施例中不进行穷举。The selection priority may be a parameter set by the network side for different target network devices according to the actual situation; the network side may set different selection priorities for different target network devices by referring to the measurement report of the terminal device. For example, the higher the signal measurement quality in the measurement report, the higher the selection priority that can be set; otherwise, the selection priority angle can be set; and / or, based on the physical distance of the target network device, the distance from the current source can be set. The network device with a shorter physical distance has a higher priority (or lower priority); of course, there can be other settings in actual processing, and this embodiment does not exhaustively.
还需要指出的,本场景中,当选取第二目标网络设备发起连接的时候,可以将本次选取的第二目标网络设备作为新的第一目标网络设备,相应的,第二定时器作为新的第一定时器进行切换连接控制;也就是,当新的第一目标网络设备在第一定时器结束的时候,未连接成功,则再次选取新的第二目标网络设备,并启动所述新的第二目标网络设备所对应的第二定时器,如此循环处理。It should also be noted that in this scenario, when the second target network device is selected to initiate the connection, the second target network device selected this time may be used as the new first target network device. Accordingly, the second timer is used as the new first target network device. The first timer of the switch performs connection control; that is, when the new first target network device does not connect successfully when the first timer expires, a new second target network device is selected again and the new The second timer corresponding to the second target network device is processed cyclically.
进一步地,上述循环处理的结束方式,可以为,当所述公共定时器超时,确认切换失败,返回与源网络设备的连接、或者、发起连接重建。Further, the above-mentioned loop processing may be ended in a manner that, when the common timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated.
还需要指出的是,当确定切换失败并返回至源网络设备的连接的时候,或者,向目标网络设备发起连接的同时,本实施例中终端设备还可以保留与源网络设备之间的连接;其中,所述终端设备保留与源网络设备的第一协议栈以及第一相关密钥、并且维护与第一目标网络设备之间的第二协议栈以及第二相关密钥;It should also be noted that, when it is determined that the handover fails and returns to the connection to the source network device, or when the connection is initiated to the target network device, the terminal device in this embodiment may also retain the connection with the source network device; Wherein, the terminal device retains the first protocol stack and the first related key with the source network device, and maintains the second protocol stack and the second related key with the first target network device;
其中,所述第一相关密钥与第二相关密钥不同。第二相关密钥可以由第一相关密钥生成。The first related key is different from the second related key. The second correlation key may be generated from the first correlation key.
其中,第一协议栈与第二协议栈可以相同也可以不同,或者至少部分不同,比如,当针对5G系统的时候,可以为终端设备与源网络设备、以及终端设备与第一目标网络设备之间维护不同的服务数据应用协议(SDAP,Service Data Adaptation Protocol)、不同的分组数据汇聚协议(PDCP,Packet Data Convergence Protocol)、不同的无线链路层控制协议(RLC,Radio Link Control)、不同的媒体访问控制(MAC)实体、不同的低层(Low layer)实体;当针对4G系统的时候,可以为终端设备与源网络设备、以及终端设备与第一目标网络设备之间维护不同的分组数据汇聚协议(PDCP,Packet Data Convergence Protocol)、不同的无线链路层控制协议(RLC,Radio Link Control)、不同的媒体访问控制(MAC)实体、不同的低层(Low layer)实体。另外,本实施例提供的方案中,为了保证使用不同密钥,第一协议栈以及第二协议栈的PDCP一定是不同的。SDAP、RLC、MAC以及物理层中至少之一,则可以相同也可以不同。或者,所述第一协议栈以及第二协议栈可以共用SDAP、RLC、MAC以及物理层中至少之一,或者可以分别拥有SDAP、RLC、MAC以及物理层。The first protocol stack and the second protocol stack may be the same or different, or at least partially different. For example, when targeting a 5G system, it may be a terminal device and a source network device, and a terminal device and a first target network device. Maintain different service data application protocols (SDAP, Service Data Adaptation Protocol), different packet data convergence protocols (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different Media access control (MAC) entities, different low-layer entities; when targeting 4G systems, different packet data aggregations can be maintained for terminal equipment and source network equipment, and between terminal equipment and first target network equipment Protocol (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different media access control (MAC) entities, different low layer (Low layer) entities. In addition, in the solution provided by this embodiment, in order to ensure that different keys are used, the PDCP of the first protocol stack and the second protocol stack must be different. At least one of SDAP, RLC, MAC, and physical layer may be the same or different. Alternatively, the first protocol stack and the second protocol stack may share at least one of SDAP, RLC, MAC, and physical layer, or may have SDAP, RLC, MAC, and physical layer, respectively.
本实施例所述第一目标网络设备以及第二目标网络设备为所述终端设备切换时的目标网络设备;或者,所述第一目标网络设备以及第二目标网络设备为辅助节点SN,所述源网络设备为主节点MN。此处需注意,长期演进(LTE)系统中,SN称为SCG,在新无线(NR)则为SN,指的是一样的概念,就是DC场景下的第二服务网络设备。本实施例可以适用的场景为:终端与源网络设备保持连接、与目标网络设备连接失败;终端源网络设备断开连接、与目标网络设备连接成功;辅助小区组(SCG)连接失败、SCG改变连接失败。当然,还可以有,在配置了多个SCG场景中,一个SCG连接失败;配置了多个目标小区的场景中,一个目标小区连接失败。还可能会存在其他的适用场景,只是本实施例中不再进行穷举。The first target network device and the second target network device in this embodiment are target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary nodes SN, and the The source network device is the master node MN. It should be noted here that in the long-term evolution (LTE) system, the SN is called SCG, and the new radio (NR) is SN, which refers to the same concept, that is, the second service network device in the DC scenario. The applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect to the target network device; the terminal source network device disconnects and successfully connects with the target network device; the auxiliary cell group (SCG) connection fails, and the SCG changes Connection failed. Of course, it may also be that in a scenario where multiple SCGs are configured, one SCG connection fails; in a scenario where multiple target cells are configured, one target cell connection fails. There may also be other applicable scenarios, but in this embodiment, exhaustion is no longer performed.
可见,通过采用上述方案,能够配置至少一个目标网络设备所对应的至少一个定时器、和/或公共定时器;使得终端设备在配置了至少一个目标网络设备的时候,基于对应的定时器和/或公共定时器控制切换处理,从而能够保证重新与目标网络设备建立连接的处理效率。It can be seen that, by using the foregoing solution, at least one timer and / or common timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, based on the corresponding timer and / Or the common timer controls the switching process, thereby ensuring the processing efficiency of re-establishing a connection with the target network device.
实施例四、Embodiment 4
本发明实施例提供了一种源网络设备,如图6所示,包括:An embodiment of the present invention provides a source network device, as shown in FIG. 6, including:
第二通信单元61,向终端设备配置针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。The second communication unit 61 configures the terminal device with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least longer than the timer for at least one target network device Maximum duration.
另外,所述公共定时器的定时时长可以为大于全部定时器中定时时长最大的定时器的定时时长;或者,所述公共定时器的定时时长,还可以为全部定时器的定时时长总和;当然,所述公共定时器的定时时长,还可以大于全部定时器的定时时长总和。至少一个定时器以及公共定时器的时长均可以根据实际情况进行设置,这里不进行穷举。In addition, the timing duration of the common timer may be greater than the timing duration of the timer with the largest timing duration among all the timers; or the timing duration of the common timer may also be the sum of the timing durations of all the timers; of course The timing duration of the common timer may also be greater than the sum of the timing durations of all the timers. The duration of at least one timer and the common timer can be set according to the actual situation, and it is not exhaustive here.
所述第二通信单元61,在切换命令中携带针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器,发送所述切换命令至所述终端设备。The second communication unit 61 carries at least one timer for at least one target network device and / or a common timer in the handover command, and sends the handover command to the terminal device.
具体来说,终端设备的至少一个目标网络设备的至少一个定时器,可以通过源网络设备直接通过切换命令来配置,或者,还可以由目标网络设备通过源网络设备向终端设备转发。Specifically, at least one timer of at least one target network device of the terminal device may be configured by the source network device directly through a switch command, or may be forwarded by the target network device to the terminal device through the source network device.
关于切换的处理流程可以参见图3所示,包括:Refer to Figure 3 for the processing flow of handover, including:
切换准备阶段,包含图中步骤1-6:源网络设备向终端设备发送测量控制;终端设备进行针对多个网络设备或小区的测量之后,向源网络设备发送测量报告;源网络设备根据测量报告(或者结合RRM信息)进行切换决策;源网络设备向目标网络设备发送切换请求以使得目标网络设备准备进行切换;目标网络设备根据切换请求进行切换许可控制;目标网络设备确定进行切换时,向源网络设备发送切换请求确认。The handover preparation phase includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; after the terminal device performs measurements for multiple network devices or cells, it sends a measurement report to the source network device; the source network device according to the measurement report (Or combined with RRM information) to make a handover decision; the source network device sends a handover request to the target network device to prepare the target network device for handover; the target network device performs handover admission control based on the handover request; when the target network device determines to perform handover, The network device sends a handover request confirmation.
然后进行执行切换阶段,包含图中步骤7-11,具体的:目标网络设备生成RRC信息,将RRC连接重配置信息发送至源网络设备,由源网络设备通过RRC连接重配置信息发送至终端设备;终端设备接收到RRC连接重配置信息后,根据连接重配置信息执行切换处理;然后源网络设备发送SN状态传输至目标网络设备;终端设备与目标网络设备进行同步,然后接收目标网络设备进行UL分配,向目标网络设备发送RRC连接重配置完成信息。Then perform the handover phase, which includes steps 7-11 in the figure. Specifically: the target network device generates RRC information, sends the RRC connection reconfiguration information to the source network device, and the source network device sends the RRC connection reconfiguration information to the terminal device. ; After receiving the RRC connection reconfiguration information, the terminal device performs handover processing according to the connection reconfiguration information; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then receives the target network device for UL Allocate and send RRC connection reconfiguration completion information to the target network device.
最后进入切换完成阶段,包含图中12-18,具体的:目标网络设备向MME发送路径切换请求,以通知MME终端设备改变小区;MME向服务网关发送调整承载请求,由MME进行切换下行路径处理;服务网关完成处理后,向MME发送承载调整完成处理,并由MME向目标网络设备发送路径切换请求的确认消息;目标网络设备向源网络设备通知终端设备上下文释放由源网络设备释放资源。Finally, it enters the handover completion stage, including 12-18 in the figure. Specifically: the target network device sends a path switching request to the MME to notify the MME terminal device to change the cell; the MME sends a bearer adjustment request to the serving gateway, and the MME performs the downlink path switching process. After the serving gateway finishes processing, it sends a bearer adjustment completion process to the MME, and the MME sends a confirmation message of the path switching request to the target network device; the target network device notifies the source network device of the terminal device context release and the source network device releases the resources.
结合本实施例,当终端设备具备一个目标网络设备的时候,源网络设备可以通过切换命令直接 发送定时器,或者通过转发重配消息发送一个定时器,也就是针对该目标网络设备的一个定时器;当终端设备具备至少两个目标网络设备的时候,源网络设备可以直接通过切换指令配置至少两个定时器,和/或,公共定时器,或者,可以通过转发重配消息为终端设备配置至少两个定时器,和/或,公共定时器。In combination with this embodiment, when the terminal device has a target network device, the source network device can send a timer directly through a switch command, or send a timer by forwarding a reconfiguration message, that is, a timer for the target network device. ; When the terminal device has at least two target network devices, the source network device can directly configure at least two timers and / or public timers by switching instructions, or can configure the terminal device at least by forwarding reconfiguration messages Two timers, and / or, a common timer.
其中,可以针对每一个目标网络设备所对应的定时器和/或公共定时器均发送一个消息至终端设备;或者,可以为将全部目标网络设备的每一个目标网络设备所对应的定时器和/或公共定时器添加到同一个消息,然后仅向终端设备发送一条消息即可。A message may be sent to a terminal device for a timer and / or a common timer corresponding to each target network device; or, a timer and / Or the common timer is added to the same message, and then only one message is sent to the terminal device.
需要理解的是,重配消息中除了前述的定时器和/或公共定时器之外,还可以包括:移动控制信息、新的C-RNTI、第二目标网络设备的安全信息;另外,可选的还包括随机接入前导,第二目标网络设备的系统信息块(SIB)等信息。It should be understood that, in addition to the foregoing timers and / or common timers, the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, optional It also includes information such as the random access preamble, the system information block (SIB) of the second target network device.
所述源网络设备还包括:The source network device further includes:
第二处理单元62,基于至少一个网络设备对应的测量报告,选取目标网络设备;或者,从所述至少一个网络设备中随机选取目标网络设备。The second processing unit 62 selects the target network device based on the measurement report corresponding to the at least one network device; or randomly selects the target network device from the at least one network device.
其中,选取目标网络设备,可以为源网络设备接收到终端设备发来的至少一个网络设备的测量报告的时候,为终端设备选取至少一个目标网络设备;然后将至少一个目标网络设备的相关信息通过重配消息或切换命令发送至终端设备;需要指出的是,发送至少一个目标网络设备的时候还需要添加至少一个目标网络设备对应的至少一个定时器,和/或公共定时器。Wherein, selecting the target network device can select at least one target network device for the terminal device when the source network device receives the measurement report of at least one network device from the terminal device; and then pass the relevant information of the at least one target network device through A reconfiguration message or a switch command is sent to the terminal device; it should be noted that when sending at least one target network device, at least one timer corresponding to the at least one target network device and / or a common timer need to be added.
和/或,选取目标网络设备,还可以为当终端设备针对第一目标网络设备连接失败的时候,源网络设备从至少一个目标网络设备中再为终端设备选取第二目标网络设备,并将选取的第二目标网络设备通过重配消息或切换命令发送至终端设备;需要指出的是,发送第二目标网络设备的时候还需要添加第二目标网络设备对应的第二定时器。And / or, selecting the target network device, when the terminal device fails to connect to the first target network device, the source network device selects the second target network device for the terminal device from the at least one target network device, and selects the target network device. The second target network device is sent to the terminal device through a reconfiguration message or a handover command. It should be noted that when sending the second target network device, a second timer corresponding to the second target network device needs to be added.
本实施例所述第一目标网络设备以及第二目标网络设备为所述终端设备切换时的目标网络设备;或者,所述第一目标网络设备以及第二目标网络设备为辅助节点SN,所述源网络设备为主节点MN。此处需注意,长期演进(LTE)系统中,SN称为SCG,在新无线(NR)则为SN,指的是一样的概念,就是DC场景下的第二服务网络设备。本实施例可以适用的场景为:终端与源网络设备保持连接、与目标网络设备连接失败;终端源网络设备断开连接、与目标网络设备连接成功;辅助小区组(SCG)连接失败、SCG改变连接失败。当然,还可以有,在配置了多个SCG场景中,一个SCG连接失败;配置了多个目标小区的场景中,一个目标小区连接失败。还可能会存在其他的适用场景,只是本实施例中不再进行穷举。The first target network device and the second target network device in this embodiment are target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary nodes SN, and the The source network device is the master node MN. It should be noted here that in the long-term evolution (LTE) system, the SN is called SCG, and the new radio (NR) is SN, which refers to the same concept, that is, the second service network device in the DC scenario. The applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect to the target network device; the terminal source network device disconnects and successfully connects with the target network device; the auxiliary cell group (SCG) connection fails, and the SCG changes Connection failed. Of course, it may also be that in a scenario where multiple SCGs are configured, one SCG connection fails; in a scenario where multiple target cells are configured, one target cell connection fails. There may also be other applicable scenarios, but in this embodiment, exhaustion is no longer performed.
可见,通过采用上述方案,能够配置至少一个目标网络设备所对应的至少一个定时器、和/或公共定时器;使得终端设备在配置了至少一个目标网络设备的时候,基于对应的定时器和/或公共定时器控制切换处理,从而能够保证重新与目标网络设备建立连接的处理效率。It can be seen that, by using the foregoing solution, at least one timer and / or common timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, based on the corresponding timer and / Or the common timer controls the switching process, thereby ensuring the processing efficiency of re-establishing a connection with the target network device.
图7是本申请实施例提供的一种通信设备700示意性结构图,通信设备可以为本实施例前述的终端设备或者网络设备。图7所示的通信设备700包括处理器710,处理器710可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 7 is a schematic structural diagram of a communication device 700 according to an embodiment of the present application. The communication device may be the terminal device or the network device described in this embodiment. The communication device 700 shown in FIG. 7 includes a processor 710, and the processor 710 may call and run a computer program from a memory to implement the method in the embodiment of the present application.
可选地,如图7所示,通信设备700还可以包括存储器720。其中,处理器710可以从存储器720中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in FIG. 7, the communication device 700 may further include a memory 720. The processor 710 may call and run a computer program from the memory 720 to implement the method in the embodiment of the present application.
其中,存储器720可以是独立于处理器710的一个单独的器件,也可以集成在处理器710中。The memory 720 may be a separate device independent of the processor 710, or may be integrated in the processor 710.
可选地,如图7所示,通信设备700还可以包括收发器730,处理器710可以控制该收发器730与其他设备进行通信,具体地,可以向其他设备发送信息或数据,或接收其他设备发送的信息或数据。Optionally, as shown in FIG. 7, the communication device 700 may further include a transceiver 730, and the processor 710 may control the transceiver 730 to communicate with other devices. Specifically, it may send information or data to other devices, or receive other information. Information or data sent by the device.
其中,收发器730可以包括发射机和接收机。收发器730还可以进一步包括天线,天线的数量可以为一个或多个。The transceiver 730 may include a transmitter and a receiver. The transceiver 730 may further include antennas, and the number of antennas may be one or more.
可选地,该通信设备700具体可为本申请实施例的网络设备,并且该通信设备700可以实现本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 700 may specifically be a network device according to an embodiment of the present application, and the communication device 700 may implement a corresponding process implemented by a network device in each method of the embodiments of the present application. For brevity, details are not described herein again. .
可选地,该通信设备700具体可为本申请实施例的终端设备、或者网络设备,并且该通信设备700可以实现本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the communication device 700 may specifically be a terminal device or a network device in the embodiment of the present application, and the communication device 700 may implement the corresponding process implemented by the mobile terminal / terminal device in each method in the embodiments of the present application. Concise, I won't repeat them here.
图8是本申请实施例的芯片的示意性结构图。图8所示的芯片800包括处理器810,处理器810可以从存储器中调用并运行计算机程序,以实现本申请实施例中的方法。FIG. 8 is a schematic structural diagram of a chip according to an embodiment of the present application. The chip 800 shown in FIG. 8 includes a processor 810, and the processor 810 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
可选地,如图8所示,芯片800还可以包括存储器820。其中,处理器810可以从存储器820中调用并运行计算机程序,以实现本申请实施例中的方法。Optionally, as shown in FIG. 8, the chip 800 may further include a memory 820. The processor 810 may call and run a computer program from the memory 820 to implement the method in the embodiment of the present application.
其中,存储器820可以是独立于处理器810的一个单独的器件,也可以集成在处理器810中。The memory 820 may be a separate device independent of the processor 810, or may be integrated in the processor 810.
可选地,该芯片800还可以包括输入接口830。其中,处理器810可以控制该输入接口830与其他设备或芯片进行通信,具体地,可以获取其他设备或芯片发送的信息或数据。Optionally, the chip 800 may further include an input interface 830. The processor 810 may control the input interface 830 to communicate with other devices or chips. Specifically, the processor 810 may obtain information or data sent by other devices or chips.
可选地,该芯片800还可以包括输出接口840。其中,处理器810可以控制该输出接口840与其他设备或芯片进行通信,具体地,可以向其他设备或芯片输出信息或数据。Optionally, the chip 800 may further include an output interface 840. The processor 810 may control the output interface 840 to communicate with other devices or chips. Specifically, the processor 810 may output information or data to the other devices or chips.
可选地,该芯片可应用于本申请实施例中的网络设备,并且该芯片可以实现本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip may be applied to the network device in the embodiment of the present application, and the chip may implement the corresponding process implemented by the network device in each method of the embodiment of the present application. For brevity, details are not described herein again.
可选地,该芯片可应用于本申请实施例中的终端设备,并且该芯片可以实现本申请实施例的各个方法中由终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the chip may be applied to the terminal device in the embodiment of the present application, and the chip may implement the corresponding process implemented by the terminal device in each method of the embodiment of the present application. For brevity, details are not described herein again.
应理解,本申请实施例提到的芯片还可以称为系统级芯片,系统芯片,芯片系统或片上系统芯片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-level chip, a system chip, a chip system or a system-on-chip.
图9是本申请实施例提供的一种通信系统900的示意性框图。如图9所示,该通信系统900包括终端设备910和网络设备920。FIG. 9 is a schematic block diagram of a communication system 900 according to an embodiment of the present application. As shown in FIG. 9, the communication system 900 includes a terminal device 910 and a network device 920.
其中,该终端设备910可以用于实现上述方法中由终端设备实现的相应的功能,以及该网络设备920可以用于实现上述方法中由网络设备实现的相应的功能为了简洁,在此不再赘述。The terminal device 910 may be used to implement the corresponding functions implemented by the terminal device in the foregoing method, and the network device 920 may be used to implement the corresponding functions implemented by the network device in the foregoing method. For brevity, details are not described herein again. .
应理解,本申请实施例的处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(Digital Signal Processor,DSP)、专用集成电路(Application Specific Integrated Circuit,ASIC)、现成可编程门阵列(Field Programmable Gate Array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。It should be understood that the processor in the embodiment of the present application may be an integrated circuit chip and has a signal processing capability. In the implementation process, each step of the foregoing method embodiment may be completed by using an integrated logic circuit of hardware in a processor or an instruction in a form of software. The above processor may be a general-purpose processor, a digital signal processor (DSP), an application specific integrated circuit (ASIC), an off-the-shelf programmable gate array (Field, Programmable Gate Array, FPGA), or other Programming logic devices, discrete gate or transistor logic devices, discrete hardware components. Various methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. A general-purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present application may be directly implemented by a hardware decoding processor, or may be performed by using a combination of hardware and software modules in the decoding processor. The software module may be located in a mature storage medium such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, and the like. The storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the foregoing method in combination with its hardware.
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(Read-Only Memory,ROM)、可编程只读存储器(Programmable ROM,PROM)、可擦除可编程只读存储器(Erasable PROM,EPROM)、电可擦除可编程只读存储器(Electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(Random Access Memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(Static RAM,SRAM)、动态随机存取存储器(Dynamic RAM,DRAM)、同步动态随机存取存储器(Synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(Double Data Rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(Enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(Synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory in the embodiment of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. 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), and an electronic memory. Erase programmable read-only memory (EPROM, EEPROM) or flash memory. The volatile memory may be Random Access Memory (RAM), which is used as an external cache. By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (Synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (Double SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (Enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (Synchlink DRAM, SLDRAM ) And direct memory bus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.
应理解,上述存储器为示例性但不是限制性说明,例如,本申请实施例中的存储器还可以是静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器(enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synch link DRAM,SLDRAM)以及直接内存总线随机存取存储器(Direct Rambus RAM,DR RAM)等等。也就是说,本申请实施例中的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It should be understood that the foregoing memory is exemplary but not restrictive. For example, the memory in the embodiment of the present application may also be a static random access memory (static RAM, SRAM), a dynamic random access memory (dynamic RAM, DRAM), Synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (Double SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection Dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct RAMbus RAM, DR RAM) and so on. That is, the memories in the embodiments of the present application are intended to include, but not limited to, these and any other suitable types of memories.
本申请实施例还提供了一种计算机可读存储介质,用于存储计算机程序。An embodiment of the present application further provides a computer-readable storage medium for storing a computer program.
可选的,该计算机可读存储介质可应用于本申请实施例中的网络设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the network device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the network device in each method in the embodiment of the present application. No longer.
可选地,该计算机可读存储介质可应用于本申请实施例中的终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer-readable storage medium can be applied to the terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the mobile terminal / terminal device in each method of the embodiment of the present application, for the sake of brevity , Will not repeat them here.
本申请实施例还提供了一种计算机程序产品,包括计算机程序指令。An embodiment of the present application further provides a computer program product, including computer program instructions.
可选的,该计算机程序产品可应用于本申请实施例中的网络设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to the network device in the embodiment of the present application, and the computer program instruction causes the computer to execute a corresponding process implemented by the network device in each method in the embodiment of the present application. More details.
可选地,该计算机程序产品可应用于本申请实施例中的移动终端/终端设备,并且该计算机程序指令使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program product can be applied to a mobile terminal / terminal device in the embodiments of the present application, and the computer program instructions cause the computer to execute a corresponding process implemented by the mobile terminal / terminal device in each method in the embodiments of the present application, For brevity, I will not repeat them here.
本申请实施例还提供了一种计算机程序。The embodiment of the present application also provides a computer program.
可选的,该计算机程序可应用于本申请实施例中的网络设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由网络设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program may be applied to a network device in the embodiment of the present application. When the computer program is run on a computer, the computer is caused to execute a corresponding process implemented by the network device in each method in the embodiment of the present application. , Will not repeat them here.
可选地,该计算机程序可应用于本申请实施例中的移动终端/终端设备,当该计算机程序在计算机上运行时,使得计算机执行本申请实施例的各个方法中由移动终端/终端设备实现的相应流程,为了简洁,在此不再赘述。Optionally, the computer program may be applied to a mobile terminal / terminal device in the embodiment of the present application. When the computer program is run on a computer, the computer executes each method in the embodiment of the application by the mobile terminal / terminal device. The corresponding processes are not repeated here for brevity.
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。Those of ordinary skill in the art may realize that the units and algorithm steps of each example described in connection with the embodiments disclosed herein can be implemented by electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices, and units described above can refer to the corresponding processes in the foregoing method embodiments, and are not repeated here.
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed systems, devices, and methods may be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the unit is only a logical function division. In actual implementation, there may be another division manner. For example, multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器(Read-Only Memory,)ROM、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of this application is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application. The aforementioned storage media include: U disk, mobile hard disk, read-only memory (Read-Only Memory) ROM, random access memory (Random Access Memory, RAM), magnetic disks or optical disks and other media that can store program codes .
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应所述以权利要求的保护范围为准。The above is only a specific implementation of this application, but the scope of protection of this application is not limited to this. Any person skilled in the art can easily think of changes or replacements within the technical scope disclosed in this application. It should be covered by the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims.

Claims (41)

  1. 一种切换定时方法,应用于终端设备,包括:A switching timing method applied to a terminal device includes:
    接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;Receiving at least one timer for at least one target network device, and / or a common timer;
    其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。The duration of the common timer is at least greater than the maximum duration of a timer for at least one target network device.
  2. 根据权利要求1所述的方法,其中,所述接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器,包括:The method according to claim 1, wherein said receiving at least one timer for at least one target network device and / or a common timer comprises:
    接收切换命令,通过所述切换命令获取针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器。Receive a handover command, and obtain at least one timer for at least one target network device and / or a common timer through the handover command.
  3. 根据权利要求1或2所述的方法,其中,所述接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器之后,所述方法还包括:The method according to claim 1 or 2, wherein after receiving at least one timer for at least one target network device, and / or after a common timer, the method further comprises:
    当接收到切换命令时,启动公共定时器,向第一目标网络设备发起连接。When a handover command is received, a common timer is started to initiate a connection to the first target network device.
  4. 根据权利要求3所述的方法,其中,所述向第一目标网络设备发起连接之后,所述方法还包括:The method according to claim 3, wherein after the initiating a connection to the first target network device, the method further comprises:
    当连接第一目标网络设备失败、或者当公共定时器停止且连接所述第一目标网络设备不成功时,确定第二目标网络设备,重新启动公共定时器,向所述第二目标网络设备发起连接。When the connection to the first target network device fails, or when the common timer stops and the first target network device fails to connect, determine the second target network device, restart the common timer, and initiate to the second target network device connection.
  5. 根据权利要求4所述的方法,其中,所述确定第二目标网络设备,重新启动公共定时器,向所述第二目标网络设备发起连接时,所述方法还包括:The method according to claim 4, wherein when determining the second target network device, restarting a common timer, and initiating a connection to the second target network device, the method further comprises:
    判断重新启动所述公共定时器的次数是否超过预设次数门限值,若超过,则确认切换失败,返回与源网络设备的连接、或者、发起连接重建;Judging whether the number of restarting the public timer exceeds a preset number of times threshold; if it exceeds, confirming that the handover fails, returning to the connection with the source network device, or initiating connection reestablishment;
    或者,or,
    判断重新选取目标网络设备的次数是否超过预设选取门限值,若超过,则确认切换失败,返回与源网络设备的连接、或者、发起连接重建。It is determined whether the number of times of reselecting the target network device exceeds a preset selection threshold. If the number of times of reselecting the target network device exceeds the preset selection threshold, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated.
  6. 根据权利要求3所述的方法,其中,所述向第一目标网络设备发起连接之后,所述方法还包括:The method according to claim 3, wherein after the initiating a connection to the first target network device, the method further comprises:
    当连接第一目标网络设备失败、且所述公共定时器未超时,从至少一个目标网络设备中选取第二目标网络设备向所述第二目标网络设备发起连接;When the connection to the first target network device fails and the common timer does not expire, selecting a second target network device from at least one target network device to initiate a connection to the second target network device;
    或者,or,
    当第一目标网络设备连接失败、且所述公共定时器未超时,获取切换命令中配置的第二目标网络设备,向所述第二目标网络设备发起连接。When the connection of the first target network device fails and the common timer does not expire, the second target network device configured in the handover command is acquired, and a connection is initiated to the second target network device.
  7. 根据权利要求6所述的方法,其中,所述方法还包括:The method according to claim 6, wherein the method further comprises:
    当所述公共定时器超时,确认切换失败,返回与源网络设备的连接、或者、发起连接重建。When the common timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated.
  8. 根据权利要求1或2所述的方法,其中,所述接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器之后,所述方法还包括:The method according to claim 1 or 2, wherein after receiving at least one timer for at least one target network device, and / or after a common timer, the method further comprises:
    当接收到切换命令时,启动针对第一目标网络设备的第一定时器,向第一目标网络设备发起连接。When a handover command is received, a first timer for the first target network device is started, and a connection is initiated to the first target network device.
  9. 根据权利要求8所述的方法,其中,所述向第一目标网络设备发起连接之后,所述方法还包括:The method according to claim 8, wherein after the initiating a connection to the first target network device, the method further comprises:
    当第一目标网络设备连接失败时,从至少一个目标网络设备中选取第二目标网络设备发起连接,并启动所述第二目标网络设备的第二定时器;When the first target network device fails to connect, selecting a second target network device from at least one target network device to initiate a connection, and starting a second timer of the second target network device;
    或者,or,
    当第一目标网络设备连接失败时,获取切换命令中配置的第二目标网络设备,向所述第二目标网络设备发起连接,并启动所述第二目标网络设备的第二定时器。When the connection of the first target network device fails, the second target network device configured in the handover command is acquired, a connection is initiated to the second target network device, and a second timer of the second target network device is started.
  10. 根据权利要求1或2所述的方法,其中,所述接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器之后,所述方法还包括:The method according to claim 1 or 2, wherein after receiving at least one timer for at least one target network device, and / or after a common timer, the method further comprises:
    当接收到切换命令时,启动第一目标网络设备的第一定时器、并启动公共定时器,向第一目标网络设备发起连接。When a handover command is received, a first timer of a first target network device is started, and a common timer is started to initiate a connection to the first target network device.
  11. 根据权利要求10所述的方法,其中,所述向第一目标网络设备发起连接之后,所述方法还包括:The method according to claim 10, wherein after the initiating a connection to the first target network device, the method further comprises:
    当第一目标网络设备的第一定时器停止、和/或连接第一目标网络设备失败时,若公共定时器未超时,则从至少一个目标网络设备中选取第二目标网络设备,向第二目标网络设备发起连接、并启动第二目标网络设备的定时器;When the first timer of the first target network device stops and / or the connection to the first target network device fails, if the common timer has not timed out, the second target network device is selected from at least one target network device and sent to the second The target network device initiates a connection and starts a timer of the second target network device;
    或者,or,
    当第一目标网络设备的第一定时器停止、和/或连接第一目标网络设备失败时,若公共定时器未超时,则基于切换命令获取第二目标网络设备,向第二目标网络设备发起连接、并启动第二目标网络设备的定时器。When the first timer of the first target network device stops and / or the connection to the first target network device fails, if the common timer has not expired, the second target network device is acquired based on the handover command, and initiated to the second target network device Connect and start the timer of the second target network device.
  12. 根据权利要求11所述的方法,其中,所述方法还包括:The method according to claim 11, wherein the method further comprises:
    当所述公共定时器超时,确认切换失败,返回与源网络设备的连接、或者、发起连接重建。When the common timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated.
  13. 根据权利要求1-12任一项所述的方法,其中,The method according to any one of claims 1-12, wherein:
    所述第一目标网络设备以及第二目标网络设备为所述终端设备切换时的目标网络设备;The first target network device and the second target network device are target network devices when the terminal device is switched;
    或者,or,
    所述第一目标网络设备以及第二目标网络设备为辅助节点SN,所述源网络设备为主节点MN。The first target network device and the second target network device are auxiliary nodes SN, and the source network device is a master node MN.
  14. 一种切换定时方法,应用于源网络设备,包括:A switching timing method applied to a source network device includes:
    向终端设备配置针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。The terminal device is configured with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device.
  15. 根据权利要求14所述的方法,其中,所述向终端设备配置针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器,包括:The method according to claim 14, wherein the configuring the terminal device with at least one timer for at least one target network device and / or a common timer comprises:
    在切换命令中携带针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器,发送所述切换命令至所述终端设备。The handover command carries at least one timer for at least one target network device, and / or a common timer, and sends the handover command to the terminal device.
  16. 根据权利要求14所述的方法,其中,所述方法还包括:The method according to claim 14, wherein the method further comprises:
    基于至少一个网络设备对应的测量报告,选取目标网络设备;Selecting a target network device based on a measurement report corresponding to at least one network device;
    或者,从所述至少一个网络设备中随机选取目标网络设备。Alternatively, a target network device is randomly selected from the at least one network device.
  17. 根据权利要求14-16任一项所述的方法,其中,The method according to any one of claims 14-16, wherein:
    所述第一目标网络设备以及第二目标网络设备为所述终端设备切换时的目标网络设备;The first target network device and the second target network device are target network devices when the terminal device is switched;
    或者,or,
    所述第一目标网络设备以及第二目标网络设备为辅助节点SN,所述源网络设备为主节点MN。The first target network device and the second target network device are auxiliary nodes SN, and the source network device is a master node MN.
  18. 一种终端设备,包括:A terminal device includes:
    第一通信单元,接收针对至少一个目标网络设备的至少一个定时器,和/或,公共定 时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。The first communication unit receives at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least greater than the maximum duration of the timer for at least one target network device.
  19. 根据权利要求18所述的终端设备,其中,所述第一通信单元,The terminal device according to claim 18, wherein the first communication unit,
    接收切换命令,通过所述切换命令获取针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器。Receive a handover command, and obtain at least one timer for at least one target network device and / or a common timer through the handover command.
  20. 根据权利要求18或19所述的终端设备,其中,所述终端设备还包括:The terminal device according to claim 18 or 19, wherein the terminal device further comprises:
    第一处理单元,当接收到切换命令时,启动公共定时器,通过第一通信单元向第一目标网络设备发起连接。The first processing unit, when receiving the handover command, starts a common timer and initiates a connection to the first target network device through the first communication unit.
  21. 根据权利要求20所述的终端设备,其中,所述第一处理单元,当连接第一目标网络设备失败、或者当公共定时器停止且连接所述第一目标网络设备不成功时,确定第二目标网络设备,重新启动公共定时器,通过第一通信单元,向所述第二目标网络设备发起连接。The terminal device according to claim 20, wherein the first processing unit determines a second when a connection to the first target network device fails or when a common timer stops and the first target network device fails to connect. The target network device restarts the common timer, and initiates a connection to the second target network device through the first communication unit.
  22. 根据权利要求21所述的终端设备,其中,所述第一处理单元,The terminal device according to claim 21, wherein the first processing unit,
    判断重新启动所述公共定时器的次数是否超过预设次数门限值,若超过,则确认切换失败,返回与源网络设备的连接、或者、发起连接重建;Judging whether the number of restarting the public timer exceeds a preset number of times threshold; if it exceeds, confirming that the handover fails, returning to the connection with the source network device, or initiating connection reestablishment;
    或者,or,
    判断重新选取目标网络设备的次数是否超过预设选取门限值,若超过,则确认切换失败,返回与源网络设备的连接、或者、发起连接重建。It is determined whether the number of times of reselecting the target network device exceeds a preset selection threshold. If the number of times of reselecting the target network device exceeds the preset selection threshold, it is confirmed that the handover fails, and the connection with the source network device is returned, or connection reestablishment is initiated.
  23. 根据权利要求20所述的终端设备,其中,所述第一处理单元,The terminal device according to claim 20, wherein the first processing unit,
    当连接第一目标网络设备失败、且所述公共定时器未超时,从至少一个目标网络设备中选取第二目标网络设备,通过第一通信单元向所述第二目标网络设备发起连接;When the connection to the first target network device fails and the common timer does not expire, selecting a second target network device from at least one target network device, and initiating a connection to the second target network device through the first communication unit;
    或者,or,
    当第一目标网络设备连接失败、且所述公共定时器未超时,获取切换命令中配置的第二目标网络设备,通过第一通信单元向所述第二目标网络设备发起连接。When the connection of the first target network device fails and the common timer does not expire, the second target network device configured in the handover command is acquired, and a connection is initiated to the second target network device through the first communication unit.
  24. 根据权利要求23所述的终端设备,其中,所述第一处理单元,当所述公共定时器超时,确认切换失败,通过第一通信单元返回与源网络设备的连接、或者、发起连接重建。The terminal device according to claim 23, wherein the first processing unit, when the common timer expires, confirms that the handover fails, and returns the connection with the source network device through the first communication unit, or initiates connection reestablishment.
  25. 根据权利要求18或19所述的终端设备,其中,所述终端设备还包括:The terminal device according to claim 18 or 19, wherein the terminal device further comprises:
    第一处理单元,当接收到切换命令时,启动针对第一目标网络设备的第一定时器,通过第一通信单元向第一目标网络设备发起连接。The first processing unit, when receiving the handover command, starts a first timer for the first target network device, and initiates a connection to the first target network device through the first communication unit.
  26. 根据权利要求25所述的终端设备,其中,所述第一处理单元,当第一目标网络设备连接失败时,从至少一个目标网络设备中选取第二目标网络设备发起连接,并启动所述第二目标网络设备的第二定时器;The terminal device according to claim 25, wherein the first processing unit selects a second target network device from at least one target network device to initiate a connection when the first target network device fails to connect, and starts the first target network device. A second timer of two target network devices;
    或者,or,
    当第一目标网络设备连接失败时,获取切换命令中配置的第二目标网络设备,向所述第二目标网络设备发起连接,并启动所述第二目标网络设备的第二定时器。When the connection of the first target network device fails, the second target network device configured in the handover command is acquired, a connection is initiated to the second target network device, and a second timer of the second target network device is started.
  27. 根据权利要求18或19所述的终端设备,其中,所述终端设备还包括:The terminal device according to claim 18 or 19, wherein the terminal device further comprises:
    第一处理单元,当接收到切换命令时,启动第一目标网络设备的第一定时器、并启动公共定时器,通过第一通信单元向第一目标网络设备发起连接。The first processing unit, when receiving the handover command, starts a first timer of the first target network device and starts a common timer, and initiates a connection to the first target network device through the first communication unit.
  28. 根据权利要求27所述的终端设备,其中,所述第一处理单元,The terminal device according to claim 27, wherein the first processing unit,
    当第一目标网络设备的第一定时器停止、和/或连接第一目标网络设备失败时,若公共定时器未超时,则从至少一个目标网络设备中选取第二目标网络设备,向第二目标网络设备发起连接、并启动第二目标网络设备的定时器;When the first timer of the first target network device stops and / or the connection to the first target network device fails, if the common timer has not timed out, the second target network device is selected from at least one target network device and sent to the second The target network device initiates a connection and starts a timer of the second target network device;
    或者,or,
    当第一目标网络设备的第一定时器停止、和/或连接第一目标网络设备失败时,若公共定时器未超时,则基于切换命令获取第二目标网络设备,向第二目标网络设备发起连接、并启动第二目标网络设备的定时器。When the first timer of the first target network device stops and / or the connection to the first target network device fails, if the common timer has not expired, the second target network device is acquired based on the handover command, and initiated to the second target network device Connect and start the timer of the second target network device.
  29. 根据权利要求28所述的终端设备,其中,所述第一处理单元,当所述公共定时器超时,确认切换失败,控制通过第一通信单元返回与源网络设备的连接、或者、发起连接重建。The terminal device according to claim 28, wherein the first processing unit, when the common timer expires, confirms that the handover fails, and controls to return the connection with the source network device through the first communication unit, or initiate connection reestablishment .
  30. 根据权利要求18-29任一项所述的终端设备,其中,The terminal device according to any one of claims 18-29, wherein:
    所述第一目标网络设备以及第二目标网络设备为所述终端设备切换时的目标网络设备;The first target network device and the second target network device are target network devices when the terminal device is switched;
    或者,or,
    所述第一目标网络设备以及第二目标网络设备为辅助节点SN,所述源网络设备为主节点MN。The first target network device and the second target network device are auxiliary nodes SN, and the source network device is a master node MN.
  31. 一种源网络设备,包括:A source network device includes:
    第二通信单元,向终端设备配置针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器;其中,所述公共定时器的时长至少大于针对至少一个目标网络设备的定时器的最大时长。The second communication unit configures the terminal device with at least one timer for at least one target network device, and / or a common timer; wherein the duration of the common timer is at least longer than that of the timer for at least one target network device. Maximum duration.
  32. 根据权利要求31所述的源网络设备,其中,所述第二通信单元,The source network device according to claim 31, wherein the second communication unit is
    在切换命令中携带针对至少一个目标网络设备的至少一个定时器,和/或,公共定时器,发送所述切换命令至所述终端设备。The handover command carries at least one timer for at least one target network device, and / or a common timer, and sends the handover command to the terminal device.
  33. 根据权利要求31所述的源网络设备,其中,所述源网络设备还包括:The source network device according to claim 31, wherein the source network device further comprises:
    第二处理单元,基于至少一个网络设备对应的测量报告,选取目标网络设备;A second processing unit, selecting a target network device based on a measurement report corresponding to at least one network device;
    或者,从所述至少一个网络设备中随机选取目标网络设备。Alternatively, a target network device is randomly selected from the at least one network device.
  34. 根据权利要求31-33任一项所述的源网络设备,其中,The source network device according to any one of claims 31-33, wherein:
    所述第一目标网络设备以及第二目标网络设备为所述终端设备切换时的目标网络设备;The first target network device and the second target network device are target network devices when the terminal device is switched;
    或者,or,
    所述第一目标网络设备以及第二目标网络设备为辅助节点SN,所述源网络设备为主节点MN。The first target network device and the second target network device are auxiliary nodes SN, and the source network device is a master node MN.
  35. 一种终端设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,A terminal device includes a processor and a memory for storing a computer program capable of running on the processor,
    其中,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求1-13任一项所述方法的步骤。The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, and execute the steps of the method according to any one of claims 1-13.
  36. 一种网络设备,包括:处理器和用于存储能够在处理器上运行的计算机程序的存储器,A network device including a processor and a memory for storing a computer program capable of running on the processor,
    其中,该存储器用于存储计算机程序,所述处理器用于调用并运行所述存储器中存储的计算机程序,执行如权利要求14-17任一项所述方法的步骤。The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory, and execute the steps of the method according to any one of claims 14-17.
  37. 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求1-13中任一项所述的方法。A chip includes a processor for calling and running a computer program from a memory, so that a device having the chip installed executes the method according to any one of claims 1-13.
  38. 一种芯片,包括:处理器,用于从存储器中调用并运行计算机程序,使得安装有所述芯片的设备执行如权利要求14-17中任一项所述的方法。A chip includes: a processor for calling and running a computer program from a memory, so that a device having the chip installed executes the method according to any one of claims 14-17.
  39. 一种计算机可读存储介质,所述计算机可读存储介质用于存储计算机程序,所述计算机程序使得计算机执行如权利要求1-17任一项所述方法的步骤。A computer-readable storage medium for storing a computer program, the computer program causing a computer to perform the steps of the method according to any one of claims 1-17.
  40. 一种计算机程序产品,包括计算机程序指令,该计算机程序指令使得计算机执行如权利要求1-17中任一项所述的方法。A computer program product includes computer program instructions that cause a computer to perform the method according to any one of claims 1-17.
  41. 一种计算机程序,所述计算机程序使得计算机执行如权利要求1-17中任一项所述的方法。A computer program that causes a computer to perform the method according to any one of claims 1-17.
PCT/CN2018/108139 2018-09-27 2018-09-27 Handover timing method, terminal device and network device WO2020061962A1 (en)

Priority Applications (3)

Application Number Priority Date Filing Date Title
CN201880092310.7A CN112106403B (en) 2018-09-27 2018-09-27 Switching timing method, terminal equipment and network equipment
PCT/CN2018/108139 WO2020061962A1 (en) 2018-09-27 2018-09-27 Handover timing method, terminal device and network device
TW108134952A TW202025842A (en) 2018-09-27 2019-09-26 Handover timing method, terminal device and network device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2018/108139 WO2020061962A1 (en) 2018-09-27 2018-09-27 Handover timing method, terminal device and network device

Publications (1)

Publication Number Publication Date
WO2020061962A1 true WO2020061962A1 (en) 2020-04-02

Family

ID=69950922

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2018/108139 WO2020061962A1 (en) 2018-09-27 2018-09-27 Handover timing method, terminal device and network device

Country Status (3)

Country Link
CN (1) CN112106403B (en)
TW (1) TW202025842A (en)
WO (1) WO2020061962A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363970A (en) * 2020-08-25 2022-04-15 华为技术有限公司 Communication method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103053195A (en) * 2010-08-12 2013-04-17 Lg电子株式会社 Apparatus and method of reporting measurement result in wireless communication system
WO2013134947A1 (en) * 2012-03-16 2013-09-19 富士通株式会社 Method, user equipment, and base station for reporting switch identity
CN106538014A (en) * 2014-07-15 2017-03-22 株式会社Ntt都科摩 User Device, Mobile Communication System And Deactivating Timer Control Method
WO2018133831A1 (en) * 2017-01-20 2018-07-26 北京佰才邦技术有限公司 Automatic switching method for terminal, base station, and terminal

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3120596B1 (en) * 2014-03-21 2020-09-09 Samsung Electronics Co., Ltd. Method and apparatus for controlling waiting time for determination of radio link failure in wireless communication system
JP2015216502A (en) * 2014-05-09 2015-12-03 株式会社Nttドコモ User device and method
EP3527001A4 (en) * 2016-10-11 2020-06-03 Telefonaktiebolaget LM Ericsson (publ) Data transmission during handover
CN108243468B (en) * 2016-12-23 2021-09-21 夏普株式会社 User mobility method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103053195A (en) * 2010-08-12 2013-04-17 Lg电子株式会社 Apparatus and method of reporting measurement result in wireless communication system
WO2013134947A1 (en) * 2012-03-16 2013-09-19 富士通株式会社 Method, user equipment, and base station for reporting switch identity
CN106538014A (en) * 2014-07-15 2017-03-22 株式会社Ntt都科摩 User Device, Mobile Communication System And Deactivating Timer Control Method
WO2018133831A1 (en) * 2017-01-20 2018-07-26 北京佰才邦技术有限公司 Automatic switching method for terminal, base station, and terminal

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PANASONIC: "R2-082943: Remaining Issues on Handover Procedure", 3GPP TSG RAN WG2 RRC ADHOC, 2 June 2008 (2008-06-02), XP050142133 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114363970A (en) * 2020-08-25 2022-04-15 华为技术有限公司 Communication method and device
CN114363970B (en) * 2020-08-25 2024-04-09 华为技术有限公司 Communication method and device

Also Published As

Publication number Publication date
CN112106403B (en) 2022-03-22
CN112106403A (en) 2020-12-18
TW202025842A (en) 2020-07-01

Similar Documents

Publication Publication Date Title
WO2020164016A1 (en) Cell switching method and device
WO2020061931A1 (en) Method for switching reporting, terminal device and network device
WO2019237763A1 (en) Rlf processing method and apparatus, and communication device
US11736994B2 (en) Network device handover method and terminal device
WO2020155172A1 (en) Service processing method and apparatus, chip, and computer program
WO2020019230A1 (en) Resource configuration method and device, terminal device and network device
WO2021031010A1 (en) Communication method, terminal device and network device
US11611925B2 (en) Switching processing method, terminal device and network device
WO2020248283A1 (en) Wireless communication method and apparatus, and terminal device
WO2020061962A1 (en) Handover timing method, terminal device and network device
WO2020113520A1 (en) Connection establishing method, network device, and terminal device
WO2020061851A1 (en) Wireless communication method and base station
WO2020000174A1 (en) Core network selection method and apparatus, terminal device and network device
WO2022083469A1 (en) Method and apparatus for determining mro critical scenario, and device
JP7301961B2 (en) Parameter setting method, terminal device and storage medium
WO2020061943A1 (en) Data transmission method, terminal device and network device
WO2020191556A1 (en) Handover processing method, terminal device and network device
WO2020199103A1 (en) Information transmission method, terminal device, base station and core network device
WO2020029275A1 (en) Wireless communication method, terminal device, and network device
WO2020061995A1 (en) Information transmission method and apparatus, and terminal and network device
WO2020155157A1 (en) Security information processing method and apparatus during handover process, network device, and terminal
WO2020082327A1 (en) Method and apparatus for signaling interaction during switching process, and network device
WO2020010612A1 (en) Beam failure recovery implementation method, apparatus, chip, and computer program
WO2023035240A1 (en) Method and apparatus for controlling random access, and terminal device
WO2020061947A1 (en) Timer-based processing method, terminal device and network device

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 18935367

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 18935367

Country of ref document: EP

Kind code of ref document: A1