Nothing Special   »   [go: up one dir, main page]

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

Handover timing method, terminal device and network device Download PDF

Info

Publication number
TW202025842A
TW202025842A TW108134952A TW108134952A TW202025842A TW 202025842 A TW202025842 A TW 202025842A TW 108134952 A TW108134952 A TW 108134952A TW 108134952 A TW108134952 A TW 108134952A TW 202025842 A TW202025842 A TW 202025842A
Authority
TW
Taiwan
Prior art keywords
network device
target network
timer
connection
public
Prior art date
Application number
TW108134952A
Other languages
Chinese (zh)
Inventor
尤心
Original Assignee
大陸商Oppo廣東移動通信有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 大陸商Oppo廣東移動通信有限公司 filed Critical 大陸商Oppo廣東移動通信有限公司
Publication of TW202025842A publication Critical patent/TW202025842A/en

Links

Images

Classifications

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

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

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

Description

一種切換定時方法、終端設備及網路設備A switching timing method, terminal equipment and network equipment

本發明涉及訊息處理技術領域,尤其涉及一種切換定時方法、終端設備、網路設備、晶片、電腦可讀存儲媒介、電腦程式產品以及電腦程式。The present invention relates to the field of information processing technology, in particular to a switching timing method, terminal equipment, network equipment, chip, computer-readable storage medium, computer program product, and computer program.

在移動通訊處理中,切換過程中可能會切換失敗,通常切換失敗的原因為T304超時; T307超時;T312超時等等,在切換失敗之後終端設備需要發起無線資源控制(RRC,Radio Resource Control)連接重建立。In mobile communication processing, handover may fail during the handover process. Usually, the reasons for handover failure are T304 timeout; T307 timeout; T312 timeout, etc. After the handover fails, the terminal device needs to initiate radio resource control (RRC, Radio Resource Control). Control) The connection is re-established.

針對終端設備進行切換的流程,可能會出現為終端設備配置多個目標基地台的方式,從而使得終端設備在進行切換的時候,可以儘快選取目標基地台以保證終端設備快速的完成切換處理。但是,這樣的處理方式中,如何對終端設備的連接進行控制是需要解決的問題。For the terminal device switching process, there may be a way to configure multiple target base stations for the terminal device, so that the terminal device can select the target base station as soon as possible when the terminal device switches to ensure that the terminal device quickly completes the switching process. However, in such a processing method, how to control the connection of the terminal device is a problem that needs to be solved.

為解決上述技術問題,本發明實施例提供了一種切換定時方法、終端設備、網路設備、晶片、電腦可讀存儲媒介、電腦程式產品以及電腦程式。To solve the above technical problems, embodiments of the present invention provide a switching timing method, terminal equipment, network equipment, chip, computer readable storage medium, computer program product, and computer program.

第一方面,本發明實施例提供了一種切換定時方法,應用於終端設備,包括:接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;其中,所述公共計時器的時長至少大於針對至少一個目標網路設備的計時器的最大時長。In the first aspect, an embodiment of the present invention provides a handover timing method, applied to a terminal device, including: receiving at least one timer for at least one target network device, and/or, a common timer; wherein, the common timer The duration of the device is at least greater than the maximum duration of the timer for at least one target network device.

在一實施例中,所述接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器之後,所述方法還包括:當接收到切換命令時,啟動第一目標網路設備的第一計時器、並啟動公共計時器,向第一目標網路設備發起連接。In an embodiment, after receiving at least one timer for at least one target network device, and/or, after the common timer, the method further includes: when a handover command is received, starting the first target network The first timer of the device and the public timer are started to initiate a connection to the first target network device.

在一實施例中,所述向第一目標網路設備發起連接之後,所述方法還包括:當第一目標網路設備的第一計時器停止、和/或連接第一目標網路設備失敗時,若公共計時器未超時,則從至少一個目標網路設備中選取第二目標網路設備,向第二目標網路設備發起連接、並啟動第二目標網路設備的計時器;或者,當第一目標網路設備的第一計時器停止、和/或連接第一目標網路設備失敗時,若公共計時器未超時,則基於切換命令獲取第二目標網路設備,向第二目標網路設備發起連接、並啟動第二目標網路設備的計時器。In an embodiment, after initiating the connection to the first target network device, the method further includes: when the first timer of the first target network device is stopped, and/or the connection to the first target network device fails If the public timer does not expire, select a second target network device from at least one target network device, initiate a connection to the second target network device, and start the timer of the second target network device; or , When the first timer of the first target network device is stopped and/or the connection to the first target network device fails, if the public timer does not expire, the second target network device is acquired based on the switching command, and the The second target network device initiates a connection and starts a timer of the second target network device.

在一實施例中,所述方法還包括:當所述公共計時器超時,確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。In an embodiment, the method further includes: when the public timer expires, confirming that the handover fails, returning to the connection with the source network device, or initiating connection re-establishment.

在一實施例中,所述第一目標網路設備以及第二目標網路設備為所述終端設備切換時的目標網路設備;或者,所述第一目標網路設備以及第二目標網路設備為輔助節點SN,所述源網路設備為主節點MN 。In an embodiment, the first target network device and the second target network device are the target network devices when the terminal device is switched; or, the first target network device and the second target network The device is the auxiliary node SN, and the source network device is the master node MN.

第二方面,本發明實施例提供了一種切換定時方法,應用於源網路設備,包括:向終端設備配置針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;其中,所述公共計時器的時長至少大於針對至少一個目標網路設備的計時器的最大時長。In a second aspect, an embodiment of the present invention provides a handover timing method applied to a source network device, including: configuring a terminal device with at least one timer for at least one target network device, and/or a common timer; where , The duration of the public timer is at least greater than the maximum duration of the timer for at least one target network device.

在一實施例中,所述向終端設備配置針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器,包括:在切換命令中攜帶針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器,發送所述切換命令至所述終端設備。In an embodiment, the configuring the terminal device with at least one timer for at least one target network device, and/or, the public timer includes: carrying at least one timer for at least one target network device in the handover command A timer, and/or, a common timer, sends the switching command to the terminal device.

在一實施例中,所述方法還包括:基於至少一個網路設備對應的測量報告,選取目標網路設備;或者,從所述至少一個網路設備中隨機選取目標網路設備。In an embodiment, the method further includes: selecting a target network device based on a measurement report corresponding to at least one network device; or, randomly selecting a target network device from the at least one network device.

在一實施例中,所述第一目標網路設備以及第二目標網路設備為所述終端設備切換時的目標網路設備;或者,所述第一目標網路設備以及第二目標網路設備為輔助節點SN,所述源網路設備為主節點MN。In an embodiment, the first target network device and the second target network device are the target network devices when the terminal device is switched; or, the first target network device and the second target network The device is the auxiliary node SN, and the source network device is the master node MN.

第三方面,本發明實施例提供了一種終端設備,包括:第一通訊單元,接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;其中,所述公共計時器的時長至少大於針對至少一個目標網路設備的計時器的最大時長。In a third aspect, an embodiment of the present invention provides a terminal device, including: a first communication unit that receives at least one timer for at least one target network device, and/or, a public timer; wherein, the public timer The duration of is at least greater than the maximum duration of the timer for at least one target network device.

在一實施例中,所述終端設備還包括:第一處理單元,當接收到切換命令時,啟動公共計時器,透過第一通訊單元向第一目標網路設備發起連接。In an embodiment, the terminal device further includes: a first processing unit, when a handover command is received, starts a common timer, and initiates a connection to the first target network device through the first communication unit.

在一實施例中,所述第一處理單元,當連接第一目標網路設備失敗、或者當公共計時器停止且連接所述第一目標網路設備不成功時,確定第二目標網路設備,重新開機公共計時器,透過第一通訊單元,向所述第二目標網路設備發起連接。In an embodiment, the first processing unit determines the second target network device when the connection to the first target network device fails, or when the public timer stops and the connection to the first target network device is unsuccessful , Restart the public timer, and initiate a connection to the second target network device through the first communication unit.

在一實施例中,所述第一處理單元,判斷重新啟動所述公共計時器的次數是否超過預設次數閾值,若超過,則確認切換失敗,返回與源網路設備的連接、或者、發起連接重建;或者,判斷重新選取目標網路設備的次數是否超過預設選取閾值,若超過,則確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。In an embodiment, the first processing unit determines whether the number of restarts of the public timer exceeds a preset threshold, and if it exceeds, confirms that the handover has failed, and returns to the connection with the source network device, or initiates Connection re-establishment; or, determine whether the number of times of reselecting the target network device exceeds the preset selection threshold, if it exceeds, confirm that the switch has failed, return to the connection with the source network device, or initiate connection re-establishment.

在一實施例中,所述第一處理單元,當連接第一目標網路設備失敗、且所述公共計時器未超時,從至少一個目標網路設備中選取第二目標網路設備,透過第一通訊單元向所述第二目標網路設備發起連接;或者,當第一目標網路設備連接失敗、且所述公共計時器未超時,獲取切換命令中配置的第二目標網路設備,透過第一通訊單元向所述第二目標網路設備發起連接。In one embodiment, the first processing unit selects the second target network device from at least one target network device when the connection to the first target network device fails and the public timer has not expired, through The first communication unit initiates a connection to the second target network device; or, when the connection of the first target network device fails and the public timer does not expire, obtain the second target network device configured in the switching command , Initiate a connection to the second target network device through the first communication unit.

在一實施例中,所述第一處理單元,當所述公共計時器超時,確認切換失敗,透過第一通訊單元返回與源網路設備的連接、或者、發起連接重建。In an embodiment, the first processing unit, when the common timer expires, confirms that the handover has failed, and returns to the connection with the source network device through the first communication unit, or initiates connection reestablishment.

在一實施例中,所述終端設備還包括:第一處理單元,當接收到切換命令時,啟動針對第一目標網路設備的第一計時器,透過第一通訊單元向第一目標網路設備發起連接。In one embodiment, the terminal device further includes: a first processing unit, when receiving a handover command, start a first timer for the first target network device, and send it to the first target network via the first communication unit The device initiates a connection.

在一實施例中,所述第一處理單元,當第一目標網路設備連接失敗時,從至少一個目標網路設備中選取第二目標網路設備發起連接,並啟動所述第二目標網路設備的第二計時器;或者,當第一目標網路設備連接失敗時,獲取切換命令中配置的第二目標網路設備,向所述第二目標網路設備發起連接,並啟動所述第二目標網路設備的第二計時器。In one embodiment, when the first target network device fails to connect, the first processing unit selects a second target network device from at least one target network device to initiate a connection, and activates the second target network device. Or, when the connection of the first target network device fails, obtain the second target network device configured in the switching command, initiate a connection to the second target network device, and start the The second timer of the second target network device.

第四方面,本發明實施例提供了一種源網路設備,包括:第二通訊單元,向終端設備配置針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;其中,所述公共計時器的時長至少大於針對至少一個目標網路設備的計時器的最大時長。In a fourth aspect, an embodiment of the present invention provides a source network device, including: a second communication unit configured to configure at least one timer for at least one target network device, and/or a common timer, to the terminal device; wherein, The duration of the public timer is at least greater than the maximum duration of the timer for at least one target network device.

在一實施例中,所述第二通訊單元,在切換命令中攜帶針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器,發送所述切換命令至所述終端設備。In an embodiment, the second communication unit carries at least one timer for at least one target network device in the handover command, and/or a common timer, and sends the handover command to the terminal device.

在一實施例中,所述源網路設備還包括:第二處理單元,基於至少一個網路設備對應的測量報告,選取目標網路設備;或者,從所述至少一個網路設備中隨機選取目標網路設備。In an embodiment, the source network device further includes: a second processing unit, which selects a target network device based on a measurement report corresponding to at least one network device; or, randomly selects from the at least one network device Target network device.

在一實施例中,所述第一目標網路設備以及第二目標網路設備為所述終端設備切換時的目標網路設備;或者,所述第一目標網路設備以及第二目標網路設備為輔助節點SN,所述源網路設備為主節點MN。In an embodiment, the first target network device and the second target network device are the target network devices when the terminal device is switched; or, the first target network device and the second target network The device is the auxiliary node SN, and the source network device is the master node MN.

第五方面,本發明實施例提供了一種終端設備,包括處理器和記憶體。該記憶體用於存儲電腦程式,該處理器用於調用並運行該記憶體中存儲的電腦程式,執行上述第一方面或其各實現方式中的方法。In the fifth aspect, an embodiment of the present invention provides a terminal device, including a processor and a memory. The memory is used to store a computer program, and the processor is used to call and run the computer program stored in the memory to execute the method in the first aspect or its implementations.

第六方面,提供了一種網路設備,包括處理器和記憶體。該記憶體用於存儲電腦程式,該處理器用於調用並運行該記憶體中存儲的電腦程式,執行上述第二方面或其各實現方式中的方法。In a sixth aspect, a network device is provided, including a processor and a memory. The memory is used to store computer programs, and the processor is used to call and run the computer programs stored in the memory to execute the methods in the second aspect or each of its implementations.

第七方面,提供了一種晶片,用於實現上述第一方面至第二方面中的任一方面或其各實現方式中的方法。In a seventh aspect, a wafer is provided, which is used to implement any one of the above-mentioned first aspect to the second aspect or the method in each implementation manner thereof.

具體地,該晶片包括:處理器,用於從記憶體中調用並運行電腦程式,使得安裝有該晶片的設備執行如上述第一方面至第二方面中的任一方面或其各實現方式中的方法。Specifically, the chip includes: a processor for calling and running computer programs from the memory, so that the device installed with the chip executes any one of the first aspect to the second aspect or each of the implementations thereof Methods.

第八方面,提供了一種電腦可讀存儲媒介,用於存儲電腦程式,該電腦程式使得電腦執行上述第一方面至第二方面中的任一方面或其各實現方式中的方法。In an eighth aspect, a computer-readable storage medium is provided for storing a computer program that enables a computer to execute any one of the first aspect to the second aspect or the method in each implementation manner thereof.

第九方面,提供了一種電腦程式產品,包括電腦程式指令,該電腦程式指令使得電腦執行上述第一方面至第二方面中的任一方面或其各實現方式中的方法。In a ninth aspect, a computer program product is provided, including computer program instructions that cause a computer to execute any one of the first aspect to the second aspect or the method in each implementation manner thereof.

第十方面,提供了一種電腦程式,當其在電腦上運行時,使得電腦執行上述第一方面至第二方面中的任一方面或其各實現方式中的方法。In a tenth aspect, a computer program is provided, which when running on a computer, causes the computer to execute any one of the above-mentioned first to second aspects or the methods in each implementation manner thereof.

本發明實施例的技術方案,終端設備在進行切換的階段,能夠配置至少一個目標網路設備所對應的至少一個計時器、和/或公共計時器;使得終端設備在配置了至少一個目標網路設備的時候,基於對應的計時器和/或公共計時器控制切換處理,從而能夠保證重新與目標網路設備建立連接的處理效率。According to the technical solution of the embodiment of the present invention, the terminal device can configure at least one timer corresponding to at least one target network device and/or a public timer during the handover phase; so that the terminal device is configured with at least one target network device. When the device is used, the switching process is controlled based on the corresponding timer and/or public timer, so as to ensure the processing efficiency of re-establishing a connection with the target network device.

下面將結合本申請實施例中的附圖,對本申請實施例中的技術方案進行描述,顯然,所描述的實施例是本申請一部分實施例,而不是全部的實施例。基於本申請中的實施例,本領域普通技術人員在沒有做出創造性勞動前提下所獲得的所有其他實施例,都屬於本申請保護的範圍。The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work shall fall within the protection scope of this application.

