Service migration method and device

By establishing a second link and adjusting the first link status when the trigger condition is met, the terminal device realizes handover transmission of vehicle service between multiple links, solving the problem of limited coverage and poor continuity of vehicle service, and improving transmission quality and continuity.

CN120264500APending Publication Date: 2025-07-04HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410018555.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-01-02
Publication Date
2025-07-04

AI Technical Summary

Technical Problem

Currently, the data transmission link of the vehicle service is single, resulting in limited coverage. The service is interrupted when the vehicle leaves the PC5 link coverage area, and the continuity is poor.

Method used

When the trigger condition is met, the terminal device establishes a second link and adjusts the first link state to an inactive or idle state to realize the handover transmission of vehicle-connected services between the first link and the second link to ensure service continuity.

Benefits of technology

By switching to transmit vehicle service between the first link and the second link, the problem of inability to guarantee continuity caused by transmission of vehicle service on a single link is solved, and the transmission quality and continuity of vehicle service is improved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120264500A_ABST
    Figure CN120264500A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a service migration method and device, relates to the technical field of communication, and can guarantee the service continuity of vehicle networking services. The method comprises the following steps: transmitting data of a vehicle networking service based on a first link; wherein the first link is a link between the first terminal device and the first network device; under the condition that the first switching condition is met, triggering to establish a second link and transmit data of the vehicle connection service on the second link, and triggering to adjust the radio resource control state of the first link to a first state; wherein the second link is a link between the first terminal device and the second terminal device, and the first state is a link state without service transmission. The embodiment of the invention is applied to a service transmission process.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of communication technologies, and in particular, to a service migration method and apparatus. Background Art

[0002] Currently, the data transmission link of vehicle-to-everything (V2X) services is single, mainly based on the short-range communication (PC)5 link between terminal devices or between a terminal device and a roadside unit (RSU). However, the current limited deployment area of RSU results in limited coverage of V2X data services. When a terminal device transmits V2X services based on the PC5 link, if it leaves the coverage area of the PC5 link, the V2X services will be interrupted, resulting in poor continuity of V2X services. Summary of the Invention

[0003] The service migration method and apparatus provided by the embodiments of the present application can ensure the service continuity of V2X services.

[0004] To achieve the above object, the present application provides the following technical solutions:

[0005] In a first aspect, a service migration method is provided. This method can be executed by a first terminal device, or by components of the first terminal device, such as a processor, a chip, or a chip system of the first terminal device, or can also be implemented by a logic module or software that can implement all or part of the first terminal device. Hereinafter, an example in which this method is executed by the first terminal device will be used for description. The service migration method includes: transmitting data of V2X services based on a first link; where the first link is a link between the first terminal device and a first network device; when a first handover condition is met, triggering the establishment of a second link and transmitting data of V2X services on the second link, and triggering the adjustment of the radio resource control state of the first link to a first state; where the second link is a link between the first terminal device and a second terminal device, and the first state is a link state without service transmission.

[0006] In the embodiments of the present application, the first terminal device can transmit data of V2X services on the first link between the first terminal device and the first network device, and when a triggering condition is met, trigger the establishment of a second link between the first terminal device and the second terminal device, and migrate the first link from the connected state to the inactive state or the idle state. In this way, the first terminal device in the present application can transmit V2X services on the first link and switch to transmit V2X services between the first link and the second link, solving the problem that the continuity of V2X services cannot be guaranteed due to the current V2X services being transmitted only on a single link.

[0007] Combined with the above first aspect, in a possible implementation, triggering the adjustment of the radio resource control state of the first link to the first state includes: after establishing the second link and transmitting data of the vehicle connection service on the second link, adjusting the radio resource control state of the first link to the first state.

[0008] Based on this, the terminal device can adjust the state of the first link after the vehicle connection service completes the migration between the first link and the second link, ensuring the continuity of the vehicle connection service.

[0009] Combined with the above first aspect, in a possible implementation, the first handover condition includes at least one of the following: detecting a synchronization signal on the second link; detecting a synchronization signal on the second link and there is data of the vehicle connection service; receiving sidelink control information SCI from the second terminal device; receiving downlink control information DCI from the first network device; the downlink control information contains an indication for the first terminal device to perform uplink discontinuous transmission; or, detecting that the number of radio link failure RLF times is greater than a preset number.

[0010] Based on this, the terminal device can switch the vehicle connection service from the first link to the second link when the transmission quality of the first link does not meet the requirements or when detecting the second link, improving the transmission quality of the vehicle connection service.

[0011] Combined with the above first aspect, in a possible implementation, the method further includes: when detecting a synchronization signal on the second link and there is no data of the vehicle connection service, adjusting the interface working mode of the second link to the low power consumption mode.

[0012] Based on this, when the terminal device detects a synchronization signal on the second link and there is no data of the vehicle connection service, the purpose of reducing the power consumption of the terminal device is achieved by adjusting the interface working mode of the second link to the low power consumption mode.

[0013] Combined with the above first aspect, in a possible implementation, the first state is the inactive state or the idle state.

[0014] Based on this, the terminal device can adjust the state of the first link to the inactive state or the idle state after switching the vehicle connection service of the first link to the second link.

[0015] Combined with the above first aspect, in a possible implementation, when the first state is the inactive state, the method further includes: when the duration of the radio resource control state of the first link being in the inactive state exceeds the first duration, triggering the adjustment of the radio resource control state of the first link to the idle state.

[0016] Based on this, after the terminal device switches the vehicle connection service of the first link to the second link, it adjusts the state of the first link to the inactive state. When the terminal device needs to switch to a link (denoted as the first type of link) between the terminal device and the network device again within a short period of time to transmit the vehicle connection service, the terminal device has a high probability of switching to the first link. At this time, the terminal device can quickly complete the link reconstruction with the first network device based on the inactive state of the first link.

[0017] If the terminal device still does not need to switch back to the first type of link to transmit the vehicle connection service after exceeding the first duration, then when the terminal device switches back to the first type of link to transmit the vehicle connection service next time, there is a high probability that it will switch to the first type of link between the terminal device and other network devices. At this time, the terminal device does not need to retain the first link between the terminal device and the first network device, and adjusts the radio resource control state of the first link to the idle state to release the resources of the first link.

[0018] Combined with the above first aspect, in a possible implementation manner, after triggering the establishment of the second link, the method further includes: when the second switching condition is satisfied, triggering to adjust the radio resource control state of the first link to the second state, and transmitting the data of the vehicle connection service on the first link; the second state is the link state with service transmission.

[0019] After the terminal device switches the vehicle connection service of the first link to the second link, when it needs to switch back to the first type of link to transmit the vehicle connection service, if it still switches back to the first link, the terminal device can directly adjust the radio resource control state of the first link to the link state that can perform service transmission, and re-transmit the data of the vehicle connection service on the first link.

[0020] Combined with the above first aspect, in a possible implementation manner, after triggering the establishment of the second link, the method further includes: when the second switching condition is satisfied, triggering the establishment of the third link, and transmitting the data of the vehicle connection service on the third link; the third link is the link between the first terminal device and the first network device.

[0021] After the terminal device switches the vehicle connection service of the first link to the second link, when it needs to switch back to the first type of link to transmit the vehicle connection service, if it still switches back to the first type of link between the terminal device and the first network device but the terminal device has released the transmission resources of the first link, the terminal device can re-establish a new link with the first network device to transmit the data of the vehicle connection service.

[0022] Combined with the above first aspect, in a possible implementation manner, after triggering the establishment of the second link, the method further includes: when the second switching condition is satisfied, triggering the establishment of the fourth link, and transmitting the data of the vehicle connection service on the fourth link; the fourth link is the link between the first terminal device and the second network device.

[0023] After the terminal device switches the vehicle connection service of the first link to the second link, when it is necessary to switch back to the first type of link to transmit the vehicle connection service, if it is necessary to switch to the first type of link between the terminal device and the second network device, the terminal device can establish a new fourth link with the second network device to transmit the data of the vehicle connection service.

[0024] Combined with the above first aspect, in a possible implementation manner, the second switching condition includes at least one of the following: the channel busy ratio and channel occupancy rate of the second link do not meet the preset constraint conditions; the network parameters of the second link do not meet the transmission requirements of the vehicle connection service; the network parameters include one or more of the following: channel state parameters, or link performance parameters; the measured signal strength of the second link is less than the measured signal strength of the first link; the measured signal strength of the second link is less than the first preset threshold.

[0025] Based on this, when the transmission quality of the second link does not meet the requirements, the terminal device can switch the vehicle connection service from the second link to the first type of link to improve the transmission quality of the vehicle connection service.

[0026] In a second aspect, a service migration method is provided. This method can be executed by the first terminal device, or by components of the first terminal device, such as the processor, chip, or chip system of the first terminal device, etc., and can also be implemented by a logic module or software that can implement all or part of the first terminal device. The following takes the example that this method is executed by the first terminal device for illustration. The service migration method includes: transmitting the data of the vehicle connection service based on the fifth link; wherein, the fifth link is the link between the first terminal device and the third terminal device; when the third switching condition is met, trigger the establishment of the first link and transmit the data of the vehicle connection service on the first link; the first link is the link between the first terminal device and the first network device.

[0027] In the embodiment of the present application, when the first terminal device transmits the data of the vehicle connection service on the fifth link between the first terminal device and the third terminal device, if it detects that the trigger condition is met, it establishes the first link between the first terminal device and the first network device and transmits the data of the vehicle connection service on the first link; this solves the problem that the service continuity cannot be guaranteed due to the failure of the fifth link.

[0028] Combined with the above second aspect, in a possible implementation manner, the third switching condition includes at least one of the following: the channel busy ratio and channel occupancy rate of the fifth link do not meet the preset constraint conditions; the network parameters of the fifth link do not meet the transmission requirements of the vehicle connection service; the network parameters include one or more of the following: channel state parameters, or link performance parameters; the measured signal strength of the fifth link is less than the measured signal strength of the first link; the measured signal strength of the fifth link is less than the second preset threshold.

