Method and apparatus for switching base station, communication system, and non-transitory storage medium
By sending a handover request to the target base station and generating reconfiguration information, the control terminal synchronizes time with the target base station, solving the problem of low time synchronization accuracy during base station handover and achieving higher time synchronization accuracy.
Patent Information
- Application Number
- CN202211569805.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-07
- Publication Date
- 2026-02-06
- Estimated Expiration
- 2042-12-07
AI Technical Summary
The relevant technologies cannot effectively assist terminals in compensating for propagation delays, resulting in low time synchronization accuracy during base station handover.
Send a handover request to the target base station, receive a response message and generate reconfiguration information, control the terminal to synchronize time with the target base station through a handover command, obtain the time synchronization error and complete the handover when the error is less than a preset threshold.
It improves the time synchronization accuracy between the terminal and the target base station, and solves the problem of low time synchronization granularity during base station handover.
Smart Images

Figure CN115767707B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of communication, in particular to a method and device for switching base stations, a communication system and a nonvolatile storage medium. BACKGROUND
[0002] When a terminal is in a connected state, the terminal continuously monitors mobility management reference signals of a current cell and other cells. When a signal strength of the other cells is obviously better than that of the current cell, the terminal is switched from the current cell to a target cell with better signal strength. In order to ensure the communication quality of time-sensitive services, the terminal needs to perform propagation time compensation to strictly control the switching time delay. Related technologies cannot well assist the terminal in performing the propagation time compensation, and therefore, there is a problem of low time synchronization accuracy.
[0003] No effective solutions have been proposed yet for the above problem. SUMMARY
[0004] Embodiments of the present application provide a method and device for switching base stations, a communication system and a nonvolatile storage medium, to at least solve the technical problem of low time synchronization granularity in the base station switching process caused by the fact that related technologies cannot well assist the terminal in performing the propagation time compensation.
[0005] According to an aspect of embodiments of the present application, a method for switching base stations is provided, including: sending a switching request to a target base station, wherein the switching request is used to request switching a terminal from a source base station to the target base station; receiving a response message of the switching request, wherein the response message is generated by the target base station according to a type of the target base station and the switching request, the type of the target base station includes a dual-connection configuration base station and a single-connection configuration base station, and the type of the target base station is different, and the corresponding response message is also different; generating reconfiguration information according to the response message, and sending the reconfiguration information and a switching command to the terminal, wherein the switching command is used to control the terminal to perform time synchronization between the terminal and the target base station according to the reconfiguration information; obtaining a time synchronization error after the terminal performs time synchronization with the target base station, and switching the terminal from the source base station to the target base station when the time synchronization error is less than or equal to a preset threshold.
[0006] Optionally, in the case that the type of the target base station is a dual connectivity configuration base station, the response message is a first response message, wherein the first response message comprises: first confirmation information, a first connection indication, and a first preamble, the first confirmation information comprises: a list of PDU session identifiers of the dual connectivity configuration base station, each service policy corresponding to each PDU session identifier in the list of PDU session identifiers, a first time synchronization granularity of the dual connectivity configuration base station, a first time synchronization difference between the dual connectivity configuration base station and the source base station, the first connection indication is used to indicate that the type of the target base station is dual connectivity configuration, and the first preamble is used to indicate a first target cell within a coverage range of the dual connectivity configuration base station, the first time synchronization granularity is used to indicate a time for the dual connectivity configuration base station to perform time synchronization with the terminal, and the first time synchronization difference is a time difference between the target base station and the dual connectivity configuration base station; in the case that the type of the target base station is a single connectivity configuration base station, the response message is a second response message, wherein the second response message comprises: second confirmation information, a second connection indication, and a second preamble, the second confirmation information comprises: a list of PDU session identifiers of the single connectivity configuration base station, each service policy corresponding to each PDU session identifier in the list of PDU session identifiers, a second time synchronization granularity of the single connectivity configuration base station, a second time synchronization difference between the single connectivity configuration base station and the source base station, the second connection indication is used to indicate that the type of the target base station is single connectivity configuration, and the second preamble is used to indicate a second target cell within a coverage range of the single connectivity configuration base station, the second time synchronization granularity is used to indicate a time for the single connectivity configuration base station to perform time synchronization with the terminal, and the second time synchronization difference is a time difference between the target base station and the single connectivity configuration base station.
[0007] Optionally, the dual connectivity configuration base station sends the first response message in the following manner: if the target base station is a dual connectivity configuration base station, obtaining a time synchronization granularity of a master node of the dual connectivity configuration base station, a time synchronization difference between the master node and the source base station, a time synchronization granularity of a secondary node of the dual connectivity configuration base station, and a time synchronization difference between the secondary node and the source base station; if the time synchronization granularity of the master node and the time synchronization granularity of the secondary node both belong to a first preset interval, and the time synchronization difference between the master node and the source base station and the time synchronization difference between the secondary node and the source base station both belong to a second preset interval, it is determined that the dual connectivity configuration base station meets the service requirement of the terminal, and the first response message is sent; if the time synchronization granularity of the master node or the time synchronization granularity of the secondary node does not belong to the first preset interval, or the time synchronization difference between the master node and the source base station or the time synchronization difference between the secondary node and the source base station does not belong to the second preset interval, it is determined that the dual connectivity configuration base station does not meet the service requirement of the terminal, and the first response message is refused to be sent.
[0008] Optionally, the single-connection configuration base station sends the second response message in the following manner: if the target base station is the single-connection configuration base station, obtaining a time synchronization difference between the single-connection configuration base station and the source base station and a time synchronization granularity of the single-connection configuration base station; if the time synchronization difference between the single-connection configuration base station and the source base station belongs to a second preset interval and the time synchronization granularity of the single-connection configuration base station belongs to a first preset interval, determining that the single-connection configuration base station meets the service requirement of the terminal and sending the second response message; and if the time synchronization difference between the single-connection configuration base station and the source base station does not belong to the second preset interval, determining that the single-connection configuration base station does not meet the service requirement of the terminal and refusing to send the second response message.
[0009] Optionally, the reconfiguration information is generated according to the response message, including: if the response message is the first response message and the first target cell belongs to the master node, the reconfiguration information is first reconfiguration information, wherein the first reconfiguration information includes: an identifier of the first target cell, system information of the first target cell, a time synchronization difference between the master node and the source base station, a time synchronization granularity of the master node, and a first preamble; if the response message is the first response message and the first target cell belongs to the secondary node, the reconfiguration information is second reconfiguration information, wherein the second reconfiguration information includes: an identifier of the first target cell, system information of the first target cell, a time synchronization difference between the secondary node and the source base station, a time synchronization granularity of the secondary node, and the first preamble; and if the response message is the second response message, the reconfiguration information is third reconfiguration information, wherein the third reconfiguration information includes: an identifier of the second target cell, system information of the second target cell, a time synchronization granularity of the single-connection configuration base station, a time synchronization difference between the single-connection configuration base station and the source base station, and a second preamble.
[0010] Optionally, the terminal is time-synchronized with the target base station according to the reconfiguration information by the switching command, including: if the target base station is a dual connectivity configuration base station, the terminal is connected with a first target cell and receives first access response information sent by the dual connectivity configuration base station, wherein the first access response information includes first timing advance information generated according to a first time synchronization difference and a first time synchronization error compensation parameter, the first timing advance information is information indicating that the terminal is time-synchronized with the dual connectivity configuration base station, and the first time synchronization error compensation parameter is a compensation delay of the dual connectivity configuration base station for time-sensitive services; the terminal is time-synchronized with the dual connectivity configuration base station according to the first timing advance information and the first time synchronization error compensation parameter; if the target base station is a single connectivity configuration base station, the terminal is connected with a second target cell and receives second access response information sent by the single connectivity configuration base station, wherein the second access response information includes second timing advance information generated according to a second time synchronization difference and a second time synchronization error compensation parameter, the second timing advance information is information indicating that the terminal is time-synchronized with the dual connectivity configuration base station, and the second time synchronization error compensation parameter is a compensation delay of the single connectivity configuration base station for time-sensitive services; and the terminal is time-synchronized with the single connectivity configuration base station according to the second timing advance information and the second time synchronization error compensation parameter.
[0011] Optionally, the time synchronization error after the terminal is time-synchronized with the target base station is obtained, and the source base station is switched to the target base station when the time synchronization error is less than or equal to a preset threshold, including: a first time synchronization error after the terminal is time-synchronized with the dual connectivity configuration base station is obtained, if the first time synchronization error is less than or equal to the preset threshold, it is determined that the source base station is switched to the dual connectivity configuration base station; if the first time synchronization error is greater than the preset threshold, the terminal is controlled to be time-synchronized with the dual connectivity configuration base station again until the first time synchronization error is less than or equal to the preset threshold; a second time synchronization error after the terminal is time-synchronized with the single connectivity configuration base station is obtained, if the second time synchronization error is less than or equal to the preset threshold, it is determined that the source base station is switched to the single connectivity configuration base station; and if the second time synchronization error is greater than the preset threshold, the terminal is controlled to be time-synchronized with the single connectivity configuration base station again until the second time synchronization error is less than or equal to the preset threshold.
[0012] According to another aspect of the embodiments of the present application, a communication system is also provided, including: a core network device and a source base station, wherein the core network device is configured to receive service demand sent by a terminal, generate a time synchronization error compensation parameter according to the service demand, and send the time synchronization error compensation parameter to the source base station; and the source base station is in communication connection with the core network device and is configured to perform the method of switching base stations.
[0013] According to a further aspect of the embodiments of the present application, there is also provided an apparatus for switching base stations, comprising: a sending module configured to send a switching request to a target base station, wherein the switching request is configured to request switching of a terminal from a source base station to the target base station; a receiving module configured to receive a response message of the switching request, wherein the response message is generated by the target base station according to a type of the target base station and the switching request, the type of the target base station comprises a dual-connection configuration base station and a single-connection configuration base station, and the type of the target base station is different, and the corresponding response message is also different; a time synchronization module configured to generate reconfiguration information according to the response message, and send the reconfiguration information and a switching command to the terminal, wherein the switching command is configured to control the terminal to perform time synchronization between the terminal and the target base station according to the reconfiguration information; and a switching module configured to obtain a time synchronization error after the terminal performs time synchronization with the target base station, and switch the terminal from the source base station to the target base station when the time synchronization error is less than or equal to a preset threshold.
[0014] According to a further aspect of the embodiments of the present application, there is also provided a non-volatile storage medium, which stores a program, wherein the program, when executed, controls a device in which the non-volatile storage medium is located to perform the method for switching base stations.
[0015] According to a further aspect of the embodiments of the present application, there is also provided an electronic device, comprising a memory and a processor configured to execute a program stored in the memory, wherein the program, when executed, performs the method for switching base stations.
[0016] In the embodiments of the present application, the switching request is sent to the target base station, the response message of the switching request is received, wherein the response message is generated by the target base station according to the type of the target base station and the switching request, the type of the target base station comprises a dual-connection configuration base station and a single-connection configuration base station, and the type of the target base station is different, and the corresponding response message is also different, the reconfiguration information is generated according to the response message, and the reconfiguration information and the switching command are sent to the terminal, the time synchronization error after the terminal performs time synchronization with the target base station is obtained, and the terminal is switched from the source base station to the target base station when the time synchronization error is less than or equal to the preset threshold, the switching request and the time synchronization configuration parameter sent by the terminal are received, the time synchronization configuration parameter is formulated by the 5G core network according to the time critical service requirement sent by the terminal, and the switching request and the time synchronization configuration parameter are sent to the target base station to which the terminal is switched, so as to make the target base station formulate the corresponding propagation delay compensation strategy according to the terminal, thereby achieving the technical effect of improving the time synchronization accuracy of the terminal and the target base station, and further solving the technical problem of low time synchronization granularity in the base station switching process caused by the fact that the related technologies cannot well assist the terminal to perform the propagation delay compensation. BRIEF DESCRIPTION OF DRAWINGS
[0017] The accompanying drawings, which are included to provide a further understanding of the application and are incorporated in and constitute a part of this application, illustrate embodiments of the application and together with the description serve to explain the application. In the drawings:
[0018] Figure 1 is a schematic diagram of a 5G system integrated in a time-sensitive system according to the related art;
[0019] Figure 2 is a schematic diagram of a communication system according to an embodiment of the application;
[0020] Figure 3 is a flowchart of a method of switching base stations according to an embodiment of the application;
[0021] Figure 4 is a structural diagram of a communication system according to an embodiment of the application;
[0022] Figure 5 is a structural diagram of an apparatus for switching base stations according to an embodiment of the application;
[0023] Figure 6 is a schematic diagram of a working flow of an apparatus for switching base stations according to an embodiment of the application. DETAILED DESCRIPTION
[0024] In order to make the personnel in the art better understand the scheme of the application, the technical scheme in the embodiments of the application will be described clearly and completely below in conjunction with the drawings in the embodiments of the application. Obviously, the described embodiments are only a part of the embodiments of the application, rather than all the embodiments. Based on the embodiments in the application, all other embodiments obtained by those of ordinary skill in the art without creative labor should fall within the scope of protection of the application.
[0025] It should be noted that the terms "first", "second", and the like in the specification and claims of the application and the above-described drawings are used to distinguish similar objects, and do not necessarily indicate a specific order or a chronological sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the application described herein can be implemented in an order other than that illustrated or described herein. In addition, the terms "include" and "have" and any variations thereof are intended to cover non-exclusive inclusion, for example, a process, method, system, product or device that includes a series of steps or units does not necessarily have to be limited to those steps or units clearly listed, but can include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0026] In order to better understand the embodiments of the application, the technical terms involved in the embodiments of the application are explained as follows:
[0027] Dual Connectivity configuration base station: Multi-RAT Dual Connectivity (MR-DC) is introduced to improve terminal performance. Through MR-DC, a terminal with transceiver function can be configured to use two different nodes connected by a non-ideal backhaul, one providing New Radio (NR) access and the other providing Evolved Universal Terrestrial Radio Access (E-UTRA) or NR access. One node acts as a master node (MN), and the other acts as a secondary node (SN). The MN and the SN are connected via a network interface, and at least one MN is connected to the core network.
[0028] PDU session identifier: Protocol Data Unit (PDU) provides data connectivity between a user terminal (UE) and a data network (DN). A PDU session refers to a process of data communication between a UE and a data network. A PDU session identifier is used to identify a unique PDU session.
[0029] Time synchronization granularity: Refers to the reference time for terminal and base station to synchronize time, such as 10 nanoseconds (ns) or 1 ns.
[0030] Time synchronization error compensation parameter: A time synchronization error compensation parameter for time-sensitive services. The base station performs additional delay error compensation on a PDU session based on the time synchronization error compensation parameter to meet the time synchronization requirements of the corresponding service of the PDU session.
[0031] Uplink: Data from the user side to the network side.
[0032] Downlink: Data from the network side to the user side.
[0033] Timing advance information: The base station sends timing advance information to the mobile terminal. The mobile terminal determines the timing advance amount of the signal sent to the base station based on the timing advance information to compensate for the propagation delay. In this embodiment, it is used to indicate the information of the terminal performing uplink synchronization in the target cell of the target base station. Its time accuracy can be 1 millisecond, 1 microsecond, 10 ns or 1 ns.
[0034] Cell: A communication term referring to an area covered by wireless signals.
[0035] Figure 1is a schematic diagram of 5G system integrated in time sensitive system, in the related art, in order to provide time sensitive communication (TSC) function, 5G system is integrated into time sensitive network (TSN) as a bridge, as shown in Figure 1 Network side time converter (Network-side TSN Translator, NW-TT) and terminal side time converter (Device-side TSN Translator, DS-TT) are located at the edge of 5G system respectively, terminal (UE), 5G base station (the next Generation Node B, gNB), NW-TT and DS-TT are all synchronized to 5G grand master (5G GM); Time synchronization information (generalized Precision Time Protocol, gPTP) is sent by TSN grand master (TSN GM) to other TSN terminals, including end devices connected through DS-TT. When the terminal receives the downlink gPTP message, the NW-TT on the user plane function (User Plan Function, UPF) of 5G system will generate entry time stamp (Time Stampingress, TSi) for each gPTP message based on 5G system time; The UPF forwards the gPTP message from the TSN network to the UE via the specific PDU session of the UE; After the UE receives the gPTP message, it is forwarded to the DS-TT; The DS-TT establishes exit time stamp (Time Stampegress, TSe) for the gPTP message based on 5G system time; |Tse-Tsi| is the residence time of the gPTP message in the 5G system, and the DS-TT adds the calculated residence time to the correction field of the gPTP message and sends it to the TSN terminal for time synchronization compensation and correction. However, in the above time sensitive system integrated with 5G system as a bridge, the 5G core network is not aware of the specific synchronization requirements of the terminal, and receives the time synchronization accuracy requirements sent by the terminal, so it cannot formulate the corresponding time synchronization error compensation parameters for the terminal; The source base station cannot determine the type of target base station, and cannot send the time synchronization error compensation parameters sent by the 5G core network to the corresponding target base station, therefore, there are problems of low time synchronization granularity and large propagation delay error. In order to solve this problem, the related solutions are provided in the embodiments of the present application, which are described in detail below.
[0036] According to the embodiments of the present application, a method for switching base stations is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions, and although a logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0037] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, Wideband Code Division Multiple Access (WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD), Universal Mobile Telecommunication System (UMTS), Worldwide Interoperability for Microwave Access (WiMAX) communication system, or 5G system, etc.
[0038] For example, the communication system 200 to which the embodiments of the present application are applied is as follows. Figure 2As shown in the figure. The communication system 200 can include a network device 210, which can be a device communicating with a terminal device 220 (or called a communication terminal, a terminal). The network device 210 can provide communication coverage for a specific geographic area, and can communicate with terminal devices located within the coverage area. Optionally, the network device 210 can be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, a base station (NodeB, NB) in a WCDMA system, an evolved base station (eNB or eNodeB) in an LTE system, or a wireless controller in a cloud radio access network (Cloud Radio Access Network, CRAN), or the network device can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, a wearable device, a hub, a switch, a bridge, a router, a network side device in a 5G network, or a network device in a future evolved public land mobile network (Public Land Mobile Network, PLMN) and the like.
[0039] The communication system 200 further includes at least one terminal device 220 located within the coverage area of the network device 210. As used herein, a "terminal device" includes, but is not limited to, an apparatus configured to receive / transmit communication signals via a wired line connection, such as via a Public Switched Telephone Network (PSTN), a Digital Subscriber Line (DSL), a digital cable, a direct cable connection; and / or another data connection / network; and / or a wireless interface, such as for a cellular network, a Wireless Local Area Network (WLAN), a digital television network such as a DVB-H network, a satellite network, an AM-FM broadcast transmitter; and / or another terminal device; and / or an Internet of Things (IoT) device. A terminal device configured to communicate over a wireless interface can be referred to as a "wireless communication terminal", "wireless terminal" or "mobile terminal". Examples of mobile terminals include, but are not limited to, satellite or cellular phones; Personal Communications System (PCS) terminals that can combine a cellular radiotelephone with data processing, facsimile, and data communications capabilities; PDA's that can include a wireless radio telephone, a pager, Internet / Intranet access, Web browser, an organizer, a calendar, and / or a global positioning system (GPS) receiver; and conventional laptop and / or palmtop receivers or other electronic devices that include a radio telephone transceiver. A terminal device can refer to an access terminal, User Equipment (UE), subscriber unit, subscriber station, mobile station, mobile, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent, or user device. An access terminal can be a cellular telephone, a cordless telephone, a Session Initiation Protocol (SIP) phone, a Wireless Local Loop (WLL) station, a Personal Digital Assistant (PDA), a handset with wireless communication capabilities, a computing device, or other processing device connected to a wireless modem, an in-vehicle device, a wearable device, a terminal device in a 5G network, or a terminal device in a future evolved PLMN, etc.
[0040] Optionally, the terminal devices 220 can communicate with each other through Device to Device (D2D) communication.
[0041] Optionally, the 5G system or 5G network can also be referred to as a new radio (NR) system or NR network.
[0042] Figure 3 is a flowchart of a method for switching base stations according to an embodiment of the present application, as shown in the figure, the method comprises the following steps: Figure 3
[0043] Step S302, sending a switching request to the target base station, wherein the switching request is used to request switching the terminal from the source base station to the target base station.
[0044] When the first base station channel condition is poor or the load is too large, the terminal needs to be switched from the first base station to the second base station, at this time, the terminal sends a switching request message to the source base station, in step S302, the source base station receives the switching request message sent by the terminal and sends it to the target base station, wherein the switching request message includes the PDU session identifier list of the terminal, the time critical communication service indication indicating that the service of the terminal is a time sensitive service, the time synchronization granularity of the terminal, the maximum time delay error of the terminal and the time synchronization error compensation parameter of the terminal for each PDU session.
[0045] Step S304, receiving a response message of the switching request, wherein the response message is generated by the target base station according to the type of the target base station and the switching request, the type of the target base station includes a dual connection configuration base station and a single connection configuration base station, and the type of the target base station is different, and the corresponding response message is also different.
[0046] After the target base station receives the switching request message sent by the source base station, it sends a response message of the switching request to the source base station, in step S304, the source base station receives the response message corresponding to the switching request, wherein the response messages sent by the dual connection configuration base station and the single connection configuration base station are different.
[0047] Step S306, generating reconfiguration information according to the response message, and sending the reconfiguration information and a switching command to the terminal, wherein the switching command is used to control the terminal to perform time synchronization between the terminal and the target base station according to the reconfiguration information.
[0048] In step S306, the source base station generates the reconfiguration message when the target base station is connected with the terminal according to the received response message of the target base station, and sends the switching command and the reconfiguration information to the target terminal, so that the target base station performs time synchronization with the terminal according to the reconfiguration message after receiving the switching command.
[0049] Step S308, obtaining the time synchronization error after the terminal performs time synchronization with the target base station, and switching the terminal from the source base station to the target base station when the time synchronization error is less than or equal to a preset threshold.
[0050] In step S308, the synchronization time error of the target base station and the terminal after the time synchronization is obtained, and the synchronization time error is judged. When the synchronization time error meets the requirement of the terminal, i.e., is less than or equal to the preset threshold set by the terminal for the synchronization time error, the base station connected with the terminal is switched from the source base station to the target base station.
[0051] Through the above steps, the time-related auxiliary information for the time synchronization between the target base station and the terminal can be sent to the target base station in the switching process, to assist the target base station in judging whether a reasonable time delay compensation strategy can be configured for the terminal. If so, the strategy is sent to the terminal through the switching process, to ensure the time synchronization accuracy of the time-critical service of the terminal.
[0052] According to an optional embodiment of the present application, when the type of the target base station is a dual-connection configuration base station, the response message is a first response message, wherein the first response message includes: first confirmation information, a first connection indication, and a first preamble. The first confirmation information includes: a PDU session identifier list of the dual-connection configuration base station, each service policy corresponding to each PDU session identifier in the PDU session identifier list, a first time synchronization granularity of the dual-connection configuration base station, a first time synchronization difference between the dual-connection configuration base station and the source base station, the first connection indication is used to indicate that the type of the target base station is a dual-connection configuration, and the first preamble is used to indicate a first target cell within the coverage range of the dual-connection configuration base station. The first time synchronization granularity is used to indicate the time for the dual-connection configuration base station to perform time synchronization with the terminal, and the first time synchronization difference is the time difference between the target base station and the dual-connection configuration base station. When the type of the target base station is a single-connection configuration base station, the response message is a second response message, wherein the second response message includes: second confirmation information, a second connection indication, and a second preamble. The second confirmation information includes: a PDU session identifier list of the single-connection configuration base station, each service policy corresponding to each PDU session identifier in the PDU session identifier list, a second time synchronization granularity of the single-connection configuration base station, a second time synchronization difference between the single-connection configuration base station and the source base station, the second connection indication is used to indicate that the type of the target base station is a single-connection configuration, and the second preamble is used to indicate a second target cell within the coverage range of the single-connection configuration base station. The second time synchronization granularity is used to indicate the time for the single-connection configuration base station to perform time synchronization with the terminal, and the second time synchronization difference is the time difference between the target base station and the single-connection configuration base station.
[0053] In the embodiment, when the source base station receives the response message corresponding to the handover request in step S304, the response messages fed back by different types of base stations are different. Specifically, in the embodiment, the target base stations include two types of base stations, i.e., a dual-connection configuration base station and a single-connection configuration base station. The response message (i.e., a first response message) of the dual-connection configuration base station includes: confirmation information (i.e., first confirmation information) of a PDU session identifier list in the handover request message sent by the terminal, wherein the first confirmation information includes: a list of PDU session identifiers that the dual-connection configuration base station can accept in the PDU session identifier list in the handover request message sent by the terminal, a quality of service (QoS) policy of a service indicated by each PDU session identifier in the list of PDU session identifiers that the dual-connection configuration base station can accept, a time synchronization granularity (i.e., a first time synchronization granularity) of the dual-connection configuration base station, and a time difference (i.e., a first time synchronization difference) between the dual-connection configuration base station and the source base station. The response message (i.e., the first response message) of the dual-connection configuration base station further includes: a (first) connection indication indicating that the base station is configured for dual connection, and a non-contention random access preamble (i.e., a first preamble) indicating that the terminal is connected to a (first) target cell in the coverage of the dual-connection configuration base station. The response message (i.e., a second response message) of the single-connection configuration base station includes: confirmation information (i.e., second confirmation information) of a PDU session identifier list in the handover request message sent by the terminal, wherein the second confirmation information includes: a list of PDU session identifiers that the single-connection configuration base station can accept in the PDU session identifier list in the handover request message sent by the terminal, a quality of service (QoS) policy of a service indicated by each PDU session identifier in the list of PDU session identifiers that the single-connection configuration base station can accept, a time synchronization granularity (i.e., a second time synchronization granularity) of the single-connection configuration base station, and a time difference (i.e., a second time synchronization difference) between the single-connection configuration base station and the source base station. The response message (i.e., the second response message) of the single-connection configuration base station further includes: a (second) connection indication indicating that the base station is configured for single connection, and a non-contention random access preamble (i.e., a second preamble) indicating that the terminal is connected to a (second) target cell in the coverage of the single-connection configuration base station.
[0054] According to the above embodiment, the response message is fed back by the target base station, wherein the dual-connection configuration base station sends the first response message in the following manner: if the target base station is the dual-connection configuration base station, the time synchronization granularity of the master node of the dual-connection configuration base station, the time synchronization difference between the master node and the source base station, the time synchronization granularity of the secondary node of the dual-connection configuration base station, and the time synchronization difference between the secondary node and the source base station are obtained; if the time synchronization granularity of the master node and the time synchronization granularity of the secondary node both belong to the first preset interval, and the time synchronization difference between the master node and the source base station and the time synchronization difference between the secondary node and the source base station both belong to the second preset interval, it is determined that the dual-connection configuration base station meets the service requirement of the terminal, and the first response message is sent; if the synchronization time precision of the master node or the time synchronization granularity of the secondary node does not belong to the first preset interval, or the time synchronization difference between the master node and the source base station or the time synchronization difference between the secondary node and the source base station does not belong to the second preset interval, it is determined that the dual-connection configuration base station does not meet the service requirement of the terminal, and the first response message is refused to be sent.
[0055] After receiving the handover request message, the target base station first determines whether it can meet the time-critical communication service requirement of the terminal according to the time synchronization granularity it can provide and the time synchronization difference with the source base station, and sets the determination condition as follows: the base station with the time synchronization granularity within the (first) preset interval and the time synchronization error within the (second) preset interval is allowed to be connected with the terminal. In this embodiment, when the target base station is a dual-connection configuration base station, it needs to consider whether the master node and the secondary node can both meet the service requirement of the terminal; the method for the dual-connection configuration base station to determine whether it meets the requirement of the terminal is as follows: the time synchronization granularity of the master node, the time synchronization difference between the master node and the source base station, the time synchronization granularity of the secondary node, and the time synchronization difference between the secondary node and the source base station are obtained; if the time synchronization granularity of the master node and the time synchronization granularity of the secondary node both meet the requirement of the terminal, i.e. both belong to the above (first) preset interval, and the time synchronization difference between the master node and the source base station and the time synchronization difference between the secondary node and the source base station both meet the requirement of the source base station, i.e. both belong to the above (second) preset interval, it is considered that the dual-connection configuration base station meets the requirement of being connected with the terminal, and the dual-connection configuration base station will send the (first) response message; otherwise, if the above conditions cannot be met at the same time, it is considered that the dual-connection configuration base station does not meet the requirement of being connected with the terminal, and the dual-connection configuration base station will not send the (first) response message.
[0056] According to another optional embodiment of the application, if the target base station is a single-connection configured base station, the time synchronization difference between the single-connection configured base station and the source base station and the time synchronization granularity of the single-connection configured base station are obtained; if the time synchronization difference between the single-connection configured base station and the source base station belongs to the second preset interval and the time synchronization granularity of the single-connection configured base station belongs to the first preset interval, it is determined that the single-connection configured base station meets the service requirement of the terminal, and a second response message is sent; if the time synchronization difference between the single-connection configured base station and the source base station does not belong to the second preset interval, it is determined that the single-connection configured base station does not meet the service requirement of the terminal, and the sending of the second response message is refused.
[0057] In the embodiment, when the target base station is a single-connection configured base station, it is necessary to judge whether the time synchronization granularity of the target base station can meet the time-critical communication service requirement of the terminal on the basis of considering the time synchronization difference between the target base station and the source base station. The method for the single-connection configured base station to judge whether it meets the requirement of the terminal is as follows: the time synchronization granularity of the single-connection configured base station and the time synchronization difference between the single-connection configured base station and the source base station are obtained; if the time synchronization difference between the single-connection configured base station and the source base station belongs to the above-mentioned (second) preset interval, the time synchronization granularity of the single-connection configured base station is further judged, and when the time synchronization granularity of the single-connection configured base station is in the above-mentioned (first) preset interval, it is determined that the single-connection configured base station meets the requirement of the terminal, at which time the single-connection configured base station will send the (second) response message; otherwise, if the time synchronization difference between the single-connection configured base station and the source base station does not belong to the above-mentioned (second) preset interval, it is directly determined that the single-connection configured base station does not meet the requirement of connection with the terminal, and the single-connection configured base station will not send the (second) response message.
[0058] According to some preferred embodiments of the application, if the response message is the first response message and the first target cell belongs to the master node, the reconfiguration information is the first reconfiguration information, wherein the first reconfiguration information comprises: the identity of the first target cell, the system information of the first target cell, the time synchronization difference between the master node and the source base station, the time synchronization granularity of the master node, and the first preamble; if the response message is the first response message and the first target cell belongs to the secondary node, the reconfiguration information is the second reconfiguration information, wherein the second reconfiguration information comprises: the identity of the first target cell, the system information of the first target cell, the time synchronization difference between the secondary node and the source base station, the time synchronization granularity of the secondary node, and the first preamble; if the response message is the second response message, the reconfiguration information is the third reconfiguration information, wherein the third reconfiguration information comprises: the identity of the second target cell, the system information of the second target cell, the time synchronization granularity of the single-connection configured base station, the time synchronization difference between the single-connection configured base station and the source base station, and the second preamble.
[0059] According to the reconfiguration information of step S306, the reconfiguration information is generated according to the response message, and since the response messages of different types of target base stations are different, the radio resource control (RRC) reconfiguration information of different types of target base stations is also different. In some preferred embodiments, the target cells (i.e., the first target cells) in the coverage of the dual connectivity configuration base station include two types of master node target cells and secondary node target cells, wherein the RRC reconfiguration information (i.e., the first reconfiguration information) of the master node target cell includes but is not limited to the following information: the identification of the master node target cell, the system information of the master node target cell, the time synchronization difference between the master node and the source base station, the time synchronization granularity of the master node, and the (first) preamble for indicating the master node target cell; the RRC reconfiguration information (i.e., the second reconfiguration information) of the secondary node target cell includes but is not limited to the following information: the identification of the secondary node target cell, the system information of the secondary node target cell, the time synchronization difference between the secondary node and the source base station, the time synchronization granularity of the secondary node, and the (first) preamble for indicating the secondary node target cell. The RRC reconfiguration information (i.e., the third reconfiguration information) of the target cell (i.e., the second target cell) in the coverage of the single connectivity configuration base station includes: the identification of the (second) target cell, the system information of the (second) target cell, the synchronization time accuracy of the single connectivity configuration base station, i.e., the time synchronization granularity of the (second) target cell, the time synchronization difference between the single connectivity configuration base station and the source base station, i.e., the time synchronization difference between the (second) target cell and the current cell of the source base station, and the preamble (i.e., the second preamble) for indicating the (second) target cell.
[0060] According to an optional embodiment of the present application, the terminal is time-synchronized with the target base station according to the reconfiguration information by the switching command control, including: if the target base station is a dual connectivity configuration base station, the terminal is connected with the first target cell and receives the first access response information sent by the dual connectivity configuration base station, wherein the first access response information includes: the first timing advance information generated according to the first time synchronization difference and the first time synchronization error compensation parameter, the first timing advance information is information indicating that the terminal is time-synchronized with the dual connectivity configuration base station, and the first time synchronization error compensation parameter is a compensation delay of the dual connectivity configuration base station for time-sensitive services; the terminal is time-synchronized with the dual connectivity configuration base station according to the first timing advance information and the first time synchronization error compensation parameter; if the target base station is a single connectivity configuration base station, the terminal is connected with the second target cell and receives the second access response information sent by the single connectivity configuration base station, wherein the second access response information includes: the second timing advance information generated according to the second time synchronization difference and the second time synchronization error compensation parameter, the second timing advance information is information indicating that the terminal is time-synchronized with the dual connectivity configuration base station, and the second time synchronization error compensation parameter is a compensation delay of the single connectivity configuration base station for time-sensitive services; the terminal is time-synchronized with the single connectivity configuration base station according to the second timing advance information and the second time synchronization error compensation parameter.
[0061] In the embodiment, the source base station simultaneously sends the handover command and the RRC reconfiguration message to the terminal. After receiving the handover command, the terminal accesses the target cell of the target base station indicated by the preamble. Since the terminal sends the time critical service indication to the target cell when connecting the target cell through the preamble, the target cell identifies the terminal as a terminal with time critical service according to the time critical service indication. At this time, the terminal performs time synchronization with the target cell in the corresponding target base station according to the RRC reconfiguration message. The method is as follows: for the target base station of the dual connectivity configuration type, when the terminal accesses, the dual connectivity configuration base station and the source base station are allocated (first) timing advance information and (first) time synchronization error compensation parameters (first) access response information according to the time synchronization difference (i.e. the first time synchronization difference) between the dual connectivity configuration base station and the source base station, so that the dual connectivity configuration base station can meet the service requirements of the terminal to the target base station (the dual connectivity configuration base station meets the service requirements of the terminal to the target base station, that is, the target cell in the coverage range of the dual connectivity configuration base station meets the service requirements of the terminal). The terminal and the (first) target cell perform time synchronization based on the (first) timing advance information and the (first) time synchronization error compensation parameters allocated by the dual connectivity configuration base station for the terminal. When the target cell is a master node cell, the time synchronization difference (i.e. the first time synchronization difference) between the above-mentioned dual connectivity configuration base station and the source base station is the time synchronization error between the master node and the source base station. When the target cell is a secondary node cell, the time synchronization difference (i.e. the first time synchronization difference) between the above-mentioned dual connectivity configuration base station and the source base station is the time synchronization error between the secondary node and the source base station. For the target base station of the single connectivity configuration type, when the terminal accesses, the single connectivity configuration base station and the source base station are allocated (second) timing advance information and (second) time synchronization error compensation parameters (second) according to the time synchronization difference (i.e. the second time synchronization difference) between the single connectivity configuration base station and the source base station, so that the single connectivity configuration base station can meet the service requirements of the terminal to the target base station (the single connectivity configuration base station meets the service requirements of the terminal to the target base station, that is, the target cell in the coverage range of the single connectivity configuration base station meets the service requirements of the terminal). The terminal and the (second) target cell perform time synchronization based on the (second) timing advance information and the (second) time synchronization error compensation parameters allocated by the single connectivity configuration base station for the terminal. Wherein, the time synchronization difference (i.e. the second time synchronization difference) between the above-mentioned single connectivity configuration base station and the source base station is the time synchronization difference between the (second) target cell and the current cell connected with the terminal in the source base station.
[0062] It should be noted that the target base station (including the dual connectivity configuration base station and the single connectivity configuration base station) can also perform time synchronization with the terminal by adjusting its own time synchronization granularity.
[0063] According to another optional embodiment of the present application, the time synchronization error of the terminal after time synchronization with the target base station is obtained, and the source base station is switched to the target base station when the time synchronization error is less than or equal to a preset threshold, comprising: obtaining a first time synchronization error of the terminal after time synchronization with the dual-connection configuration base station, and determining to switch the source base station to the dual-connection configuration base station if the first time synchronization error is less than or equal to a preset threshold; if the first time synchronization error is greater than the preset threshold, controlling the terminal to re-synchronize with the dual-connection configuration base station until the first time synchronization error is less than or equal to the preset threshold; obtaining a second time synchronization error of the terminal after time synchronization with the single-connection configuration base station, and determining to switch the source base station to the single-connection configuration base station if the second time synchronization error is less than or equal to the preset threshold; if the second time synchronization error is greater than the preset threshold, controlling the terminal to re-synchronize with the single-connection configuration base station until the second time synchronization error is less than or equal to the preset threshold.
[0064] When the target cell is time-synchronized with the terminal, the terminal sends an RRC reconfiguration request message including a list of PDU session identifiers of the terminal, a time-critical communication service indication indicating a service type of the terminal, a reference time synchronization granularity when the terminal is time-synchronized, and a maximum time delay error when the terminal is time-synchronized. In this embodiment, after the target cell receives the RRC reconfiguration request message, the target cell evaluates a current time synchronization error between the target cell and the terminal after time synchronization, and determines whether the target base station meets the time synchronization requirement of the time-sensitive service of the terminal according to the current time synchronization error. This includes the following two cases: the target base station is a dual-connection configuration base station, and the time synchronization error between the dual-connection configuration base station and the terminal after synchronization is obtained, i.e., (first time synchronization error). If the (first) time synchronization error is less than or equal to the maximum time delay error (i.e., a preset threshold) in the RRC reconfiguration request message, it is determined that the dual-connection configuration base station meets the time synchronization requirement of the time-sensitive service of the terminal, and the source base station is switched to the dual-connection configuration base station. Otherwise, if the (first) time synchronization error is greater than the maximum time delay error (i.e., a preset threshold) in the RRC reconfiguration request message, the time synchronization error between the terminal and the dual-connection configuration base station is adjusted to be less than or equal to the maximum time delay error (i.e., a preset threshold) in the RRC reconfiguration request message before the base station switching is performed. The target base station is a single-connection configuration base station, and the time synchronization error between the single-connection configuration base station and the terminal after synchronization is obtained, i.e., (second time synchronization error). If the (second) time synchronization error is less than or equal to the maximum time delay error (i.e., a preset threshold) in the RRC reconfiguration request message, it is determined that the single-connection configuration base station meets the time synchronization requirement of the time-sensitive service of the terminal, and the source base station is switched to the single-connection configuration base station. Otherwise, if the (second) time synchronization error is greater than the maximum time delay error (i.e., a preset threshold) in the RRC reconfiguration request message, the time synchronization error between the terminal and the single-connection configuration base station is adjusted to be less than or equal to the maximum time delay error (i.e., a preset threshold) in the RRC reconfiguration request message before the base station switching is performed.
[0065] Figure 4 is a structural diagram of a communication system provided according to the embodiment, as shown in Figure 4 the system includes a core network device 40 and a source base station 42. The core network device 40 is configured to receive a service requirement sent by a terminal, generate a time synchronization error compensation parameter according to the service requirement, and send the time synchronization error compensation parameter to the source base station 42. The source base station 42 is in communication connection with the core network device 40, and is configured to perform the method of switching the base station.
[0066] Figure 5 is a structural diagram of a device for switching a base station provided according to the embodiment, as shown in Figure 5As shown, the device comprises: a sending module 50 configured to send a handover request to a target base station, wherein the handover request is used to request handover of a terminal from a source base station to the target base station; a receiving module 52 configured to receive a response message of the handover request, wherein the response message is generated by the target base station according to a type of the target base station and the handover request, the type of the target base station includes a dual-connection configuration base station and a single-connection configuration base station, and the type of the target base station is different, and the corresponding response message is also different; a time synchronization module 54 configured to generate reconfiguration information according to the response message, and send the reconfiguration information and a handover command to the terminal, wherein the handover command is used to control the terminal to perform time synchronization between the terminal and the target base station according to the reconfiguration information; and a handover module 56 configured to obtain a time synchronization error after the terminal performs time synchronization with the target base station, and hand over the terminal from the source base station to the target base station when the time synchronization error is less than or equal to a preset threshold.
[0067] Figure 6 is a working flow diagram of the device for switching base stations, as Figure 6 As shown, the source base station (gNB1) is in standalone (SA) mode, the target base station (gNB2) is in non-standalone (NSA) mode, and the terminal (UE) sends time-critical service related requirements such as PDU session identification, service type, service period and time synchronization requirement to the 5G core network (5G Core, 5GC) in the source base station (gNB1), and the 5GC generates a corresponding quality of service (QoS) policy for it, wherein the QoS policy includes time synchronization related configuration information such as time-critical communication indication, time synchronization error compensation parameter and survival time, and sends it to the source base station (gNB1).
[0068] After the source base station (gNB1) receives the time synchronization configuration information from the core network, it generates specific time synchronization parameters for the PDU session in combination with the service characteristics, and the time synchronization parameters include: time synchronization granularity adjusted for the PDU session (such as adjusting from 10ns to 1ns), timing advance indication and other information. When the channel condition of the source base station (gNB1) becomes poor, the terminal (UE) needs to be handed over from the source base station (gNB1) to the target base station (gNB2), at this time, gNB1 sends the handover request and the above-mentioned specific time synchronization parameters generated for the PDU session to gNB2 through the sending module 50 after receiving the handover request of the terminal.
[0069] After gNB2 receives the handover request message sent by gNB1, it determines whether it can meet the UE service requirement according to the time synchronization granularity it can provide and the time synchronization difference between gNB1 and gNB2. If it can, it accepts the handover request of gNB1 and sends a handover request confirmation message (i.e. a response message) to gNB1, wherein the handover request confirmation message (i.e. the response message) includes a dual connectivity configuration indication, a synchronization time precision of gNB2, and a synchronization time difference between gNB2 and gNB1 to assist the terminal in time synchronization with gNB2. gNB1 receives the handover request confirmation message (i.e. the response message) through the receiving module 52; and sends the handover request confirmation message (i.e. the response message) to the UE through the RRC reconfiguration message through the time synchronization module 54 to trigger the handover process.
[0070] After the UE receives the handover command, it performs time synchronization with gNB2 according to the RRC reconfiguration message and accesses the target cell according to the dedicated preamble in the handover command; the target cell identifies that the terminal is a UE with time-critical service according to the preamble and allocates timing advance information to the UE with time-critical service according to the time synchronization difference between gNB1 and gNB2 to meet the time-critical service requirement of the UE. After gNB2 receives the timing advance information, it evaluates whether the current time synchronization error and time synchronization granularity of the UE meet the time synchronization requirement of the time-sensitive service of the UE through the handover module 56; if they do (i.e. less than or equal to a preset threshold), it performs uplink / downlink service transmission according to the current time synchronization indication; otherwise, gNB2 adjusts the time synchronization error and time synchronization granularity and other information again until the time synchronization requirement of the time-sensitive service of the UE is met.
[0071] It should be noted that, Figure 5 The preferred embodiments of the embodiments shown can be seen in the related description of the embodiments shown, which will not be repeated here. Figure 3 The preferred embodiments of the embodiments shown can be seen in the related description of the embodiments shown, which will not be repeated here.
[0072] The embodiments of the present application also provide a non-volatile storage medium, which stores a program, wherein when the program is running, the device where the non-volatile storage medium is located performs the above method for switching base stations.
[0073] The nonvolatile storage medium is configured to store a program for performing the following functions: sending a handover request to a target base station, wherein the handover request is used to request handover of a terminal from a source base station to the target base station; receiving a response message of the handover request, wherein the response message is generated by the target base station according to a type of the target base station and the handover request, the type of the target base station includes a dual-connection configuration base station and a single-connection configuration base station, and the type of the target base station is different, and the corresponding response message is also different; generating reconfiguration information according to the response message, and sending the reconfiguration information and a handover command to the terminal, wherein the handover command is used to control the terminal to perform time synchronization between the terminal and the target base station according to the reconfiguration information; obtaining a time synchronization error after the terminal performs time synchronization with the target base station, and handover the terminal from the source base station to the target base station when the time synchronization error is less than or equal to a preset threshold.
[0074] According to another aspect of the embodiments of the present application, an electronic device is also provided, which includes a memory and a processor configured to execute a program stored in the memory, wherein the program performs the method for switching base stations when executed.
[0075] The processor in the electronic device is configured to execute a program for performing the following functions: sending a handover request to a target base station, wherein the handover request is used to request handover of a terminal from a source base station to the target base station; receiving a response message of the handover request, wherein the response message is generated by the target base station according to a type of the target base station and the handover request, the type of the target base station includes a dual-connection configuration base station and a single-connection configuration base station, and the type of the target base station is different, and the corresponding response message is also different; generating reconfiguration information according to the response message, and sending the reconfiguration information and a handover command to the terminal, wherein the handover command is used to control the terminal to perform time synchronization between the terminal and the target base station according to the reconfiguration information; obtaining a time synchronization error after the terminal performs time synchronization with the target base station, and handover the terminal from the source base station to the target base station when the time synchronization error is less than or equal to a preset threshold.
[0076] It should be noted that each module in the above-mentioned device for switching base stations can be a program module (for example, a set of program instructions for implementing a certain specific function) or a hardware module. For the latter, it can be in the form of, but not limited to, a processor, or the functions of the above-mentioned modules are implemented by a processor.
[0077] The above-mentioned serial numbers of the embodiments of the present application are only for description, and do not represent the advantages and disadvantages of the embodiments.
[0078] In the above-mentioned embodiments of the present application, the description of each embodiment has its own emphasis, and the parts not described in detail in a certain embodiment can be referred to the related description of other embodiments.
[0079] In several embodiments provided in the present application, it should be understood that the disclosed technology can be implemented by other ways. Among them, the above-mentioned device embodiments are only schematic, for example, the division of the units can be a logical function division, and actual implementation can have another division mode, for example, a plurality of units or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed units can be indirect coupling or communication connection through some interfaces, units or modules, which can be electrical or other forms.
[0080] The units described as separate components can or can not be physically separate, and the components shown as units can or can not be physical units, i.e. they can be located in one place or distributed to multiple units. Part or all of the units can be selected according to actual needs to achieve the purpose of the embodiment.
[0081] In addition, the functional units in each embodiment of the present application can be integrated in one processing unit, or each unit can exist physically, or two or more units can be integrated in one unit. The integrated unit can be realized in the form of hardware or in the form of a software functional unit.
[0082] The integrated unit, if realized in the form of a software functional unit and sold or used as an independent product, can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application or the essential part or all or part of the related technology can be embodied in the form of a software product, which is stored in a storage medium and includes a plurality of instructions for making a computer device (which can be a personal computer, a server or a network device, etc.) execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), mobile hard disk, magnetic disk or optical disk and various program codes that can be stored in the medium.
[0083] The above is only the preferred embodiment of the present application, and it should be pointed out that for ordinary skilled in the art, without departing from the principles of the present application, a number of improvements and refinements can be made, which should be considered as the protection scope of the present application.
Claims
1. A method of handover of a base station, characterized by, The method comprises: sending a handover request to a target base station, wherein the handover request is used to request handover of a terminal from a source base station to the target base station; receiving a response message of the handover request, wherein the response message is generated by the target base station according to a type of the target base station and the handover request, the type of the target base station comprises a dual-connection configuration base station and a single-connection configuration base station, and the type of the target base station is different, and the corresponding response message is also different; generating reconfiguration information according to the response message, and sending the reconfiguration information and a handover command to the terminal, wherein the handover command is used to control the terminal to perform time synchronization between the terminal and the target base station according to the reconfiguration information; obtaining a time synchronization error after the terminal performs time synchronization with the target base station, and handover the terminal from the source base station to the target base station when the time synchronization error is less than or equal to a preset threshold.
2. The method of claim 1, wherein when the type of the target base station is the dual-connection configuration base station, the response message is a first response message, wherein the first response message comprises first confirmation information, a first connection indication and a first preamble, the first confirmation information comprises a PDU session identifier list of the dual-connection configuration base station, each service policy corresponding to each PDU session identifier in the PDU session identifier list, a first time synchronization granularity of the dual-connection configuration base station, a first time synchronization difference between the dual-connection configuration base station and the source base station, the first connection indication is used to indicate that the type of the target base station is the dual-connection configuration, the first preamble is used to indicate a first target cell within a coverage range of the dual-connection configuration base station, the first time synchronization granularity is used to indicate a time of time synchronization between the dual-connection configuration base station and the terminal, and the first time synchronization difference is a time difference between the target base station and the dual-connection configuration base station; when the type of the target base station is the single-connection configuration base station, the response message is a second response message, wherein the second response message comprises second confirmation information, a second connection indication and a second preamble, the second confirmation information comprises a PDU session identifier list of the single-connection configuration base station, each service policy corresponding to each PDU session identifier in the PDU session identifier list, a second time synchronization granularity of the single-connection configuration base station, a second time synchronization difference between the single-connection configuration base station and the source base station, the second connection indication is used to indicate that the type of the target base station is the single-connection configuration, the second preamble is used to indicate a second target cell within a coverage range of the single-connection configuration base station, the second time synchronization granularity is used to indicate a time of time synchronization between the single-connection configuration base station and the terminal, and the second time synchronization difference is a time difference between the target base station and the single-connection configuration base station.
3. The method of claim 2, wherein, The dual-connection configuration base station sends the first response message in the following manner: if the target base station is the dual connectivity configured base station, acquiring a time synchronization granularity of a master node of the dual connectivity configured base station, a time synchronization difference between the master node and the source base station, a time synchronization granularity of a secondary node of the dual connectivity configured base station, and a time synchronization difference between the secondary node and the source base station; if the time synchronization granularity of the master node and the time synchronization granularity of the secondary node both belong to a first preset interval, and the time synchronization difference between the master node and the source base station and the time synchronization difference between the secondary node and the source base station both belong to a second preset interval, determining that the dual connectivity configured base station meets the service requirement of the terminal, and sending the first response message; if the time synchronization granularity of the master node or the time synchronization granularity of the secondary node does not belong to the first preset interval, or the time synchronization difference between the master node and the source base station or the time synchronization difference between the secondary node and the source base station does not belong to the second preset interval, determining that the dual connectivity configured base station does not meet the service requirement of the terminal, and refusing to send the first response message.
4. The method of claim 3, wherein, the single connectivity configured base station sends the second response message in the following manner: if the target base station is the single connectivity configured base station, acquiring a time synchronization difference between the single connectivity configured base station and the source base station and a time synchronization granularity of the single connectivity configured base station; if the time synchronization difference between the single connectivity configured base station and the source base station belongs to the second preset interval, and the time synchronization granularity of the single connectivity configured base station belongs to the first preset interval, determining that the single connectivity configured base station meets the service requirement of the terminal, and sending the second response message; if the time synchronization difference between the single connectivity configured base station and the source base station does not belong to the second preset interval, determining that the single connectivity configured base station does not meet the service requirement of the terminal, and refusing to send the second response message.
5. The method of claim 4, wherein, generating reconfiguration information according to the response message, comprising: if the response message is the first response message, and the first target cell belongs to the master node, the reconfiguration information is first reconfiguration information, wherein the first reconfiguration information comprises: an identifier of the first target cell, system information of the first target cell, a time synchronization difference between the master node and the source base station, a time synchronization granularity of the master node, and the first preamble; if the response message is the first response message, and the first target cell belongs to the secondary node, the reconfiguration information is second reconfiguration information, wherein the second reconfiguration information comprises: an identifier of the first target cell, system information of the first target cell, a time synchronization difference between the secondary node and the source base station, a time synchronization granularity of the secondary node, and the first preamble; If the response message is the second response message, the reconfiguration information is third reconfiguration information, wherein the third reconfiguration information comprises: an identity of the second target cell, system information of the second target cell, a time synchronization granularity of the single-connectivity configuration base station, a time synchronization difference between the single-connectivity configuration base station and the source base station, and the second preamble.
6. The method of claim 2, wherein, The terminal is controlled to perform time synchronization between the terminal and the target base station according to the reconfiguration information through the handover command, comprising: If the target base station is the dual-connectivity configuration base station, the terminal is controlled to connect with the first target cell and receive first access response information sent by the dual-connectivity configuration base station, wherein the first access response information comprises: first timing advance information generated according to the first time synchronization difference and a first time synchronization error compensation parameter, the first timing advance information is information indicating that the terminal performs time synchronization with the dual-connectivity configuration base station, and the first time synchronization error compensation parameter is a compensation delay of the dual-connectivity configuration base station for time-sensitive services; The terminal is controlled to perform time synchronization with the dual-connectivity configuration base station according to the first timing advance information and the first time synchronization error compensation parameter; If the target base station is the single-connectivity configuration base station, the terminal is controlled to connect with the second target cell and receive second access response information sent by the single-connectivity configuration base station, wherein the second access response information comprises: second timing advance information generated according to the second time synchronization difference and a second time synchronization error compensation parameter, the second timing advance information is information indicating that the terminal performs time synchronization with the dual-connectivity configuration base station, and the second time synchronization error compensation parameter is a compensation delay of the single-connectivity configuration base station for time-sensitive services; The terminal is controlled to perform time synchronization with the single-connectivity configuration base station according to the second timing advance information and the second time synchronization error compensation parameter.
7. The method of claim 2, wherein, The time synchronization error after the terminal performs time synchronization with the target base station is obtained, and the source base station is switched to the target base station when the time synchronization error is less than or equal to a preset threshold, comprising: The first time synchronization error after the terminal performs time synchronization with the dual-connectivity configuration base station is obtained, and it is determined to switch the source base station to the dual-connectivity configuration base station when the first time synchronization error is less than or equal to a preset threshold; If the first time synchronization error is greater than the preset threshold, the terminal is controlled to re-perform the time synchronization with the dual-connectivity configuration base station until the first time synchronization error is less than or equal to the preset threshold; The second time synchronization error after the terminal performs time synchronization with the single-connectivity configuration base station is obtained, and it is determined to switch the source base station to the single-connectivity configuration base station when the second time synchronization error is less than or equal to the preset threshold; If the second time synchronization error is greater than the preset threshold, the terminal is controlled to resynchronize with the single-connection configuration base station until the second time synchronization error is less than or equal to the preset threshold.
8. A communication system, characterized by include: Core network equipment and source base stations, among which, The core network equipment is used to receive service requests sent by the terminal, generate time synchronization error compensation parameters according to the service requests, and send the time synchronization error compensation parameters to the source base station. The source base station is communicatively connected to the core network equipment and is used to execute the base station switching method according to any one of claims 1 to 7.
9. An apparatus for handover of a base station, characterized by include: The sending module is used to send a handover request to the target base station, wherein the handover request is used to request the terminal to be switched from the source base station to the target base station; A receiving module is configured to receive a response message to the handover request, wherein the response message is generated by the target base station according to the type of the target base station and the handover request. The types of the target base station include dual-connectivity configuration base stations and single-connectivity configuration base stations, and the response messages are different depending on the type of the target base station. The time synchronization module is used to generate reconfiguration information based on the response message and send the reconfiguration information and a handover command to the terminal. The handover command is used to control the terminal to perform time synchronization between the terminal and the target base station based on the reconfiguration information. The switching module is used to obtain the time synchronization error between the terminal and the target base station after time synchronization, and to switch the terminal from the source base station to the target base station when the time synchronization error is less than or equal to a preset threshold.
10. A non-volatile storage medium, comprising: The non-volatile storage medium stores a program, wherein when the program is executed, it controls the device containing the non-volatile storage medium to perform the method for switching base stations as described in any one of claims 1 to 7.
11. An electronic device, comprising: include: A memory and a processor, the processor being configured to run a program stored in the memory, wherein the program, when executed, performs the method for switching base stations as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Switching method, system and base station
CN107872851A
Base station for mobile communication system
CN111565449A