本申請實施例的技術方案可以應用於各種通訊系統,例如:全球移動通訊(Global System of Mobile communication,GSM)系統、分碼多重存取(Code Division Multiple Access,CDMA)系統、寬頻分碼多重存取(Wideband Code Division Multiple Access,WCDMA)系統、通用封包無線服務(General Packet Radio Service,GPRS)、長期演進(Long Term Evolution,LTE)系統、LTE頻分雙工(Freq終端設備ncy Division Duplex,FDD)系統、LTE時分雙工(Time Division Duplex,TDD)、通用移動電信系統(Universal Mobile Telecommunication System,UMTS)、全球微波連接互通(Worldwide Interoperability for Microwave Access,WiMAX)通訊系統或5G系統等。The technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile communication (GSM) system, Code Division Multiple Access (CDMA) system, and broadband code division multiple access (CDMA) system. Take (Wideband Code Division Multiple Access, WCDMA) system, General Packet Radio Service (GPRS), Long Term Evolution (LTE) system, LTE frequency division duplex (Freq terminal equipment ncy 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.

示例性的,本申請實施例應用的通訊系統100可以如圖1所示。該通訊系統100可以包括網路設備110,網路設備110可以是與終端設備120(或稱為通訊終端、終端)通訊的設備。網路設備110可以為特定的地理區域提供通訊覆蓋,並且可以與位於該覆蓋區域內的終端設備進行通訊。可選地,該網路設備110可以是GSM系統或CDMA系統中的網路設備(Base Transceiver Station,BTS),也可以是WCDMA系統中的網路設備(NodeB,NB),還可以是LTE系統中的演進型網路設備(Evolutional Node B,eNB或eNodeB),或者是雲端無線存取網路(Cloud Radio Access Network,CRAN)中的無線控制器,或者該網路設備可以為移動交換中心、中繼站、存取點、車載設備、可穿戴設備、集線器、交換機、橋接器、路由器、5G網路中的網路側設備或者未來演進的公用地移動式網路(Public Land Mobile Network,PLMN)中的網路設備等。Exemplarily, the communication system 100 applied in the embodiment of the present application may be as shown in FIG. 1. The communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal device 120 (or called a communication terminal or a terminal). The network device 110 can provide communication coverage for a specific geographic area, and can communicate with terminal devices located in the coverage area. Optionally, the network equipment 110 may be a network equipment (Base Transceiver Station, BTS) in a GSM system or a CDMA system, a network equipment (NodeB, NB) in a WCDMA system, or an LTE system The evolved network equipment (Evolutional Node B, eNB or eNodeB) in the cloud radio access network (Cloud Radio Access Network, CRAN), or the network equipment can be a mobile switching center, Relay stations, access points, in-vehicle devices, wearable devices, hubs, switches, bridges, routers, network side devices in 5G networks, or future evolution of public land mobile networks (Public Land Mobile Network, PLMN) Network equipment, etc.

該通訊系統100還包括位於網路設備110覆蓋範圍內的至少一個終端設備120。作為在此使用的“終端設備”包括但不限於經由有線線路連接,如經由公共交換電話網絡(Public Switched Telephone Networks,PSTN)、數位用戶線路路(Digital Subscriber Line,DSL)、數位電纜、直接電纜連線;和/或另一資料連接/網路;和/或經由無線介面,如,針對行動網路、無線局域網(Wireless Local Area Network,WLAN)、諸如DVB-H 網路的數位電視網路、衛星網路、AM-FM廣播發送器;和/或另一終端設備的被設置成接收/發送通訊信號的裝置;和/或物聯網(Internet of Things,IoT)設備。被設置成透過無線介面通訊的終端設備可以被稱為“無線通訊終端”、“無線終端”或“移動終端”。移動終端的示例包括但不限於衛星或行動電話;可以組合蜂巢式無線電電話與資料處理、傳真以及資料通訊能力的個人通訊系統( Personal Communications System,PCS)終端;可以包括無線電電話、尋呼機、網際網路/內聯網存取、Web流覽器、記事簿、日曆以及/或全球定位系統(Global Positioning System,GPS)接收器的PDA;以及常規膝上型和/或掌上型接收器或包括無線電電話收發器的其它電子裝置。終端設備可以指存取終端、使用者設備(User Equipment,終端設備)、使用者單元、使用者站、移動站、移動台、遠方站、遠端終端機、移動設備、使用者終端、終端、無線通訊設備、使用者代理或使用者裝置。存取終端可以是行動電話、無線電話、會話啟動協議(Session Initiation Protocol,SIP)電話、無線局部迴路(Wireless Local Loop,WLL)站、個人數位助理(Personal Digital Assistant,PDA)、具有無線通訊功能的手持設備、計算設備或連接到無線數據機的其它處理設備、車載設備、可穿戴設備、5G網路中的終端設備或者未來演進的PLMN中的終端設備等。The communication system 100 also includes at least one terminal device 120 located within the coverage area of the network device 110. As used herein, "terminal equipment" includes, but is not limited to, connection via wired lines, such as via Public Switched Telephone Networks (PSTN), Digital Subscriber Line (DSL), digital cables, and direct cables Connection; and/or another data connection/network; and/or via a wireless interface, such as for mobile networks, wireless local area networks (WLAN), digital TV networks such as DVB-H networks , Satellite network, AM-FM broadcast transmitter; and/or another terminal device that is set to receive/send communication signals; and/or Internet of Things (IoT) equipment. A terminal device set to communicate through a wireless interface can be called a "wireless communication terminal", a "wireless terminal" or a "mobile terminal". Examples of mobile terminals include, but are not limited to, satellites or mobile phones; Personal Communications System (PCS) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, and the Internet PDA with road/intranet access, Web browser, note book, calendar, and/or Global Positioning System (GPS) receiver; and conventional laptop and/or palmtop receiver or including radio telephone Other electronic devices of the transceiver. Terminal equipment can refer to access terminal, user equipment (User Equipment, terminal equipment), user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile equipment, user terminal, terminal, Wireless communication equipment, user agent or user device. Access terminals can be mobile phones, wireless phones, Session Initiation Protocol (SIP) phones, wireless local loop (Wireless Local Loop, WLL) stations, personal digital assistants (Personal Digital Assistant, PDA), with wireless communication functions Handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks, or terminal devices in the future evolution of PLMN, etc.

可選地,終端設備120之間可以進行終端直連(Device to Device,D2D)通訊。Optionally, direct terminal connection (Device to Device, D2D) communication may be performed between the terminal devices 120.

可選地,5G系統或5G網路還可以稱為新無線(New Radio,NR)系統或NR網路。Optionally, the 5G system or 5G network may also be referred to as a New Radio (NR) system or NR network.

圖1示例性地示出了一個網路設備和兩個終端設備,可選地,該通訊系統100可以包括多個網路設備並且每個網路設備的覆蓋範圍內可以包括其它數量的終端設備,本申請實施例對此不做限定。Figure 1 exemplarily shows one network device and two terminal devices. Optionally, the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. This embodiment of the application does not limit this.

可選地,該通訊系統100還可以包括網路控制器、移動管理實體等其他網路實體,本申請實施例對此不作限定。Optionally, the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.

應理解,本申請實施例中網路/系統中具有通訊功能的設備可稱為通訊設備。以圖1示出的通訊系統100為例,通訊設備可包括具有通訊功能的網路設備110和終端設備120,網路設備110和終端設備120可以為上文所述的具體設備,此處不再贅述;通訊設備還可包括通訊系統100中的其他設備,例如網路控制器、移動管理實體等其他網路實體,本申請實施例中對此不做限定。It should be understood that the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices. Taking the communication system 100 shown in FIG. 1 as an example, the communication equipment may include a network equipment 110 with communication functions and a terminal equipment 120. The network equipment 110 and the terminal equipment 120 may be the specific equipment described above. To repeat; the communication device may also include other devices in the communication system 100, such as network controllers, mobility management entities and other network entities, which are not limited in the embodiment of the present application.

應理解,本文中術語“系統”和“網路”在本文中常被可互換使用。本文中術語“和/或”,僅僅是一種描述關聯物件的關聯關係,表示可以存在三種關係,例如,A和/或B,可以表示:單獨存在A,同時存在A和B,單獨存在B這三種情況。另外,本文中字元“/”,一般表示前後關聯物件是一種“或”的關係。It should be understood that the terms "system" and "network" in this article are often used interchangeably in this article. The term "and/or" in this article is only an association relationship describing related objects, which means that there can be three types of relationships. For example, A and/or B can mean that there is A alone, A and B exist at the same time, and B exists alone. three situations. In addition, the character "/" in this article generally indicates that the associated objects before and after are in an "or" relationship.

為了能夠更加詳盡地瞭解本發明實施例的特點與技術內容,下面結合附圖對本發明實施例的實現進行詳細闡述,所附附圖僅供參考說明之用,並非用來限定本發明實施例。In order to understand the features and technical content of the embodiments of the present invention in more detail, the implementation of the embodiments of the present invention will be described in detail below with reference to the accompanying drawings. The accompanying drawings are for reference and explanation purposes only, and are not used to limit the embodiments of the present invention.

實施例一、Example one

本發明實施例提供了一種切換定時方法,應用於終端設備,如圖2所示,包括:The embodiment of the present invention provides a handover timing method, which is applied to a terminal device, as shown in FIG. 2, including:

步驟201:接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;Step 201: Receive at least one timer for at least one target network device, and/or a public timer;

其中,所述至少一個目標網路設備對應的所述至少一個計時器中,不同的計時器的定時時長可以相同也可以不同;Wherein, in the at least one timer corresponding to the at least one target network device, the timing duration of different timers may be the same or different;

另外,所述公共計時器的定時時長可以為大於全部計時器中定時時長最大的計時器的定時時長;或者,所述公共計時器的定時時長,還可以為全部計時器的定時時長總和;當然,所述公共計時器的定時時長,還可以大於全部計時器的定時時長總和。至少一個計時器以及公共計時器的時長均可以根據實際情況進行設置,這裡不進行窮舉。In addition, the timing duration of the public timer may be greater than the timing duration of the timer with the largest timing duration among all timers; or, the timing duration of the public timer may also be the timing duration of all timers The sum of the duration; of course, the timing duration of the public timer can also be greater than the sum of the timing durations of all timers. The duration of at least one timer and the public timer can be set according to the actual situation, and it is not exhaustive here.

進一步地,當接收到至少一個計時器和/或公共計時器之後,本實施例提供的方案中,還可以包括:向目標網路設備發起連接時,基於所述至少一個計時器、和/或、公共計時器進行處理。Further, after receiving at least one timer and/or public timer, the solution provided in this embodiment may further include: when initiating a connection to the target network device, based on the at least one timer, and/or , Public timer for processing.

所述接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器,包括:The receiving at least one timer for at least one target network device, and/or, the public timer includes:

接收切換命令,透過所述切換命令獲取針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器。A handover command is received, and at least one timer for at least one target network device and/or a public timer is obtained through the handover command.

終端設備的至少一個目標網路設備的至少一個計時器,和/或,至少一個目標網路設備對應的一個公共計時器,可以由源網路設備直接配置,或者,還可以由目標網路設備透過源網路設備向終端設備轉發得到。At least one timer of at least one target network device of the terminal device, and/or a public timer corresponding to at least one target network device, can be directly configured by the source network device, or can also be set by the target network device It is forwarded from the source network device to the terminal device.

關於切換的處理流程可以參見圖3所示,包括:The processing flow of handover can be seen in Figure 3, including:

切換準備階段,包含圖中步驟1-6:源網路設備向終端設備發送測量控制;終端設備進行針對多個網路設備或社區的測量之後,向源網路設備發送測量報告;源網路設備根據測量報告(或者結合RRM訊息)進行切換決策;源網路設備向目標網路設備發送切換請求以使得目標網路設備準備進行切換;目標網路設備根據切換請求進行切換許可控制;目標網路設備確定進行切換時,向源網路設備發送切換請求確認。The handover preparation stage includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; the terminal device sends a measurement report to the source network device after measuring multiple network devices or communities; the source network The device makes switching decisions based on the measurement report (or combined with RRM messages); the source network device sends a switching request to the target network device to make the target network device ready to switch; the target network device performs switching permission control according to the switching request; the target network When the route device determines to switch, it sends a switch request confirmation to the source network device.

然後進行執行切換階段,包含圖中步驟7-11,具體的:目標網路設備生成RRC訊息,將RRC連接重配置訊息發送至源網路設備,由源網路設備透過RRC連接重配置訊息發送至終端設備;終端設備接收到RRC連接重配置訊息後,根據連接重配置訊息執行切換處理;然後源網路設備發送SN狀態傳輸至目標網路設備;終端設備與目標網路設備進行同步,然後接收目標網路設備進行UL分配,向目標網路設備發送RRC連接重配置完成訊息。Then perform the switching phase, including steps 7-11 in the figure. Specifically: the target network device generates an RRC message, sends the RRC connection reconfiguration message to the source network device, and the source network device sends it through the RRC connection reconfiguration message To the terminal device; after receiving the RRC connection reconfiguration message, the terminal device performs switching processing according to the connection reconfiguration message; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then Receive the target network device for UL allocation, and send an RRC connection reconfiguration complete message to the target network device.

最後進入切換完成階段,包含圖中12-18,具體的:目標網路設備向MME發送路徑切換請求,以通知MME終端設備改變社區;MME向服務閘道發送調整承載請求,由MME進行切換下行路徑處理;服務閘道完成處理後,向MME發送承載調整完成處理,並由MME向目標網路設備發送路徑切換請求的確認訊息;目標網路設備向源網路設備通知終端設備上下文釋放由源網路設備釋放資源。Finally, it enters the handover completion stage, including 12-18 in the figure. Specifically: the target network device sends a path switch request to the MME to notify the MME terminal device to change the community; the MME sends a bearer adjustment request to the service gateway, and the MME switches the downlink Path processing: After the service gateway completes the processing, it sends the bearer adjustment completion processing to the MME, and the MME sends a path switch request confirmation message to the target network device; the target network device notifies the source network device that the terminal device context is released by the source The network equipment releases resources.

結合本實施例,當終端設備具備一個目標網路設備的時候,源網路設備可以透過切換命令直接發送計時器,或者透過轉發的重配訊息發送一個計時器,也就是針對該目標網路設備的一個計時器;當終端設備具備至少兩個目標網路設備的時候,源網路設備可以直接透過切換指令配置至少兩個計時器,和/或,公共計時器,或者,可以透過轉發重配訊息為終端設備配置至少兩個計時器,和/或,公共計時器。In combination with this embodiment, when the terminal device has a target network device, the source network device can send a timer directly through a switch command, or send a timer through a forwarded reconfiguration message, that is, for the target network device When the terminal device has at least two target network devices, the source network device can directly configure at least two timers through the switch command, and/or the common timer, or it can be reconfigured through forwarding The message configures at least two timers for the terminal device, and/or, a common timer.

其中,可以針對每一個目標網路設備所對應的計時器和/或公共計時器均發送一個訊息至終端設備;或者,可以為將全部目標網路設備的每一個目標網路設備所對應的計時器和/或公共計時器添加到同一個訊息,然後僅向終端設備發送一條訊息即可。Among them, a message can be sent to the terminal device for the timer and/or public timer corresponding to each target network device; or, it can be the timer corresponding to each target network device of all target network devices. Add the device and/or public timer to the same message, and then only send one message to the terminal device.

需要理解的是,重配訊息中除了前述的計時器和/或公共計時器之外,還可以包括:移動控制訊息、新的C-RNTI、第二目標網路設備的安全訊息;另外,可選的還包括隨機存取前導,第二目標網路設備的系統訊息塊(SIB)等訊息。It should be understood that in addition to the aforementioned timers and/or public timers, the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, it may The options also include random access preamble, system message block (SIB) of the second target network device and other messages.

具體的,本實施例可以應用於以下多種場景:Specifically, this embodiment can be applied to the following multiple scenarios:

場景一、終端設備可以具備至少兩個目標網路設備,全部的目標網路設備對應一個公共計時器。Scenario 1: The terminal device may have at least two target network devices, and all target network devices correspond to a common timer.

需要理解的是,本場景中,可以分別針對至少兩個目標網路設備發送計時器,也就是說分別發送至少兩個目標網路設備的計時器,每一個計時器相同均可以為公共計時器;或者,也可以僅發送一個公共計時器,並配置該公共計時器可以應用於全部的目標網路設備。It should be understood that in this scenario, the timers can be sent to at least two target network devices respectively, that is to say, the timers of at least two target network devices are sent separately, and each timer can be a common timer if it is the same. ; Or, it is also possible to send only one public timer, and configure the public timer to apply to all target network devices.

本場景中,可以透過切換命令中獲取公共計時器,或者,可以從轉發的重配訊息中獲取所述公共計時器。In this scenario, the public timer can be obtained through the handover command, or the public timer can be obtained from the forwarded reconfiguration message.

所述基於所述至少一個計時器、和/或、公共計時器,向目標網路設備發起連接,包括:The initiating a connection to a target network device based on the at least one timer and/or a common timer includes:

當接收到切換命令時,啟動公共計時器,向第一目標網路設備發起連接。When the handover command is received, the public timer is started to initiate a connection to the first target network device.

或者,所述基於所述至少一個計時器、和/或、公共計時器,向目標網路設備發起連接,還包括:Alternatively, the initiating connection to the target network device based on the at least one timer, and/or, a common timer, further includes:

若接收到的切換命令(HO command)裡攜帶包含有至少兩個目標網路設備的重配訊息,則可以在終端設備選取當前所要存取的第一目標網路設備的時候,啟動公共計時器。If the received HO command carries a reconfiguration message containing at least two target network devices, the public timer can be started when the terminal device selects the first target network device to be accessed .

本場景下還可以針對多個網路設備使用同一個公共計時器的具體處理方法,提供以下多個子場景:In this scenario, you can also use the same common timer specific processing method for multiple network devices, providing the following multiple sub-scenarios:

子場景一、Sub scene one,

每次與目標網路設備連接失敗、連接第二目標網路設備的時候,重啟公共計時器,具體的:Every time the connection with the target network device fails and the second target network device is connected, restart the public timer, specifically:

若在計時器的計時時長內,向第一目標網路設備發起連接成功,則停止所述公共計時器。If the connection to the first target network device is successfully initiated within the time duration of the timer, the public timer is stopped.

若公共計時器超時、和/或、與第一目標網路設備連接失敗,則確定終端設備向第一目標網路設備切換失敗。If the public timer expires and/or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.

在確定終端設備向第一目標網路設備切換失敗的時候,所述方法還包括:When it is determined that the terminal device fails to switch to the first target network device, the method further includes:

當連接第一目標網路設備失敗、或者當公共計時器停止且連接所述第一目標網路設備不成功時,確定第二目標網路設備,重新開機公共計時器,向所述第二目標網路設備發起連接。When the connection to the first target network device fails, or when the public timer stops and the connection to the first target network device is unsuccessful, the second target network device is determined, the public timer is restarted, and the public timer is sent to the second target The network device initiates a connection.

其中,所述確定第二目標網路設備的方法,可以包括以下之一:Wherein, the method for determining the second target network device may include one of the following:

重新接受源網路設備發來的切換命令,基於切換命令獲取第二目標網路設備;其中,切換命令中包含有網路側為終端設備重新選取的第二目標網路設備。Re-accept the switching command sent by the source network device, and obtain the second target network device based on the switching command; wherein, the switching command includes the second target network device reselected by the network side for the terminal device.

或者,若終端設備接收到的重配訊息中攜帶有至少兩個目標網路設備的訊息時,從所述至少兩個目標網路設備中選取第二目標網路設備。Or, if the reconfiguration message received by the terminal device carries messages of at least two target network devices, the second target network device is selected from the at least two target network devices.

其中,所述從所述至少兩個目標網路設備中選取第二目標網路設備的方法,可以為隨機從至少兩個目標網路設備中選取第二目標網路設備,或者,基於至少兩個目標網路設備的選取優先順序來選取第二目標網路設備。Wherein, the method of selecting the second target network device from the at least two target network devices may be randomly selecting the second target network device from the at least two target network devices, or based on at least two target network devices. Select the second target network device according to the priority order of selection of the target network device.

所述選取優先順序可以為根據實際情況,由網路側為不同的目標網路設備設置的參數;網路側可以參考終端設備的測量報告為不同的目標網路設備設置不同的選取優先順序。比如,測量報告中的信號測量品質較高的可以設置的選取優先順序較高,反之,則可以設置的選取優先順序角度;和/或,根據目標網路設備的實際距離來設置,距離當前的源網路設備實際距離較近的選取優先順序較高(或較低);當然,實際處理中還能夠存在其他的設置方式,本實施例中不進行窮舉。The selection priority order may be a parameter set by the network side for different target network equipment according to actual conditions; the network side may refer to the measurement report of the terminal equipment to set different selection priority orders for different target network equipment. For example, if the signal measurement quality in the measurement report is higher, the selection priority can be set to be higher, and vice versa, the selection priority angle can be set; and/or set according to the actual distance of the target network device, and the distance from the current The selection priority of the source network device that is closer in actual distance is higher (or lower); of course, there can be other setting methods in actual processing, which are not exhaustively listed in this embodiment.

需要理解的是,在針對第二目標網路設備進行切換處理的時候,可以採用針對第一目標網路設備的處理方式進行處理,只是這裡不再進行贅述。It should be understood that when switching processing is performed for the second target network device, the processing method for the first target network device can be used for processing, but it is not repeated here.

當所述公共計時器超時,確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。具體的,第一目標網路設備或第二目標網路設備,切換失敗的時候,均可以返回至源網路設備的連接、或者重新向新的目標網路設備發起連接重建。其中,新的目標網路設備與本次切換失敗的目標網路設備不同。When the public timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or the connection re-establishment is initiated. Specifically, when the switching of the first target network device or the second target network device fails, it can return to the connection of the source network device or initiate a connection reestablishment to the new target network device. Among them, the new target network device is different from the target network device that failed this time.

還需要理解的是,當重新向第二目標網路設備發起連接的時候,就可以將第二目標網路設備作為新的第一目標網路設備進行後續操作,也就是說,當新的第一目標網路設備連接成功的時候,可以確定切換成功,如果新的第一目標網路設備連接失敗的時候,再次重新選取新的第二目標網路設備,如此迴圈處理。It should also be understood that when the connection to the second target network device is re-initiated, the second target network device can be used as the new first target network device for subsequent operations, that is, when the new first target network device When a target network device is successfully connected, it can be determined that the switch is successful. If the new first target network device fails to connect, a new second target network device is selected again, and the process is looped.

所述確定第二目標網路設備,重新開機公共計時器,向所述第二目標網路設備發起連接時,所述方法還包括:When the second target network device is determined, the public timer is restarted, and the connection is initiated to the second target network device, the method further includes:

判斷重新啟動所述公共計時器的次數是否超過預設次數閾值,若超過,則確認切換失敗,返回與源網路設備的連接、或者、發起連接重建;其中,所述預設次數閾值,可以為根據實際情況進行設置,比如,可以為重啟公共計時器超過5次,就確認當前沒有合適的目標網路設備進行切換,從而判斷切換失敗,當然還可以根據目標網路設備的數量來確定預設次數閾值,比如,預設次數閾值可以為目標網路設備的數量的2/3,假設有9個目標網路設備的時候,可以重啟公共計時器6次;此外還可以存在其他的預設次數閾值的設定方法,只是本實施例中不再進行窮舉。Determine whether the number of restarts of the public timer exceeds a preset threshold of times, and if it exceeds, confirm that the handover fails, return to the connection with the source network device, or initiate a connection re-establishment; wherein, the threshold of the preset times may In order to set according to the actual situation, for example, you can restart the public timer more than 5 times to confirm that there is no suitable target network device to switch, so as to judge the switch failure. Of course, you can also determine the preset according to the number of target network devices. Set the frequency threshold. For example, the preset frequency threshold can be 2/3 of the number of target network devices. If there are 9 target network devices, the public timer can be restarted 6 times; in addition, there can be other presets The method for setting the frequency threshold is just not exhaustively listed in this embodiment.

或者,判斷重新選取目標網路設備的次數是否超過預設選取閾值,若超過,則確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。其中,所述預設選取閾值,可以為根據實際情況進行設置,比如,可以為重新選取目標網路設備超過3次,就確認當前沒有合適的目標網路設備進行切換,從而判斷切換失敗;當然還可以根據目標網路設備的數量來確定預設次數閾值,比如,預設選取閾值可以為目標網路設備的數量的2/3,假設有9個目標網路設備的時候,可以重新選取目標網路設備超過6次就確定切換失敗;此外還可以存在其他的預設次數閾值的設定方法,只是本實施例中不再進行窮舉。Or, it is judged whether the number of times of reselecting the target network device exceeds the preset selection threshold, and if it exceeds, it is confirmed that the switching has failed, and the connection with the source network device is returned, or the connection reconstruction is initiated. Wherein, the preset selection threshold can be set according to actual conditions. For example, the target network device can be reselected more than 3 times, and it is confirmed that there is no suitable target network device to switch, so as to determine that the switch fails; of course; The preset threshold can also be determined according to the number of target network devices. For example, the default selection threshold can be 2/3 of the number of target network devices. If there are 9 target network devices, you can select the target again If the network device exceeds 6 times, it is determined that the handover has failed; in addition, there may be other methods for setting the threshold of the preset times, but this embodiment will not be exhaustive.

子場景二、Sub-scene two,

多個網路設備共用一個公共計時器,並且每次連接目標網路設備失敗就直接重選目標網路設備,直至公共計時器停止。具體的:Multiple network devices share a common timer, and each time the connection to the target network device fails, the target network device is directly reselected until the common timer stops. specific:

當連接第一目標網路設備失敗、且所述公共計時器未超時,從至少一個目標網路設備中選取第二目標網路設備向所述第二目標網路設備發起連接;When the connection to the first target network device fails and the public timer has not timed out, selecting a second target network device from at least one target network device to initiate a connection to the second target network device;

或者,當第一目標網路設備連接失敗、且所述公共計時器未超時,獲取切換命令中配置的第二目標網路設備,向所述第二目標網路設備發起連接。Or, when the connection of the first target network device fails and the public timer does not expire, the second target network device configured in the handover command is acquired, and the connection is initiated to the second target network device.

其中,所述從所述至少兩個目標網路設備中選取第二目標網路設備的方法,可以為隨機從至少兩個目標網路設備中選取第二目標網路設備,或者,基於至少兩個目標網路設備的選取優先順序來選取第二目標網路設備。Wherein, the method of selecting the second target network device from the at least two target network devices may be randomly selecting the second target network device from the at least two target network devices, or based on at least two target network devices. Select the second target network device according to the priority order of selection of the target network device.

所述選取優先順序可以為根據實際情況,由網路側為不同的目標網路設備設置的參數;網路側可以參考終端設備的測量報告為不同的目標網路設備設置不同的選取優先順序。比如,測量報告中的信號測量品質較高的可以設置的選取優先順序較高,反之,則可以設置的選取優先順序角度;和/或,根據目標網路設備的實際距離來設置,距離當前的源網路設備實際距離較近的選取優先順序較高(或較低);當然,實際處理中還能夠存在其他的設置方式,本實施例中不進行窮舉。The selection priority order may be a parameter set by the network side for different target network equipment according to actual conditions; the network side may refer to the measurement report of the terminal equipment to set different selection priority orders for different target network equipment. For example, if the signal measurement quality in the measurement report is higher, the selection priority can be set to be higher, and vice versa, the selection priority angle can be set; and/or set according to the actual distance of the target network device, and the distance from the current The selection priority of the source network device that is closer in actual distance is higher (or lower); of course, there can be other setting methods in actual processing, which are not exhaustively listed in this embodiment.

當每次重新從至少一個網路設備中選取第二目標網路設備的處理中,可以不需要與源網路設備保持連接;而每次重新獲取切換命令,基於切換命令的配置的第二目標網路設備重新發起連接的處理中,可以為每次連接失敗均返回至源網路設備的連接。When the second target network device is reselected from at least one network device each time, there is no need to maintain a connection with the source network device; and each time the switch command is reacquired, the second target is based on the configuration of the switch command In the process of the network device re-initiating the connection, it can be a connection that returns to the source network device every time the connection fails.

需要指出的是,向第二目標網路設備發起連接之後,可以將第二目標網路設備重新作為第一目標網路設備,繼續執行本場景中的操作,進而,當新的第一目標網路設備連接失敗的時候,再次重新選取新的第二目標網路設備,如此迴圈處理,直至公共計時器停止的時候,仍未選取到能夠連接的目標網路設備的時候,可以確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。It should be pointed out that after initiating a connection to the second target network device, the second target network device can be used as the first target network device again to continue to perform the operations in this scenario, and then, when the new first target network When the connection of the road device fails, reselect the new second target network device again, and do so in a loop until the public timer stops, when the target network device that can be connected is still not selected, you can confirm that the switch failed , Return to the connection with the source network device, or initiate connection re-establishment.

場景二、Scene two,

終端設備具備至少兩個目標網路設備,每一個目標網路設備對應一個計時器。The terminal device has at least two target network devices, and each target network device corresponds to a timer.

需要理解的是,本場景中,接收源網路設備配置的針對至少兩個目標網路設備的至少兩個計時器;其中,不同的目標網路設備對應的計時器的計時時長可以相同也可以不同,可以由每一個目標網路設備來確定,本實施例中不做限定。It should be understood that in this scenario, at least two timers configured by the source network device for at least two target network devices; wherein the timing duration of the timers corresponding to different target network devices can be the same or It can be different and can be determined by each target network device, which is not limited in this embodiment.

本場景中,可以為源網路設備直接在切換命令中攜帶計時器發送至終端設備;或者,可以為源網路設備將至少兩個目標網路設備的重配訊息轉發給終端設備。In this scenario, the source network device can directly carry a timer in the handover command and send it to the terminal device; or, the source network device can forward the reconfiguration messages of at least two target network devices to the terminal device.

所述基於所述至少一個計時器、和/或、公共計時器,向目標網路設備發起連接,包括:The initiating a connection to a target network device based on the at least one timer and/or a common timer includes:

當接收到切換命令時,啟動針對第一目標網路設備的第一計時器,向第一目標網路設備發起連接。When the switching command is received, the first timer for the first target network device is started, and a connection is initiated to the first target network device.

進一步地,若在第一計時器的計時時長內,向第一目標網路設備發起連接成功,則停止所述第一計時器。Further, if the connection to the first target network device is successfully initiated within the time duration of the first timer, the first timer is stopped.

若第一計時器超時、和/或、與第一目標網路設備連接失敗,則確定終端設備向第一目標網路設備切換失敗。If the first timer expires and/or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.

在確定終端設備向第一目標網路設備切換失敗的時候,所述方法還包括:When it is determined that the terminal device fails to switch to the first target network device, the method further includes:

當第一目標網路設備連接失敗時,從至少一個目標網路設備中選取第二目標網路設備發起連接,並啟動所述第二目標網路設備的計時器;When the connection of the first target network device fails, select a second target network device from at least one target network device to initiate the connection, and start the timer of the second target network device;

或者,當第一目標網路設備連接失敗時,獲取切換命令中配置的第二目標網路設備,向所述第二目標網路設備發起連接,並啟動所述第二目標網路設備的計時器。Or, when the connection of the first target network device fails, obtain the second target network device configured in the switching command, initiate a connection to the second target network device, and start the timing of the second target network device Device.

其中,所述從所述至少兩個目標網路設備中選取第二目標網路設備的方法,可以為隨機中至少兩個目標網路設備中選取第二目標網路設備,或者,基於至少兩個目標網路設備的選取優先順序來選取第二目標網路設備。Wherein, the method for selecting a second target network device from the at least two target network devices may be randomly selecting the second target network device from at least two target network devices, or based on at least two target network devices. Select the second target network device according to the priority order of selection of the target network device.

所述選取優先順序可以為根據實際情況,由網路側為不同的目標網路設備設置的參數;網路側可以參考終端設備的測量報告為不同的目標網路設備設置不同的選取優先順序。比如,測量報告中的信號測量品質較高的可以設置的選取優先順序較高,反之,則可以設置的選取優先順序角度;和/或,根據目標網路設備的實際距離來設置,距離當前的源網路設備實際距離較近的選取優先順序較高(或較低);當然,實際處理中還能夠存在其他的設置方式,本實施例中不進行窮舉。The selection priority order may be a parameter set by the network side for different target network equipment according to actual conditions; the network side may refer to the measurement report of the terminal equipment to set different selection priority orders for different target network equipment. For example, if the signal measurement quality in the measurement report is higher, the selection priority can be set to be higher, and vice versa, the selection priority angle can be set; and/or set according to the actual distance of the target network device, and the distance from the current The selection priority of the source network device that is closer in actual distance is higher (or lower); of course, there can be other setting methods in actual processing, which are not exhaustively listed in this embodiment.

還需要指出的,本場景中,當選取第二目標網路設備發起連接的時候,可以將本次選取的第二目標網路設備作為新的第一目標網路設備,相應的,第二計時器作為新的第一計時器進行切換連接控制;也就是,當新的第一目標網路設備在第一計時器結束的時候,未連接成功,則再次選取新的第二目標網路設備,並啟動所述新的第二目標網路設備所對應的第二計時器,如此迴圈處理。It should also be pointed out that in this scenario, when the second target network device is selected to initiate a connection, the second target network device selected this time can be used as the new first target network device. Accordingly, the second timing The device is used as a new first timer for switching connection control; that is, when the new first target network device is not successfully connected when the first timer ends, the new second target network device is selected again, And start the second timer corresponding to the new second target network device, and do so in a loop.

進一步地,上述迴圈處理的結束方式,可以為,判斷重新選取新的目標網路設備的次數,是否超過預設選取閾值,若超過,則確定切換失敗;或者,還可以為判斷重新啟動新的計時器的次數,是否超過預設次數閾值,若超過則確定切換失敗。關於預設選取閾值以及預設次數閾值的確定方式可以參見場景一中的描述,這裡不再贅述。Further, the ending method of the above loop processing can be to determine whether the number of times to reselect a new target network device exceeds a preset selection threshold, and if it exceeds, it is determined that the handover has failed; or, it can also be determined to restart the new network device. If the number of timers exceeds the preset number threshold, if it exceeds, it is determined that the handover fails. For the determination method of the preset selection threshold and the preset number of times threshold, please refer to the description in scenario 1, which will not be repeated here.

當所述計時器超時,確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。具體的,第一目標網路設備或第二目標網路設備,是否切換成功的判斷方式均可以採用上述描述;並且,當切換失敗的時候,均可以返回至源網路設備的連接、或者重新向新的第二目標網路設備發起連接重建。其中,新的第二目標網路設備與本次切換失敗的第二目標網路設備不同。When the timer expires, it is confirmed that the handover has failed, and the connection with the source network device is returned, or the connection reconstruction is initiated. Specifically, for the first target network device or the second target network device, the judgment method of whether the handover is successful can adopt the above description; and, when the handover fails, both can return to the connection of the source network device or restart. Initiate connection reestablishment to the new second target network device. Wherein, the new second target network device is different from the second target network device that failed this time.

場景三、Scene three

終端設備具備至少兩個目標網路設備,每一個目標網路設備對應一個計時器、並且全部的目標網路設備共用一個公共計時器。需要理解的是,不同的目標網路設備對應的計時器的計時時長可以相同也可以不同;所述公共計時器的定時時長可以為大於全部計時器中定時時長最大的計時器的定時時長;或者,所述公共計時器的定時時長,還可以為全部計時器的定時時長總和;當然,所述公共計時器的定時時長,還可以大於全部計時器的定時時長總和。至少一個計時器以及公共計時器的時長均可以根據實際情況進行設置,這裡不進行窮舉。The terminal device has at least two target network devices, each target network device corresponds to a timer, and all target network devices share a common timer. It should be understood that the timing duration of the timers corresponding to different target network devices may be the same or different; the timing duration of the public timer may be greater than the timing of the timer with the largest timing duration among all timers Duration; or, the timing duration of the public timer may also be the sum of timing durations of all timers; of course, the timing duration of the public timer may also be greater than the sum of timing durations of all timers . The duration of at least one timer and the public timer can be set according to the actual situation, and it is not exhaustive here.

本場景中,可以透過源基地台轉發的重配訊息中獲取所述至少兩個目標網路設備對應的至少兩個計時器;或者源網路設備直接在切換命令中設置至少兩個計時器發送給終端設備。In this scenario, the at least two timers corresponding to the at least two target network devices can be obtained from the reconfiguration message forwarded by the source base station; or the source network device directly sets at least two timers in the handover command to send To the terminal equipment.

所述基於所述至少一個計時器、和/或、公共計時器,向目標網路設備發起連接,包括:The initiating a connection to a target network device based on the at least one timer and/or a common timer includes:

當接收到切換命令時,啟動第一目標網路設備的第一計時器、並啟動公共計時器,向第一目標網路設備發起連接。When the handover command is received, the first timer of the first target network device is started, and the public timer is started to initiate a connection to the first target network device.

進一步地,若在第一計時器的計時時長內,向第一目標網路設備發起連接成功,則停止所述第一計時器。若第一計時器超時、和/或、與第一目標網路設備連接失敗,則確定終端設備向第一目標網路設備切換失敗。Further, if the connection to the first target network device is successfully initiated within the time duration of the first timer, the first timer is stopped. If the first timer expires and/or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.

所述向第一目標網路設備發起連接之後,所述方法還包括:After the connection is initiated to the first target network device, the method further includes:

當第一目標網路設備的第一計時器停止、和/或連接第一目標網路設備失敗時,若公共計時器未超時,則從至少一個目標網路設備中選取第二目標網路設備,向第二目標網路設備發起連接、並啟動第二目標網路設備的計時器;When the first timer of the first target network device is stopped and/or the connection to the first target network device fails, if the public timer does not expire, the second target network is selected from at least one target network device Device, initiate a connection to the second target network device and start the timer of the second target network device;

或者,當第一目標網路設備的第一計時器停止、和/或連接第一目標網路設備失敗時,若公共計時器未超時,則基於切換命令獲取第二目標網路設備,向第二目標網路設備發起連接、並啟動第二目標網路設備的計時器。Or, when the first timer of the first target network device stops and/or the connection to the first target network device fails, if the public timer does not expire, the second target network device is acquired based on the switching command, and The second target network device initiates a connection and starts a timer of the second target network device.

其中,所述從所述至少兩個目標網路設備中選取第二目標網路設備的方法,可以為隨機中至少兩個目標網路設備中選取第二目標網路設備,或者,基於至少兩個目標網路設備的選取優先順序來選取第二目標網路設備。Wherein, the method for selecting a second target network device from the at least two target network devices may be randomly selecting the second target network device from at least two target network devices, or based on at least two target network devices. Select the second target network device according to the priority order of selection of the target network device.

所述選取優先順序可以為根據實際情況,由網路側為不同的目標網路設備設置的參數;網路側可以參考終端設備的測量報告為不同的目標網路設備設置不同的選取優先順序。比如,測量報告中的信號測量品質較高的可以設置的選取優先順序較高,反之,則可以設置的選取優先順序角度;和/或,根據目標網路設備的實際距離來設置,距離當前的源網路設備實際距離較近的選取優先順序較高(或較低);當然,實際處理中還能夠存在其他的設置方式,本實施例中不進行窮舉。The selection priority order may be a parameter set by the network side for different target network equipment according to actual conditions; the network side may refer to the measurement report of the terminal equipment to set different selection priority orders for different target network equipment. For example, if the signal measurement quality in the measurement report is higher, the selection priority can be set to be higher, and vice versa, the selection priority angle can be set; and/or set according to the actual distance of the target network device, and the distance from the current The selection priority of the source network device that is closer in actual distance is higher (or lower); of course, there can be other setting methods in actual processing, which are not exhaustively listed in this embodiment.

還需要指出的,本場景中,當選取第二目標網路設備發起連接的時候,可以將本次選取的第二目標網路設備作為新的第一目標網路設備,相應的,第二計時器作為新的第一計時器進行切換連接控制;也就是,當新的第一目標網路設備在第一計時器結束的時候,未連接成功,則再次選取新的第二目標網路設備,並啟動所述新的第二目標網路設備所對應的第二計時器,如此迴圈處理。It should also be pointed out that in this scenario, when the second target network device is selected to initiate a connection, the second target network device selected this time can be used as the new first target network device. Accordingly, the second timing The device is used as a new first timer for switching connection control; that is, when the new first target network device is not successfully connected when the first timer ends, the new second target network device is selected again, And start the second timer corresponding to the new second target network device, and do so in a loop.

進一步地,上述迴圈處理的結束方式,可以為,當所述公共計時器超時,確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。Further, the method for ending the loop processing described above may be, when the public timer expires, confirm that the handover fails, return to the connection with the source network device, or initiate connection re-establishment.

還需要指出的是,當確定切換失敗並返回至源網路設備的連接的時候,或者,向目標網路設備發起連接的同時,本實施例中終端設備還可以保留與源網路設備之間的連接;其中,所述終端設備保留與源網路設備的第一協定疊以及第一相關金鑰、並且維護與第一目標網路設備之間的第二協定疊以及第二相關金鑰;It should also be pointed out that when it is determined that the handover fails and the connection to the source network device is returned, or when the connection is initiated to the target network device, the terminal device in this embodiment can also retain the connection with the source network device. The connection; wherein the terminal device retains the first protocol stack and the first related key with the source network device, and maintains the second protocol stack and the second related key with the first target network device;

其中,所述第一相關金鑰與第二相關金鑰不同。第二相關金鑰可以由第一相關金鑰生成。Wherein, the first related key is different from the second related key. The second correlation key can be generated from the first correlation key.

其中,第一協定疊與第二協定疊可以相同也可以不同,或者至少部分不同,比如,當針對5G系統的時候,可以為終端設備與源網路設備、以及終端設備與第一目標網路設備之間維護不同的服務資料應用協定(SDAP,Service Data Adaptation Protocol)、不同的分封資料匯聚協定(PDCP,Packet Data Convergence Protocol)、不同的無線鏈路層控制協定(RLC,Radio Link Control)、不同的媒體存取控制(MAC)實體、不同的低層(Low layer)實體;當針對4G系統的時候,可以為終端設備與源網路設備、以及終端設備與第一目標網路設備之間維護不同的分封資料匯聚協定(PDCP,Packet Data Convergence Protocol)、不同的無線鏈路層控制協定(RLC,Radio Link Control)、不同的媒體存取控制(MAC)實體、不同的低層(Low layer)實體。另外,本實施例提供的方案中,為了保證使用不同金鑰,第一協定疊以及第二協定疊的PDCP一定是不同的。SDAP、RLC、MAC以及實體層中至少之一,則可以相同也可以不同。或者,所述第一協定疊以及第二協定疊可以共用SDAP、RLC、MAC以及實體層中至少之一,或者可以分別擁有SDAP、RLC、MAC以及實體層。Among them, the first protocol stack and the second protocol stack may be the same or different, or at least partially different. For example, when targeting a 5G system, they may be the terminal device and the source network device, and the terminal device and the first target network. Devices maintain different service data application protocols (SDAP, Service Data Adaptation Protocol), different packet data convergence protocols (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), Different media access control (MAC) entities, different low layer entities; when targeting the 4G system, it can be maintained between the terminal device and the source network device, and between the terminal device and the first target network device Different packet data convergence protocols (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different media access control (MAC) entities, and different low layer entities . In addition, in the solution provided in this embodiment, in order to ensure that different keys are used, the PDCPs of the first protocol stack and the second protocol stack must be different. At least one of SDAP, RLC, MAC, and physical layer may be the same or different. Alternatively, the first protocol stack and the second protocol stack may share at least one of SDAP, RLC, MAC, and physical layer, or may have SDAP, RLC, MAC, and physical layer respectively.

本實施例所述第一目標網路設備以及第二目標網路設備為所述終端設備切換時的目標網路設備;或者,所述第一目標網路設備以及第二目標網路設備為輔助節點SN,所述源網路設備為主節點MN 。此處需注意,長期演進(LTE)系統中,SN稱為SCG,在新無線(NR)則為SN,指的是一樣的概念,就是DC場景下的第二服務網路設備。本實施例可以適用的場景為:終端與源網路設備保持連接、與目標網路設備連接失敗;終端源網路設備斷開連接、與目標網路設備連接成功;輔助社區組(SCG)連接失敗、SCG改變連接失敗。當然,還可以有,在配置了多個SCG場景中,一個SCG連接失敗;配置了多個目標社區的場景中,一個目標社區連接失敗。還可能會存在其他的適用場景,只是本實施例中不再進行窮舉。The first target network device and the second target network device in this embodiment are the target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary Node SN, the source network device is the master node MN. It should be noted here that in the Long Term Evolution (LTE) system, SN is called SCG, and in New Radio (NR) it is SN, which refers to the same concept, which is the second service network equipment in the DC scenario. The applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect with the target network device; the terminal source network device is disconnected, and the connection with the target network device is successful; the auxiliary community group (SCG) is connected Failed, SCG failed to change the connection. Of course, there can also be that in a scenario where multiple SCGs are configured, one SCG connection fails; in a scenario where multiple target communities are configured, one target community fails to connect. There may also be other applicable scenarios, but it is not exhaustively listed in this embodiment.

可見,透過採用上述方案,能夠配置至少一個目標網路設備所對應的至少一個計時器、和/或公共計時器;使得終端設備在配置了至少一個目標網路設備的時候,基於對應的計時器和/或公共計時器控制切換處理,從而能夠保證重新與目標網路設備建立連接的處理效率。It can be seen that by adopting the above solution, at least one timer and/or public timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, it is based on the corresponding timer And/or the public timer controls the switching process, so as to ensure the processing efficiency of re-establishing a connection with the target network device.

實施例二、Embodiment two

本發明實施例提供了一種切換定時方法,應用於源網路設備,如圖4所示,包括:The embodiment of the present invention provides a handover timing method, which is applied to a source network device, as shown in FIG. 4, including:

步驟401:向終端設備配置針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;其中,所述公共計時器的時長至少大於針對至少一個目標網路設備的計時器的最大時長。Step 401: Configure a terminal device with at least one timer for at least one target network device, and/or a public timer; wherein the duration of the public timer is at least greater than the timer for at least one target network device The maximum length of time.

另外,所述公共計時器的定時時長可以為大於全部計時器中定時時長最大的計時器的定時時長;或者,所述公共計時器的定時時長,還可以為全部計時器的定時時長總和;當然,所述公共計時器的定時時長,還可以大於全部計時器的定時時長總和。至少一個計時器以及公共計時器的時長均可以根據實際情況進行設置,這裡不進行窮舉。In addition, the timing duration of the public timer may be greater than the timing duration of the timer with the largest timing duration among all timers; or, the timing duration of the public timer may also be the timing duration of all timers The sum of the duration; of course, the timing duration of the public timer can also be greater than the sum of the timing durations of all timers. The duration of at least one timer and the public timer can be set according to the actual situation, and it is not exhaustive here.

所述向終端設備配置針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器,包括:The configuration of the terminal device with at least one timer for at least one target network device, and/or a common timer, includes:

在切換命令中攜帶針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器,發送所述切換命令至所述終端設備。At least one timer for at least one target network device and/or a common timer is carried in the handover command, and the handover command is sent to the terminal device.

終端設備的至少一個目標網路設備的至少一個計時器,可以透過源網路設備直接透過切換命令來配置,或者,還可以由目標網路設備透過源網路設備向終端設備轉發。The at least one timer of the at least one target network device of the terminal device can be configured by the source network device directly through a switching command, or it can also be forwarded by the target network device to the terminal device through the source network device.

關於切換的處理流程可以參見圖3所示,包括:The processing flow of handover can be seen in Figure 3, including:

切換準備階段,包含圖中步驟1-6:源網路設備向終端設備發送測量控制;終端設備進行針對多個網路設備或社區的測量之後,向源網路設備發送測量報告;源網路設備根據測量報告(或者結合RRM訊息)進行切換決策;源網路設備向目標網路設備發送切換請求以使得目標網路設備準備進行切換;目標網路設備根據切換請求進行切換許可控制;目標網路設備確定進行切換時,向源網路設備發送切換請求確認。The handover preparation stage includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; the terminal device sends a measurement report to the source network device after measuring multiple network devices or communities; the source network The device makes switching decisions based on the measurement report (or combined with RRM messages); the source network device sends a switching request to the target network device to make the target network device ready to switch; the target network device performs switching permission control according to the switching request; the target network When the route device determines to switch, it sends a switch request confirmation to the source network device.

然後進行執行切換階段,包含圖中步驟7-11,具體的:目標網路設備生成RRC訊息,將RRC連接重配置訊息發送至源網路設備,由源網路設備透過RRC連接重配置訊息發送至終端設備;終端設備接收到RRC連接重配置訊息後,根據連接重配置訊息執行切換處理;然後源網路設備發送SN狀態傳輸至目標網路設備;終端設備與目標網路設備進行同步,然後接收目標網路設備進行UL分配,向目標網路設備發送RRC連接重配置完成訊息。Then perform the switching phase, including steps 7-11 in the figure. Specifically: the target network device generates an RRC message, sends the RRC connection reconfiguration message to the source network device, and the source network device sends it through the RRC connection reconfiguration message To the terminal device; after receiving the RRC connection reconfiguration message, the terminal device performs switching processing according to the connection reconfiguration message; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then Receive the target network device for UL allocation, and send an RRC connection reconfiguration complete message to the target network device.

最後進入切換完成階段,包含圖中12-18,具體的:目標網路設備向MME發送路徑切換請求,以通知MME終端設備改變社區;MME向服務閘道發送調整承載請求,由MME進行切換下行路徑處理;服務閘道完成處理後,向MME發送承載調整完成處理,並由MME向目標網路設備發送路徑切換請求的確認訊息;目標網路設備向源網路設備通知終端設備上下文釋放由源網路設備釋放資源。Finally, it enters the handover completion stage, including 12-18 in the figure. Specifically: the target network device sends a path switch request to the MME to notify the MME terminal device to change the community; the MME sends a bearer adjustment request to the service gateway, and the MME switches the downlink Path processing: After the service gateway completes the processing, it sends the bearer adjustment completion processing to the MME, and the MME sends a path switch request confirmation message to the target network device; the target network device notifies the source network device that the terminal device context is released by the source The network equipment releases resources.

結合本實施例,當終端設備具備一個目標網路設備的時候,源網路設備可以透過切換命令直接發送計時器,或者透過轉發重配訊息發送一個計時器,也就是針對該目標網路設備的一個計時器;當終端設備具備至少兩個目標網路設備的時候,源網路設備可以向直接透過切換指令配置至少兩個計時器,和/或,公共計時器,或者,可以透過轉發重配訊息為終端設備配置至少兩個計時器,和/或,公共計時器。In combination with this embodiment, when the terminal device has a target network device, the source network device can send a timer directly through a switch command, or send a timer by forwarding a reconfiguration message, which is specific to the target network device. A timer; when the terminal device has at least two target network devices, the source network device can configure at least two timers directly through the switch command, and/or, a common timer, or it can be reconfigured through forwarding The message configures at least two timers for the terminal device, and/or, a common timer.

其中,可以針對每一個目標網路設備所對應的計時器和/或公共計時器均發送一個訊息至終端設備;或者,可以為將全部目標網路設備的每一個目標網路設備所對應的計時器和/或公共計時器添加到同一個訊息,然後僅向終端設備發送一條訊息即可。Among them, a message can be sent to the terminal device for the timer and/or public timer corresponding to each target network device; or, it can be the timer corresponding to each target network device of all target network devices. Add the device and/or public timer to the same message, and then only send one message to the terminal device.

需要理解的是,重配訊息中除了前述的計時器和/或公共計時器之外,還可以包括:移動控制訊息、新的C-RNTI、第二目標網路設備的安全訊息;另外,可選的還包括隨機存取前導,第二目標網路設備的系統訊息塊(SIB)等訊息。It should be understood that in addition to the aforementioned timers and/or public timers, the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, it may The options also include random access preamble, system message block (SIB) of the second target network device and other messages.

所述方法還包括:基於至少一個網路設備對應的測量報告,選取目標網路設備;或者,從所述至少一個網路設備中隨機選取目標網路設備。The method further includes: selecting a target network device based on a measurement report corresponding to at least one network device; or, randomly selecting a target network device from the at least one network device.

其中,選取目標網路設備,可以為源網路設備接收到終端設備發來的至少一個網路設備的測量報告的時候,為終端設備選取至少一個目標網路設備;然後將至少一個目標網路設備的相關訊息透過重配訊息或切換命令發送至終端設備;需要指出的是,發送至少一個目標網路設備的時候還需要添加至少一個目標網路設備對應的至少一個計時器,和/或公共計時器。Among them, selecting the target network device can be when the source network device receives the measurement report of at least one network device from the terminal device, select at least one target network device for the terminal device; and then add at least one target network device Device-related information is sent to the terminal device through a reconfiguration message or a switch command; it should be pointed out that when sending at least one target network device, at least one timer corresponding to at least one target network device needs to be added, and/or public Timer.

和/或,選取目標網路設備,還可以為當終端設備針對第一目標網路設備連接失敗的時候,源網路設備從至少一個目標網路設備中再為終端設備選取第二目標網路設備,並將選取的第二目標網路設備透過重配訊息或切換命令發送至終端設備;需要指出的是,發送第二目標網路設備的時候還需要添加第二目標網路設備對應的第二計時器。And/or, selecting the target network device can also be that when the terminal device fails to connect to the first target network device, the source network device selects a second target network for the terminal device from at least one target network device Device and send the selected second target network device to the terminal device through a reconfiguration message or a switching command; it should be pointed out that when sending the second target network device, you also need to add the second target network device corresponding to the second target network device. Two timers.

本實施例所述第一目標網路設備以及第二目標網路設備為所述終端設備切換時的目標網路設備;或者,所述第一目標網路設備以及第二目標網路設備為輔助節點SN,所述源網路設備為主節點MN 。此處需注意,長期演進(LTE)系統中,SN稱為SCG,在新無線(NR)則為SN,指的是一樣的概念,就是DC場景下的第二服務網路設備。本實施例可以適用的場景為:終端與源網路設備保持連接、與目標網路設備連接失敗;終端源網路設備斷開連接、與目標網路設備連接成功;輔助社區組(SCG)連接失敗、SCG改變連接失敗。當然,還可以有,在配置了多個SCG場景中,一個SCG連接失敗;配置了多個目標社區的場景中,一個目標社區連接失敗。還可能會存在其他的適用場景,只是本實施例中不再進行窮舉。The first target network device and the second target network device in this embodiment are the target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary Node SN, the source network device is the master node MN. It should be noted here that in the Long Term Evolution (LTE) system, SN is called SCG, and in New Radio (NR) it is SN, which refers to the same concept, which is the second service network equipment in the DC scenario. The applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect with the target network device; the terminal source network device is disconnected, and the connection with the target network device is successful; the auxiliary community group (SCG) is connected Failed, SCG failed to change the connection. Of course, there can also be that in a scenario where multiple SCGs are configured, one SCG connection fails; in a scenario where multiple target communities are configured, one target community fails to connect. There may also be other applicable scenarios, but it is not exhaustively listed in this embodiment.

可見,透過採用上述方案,能夠配置至少一個目標網路設備所對應的至少一個計時器、和/或公共計時器;使得終端設備在配置了至少一個目標網路設備的時候,基於對應的計時器和/或公共計時器控制切換處理,從而能夠保證重新與目標網路設備建立連接的處理效率。It can be seen that by adopting the above solution, at least one timer and/or public timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, it is based on the corresponding timer And/or the public timer controls the switching process, so as to ensure the processing efficiency of re-establishing a connection with the target network device.

實施例三、Embodiment three

本發明實施例提供了一種終端設備,如圖5所示,包括:The embodiment of the present invention provides a terminal device, as shown in FIG. 5, including:

第一通訊單元51,接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;其中,所述公共計時器的時長至少大於針對至少一個目標網路設備的計時器的最大時長;基於所述至少一個計時器、和/或、公共計時器,向目標網路設備發起連接。The first communication unit 51 receives at least one timer for at least one target network device, and/or a public timer; wherein the duration of the public timer is at least greater than the timer for at least one target network device The maximum duration of; based on the at least one timer, and/or, a common timer, initiate a connection to the target network device.

其中,所述至少一個目標網路設備對應的所述至少一個計時器中,不同的計時器的定時時長可以相同也可以不同;Wherein, in the at least one timer corresponding to the at least one target network device, the timing duration of different timers may be the same or different;

另外,所述公共計時器的定時時長可以為大於全部計時器中定時時長最大的計時器的定時時長;或者,所述公共計時器的定時時長,還可以為全部計時器的定時時長總和;當然,所述公共計時器的定時時長,還可以大於全部計時器的定時時長總和。至少一個計時器以及公共計時器的時長均可以根據實際情況進行設置,這裡不進行窮舉。In addition, the timing duration of the public timer may be greater than the timing duration of the timer with the largest timing duration among all timers; or, the timing duration of the public timer may also be the timing duration of all timers The sum of the duration; of course, the timing duration of the public timer can also be greater than the sum of the timing durations of all timers. The duration of at least one timer and the public timer can be set according to the actual situation, and it is not exhaustive here.

所述第一通訊單元51,接收源網路設備轉發的目標網路設備的重配訊息,獲取所述重配訊息中攜帶的針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;The first communication unit 51 receives the reconfiguration message of the target network device forwarded by the source network device, and obtains at least one timer for at least one target network device carried in the reconfiguration message, and/or, Public timer

或者,接收源網路設備的切換命令,透過所述切換命令獲取針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器。Or, receiving a switching command from the source network device, and obtaining at least one timer for at least one target network device and/or a common timer through the switching command.

也就是說,終端設備的至少一個目標網路設備的至少一個計時器,和/或,至少一個目標網路設備對應的一個公共計時器,可以由源網路設備直接配置,或者,還可以透過目標網路設備透過源網路設備向終端設備轉發得到。That is to say, at least one timer of at least one target network device of the terminal device, and/or a public timer corresponding to at least one target network device, can be directly configured by the source network device, or can also be configured through The target network device forwards the source network device to the terminal device.

關於切換的處理流程可以參見圖3所示,包括:The processing flow of handover can be seen in Figure 3, including:

切換準備階段,包含圖中步驟1-6:源網路設備向終端設備發送測量控制;終端設備進行針對多個網路設備或社區的測量之後,向源網路設備發送測量報告;源網路設備根據測量報告(或者結合RRM訊息)進行切換決策;源網路設備向目標網路設備發送切換請求以使得目標網路設備準備進行切換;目標網路設備根據切換請求進行切換許可控制;目標網路設備確定進行切換時,向源網路設備發送切換請求確認。The handover preparation stage includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; the terminal device sends a measurement report to the source network device after measuring multiple network devices or communities; the source network The device makes switching decisions based on the measurement report (or combined with RRM messages); the source network device sends a switching request to the target network device to make the target network device ready to switch; the target network device performs switching permission control according to the switching request; the target network When the route device determines to switch, it sends a switch request confirmation to the source network device.

然後進行執行切換階段,包含圖中步驟7-11,具體的:目標網路設備生成RRC訊息,將RRC連接重配置訊息發送至源網路設備,由源網路設備透過RRC連接重配置訊息發送至終端設備;終端設備接收到RRC連接重配置訊息後,根據連接重配置訊息執行切換處理;然後源網路設備發送SN狀態傳輸至目標網路設備;終端設備與目標網路設備進行同步,然後接收目標網路設備進行UL分配,向目標網路設備發送RRC連接重配置完成訊息。Then perform the switching phase, including steps 7-11 in the figure. Specifically: the target network device generates an RRC message, sends the RRC connection reconfiguration message to the source network device, and the source network device sends it through the RRC connection reconfiguration message To the terminal device; after receiving the RRC connection reconfiguration message, the terminal device performs switching processing according to the connection reconfiguration message; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then Receive the target network device for UL allocation, and send an RRC connection reconfiguration complete message to the target network device.

最後進入切換完成階段,包含圖中12-18,具體的:目標網路設備向MME發送路徑切換請求,以通知MME終端設備改變社區;MME向服務閘道發送調整承載請求,由MME進行切換下行路徑處理;服務閘道完成處理後,向MME發送承載調整完成處理,並由MME向目標網路設備發送路徑切換請求的確認訊息;目標網路設備向源網路設備通知終端設備上下文釋放由源網路設備釋放資源。Finally, it enters the handover completion stage, including 12-18 in the figure. Specifically: the target network device sends a path switch request to the MME to notify the MME terminal device to change the community; the MME sends a bearer adjustment request to the service gateway, and the MME switches the downlink Path processing: After the service gateway completes the processing, it sends the bearer adjustment completion processing to the MME, and the MME sends a path switch request confirmation message to the target network device; the target network device notifies the source network device that the terminal device context is released by the source The network equipment releases resources.

結合本實施例,當終端設備具備一個目標網路設備的時候,源網路設備可以透過切換命令直接發送計時器,或者透過轉發重配訊息發送一個計時器,也就是針對該目標網路設備的一個計時器;當終端設備具備至少兩個目標網路設備的時候,源網路設備可以直接透過切換指令為終端設備配置至少兩個計時器,和/或,公共計時器,或者,可以透過轉發重配訊息為終端設備配置至少兩個計時器,和/或,公共計時器。In combination with this embodiment, when the terminal device has a target network device, the source network device can send a timer directly through a switch command, or send a timer by forwarding a reconfiguration message, which is specific to the target network device. A timer; when the terminal device has at least two target network devices, the source network device can directly configure at least two timers for the terminal device through the switching command, and/or, a common timer, or, through forwarding The reconfiguration message configures at least two timers for the terminal device, and/or, a common timer.

其中,可以針對每一個目標網路設備所對應的計時器和/或公共計時器均發送一個訊息至終端設備;或者,可以為將全部目標網路設備的每一個目標網路設備所對應的計時器和/或公共計時器添加到同一個訊息,然後僅向終端設備發送一條訊息即可。Among them, a message can be sent to the terminal device for the timer and/or public timer corresponding to each target network device; or, it can be the timer corresponding to each target network device of all target network devices. Add the device and/or public timer to the same message, and then only send one message to the terminal device.

需要理解的是,重配訊息中除了前述的計時器和/或公共計時器之外,還可以包括:移動控制訊息、新的C-RNTI、第二目標網路設備的安全訊息;另外,可選的還包括隨機存取前導,第二目標網路設備的系統訊息塊(SIB)等訊息。It should be understood that in addition to the aforementioned timers and/or public timers, the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, it may The options also include random access preamble, system message block (SIB) of the second target network device and other messages.

具體的,本實施例可以應用於以下多種場景:Specifically, this embodiment can be applied to the following multiple scenarios:

場景一、終端設備可以具備至少兩個目標網路設備,全部的目標網路設備對應一個公共計時器。Scenario 1: The terminal device may have at least two target network devices, and all target network devices correspond to a common timer.

需要理解的是,本場景中,可以分別針對至少兩個目標網路設備發送計時器,也就是說分別發送至少兩個目標網路設備的計時器,每一個計時器相同均可以為公共計時器;或者,也可以僅發送一個公共計時器,並配置該公共計時器可以應用於全部的目標網路設備。It should be understood that in this scenario, the timers can be sent to at least two target network devices respectively, that is to say, the timers of at least two target network devices are sent separately, and each timer can be a common timer if it is the same. ; Or, it is also possible to send only one public timer, and configure the public timer to apply to all target network devices.

本場景中,可以透過切換命令中獲取公共計時器,或者,可以從轉發的重配訊息中獲取所述公共計時器。In this scenario, the public timer can be obtained through the handover command, or the public timer can be obtained from the forwarded reconfiguration message.

所述終端設備還包括:The terminal device also includes:

第一處理單元52,當接收到切換命令時,啟動公共計時器,透過第一通訊單元51向第一目標網路設備發起連接。The first processing unit 52, when receiving the handover command, starts a public timer, and initiates a connection to the first target network device through the first communication unit 51.

或者,所述基於所述至少一個計時器、和/或、公共計時器,向目標網路設備發起連接,還包括:Alternatively, the initiating connection to the target network device based on the at least one timer, and/or, a common timer, further includes:

第一處理單元52,若接收到的切換命令(HO command)裡攜帶包含有至少兩個目標網路設備的重配訊息,則可以在終端設備選取當前所要存取的第一目標網路設備的時候,啟動公共計時器。The first processing unit 52, if the received HO command carries a reconfiguration message containing at least two target network devices, the terminal device can select the first target network device to be accessed. Time, start a public timer.

本場景下還可以針對多個網路設備使用同一個公共計時器的具體處理方法,提供以下多個子場景:In this scenario, you can also use the same common timer specific processing method for multiple network devices, providing the following multiple sub-scenarios:

子場景一、Sub scene one,

每次與目標網路設備連接失敗、連接第二目標網路設備的時候,重啟公共計時器,具體的:Every time the connection with the target network device fails and the second target network device is connected, restart the public timer, specifically:

第一處理單元52,若在計時器的計時時長內,向第一目標網路設備發起連接成功,則停止所述公共計時器。The first processing unit 52 stops the public timer if it successfully initiates a connection to the first target network device within the time duration of the timer.

若公共計時器超時、和/或、與第一目標網路設備連接失敗,則確定終端設備向第一目標網路設備切換失敗。If the public timer expires and/or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.

在確定終端設備向第一目標網路設備切換失敗的時候,所述第一處理單元52,當連接第一目標網路設備失敗、或者當公共計時器停止且連接所述第一目標網路設備不成功時,確定第二目標網路設備,重新開機公共計時器,透過第一通訊單元51向所述第二目標網路設備發起連接。When it is determined that the terminal device fails to switch to the first target network device, the first processing unit 52 fails to connect to the first target network device, or when the public timer stops and connects to the first target network device When unsuccessful, the second target network device is determined, the public timer is restarted, and a connection is initiated to the second target network device through the first communication unit 51.

其中,所述確定第二目標網路設備的方法,可以包括以下之一:Wherein, the method for determining the second target network device may include one of the following:

第一處理單元52,重新接受源網路設備發來的切換命令,基於切換命令獲取第二目標網路設備;其中,切換命令中包含有網路側為終端設備重新選取的第二目標網路設備。The first processing unit 52 re-accepts the switching command sent by the source network device, and obtains the second target network device based on the switching command; wherein the switching command includes the second target network device reselected by the network side for the terminal device .

或者,若終端設備接收到的重配訊息中攜帶有至少兩個目標網路設備的訊息時,從所述至少兩個目標網路設備中選取第二目標網路設備。Or, if the reconfiguration message received by the terminal device carries messages of at least two target network devices, the second target network device is selected from the at least two target network devices.

其中,所述從所述至少兩個目標網路設備中選取第二目標網路設備的方法,可以為第一處理單元52,隨機從至少兩個目標網路設備中選取第二目標網路設備,或者,基於至少兩個目標網路設備的選取優先順序來選取第二目標網路設備。Wherein, the method for selecting the second target network device from the at least two target network devices may be the first processing unit 52 randomly selecting the second target network device from the at least two target network devices Or, select the second target network device based on the selection priority order of at least two target network devices.

所述選取優先順序可以為根據實際情況,由網路側為不同的目標網路設備設置的參數;網路側可以參考終端設備的測量報告為不同的目標網路設備設置不同的選取優先順序。比如,測量報告中的信號測量品質較高的可以設置的選取優先順序較高,反之,則可以設置的選取優先順序角度;和/或,根據目標網路設備的實際距離來設置,距離當前的源網路設備實際距離較近的選取優先順序較高(或較低);當然,實際處理中還能夠存在其他的設置方式,本實施例中不進行窮舉。The selection priority order may be a parameter set by the network side for different target network equipment according to actual conditions; the network side may refer to the measurement report of the terminal equipment to set different selection priority orders for different target network equipment. For example, if the signal measurement quality in the measurement report is higher, the selection priority can be set to be higher, and vice versa, the selection priority angle can be set; and/or set according to the actual distance of the target network device, and the distance from the current The selection priority of the source network device that is closer in actual distance is higher (or lower); of course, there can be other setting methods in actual processing, which are not exhaustively listed in this embodiment.

需要理解的是,在針對第二目標網路設備進行切換處理的時候,可以採用針對第一目標網路設備的處理方式進行處理,只是這裡不再進行贅述。It should be understood that when switching processing is performed for the second target network device, the processing method for the first target network device can be used for processing, but it is not repeated here.

當所述公共計時器超時,確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。具體的,第一目標網路設備或第二目標網路設備,切換失敗的時候,均可以返回至源網路設備的連接、或者重新向新的目標網路設備發起連接重建。其中,新的目標網路設備與本次切換失敗的目標網路設備不同。When the public timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or the connection re-establishment is initiated. Specifically, when the switching of the first target network device or the second target network device fails, it can return to the connection of the source network device or initiate a connection reestablishment to the new target network device. Among them, the new target network device is different from the target network device that failed this time.

還需要理解的是,當重新向第二目標網路設備發起連接的時候,就可以將第二目標網路設備作為新的第一目標網路設備進行後續操作,也就是說,當新的第一目標網路設備連接成功的時候,可以確定切換成功,如果新的第一目標網路設備連接失敗的時候,再次重新選取新的第二目標網路設備,如此迴圈處理。It should also be understood that when the connection to the second target network device is re-initiated, the second target network device can be used as the new first target network device for subsequent operations, that is, when the new first target network device When a target network device is successfully connected, it can be determined that the switch is successful. If the new first target network device fails to connect, a new second target network device is selected again, and the process is looped.

所述確定第二目標網路設備,重新開機公共計時器,向所述第二目標網路設備發起連接時,所述第一處理單元52,判斷重新開機所述公共計時器的次數是否超過預設次數閾值,若超過,則確認切換失敗,返回與源網路設備的連接、或者、發起連接重建;其中,所述預設次數閾值,可以為根據實際情況進行設置,比如,可以為重啟公共計時器超過5次,就確認當前沒有合適的目標網路設備進行切換,從而判斷切換失敗,當然還可以根據目標網路設備的數量來確定預設次數閾值,比如,預設次數閾值可以為目標網路設備的數量的2/3,假設有9個目標網路設備的時候,可以重啟公共計時器6次;此外還可以存在其他的預設次數閾值的設定方法,只是本實施例中不再進行窮舉。When the second target network device is determined, the public timer is restarted, and a connection is initiated to the second target network device, the first processing unit 52 determines whether the number of restarts of the public timer exceeds a preset value. Set the threshold for the number of times. If it exceeds, confirm that the handover fails and return to the connection with the source network device or initiate a connection re-establishment; wherein, the threshold for the preset number of times can be set according to actual conditions, for example, it can be restarting public If the timer exceeds 5 times, it is confirmed that there is no suitable target network device to switch, so as to determine that the switch has failed. Of course, the preset number threshold can also be determined according to the number of target network devices. For example, the preset number threshold can be the target 2/3 of the number of network devices. Assuming that there are 9 target network devices, the public timer can be restarted 6 times; in addition, there can be other preset times threshold setting methods, but not in this embodiment Exhaustively.

或者,第一處理單元52,判斷重新選取目標網路設備的次數是否超過預設選取閾值,若超過,則確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。其中,所述預設選取閾值,可以為根據實際情況進行設置,比如,可以為重新選取目標網路設備超過3次,就確認當前沒有合適的目標網路設備進行切換,從而判斷切換失敗;當然還可以根據目標網路設備的數量來確定預設次數閾值,比如,預設選取閾值可以為目標網路設備的數量的2/3,假設有9個目標網路設備的時候,可以重新選取目標網路設備超過6次就確定切換失敗;此外還可以存在其他的預設次數閾值的設定方法,只是本實施例中不再進行窮舉。Alternatively, the first processing unit 52 determines whether the number of times of reselecting the target network device exceeds a preset selection threshold, and if it exceeds, confirms that the switching has failed, returns to the connection with the source network device, or initiates connection reestablishment. Wherein, the preset selection threshold can be set according to actual conditions. For example, the target network device can be reselected more than 3 times, and it is confirmed that there is no suitable target network device to switch, so as to determine that the switch fails; of course; The preset threshold can also be determined according to the number of target network devices. For example, the default selection threshold can be 2/3 of the number of target network devices. If there are 9 target network devices, you can select the target again If the network device exceeds 6 times, it is determined that the handover has failed; in addition, there may be other methods for setting the threshold of the preset times, but this embodiment will not be exhaustive.

子場景二、Sub-scene two,

多個網路設備共用一個公共計時器,並且每次連接目標網路設備失敗就直接重選目標網路設備,直至公共計時器停止。具體的:Multiple network devices share a common timer, and each time the connection to the target network device fails, the target network device is directly reselected until the common timer stops. specific:

第一處理單元52,當連接第一目標網路設備失敗、且所述公共計時器未超時,從至少一個目標網路設備中選取第二目標網路設備,透過第一通訊單元51向所述第二目標網路設備發起連接;The first processing unit 52, when the connection to the first target network device fails, and the public timer has not timed out, select the second target network device from at least one target network device, and send it to the network device through the first communication unit 51 The second target network device initiates a connection;

或者,當第一目標網路設備連接失敗、且所述公共計時器未超時,獲取切換命令中配置的第二目標網路設備,透過第一通訊單元51向所述第二目標網路設備發起連接。Or, when the connection of the first target network device fails and the public timer does not expire, the second target network device configured in the switching command is acquired, and the second target network device is sent to the second target network device through the first communication unit 51 Initiate the connection.

其中,所述從所述至少兩個目標網路設備中選取第二目標網路設備的方法,可以為隨機從至少兩個目標網路設備中選取第二目標網路設備,或者,基於至少兩個目標網路設備的選取優先順序來選取第二目標網路設備。Wherein, the method of selecting the second target network device from the at least two target network devices may be randomly selecting the second target network device from the at least two target network devices, or based on at least two target network devices. Select the second target network device according to the priority order of selection of the target network device.

所述選取優先順序可以為根據實際情況,由網路側為不同的目標網路設備設置的參數;網路側可以參考終端設備的測量報告為不同的目標網路設備設置不同的選取優先順序。比如,測量報告中的信號測量品質較高的可以設置的選取優先順序較高,反之,則可以設置的選取優先順序角度;和/或,根據目標網路設備的實際距離來設置,距離當前的源網路設備實際距離較近的選取優先順序較高(或較低);當然,實際處理中還能夠存在其他的設置方式,本實施例中不進行窮舉。The selection priority order may be a parameter set by the network side for different target network equipment according to actual conditions; the network side may refer to the measurement report of the terminal equipment to set different selection priority orders for different target network equipment. For example, if the signal measurement quality in the measurement report is higher, the selection priority can be set to be higher, and vice versa, the selection priority angle can be set; and/or set according to the actual distance of the target network device, and the distance from the current The selection priority of the source network device that is closer in actual distance is higher (or lower); of course, there can be other setting methods in actual processing, which are not exhaustively listed in this embodiment.

當每次重新從至少一個網路設備中選取第二目標網路設備的處理中,可以不需要與源網路設備保持連接;而每次重新獲取切換命令,基於切換命令的配置的第二目標網路設備重新發起連接的處理中,可以為每次連接失敗均返回至源網路設備的連接。When the second target network device is reselected from at least one network device each time, there is no need to maintain a connection with the source network device; and each time the switch command is reacquired, the second target is based on the configuration of the switch command In the process of the network device re-initiating the connection, it can be a connection that returns to the source network device every time the connection fails.

需要指出的是,向第二目標網路設備發起連接之後,可以將第二目標網路設備重新作為第一目標網路設備,繼續執行本場景中的操作,進而,當新的第一目標網路設備連接失敗的時候,再次重新選取新的第二目標網路設備,如此迴圈處理,直至公共計時器停止的時候,仍未選取到能夠連接的目標網路設備的時候,可以確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。It should be pointed out that after initiating a connection to the second target network device, the second target network device can be used as the first target network device again to continue to perform the operations in this scenario, and then, when the new first target network When the connection of the road device fails, reselect the new second target network device again, and do so in a loop until the public timer stops, when the target network device that can be connected is still not selected, you can confirm that the switch failed , Return to the connection with the source network device, or initiate connection re-establishment.

場景二、Scene two,

終端設備具備至少兩個目標網路設備,每一個目標網路設備對應一個計時器。The terminal device has at least two target network devices, and each target network device corresponds to a timer.

需要理解的是,本場景中,接收源網路設備配置的針對至少兩個目標網路設備的至少兩個計時器;其中,不同的目標網路設備對應的計時器的計時時長可以相同也可以不同,可以由每一個目標網路設備來確定,本實施例中不做限定。It should be understood that in this scenario, at least two timers configured by the source network device for at least two target network devices; wherein the timing duration of the timers corresponding to different target network devices can be the same or It can be different and can be determined by each target network device, which is not limited in this embodiment.

本場景中,可以為源網路設備直接在切換命令中攜帶計時器發送至終端設備;或者,可以為源網路設備將至少兩個目標網路設備的重配訊息轉發給終端設備。In this scenario, the source network device can directly carry a timer in the handover command and send it to the terminal device; or, the source network device can forward the reconfiguration messages of at least two target network devices to the terminal device.

第一處理單元52,當接收到切換命令時,啟動針對第一目標網路設備的第一計時器,透過第一通訊單元51向第一目標網路設備發起連接。The first processing unit 52, when receiving the switching command, starts a first timer for the first target network device, and initiates a connection to the first target network device through the first communication unit 51.

進一步地,若在第一計時器的計時時長內,向第一目標網路設備發起連接成功,則停止所述第一計時器。Further, if the connection to the first target network device is successfully initiated within the time duration of the first timer, the first timer is stopped.

若第一計時器超時、和/或、與第一目標網路設備連接失敗,則確定終端設備向第一目標網路設備切換失敗。If the first timer expires and/or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.

在確定終端設備向第一目標網路設備切換失敗的時候,所述第一處理單元52,When it is determined that the terminal device fails to switch to the first target network device, the first processing unit 52:

當第一目標網路設備連接失敗時,從至少一個目標網路設備中選取第二目標網路設備發起連接,並啟動所述第二目標網路設備的計時器;When the connection of the first target network device fails, select a second target network device from at least one target network device to initiate the connection, and start the timer of the second target network device;

或者,當第一目標網路設備連接失敗時,獲取切換命令中配置的第二目標網路設備,向所述第二目標網路設備發起連接,並啟動所述第二目標網路設備的計時器。Or, when the connection of the first target network device fails, obtain the second target network device configured in the switching command, initiate a connection to the second target network device, and start the timing of the second target network device Device.

其中,所述從所述至少兩個目標網路設備中選取第二目標網路設備的方法,可以為隨機中至少兩個目標網路設備中選取第二目標網路設備,或者,基於至少兩個目標網路設備的選取優先順序來選取第二目標網路設備。Wherein, the method for selecting a second target network device from the at least two target network devices may be randomly selecting the second target network device from at least two target network devices, or based on at least two target network devices. Select the second target network device according to the priority order of selection of the target network device.

所述選取優先順序可以為根據實際情況,由網路側為不同的目標網路設備設置的參數;網路側可以參考終端設備的測量報告為不同的目標網路設備設置不同的選取優先順序。比如,測量報告中的信號測量品質較高的可以設置的選取優先順序較高,反之,則可以設置的選取優先順序角度;和/或,根據目標網路設備的實際距離來設置,距離當前的源網路設備實際距離較近的選取優先順序較高(或較低);當然,實際處理中還能夠存在其他的設置方式,本實施例中不進行窮舉。The selection priority order may be a parameter set by the network side for different target network equipment according to actual conditions; the network side may refer to the measurement report of the terminal equipment to set different selection priority orders for different target network equipment. For example, if the signal measurement quality in the measurement report is higher, the selection priority can be set to be higher, and vice versa, the selection priority angle can be set; and/or set according to the actual distance of the target network device, and the distance from the current The selection priority of the source network device that is closer in actual distance is higher (or lower); of course, there can be other setting methods in actual processing, which are not exhaustively listed in this embodiment.

還需要指出的,本場景中,當選取第二目標網路設備發起連接的時候,可以將本次選取的第二目標網路設備作為新的第一目標網路設備,相應的,第二計時器作為新的第一計時器進行切換連接控制;也就是,當新的第一目標網路設備在第一計時器結束的時候,未連接成功,則再次選取新的第二目標網路設備,並啟動所述新的第二目標網路設備所對應的第二計時器,如此迴圈處理。It should also be pointed out that in this scenario, when the second target network device is selected to initiate a connection, the second target network device selected this time can be used as the new first target network device. Accordingly, the second timing The device is used as a new first timer for switching connection control; that is, when the new first target network device is not successfully connected when the first timer ends, the new second target network device is selected again, And start the second timer corresponding to the new second target network device, and do so in a loop.

進一步地,上述迴圈處理的結束方式,可以為,第一處理單元52,判斷重新選取新的目標網路設備的次數,是否超過預設選取閾值,若超過,則確定切換失敗;或者,還可以為判斷重新啟動新的計時器的次數,是否超過預設次數閾值,若超過則確定切換失敗。關於預設選取閾值以及預設次數閾值的確定方式可以參見場景一中的描述,這裡不再贅述。Further, the ending method of the above loop processing may be that the first processing unit 52 determines whether the number of times to reselect a new target network device exceeds a preset selection threshold, and if it exceeds, determines that the handover fails; or, It can be used to determine whether the number of restarts of the new timer exceeds the preset number threshold, and if it exceeds, it is determined that the handover fails. For the determination method of the preset selection threshold and the preset number of times threshold, please refer to the description in scenario 1, which will not be repeated here.

當所述計時器超時,確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。具體的,第一目標網路設備或第二目標網路設備,是否切換成功的判斷方式均可以採用上述描述;並且,當切換失敗的時候,均可以返回至源網路設備的連接、或者重新向新的第二目標網路設備發起連接重建。其中,新的第二目標網路設備與本次切換失敗的第二目標網路設備不同。When the timer expires, it is confirmed that the handover has failed, and the connection with the source network device is returned, or the connection reconstruction is initiated. Specifically, for the first target network device or the second target network device, the judgment method of whether the handover is successful can adopt the above description; and, when the handover fails, both can return to the connection of the source network device or restart. Initiate connection reestablishment to the new second target network device. Wherein, the new second target network device is different from the second target network device that failed this time.

場景三、Scene three

終端設備具備至少兩個目標網路設備,每一個目標網路設備對應一個計時器、並且全部的目標網路設備共用一個公共計時器。需要理解的是,不同的目標網路設備對應的計時器的計時時長可以相同也可以不同;所述公共計時器的定時時長可以為大於全部計時器中定時時長最大的計時器的定時時長;或者,所述公共計時器的定時時長,還可以為全部計時器的定時時長總和;當然,所述公共計時器的定時時長,還可以大於全部計時器的定時時長總和。至少一個計時器以及公共計時器的時長均可以根據實際情況進行設置,這裡不進行窮舉。The terminal device has at least two target network devices, each target network device corresponds to a timer, and all target network devices share a common timer. It should be understood that the timing duration of the timers corresponding to different target network devices may be the same or different; the timing duration of the public timer may be greater than the timing of the timer with the largest timing duration among all timers Duration; or, the timing duration of the public timer may also be the sum of timing durations of all timers; of course, the timing duration of the public timer may also be greater than the sum of timing durations of all timers . The duration of at least one timer and the public timer can be set according to the actual situation, and it is not exhaustive here.

本場景中,可以透過源基地台轉發的重配訊息中獲取所述至少兩個目標網路設備對應的至少兩個計時器;或者源網路設備直接在切換命令中設置至少兩個計時器發送給終端設備。In this scenario, the at least two timers corresponding to the at least two target network devices can be obtained from the reconfiguration message forwarded by the source base station; or the source network device directly sets at least two timers in the handover command to send To the terminal equipment.

所述第一處理單元52,當接收到切換命令時,啟動第一目標網路設備的第一計時器、並啟動公共計時器,透過第一通訊單元51向第一目標網路設備發起連接。The first processing unit 52, when receiving the switching command, starts the first timer of the first target network device and starts the public timer, and initiates a connection to the first target network device through the first communication unit 51.

進一步地,若在第一計時器的計時時長內,向第一目標網路設備發起連接成功,則停止所述第一計時器。若第一計時器超時、和/或、與第一目標網路設備連接失敗,則確定終端設備向第一目標網路設備切換失敗。Further, if the connection to the first target network device is successfully initiated within the time duration of the first timer, the first timer is stopped. If the first timer expires and/or the connection with the first target network device fails, it is determined that the terminal device fails to switch to the first target network device.

所述向第一目標網路設備發起連接之後,所述第一處理單元52,After the connection is initiated to the first target network device, the first processing unit 52,

當第一目標網路設備的第一計時器停止、和/或連接第一目標網路設備失敗時,若公共計時器未超時,則從至少一個目標網路設備中選取第二目標網路設備,向第二目標網路設備發起連接、並啟動第二目標網路設備的計時器;When the first timer of the first target network device is stopped and/or the connection to the first target network device fails, if the public timer does not expire, the second target network is selected from at least one target network device Device, initiate a connection to the second target network device and start the timer of the second target network device;

或者,當第一目標網路設備的第一計時器停止、和/或連接第一目標網路設備失敗時,若公共計時器未超時,則基於切換命令獲取第二目標網路設備,向第二目標網路設備發起連接、並啟動第二目標網路設備的計時器。Or, when the first timer of the first target network device stops and/or the connection to the first target network device fails, if the public timer does not expire, the second target network device is acquired based on the switching command, and The second target network device initiates a connection and starts a timer of the second target network device.

其中,所述從所述至少兩個目標網路設備中選取第二目標網路設備的方法,可以為隨機中至少兩個目標網路設備中選取第二目標網路設備,或者,基於至少兩個目標網路設備的選取優先順序來選取第二目標網路設備。Wherein, the method for selecting a second target network device from the at least two target network devices may be randomly selecting the second target network device from at least two target network devices, or based on at least two target network devices. Select the second target network device according to the priority order of selection of the target network device.

所述選取優先順序可以為根據實際情況,由網路側為不同的目標網路設備設置的參數;網路側可以參考終端設備的測量報告為不同的目標網路設備設置不同的選取優先順序。比如,測量報告中的信號測量品質較高的可以設置的選取優先順序較高,反之,則可以設置的選取優先順序角度;和/或,根據目標網路設備的實際距離來設置,距離當前的源網路設備實際距離較近的選取優先順序較高(或較低);當然,實際處理中還能夠存在其他的設置方式,本實施例中不進行窮舉。The selection priority order may be a parameter set by the network side for different target network equipment according to actual conditions; the network side may refer to the measurement report of the terminal equipment to set different selection priority orders for different target network equipment. For example, if the signal measurement quality in the measurement report is higher, the selection priority can be set to be higher, and vice versa, the selection priority angle can be set; and/or set according to the actual distance of the target network device, and the distance from the current The selection priority of the source network device that is closer in actual distance is higher (or lower); of course, there can be other setting methods in actual processing, which are not exhaustively listed in this embodiment.

還需要指出的,本場景中,當選取第二目標網路設備發起連接的時候,可以將本次選取的第二目標網路設備作為新的第一目標網路設備,相應的,第二計時器作為新的第一計時器進行切換連接控制;也就是,當新的第一目標網路設備在第一計時器結束的時候,未連接成功,則再次選取新的第二目標網路設備,並啟動所述新的第二目標網路設備所對應的第二計時器,如此迴圈處理。It should also be pointed out that in this scenario, when the second target network device is selected to initiate a connection, the second target network device selected this time can be used as the new first target network device. Accordingly, the second timing The device is used as a new first timer for switching connection control; that is, when the new first target network device is not successfully connected when the first timer ends, the new second target network device is selected again, And start the second timer corresponding to the new second target network device, and do so in a loop.

進一步地,上述迴圈處理的結束方式,可以為,當所述公共計時器超時,確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。Further, the method for ending the loop processing described above may be, when the public timer expires, confirm that the handover fails, return to the connection with the source network device, or initiate connection re-establishment.

還需要指出的是,當確定切換失敗並返回至源網路設備的連接的時候,或者,向目標網路設備發起連接的同時,本實施例中終端設備還可以保留與源網路設備之間的連接;其中,所述終端設備保留與源網路設備的第一協定疊以及第一相關金鑰、並且維護與第一目標網路設備之間的第二協定疊以及第二相關金鑰;It should also be pointed out that when it is determined that the handover fails and the connection to the source network device is returned, or when the connection is initiated to the target network device, the terminal device in this embodiment can also retain the connection with the source network device. The connection; wherein the terminal device retains the first protocol stack and the first related key with the source network device, and maintains the second protocol stack and the second related key with the first target network device;

其中,所述第一相關金鑰與第二相關金鑰不同。第二相關金鑰可以由第一相關金鑰生成。Wherein, the first related key is different from the second related key. The second correlation key can be generated from the first correlation key.

其中,第一協定疊與第二協定疊可以相同也可以不同,或者至少部分不同,比如,當針對5G系統的時候,可以為終端設備與源網路設備、以及終端設備與第一目標網路設備之間維護不同的服務資料應用協定(SDAP,Service Data Adaptation Protocol)、不同的分封資料匯聚協定(PDCP,Packet Data Convergence Protocol)、不同的無線鏈路層控制協定(RLC,Radio Link Control)、不同的媒體存取控制(MAC)實體、不同的低層(Low layer)實體;當針對4G系統的時候,可以為終端設備與源網路設備、以及終端設備與第一目標網路設備之間維護不同的分封資料匯聚協定(PDCP,Packet Data Convergence Protocol)、不同的無線鏈路層控制協定(RLC,Radio Link Control)、不同的媒體存取控制(MAC)實體、不同的低層(Low layer)實體。另外,本實施例提供的方案中,為了保證使用不同金鑰,第一協定疊以及第二協定疊的PDCP一定是不同的。SDAP、RLC、MAC以及實體層中至少之一,則可以相同也可以不同。或者,所述第一協定疊以及第二協定疊可以共用SDAP、RLC、MAC以及實體層中至少之一,或者可以分別擁有SDAP、RLC、MAC以及實體層。Among them, the first protocol stack and the second protocol stack may be the same or different, or at least partially different. For example, when targeting a 5G system, they may be the terminal device and the source network device, and the terminal device and the first target network. Devices maintain different service data application protocols (SDAP, Service Data Adaptation Protocol), different packet data convergence protocols (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), Different media access control (MAC) entities, different low layer entities; when targeting the 4G system, it can be maintained between the terminal device and the source network device, and between the terminal device and the first target network device Different packet data convergence protocols (PDCP, Packet Data Convergence Protocol), different radio link layer control protocols (RLC, Radio Link Control), different media access control (MAC) entities, and different low layer entities . In addition, in the solution provided in this embodiment, in order to ensure that different keys are used, the PDCPs of the first protocol stack and the second protocol stack must be different. At least one of SDAP, RLC, MAC, and physical layer may be the same or different. Alternatively, the first protocol stack and the second protocol stack may share at least one of SDAP, RLC, MAC, and physical layer, or may have SDAP, RLC, MAC, and physical layer respectively.

本實施例所述第一目標網路設備以及第二目標網路設備為所述終端設備切換時的目標網路設備;或者,所述第一目標網路設備以及第二目標網路設備為輔助節點SN,所述源網路設備為主節點MN 。此處需注意,長期演進(LTE)系統中,SN稱為SCG,在新無線(NR)則為SN,指的是一樣的概念,就是DC場景下的第二服務網路設備。本實施例可以適用的場景為:終端與源網路設備保持連接、與目標網路設備連接失敗;終端源網路設備斷開連接、與目標網路設備連接成功;輔助社區組(SCG)連接失敗、SCG改變連接失敗。當然,還可以有,在配置了多個SCG場景中,一個SCG連接失敗;配置了多個目標社區的場景中,一個目標社區連接失敗。還可能會存在其他的適用場景,只是本實施例中不再進行窮舉。The first target network device and the second target network device in this embodiment are the target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary Node SN, the source network device is the master node MN. It should be noted here that in the Long Term Evolution (LTE) system, SN is called SCG, and in New Radio (NR) it is SN, which refers to the same concept, which is the second service network equipment in the DC scenario. The applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect with the target network device; the terminal source network device is disconnected, and the connection with the target network device is successful; the auxiliary community group (SCG) is connected Failed, SCG failed to change the connection. Of course, there can also be that in a scenario where multiple SCGs are configured, one SCG connection fails; in a scenario where multiple target communities are configured, one target community fails to connect. There may also be other applicable scenarios, but it is not exhaustively listed in this embodiment.

可見,透過採用上述方案,能夠配置至少一個目標網路設備所對應的至少一個計時器、和/或公共計時器;使得終端設備在配置了至少一個目標網路設備的時候,基於對應的計時器和/或公共計時器控制切換處理,從而能夠保證重新與目標網路設備建立連接的處理效率。It can be seen that by adopting the above solution, at least one timer and/or public timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, it is based on the corresponding timer And/or the public timer controls the switching process, so as to ensure the processing efficiency of re-establishing a connection with the target network device.

實施例四、Embodiment four

本發明實施例提供了一種源網路設備,如圖6所示,包括:The embodiment of the present invention provides a source network device, as shown in FIG. 6, including:

第二通訊單元61,向終端設備配置針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;其中,所述公共計時器的時長至少大於針對至少一個目標網路設備的計時器的最大時長。The second communication unit 61 is configured to configure the terminal device with at least one timer for at least one target network device, and/or, a public timer; wherein the duration of the public timer is at least longer than that for at least one target network device The maximum duration of the timer.

另外,所述公共計時器的定時時長可以為大於全部計時器中定時時長最大的計時器的定時時長;或者,所述公共計時器的定時時長,還可以為全部計時器的定時時長總和;當然,所述公共計時器的定時時長,還可以大於全部計時器的定時時長總和。至少一個計時器以及公共計時器的時長均可以根據實際情況進行設置,這裡不進行窮舉。In addition, the timing duration of the public timer may be greater than the timing duration of the timer with the largest timing duration among all timers; or, the timing duration of the public timer may also be the timing duration of all timers The sum of the duration; of course, the timing duration of the public timer can also be greater than the sum of the timing durations of all timers. The duration of at least one timer and the public timer can be set according to the actual situation, and it is not exhaustive here.

所述第二通訊單元61,在切換命令中攜帶針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器,發送所述切換命令至所述終端設備。The second communication unit 61 carries at least one timer for at least one target network device and/or a common timer in the handover command, and sends the handover command to the terminal device.

具體來說,終端設備的至少一個目標網路設備的至少一個計時器,可以透過源網路設備直接透過切換命令來配置,或者,還可以由目標網路設備透過源網路設備向終端設備轉發。Specifically, the at least one timer of at least one target network device of the terminal device can be configured directly through the switch command through the source network device, or it can also be forwarded by the target network device to the terminal device through the source network device .

關於切換的處理流程可以參見圖3所示,包括:The processing flow of handover can be seen in Figure 3, including:

切換準備階段,包含圖中步驟1-6:源網路設備向終端設備發送測量控制;終端設備進行針對多個網路設備或社區的測量之後,向源網路設備發送測量報告;源網路設備根據測量報告(或者結合RRM訊息)進行切換決策;源網路設備向目標網路設備發送切換請求以使得目標網路設備準備進行切換;目標網路設備根據切換請求進行切換許可控制;目標網路設備確定進行切換時,向源網路設備發送切換請求確認。The handover preparation stage includes steps 1-6 in the figure: the source network device sends measurement control to the terminal device; the terminal device sends a measurement report to the source network device after measuring multiple network devices or communities; the source network The device makes switching decisions based on the measurement report (or combined with RRM messages); the source network device sends a switching request to the target network device to make the target network device ready to switch; the target network device performs switching permission control according to the switching request; the target network When the route device determines to switch, it sends a switch request confirmation to the source network device.

然後進行執行切換階段,包含圖中步驟7-11,具體的:目標網路設備生成RRC訊息,將RRC連接重配置訊息發送至源網路設備,由源網路設備透過RRC連接重配置訊息發送至終端設備;終端設備接收到RRC連接重配置訊息後,根據連接重配置訊息執行切換處理;然後源網路設備發送SN狀態傳輸至目標網路設備;終端設備與目標網路設備進行同步,然後接收目標網路設備進行UL分配,向目標網路設備發送RRC連接重配置完成訊息。Then perform the switching phase, including steps 7-11 in the figure. Specifically: the target network device generates an RRC message, sends the RRC connection reconfiguration message to the source network device, and the source network device sends it through the RRC connection reconfiguration message To the terminal device; after receiving the RRC connection reconfiguration message, the terminal device performs switching processing according to the connection reconfiguration message; then the source network device sends the SN status to the target network device; the terminal device synchronizes with the target network device, and then Receive the target network device for UL allocation, and send an RRC connection reconfiguration complete message to the target network device.

最後進入切換完成階段,包含圖中12-18,具體的:目標網路設備向MME發送路徑切換請求,以通知MME終端設備改變社區;MME向服務閘道發送調整承載請求,由MME進行切換下行路徑處理;服務閘道完成處理後,向MME發送承載調整完成處理,並由MME向目標網路設備發送路徑切換請求的確認訊息;目標網路設備向源網路設備通知終端設備上下文釋放由源網路設備釋放資源。Finally, it enters the handover completion stage, including 12-18 in the figure. Specifically: the target network device sends a path switch request to the MME to notify the MME terminal device to change the community; the MME sends a bearer adjustment request to the service gateway, and the MME switches the downlink Path processing: After the service gateway completes the processing, it sends the bearer adjustment completion processing to the MME, and the MME sends a path switch request confirmation message to the target network device; the target network device notifies the source network device that the terminal device context is released by the source The network equipment releases resources.

結合本實施例,當終端設備具備一個目標網路設備的時候,源網路設備可以透過切換命令直接發送計時器,或者透過轉發重配訊息發送一個計時器,也就是針對該目標網路設備的一個計時器;當終端設備具備至少兩個目標網路設備的時候,源網路設備可以直接透過切換指令配置至少兩個計時器,和/或,公共計時器,或者,可以透過轉發重配訊息為終端設備配置至少兩個計時器,和/或,公共計時器。In combination with this embodiment, when the terminal device has a target network device, the source network device can send a timer directly through a switch command, or send a timer by forwarding a reconfiguration message, which is specific to the target network device. A timer; when the terminal device has at least two target network devices, the source network device can directly configure at least two timers through the switch command, and/or, a common timer, or can forward reconfiguration messages Configure at least two timers for the terminal device, and/or, a common timer.

其中,可以針對每一個目標網路設備所對應的計時器和/或公共計時器均發送一個訊息至終端設備;或者,可以為將全部目標網路設備的每一個目標網路設備所對應的計時器和/或公共計時器添加到同一個訊息,然後僅向終端設備發送一條訊息即可。Among them, a message can be sent to the terminal device for the timer and/or public timer corresponding to each target network device; or, it can be the timer corresponding to each target network device of all target network devices. Add the device and/or public timer to the same message, and then only send one message to the terminal device.

需要理解的是,重配訊息中除了前述的計時器和/或公共計時器之外,還可以包括:移動控制訊息、新的C-RNTI、第二目標網路設備的安全訊息;另外,可選的還包括隨機存取前導,第二目標網路設備的系統訊息塊(SIB)等訊息。It should be understood that in addition to the aforementioned timers and/or public timers, the reconfiguration message may also include: mobile control information, new C-RNTI, and security information of the second target network device; in addition, it may The options also include random access preamble, system message block (SIB) of the second target network device and other messages.

所述源網路設備還包括:The source network equipment also includes:

第二處理單元62,基於至少一個網路設備對應的測量報告,選取目標網路設備;或者,從所述至少一個網路設備中隨機選取目標網路設備。The second processing unit 62 selects a target network device based on a measurement report corresponding to at least one network device; or, randomly selects a target network device from the at least one network device.

其中,選取目標網路設備,可以為源網路設備接收到終端設備發來的至少一個網路設備的測量報告的時候,為終端設備選取至少一個目標網路設備;然後將至少一個目標網路設備的相關訊息透過重配訊息或切換命令發送至終端設備;需要指出的是,發送至少一個目標網路設備的時候還需要添加至少一個目標網路設備對應的至少一個計時器,和/或公共計時器。Among them, selecting the target network device can be when the source network device receives the measurement report of at least one network device from the terminal device, select at least one target network device for the terminal device; and then add at least one target network device Device-related information is sent to the terminal device through a reconfiguration message or a switch command; it should be pointed out that when sending at least one target network device, at least one timer corresponding to at least one target network device needs to be added, and/or public Timer.

和/或,選取目標網路設備,還可以為當終端設備針對第一目標網路設備連接失敗的時候,源網路設備從至少一個目標網路設備中再為終端設備選取第二目標網路設備,並將選取的第二目標網路設備透過重配訊息或切換命令發送至終端設備;需要指出的是,發送第二目標網路設備的時候還需要添加第二目標網路設備對應的第二計時器。And/or, selecting the target network device can also be that when the terminal device fails to connect to the first target network device, the source network device selects a second target network for the terminal device from at least one target network device Device and send the selected second target network device to the terminal device through a reconfiguration message or a switching command; it should be pointed out that when sending the second target network device, you also need to add the second target network device corresponding to the second target network device. Two timers.

本實施例所述第一目標網路設備以及第二目標網路設備為所述終端設備切換時的目標網路設備;或者,所述第一目標網路設備以及第二目標網路設備為輔助節點SN,所述源網路設備為主節點MN 。此處需注意,長期演進(LTE)系統中,SN稱為SCG,在新無線(NR)則為SN,指的是一樣的概念,就是DC場景下的第二服務網路設備。本實施例可以適用的場景為:終端與源網路設備保持連接、與目標網路設備連接失敗;終端源網路設備斷開連接、與目標網路設備連接成功;輔助社區組(SCG)連接失敗、SCG改變連接失敗。當然,還可以有,在配置了多個SCG場景中,一個SCG連接失敗;配置了多個目標社區的場景中,一個目標社區連接失敗。還可能會存在其他的適用場景,只是本實施例中不再進行窮舉。The first target network device and the second target network device in this embodiment are the target network devices when the terminal device is switched; or, the first target network device and the second target network device are auxiliary Node SN, the source network device is the master node MN. It should be noted here that in the Long Term Evolution (LTE) system, SN is called SCG, and in New Radio (NR) it is SN, which refers to the same concept, which is the second service network equipment in the DC scenario. The applicable scenarios of this embodiment are: the terminal maintains a connection with the source network device and fails to connect with the target network device; the terminal source network device is disconnected, and the connection with the target network device is successful; the auxiliary community group (SCG) is connected Failed, SCG failed to change the connection. Of course, there can also be that in a scenario where multiple SCGs are configured, one SCG connection fails; in a scenario where multiple target communities are configured, one target community fails to connect. There may also be other applicable scenarios, but it is not exhaustively listed in this embodiment.

可見,透過採用上述方案,能夠配置至少一個目標網路設備所對應的至少一個計時器、和/或公共計時器;使得終端設備在配置了至少一個目標網路設備的時候,基於對應的計時器和/或公共計時器控制切換處理,從而能夠保證重新與目標網路設備建立連接的處理效率。It can be seen that by adopting the above solution, at least one timer and/or public timer corresponding to at least one target network device can be configured; so that when the terminal device is configured with at least one target network device, it is based on the corresponding timer And/or the public timer controls the switching process, so as to ensure the processing efficiency of re-establishing a connection with the target network device.

圖7是本申請實施例提供的一種通訊設備700示意性結構圖,通訊設備可以為本實施例前述的終端設備或者網路設備。圖7所示的通訊設備700包括處理器710,處理器710可以從記憶體中調用並運行電腦程式,以實現本申請實施例中的方法。FIG. 7 is a schematic structural diagram of a communication device 700 provided by an embodiment of the present application. The communication device may be the aforementioned terminal device or network device in this embodiment. The communication device 700 shown in FIG. 7 includes a processor 710, and the processor 710 can call and run a computer program from the memory to implement the method in the embodiment of the present application.

可選地,如圖7所示,通訊設備700還可以包括記憶體720。其中,處理器710可以從記憶體720中調用並運行電腦程式,以實現本申請實施例中的方法。Optionally, as shown in FIG. 7, the communication device 700 may further include a memory 720. The processor 710 can call and run a computer program from the memory 720 to implement the method in the embodiment of the present application.

其中,記憶體720可以是獨立於處理器710的一個單獨的器件,也可以集成在處理器710中。The memory 720 may be a separate device independent of the processor 710, or it may be integrated in the processor 710.

可選地,如圖7所示,通訊設備700還可以包括收發器730,處理器710可以控制該收發器730與其他設備進行通訊,具體地,可以向其他設備發送訊息或資料,或接收其他設備發送的訊息或資料。Optionally, as shown in FIG. 7, the communication device 700 may further include a transceiver 730, and the processor 710 may control the transceiver 730 to communicate with other devices. Specifically, it may send messages or data to other devices, or receive other devices. Message or data sent by the device.

其中,收發器730可以包括發射機和接收機。收發器730還可以進一步包括天線,天線的數量可以為一個或多個。The transceiver 730 may include a transmitter and a receiver. The transceiver 730 may further include an antenna, and the number of antennas may be one or more.

可選地,該通訊設備700具體可為本申請實施例的網路設備,並且該通訊設備700可以實現本申請實施例的各個方法中由網路設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the communication device 700 may specifically be a network device in an embodiment of the present application, and the communication device 700 may implement the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, it is not here. Repeat it again.

可選地,該通訊設備700具體可為本申請實施例的終端設備、或者網路設備,並且該通訊設備700可以實現本申請實施例的各個方法中由移動終端/終端設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the communication device 700 may specifically be a terminal device or a network device in an embodiment of the application, and the communication device 700 may implement the corresponding processes implemented by the mobile terminal/terminal device in the various methods of the embodiments of the application. For the sake of brevity, I will not repeat them here.

圖8是本申請實施例的晶片的示意性結構圖。圖8所示的晶片800包括處理器810,處理器810可以從記憶體中調用並運行電腦程式,以實現本申請實施例中的方法。Fig. 8 is a schematic structural diagram of a wafer of an embodiment of the present application. The chip 800 shown in FIG. 8 includes a processor 810, and the processor 810 can call and run a computer program from the memory to implement the method in the embodiment of the present application.

可選地,如圖8所示,晶片800還可以包括記憶體820。其中,處理器810可以從記憶體820中調用並運行電腦程式,以實現本申請實施例中的方法。Optionally, as shown in FIG. 8, the chip 800 may further include a memory 820. The processor 810 can call and run a computer program from the memory 820 to implement the method in the embodiment of the present application.

其中, 記憶體820可以是獨立於處理器810的一個單獨的器件,也可以集成在處理器810中。The memory 820 may be a separate device independent of the processor 810, or it may be integrated in the processor 810.

可選地,該晶片800還可以包括輸入介面830。其中,處理器810可以控制該輸入介面830與其他設備或晶片進行通訊,具體地,可以獲取其他設備或晶片發送的訊息或資料。Optionally, the chip 800 may further include an input interface 830. Wherein, the processor 810 can control the input interface 830 to communicate with other devices or chips, specifically, can obtain messages or data sent by other devices or chips.

可選地,該晶片800還可以包括輸出介面840。其中,處理器810可以控制該輸出介面840與其他設備或晶片進行通訊,具體地,可以向其他設備或晶片輸出訊息或資料。Optionally, the chip 800 may further include an output interface 840. The processor 810 can control the output interface 840 to communicate with other devices or chips, specifically, can output messages or data to other devices or chips.

可選地,該晶片可應用於本申請實施例中的網路設備,並且該晶片可以實現本申請實施例的各個方法中由網路設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the chip can be applied to the network equipment in the embodiments of the present application, and the chip can implement the corresponding processes implemented by the network equipment in the various methods of the embodiments of the present application. For the sake of brevity, details are not repeated here.

可選地,該晶片可應用於本申請實施例中的終端設備,並且該晶片可以實現本申請實施例的各個方法中由終端設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the chip can be applied to the terminal device in the embodiment of the present application, and the chip can implement the corresponding process implemented by the terminal device in each method of the embodiment of the present application. For the sake of brevity, details are not described herein again.

應理解,本申請實施例提到的晶片還可以稱為系統級晶片,系統晶片,晶片系統或片上系統晶片等。It should be understood that the chip mentioned in the embodiments of the present application may also be referred to as a system-level chip, a system-on-chip, a system-on-chip or a system-on-chip.

圖9是本申請實施例提供的一種通訊系統900的示意性框圖。如圖9所示,該通訊系統900包括終端設備910和網路設備920。FIG. 9 is a schematic block diagram of a communication system 900 according to an embodiment of the present application. As shown in FIG. 9, the communication system 900 includes a terminal device 910 and a network device 920.

其中,該終端設備910可以用於實現上述方法中由終端設備實現的相應的功能,以及該網路設備920可以用於實現上述方法中由網路設備實現的相應的功能為了簡潔,在此不再贅述。Wherein, the terminal device 910 can be used to implement the corresponding function implemented by the terminal device in the above method, and the network device 920 can be used to implement the corresponding function implemented by the network device in the above method. Repeat it again.

應理解,本申請實施例的處理器可能是一種積體電路晶片,具有信號的處理能力。在實現過程中,上述方法實施例的各步驟可以透過處理器中的硬體的集成邏輯電路或者軟體形式的指令完成。上述的處理器可以是通用處理器、數位訊號處理器(Digital Signal Processor,DSP)、專用積體電路(Application Specific Integrated Circuit,ASIC)、現成可程式設計閘陣列(Field Programmable Gate Array,FPGA)或者其他可程式設計邏輯器件、離散閘或者電晶體邏輯器件、分立硬體元件。可以實現或者執行本申請實施例中的公開的各方法、步驟及邏輯框圖。通用處理器可以是微處理器或者該處理器也可以是任何常規的處理器等。結合本申請實施例所公開的方法的步驟可以直接體現為硬體解碼處理器執行完成,或者用解碼處理器中的硬體及軟體模組組合執行完成。軟體模組可以位於隨機記憶體,快閃記憶體、唯讀記憶體,可程式設計唯讀記憶體或者電可讀寫可程式設計記憶體、寄存器等本領域成熟的存儲媒介中。該存儲媒介位於記憶體,處理器讀取記憶體中的訊息,結合其硬體完成上述方法的步驟。It should be understood that the processor of the embodiment of the present application may be an integrated circuit chip with signal processing capability. In the implementation process, the steps of the above method embodiments can be completed through hardware integrated logic circuits in the processor or instructions in the form of software. The above-mentioned processor can be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), a dedicated integrated circuit (Application Specific Integrated Circuit, ASIC), a ready-made programmable gate array (Field Programmable Gate Array, FPGA), or Other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components. The methods, steps, and logical block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor or the like. The steps of the method disclosed in combination with the embodiments of the present application can be directly embodied as being executed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor. The software module can be located in random memory, flash memory, read-only memory, programmable read-only memory, or electrically readable, writable and programmable memory, registers, and other mature storage media in the field. The storage medium is located in the memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.

可以理解,本申請實施例中的記憶體可以是揮發性記憶體或非揮發性記憶體,或可包括揮發性和非揮發性記憶體兩者。其中,非揮發性記憶體可以是唯讀記憶體(Read-Only Memory,ROM)、可程式設計唯讀記憶體(Programmable ROM,PROM)、可擦除可程式設計唯讀記憶體(Erasable PROM,EPROM)、電可擦除可程式設計唯讀記憶體(Electrically EPROM,EEPROM)或快閃記憶體。揮發性記憶體可以是隨機存取記憶體(Random Access Memory,RAM),其用作外部快取記憶體。透過示例性但不是限制性說明,許多形式的RAM可用,例如靜態隨機存取記憶體(Static RAM,SRAM)、動態隨機存取記憶體(Dynamic RAM,DRAM)、同步動態隨機存取記憶體(Synchronous DRAM,SDRAM)、雙倍數據速率同步動態隨機存取記憶體(Double Data Rate SDRAM,DDR SDRAM)、增強型同步動態隨機存取記憶體(Enhanced SDRAM,ESDRAM)、同步連接動態隨機存取記憶體(Synchlink DRAM,SLDRAM)和直接記憶體匯流排隨機存取記憶體(Direct Rambus RAM,DR RAM)。應注意,本文描述的系統和方法的記憶體旨在包括但不限於這些和任意其它適合類型的記憶體。It can be understood that the memory in the embodiments of the present application may be a volatile memory or a non-volatile memory, or may include both volatile and non-volatile memory. Among them, non-volatile memory can be read-only memory (Read-Only Memory, ROM), programmable read-only memory (Programmable ROM, PROM), erasable programmable read-only memory (Erasable PROM, EPROM), electrically erasable programmable read-only memory (Electrically EPROM, EEPROM) or flash memory. The volatile memory may be a random access memory (Random Access Memory, RAM), which is used as an external cache memory. By way of exemplary but not restrictive description, many forms of RAM are available, such as static random access memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random access memory ( Synchronous DRAM, SDRAM), Double Data Rate SDRAM (DDR SDRAM), Enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), Synchronous Connection Dynamic Random Access Memory Body (Synchlink DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include but not limited to these and any other suitable types of memory.

應理解,上述記憶體為示例性但不是限制性說明,例如,本申請實施例中的記憶體還可以是靜態隨機存取記憶體(static RAM,SRAM)、動態隨機存取記憶體(dynamic RAM,DRAM)、同步動態隨機存取記憶體(synchronous DRAM,SDRAM)、雙倍數據速率同步動態隨機存取記憶體(double data rate SDRAM,DDR SDRAM)、增強型同步動態隨機存取記憶體(enhanced SDRAM,ESDRAM)、同步連接動態隨機存取記憶體(synch link DRAM,SLDRAM)以及直接記憶體匯流排隨機存取記憶體(Direct Rambus RAM,DR RAM)等等。也就是說,本申請實施例中的記憶體旨在包括但不限於這些和任意其它適合類型的記憶體。It should be understood that the foregoing memory is exemplary but not restrictive. For example, the memory in the embodiment of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM). , DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (double data rate SDRAM, DDR SDRAM), enhanced synchronous dynamic random access memory (enhanced SDRAM, ESDRAM), synchronous connection dynamic random access memory (synch link DRAM, SLDRAM) and direct memory bus random access memory (Direct Rambus RAM, DR RAM), etc. That is to say, the memory in the embodiments of the present application is intended to include but not limited to these and any other suitable types of memory.