[0029] Combined with the second aspect above, in a possible implementation, the method further includes: when the first handover condition is met, triggering the establishment of a second link and transmitting vehicle connection service data on the second link, and triggering the adjustment of the radio resource control state of the first link to a first state; wherein, the second link is the link between the first terminal device and the second terminal device, and the first state is a link state without service transmission.

[0030] Combined with the second aspect above, in a possible implementation, triggering the adjustment of the radio resource control state of the first link to a first state includes: after establishing the second link and transmitting vehicle connection service data on the second link, adjusting the radio resource control state of the first link to the first state.

[0031] Combined with the second aspect above, in a possible implementation, the first handover condition includes at least one of the following: detecting a synchronization signal on the second link; detecting a synchronization signal on the second link and there is vehicle connection service data; receiving sidelink control information SCI from the second terminal device; receiving downlink control information DCI from the first network device; the downlink control information is the downlink control information generated by the first network device after detecting the uplink discontinuous transmission of the first terminal device; or, the number of radio link failures RLF of the first link is greater than a preset number.

[0032] Combined with the second aspect above, in a possible implementation, the method further includes: when detecting a synchronization signal on the second link and there is no vehicle connection service data, adjusting the interface working mode of the second link to a low power consumption mode.

[0033] Combined with the second aspect above, in a possible implementation, the first state is an inactive state or an idle state.

[0034] Combined with the second aspect above, in a possible implementation, when the first state is an inactive state, the method further includes: when the duration of the radio resource control state of the first link in the inactive state exceeds a first duration, triggering the adjustment of the radio resource control state of the first link to an idle state.

[0035] Combined with the second aspect above, in a possible implementation, after triggering the establishment of the second link, the method further includes: when the second handover condition is met, triggering the adjustment of the radio resource control state of the first link to a second state and transmitting vehicle connection service data on the first link; the second state is a link state with service transmission.

[0036] Combined with the second aspect above, in a possible implementation, after triggering the establishment of the second link, the method further includes: when the second handover condition is met, triggering the establishment of a third link and transmitting vehicle connection service data on the third link; the third link is a link between the first terminal device and the first network device.

[0037] Combined with the second aspect above, in a possible implementation, after triggering the establishment of the second link, the method further includes: when the second handover condition is met, triggering the establishment of a fourth link and transmitting vehicle connection service data on the fourth link; the fourth link is a link between the first terminal device and the second network device.

[0038] Combined with the second aspect above, in a possible implementation, the second handover condition includes at least one of the following: the channel busy ratio and channel occupancy rate of the second link do not meet the preset constraints; the network parameters of the second link do not meet the transmission requirements of the vehicle connection service; the network parameters include one or more of the following: channel state parameters, or link performance parameters; the measured signal strength of the second link is less than the measured signal strength of the first link; the measured signal strength of the second link is less than the first preset threshold.

[0039] Among them, for the technical effects brought by the second aspect or any implementation manner in the second aspect, reference can be made to the technical effects brought by the corresponding implementation manner in the first aspect, which will not be elaborated here.

[0040] In a third aspect, a communication device is provided for implementing the above various methods. The communication device may be the terminal device in the first aspect above, or any implementation manner in the first aspect, or a device including the above terminal device, or a device included in the above terminal device, such as a chip. Or, the communication device may be the terminal device in the second aspect above, or any implementation manner in the second aspect, or a device including the above terminal device, or a device included in the above terminal device, such as a chip. The communication device includes modules, units, or means corresponding to implementing the above methods, and the modules, units, or means may be implemented by hardware, software, or by hardware executing corresponding software. The hardware or software includes one or more modules or units corresponding to the above functions.

[0041] In some possible designs, the communication device may include a processing module and a transceiver module. The transceiver module, which may also be referred to as a transceiver unit, is used to implement the sending and / or receiving functions in any of the above aspects and any possible implementation manners thereof. The transceiver module may be composed of a transceiver circuit, a transceiver, a transceiver, or a communication interface. The processing module may be used to implement the processing functions in any of the above aspects and any possible implementation manners thereof.

[0042] In some possible designs, the transceiver module includes a transmitting module and a receiving module, which are respectively used to implement the transmitting and receiving functions in any of the above aspects and any possible implementation manners thereof.

[0043] In a fourth aspect, a communication device is provided, including: at least one processor; the processor is used to execute computer programs or instructions stored in a memory, so that the communication device executes the method in any of the above aspects. The memory may be coupled to the processor, or may be independent of the processor. The communication device may be the terminal device in the first aspect above, or any implementation manner in the first aspect, or a device including the above terminal device, or a device included in the above terminal device, such as a chip. Or, the communication device may be the terminal device in the second aspect above, or any implementation manner in the second aspect, or a device including the above terminal device, or a device included in the above terminal device, such as a chip. In some possible designs, the communication device includes a memory, which is used to store necessary program instructions and data.

[0044] In a possible implementation manner, the processor includes a logic circuit and an input interface and / or an output interface. Among them, the output interface is used to perform the transmitting action in the corresponding method, and the input interface is used to perform the receiving action in the corresponding method.

[0045] In a possible implementation manner, the communication device further includes a communication interface and a communication bus, and the processor, the memory and the communication interface are connected through the communication bus. The communication interface is used to perform the transceiver action in the corresponding method. The communication interface may also be referred to as a transceiver. Optionally, the communication interface includes a transmitter and a receiver. In this case, the transmitter is used to perform the transmitting action in the corresponding method, and the receiver is used to perform the receiving action in the corresponding method.

[0046] In some possible designs, when the communication device is a chip system, it may be composed of chips, or may include chips and other discrete devices.

[0047] It can be understood that when the communication device provided in any of the third aspect to the fourth aspect is a chip, the above-mentioned transmitting action / function can be understood as output, and the above-mentioned receiving action / function can be understood as input.

[0048] In a fifth aspect, a computer-readable storage medium is provided, in which computer programs or instructions are stored. When it runs on a communication device, the communication device can execute the method in any of the above aspects or any of its implementation manners.

[0049] In a sixth aspect, a computer program product including instructions is provided. When it runs on a communication device, the communication device can execute the method in any of the above aspects or any of its implementation manners.

[0050] In a seventh aspect, a communication system is provided, which includes the terminal device in the first aspect above, or any implementation manner in the first aspect. Alternatively, the communication system includes the terminal device in the second aspect above, or any implementation manner in the second aspect.

[0051] For the technical effects brought by any implementation manner among the third aspect to the seventh aspect, reference may be made to the technical effects brought by the corresponding implementation manner of the first aspect, which will not be elaborated here.

[0052] It should be noted that, on the premise that the solutions are not contradictory, various possible implementation manners of any one of the above aspects can be combined. BRIEF DESCRIPTION OF THE DRAWINGS

[0053] Figure 1 It is a schematic diagram of the architecture of a C-V2X communication system provided by this application;

[0054] Figure 2 It is a schematic diagram of communication between devices in a C-V2X communication system provided by this application;

[0055] Figure 3 It is a schematic diagram of a vehicle communicating through an RSU provided by this application;

[0056] Figure 4 It is a schematic diagram of the architecture of a communication system provided by this application;

[0057] Figure 5 It is a schematic diagram of the composition of a communication device provided by this application;

[0058] Figure 6 It is a schematic diagram of the process of a service migration method provided by this application;

[0059] Figure 7 It is a schematic diagram of a scenario where a vehicle is in a scenario covered by a network device and an RSU provided by this application;

[0060] Figure 8 It is a schematic diagram of a scenario where a vehicle is in a scenario covered by a network device and an RSU provided by this application;

[0061] Figure 9 It is a schematic diagram of the process of a service migration method provided by this application;

[0062] Figure 10 It is a schematic diagram of the structure of a communication device provided by this application;

[0063] Figure 11 It is a schematic diagram of the hardware structure of a communication device provided by this application. Detailed implementation manners

[0064] To facilitate the understanding of the technical solutions provided by the embodiments of the present application, a brief introduction to the related technologies of the present application is first given. The brief introduction is as follows:

[0065] 1. Cellular Vehicle-to-Everything (C-V2X)

[0066] In the C-V2X scenario, vehicles can communicate through a cellular network to achieve low latency and high reliability of vehicle transmission. As Figure 1 shown, it is a schematic diagram of the current application scenario of C-V2X. As Figure 1 shown, C-V2X includes: vehicle-to-vehicle communication (V2V), vehicle-to-pedestrian communication (V2P), vehicle-to-infrastructure communication (V2I), and vehicle-to-network communication (V2N).

[0067] As Figure 2 shown, in the C-V2X system architecture, vehicles communicate with each other through the PC5 link of V2V; vehicles communicate with the RSU through the PC5 link of V2I; vehicles can also implement V2N communication with network devices through the cellular network. As Figure 3 shown, it is a scenario where a vehicle communicates through an RSU.

[0068] 2. Radio Resource Control (RRC) states

[0069] In the new radio (NR) of the 5th generation mobile communication technology (5G), the RRC states include: idle state (IDLE), inactive state (INACTIVE), and connected state (CONNECTED, or active state ACTIVE).

[0070] The terminal device can switch between the three states. For example, when the terminal device is powered on or first accesses the network, it will switch from the idle state to the connected state through processes such as initial access and RRC connection establishment. When the terminal device does not need to perform service transmission, it can switch from the connected state to the idle state or the inactive state, and when it needs to perform service transmission again, it will switch from the idle state or the inactive state to the connected state.

[0071] When the terminal device switches from the connected state to the inactive state, the terminal device retains the context with the core network device. When the terminal device needs to transmit data, the terminal device only needs to carry the unique identifier assigned by the core network for the terminal device during the restoration process of the connected state to request the restoration of the connected state, and then it can switch from the inactive state to the connected state. After switching to the connected state, the terminal device and the network device can normally transmit service data.