本申請實施例還提供了一種電腦可讀存儲媒介,用於存儲電腦程式。The embodiment of the present application also provides a computer-readable storage medium for storing computer programs.

可選的,該電腦可讀存儲媒介可應用於本申請實施例中的網路設備,並且該電腦程式使得電腦執行本申請實施例的各個方法中由網路設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the computer-readable storage medium can be applied to the network device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, I won't repeat them here.

可選地,該電腦可讀存儲媒介可應用於本申請實施例中的終端設備,並且該電腦程式使得電腦執行本申請實施例的各個方法中由移動終端/終端設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the computer-readable storage medium can be applied to the terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of the present application, for the sake of brevity , I won’t repeat it here.

本申請實施例還提供了一種電腦程式產品,包括電腦程式指令。The embodiment of the present application also provides a computer program product, including computer program instructions.

可選的,該電腦程式產品可應用於本申請實施例中的網路設備,並且該電腦程式指令使得電腦執行本申請實施例的各個方法中由網路設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the computer program product can be applied to the network device in the embodiment of this application, and the computer program instructions cause the computer to execute the corresponding process implemented by the network device in each method of the embodiment of this application. For brevity, This will not be repeated here.

可選地,該電腦程式產品可應用於本申請實施例中的移動終端/終端設備,並且該電腦程式指令使得電腦執行本申請實施例的各個方法中由移動終端/終端設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the computer program product can be applied to the mobile terminal/terminal device in the embodiment of this application, and the computer program instructions make the computer execute the corresponding process implemented by the mobile terminal/terminal device in each method of the embodiment of this application, For the sake of brevity, I will not repeat them here.