[0072] When the terminal device switches from the connected state to the idle state, the terminal device releases the RRC transmission resources. When the terminal device switches back from the idle state to the connected state, it needs to re-perform the initial access and RRC connection establishment process.

[0073] The above gives a brief introduction to the related technologies of this application.

[0074] Currently, the data transmission link of the vehicle connection service is single, mainly based on the short-range communication (PC) 5 link between the terminal device and the terminal device, or between the terminal device and the roadside unit (RSU). However, the current limited deployment area of the RSU results in limited coverage of the vehicle connection data service. When the terminal device transmits the vehicle connection service based on the PC5 link, if it leaves the coverage area of the PC5 link, the vehicle connection service will be interrupted, resulting in poor continuity of the vehicle connection service.

[0075] To solve the above technical problems, the embodiment of this application provides a service migration method. The terminal device can transmit the data of the vehicle connection service on the first link between the first terminal device and the first network device, and trigger the establishment of the second link between the first terminal device and the second terminal device when the trigger condition is met, and migrate the first link from the connected state to the inactive state or the idle state. In this way, the terminal device in this application can transmit the vehicle connection service on the first link and switch to transmit the vehicle connection service between the first link and the second link, solving the problem that the continuity of the current vehicle connection service cannot be guaranteed due to transmission on a single link.

[0076] The following will give a specific elaboration of the solution provided by the embodiment of this application. Among them, before introducing the embodiment of this application, the following points are explained first.

[0077] In the description of this application, unless otherwise specified, " / " means that the objects associated before and after are an "or" relationship. For example, A / B can represent A or B; the "and / or" in this application is only a description of the association relationship of the associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. Among them, A and B can be singular or plural.

[0078] In the description of the present application, unless otherwise specified, "a plurality of" means two or more than two. "At least one of the following" or similar expressions refer to any combination of these items, including any combination of single item or plural items. For example, at least one of a, b, and / or c can represent: a, b, c, a - b, a - c, b - c, or a - b - c, where a, b, and c can be single or plural.

[0079] In addition, for the convenience of clearly describing the technical solutions of the embodiments of the present application, in the embodiments of the present application, terms such as "first" and "second" are used to distinguish identical or similar items with basically the same functions and roles. Those skilled in the art can understand that terms such as "first" and "second" do not limit the quantity and execution order, and "first", "second", etc. do not necessarily mean different.

[0080] In the embodiments of the present application, words such as "exemplary" or "for example" are used to represent examples, illustrations, or explanations. Any embodiment or design solution described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or having more advantages than other embodiments or design solutions. Rather, the use of words such as "exemplary" or "for example" is intended to present relevant concepts in a specific manner for easy understanding.

[0081] It can be understood that the "embodiments" mentioned throughout the specification mean that specific features, structures, or characteristics related to the embodiments are included in at least one embodiment of the present application. Therefore, the various embodiments throughout the specification do not necessarily refer to the same embodiment. In addition, these specific features, structures, or characteristics can be combined in one or more embodiments in any suitable manner. It can be understood that in the various embodiments of the present application, the magnitude of the sequence number of each process does not mean the order of execution, and the execution order of each process should be determined by its function and internal logic, and should not constitute any limitation to the implementation process of the embodiments of the present application.

[0082] It can be understood that in the present application, "when..." and "if" both refer to corresponding processing under certain objective circumstances, not limited to time, and do not require a judgment action when implemented, nor does it mean there are other limitations.

[0083] It can be understood that some optional features in the embodiments of the present application can, in some scenarios, be implemented independently without relying on other features, such as the current solution they are based on, to solve corresponding technical problems and achieve corresponding effects. In some scenarios, they can also be combined with other features according to requirements. Correspondingly, the devices given in the embodiments of the present application can also implement these features or functions accordingly, which will not be elaborated here.

[0084] In this application, unless otherwise specified, the same or similar parts between various embodiments can be referred to each other. In each embodiment of this application, as well as in each implementation manner / implementation method / realization method in each embodiment, if there is no special specification and logical conflict, the terms and / or descriptions between different embodiments, as well as between each implementation manner / implementation method / realization method in each embodiment, are consistent and can be cited mutually. The technical features in different embodiments, as well as in each implementation manner / implementation method / realization method in each embodiment, can be combined to form new embodiments, implementation manners, implementation methods, or realization methods according to their inherent logical relationships. The implementation manners of this application described below do not limit the protection scope of this application.

[0085] The technical solutions provided by the embodiments of this application can be used in various communication systems. The communication system can be a 3rd generation partnership project (3GPP) communication system. For example, a 4th generation (4G) long term evolution (LTE) system, a 5G NR system, a 6th generation (6G) communication system, a vehicle to everything (V2X) system, a system with a hybrid network of LTE and NR, or a device-to-device (D2D) system, a machine-to-machine (M2M) communication system, the Internet of things (IoT), and other next-generation communication systems, etc. Alternatively, the communication system can also be a non-3GPP communication system, and the embodiments of this application do not limit this.

[0086] As Figure 4 shown, it is a schematic diagram of the architecture of a communication system provided by an embodiment of this application. The communication system includes: a first terminal device 401, a second terminal device 402, and a network device 403. It should be understood that Figure 4 the numbers of the first terminal device 401, the second terminal device 402, and the network device 403 in

[0087] Among them, the first terminal device 401 is a terminal device that needs to transmit vehicle connection services. The first terminal device 401 can transmit vehicle connection services through a network device 403 or a second terminal device 402, etc. The second terminal device 402 and the network device 403 are used to provide a link for the first terminal device 401 to transmit vehicle connection services. The link between the first terminal device 401 and the second terminal device 402 can also be understood as a PC5 link, and the link between the first terminal device 401 and the network device 403 can also be understood as a Uu link. For the specific implementation of this solution and related technical effects, reference can be made to the subsequent method embodiments, which will not be elaborated here.

[0088] The first terminal device 401 in this communication system can be an in-vehicle terminal device, and the second terminal device 402 can be a roadside unit or other terminal devices that provide vehicle connection services for the first terminal device. The network device 403 can be a network device in a cellular network or other types of networks. This application does not make any limitations in this regard.

[0089] Optionally, the terminal device involved in the present application (including the first terminal device, the second terminal device, or the third terminal device, etc.) may be a user equipment (UE), an access terminal, a terminal unit, a user station, a terminal station, a mobile station, a mobile unit, a remote station, a remote terminal, a user terminal, a terminal equipment (TE), a mobile device, a wireless communication device, a terminal agent, a tablet computer (pad), a handheld device with wireless communication function, a computing device or other processing devices connected to a wireless modem, a vehicle-mounted device, a vehicle-mounted transceiver unit, a wearable device, or a terminal device. The access terminal may be a cellular phone, a cordless phone, a session initiation protocol (SIP) phone, a wireless local loop (WLL) station, a personal digital assistant (PDA), a handheld device with wireless communication function, a computing device or other processing devices connected to a wireless modem, a vehicle-mounted device, a drone, a robot, a smart point of sale (POS) machine, a customer-premises equipment (CPE), or a wearable device, a virtual reality (VR) terminal device, an augmented reality (AR) terminal device, a wireless terminal in industrial control, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, etc. Alternatively, the terminal device may be a terminal with communication function in the internet of things (IoT), such as a terminal in V2X (such as a vehicle-to-everything device), a terminal in device-to-device (D2D) communication, or a terminal in machine-to-machine (M2M) communication, etc. The terminal device may be mobile or fixed.

[0090] Embodiments of this application do not limit the form of the terminal device. The device for implementing the functions of the terminal device can be the terminal device; or it can be a device capable of supporting the terminal device to implement such functions, such as a chip system. This device can be installed in the terminal device or used in combination with the terminal device. In the embodiments of this application, the chip system can be composed of chips, or can include chips and other discrete devices.

[0091] Optionally, the network device involved in this application can be a device for communicating with the terminal device. For example, it can include an evolved NodeB (NodeB or eNB or e-NodeB, evolutional Node B) in an LTE system or an enhanced LTE (LTE-advanced, LTE-A) system, such as a traditional macro eNB and a micro eNB in a heterogeneous network scenario. Or, it can include a next generation node B (gNB) in an NR system. Or, it can include a transmission reception point (TRP), a home base station (for example, home evolved NodeB, or home Node B, HNB), a base band unit (BBU), a BBU pool, or a wireless fidelity (WiFi) access point (AP), etc. Or, it can include a base station in a non-terrestrial network (NTN), that is, it can be deployed on a flying platform or a satellite. In the NTN, the network device can act as a layer 1 (L1) relay, or can act as a base station, or can act as an integrated access and backhual (IAB) node. Or, the network device can be a device that implements the base station function in the IoT, such as a device that implements the base station function in drone communication, V2X, D2D, or machine to machine (M2M).

[0092] In some possible scenarios, the network device can also be a module or unit capable of implementing some functions of the base station. For example, the network device can be a central unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU), etc. The CU and DU can be set separately, or can also be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio device or a radio unit, such as included in a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH).

[0093] In different systems, the CU (or CU-CP and CU-UP), DU, or RU may also have different names, but those skilled in the art can understand their meanings. For example, the network device can be a network device or a module of a network device in an open radio access network (ORAN) system. In the ORAN system, the CU can also be called an open (O)-CU, the DU can also be called an O-DU, the CU-CP can also be called an O-CU-CP, the CU-UP can also be called an O-CU-UP, and the RU can also be called an O-RU. Any one of the CU (or CU-CP, CU-UP), DU, and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.

[0094] Optionally, the base station in the embodiments of this application can include various forms of base stations, such as: macro base stations, micro base stations (also called small stations), relay stations, access points, home base stations, TRPs, transmitting points (TPs), mobile switching centers, etc. The embodiments of this application do not make specific limitations in this regard.

[0095] In the embodiments of this application, the form of the network device is not limited. The device for implementing the functions of the network device can be the network device; it can also be a device capable of supporting the network device to implement such functions, such as a chip system. This device can be installed in the network device or used in combination with the network device.

[0096] In one possible implementation, the network device and the terminal device in the embodiments of this application can also be called communication devices, which can be a general device or a dedicated device. The embodiments of this application do not make specific limitations in this regard.

[0097] In a possible implementation, the relevant functions of the terminal device or network device in the embodiments of the present application may be implemented by one device, may be jointly implemented by multiple devices, or may be implemented by one or more functional modules within one device. The embodiments of the present application do not make specific limitations thereto. It can be understood that the above functions may be network elements in a hardware device, may also be software functions running on dedicated hardware, or may be a combination of hardware and software, or may be virtualized functions instantiated on a platform (such as a cloud platform).

[0098] When specifically implemented, Figure 4 both the network device and the terminal device shown may adopt Figure 5 the composition structure shown, or include Figure 5 the components shown. Figure 5 FIG. 500 is a schematic diagram of the composition of a communication device 500 provided in an embodiment of the present application. The communication device 500 includes a processor 501, a communication interface 502, and a communication line 503.

[0099] Furthermore, the communication device 500 may further include a memory 504. Among them, the processor 501, the memory 504, and the communication interface 502 may be connected through the communication line 503.

[0100] Among them, the processor 501 is a central processing unit (CPU), a general-purpose processor, a network processor (NP), a digital signal processor (DSP), a microprocessor, a microcontroller, a programmable logic device (PLD), or any combination thereof. The processor 501 may also be other devices with processing functions, such as circuits, devices, or software modules, without limitation.

[0101] The communication interface 502 is used to communicate with other devices or other communication networks. The other communication network may be an Ethernet, a radio access network (RAN), a wireless local area network (WLAN), etc. The communication interface 502 may be a module, a circuit, a transceiver, or any device capable of implementing communication.

[0102] The communication line 503 is used to transmit information between the components included in the communication device 500.

[0103] The memory 504 is used to store instructions. Among them, the instructions may be computer programs.

[0104] Among them, the memory 504 may be a read-only memory (ROM) or other types of static storage devices that can store static information and / or instructions, or may be a random access memory (RAM) or other types of dynamic storage devices that can store information and / or instructions. It may also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or other magnetic storage devices, without limitation.

[0105] It should be noted that the memory 504 may exist independently of the processor 501 or may be integrated with the processor 501. The memory 504 can be used to store instructions, program codes, or some data, etc. The memory 504 may be located inside the communication device 500 or outside the communication device 500, without limitation. The processor 501 is used to execute the instructions stored in the memory 504 to implement the service migration method provided in the following embodiments of this application.

[0106] In one example, the processor 501 may include one or more CPUs, such as Figure 5 CPU0 and CPU1 in

[0107] As an alternative implementation, the communication device 500 includes multiple processors. For example, in addition to Figure 5 the processor 501 in

[0108] As an alternative implementation, the communication device 500 further includes an output device 505 and an input device 506. Exemplarily, the input device 506 is a device such as a keyboard, a mouse, a microphone, or a joystick, and the output device 505 is a device such as a display screen or a speaker.

[0109] It should be noted that the communication device 500 may be a desktop computer, a portable computer, a network server, a mobile phone, a tablet computer, a wireless terminal, an embedded device, a chip system, or a device with a Figure 5 similar structure in Figure 5 In addition, the shown component structure in Figure 5 does not constitute a limitation on the communication device. Except for Figure 5 the components shown, the communication device may include more or fewer components than shown, or combine certain components, or have different component arrangements.

[0110] In the embodiments of the present application, the chip system may be composed of chips, or may include chips and other discrete devices.

[0111] In addition, actions, terms, etc. involved between the embodiments of the present application can be referred to each other without limitation. The message names or parameter names in the messages exchanged between devices in the embodiments of the present application are only examples, and other names can also be used in specific implementations without limitation.

[0112] The following Figures 1 to 5 is used to describe the service migration method provided by the embodiments of the present application.

[0113] It should be noted that in the following embodiments of the present application, the message names between each network element, the names of each parameter, or the names of each piece of information, etc. are only examples, and in other embodiments, they can also be other names. The service migration method provided by the present application does not make specific limitations on this.

[0114] It can be understood that in the embodiments of the present application, each network element may execute some or all of the steps in the embodiments of the present application. These steps or operations are only examples, and the embodiments of the present application may also execute other operations or various deformations of the operations. In addition, each step may be executed in a different order presented in the embodiments of the present application, and it is possible not to execute all the operations in the embodiments of the present application.

[0115] Figure 6 is a schematic flowchart of a service migration method provided by an embodiment of the present application. In the embodiments of the present application, if the first terminal device is currently transmitting a vehicle connection service on the link between the first terminal device and the network device, the service migration method provided by the embodiments of the present application can implement migrating the vehicle connection service transmitted on the link between the first terminal device and the network device to the link between the first terminal device and the second terminal device. Hereinafter, in combination with the above migration process, the functions and actions performed by each device in the communication system provided by the embodiments of the present application are introduced, as Figure 6 shown, the service migration method includes the following steps:

[0116] S601. The first terminal device transmits data of the vehicle connection service based on the first link.

[0117] Among them, the first link is the link between the first terminal device and the first network device. Optionally, the first link is the Uu link between the first terminal device and the first network device.

[0118] In a possible implementation, after the first terminal device enters the coverage area of the first network device, a first link is established between the first terminal device and the first network device, and data of vehicle-to-everything (V2X) services is transmitted through the first link. The method for the first terminal device to establish the first link with the first network device can refer to the prior art, and this application will not elaborate on it.

[0119] It should be noted that when the first terminal device transmits data of V2X services based on the first link, the radio resource control state of the first link is the second state.

[0120] Optionally, the second state is the connected state; that is to say, when the first terminal device transmits data of V2X services based on the first link, the radio resource control state of the first link is the connected state.

[0121] As an example, the first link between the first terminal device and the first network device can be a link dedicated to transmitting V2X services, or a link that multiplexes the transmission of non-V2X services (such as enhanced mobile broadband (eMBB) services) between the first terminal device and the first network device. This application does not limit this.

[0122] In the service migration method provided by this application, the first terminal device can transmit data of V2X services through the Uu link between the first terminal device and the first network device, avoiding problems such as limited V2X service coverage scenarios caused by the small coverage area of roadside units (RSUs), the terminal device leaving the RSU coverage area, or the V2X service interruption caused by conditions such as the PC5 link quality not being sufficient to guarantee the delay reliability requirements of V2X services.

[0123] S602. When the first switching condition is met, the first terminal device triggers the establishment of a second link and transmits data of V2X services on the second link, and triggers the adjustment of the radio resource control state of the first link to the first state.

[0124] Among them, the second link is the link between the first terminal device and the second terminal device, and the first state is the link state without service transmission.

[0125] Optionally, the second link is the PC5 link between the first terminal device and the second terminal device. The first state is the inactive state or the idle state.

[0126] In other words, in the embodiment of the present application, the first terminal device transmits data of vehicle-related services on the Uu link between the first terminal device and the first network device. When it is detected that the first handover condition is met, the first terminal device establishes a PC5 link with the second terminal device and transmits data of vehicle-related services on the PC5 link. Moreover, the first terminal device adjusts the RRC state of the Uu link between the first terminal device and the first network device to the inactive state or the idle state.

[0127] Optionally, after the first terminal device establishes the second link and transmits data of the vehicle-related services on the second link, it adjusts the radio resource control state of the first link to the first state. Based on this, the first terminal device can adjust the state of the first link to the first state after determining that all the vehicle-related services transmitted on the first link have been migrated to the second link, avoiding the interruption of vehicle-related services caused by the state of the first link being adjusted to the first state before the vehicle-related services transmitted on the first link are completely migrated.

[0128] In a specific implementation manner, when the first terminal device meets the first handover condition, it reports the current event to the access server (AS) (such as detecting a sidelink synchronization signal, receiving sidelink control information, receiving downlink control information (DCI) including information for indicating the occurrence of uplink discontinuous transmission, detecting that the number of radio link failures (RLF) is greater than a preset number, etc.). The access server indicates to the application layer of the first terminal device that the PC5 interface is available based on the reported event. The first terminal device triggers the establishment of a PC5 link with the second terminal device based on the event indicated by the access server and migrates the vehicle-related services transmitted on the first link (Uu link) to the second link (PC5 link) through the application layer. In addition, the first terminal device interacts with the first network device to adjust the radio resource control state of the first link to the first state. For example, the Uu link is adjusted from the connected state (RRC-connected) to the inactive state (RRC-inactive) or the idle state (RRC-idle). The connected state described in the embodiment of the present application can also be understood as the RRC connected state, the RRC active state, or the RRC-active state, or RRC-connected. The inactive state described in the embodiment of the present application can also be understood as the RRC inactive state, or the RRC-inactive state. The idle state described in the embodiment of the present application can also be understood as the RRC idle state, or the RRC-idle state. The present application does not limit this.

[0129] It should be noted that in the embodiments of the present application, for the specific implementation manners of the process of the first terminal device establishing a Uu link, the process of establishing a PC5 link, the process of performing service migration, and the process of adjusting the state of the Uu link, reference may be made to the prior art, and the present application does not make any limitations thereto.

[0130] In the embodiments of the present application, the first terminal device may transmit data of vehicle-to-everything (V2X) services on a first link between the first terminal device and the first network device, and trigger the establishment of a second link between the first terminal device and the second terminal device when a triggering condition is met, and migrate the first link from the connected state to the inactive state or the idle state. In this way, the first terminal device in the present application can transmit V2X services on the first link and switch to transmit V2X services between the first link and the second link, solving the problem that the continuity of V2X services cannot be guaranteed due to the fact that current V2X services are only transmitted on a single link.