本申請實施例還提供了一種電腦程式。The embodiment of the application also provides a computer program.

可選的,該電腦程式可應用於本申請實施例中的網路設備,當該電腦程式在電腦上運行時,使得電腦執行本申請實施例的各個方法中由網路設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the computer program can be applied to the network device in the embodiment of the present application. When the computer program runs on the computer, the computer executes the corresponding process implemented by the network device in each method of the embodiment of the present application. For the sake of brevity, I will not repeat them here.

可選地,該電腦程式可應用於本申請實施例中的移動終端/終端設備,當該電腦程式在電腦上運行時,使得電腦執行本申請實施例的各個方法中由移動終端/終端設備實現的相應流程,為了簡潔,在此不再贅述。Optionally, the computer program can be applied to the mobile terminal/terminal device in the embodiment of the present application. When the computer program runs on the computer, the computer can execute each method in the embodiment of the present application. For the sake of brevity, the corresponding process will not be repeated here.

本領域普通技術人員可以意識到,結合本文中所公開的實施例描述的各示例的單元及演算法步驟,能夠以電子硬體、或者電腦軟體和電子硬體的結合來實現。這些功能究竟以硬體還是軟體方式來執行,取決於技術方案的特定應用和設計約束條件。專業技術人員可以對每個特定的應用來使用不同方法來實現所描述的功能,但是這種實現不應認為超出本申請的範圍。A person of ordinary skill in the art can be aware that the units and algorithm steps described in the examples in combination with the embodiments disclosed herein can be implemented by electronic hardware or a combination of computer software and electronic hardware. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.

所屬領域的技術人員可以清楚地瞭解到,為描述的方便和簡潔,上述描述的系統、裝置和單元的具體工作過程,可以參考前述方法實施例中的對應過程,在此不再贅述。Those skilled in the art can clearly understand that, for the convenience and conciseness of description, the specific working process of the above-described system, device, and unit can refer to the corresponding process in the foregoing method embodiment, which is not repeated here.

在本申請所提供的幾個實施例中,應該理解到,所揭露的系統、裝置和方法,可以透過其它的方式實現。例如,以上所描述的裝置實施例僅僅是示意性的,例如,所述單元的劃分,僅僅為一種邏輯功能劃分,實際實現時可以有另外的劃分方式,例如多個單元或元件可以結合或者可以集成到另一個系統,或一些特徵可以忽略,或不執行。另一點,所顯示或討論的相互之間的耦合或直接耦合或通訊連接可以是透過一些介面,裝置或單元的間接耦合或通訊連接,可以是電性,機械或其它的形式。In the several embodiments provided in this application, it should be understood that the disclosed system, device, and method can be implemented in other ways. For example, the device embodiments described above are merely illustrative. For example, the division of the units is only a logical function division, and there may be other divisions in actual implementation, for example, multiple units or elements may be combined or may be Integrate into another system, or some features can be ignored or not implemented. In addition, the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, and may be in electrical, mechanical or other forms.