[0131] In a possible implementation manner, the first switching condition includes at least one of the following: Condition 1, detecting a synchronization signal on the second link; Condition 2, detecting a synchronization signal on the second link and there is data of V2X services; Condition 3, receiving sidelink control information (SCI) from the second terminal device; Condition 4, receiving downlink control information (DCI) from the first network device; the downlink control information includes information for indicating that the first terminal device has uplink discontinuous transmission; or, Condition 5, detecting that the number of radio link failures (RLFs) is greater than a preset number.

[0132] When the first terminal device detects that any one or more of the above Conditions 1 to 5 are met, it triggers the establishment of the second link and transmits data of V2X services on the second link, and triggers the radio resource control state of the first link to be adjusted to a first state.

[0133] Hereinafter, the above Conditions 1 to 5 will be described separately.

[0134] Condition 1, detecting a synchronization signal on the second link. As Figure 7As shown, the first terminal device is the in-vehicle terminal device of a vehicle. The vehicle is currently located at Location 1. The first network device covers Location 1, and the second terminal device does not cover Location 1. At this time, the first terminal device transmits data of vehicle-connected services on the Uu link between the first terminal device and the first network device. When the first terminal device transmits data of vehicle-connected services on the Uu link, it will synchronously perform a periodic sidelink (SL) service set identifier (SSID) synchronization search process. During this synchronization search process, the first terminal device will attempt to receive the SL synchronization signal block (SSB) on the physical sidelink broadcast channel (PSBCH). If the first terminal device receives the SL SSB, it means that the first terminal device has currently entered the coverage area of the PC5 link. For example, in combination with Figure 1 , the vehicle moves to Location 2. Both the first network device and the second terminal device cover Location 2. In Location 2, the first terminal device receives the SL SSB signal sent by the second terminal device. At this time, the first terminal device will initiate a request to establish a PC5 connection to the second terminal device corresponding to the PC5 link, in order to request to establish a PC5 link between the first terminal device and the second terminal device, and transmit service data through the PC5 link.

[0135] Condition 2: The synchronization signal on the second link is detected, and there is data of vehicle-connected services. Condition 2 is similar to Condition 1. The difference is that when the first terminal device receives the SL SSB signal, it will not immediately trigger the establishment of the PC5 link, but will judge whether it is necessary to transmit data of vehicle-connected services at present. If it is necessary to transmit data of vehicle-connected services, the first terminal device will initiate a request to establish a PC5 connection to the second terminal device. If it is not necessary to transmit data of vehicle-connected services, the first terminal device will not initiate a request to establish a PC5 connection to the second terminal device, and adjust the working mode of the PC5 interface of the first terminal device to the low-power mode.

[0136] Condition 3: The sidelink control information SCI from the second terminal device is received. After the first terminal device receives the SCI from the second terminal device, it means that the second terminal device can schedule corresponding sidelink resources for the link between the second terminal device and the first terminal device to transmit data of vehicle-connected services for the first terminal device. At this time, the first terminal device will initiate a request to establish a PC5 connection to the second terminal device, in order to request to establish a PC5 link between the first terminal device and the second terminal device, and transmit service data through the PC5 link.

[0137] Condition 4: Receive downlink control information from the first network device. When the first terminal device transmits vehicle-related service data on the Uu link between the first terminal device and the first network device, the first network device performs DTX detection on the Uu link. If it is detected that the first terminal device has an uplink DTX, it means that the transmission quality of the first terminal device on the Uu link between the first terminal device and the first network device is poor. At this time, it is necessary to migrate the vehicle-related service of the first terminal device to the PC5 link to ensure the transmission quality of the vehicle-related service. At this time, the first network device will send downlink control information to the first terminal device, and the downlink control information carries TRX status information, and the first terminal device is indicated to have an uplink DTX through the TRX status information. At this time, the first terminal device will send a request to establish a PC5 connection to the second terminal device to request to establish a PC5 link between the first terminal device and the second terminal device, and transmit service data through the PC5 link.

[0138] Condition 5: Detect that the number of radio link failure (RLF) times is greater than a preset number. The first terminal device or the first network device will detect the RLF of the Uu link between the first terminal device and the first network device, and count the detected RLF events (for example, set a NACK counter, and different types of vehicle services can set different counting thresholds). In the case where it is determined that the number of RLF events is greater than the preset threshold, the first terminal device will send a request to establish a PC5 connection to the second terminal device to request to establish a PC5 link between the first terminal device and the second terminal device, and transmit service data through the PC5 link. It should be noted that in the case where the first terminal device detects the RLF of the Uu link between the first terminal device and the first network device, the first terminal device can maintain the NACK counter by itself and determine whether to trigger the establishment of a PC5 link between the first terminal device and the second terminal device based on this technology. In the case where the first network device detects the RLF of the Uu link between the first terminal device and the first network device, the first network device maintains the NACK counter, and when the counter count reaches the preset threshold, it indicates this event to the first terminal device to trigger the establishment of a PC5 link between the first terminal device and the second terminal device. Among them, the RLF detected by the first network device can be the RLF reported by the first terminal device to the first network device, or the RLF self-maintained and detected by the first network device side. This application does not make any limitations on this.

[0139] In a possible implementation, when the first terminal device transmits vehicle-to-everything (V2X) service data based on the first link, the radio resource control state of the first link is in the connected state. After the first terminal device migrates the V2X service transmitted on the first link to the second link, if there is no service transmission on the first link, at this time, in order to reduce the transmission resources occupied by the first link, the first terminal device will adjust the state of the first link to the inactive state or the idle state to release all or part of the transmission resources of the first link.

[0140] In a specific implementation, when the first terminal device adjusts the state of the first link to the first state, it can adjust the state of the first link to the inactive state (denoted as case 1), or it can adjust the state of the first link to the idle state (denoted as case 2), or it can first adjust the state of the first link to the active state, and when the duration of the radio resource control state of the first link in the inactive state exceeds the first duration, trigger the adjustment of the radio resource control state of the first link to the idle state (denoted as case 3). The above cases 1 - 3 are described separately below.

[0141] Case 1: The first terminal device adjusts the state of the first link to the inactive state.

[0142] When the first terminal device adjusts the state of the first link to the inactive state, it can quickly switch the state of the first link to the connected state when the first terminal device needs to re-switch the V2X service back to the first type of link for transmission, and continue to transmit the V2X service data on the first link. Case 1 is applicable to the scenario where after the first terminal migrates the V2X service transmitted on the first link to the second link, it will re-switch back to the first type of link between the first network device and re-migrate the V2X service to the Uu link between the first network device in a short time. As an example, the first type of link in the embodiments of the present application is the Uu link.

[0143] Case 2: The first terminal device adjusts the state of the first link to the idle state.

[0144] When the first terminal device adjusts the state of the first link to the idle state, the first terminal device can completely release the transmission resources of the first link, thereby reducing the transmission resources occupied by the first link. Case 2 is applicable to the scenario where after the first terminal migrates the V2X service transmitted on the first link to the second link, when it switches back to the first type of link for V2X service again, it will switch to the first type of link between the second network device to transmit service data. At this time, the first terminal device needs to re-establish the Uu link with the second network device.

[0145] Case 3: The first terminal device adjusts the state of the first link to the inactive state, and when the duration of the radio resource control state of the first link in the inactive state exceeds a first duration, triggers an adjustment of the radio resource control state of the first link to the idle state.

[0146] Among them, the first duration can be determined based on the driving speed of the vehicle and the coverage of the first network device. In other words, the first duration is the expected duration for the vehicle not to drive out of the coverage of the first network device.

[0147] In Case 3, the first terminal device first adjusts the state of the first link to the inactive state and maintains it for a period of time. During this period, if the first terminal device needs to switch the vehicle connection service back to the first type of link, and if the current first terminal device has not yet left the coverage of the first network device, therefore, the first terminal device can quickly switch the state of the first link to the connected state and switch the vehicle connection service back to the first link to transmit the data of the vehicle connection service, improving the migration efficiency of the vehicle connection service.

[0148] If the duration of the state adjustment of the first link to the inactive state exceeds the first duration, at this time, there is a high probability that the first terminal has left the coverage of the first network device. At this time, the first terminal device adjusts the radio resource control state of the first link to the idle state to reduce the transmission resources occupied by the first link. After that, whether the first terminal device needs to switch back to the first type of link between the first terminal device and the first network device to transmit the vehicle connection service or switch to the first type of link between the first terminal device and the second network device to transmit the vehicle connection service, the first terminal device needs to re-initiate a link establishment request to trigger the establishment of a new link.

[0149] Combining the above Cases 1 to 3, it can be seen that after the first terminal device migrates the vehicle connection service from the first link to the second link, if the first terminal device leaves the coverage of the RSU as the vehicle moves, the first terminal device needs to switch the vehicle connection service back to the first type of link again and transmit the vehicle connection service based on the first type of link. At this time, based on different scenarios, the methods for the first terminal device to switch the vehicle connection service back to the first type of link are different. The following will be described separately.

[0150] Scenario 1: The first terminal device still establishes a Uu link with the first network device.

[0151] In Scenario 1, as Figure 7 shown, during the process of the vehicle moving from position 2 to position 3, the first terminal device leaves the coverage of the RSU and re-enters the coverage of the first network device. At this time, the first terminal device detects that the second handover condition is met, and the first terminal device determines that it is necessary to transmit the data of the vehicle connection service based on the Uu link between the first terminal device and the first network device.