所述作為分離部件說明的單元可以是或者也可以不是實體上分開的,作為單元顯示的部件可以是或者也可以不是實體單元,即可以位於一個地方,或者也可以分佈到多個網路單元上。可以根據實際的需要選擇其中的部分或者全部單元來實現本實施例方案的目的。The unit described as a separate component may or may not be physically separated, and the component displayed as a unit may or may not be a physical unit, that is, it may be located in one place, or it may be distributed to multiple network units . Some or all of the units may be selected according to actual needs to achieve the objectives of the solutions of the embodiments.

另外,在本申請各個實施例中的各功能單元可以集成在一個處理單元中,也可以是各個單元單獨實體存在,也可以兩個或兩個以上單元集成在一個單元中。In addition, the functional units in each embodiment of the present application may be integrated into one processing unit, or each unit may exist separately, or two or more units may be integrated into one unit.

所述功能如果以軟體功能單元的形式實現並作為獨立的產品銷售或使用時,可以存儲在一個電腦可讀取存儲媒介中。基於這樣的理解,本申請的技術方案本質上或者說對現有技術做出貢獻的部分或者該技術方案的部分可以以軟體產品的形式體現出來,該電腦軟體產品存儲在一個存儲媒介中,包括若干指令用以使得一台電腦設備(可以是個人電腦,伺服器,或者網路設備等)執行本申請各個實施例所述方法的全部或部分步驟。而前述的存儲媒介包括:隨身碟、移動硬碟、唯讀記憶體(Read-Only Memory,)ROM、隨機存取記憶體(Random Access Memory,RAM)、磁碟或者光碟等各種可以存儲程式碼的媒介。If the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer readable storage medium. Based on this understanding, the technical solution of the present application essentially or the part that contributes to the existing technology or the part of the technical solution can be embodied in the form of a software product. The computer software product is stored in a storage medium, including several The instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application. The aforementioned storage media include: flash drives, removable hard drives, read-only memory (Read-Only Memory,) ROM, random access memory (Random Access Memory, RAM), magnetic disks or optical disks, etc., which can store program codes Medium.