[0152] In this case, based on the different states of the first link, the method for establishing a link between the first terminal device and the first network device is different. In other words, when the state of the first link is the non-active state, since the resources of the first link are not fully released, the first terminal device still retains the context of the first link, etc. The first terminal device can directly request to restore the state of the first link to the connected state and transmit vehicle connection service data on the first link. When the state of the first link is the idle state, since the transmission resources of the first link have been fully released, at this time, the first terminal device triggers the re-establishment of the third link with the first network device and transmits vehicle connection service data on the third link.

[0153] That is, in scenario 1.1, when the state of the first link is the non-active state, the first terminal device completes the re-migration of the vehicle connection service through the following S603.

[0154] S603: When the second handover condition is met, the first terminal device triggers the adjustment of the radio resource control state of the first link to the second state and transmits vehicle connection service data on the first link.

[0155] Wherein, the second state is the link state with service transmission. Optionally, the second state is the connected state.

[0156] In scenario 1.2, when the state of the first link is the idle state, the first terminal device completes the re-migration of the vehicle connection service through the following S604.

[0157] S604: When the second handover condition is met, the first terminal device triggers the establishment of the third link and transmits vehicle connection service data on the third link.

[0158] Wherein, the third link is the link between the first terminal device and the first network device.

[0159] Scenario 2: The first terminal device establishes a Uu link with the second network device.

[0160] In scenario 2, as Figure 8 shown, during the process of the vehicle moving from position 2 to position 4, the first terminal device leaves the coverage range of the RSU and the coverage range of the first network device and enters the coverage range of the second network device. At this time, the first terminal device detects that the second handover condition is met, and the first terminal device determines that it is necessary to transmit vehicle connection service data based on the Uu link between the first terminal device and the second network device. At this time, the first terminal device completes the re-migration of the vehicle connection service through the following S605.

[0161] S605: When the second handover condition is met, trigger the establishment of the fourth link and transmit vehicle connection service data on the fourth link.

[0162] Among them, the fourth link is the link between the first terminal device and the second network device.

[0163] That is to say, when the first terminal device detects that the second handover condition is met, it initiates the process of initial access and establishing an RRC connection to the second network device, triggers the establishment of the fourth link, and after the fourth link is established, transmits the data of the vehicle connection service on the fourth link.

[0164] In a possible implementation manner, the above-mentioned second handover condition includes at least one of the following: the channel busy ratio and channel occupancy rate of the second link do not meet the preset constraint conditions; the network parameters of the second link do not meet the transmission requirements of the vehicle connection service; the network parameters include one or more of the following: channel state parameters, or link performance parameters; the measured signal strength of the second link is less than the measured signal strength of the first link; the measured signal strength of the second link is less than the first preset threshold. The second handover condition will be described in detail below.

[0165] Condition 6: The channel busy ratio and channel occupancy rate of the second link do not meet the preset constraint conditions

[0166] In a possible implementation manner, the above-mentioned second handover condition includes at least one of the following: Condition 6: The channel busy ratio and channel occupancy rate of the second link do not meet the preset constraint conditions; Condition 7: The network parameters of the second link do not meet the transmission requirements of the vehicle connection service; the network parameters include one or more of the following: channel state parameters, or link performance parameters; Condition 8: The measured signal strength of the second link is less than the measured signal strength of the first link; Condition 9: The measured signal strength of the second link is less than the first preset threshold.

[0167] Hereinafter, Conditions 6 - 9 will be described in detail respectively.

[0168] Condition 6: The channel busy ratio and channel occupancy rate of the second link do not meet the preset constraint conditions. Among them, the channel busy ratio (CBR) is used to characterize the busyness of the channel within a preset time period. The CBR is determined according to the ratio of the number of sub-channels exceeding the received signal strength indication (RSSI) threshold in the sub-channels within [n - a, n - 1] measured by the terminal device to the total number of measured sub-channels. The channel occupancy rate (CR) is used to characterize the ratio of the number of sub-channels that have been transmitted within the time window [n - a, n - 1] and the number of sub-channels to be transmitted within the time window [n, n + b] to the total number of sub-channels within the CR time window. The CR time window includes the time window [n - a, n - 1] and the time window [n, n + b]. Optionally, the time window [n - a, n - 1] is used to characterize the time between the (n - a)-th time slot and the (n - 1)-th time slot, and the time window [n, n + b] is used to characterize the time between the n-th time slot and the (n + b)-th time slot.

[0169] Optionally, the above preset constraint conditions are as follows:

[0170]

[0171] Among them, CR(i) represents the CR of the PSSCH transmission with priority i within the time slot n - N, and N is the congestion control processing time; CR Limit (k) represents the CR constraint, which is pre-configured by the higher layer. The value of CR Limit (k) is related to the priority k and the CBR of the time slot n - N.

[0172] Condition 7: The network parameters of the second link do not meet the transmission requirements of the vehicle-to-everything (V2X) service. The network parameters include one or more of the following: channel state parameters, or link performance parameters. For example, currently the first terminal device needs to transmit a V2X service with a large bandwidth, but the bandwidth of the second link is less than the bandwidth required by the V2X service. Another example is that currently the first terminal device needs to transmit a V2X service with high reliability, but the reliability of the second link is less than the reliability required by the V2X service.

[0173] Condition 8: The measured signal strength of the second link is less than the measured signal strength of the first link. That is to say, currently the first terminal device can simultaneously detect the measured signals of the first link and the second link, but the measured signal strength of the second link is less than the measured signal strength of the first link. At this time, the first terminal device triggers a handover back to the first type of link to transmit V2X service data.

[0174] Condition 9: The measured signal strength of the second link is less than the first preset threshold. That is to say, when the current first terminal device detects that the measured signal strength of the second link is less than the first preset threshold, the first terminal device triggers a switch back to the first type of link to transmit vehicle-to-everything service data.

[0175] In a possible implementation, when the first terminal device detects both the PC5 link and the Uu link at the same time, the first terminal device can maintain the connections of both the PC5 link and the Uu link and select the link with better transmission quality to transmit vehicle-to-everything service data. For example, the first terminal device currently maintains the connections of both the PC5 link and the Uu link, and the current transmission quality of the Uu link is higher than that of the PC5 link. The transmission quality may refer to link delay, reliability, capacity, interference intensity, combined with RSRP intensity, etc., which are not specifically limited in the present invention. Then the first terminal device transmits vehicle-to-everything service data on the Uu link, and at the same time the first terminal device includes the connection of the PC5 link. In this way, when the first terminal device needs to migrate the vehicle-to-everything service on the Uu link to the PC5 link, it can be directly migrated, improving the efficiency of the first terminal device to migrate the vehicle-to-everything service. It should be noted that in this case, the first terminal device can adjust the working mode related to the PC5 link to the low-power mode to reduce the power consumption of the first terminal device.

[0176] Optionally, in the embodiments of the present application, the first terminal device is mainly taken as a vehicle-mounted terminal device and the second terminal device is taken as an RSU for illustration. In specific implementation, the first terminal device and the second terminal device can also be other types of terminal devices, which are not limited in the present application.

[0177] Figure 9 It is a schematic flow chart of a service migration method provided by an embodiment of the present application. In the embodiments of the present application, if the first terminal device currently transmits vehicle-to-everything service on the link between the first terminal device and the terminal device, the service migration method provided by the embodiments of the present application can realize migrating the vehicle-to-everything service transmitted on the link between the first terminal device and the second terminal device to the link between the first terminal device and the network device. Hereinafter, in combination with the above migration process, the functions and actions performed by each device in the communication system provided by the embodiments of the present application will be introduced, as Figure 9 shown, the service migration method includes the following steps:

[0178] S901. The first terminal device transmits vehicle-to-everything service data based on the fifth link.

[0179] Among them, the fifth link is the link between the first terminal device and the third terminal device. Optionally, the fifth link is the PC5 link between the first terminal device and the third terminal device.

[0180] In an embodiment of the present application, the third terminal device may also be a device that communicates with the first terminal device, such as an RSU, a roadside device, or a roadside unit. The present application does not limit this.

[0181] In a possible implementation, after the first terminal device enters the coverage area of the third terminal device, a fifth link is established between the first terminal device and the third terminal device, and data of vehicle-to-everything services is transmitted through the fifth link. The method for the first terminal device to establish the first link with the third terminal device may refer to the prior art, and the present application will not elaborate on this.

[0182] S902. When the third handover condition is met, the first terminal device triggers the establishment of the first link and transmits data of vehicle-to-everything services on the first link.

[0183] Among them, the first link is the link between the first terminal device and the first network device.

[0184] It should be noted that the manner in which the first terminal device triggers the establishment of the first link and transmits data of vehicle-to-everything services on the first link may refer to the relevant content described above Figure 6 and the present application will not elaborate on this.

[0185] In an embodiment of the present application, when the terminal device transmits data of vehicle-to-everything services on the fifth link between the first terminal device and the third terminal device, if it detects that the trigger condition is met, it establishes the first link between the first terminal device and the first network device and transmits data of vehicle-to-everything services on the first link, solving the problem that the service continuity cannot be guaranteed due to the failure of the fifth link.

[0186] In a possible implementation, the third handover condition includes at least one of the following: the channel busy ratio and channel occupancy rate of the fifth link do not meet the preset constraint conditions; the network parameters of the fifth link do not meet the transmission requirements of vehicle-to-everything services; the network parameters include one or more of the following: channel state parameters, or link performance parameters; the measured signal strength of the fifth link is less than the measured signal strength of the first link; the measured signal strength of the fifth link is less than the second preset threshold. It should be noted that the above third link handover condition is similar to the second handover condition in the above embodiment, and the present application will not elaborate on this.

[0187] In a possible implementation, as Figure 9 shown, the method further includes:

[0188] S903. When the first handover condition is met, trigger the establishment of the second link and transmit data of vehicle-to-everything services on the second link, and trigger the adjustment of the radio resource control state of the first link to the first state.

[0189] Among them, the second link is the link between the first terminal device and the second terminal device, and the first state is the link state without service transmission. Based on this, the first terminal device can, when the first handover condition is met, switch the vehicle connection service back to the link between the first terminal device and other terminal devices (such as the second terminal device) (denoted as the second type of link), ensuring the continuity of the vehicle connection service. Optionally, the second type of link is a PC5 link.

[0190] It should be noted that the implementation manner of S903 can refer to the above-mentioned S602, and details are not described herein again in this application.

[0191] In a possible implementation manner, as Figure 9 shown, after triggering the establishment of the second link, the method further includes:

[0192] S904. When the second handover condition is met, trigger to adjust the radio resource control state of the first link to the second state, and transmit the data of the vehicle connection service on the first link; the second state is the link state with service transmission.

[0193] Among them, the implementation manner of can refer to the above-mentioned S603, and details are not described herein again in this application.

[0194] Alternatively, S905. When the second handover condition is met, trigger to establish a third link, and transmit the data of the vehicle connection service on the third link; the third link is the link between the first terminal device and the first network device.

[0195] Among them, the implementation manner of can refer to the above-mentioned S604, and details are not described herein again in this application.

[0196] Alternatively, S906. When the second handover condition is met, trigger to establish a fourth link, and transmit the data of the vehicle connection service on the fourth link; the fourth link is the link between the first terminal device and the first network device.

[0197] Among them, the implementation manner of can refer to the above-mentioned S605, and details are not described herein again in this application.

[0198] Figure 9 The first handover condition recorded in the relevant content can be understood with reference to Figure 6 the first handover condition recorded in the relevant content, and details are not described herein again. Figure 9 The second handover condition recorded in the relevant content can be understood with reference to Figure 6 the second handover condition recorded in the relevant content, and details are not described herein again.

[0199] It can be understood that Figure 9 the second link recorded in the relevant content can be Figure 6The same link recorded in the related content can also be understood as different links established with different terminal devices, and this application does not make any limitations in this regard. Similarly, Figure 9 The second link recorded in the related content can be the same as the one Figure 6 recorded in the related content, or it can also be understood as different links established with different network devices, and this application does not make any limitations in this regard. Figure 9 The fourth link recorded in the related content can be the same as the one Figure 6 recorded in the related content, or it can also be understood as different links established with different network devices, and this application does not make any limitations in this regard.

[0200] The above mainly introduces the solution provided by the embodiments of this application from the perspective of interactions between network elements. Correspondingly, the embodiments of this application also provide a communication device, which is used to implement the above various methods. The communication device can be the first terminal device in the above method embodiments, or a device including the above first terminal device, or a component that can be used for the first terminal device. It can be understood that, in order to implement the above functions, the communication device includes corresponding hardware structures and / or software modules for executing each function. Those skilled in the art should easily realize that, combining the units and algorithm steps of each example described in the embodiments disclosed in this article, this application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed in the way of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Professional technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered to exceed the scope of this application.

[0201] The embodiments of this application can divide the functional modules of the communication device according to the above method embodiments. For example, each functional module can be divided corresponding to each function, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. It should be understood that the division of modules in the embodiments of this application is illustrative, and is only a logical function division. There can be other division methods in actual implementation.

[0202] Exemplarily, Figure 10 shows a schematic structural diagram of a communication device 100, including: a processing module 1001 and a communication module 1002. Optionally, a storage module 1003 is further included. The storage module 1003 is used to store the program code and data of the communication device 100.

[0203] Taking the communication device 100 as an example, which can be the first terminal device in the above method embodiments, or a device including the above first terminal device, or a component applicable to the first terminal device, then: A processing module 1001 is configured to instruct a communication module 1002 to transmit data of vehicle-to-everything (V2X) services based on a first link; wherein, the first link is a link between the first terminal device and a first network device.

[0204] The processing module 1001 is further configured to, when a first handover condition is met, trigger the establishment of a second link, instruct the communication module 1002 to transmit data of V2X services on the second link, and trigger the adjustment of the radio resource control state of the first link to a first state; wherein, the second link is a link between the first terminal device and a second terminal device, and the first state is a link state without service transmission.

[0205] The processing module 1001 is further configured to, after establishing the second link and transmitting data of V2X services on the second link, adjust the radio resource control state of the first link to the first state.

[0206] Based on this, the terminal device can adjust the state of the first link after the V2X service migrates from the first link to the second link, ensuring the continuity of the V2X service.

[0207] In a possible implementation manner, the first handover condition includes at least one of the following: detecting a synchronization signal on the second link; detecting a synchronization signal on the second link and there is data of V2X services; receiving sidelink control information (SCI) from the second terminal device; receiving downlink control information (DCI) from the first network device; the downlink control information is used to indicate that the first terminal device has uplink discontinuous transmission; or, detecting that the number of radio link failure (RLF) times is greater than a preset number.

[0208] In a possible implementation manner, the processing module 1001 is further configured to, when detecting a synchronization signal on the second link and there is no data of V2X services, adjust the interface working mode of the second link to a low power consumption mode.

[0209] In a possible implementation manner, the first state is an inactive state or an idle state.

[0210] In a possible implementation manner, when the first state is an inactive state, the processing module 1001 is further configured to, when the duration for which the radio resource control state of the first link is in the inactive state exceeds a first duration, trigger the adjustment of the radio resource control state of the first link to the idle state.

[0211] In a possible implementation, the processing module 1001 is further configured to, when the second handover condition is met, trigger an adjustment of the radio resource control state of the first link to a second state, and instruct the communication module 1002 to transmit vehicle-to-everything (V2X) service data on the first link; the second state is a link state with service transmission.

[0212] In a possible implementation, the processing module 1001 is further configured to, when the second handover condition is met, trigger the establishment of a third link, and instruct the communication module 1002 to transmit V2X service data on the third link; the third link is a link between the first terminal device and the first network device.

[0213] In a possible implementation, the processing module 1001 is further configured to, when the second handover condition is met, trigger the establishment of a fourth link, and instruct the communication module 1002 to transmit V2X service data on the fourth link; the fourth link is a link between the first terminal device and the second network device.

[0214] In a possible implementation, the second handover condition includes at least one of the following: the channel busy ratio and channel occupancy rate of the second link do not meet the preset constraint conditions; the network parameters of the second link do not meet the transmission requirements of the V2X service; the network parameters include one or more of the following: channel state parameters, or link performance parameters; the measured signal strength of the second link is less than the measured signal strength of the first link; the measured signal strength of the second link is less than the first preset threshold.

[0215] Wherein, all relevant contents of each step involved in the above method embodiments can be cited in the function descriptions of the corresponding functional modules, and will not be elaborated here.

[0216] Taking the communication device 100 as the first terminal device in the above method embodiment, or a device including the above first terminal device, or a component applicable to the first terminal device as an example: the processing module 1001 is configured to instruct the communication module 1002 to transmit V2X service data based on a fifth link; wherein, the fifth link is a link between the first terminal device and the third terminal device.

[0217] The processing module 1001 is further configured to, when the third handover condition is met, trigger the establishment of a first link, and instruct the communication module 1002 to transmit V2X service data on the first link; the first link is a link between the first terminal device and the first network device.

[0218] In a possible implementation, the third handover condition includes at least one of the following: the channel busy ratio and channel occupancy rate of the fifth link do not meet the preset constraints; the network parameters of the fifth link do not meet the transmission requirements of vehicle-to-everything services; the network parameters include one or more of the following: channel state parameters, or link performance parameters; the measured signal strength of the fifth link is less than the measured signal strength of the first link; the measured signal strength of the fifth link is less than a second preset threshold.

[0219] In a possible implementation, the processing module 1001 is further configured to, when the first handover condition is met, trigger the establishment of a second link and instruct the communication module 1002 to transmit vehicle-to-everything service data on the second link, and trigger the adjustment of the radio resource control state of the first link to a first state; wherein, the second link is a link between the first terminal device and the second terminal device, and the first state is a link state without service transmission.

[0220] In a possible implementation, the processing module 1001 is further configured to, after establishing the second link and transmitting vehicle-to-everything service data on the second link, adjust the radio resource control state of the first link to the first state.

[0221] In a possible implementation, the first handover condition includes at least one of the following: detecting a synchronization signal on the second link; detecting a synchronization signal on the second link and there is vehicle-to-everything service data; receiving sidelink control information SCI from the second terminal device; receiving downlink control information DCI from the first network device; the downlink control information is the downlink control information generated by the first network device after detecting the uplink discontinuous transmission of the first terminal device; or, the number of radio link failure RLF times of the first link is greater than a preset number.

[0222] In a possible implementation, the processing module 1001 is further configured to, when detecting a synchronization signal on the second link and there is no vehicle-to-everything service data, adjust the interface working mode of the second link to a low power consumption mode.

[0223] In a possible implementation, the first state is an inactive state or an idle state.

[0224] In a possible implementation, the processing module 1001 is further configured to, when the duration for which the radio resource control state of the first link is in the inactive state exceeds a first duration, trigger the adjustment of the radio resource control state of the first link to the idle state.

[0225] In a possible implementation, the processing module 1001 is further configured to, when the second handover condition is met, trigger an adjustment of the radio resource control state of the first link to a second state, and instruct the communication module 1002 to transmit vehicle-to-everything (V2X) service data on the first link; the second state is a link state with service transmission.

[0226] In a possible implementation, the processing module 1001 is further configured to, when the second handover condition is met, trigger the establishment of a third link, and instruct the communication module 1002 to transmit V2X service data on the third link; the third link is a link between the first terminal device and the first network device.

[0227] In a possible implementation, the processing module 1001 is further configured to, when the second handover condition is met, trigger the establishment of a fourth link, and instruct the communication module 1002 to transmit V2X service data on the fourth link; the fourth link is a link between the first terminal device and the second network device.