以上所述,僅為本申請的具體實施方式,但本申請的保護範圍並不局限於此,任何熟悉本技術領域的技術人員在本申請揭露的技術範圍內,可輕易想到變化或替換,都應涵蓋在本申請的保護範圍之內。因此,本申請的保護範圍應所述以申請專利範圍的保護範圍為准。The above are only specific implementations of this application, but the protection scope of this application is not limited to this. Any person skilled in the art can easily think of changes or substitutions within the technical scope disclosed in this application. Should be covered within the scope of protection of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the patent application.

100:通訊系統 110:網路設備 120:終端設備 201:步驟 401:步驟 51:第一通訊單元 52:第一處理單元 61:第二通訊單元 62:第二處理單元 700:通訊設備 710:處理器 720:記憶體 730:收發器 800:晶片 810:處理器 820:記憶體 830:輸入介面 840:輸出介面 900:通訊系統 910:終端設備 920:網路設備100: Communication system 110: network equipment 120: terminal equipment 201: Step 401: Step 51: The first communication unit 52: The first processing unit 61: The second communication unit 62: second processing unit 700: Communication equipment 710: processor 720: Memory 730: Transceiver 800: chip 810: processor 820: memory 830: input interface 840: output interface 900: Communication system 910: terminal equipment 920: network equipment