[0228] In a possible implementation, the second handover condition includes at least one of the following: the channel busy ratio and channel occupancy rate of the second link do not meet the preset constraint conditions; the network parameters of the second link do not meet the transmission requirements of the V2X service; the network parameters include one or more of the following: channel state parameters, or link performance parameters; the measured signal strength of the second link is less than the measured signal strength of the first link; the measured signal strength of the second link is less than the first preset threshold.

[0229] All relevant content of each step involved in the above method embodiments can be cited in the function descriptions of the corresponding functional modules and will not be elaborated here.

[0230] Optionally, Figure 10 the modules in can also be referred to as units. For example, the processing module can be referred to as a processing unit, and the transceiver module can be referred to as a transceiver unit. Additionally, in the Figure 10 illustrated embodiment, the names of the various units may not be the names shown in the figure. For example, the transceiver module can also be referred to as a communication module or a communication unit.

[0231] Figure 10When each unit in [the relevant content] is implemented in the form of a software functional module 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 embodiments of this application, in essence, or the part that contributes to the prior art, or all or part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which can be a personal computer, a server, or an access network device, etc.) or a processor to execute all or part of the steps of the methods described in the various embodiments of this application. The storage media for storing the computer software product include: various media such as USB flash drives, mobile hard disks, read-only memories (ROM), random access memories (RAM), magnetic disks, or optical discs that can store program codes.

[0232] In the embodiments of this application, the communication device 100 is presented in the form of dividing each functional module in an integrated manner. Here, a "module" can refer to a specific ASIC, circuit, a processor and memory that execute one or more software or firmware programs, an integrated logic circuit, and / or other devices that can provide the above functions. In a simple embodiment, those skilled in the art can conceive that the communication device 100 can adopt Figure 11 the form of the communication device shown.

[0233] See Figure 11 , the communication device includes a processor 1101 and a transceiver 1102. Optionally, it further includes a memory 1103 connected to the processor 1101.

[0234] The processor 1101 can be a general-purpose central processing unit (CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits for controlling the execution of the programs of this application solution. The processor 1101 can also include multiple CPUs, and the processor 1101 can be a single-CPU processor or a multi-CPU processor. Here, the processor can refer to one or more devices, circuits, or processing cores for processing data (such as computer program instructions).

[0235] The processor 1101, the memory 1103, and the transceiver 1102 are connected via a bus. The transceiver 1102 is used to communicate with other communication devices. Optionally, the transceiver 1102 may include a transmitter and a receiver. The device in the transceiver 1102 for implementing the receiving function can be regarded as a receiver, and the receiver is used to execute the receiving steps in the embodiments of the present application. The device in the transceiver 1102 for implementing the transmitting function can be regarded as a transmitter, and the transmitter is used to execute the transmitting steps in the embodiments of the present application.

[0236] In the first possible implementation manner, refer to Figure 11 , the communication device further includes a memory 1103. The memory 1103 can be a ROM or other types of static storage devices that can store static information and instructions, a RAM, or other types of dynamic storage devices that can store information and instructions. It can also be an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM), or other optical disc storage, optical disc storage (including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media, or any other medium that can be used to carry or store the desired program code in the form of instructions or data structures and can be accessed by a computer. The embodiments of the present application do not impose any restrictions on this. The memory 1103 can exist independently or be integrated with the processor 1101. Among them, the memory 1103 may contain computer program code. The processor 1101 is used to execute the computer program code stored in the memory 1103, thereby implementing the method provided in the embodiments of the present application.

[0237] The embodiments of the present application also provide a computer-readable storage medium, including instructions, which when running on a computer, cause the computer to execute any of the above methods.

[0238] The embodiments of the present application also provide a computer program product containing instructions, which when running on a computer, cause the computer to execute any of the above methods.

[0239] The embodiments of the present application also provide a chip, including: a processor and an interface. The processor is coupled to the memory through the interface. When the processor executes the computer program or instructions in the memory, any of the methods provided in the above embodiments is executed.

[0240] The embodiments of the present application also provide a communication system, including: the terminal device, the data controller, the access network device, and the core network device in the above embodiments.

[0241] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using a software program, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. The computer instructions can be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium. For example, the computer instructions can be transmitted from a website, a computer, a server, or a data center to another website, computer, server, or data center in a wired manner (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or a wireless manner (such as infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or a data center that includes one or more integrated media. The available medium can be a magnetic medium (such as a floppy disk, a hard disk, a magnetic tape), an optical medium (such as a DVD), or a semiconductor medium (such as a solid state disk (SSD)), etc.

[0242] Although the present application has been described in conjunction with various embodiments, however, in the process of implementing the claimed present application, those skilled in the art can understand and implement other variations of the disclosed embodiments by viewing the drawings, the disclosure, and the appended claims. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality. A single processor or other unit can implement several functions recited in the claims. Certain measures are recited in mutually different dependent claims, but this does not mean that these measures cannot be combined to produce good results.

[0243] Although the present application has been described in conjunction with the features and their embodiments, it is obvious that various modifications and combinations can be made without departing from the spirit and scope of the present application. Accordingly, the present specification and the drawings are merely exemplary illustrations of the present application defined by the appended claims, and are considered to have covered any and all modifications, variations, combinations, or equivalents within the scope of the present application. Obviously, those skilled in the art can make various changes and modifications to the present application without departing from the spirit and scope of the present application. Thus, if these modifications and variations of the present application fall within the scope of the claims of the present application and their equivalent technologies, the present application is also intended to include these changes and modifications.

[0244] As described above, it is only the implementation mode of this application, but the protection scope of this application is not limited thereto. Any changes or substitutions within the technical scope disclosed in this application should be covered within the protection scope of this application. Therefore, the protection scope of this application shall be subject to the protection scope of the claims described.

Claims

1. A service migration method, characterized in that, Including: Transmitting data of vehicle connection services based on a first link; wherein, the first link is a link between a first terminal device and a first network device; When a first handover condition is met, triggering the establishment of a second link and transmitting the data of the vehicle connection services on the second link, and triggering the adjustment of the radio resource control state of the first link to a first state; wherein, the second link is a link between the first terminal device and a second terminal device, and the first state is a link state without service transmission.

2. The method according to claim 1, wherein The triggering of adjusting the radio resource control state of the first link to the first state includes: After establishing the second link and transmitting the data of the vehicle connection services on the second link, adjusting the radio resource control state of the first link to the first state.

3. The method according to claim 1 or 2, characterized in that The first handover condition includes at least one of the following: Detecting a synchronization signal on the second link; Detecting a synchronization signal on the second link and there is data of vehicle connection services; Receiving sidelink control information SCI from the second terminal device; Receiving downlink control information DCI from the first network device; the downlink control information includes an indication for the first terminal device to perform uplink discontinuous transmission; Or, detecting that the number of radio link failures RLF is greater than a preset number.

4. The method according to claim 3, characterized in that, The method further includes: When detecting a synchronization signal on the second link and there is no data of vehicle connection services, adjusting the interface working mode of the second link to a low power consumption mode.

5. The method according to any one of claims 1-4, characterized in that, The first state is an inactive state or an idle state.

6. The method according to claim 5, characterized in that When the first state is an inactive state, the method further includes: When the duration for which the radio resource control state of the first link is in the inactive state exceeds a first duration, triggering the adjustment of the radio resource control state of the first link to the idle state.

7. The method according to any one of claims 1-6, characterized in that, After triggering the establishment of the second link, the method further includes: When a second handover condition is met, triggering the adjustment of the radio resource control state of the first link to a second state and transmitting the data of the vehicle connection services on the first link; the second state is a link state with service transmission.

8. The method according to any one of claims 1-6, characterized in that, After triggering the establishment of the second link, the method further includes: When a second handover condition is met, triggering the establishment of a third link and transmitting the data of the vehicle connection services on the third link; the third link is a link between the first terminal device and the first network device.

9. The method according to any one of claims 1 to 6, characterized in that, After triggering the establishment of the second link, the method further includes: When a second handover condition is met, triggering the establishment of a fourth link and transmitting the data of the vehicle connection services on the fourth link; the fourth link is a link between the first terminal device and a second network device.

10. The method according to any one of claims 7-9, characterized in that, The second handover condition includes at least one of the following: The channel busy ratio and channel occupancy rate of the second link do not meet preset constraint conditions; The network parameters of the second link do not meet the transmission requirements of the vehicle connection services; the network parameters include at least one or more of the following: channel state parameters, or link performance parameters; The measurement signal strength of the second link is less than that of the first link; The measurement signal strength of the second link is less than a first preset threshold.

11. A service migration method, characterized in that, Comprising: Transmitting vehicle connection service data based on a fifth link; wherein, the fifth link is a link between a first terminal device and a third terminal device; When a third handover condition is satisfied, triggering the establishment of a first link and transmitting the vehicle connection service data on the first link; the first link is a link between a first terminal device and a first network device.

12. The method according to claim 11, characterized in that, The third handover condition includes at least one of the following: The channel busy ratio and channel occupancy rate of the fifth link do not meet preset constraint conditions; The network parameters of the fifth link do not meet the transmission requirements of the vehicle connection service; the network parameters include at least one or more of the following: channel state parameters, or link performance parameters; The measurement signal strength of the fifth link is less than that of the first link; The measurement signal strength of the fifth link is less than a second preset threshold.

13. A communication device, characterized in that, Comprising: Functional units for performing the functions of the method according to any one of claims 1-12; wherein, the actions performed by the functional units are implemented by hardware or by hardware executing corresponding software.

14. A communication device, characterized in that, Comprising: A processor; The processor is connected to a memory, the memory is used for storing computer execution instructions, and the processor executes the computer execution instructions stored in the memory so that the communication device implements the method according to any one of claims 1-12.

15. A computer-readable storage medium, characterized in that, Including instructions, when the instructions run on a computer, causing the computer to execute the method according to any one of claims 1-12.