圖1是本申請實施例提供的一種通訊系統架構的示意性圖一;FIG. 1 is a schematic diagram 1 of a communication system architecture provided by an embodiment of the present application;

圖2是本申請實施例提供的一種切換定時方法流程示意圖一;FIG. 2 is a first schematic flowchart of a handover timing method provided by an embodiment of the present application;

圖3為本發明實施例提供的一種切換處理場景示意圖;FIG. 3 is a schematic diagram of a handover processing scenario provided by an embodiment of the present invention;

圖4是本申請實施例提供的一種切換定時方法流程示意圖二;FIG. 4 is a second schematic diagram of the flow of a handover timing method provided by an embodiment of the present application;

圖5是本申請實施例提供的一種終端設備組成結構示意圖;FIG. 5 is a schematic diagram of the structure of a terminal device provided by an embodiment of the present application;

圖6為本發明實施例提供的一種網路設備組成結構示意圖;FIG. 6 is a schematic diagram of the composition structure of a network device provided by an embodiment of the present invention;

圖7為本發明實施例提供的一種通訊設備組成結構示意圖;FIG. 7 is a schematic diagram of the composition structure of a communication device provided by an embodiment of the present invention;

圖8是本申請實施例提供的一種晶片的示意性框圖;FIG. 8 is a schematic block diagram of a chip provided by an embodiment of the present application;

圖9是本申請實施例提供的一種通訊系統架構的示意性圖二。FIG. 9 is a second schematic diagram of a communication system architecture provided by an embodiment of the present application.

201:步驟 201: Step

Claims (20)

一種切換定時方法,應用於終端設備,包括: 接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器; 其中,所述公共計時器的時長至少大於針對至少一個目標網路設備的計時器的最大時長。A handover timing method applied to terminal equipment, including: Receiving at least one timer for at least one target network device, and/or, a public timer; Wherein, the duration of the public timer is at least greater than the maximum duration of the timer for at least one target network device. 根據申請專利範圍第1項所述的方法,其中,所述接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器,包括: 接收切換命令,透過所述切換命令獲取針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器。The method according to claim 1, wherein the receiving at least one timer for at least one target network device, and/or a public timer, includes: A handover command is received, and at least one timer for at least one target network device and/or a public timer is obtained through the handover command. 根據申請專利範圍第1項所述的方法,其中,所述接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器之後,所述方法還包括: 當接收到切換命令時,啟動公共計時器,向第一目標網路設備發起連接。The method according to item 1 of the scope of patent application, wherein, after the receiving at least one timer for at least one target network device, and/or, after the public timer, the method further includes: When the handover command is received, the public timer is started to initiate a connection to the first target network device. 根據申請專利範圍第3項所述的方法,其中,所述向第一目標網路設備發起連接之後,所述方法還包括: 當連接第一目標網路設備失敗、或者當公共計時器停止且連接所述第一目標網路設備不成功時,確定第二目標網路設備,重新開機公共計時器,向所述第二目標網路設備發起連接。The method according to item 3 of the scope of patent application, wherein, after initiating a connection to the first target network device, the method further includes: When the connection to the first target network device fails, or when the public timer stops and the connection to the first target network device is unsuccessful, the second target network device is determined, the public timer is restarted, and the public timer is sent to the second target The network device initiates a connection. 根據申請專利範圍第4項所述的方法,其中,所述確定第二目標網路設備,重新開機公共計時器,向所述第二目標網路設備發起連接時,所述方法還包括: 判斷重新啟動所述公共計時器的次數是否超過預設次數閾值,若超過,則確認切換失敗,返回與源網路設備的連接、或者、發起連接重建; 或者, 判斷重新選取目標網路設備的次數是否超過預設選取閾值,若超過,則確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。The method according to item 4 of the scope of patent application, wherein when the determining the second target network device, restarting the public timer, and initiating a connection to the second target network device, the method further includes: Determine whether the number of restarts of the public timer exceeds a preset number threshold, and if it exceeds, confirm that the handover fails, return to the connection with the source network device, or initiate connection re-establishment; or, Determine whether the number of times of reselecting the target network device exceeds the preset selection threshold, if it exceeds, confirm that the switch has failed, return to the connection with the source network device, or initiate connection re-establishment. 根據申請專利範圍第3項所述的方法,其中,所述向第一目標網路設備發起連接之後,所述方法還包括: 當連接第一目標網路設備失敗、且所述公共計時器未超時,從至少一個目標網路設備中選取第二目標網路設備向所述第二目標網路設備發起連接; 或者, 當第一目標網路設備連接失敗、且所述公共計時器未超時,獲取切換命令中配置的第二目標網路設備,向所述第二目標網路設備發起連接。The method according to item 3 of the scope of patent application, wherein, after initiating a connection to the first target network device, the method further includes: When the connection to the first target network device fails and the public timer has not timed out, selecting a second target network device from at least one target network device to initiate a connection to the second target network device; or, When the connection of the first target network device fails and the public timer does not expire, the second target network device configured in the handover command is acquired, and a connection is initiated to the second target network device. 根據申請專利範圍第6項所述的方法,其中,所述方法還包括: 當所述公共計時器超時,確認切換失敗,返回與源網路設備的連接、或者、發起連接重建。The method according to item 6 of the scope of patent application, wherein the method further includes: When the public timer expires, it is confirmed that the handover fails, and the connection with the source network device is returned, or the connection re-establishment is initiated. 根據申請專利範圍第1項所述的方法,其中,所述接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器之後,所述方法還包括: 當接收到切換命令時,啟動針對第一目標網路設備的第一計時器,向第一目標網路設備發起連接。The method according to item 1 of the scope of patent application, wherein, after the receiving at least one timer for at least one target network device, and/or, after the public timer, the method further includes: When the switching command is received, the first timer for the first target network device is started, and a connection is initiated to the first target network device. 根據申請專利範圍第8項所述的方法,其中,所述向第一目標網路設備發起連接之後,所述方法還包括: 當第一目標網路設備連接失敗時,從至少一個目標網路設備中選取第二目標網路設備發起連接,並啟動所述第二目標網路設備的第二計時器; 或者, 當第一目標網路設備連接失敗時,獲取切換命令中配置的第二目標網路設備,向所述第二目標網路設備發起連接,並啟動所述第二目標網路設備的第二計時器。The method according to item 8 of the scope of patent application, wherein, after the initiating connection to the first target network device, the method further includes: When the connection of the first target network device fails, select a second target network device from at least one target network device to initiate the connection, and start the second timer of the second target network device; or, When the connection of the first target network device fails, obtain the second target network device configured in the switching command, initiate a connection to the second target network device, and start the second timing of the second target network device Device. 根據申請專利範圍第1項所述的方法,其中,所述接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器之後,所述方法還包括: 當接收到切換命令時,啟動第一目標網路設備的第一計時器、並啟動公共計時器,向第一目標網路設備發起連接。The method according to item 1 of the scope of patent application, wherein, after the receiving at least one timer for at least one target network device, and/or, after the public timer, the method further includes: When the handover command is received, the first timer of the first target network device is started, and the public timer is started to initiate a connection to the first target network device. 一種終端設備,包括: 第一通訊單元,接收針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器;其中,所述公共計時器的時長至少大於針對至少一個目標網路設備的計時器的最大時長。A terminal device, including: The first communication unit receives at least one timer for at least one target network device, and/or a public timer; wherein the duration of the public timer is at least greater than that of the timer for at least one target network device Maximum duration. 根據申請專利範圍第11項所述的終端設備,其中,所述第一通訊單元, 接收切換命令,透過所述切換命令獲取針對至少一個目標網路設備的至少一個計時器,和/或,公共計時器。The terminal device according to item 11 of the scope of patent application, wherein the first communication unit, A handover command is received, and at least one timer for at least one target network device and/or a public timer is obtained through the handover command. 根據申請專利範圍第11項所述的終端設備,其中,所述終端設備還包括: 第一處理單元,當接收到切換命令時,啟動公共計時器,透過第一通訊單元向第一目標網路設備發起連接。The terminal device according to item 11 of the scope of patent application, wherein the terminal device further includes: The first processing unit, when receiving the handover command, starts a public timer, and initiates a connection to the first target network device through the first communication unit. 根據申請專利範圍第13項所述的終端設備,其中,所述第一處理單元,當連接第一目標網路設備失敗、或者當公共計時器停止且連接所述第一目標網路設備不成功時,確定第二目標網路設備,重新開機公共計時器,透過第一通訊單元,向所述第二目標網路設備發起連接。The terminal device according to item 13 of the scope of patent application, wherein the first processing unit fails when connecting to the first target network device, or when the public timer stops and connecting to the first target network device fails When determining the second target network device, restart the public timer, and initiate a connection to the second target network device through the first communication unit. 根據申請專利範圍第13項所述的終端設備,其中,所述第一處理單元, 當連接第一目標網路設備失敗、且所述公共計時器未超時,從至少一個目標網路設備中選取第二目標網路設備,透過第一通訊單元向所述第二目標網路設備發起連接; 或者, 當第一目標網路設備連接失敗、且所述公共計時器未超時,獲取切換命令中配置的第二目標網路設備,透過第一通訊單元向所述第二目標網路設備發起連接。The terminal device according to item 13 of the scope of patent application, wherein the first processing unit, When the connection to the first target network device fails and the public timer does not expire, a second target network device is selected from at least one target network device, and the second target network device is sent to the second target network device through the first communication unit Initiate a connection; or, When the connection of the first target network device fails and the public timer does not expire, the second target network device configured in the switching command is acquired, and a connection is initiated to the second target network device through the first communication unit. 根據申請專利範圍第11項所述的終端設備,其中,所述終端設備還包括: 第一處理單元,當接收到切換命令時,啟動針對第一目標網路設備的第一計時器,透過第一通訊單元向第一目標網路設備發起連接。The terminal device according to item 11 of the scope of patent application, wherein the terminal device further includes: The first processing unit, when receiving the switching command, starts a first timer for the first target network device, and initiates a connection to the first target network device through the first communication unit. 根據申請專利範圍第11項所述的終端設備,其中,所述終端設備還包括: 第一處理單元,當接收到切換命令時,啟動第一目標網路設備的第一計時器、並啟動公共計時器,透過第一通訊單元向第一目標網路設備發起連接。The terminal device according to item 11 of the scope of patent application, wherein the terminal device further includes: The first processing unit, when receiving the switching command, starts the first timer of the first target network device and starts the public timer, and initiates a connection to the first target network device through the first communication unit. 根據申請專利範圍第17項所述的終端設備,其中,所述第一處理單元, 當第一目標網路設備的第一計時器停止、和/或連接第一目標網路設備失敗時,若公共計時器未超時,則從至少一個目標網路設備中選取第二目標網路設備,向第二目標網路設備發起連接、並啟動第二目標網路設備的計時器; 或者, 當第一目標網路設備的第一計時器停止、和/或連接第一目標網路設備失敗時,若公共計時器未超時,則基於切換命令獲取第二目標網路設備,向第二目標網路設備發起連接、並啟動第二目標網路設備的計時器。The terminal device according to item 17 of the scope of patent application, wherein the first processing unit, When the first timer of the first target network device is stopped and/or the connection to the first target network device fails, if the public timer does not expire, the second target network is selected from at least one target network device Device, initiate a connection to the second target network device and start the timer of the second target network device; or, When the first timer of the first target network device stops and/or the connection to the first target network device fails, if the public timer does not expire, the second target network device is acquired based on the switching command, and the second target network device is sent to the second The target network device initiates a connection and starts a timer of the second target network device. 根據申請專利範圍第18項所述的終端設備,其中,所述第一處理單元,當所述公共計時器超時,確認切換失敗,控制透過第一通訊單元返回與源網路設備的連接、或者、發起連接重建。The terminal device according to item 18 of the scope of patent application, wherein the first processing unit, when the public timer expires, confirms that the handover has failed, and controls the return of the connection to the source network device through the first communication unit, Or, initiate connection re-establishment. 根據申請專利範圍第11項所述的終端設備,其中, 所述第一目標網路設備以及第二目標網路設備為所述終端設備切換時的目標網路設備; 或者, 所述第一目標網路設備以及第二目標網路設備為輔助節點SN,所述源網路設備為主節點MN 。The terminal device according to item 11 of the scope of patent application, wherein: The first target network device and the second target network device are target network devices when the terminal device is switched; or, The first target network device and the second target network device are auxiliary nodes SN, and the source network device is a master node MN.
TW108134952A 2018-09-27 2019-09-26 Handover timing method, terminal device and network device TW202025842A (en)

Applications Claiming Priority (2)

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

Publications (1)

Publication Number Publication Date
TW202025842A true TW202025842A (en) 2020-07-01

Family

ID=69950922

Family Applications (1)

Application Number Title Priority Date Filing Date
TW108134952A TW202025842A (en) 2018-09-27 2019-09-26 Handover timing method, terminal device and network device

Country Status (3)

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

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114557030A (en) * 2020-08-25 2022-05-27 华为技术有限公司 Communication method and device
CN114698052B (en) * 2020-12-29 2024-09-20 维沃移动通信有限公司 Network changing method, device and terminal
CN116830655A (en) * 2021-01-15 2023-09-29 苹果公司 Triggering message based handover with PSCell

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9049619B2 (en) * 2010-08-12 2015-06-02 Lg Electronics Inc. Apparatus and method of reporting power headroom in wireless communication system
CN104025641B (en) * 2012-03-16 2018-05-18 富士通株式会社 Switch report method, user equipment and the base station of mark
EP3120596B1 (en) * 2014-03-21 2020-09-09 Samsung Electronics Co., Ltd. Method and apparatus for controlling waiting time for determination of radio link failure in wireless communication system
JP2015216502A (en) * 2014-05-09 2015-12-03 株式会社Nttドコモ User device and method
US9730231B1 (en) * 2014-07-15 2017-08-08 Ntt Docomo, Inc. User equipment, mobile communication system, and deactivation timer control method
EP3527001A4 (en) * 2016-10-11 2020-06-03 Telefonaktiebolaget LM Ericsson (publ) Data transmission during handover
CN108243468B (en) * 2016-12-23 2021-09-21 夏普株式会社 User mobility method and device
CN108337700B (en) * 2017-01-20 2020-11-17 北京佰才邦技术有限公司 Method for automatically switching terminal, base station and terminal

Also Published As

Publication number Publication date
CN112106403B (en) 2022-03-22
CN112106403A (en) 2020-12-18
WO2020061962A1 (en) 2020-04-02

Similar Documents

Publication Publication Date Title
CN113115387B (en) Method for switching reporting, terminal equipment and network equipment
WO2020155172A1 (en) Service processing method and apparatus, chip, and computer program
US11736994B2 (en) Network device handover method and terminal device
US11611925B2 (en) Switching processing method, terminal device and network device
TW202025842A (en) Handover timing method, terminal device and network device
WO2020248283A1 (en) Wireless communication method and apparatus, and terminal device
US20220061075A1 (en) Information transmission method and apparatus, and network device
WO2020042039A1 (en) Communication method and device
JP7301961B2 (en) Parameter setting method, terminal device and storage medium
JP7431219B2 (en) Data transmission method, terminal device and network device
AU2018442733B2 (en) Timer-based processing method, terminal device and network device
WO2020191556A1 (en) Handover processing method, terminal device and network device
WO2022126412A1 (en) Configuration reset method and apparatus, and terminal device
WO2020223898A1 (en) Information transmission method and apparatus, and network device
WO2020056562A1 (en) Connection releasing method, and devices and storage medium