CN115004848A - Wireless communication method and terminal device - Google Patents

Wireless communication method and terminal device Download PDF

Info

Publication number
CN115004848A
CN115004848A CN202080095032.8A CN202080095032A CN115004848A CN 115004848 A CN115004848 A CN 115004848A CN 202080095032 A CN202080095032 A CN 202080095032A CN 115004848 A CN115004848 A CN 115004848A
Authority
CN
China
Prior art keywords
terminal
remote terminal
information
remote
relay
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202080095032.8A
Other languages
Chinese (zh)
Inventor
刘建华
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Publication of CN115004848A publication Critical patent/CN115004848A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/14Direct-mode setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/22Processing or transfer of terminal data, e.g. status or physical capabilities
    • H04W8/24Transfer of terminal data

Abstract

After the remote terminal and the relay terminal are disconnected from the PC5, an application server of the opposite terminal or terminal equipment of the opposite terminal can actively interact with the remote terminal, and service use scenes of the remote terminal accessing a network through the relay terminal are enlarged. The wireless communication method includes: after the connection between the relay terminal and the remote terminal is disconnected, and the relay terminal receives downlink data targeted to the remote terminal or receives a downlink data notification message targeted to the remote terminal, the relay terminal triggers to reestablish the connection with the remote terminal.

Description

Wireless communication method and terminal device Technical Field
The present embodiments relate to the field of communications, and in particular, to a wireless communication method and a terminal device.
Background
In a New Radio (NR) system, a terminal device having Proximity-based Services (ProSe) capability may directly communicate with another terminal device having ProSe capability through a PC5 interface. When a terminal device can be connected to an external Data network through a fifth Generation mobile communication (5G) network and has a ProSe capability, The terminal device can serve as a relay terminal (relay UE), another remote terminal (remote UE) with The ProSe capability can establish a direct connection with The relay terminal through a PC5 interface, and interact with The external network through a Protocol Data Unit (PDU) session established by The relay terminal and The 5G network. However, after the remote terminal and the relay terminal are disconnected from the PC5, the application server of the opposite terminal or the terminal device of the opposite terminal cannot actively interact with the remote terminal, which limits the service usage scenario in which the remote terminal accesses the network through the relay terminal.
Disclosure of Invention
After the remote terminal and the relay terminal are disconnected from the PC5, the application server of the opposite terminal or the terminal device of the opposite terminal can actively interact with the remote terminal, and the service use scene that the remote terminal accesses the network through the relay terminal is enlarged.
In a first aspect, a wireless communication method is provided, and the method includes:
after the connection between the relay terminal and the remote terminal is disconnected, and the relay terminal receives downlink data targeted to the remote terminal or receives a downlink data notification message targeted to the remote terminal, the relay terminal triggers the reestablishment of the connection with the remote terminal.
In a second aspect, a wireless communication method is provided, the method comprising:
after the connection between the relay terminal and the remote terminal is disconnected, the remote terminal reestablishes the connection with the relay terminal according to the triggering of the relay terminal.
In a third aspect, a terminal device is provided, configured to execute the method performed by the relay terminal in the first aspect.
Specifically, the terminal device includes a functional module for executing the method executed by the relay terminal in the first aspect.
In a fourth aspect, a terminal device is provided for executing the method executed by the remote terminal in the second aspect.
In particular, the network device comprises functional modules for performing the method performed by the remote terminal in the second aspect described above.
In a fifth aspect, a terminal device is provided that includes a processor and a memory. The memory is used for storing computer programs, and the processor is used for calling and running the computer programs stored in the memory to execute the method executed by the relay terminal in the first aspect.
In a sixth aspect, a terminal device is provided that includes a processor and a memory. The memory is used for storing a computer program, and the processor is used for calling and running the computer program stored in the memory to execute the method executed by the remote terminal in the second aspect.
In a seventh aspect, an apparatus is provided to implement the method performed by the relay terminal in the first aspect and the method performed by the remote terminal in the second aspect.
Specifically, the apparatus includes: a processor for calling and running the computer program from the memory so that the apparatus installed with the device performs the method performed by the relay terminal in the first aspect and the method performed by the remote terminal in the second aspect as described above.
In an eighth aspect, there is provided a computer-readable storage medium for storing a computer program that causes a computer to execute the method performed by the relay terminal in the first aspect and the method performed by the remote terminal in the second aspect.
In a ninth aspect, there is provided a computer program product comprising computer program instructions for causing a computer to perform the method performed by the relay terminal in the first aspect and the method performed by the remote terminal in the second aspect.
A tenth aspect provides a computer program which, when run on a computer, causes the computer to perform the method performed by the relay terminal in the first aspect and the method performed by the remote terminal in the second aspect described above.
According to the technical scheme, after the connection between the relay terminal and the far-end terminal is disconnected, and the relay terminal receives the downlink data of the far-end terminal or receives the downlink data notification message of the far-end terminal, the relay terminal triggers the connection between the relay terminal and the far-end terminal to be reestablished. Correspondingly, after the connection between the relay terminal and the remote terminal is disconnected, the remote terminal reestablishes the connection with the relay terminal according to the triggering of the relay terminal. Therefore, the service use scene that the remote terminal accesses the network through the relay terminal is enlarged, and the user experience is improved.
Drawings
Fig. 1 is a schematic diagram of a communication system architecture provided in an embodiment of the present application.
Fig. 2 is a schematic diagram of an architecture of a relay communication system according to an embodiment of the present application.
Fig. 3 is a schematic flow chart of a wireless communication method provided according to an embodiment of the present application.
Fig. 4 is a schematic flow chart of another wireless communication method provided according to an embodiment of the application.
Fig. 5 is a schematic flow chart of reestablishing the PC5 connection according to an embodiment of the present application.
Fig. 6 is a schematic flow chart of another method for reestablishing a PC5 connection according to an embodiment of the present disclosure.
Fig. 7 is a schematic flow chart of a further method for reestablishing a PC5 connection according to an embodiment of the present application.
Fig. 8 is a schematic flow chart of a further method for reestablishing the PC5 connection according to an embodiment of the present application.
Fig. 9 is a schematic block diagram of a terminal device provided according to an embodiment of the present application.
Fig. 10 is a schematic block diagram of another terminal device provided according to an embodiment of the present application.
Fig. 11 is a schematic block diagram of a communication device provided according to an embodiment of the present application.
Fig. 12 is a schematic block diagram of an apparatus provided according to an embodiment of the present application.
Fig. 13 is a schematic block diagram of a communication system provided in accordance with an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art without making any creative effort with respect to the embodiments in the present application belong to the protection scope of the present application.
The embodiments of the present application can be applied to various communication systems, for example: global System for Mobile communications (GSM) System, Code Division Multiple Access (CDMA) System, Wideband Code Division Multiple Access (WCDMA) System, General Packet Radio Service (GPRS), Long Term Evolution (Long Term Evolution, LTE) System, Advanced Long Term Evolution (LTE-a) System, New Radio (NR) System, Evolution System of NR System, LTE (LTE-based Access to LTE-U) System over unlicensed spectrum, NR (NR-based Access to unlicensed spectrum) System over unlicensed spectrum, UMTS (UMTS) System, WLAN-based Wireless Local Area network (WiFi) System, Wireless Local Area network (WiFi) System over Universal Packet Radio Service (GPRS), GPRS (GPRS) System, LTE-a System over unlicensed spectrum, and LTE-a Wireless Local Area network (WLAN-a) System over unlicensed spectrum, WLAN-b System over WLAN System, WLAN-b System over WLAN-b System, or WLAN System over unlicensed spectrum, Next generation communication systems or other communication systems, etc.
Generally, conventional Communication systems support a limited number of connections and are easy to implement, however, with the development of Communication technology, mobile Communication systems will support not only conventional Communication, but also, for example, Device-to-Device (D2D) Communication, Machine-to-Machine (M2M) Communication, Machine Type Communication (MTC), and Vehicle-to-Vehicle (V2V) Communication, and the embodiments of the present application can also be applied to these Communication systems.
Optionally, the communication system in the embodiment of the present application may be applied to a Carrier Aggregation (CA) scenario, may also be applied to a Dual Connectivity (DC) scenario, and may also be applied to an independent (SA) networking scenario.
The frequency spectrum of the application is not limited in the embodiment of the present application. For example, the embodiments of the present application may be applied to a licensed spectrum and may also be applied to an unlicensed spectrum.
Fig. 1 schematically shows a communication system 100 to which the present application is applied. As shown in fig. 1, the communication system 100 mainly includes a terminal device (UE) 101, AN Access Network (AN) device 102, AN Access and Mobility Management Function (AMF) entity 103, a Session Management Function (SMF) entity 104, a User Plane Function (UPF) entity 105, a Policy Control Function (PCF) entity 106, a Unified Data Management (UDM) entity 107, a Data Network (DN) 108, AN Application Function (AF) entity 109, AN Authentication Server Function (AUSF) entity 110, and a Network Slice Selection Function (NSSF) entity 111.
Specifically, in the communication system 100, the UE 101 performs Access layer connection with the AN device 102 through a Uu interface to exchange Access layer messages and wireless data transmission, and the UE 101 performs Non-Access Stratum (NAS) connection with the AMF entity 103 through AN N1 interface to exchange NAS messages; the AN device 102 is connected with the AMF entity 103 through AN N2 interface, and the AN device 102 is connected with the UPF entity 105 through AN N3 interface; a plurality of UPF entities 105 are connected through an N9 interface, the UPF entities 105 are connected with DN 108 through an N6 interface, and meanwhile, the UPF entities 105 are connected with SMF entities 104 through an N4 interface; the SMF entity 104 is connected with the PCF entity 106 through an N7 interface, the SMF entity 104 is connected with the UDM entity 107 through an N10 interface, the SMF entity 104 controls the UPF entity 105 through an N4 interface, and meanwhile, the SMF entity 104 is connected with the AMF entity 103 through an N11 interface; a plurality of AMF entities 103 are connected through an N14 interface, the AMF entity 103 is connected with a UDM entity 107 through an N8 interface, the AMF entity 103 is connected with an AUSF entity 110 through an N12 interface, the AMF entity 103 is connected with an NSSF entity 111 through an N22 interface, and meanwhile, the AMF entity 103 is connected with a PCF entity 106 through an N15 interface; PCF entity 106 is connected to AF entity 109 via an N5 interface; the AUSF entity 110 is connected with the UDM entity 107 via an N13 interface.
In the communication system 100, the UDM entity 107 is a subscription database in the core network, and stores subscription data of the user in the 5G network. The AMF entity 103 is a mobility management function in the core network, the SMF entity 104 is a session management function in the core network, and the AMF entity 103 is responsible for forwarding session management related messages between the UE 101 and the SMF entity 104 in addition to performing mobility management on the UE 101. The PCF entity 106 is a policy management function in the core network, and is responsible for making policies related to mobility management, session management, charging, and the like for the UE 101. The UPF entity 105 is a user plane function in the core network, and performs data transmission with the external data network through the N6 interface, and performs data transmission with the AN device 102 through the N3 interface. After the UE 101 accesses the 5G network through the Uu port, a Protocol Data Unit (PDU) session Data connection from the UE 101 to the UPF entity 105 is established under the control of the SMF entity 104, so as to perform Data transmission. The AMF entity 103 and the SMF entity 104 obtain user subscription data from the UDM entity 107 via the N8 and N10 interfaces and policy data from the PCF entity 106 via the N15 and N7 interfaces, respectively.
In addition, a Network Exposure Function (NEF) entity exists in the communication system 100, and is configured to interface with a third-party application server and perform information transfer between a core Network node and a third-party application.
It should be understood that a device having a communication function in a network/system in the embodiments of the present application may be referred to as a communication device.
It should be noted that the communication system 100 is described by taking a 5G communication system as an example, but the present application is not limited thereto, and may also be applied to other 3GPP communication systems, for example, a 4G communication system, or a future 3GPP communication system.
It should be understood that the terms "system" and "network" are often used interchangeably herein. The term "and/or" herein is merely an association describing an associated object, meaning that three relationships may exist, e.g., a and/or B, may mean: a exists alone, A and B exist simultaneously, and B exists alone. In addition, the character "/" herein generally indicates that the former and latter related objects are in an "or" relationship.
The embodiments of the present application are described in conjunction with a terminal device and a network device, where: a terminal device can also be called a user device, access terminal, subscriber unit, subscriber station, mobile, remote station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user equipment, etc. The terminal device may be a Station (ST) in a WLAN, and 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) device, a handheld device with Wireless communication function, a computing device or other processing device connected to a Wireless modem, a vehicle-mounted device, a wearable device, and a next generation communication system, for example, a terminal device in an NR Network or a terminal device in a future evolved Public Land Mobile Network (PLMN) Network, and the like.
By way of example and not limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable equipment can also be called wearable intelligent equipment, is the general term of equipment that uses wearable technique to carry out intelligent design, develop can dress to daily wearing, such as glasses, gloves, wrist-watch, dress and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the clothing or accessories of the user. The wearable device is not only a hardware device, but also realizes powerful functions through software support, data interaction and cloud interaction. The generalized wearable smart device has full functions and large size, and can realize complete or partial functions without depending on a smart phone, for example: smart watches or smart glasses and the like, and only focus on a certain type of application functions, and need to be used in cooperation with other devices such as smart phones, such as various smart bracelets for physical sign monitoring, smart jewelry and the like.
The AN device 102 may be a device for communicating with a mobile device, and the AN device 102 may be AN Access Point (AP) in a WLAN, a Base Station (BTS) in GSM or CDMA, a Base Station (NodeB, NB) in WCDMA, AN evolved Node B (eNB, eNodeB) in LTE, a relay Station or AN Access Point, or a vehicle-mounted device, a wearable device, a Base Station (gNB) in AN NR network, or a network device in a PLMN network for future evolution.
In this embodiment, a network device provides a service for a cell, and a terminal device communicates with the network device through a transmission resource (for example, a frequency domain resource or a spectrum resource) used by the cell, where the cell may be a cell corresponding to the network device (for example, a base station), and the cell may belong to a macro base station or a base station corresponding to a Small cell (Small cell), where the Small cell may include: urban cells (Metro cells), Micro cells (Micro cells), Pico cells (Pico cells), Femto cells (Femto cells), and the like, and the small cells have the characteristics of small coverage area and low transmission power, and are suitable for providing high-rate data transmission services.
In the embodiment of the present application, the terminal device with ProSe capability can directly communicate with another terminal device with ProSe capability through the PC5 interface. When a terminal device can be connected with an external data network through a 5G network and has ProSe capability, the terminal device can be used as a Relay terminal, and another remote terminal with ProSe capability can establish direct connection with Relay UE through a PC5 interface and interact with the external network through PDU session established by the remote terminal and the 5G network. The system architecture is shown in fig. 2. AS shown in fig. 2, the remote terminal is connected to the relay terminal through a PC5 interface, and the relay terminal is connected to a Next Generation evolved Radio Access Network (NG-RAN) through a Uu interface, so AS to connect to a 5G Core Network (5G Core Network, 5GC), and the 5GC is connected to an Application Server (AS) through an N6 interface.
It should be noted that fig. 2 illustrates a 5G communication system as an example, but may also be applied to other 3GPP communication systems, for example, a 4G communication system or a future 3GPP communication system, and the present application is not limited thereto. In addition, in the embodiment of the present application, the Application Server (AS) in fig. 2 may also be other terminal devices or an external public safety internet.
When a remote terminal with ProSe capability establishes direct connection with a relay terminal through a PC5 interface and interacts with an external network through a PDU session established by the relay terminal and a 5G network, because the remote terminal performs data transmission through the PDU session of the relay terminal, the network side still considers that the relay terminal accesses the network for data transmission, and the network side does not independently maintain the context of the remote terminal and does not sense whether the PC5 between the remote terminal and the relay terminal is in a connected state or a disconnected state. Therefore, only when the remote terminal actively establishes the PC5 connection with the relay terminal, the remote terminal can interact with the application server of the opposite terminal or other terminal devices of the opposite terminal through the 5G network, and if the remote terminal disconnects the PC5 from the relay terminal, the application server of the opposite terminal or the terminal devices of the opposite terminal cannot actively interact with the remote terminal, thereby limiting the service use scenario in which the remote terminal accesses the network through the relay terminal. For example, if the remote terminal accesses the video chat application through the 5G network, the application server of the remote terminal is the video chat application server. For another example, if the remote terminal accesses a browser through a 5G network, the application server of the remote terminal is a browser server. For another example, the remote terminal interacts with the target terminal through the 5G network, and the terminal device of the remote terminal end is the target terminal.
Based on the above problem, the present application provides a relay communication scheme, in which the relay terminal continues to maintain the context of the remote terminal after disconnecting from the PC5 of the remote terminal, and when the relay terminal receives downlink data sent to the remote terminal, the relay terminal triggers the reestablishment of the PC5 connection between the remote terminal and the relay terminal according to the context of the remote terminal that is maintained by the relay terminal itself, thereby sending the downlink data to the remote terminal.
Fig. 3 is a schematic flow diagram of a wireless communication method 200 according to an embodiment of the present application, and as shown in fig. 3, the method 200 may include, but is not limited to, the following:
s210, after the connection between the relay terminal and the remote terminal is disconnected, and the relay terminal receives the downlink data addressed to the remote terminal or receives the downlink data notification message addressed to the remote terminal, the relay terminal triggers to reestablish the connection with the remote terminal.
It should be noted that the remote terminal accesses the network through the relay terminal, and in the case that the remote terminal establishes the PC5 connection with the relay terminal, the remote terminal may interact with the application server of the opposite terminal or other terminal devices of the opposite terminal through the network.
In the embodiment of the present application, after the connection between the relay terminal and the remote terminal is disconnected, the relay terminal triggers to reestablish the connection with the remote terminal when the relay terminal receives downlink data targeted to the remote terminal or when the relay terminal receives a downlink data notification message targeted to the remote terminal. Namely, the application server of the remote terminal end-to-end or the terminal equipment of the opposite terminal can actively interact with the remote terminal, thereby expanding the service use scene of the remote terminal accessing the network through the relay terminal and improving the user experience.
Alternatively, the connection between the relay terminal and the remote terminal may be a PC5 connection.
In this embodiment of the present application, the reason for the disconnection between the relay terminal and the remote terminal may be that the remote terminal actively triggers to disconnect, or the relay terminal actively triggers to release the connection, or the connection may be disconnected after the radio quality deteriorates or the remote terminal leaves the coverage of the relay terminal and has no signaling trigger. Of course, the connection between the relay terminal and the remote terminal may also be disconnected for some other reason, which is defined and set forth in this application.
Optionally, in this embodiment of the present application, in a case that a connection between the relay terminal and the remote terminal is disconnected, the relay terminal continues to maintain context information of the remote terminal and/or a PDU session used for transmitting data for the remote terminal. In other words, the relay terminal continues to maintain or maintain context information for the remote terminal and/or a PDU session for transmitting data for the remote terminal.
It should be noted that, when the connection between the relay terminal and the remote terminal is disconnected, the relay terminal continues to maintain the context information of the remote terminal, so that the relay terminal can obtain the relevant information of the remote terminal from the context information of the remote terminal to trigger the establishment of the connection with the remote terminal. In addition, in the case where the connection between the relay terminal and the remote terminal is disconnected, the relay terminal continues to maintain the PDU session for transmitting data for the remote terminal, so that the relay terminal may receive downlink data targeted for the remote terminal or may receive a downlink data notification message targeted for the remote terminal.
Optionally, in this embodiment of the present application, the context information of the remote terminal includes, but is not limited to, at least one of the following information:
an application layer identifier of the remote terminal, a near field communication terminal identifier of the remote terminal, application information, and an Internet Protocol (IP) address assigned to the remote terminal.
Optionally, the near field communication terminal identification of the far-end terminal may include, but is not limited to, at least one of the following:
network layer identification, link layer identification, near field communication layer 2(layer-2) address.
Optionally, in this embodiment of the present application, the relay terminal may determine the near field communication terminal identifier of the remote terminal according to downlink data targeted to the remote terminal or a downlink data notification message targeted to the remote terminal. For example, the relay terminal may determine which remote terminal the data packet is sent to according to information such as an IP address port number or an IP prefix of the data packet header of the downlink data, and the relay terminal determines the near field communication terminal identifier of the remote terminal according to context information of the remote terminal stored in the relay terminal.
Alternatively, as example 1, the relay terminal transmits a direct communication setup request targeting the remote terminal, the direct communication setup request being for requesting to reestablish a connection between the relay terminal and the remote terminal.
That is, in example 1, after the connection between the relay terminal and the remote terminal is disconnected, and the relay terminal receives downlink data targeted for the remote terminal or receives a downlink data notification message targeted for the remote terminal, the relay terminal transmits a direct communication setup request targeted for the remote terminal to reestablish the connection with the remote terminal. That is, in example 1, the relay terminal reestablishes the connection with the remote terminal.
It should be noted that, in example 1, if the relay terminal receives the response information to the direct communication establishment request, it indicates that the connection between the relay terminal and the remote terminal is already established.
It should be understood that the direct communication establishment request may also be referred to as request information or some other name, which is not limited in this application.
Optionally, in example 1, the direct communication setup request includes at least one of:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
That is, the relay terminal may bear information such as the application layer identifier of the remote terminal, the near field communication terminal identifier of the remote terminal, application information, and the IP address assigned to the remote terminal in the direct communication setup request, so that the remote terminal may obtain this information, thereby reestablishing the connection between the relay terminal and the remote terminal.
Optionally, in example 1, the relay terminal transmits first information targeting the remote terminal, where the first information includes at least one of the following information for the remote terminal:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
That is, the relay terminal may bear information such as an application layer identifier of the remote terminal, a near field communication terminal identifier of the remote terminal, application information, an IP address assigned to the remote terminal, and the like in the first information, so that the remote terminal acquires the information, thereby reestablishing the connection between the relay terminal and the remote terminal.
Alternatively, in example 1, the relay terminal may acquire the near field communication terminal identification of the remote terminal from the remote terminal before transmitting the direct communication setup request.
Specifically, before sending the direct communication setup request, the relay terminal broadcasts first discovery request information for discovering the remote terminal, where the first discovery request information includes an application layer identifier and/or application information of the remote terminal; and the relay terminal receives response information aiming at the first discovery request information broadcasted by the far-end terminal, wherein the response information aiming at the first discovery request information comprises the near field communication terminal identification of the far-end terminal.
Optionally, as example 2, the relay terminal broadcasts notification information to the remote device, where the notification information is used to trigger the remote terminal to initiate connection reestablishment with the relay terminal.
That is, in example 2, after the connection between the relay terminal and the remote terminal is disconnected, and the relay terminal receives downlink data targeted for the remote terminal or receives a downlink data notification message targeted for the remote terminal, the relay terminal broadcasts notification information to the remote terminal so that the remote terminal initiates connection reestablishment with the relay terminal. That is, in example 2, the remote terminal reestablishes the connection with the relay terminal.
Optionally, in example 2, the relay terminal receives a direct communication establishment request sent by the remote terminal, where the direct communication establishment request is used to request to reestablish a connection between the relay terminal and the remote terminal. Further, the relay terminal sends response information to the remote terminal for the direct communication setup request, which indicates that the connection between the relay terminal and the remote terminal is already established.
It should be understood that the direct communication establishment request may also be referred to as request information or some other name, which is not limited in this application.
Optionally, in example 2, the notification information includes at least one of the following information:
the application layer identifier of the remote terminal, the near field communication terminal identifier of the remote terminal, the application information, the indication information for triggering the remote terminal to establish the connection with the relay terminal, and the message association identifier for associating the notification message with the direct communication establishment request sent by the remote terminal.
Alternatively, in example 2,
if the direct communication establishment request comprises the application layer identifier of the far-end terminal and/or the near field communication terminal identifier of the far-end terminal and/or the application information, the relay terminal determines to continuously allocate a corresponding IP address stored in the context information of the far-end terminal to the far-end terminal according to the application layer identifier of the far-end terminal and/or the near field communication terminal identifier of the far-end terminal and/or the application information; or,
if the direct communication establishment request comprises the message association identifier, the relay terminal determines to continuously allocate the corresponding IP address stored in the context information of the remote terminal to the remote terminal according to the application layer identifier of the remote terminal and/or the near field communication terminal identifier of the remote terminal and/or the application information in the notification message corresponding to the message association identifier.
Optionally, in this embodiment of the present application, after the connection with the remote terminal is reestablished, the relay terminal sends the downlink data to the remote terminal.
Optionally, in some embodiments, the remote terminal continues to maintain context information for the remote terminal after the connection between the relay terminal and the remote terminal is broken. In other words, the remote terminal continues to maintain or maintain context information for the remote terminal.
Optionally, in some embodiments, the relay terminal determines whether the remote terminal no longer uses the relay terminal to access the network.
Specifically, for example, after the connection between the relay terminal and the remote terminal is disconnected, the relay terminal starts or restarts a timer; if the relay terminal judges that the remote terminal continues to use the relay terminal to access the network during the working period of the timer; if the timer is overtime, the relay terminal judges that the remote terminal does not use the relay terminal to access the network any more.
For example, the timer is started or restarted at the moment when the connection between the relay terminal and the remote terminal is disconnected, and the working duration of the timer is T. If the relay terminal judges that the remote terminal continues to use the relay terminal to access the network during the working period of the timer; if the timer is overtime, the relay terminal judges that the remote terminal does not use the relay terminal to access the network any more.
For another example, after the connection between the relay terminal and the remote terminal is disconnected, the relay terminal periodically broadcasts the second discovery request information to the remote terminal; if response information aiming at the second discovery request information is received, the relay terminal judges that the remote terminal continues to use the relay terminal to access the network; if the response message aiming at the second discovery request message is not received, the relay terminal judges that the remote terminal does not use the relay terminal to access the network any more.
Optionally, in some embodiments, the relay terminal receives indication information sent by the remote terminal, where the indication information is used to indicate that the remote terminal no longer uses the relay terminal to access the network.
Optionally, in some embodiments, in a case where the remote terminal no longer uses the relay terminal to access the network, the relay terminal deletes the context information of the remote terminal that it holds.
Optionally, in some embodiments, in a case where the remote terminal no longer uses the relay terminal to access the network, the relay terminal notifies the core network that the remote terminal has left, so as to release the PDU session for transmitting data for the remote terminal.
Therefore, in this embodiment of the present application, after the connection between the relay terminal and the remote terminal is disconnected, the relay terminal triggers to reestablish the connection with the remote terminal when the relay terminal receives the downlink data addressed to the remote terminal or when the relay terminal receives the downlink data notification message addressed to the remote terminal. Namely, the application server of the remote terminal end-to-end or the terminal equipment of the opposite terminal can actively interact with the remote terminal, thereby expanding the service use scene of the remote terminal accessing the network through the relay terminal and improving the user experience.
The wireless communication method according to an embodiment of the present application is described in detail from the perspective of the relay terminal in conjunction with fig. 3 above, and the wireless communication method according to another embodiment of the present application is described in detail from the perspective of the remote device in conjunction with fig. 4 below. It should be understood that the description of the far-end terminal side and the description of the intermediate terminal side correspond to each other, and similar descriptions may be referred to above, and are not repeated herein to avoid repetition.
Fig. 4 is a schematic flow chart diagram of a wireless communication method 300 according to an embodiment of the present application, and as shown in fig. 4, the method 300 may include, but is not limited to, the following:
and S310, after the connection between the relay terminal and the remote terminal is disconnected, the remote terminal reestablishes the connection with the relay terminal according to the trigger of the relay terminal.
It should be noted that the remote terminal accesses the network through the relay terminal, and in the case that the remote terminal establishes the PC5 connection with the relay terminal, the remote terminal may interact with the application server of the opposite terminal or other terminal devices of the opposite terminal through the network.
In the embodiment of the application, after the connection between the relay terminal and the remote terminal is disconnected, the remote terminal reestablishes the connection with the relay terminal according to the trigger of the relay terminal. Namely, the application server of the remote terminal end-to-end or the terminal equipment of the opposite terminal can actively interact with the remote terminal, thereby expanding the service use scene of the remote terminal accessing the network through the relay terminal and improving the user experience.
Alternatively, the connection between the relay terminal and the remote terminal may be a PC5 connection.
In this embodiment of the present application, the reason for the disconnection between the relay terminal and the remote terminal may be that the remote terminal actively triggers to disconnect, or the relay terminal actively triggers to release the connection, or the connection may be disconnected after the radio quality deteriorates or the remote terminal leaves the coverage of the relay terminal and has no signaling trigger. Of course, the connection between the relay terminal and the remote terminal may also be disconnected for some other reason, which is defined and set forth in this application.
Optionally, in this embodiment of the present application, in a case that the connection between the relay terminal and the remote terminal is disconnected, the remote terminal continues to maintain the context information of the remote terminal. In other words, the remote terminal continues to save or maintain context information for the remote terminal.
Optionally, in this embodiment, in the case that the connection between the relay terminal and the remote terminal is disconnected, the relay terminal continues to maintain the context information of the remote terminal and/or the PDU session used for transmitting data for the remote terminal. In other words, the relay terminal continues to maintain or maintain context information for the remote terminal and/or the PDU session used to transmit data for the remote terminal.
It should be noted that, when the connection between the relay terminal and the remote terminal is disconnected, the relay terminal continues to maintain the context information of the remote terminal, so that the relay terminal can obtain the relevant information of the remote terminal from the context information of the remote terminal to trigger the establishment of the connection with the remote terminal. In addition, in the case where the connection between the relay terminal and the remote terminal is disconnected, the relay terminal continues to maintain the PDU session for transmitting data for the remote terminal, so that the relay terminal may receive downlink data targeted for the remote terminal or may receive a downlink data notification message targeted for the remote terminal.
Optionally, the context information of the remote terminal includes at least one of the following information:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
Optionally, the near field communication terminal identifier of the far-end terminal may include, but is not limited to, at least one of the following:
network layer identification, link layer identification, near field communication layer 2(layer-2) address.
Optionally, in some embodiments, the remote terminal receives a direct communication setup request, which is sent by the relay terminal and is targeted for the remote terminal, and the direct communication setup request is used to request to reestablish a connection between the relay terminal and the remote terminal.
Optionally, the direct communication setup request comprises at least one of:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
Optionally, the remote terminal receives first information, which is sent by the relay terminal and is targeted at the remote terminal, where the first information includes at least one of the following:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
Optionally, before receiving the direct communication setup request, the method further comprises:
the remote terminal receives first discovery request information broadcasted by the relay terminal and used for discovering the remote terminal, wherein the first discovery request information comprises an application layer identifier and/or application information of the remote terminal;
the remote terminal broadcasts response information for the first discovery request information to the relay terminal, wherein the response information for the first discovery request information comprises the near field communication terminal identification of the remote terminal.
Optionally, in some embodiments, the remote device receives notification information broadcast by the relay terminal, where the notification information is used to trigger the remote terminal to initiate connection reestablishment with the relay terminal; and the remote terminal sends a direct communication establishment request to the relay terminal, wherein the direct communication establishment request is used for requesting to reestablish the connection between the relay terminal and the remote terminal.
Optionally, the notification information includes at least one of the following information:
the application layer identifier of the remote terminal, the near field communication terminal identifier of the remote terminal, the application information, the indication information for triggering the remote terminal to establish the connection with the relay terminal, and the message association identifier for associating the notification message with the direct communication establishment request sent by the remote terminal.
Optionally, the direct communication establishment request includes an application layer identifier of the remote terminal and/or a near field communication terminal identifier of the remote terminal and/or the application information; or,
the direct communication setup request includes the message association identifier for associating the notification information with the direct communication setup request.
Optionally, in this embodiment of the present application, after the connection between the remote terminal and the relay terminal is reestablished, the remote terminal continues to use the corresponding IP address stored in the context information of the remote terminal.
Optionally, in this embodiment of the present application, the remote terminal receives downlink data targeted for the remote terminal after connection with the relay terminal is reestablished.
Optionally, in some embodiments, the remote terminal sends indication information to the relay terminal, where the indication information is used to indicate that the remote terminal no longer uses the relay terminal to access the network.
Optionally, in some embodiments, in case that the remote terminal no longer uses the relay terminal to access the network, the remote terminal deletes the context information of the remote terminal that it maintains.
Therefore, in the embodiment of the present application, after the connection between the relay terminal and the remote terminal is disconnected, the remote terminal reestablishes the connection with the relay terminal according to the trigger of the relay terminal. Namely, the application server of the remote terminal end-to-end or the terminal equipment of the opposite terminal can actively interact with the remote terminal, thereby expanding the service use scene of the remote terminal accessing the network through the relay terminal and improving the user experience.
The technical scheme in the present application is detailed below by examples 1 to 4.
Example 1
In embodiment 1, after a remote terminal accesses a 5G network through a relay terminal, the relay terminal stores context information of the remote terminal. After the PC5 connection between the remote terminal and the relay terminal is disconnected, the relay terminal continues to maintain the context information of the remote terminal. After receiving the downlink data targeted to the remote terminal, the relay terminal initiates connection reestablishment of the PC5 to the remote terminal. Specifically, as shown in fig. 5, the technical solution of the present embodiment is implemented based on the following steps 1101 to 1111.
Step 1101, the remote terminal establishes connection with the PC5 of the relay terminal, and through the step, the relay terminal acquires the identification of the remote terminal. The identifier of the remote terminal specifically includes: the application layer user identification of the remote terminal, and/or the network layer identification of the remote terminal for network routing (for example, layer-2 address information for PC5 communication), and/or the application layer information (for example, application identification or application type, etc.) of the interactive service.
Step 1102, the relay terminal establishes or modifies a PDU session for transmitting the service data of the remote terminal.
And 1103, the relay terminal allocates the IP address information for data transmission, such as the IP address, the port number, the IP prefix and other information, to the remote terminal.
And 1104, the relay terminal stores the context information of the remote terminal, wherein the context information comprises the application layer identification of the remote terminal and/or the near field communication terminal identification of the remote terminal. Optionally, the context information of the remote terminal further includes application information (application identifier or application type, etc.), and IP address information allocated to the remote terminal. Optionally, the near field communication terminal identification of the far-end terminal may include, but is not limited to, at least one of the following: network layer identification, link layer identification, near field communication layer 2(layer-2) address.
And step 1105, the relay terminal sends the identification and the IP address information of the remote terminal to the SMF entity of the core network, and informs the network that the remote terminal accesses the network through the relay terminal.
Step 1106, the PC5 connection between the remote terminal and the relay terminal is disconnected, and the reason for the disconnection may be that the remote terminal actively triggers, or the relay terminal actively triggers the PC5 connection release, or the hidden PC5 connection is disconnected because the radio quality is poor or the remote terminal has no signaling trigger after leaving the coverage of the relay terminal. The relay terminal continues to maintain the context information of the remote terminal after judging that the PC5 of the remote terminal is disconnected, and continues to maintain the PDU session established for the remote terminal to transmit data in step 1102.
After that, if the core network receives the downlink data or the downlink data notification message sent to the remote terminal, the core network will also continue to send to the relay terminal. For example, if the relay terminal is in a connected state, the PDU session established through step 1102 is sent to the relay terminal; if the relay terminal is in the idle state, the relay terminal responds to the paging and initiates a corresponding flow to convert into the connection state in a paging mode, and then the network sends downlink data or a downlink data notification message sent to the remote terminal to the relay terminal through the PDU session established in step 1102.
Step 1107, the relay terminal determines which remote terminal the data packet is sent to according to the received downlink data or downlink data notification message sent to the remote terminal, for example, the relay terminal may determine to which remote terminal the data packet is sent according to the information such as the IP address port number or the IP prefix of the data packet header of the received downlink data, and the relay terminal determines the near field communication terminal identifier of the remote terminal according to the context of the remote terminal stored in the relay terminal.
Step 1108, the relay terminal initiates establishment of PC5 connection to the remote terminal, for example, sending a direct communication establishment request targeting the layer-2 address of the remote terminal, optionally, the relay terminal may further include application layer identifier of the remote terminal and/or application information and/or IP address information allocated to the remote terminal in step 3, and these information may be sent to the remote terminal in a direct communication establishment request message, or may be sent to the remote terminal through a separate signaling.
Optionally, before the relay terminal initiates establishment of the PC5 connection to the remote terminal, the relay terminal may further broadcast a discovery request message, where the discovery request message carries an application layer identifier and/or application information of the remote terminal, to discover the remote terminal. And the remote terminal responds the near field communication terminal identification to the relay terminal after monitoring the discovery request message matched with the remote terminal.
After the PC5 connection between the relay terminal and the remote terminal is reestablished, the relay terminal transmits downlink data or a downlink data notification message to the remote terminal.
Step 1109, after the PC5 connection between the remote terminal and the relay terminal is disconnected, the relay terminal can determine whether the remote terminal no longer uses the relay terminal to access the network. The judging method includes, but is not limited to, the following examples: for example, a timer is set on the relay terminal, the timer is started or restarted after the PC5 is disconnected, and the remote terminal is considered to no longer use the relay terminal to access the network when the timer is over. For another example, the relay terminal periodically performs a broadcast discovery request from the PC5 interface to the remote terminal, and determines whether the remote terminal no longer uses the relay terminal access network according to whether the response message can be received.
And step 1110, after the relay terminal judges that the remote terminal no longer uses the relay terminal to access the network, deleting the context information of the remote terminal stored by the relay terminal.
And 1111, after the relay terminal judges that the remote terminal no longer uses the relay terminal to access the network, notifying the core network of the departure of the remote terminal so as to release the PDU session established for the data transmission of the remote terminal in the step 1102.
Example 2
The difference between embodiment 2 and embodiment 1 is that after receiving the downlink data or the downlink data notification message sent to the remote terminal, the relay terminal broadcasts a notification message, which includes the application layer identifier and/or the application information of the remote terminal and/or the indication of initiating the PC5 connection, to notify the remote terminal to initiate the establishment of the PC5 connection to the relay terminal. Specifically, as shown in fig. 6, the technical solution of the present embodiment is implemented based on the following steps 1201 to 1212. In addition, the notification message in this embodiment is the same as the notification information described above.
Steps 1201-1207 are the same as step 1101-1107 described above in example 1.
Step 1208, the relay terminal broadcasts a notification message including the remote terminal application layer identification and/or application information and/or an indication to initiate the PC5 connection. Optionally, the notification message further includes a message association identifier. The notification message is used to notify the remote terminal to initiate the establishment of the PC5 connection to the relay terminal.
Step 1209, the remote terminal initiates establishment of PC5 connection to the relay terminal, that is, the remote terminal sends a direct communication establishment request to the relay terminal, where the direct communication establishment request carries an application layer identifier of the remote terminal and/or a near field communication terminal identifier of the remote terminal and/or the application information included in the broadcast notification message, or carries a message association identifier received in step 1208, where the message association identifier is used to associate the notification information with the direct communication establishment request. The relay terminal determines to continue to assign the IP address information assigned to the remote terminal in step 1203 to the remote terminal according to the received identifier and/or application information of the remote terminal, or the relay terminal may determine to continue to assign the IP address information assigned to the remote terminal in step 1203 to the remote terminal according to the received message association identifier.
After the PC5 connection between the relay terminal and the remote terminal is reestablished, the relay terminal transmits the downlink data or a downlink data notification message to the remote terminal.
Steps 1210-1212 are the same as steps 1109-1111 of example 1 above.
Example 3
Embodiment 3 is different from embodiment 1 in that the remote terminal stores context information of itself including an application layer identifier of the remote terminal and/or a near field communication terminal identifier of the remote terminal after establishing a PC5 connection with the relay terminal. Optionally, the context information further includes application information (application identifier or application type, etc.), and IP address information assigned to the remote terminal. Optionally, the near field communication terminal identification of the far-end terminal may include, but is not limited to, at least one of the following: network layer identification, link layer identification, near field communication layer 2(layer-2) address. After the PC5 is disconnected, the remote terminal continues to save its own context information. After receiving the establishment of the connection of the PC5 initiated by the relay terminal, the IP address stored by the relay terminal is directly used. When the remote terminal needs to leave the relay terminal, a leave notification can be actively sent to the relay terminal. Specifically, as shown in fig. 7, the technical solution of the present embodiment is implemented based on the following steps 1301 to 1312.
Steps 1301-.
Step 1307, the remote terminal continues to save its own context information after the PC5 is disconnected, wherein the context information includes the application layer identifier of the remote terminal and/or the near field communication terminal identifier of the remote terminal. Optionally, the context information further includes application information (application identifier or application type, etc.), and IP address information assigned to the remote terminal.
Step 1308 is the same as step 1107 in embodiment 1 described above.
Step 1309 is the same as step 1108 in embodiment 1 described above, but may not include IP address information.
Step 1310, when the remote terminal determines that the network is no longer required to be accessed from the relay terminal, the remote terminal sends an indication to the relay terminal that the network is no longer accessed through the relay terminal.
Step 1311-1312 is the same as step 1110-1111 of example 1.
Example 4
Embodiment 4 is different from embodiment 3 in that after the relay terminal receives the downlink data or the downlink data notification message sent to the remote terminal, the relay terminal broadcasts a notification message, which includes the application layer identifier and/or the application information of the remote terminal and/or the indication of initiating the PC5 connection, to notify the remote terminal to initiate the establishment of the PC5 connection to the relay terminal. Specifically, as shown in fig. 8, the technical solution of the present embodiment is implemented based on the following steps 1401 to 1413.
The steps 1401-1408 are the same as the steps 1301-1308 in the above embodiment 3; step 1409-1410 is the same as step 1208-1209 of the above-mentioned embodiment 2; the steps 1411-1413 are the same as the steps 1310-1312 described in the above embodiment 3.
While method embodiments of the present application are described in detail above with reference to fig. 3-8, apparatus embodiments of the present application are described in detail below with reference to fig. 9-13, it being understood that apparatus embodiments correspond to method embodiments and that similar descriptions may be had with reference to method embodiments.
Fig. 9 shows a schematic block diagram of a terminal device 400 according to an embodiment of the application. As shown in fig. 9, the terminal device 400 is a relay terminal, and the terminal device 400 includes: the processing unit 410 may, among other things,
after the connection between the relay terminal and the remote terminal is disconnected, and the relay terminal receives downlink data targeted to the remote terminal or the relay terminal receives a downlink data notification message targeted to the remote terminal, the processing unit 410 is configured to trigger reestablishment of the connection with the remote terminal.
Optionally, in case the connection between the relay terminal and the remote terminal is disconnected, the processing unit 410 is further configured to continue to maintain context information of the remote terminal and/or a PDU session for transmitting data for the remote terminal.
Optionally, the context information of the remote terminal includes at least one of the following information:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
Optionally, the terminal device 400 further includes: the communication unit 420 may, among other things,
the communication unit 420 is configured to send a direct communication setup request targeting the remote terminal, where the direct communication setup request is used to request to reestablish a connection between the relay terminal and the remote terminal.
Optionally, the direct communication setup request comprises at least one of:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
Optionally, the terminal device 400 further includes: the communication unit 420 may, among other things,
the communication unit 420 is configured to send first information targeted to the remote terminal, where the first information includes at least one of the following information for the remote terminal:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
Alternatively, before the communication unit 420 sends the direct communication setup request,
the communication unit 420 is further configured to broadcast first discovery request information for discovering the remote terminal, where the first discovery request information includes an application layer identifier and/or application information of the remote terminal;
the communication unit 420 is further configured to receive response information for the first discovery request information broadcast by the remote terminal, where the response information for the first discovery request information includes a near field communication terminal identifier of the remote terminal.
Optionally, the terminal device 420 further includes: the communication unit 420 may, among other things,
the communication unit 420 is further configured to broadcast notification information to the remote device, where the notification information is used to trigger the remote terminal to initiate connection reestablishment with the relay terminal.
Optionally, the communication unit 420 is further configured to receive a direct communication setup request sent by the remote terminal, where the direct communication setup request is used to request to reestablish a connection between the relay terminal and the remote terminal.
Optionally, the notification information includes at least one of the following information:
the application layer identifier of the remote terminal, the near field communication terminal identifier of the remote terminal, the application information, the indication information for triggering the remote terminal to establish the connection with the relay terminal, and the message association identifier for associating the notification message with the direct communication establishment request sent by the remote terminal.
Optionally, if the direct communication establishment request includes the application layer identifier of the remote terminal and/or the near field communication terminal identifier of the remote terminal and/or the application information, the processing unit is further configured to determine to continue to allocate, to the remote terminal, the corresponding IP address stored in the context information of the remote terminal according to the application layer identifier of the remote terminal and/or the near field communication terminal identifier of the remote terminal and/or the application information; or,
if the direct communication establishment request includes the message association identifier, the processing unit is further configured to determine to continue to allocate, to the remote terminal, the corresponding IP address stored in the context information of the remote terminal according to the application layer identifier of the remote terminal and/or the near field communication terminal identifier of the remote terminal and/or the application information in the notification message corresponding to the message association identifier.
Optionally, the terminal device 400 further includes: the communication unit 420 may, among other things,
after the connection with the remote terminal is reestablished, the communication unit 420 is configured to send the downlink data to the remote terminal.
Optionally, the processing unit 410 is further configured to determine whether the remote terminal no longer uses the relay terminal access network.
Optionally, the processing unit 410 is specifically configured to:
starting or restarting a timer after the connection between the relay terminal and the remote terminal is disconnected;
if the remote terminal continues to use the relay terminal to access the network during the working period of the timer; if the timer is overtime, the remote terminal is judged not to use the relay terminal to access the network any more.
Optionally, the timer is preconfigured, or the timer is preconfigured or indicated by the network device, or the timer is agreed between the relay terminal and the remote terminal.
Optionally, the terminal device further includes: the communication unit 420 may, among other things,
the communication unit 420 is configured to periodically broadcast second discovery request information to the remote terminal after the connection between the relay terminal and the remote terminal is disconnected;
if the response message to the second discovery request message is received, the processing unit 410 is further configured to determine that the remote terminal continues to use the relay terminal to access the network; if the response message to the second discovery request message is not received, the processing unit 410 is further configured to determine that the remote terminal no longer uses the relay terminal to access the network.
Optionally, the terminal device 400 further includes: the communication unit(s) 420 are,
the communication unit 420 is configured to receive indication information sent by the remote terminal, where the indication information is used to indicate that the remote terminal no longer uses the relay terminal to access the network.
Optionally, the processing unit 410 is further configured to delete the context information of the remote terminal that it holds in case the remote terminal no longer uses the relay terminal to access the network.
Optionally, in a case that the remote terminal no longer uses the relay terminal to access the network, the processing unit 410 is further configured to notify the core network that the remote terminal has left, so as to release the PDU session for transmitting data for the remote terminal.
Optionally, the connection between the remote terminal and the relay terminal is a PC5 connection.
Optionally, in some embodiments, the communication unit may be a communication interface or a transceiver, or an input/output interface of a communication chip or a system on a chip. The processing unit may be one or more processors.
It should be understood that the terminal device 400 according to the embodiment of the present application may correspond to a relay terminal in the embodiment of the method of the present application, and the above and other operations and/or functions of each unit in the terminal device 400 are respectively for implementing a corresponding flow of the relay terminal in the method 200 shown in fig. 3, and are not described herein again for brevity.
Fig. 10 shows a schematic block diagram of a terminal device 500 according to an embodiment of the application. As shown in fig. 10, the terminal device 500 is a remote terminal, and the terminal device 500 includes: a processing unit 510 for, among other things,
after the connection between the relay terminal and the remote terminal is disconnected, the processing unit 510 is configured to reestablish the connection with the relay terminal according to the trigger of the relay terminal.
Optionally, the processing unit 510 is further configured to continue to maintain the context information of the remote terminal in case the connection between the relay terminal and the remote terminal is disconnected.
Optionally, the context information of the remote terminal includes at least one of the following information:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
Optionally, the terminal device 500 further includes: the communication unit 520 may, among other things,
the communication unit 520 is configured to receive a direct communication setup request targeting the remote terminal sent by the relay terminal, where the direct communication setup request is used to request to reestablish a connection between the relay terminal and the remote terminal.
Optionally, the direct communication setup request comprises at least one of:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
Optionally, the communication unit 520 is further configured to receive first information, which is sent by the relay terminal and is targeted at the remote terminal, where the first information includes at least one of the following:
the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
Optionally, before the communication unit 520 receives the direct communication setup request,
the communication unit 520 is further configured to receive first discovery request information broadcasted by the relay terminal for discovering the remote terminal, where the first discovery request information includes an application layer identifier and/or application information of the remote terminal;
the communication unit 520 is further configured to broadcast response information to the relay terminal for the first discovery request information, the response information for the first discovery request information including the near field communication terminal identification of the far-end terminal.
Optionally, the terminal device 500 further includes: the communication unit(s) 520,
the communication unit 520 is configured to receive notification information broadcasted by the relay terminal, where the notification information is used to trigger the remote terminal to initiate connection reestablishment with the relay terminal;
the communication unit 520 is further configured to send a direct communication setup request to the relay terminal, where the direct communication setup request is used to request to reestablish a connection between the relay terminal and the remote terminal.
Optionally, the notification information includes at least one of the following information:
the application layer identifier of the remote terminal, the near field communication terminal identifier of the remote terminal, the application information, the indication information for triggering the remote terminal to establish the connection with the relay terminal, and the message association identifier for associating the notification message with the direct communication establishment request sent by the remote terminal.
Optionally, the direct communication establishment request includes an application layer identifier of the remote terminal and/or a near field communication terminal identifier of the remote terminal and/or the application information; or,
the direct communication establishment request comprises the message association identifier, and the message association identifier is used for associating the notification information with the direct communication establishment request.
Optionally, the processing unit 510 is further configured to continue to use the corresponding IP address stored in the context information of the remote terminal after the connection with the relay terminal is reestablished.
Optionally, the terminal device 500 further includes: the communication unit(s) 520,
the communication unit 520 is configured to receive downlink data targeted for the remote terminal after connection with the relay terminal is reestablished.
Optionally, the terminal device 500 further includes: the communication unit(s) 520,
the communication unit 520 is configured to send indication information to the relay terminal, where the indication information is used to indicate that the remote terminal no longer uses the relay terminal to access the network.
Optionally, the processing unit 510 is further configured to delete the context information of the remote terminal that it holds in case the remote terminal no longer uses the relay terminal to access the network.
Optionally, the connection between the remote terminal and the relay terminal is a PC5 connection.
Optionally, in some embodiments, the communication unit may be a communication interface or a transceiver, or an input/output interface of a communication chip or a system on a chip. The processing unit may be one or more processors.
It should be understood that the terminal device 500 according to the embodiment of the present application may correspond to a remote terminal in the embodiment of the method of the present application, and the above and other operations and/or functions of each unit in the terminal device 500 are respectively for implementing a corresponding flow of the remote terminal in the method 300 shown in fig. 4, and are not described herein again for brevity.
Fig. 11 is a schematic structural diagram of a communication device 600 according to an embodiment of the present application. The communication device 600 shown in fig. 11 includes a processor 610, and the processor 610 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
Optionally, as shown in fig. 11, the communication device 600 may further include a memory 620. From the memory 620, the processor 610 may call and run a computer program to implement the method in the embodiment of the present application.
The memory 620 may be a separate device from the processor 610, or may be integrated into the processor 610.
Optionally, as shown in fig. 11, the communication device 600 may further include a transceiver 630, and the processor 610 may control the transceiver 630 to communicate with other devices, and specifically, may transmit information or data to the other devices or receive information or data transmitted by the other devices.
The transceiver 630 may include a transmitter and a receiver, among others. The transceiver 630 may further include antennas, and the number of antennas may be one or more.
Optionally, the communication device 600 may specifically be a relay terminal in the embodiment of the present application, and the communication device 600 may implement a corresponding procedure implemented by the relay terminal in each method in the embodiment of the present application, which is not described herein again for brevity.
Optionally, the communication device 600 may specifically be a remote terminal in this embodiment, and the communication device 600 may implement a corresponding process implemented by the remote terminal in each method in this embodiment, which is not described herein again for brevity.
Fig. 12 is a schematic structural view of an apparatus of an embodiment of the present application. The apparatus 700 shown in fig. 12 includes a processor 710, and the processor 710 can call and run a computer program from a memory to implement the method in the embodiment of the present application.
Optionally, as shown in fig. 12, the apparatus 700 may further include a memory 720. From the memory 720, the processor 710 can call and run a computer program to implement the method in the embodiment of the present application.
The memory 720 may be a separate device from the processor 710, or may be integrated into the processor 710.
Optionally, the apparatus 700 may further comprise an input interface 730. The processor 710 may control the input interface 730 to communicate with other devices or chips, and in particular, may obtain information or data transmitted by other devices or chips.
Optionally, the apparatus 700 may further comprise an output interface 740. The processor 710 may control the output interface 740 to communicate with other devices or chips, and in particular, may output information or data to the other devices or chips.
Optionally, the apparatus may be applied to the relay terminal in the embodiment of the present application, and the apparatus may implement the corresponding process implemented by the relay terminal in each method in the embodiment of the present application, and for brevity, details are not described here again.
Optionally, the apparatus may be applied to the remote terminal in this embodiment, and the apparatus may implement the corresponding process implemented by the remote terminal in each method in this embodiment, and for brevity, details are not described here again.
Alternatively, the device mentioned in the embodiments of the present application may also be a chip. For example, it may be a system-on-chip, a system-on-chip or a system-on-chip, etc.
Fig. 13 is a schematic block diagram of a communication system 800 provided in an embodiment of the present application. As shown in fig. 13, the communication system 800 includes a remote terminal 810, a relay terminal 820, and a network device 830.
The remote terminal 810 may be configured to implement the corresponding function implemented by the remote terminal in the foregoing method, and the relay terminal 820 may be configured to implement the corresponding function implemented by the relay terminal in the foregoing method, for brevity, which is not described herein again.
It should be understood that the processor of the embodiments of the present application may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method embodiments may be performed by integrated logic circuits of hardware in a processor or instructions in the form of software. The Processor may be a general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off the shelf Programmable Gate Array (FPGA) or other Programmable logic device, discrete Gate or transistor logic, discrete hardware components. The various methods, steps, and logic blocks disclosed in the embodiments of the present application may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory, and a processor reads information in the memory and completes the steps of the method in combination with hardware of the processor.
It will be appreciated that the memory in the embodiments of the subject application can be either volatile memory or nonvolatile memory, or can include both volatile and nonvolatile memory. The non-volatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable PROM (EEPROM), or a flash Memory. Volatile Memory can be Random Access Memory (RAM), which acts as external cache Memory. By way of example, but not limitation, many forms of RAM are available, such as Static random access memory (Static RAM, SRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic random access memory (Synchronous DRAM, SDRAM), Double Data Rate Synchronous Dynamic random access memory (DDR SDRAM), Enhanced Synchronous SDRAM (ESDRAM), Synchronous link SDRAM (SLDRAM), and Direct Rambus RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to comprise, without being limited to, these and any other suitable types of memory.
It should be understood that the above memories are exemplary but not limiting, for example, the memories in the embodiments of the present application may also be static random access memory (static RAM, SRAM), dynamic random access memory (dynamic RAM, DRAM), synchronous dynamic random access memory (synchronous DRAM, SDRAM), double data rate synchronous dynamic random access memory (DDR SDRAM), enhanced synchronous SDRAM (ESDRAM), Synchronous Link DRAM (SLDRAM), Direct Rambus RAM (DR RAM), and the like. That is, the memory in the embodiments of the present application is intended to comprise, without being limited to, these and any other suitable types of memory.
The embodiment of the application also provides a computer readable storage medium for storing the computer program.
Optionally, the computer-readable storage medium may be applied to the relay terminal in the embodiment of the present application, and the computer program enables the computer to execute the corresponding process implemented by the relay terminal in each method in the embodiment of the present application, which is not described herein again for brevity.
Optionally, the computer-readable storage medium may be applied to the remote terminal in the embodiment of the present application, and the computer program enables the computer to execute the corresponding process implemented by the remote terminal in each method in the embodiment of the present application, which is not described herein again for brevity.
Embodiments of the present application also provide a computer program product comprising computer program instructions.
Optionally, the computer program product may be applied to the relay terminal in the embodiment of the present application, and the computer program instructions enable the computer to execute the corresponding process implemented by the relay terminal in each method in the embodiment of the present application, which is not described herein again for brevity.
Optionally, the computer program product may be applied to the remote terminal in the embodiment of the present application, and the computer program instructions enable the computer to execute the corresponding processes implemented by the remote terminal in the methods in the embodiment of the present application, which are not described herein again for brevity.
The embodiment of the application also provides a computer program.
Optionally, the computer program may be applied to the relay terminal in the embodiment of the present application, and when the computer program runs on a computer, the computer is enabled to execute a corresponding process implemented by the relay terminal in each method in the embodiment of the present application, and for brevity, details are not described here again.
Optionally, the computer program may be applied to the remote terminal in the embodiment of the present application, and when the computer program runs on a computer, the computer is enabled to execute a corresponding process implemented by the remote terminal in each method in the embodiment of the present application, which is not described herein again for brevity.
Those of ordinary skill in the art will appreciate that the various illustrative elements and algorithm steps described in connection with the embodiments disclosed herein may be implemented as electronic hardware or combinations of computer software and electronic hardware. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a computer readable storage medium. With regard to such understanding, the technical solutions of the present application may be essentially implemented or contributed to by the prior art, or may be implemented in a software product stored in a storage medium and including instructions for causing a computer device (which may be a personal computer, a server, or a network device) to perform all or part of the steps of the method according to the embodiments of the present application. And the aforementioned storage medium includes: various media capable of storing program codes, such as a usb disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk, or an optical disk.
The above description is only for the specific embodiments of the present application, but the scope of the present application is not limited thereto, and any person skilled in the art can easily think of the changes or substitutions within the technical scope of the present application, and shall be covered by the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (80)

  1. A method of wireless communication, comprising:
    after the connection between the relay terminal and the remote terminal is disconnected, and the relay terminal receives downlink data targeted to the remote terminal or receives a downlink data notification message targeted to the remote terminal, the relay terminal triggers the reestablishment of the connection with the remote terminal.
  2. The method of claim 1, further comprising:
    and under the condition that the connection between the relay terminal and the remote terminal is disconnected, the relay terminal continuously maintains the context information of the remote terminal and/or the Protocol Data Unit (PDU) conversation used for transmitting data for the remote terminal.
  3. The method of claim 2, wherein the context information of the remote terminal comprises at least one of the following information:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the internet protocol IP address distributed to the far-end terminal.
  4. The method according to any of claims 1 to 3, wherein the relay terminal triggering the reestablishment of the connection with the remote terminal comprises:
    the relay terminal sends a direct communication establishment request targeting the remote terminal, the direct communication establishment request being used for requesting to reestablish the connection between the relay terminal and the remote terminal.
  5. The method of claim 4, wherein the direct communication setup request comprises at least one of:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
  6. The method of claim 4, further comprising:
    the relay terminal transmits first information targeted to the remote terminal, wherein the first information comprises at least one of the following information for the remote terminal:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
  7. The method according to any of claims 4 to 6, wherein prior to sending the direct communication setup request, the method further comprises:
    the relay terminal broadcasts first discovery request information for discovering the remote terminal, wherein the first discovery request information comprises an application layer identifier and/or application information of the remote terminal;
    and the relay terminal receives response information aiming at the first discovery request information broadcasted by the far-end terminal, wherein the response information aiming at the first discovery request information comprises a near field communication terminal identification of the far-end terminal.
  8. The method according to any of claims 1 to 3, wherein the relay terminal triggering the reestablishment of the connection with the remote terminal comprises:
    and the relay terminal broadcasts notification information to the remote terminal equipment, wherein the notification information is used for triggering the remote terminal to initiate connection reestablishment with the relay terminal.
  9. The method of claim 8, further comprising:
    and the relay terminal receives a direct communication establishment request sent by the remote terminal, wherein the direct communication establishment request is used for requesting to reestablish the connection between the relay terminal and the remote terminal.
  10. The method of claim 9, wherein the notification information comprises at least one of the following information:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information, the indication information used for triggering the far-end terminal to establish the connection with the relay terminal, and the message association identification used for associating the notification message with the direct communication establishment request sent by the far-end terminal.
  11. The method of claim 10, further comprising:
    if the direct communication establishment request comprises the application layer identifier of the far-end terminal and/or the near field communication terminal identifier of the far-end terminal and/or the application information, the relay terminal determines to continuously allocate a corresponding IP address stored in the context information of the far-end terminal to the far-end terminal according to the application layer identifier of the far-end terminal and/or the near field communication terminal identifier of the far-end terminal and/or the application information; or,
    if the direct communication establishment request comprises the message association identifier, the relay terminal determines to continuously allocate the corresponding IP address stored in the context information of the remote terminal to the remote terminal according to the application layer identifier of the remote terminal and/or the near field communication terminal identifier of the remote terminal and/or the application information in the notification message corresponding to the message association identifier.
  12. The method according to any one of claims 1 to 11, further comprising:
    and after the connection with the remote terminal is reestablished, the relay terminal sends the downlink data to the remote terminal.
  13. The method according to any one of claims 1 to 12, further comprising:
    and the relay terminal judges whether the remote terminal no longer uses the relay terminal access network.
  14. The method of claim 13, wherein the determining, by the relay terminal, whether the remote terminal is no longer using the relay terminal to access the network comprises:
    after the connection between the relay terminal and the remote terminal is disconnected, the relay terminal starts or restarts a timer;
    if the relay terminal judges that the remote terminal continues to use the relay terminal to access the network during the working period of the timer; and if the timer is overtime, the relay terminal judges that the remote terminal does not use the relay terminal access network any more.
  15. The method of claim 14, wherein the timer is preconfigured, or is preconfigured or indicated by a network device, or is agreed between the relay terminal and the remote terminal.
  16. The method of claim 13, wherein the determining, by the relay terminal, whether the remote terminal is no longer using the relay terminal to access the network comprises:
    after the connection between the relay terminal and the remote terminal is disconnected, the relay terminal periodically broadcasts second discovery request information to the remote terminal;
    if response information aiming at the second discovery request information is received, the relay terminal judges that the remote terminal continues to use the relay terminal to access the network; and if the response information aiming at the second discovery request information is not received, the relay terminal judges that the remote terminal does not use the relay terminal to access the network any more.
  17. The method according to any one of claims 1 to 13, further comprising:
    and the relay terminal receives indication information sent by the remote terminal, wherein the indication information is used for indicating that the remote terminal does not use the relay terminal to access the network any more.
  18. The method according to any one of claims 13 to 17, further comprising:
    and under the condition that the remote terminal no longer uses the relay terminal to access the network, the relay terminal deletes the context information of the remote terminal, which is kept by the relay terminal.
  19. The method according to any one of claims 13 to 18, further comprising:
    and under the condition that the remote terminal no longer uses the relay terminal to access the network, the relay terminal informs a core network that the remote terminal leaves so as to release the PDU session for transmitting data for the remote terminal.
  20. The method according to any of claims 1 to 19, wherein the connection between the remote terminal and the relay terminal is a PC5 connection.
  21. A method of wireless communication, comprising:
    after the connection between the relay terminal and the remote terminal is disconnected, the remote terminal reestablishes the connection with the relay terminal according to the triggering of the relay terminal.
  22. The method of claim 21, further comprising:
    and under the condition that the connection between the relay terminal and the remote terminal is disconnected, the remote terminal continuously maintains the context information of the remote terminal.
  23. The method of claim 22, wherein the context information of the remote terminal comprises at least one of the following information:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the internet protocol IP address distributed to the far-end terminal.
  24. The method according to any of claims 21 to 23, wherein the remote terminal reestablishes the connection with the relay terminal according to the trigger of the relay terminal, comprising:
    and the remote terminal receives a direct communication establishment request which is sent by the relay terminal and aims at the remote terminal, wherein the direct communication establishment request is used for requesting to reestablish the connection between the relay terminal and the remote terminal.
  25. The method of claim 24, wherein the direct communication setup request comprises at least one of:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the internet protocol IP address distributed to the far-end terminal.
  26. The method of claim 24, further comprising:
    the remote terminal receives first information which is sent by the relay terminal and aims at the remote terminal, wherein the first information comprises at least one of the following information:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
  27. The method according to any of claims 24 to 26, wherein prior to receiving the direct communication setup request, the method further comprises:
    the remote terminal receives first discovery request information broadcasted by the relay terminal and used for discovering the remote terminal, wherein the first discovery request information comprises an application layer identifier and/or application information of the remote terminal;
    and the remote terminal broadcasts response information aiming at the first finding request information to the relay terminal, wherein the response information aiming at the first finding request information comprises a near field communication terminal identification of the remote terminal.
  28. The method according to any of claims 21 to 23, wherein the remote terminal reestablishes the connection with the relay terminal according to the trigger of the relay terminal, comprising:
    the remote terminal equipment receives notification information broadcasted by the relay terminal, wherein the notification information is used for triggering the remote terminal to initiate connection reestablishment with the relay terminal;
    and the remote terminal sends a direct communication establishment request to the relay terminal, wherein the direct communication establishment request is used for requesting to reestablish the connection between the relay terminal and the remote terminal.
  29. The method of claim 28, wherein the notification information comprises at least one of the following information:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information, the indication information used for triggering the far-end terminal to establish the connection with the relay terminal, and the message association identification used for associating the notification message with the direct communication establishment request sent by the far-end terminal.
  30. The method of claim 28 or 29,
    the direct communication establishing request comprises an application layer identifier of the far-end terminal and/or a near field communication terminal identifier of the far-end terminal and/or the application information; or,
    the direct communication establishment request comprises the message association identifier, and the message association identifier is used for associating the notification information with the direct communication establishment request.
  31. The method of any one of claims 24 to 30, further comprising:
    and after the connection between the remote terminal and the relay terminal is reestablished, the remote terminal continues to use the corresponding IP address stored in the context information of the remote terminal.
  32. The method of any one of claims 21 to 31, further comprising:
    and the remote terminal receives downlink data which aims at the remote terminal after the connection between the remote terminal and the relay terminal is reestablished.
  33. The method of any one of claims 21 to 32, further comprising:
    and the remote terminal sends indication information to the relay terminal, wherein the indication information is used for indicating that the remote terminal does not use the relay terminal to access the network any more.
  34. The method of any one of claims 21 to 33, further comprising:
    and under the condition that the remote terminal no longer uses the relay terminal to access the network, the remote terminal deletes the context information of the remote terminal kept by the remote terminal.
  35. The method according to any of claims 21 to 34, wherein the connection between the remote terminal and the relay terminal is a PC5 connection.
  36. A terminal device, wherein the terminal device is a relay terminal, and the terminal device includes: and the processing unit is used for triggering the reestablishment of the connection between the relay terminal and the remote terminal under the condition that the relay terminal receives the downlink data aiming at the remote terminal or the relay terminal receives the downlink data notification message aiming at the remote terminal after the connection between the relay terminal and the remote terminal is disconnected.
  37. The terminal device of claim 36,
    the processing unit is further configured to continue to maintain context information of the remote terminal and/or a protocol data unit, PDU, session used for transmitting data for the remote terminal, in case that the connection between the relay terminal and the remote terminal is disconnected.
  38. The terminal device of claim 37, wherein the context information of the remote terminal comprises at least one of the following information:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the internet protocol IP address distributed to the far-end terminal.
  39. The terminal device according to any of claims 36 to 38, characterized in that the terminal device further comprises a communication unit,
    the communication unit is configured to send a direct communication setup request targeting the remote terminal, where the direct communication setup request is used to request to reestablish a connection between the relay terminal and the remote terminal.
  40. The terminal device of claim 39, wherein the direct communication setup request comprises at least one of:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
  41. The terminal device of claim 39, wherein the terminal device further comprises: a communication unit for communicating with the mobile station via the wireless communication unit,
    the communication unit is configured to send first information targeted to the remote terminal, where the first information includes at least one of the following information for the remote terminal:
    the system comprises a remote terminal, an application layer identifier of the remote terminal, a near field communication terminal identifier of the remote terminal, application information and an IP address distributed to the remote terminal.
  42. The terminal device according to any of claims 39 to 41, wherein, before the communication unit sends the direct communication setup request,
    the communication unit is further configured to broadcast first discovery request information for discovering the remote terminal, where the first discovery request information includes an application layer identifier and/or application information of the remote terminal;
    the communication unit is further configured to receive response information for the first discovery request information broadcast by the remote terminal, where the response information for the first discovery request information includes a near field communication terminal identifier of the remote terminal.
  43. The terminal device according to any of claims 36 to 38, wherein the terminal device further comprises: a communication unit for communicating with the mobile station via the wireless communication unit,
    the communication unit is further configured to broadcast notification information to the remote device, where the notification information is used to trigger the remote terminal to initiate connection reestablishment with the relay terminal.
  44. The terminal device of claim 43,
    the communication unit is further configured to receive a direct communication setup request sent by the remote terminal, where the direct communication setup request is used to request to reestablish a connection between the relay terminal and the remote terminal.
  45. The terminal device of claim 44, wherein the notification information comprises at least one of the following information:
    the application layer identifier of the far-end terminal, the near field communication terminal identifier of the far-end terminal, the application information, the indication information for triggering the far-end terminal to establish the connection with the relay terminal, and the message association identifier for associating the notification message with the direct communication establishment request sent by the far-end terminal.
  46. The terminal device of claim 45,
    if the direct communication establishment request includes the application layer identifier of the remote terminal and/or the near field communication terminal identifier of the remote terminal and/or the application information, the processing unit is further configured to determine to continue to allocate, to the remote terminal, the corresponding IP address stored in the context information of the remote terminal according to the application layer identifier of the remote terminal and/or the near field communication terminal identifier of the remote terminal and/or the application information; or,
    if the direct communication establishment request includes the message association identifier, the processing unit is further configured to determine to continue to allocate, to the remote terminal, the corresponding IP address stored in the context information of the remote terminal according to the application layer identifier of the remote terminal and/or the near field communication terminal identifier of the remote terminal and/or the application information in the notification message corresponding to the message association identifier.
  47. The terminal device according to any of claims 36 to 46, wherein the terminal device further comprises: a communication unit for communicating with the mobile station via the wireless communication unit,
    after the connection with the remote terminal is reestablished, the communication unit is configured to send the downlink data to the remote terminal.
  48. The terminal device according to any of claims 36 to 47,
    the processing unit is further configured to determine whether the remote terminal no longer uses the relay terminal access network.
  49. The terminal device of claim 48, wherein the processing unit is specifically configured to:
    starting or restarting a timer after the connection between the relay terminal and the remote terminal is disconnected;
    if the remote terminal continues to use the relay terminal to access the network during the working period of the timer; and if the timer is overtime, judging that the remote terminal does not use the relay terminal to access the network any more.
  50. The terminal device of claim 49, wherein the timer is preconfigured, or is preconfigured or indicated by a network device, or is agreed between the relay terminal and the remote terminal.
  51. The terminal device according to claim 48, characterized in that the terminal device further comprises a communication unit,
    the communication unit is configured to periodically broadcast second discovery request information to the remote terminal after the connection between the relay terminal and the remote terminal is disconnected;
    if response information aiming at the second discovery request information is received, the processing unit is further used for judging that the remote terminal continues to use the relay terminal to access the network; if the response information aiming at the second discovery request information is not received, the processing unit is further used for judging that the remote terminal does not use the relay terminal to access the network any more.
  52. The terminal device according to any of claims 36 to 48, wherein the terminal device further comprises: the communication unit is provided with a communication unit,
    the communication unit is configured to receive indication information sent by the remote terminal, where the indication information is used to indicate that the remote terminal no longer uses the relay terminal to access the network.
  53. The terminal device of any one of claims 48 to 52,
    the processing unit is further configured to delete the context information of the remote terminal that it holds, in case the remote terminal no longer uses the relay terminal to access the network.
  54. The terminal device of any one of claims 48 to 53,
    and under the condition that the remote terminal no longer uses the relay terminal to access the network, the processing unit is further used for informing the core network that the remote terminal leaves so as to release the PDU session for transmitting data for the remote terminal.
  55. A terminal device according to any of claims 36 to 54, wherein the connection between the remote terminal and the relay terminal is a PC5 connection.
  56. A terminal device, wherein the terminal device is a remote terminal, the terminal device comprising: and the processing unit is used for reestablishing the connection with the relay terminal according to the triggering of the relay terminal after the connection between the relay terminal and the remote terminal is disconnected.
  57. The terminal device of claim 56,
    the processing unit is further configured to continue to maintain context information of the remote terminal in a case where the connection between the relay terminal and the remote terminal is disconnected.
  58. The terminal device of claim 57, wherein the context information of the remote terminal comprises at least one of:
    the system comprises a remote terminal, an application layer identifier of the remote terminal, a near field communication terminal identifier of the remote terminal, application information and an Internet Protocol (IP) address distributed to the remote terminal.
  59. The terminal device of any one of claims 56 to 58,
    the terminal device further includes: a communication unit for communicating with the mobile station via the wireless communication unit,
    the communication unit is configured to receive a direct communication establishment request, which is sent by the relay terminal and is targeted at the remote terminal, where the direct communication establishment request is used to request to reestablish a connection between the relay terminal and the remote terminal.
  60. The terminal device of claim 59, wherein the direct communication setup request comprises at least one of:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the internet protocol IP address distributed to the far-end terminal.
  61. The terminal device of claim 59,
    the communication unit is further configured to receive first information, which is sent by the relay terminal and is targeted to the remote terminal, where the first information includes at least one of:
    the application layer identification of the far-end terminal, the near field communication terminal identification of the far-end terminal, the application information and the IP address distributed to the far-end terminal.
  62. The terminal device according to any of claims 59 to 61, wherein, prior to the communication unit receiving the direct communication setup request,
    the communication unit is further configured to receive first discovery request information broadcasted by the relay terminal for discovering the remote terminal, where the first discovery request information includes an application layer identifier and/or application information of the remote terminal;
    the communication unit is further configured to broadcast response information to the relay terminal for the first discovery request information, the response information for the first discovery request information including a near field communication terminal identification of the far-end terminal.
  63. The terminal device of any one of claims 56 to 58,
    the terminal device further includes: the communication unit is provided with a communication unit,
    the communication unit is configured to receive notification information broadcasted by the relay terminal, where the notification information is used to trigger the remote terminal to initiate connection reestablishment with the relay terminal;
    the communication unit is further configured to send a direct communication setup request to the relay terminal, where the direct communication setup request is used to request to reestablish a connection between the relay terminal and the remote terminal.
  64. The terminal device of claim 63, wherein the notification information comprises at least one of the following information:
    the application layer identifier of the far-end terminal, the near field communication terminal identifier of the far-end terminal, the application information, the indication information for triggering the far-end terminal to establish the connection with the relay terminal, and the message association identifier for associating the notification message with the direct communication establishment request sent by the far-end terminal.
  65. The terminal device of claim 63 or 64,
    the direct communication establishing request comprises an application layer identifier of the far-end terminal and/or a near field communication terminal identifier of the far-end terminal and/or the application information; or,
    the direct communication establishment request comprises the message association identifier, and the message association identifier is used for associating the notification information with the direct communication establishment request.
  66. The terminal device of any one of claims 59 to 65,
    the processing unit is further configured to continue to use the corresponding IP address stored in the context information of the remote terminal after the connection with the relay terminal is reestablished.
  67. The terminal device according to any one of claims 56 to 66, wherein the terminal device further comprises: the communication unit is provided with a communication unit,
    the communication unit is configured to receive downlink data targeted for the remote terminal after connection with the relay terminal is reestablished.
  68. The terminal device according to any of claims 56-67, wherein the terminal device further comprises: a communication unit for communicating with the mobile station via the wireless communication unit,
    the communication unit is configured to send indication information to the relay terminal, where the indication information is used to indicate that the remote terminal no longer uses the relay terminal to access the network.
  69. The terminal device according to any of claims 56 to 68,
    the processing unit is further configured to delete the context information of the remote terminal that it holds, in case the remote terminal no longer uses the relay terminal to access the network.
  70. The terminal device according to any of claims 56 to 69, wherein the connection between the remote terminal and the relay terminal is a PC5 connection.
  71. A terminal device, comprising: a processor and a memory for storing a computer program, the processor being configured to invoke and execute the computer program stored in the memory to perform the method of any of claims 1 to 20.
  72. A terminal device, comprising: a processor and a memory for storing a computer program, the processor being adapted to invoke and execute the computer program stored in the memory to perform the method of any of claims 21 to 35.
  73. A chip, comprising: a processor for calling and running a computer program from a memory so that a device on which the chip is installed performs the method of any one of claims 1 to 20.
  74. A chip, comprising: a processor for calling and running a computer program from a memory so that a device on which the chip is installed performs the method of any one of claims 21 to 35.
  75. A computer-readable storage medium for storing a computer program which causes a computer to perform the method of any one of claims 1 to 20.
  76. A computer-readable storage medium for storing a computer program which causes a computer to perform the method of any one of claims 21 to 35.
  77. A computer program product comprising computer program instructions to cause a computer to perform the method of any one of claims 1 to 20.
  78. A computer program product comprising computer program instructions for causing a computer to perform the method of any one of claims 21 to 35.
  79. A computer program, characterized in that the computer program causes a computer to perform the method according to any one of claims 1 to 20.
  80. A computer program, characterized in that the computer program causes a computer to perform the method according to any of claims 21-35.
CN202080095032.8A 2020-04-24 2020-04-24 Wireless communication method and terminal device Pending CN115004848A (en)

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2020/086673 WO2021212465A1 (en) 2020-04-24 2020-04-24 Wireless communication method and terminal device

Publications (1)

Publication Number Publication Date
CN115004848A true CN115004848A (en) 2022-09-02

Family

ID=78270822

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202080095032.8A Pending CN115004848A (en) 2020-04-24 2020-04-24 Wireless communication method and terminal device

Country Status (2)

Country Link
CN (1) CN115004848A (en)
WO (1) WO2021212465A1 (en)

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9713072B2 (en) * 2013-07-29 2017-07-18 Htc Corporation Method of relay discovery and communication in a wireless communications system
CN106162676A (en) * 2015-03-25 2016-11-23 中兴通讯股份有限公司 A kind of equipment direct communication system relay state determines method and device
WO2017099833A1 (en) * 2015-12-11 2017-06-15 Intel IP Corporation Control plane enhancements over sidelink for low power devices
CN108307489A (en) * 2016-08-11 2018-07-20 中兴通讯股份有限公司 Information processing method, device, user equipment and base station

Also Published As

Publication number Publication date
WO2021212465A1 (en) 2021-10-28

Similar Documents

Publication Publication Date Title
JP6321027B2 (en) Method and apparatus for enabling D2D communication between user devices
CN115065988B (en) Relay transmission method, relay terminal and remote terminal
CN115669070A (en) Condition-based auxiliary node or main and auxiliary cell changing method and equipment
US20220248298A1 (en) Wireless communication method and terminal device
CN112425250B (en) Session establishment method, terminal device and network device
TW202005459A (en) Method for handling problem cell in mobile communications
WO2021226848A1 (en) Multicast downlink service notification method, terminal device and network device
KR20230028468A (en) Wireless communication method, terminal device and network apparatus
CN112602370A (en) Information transmission method and device and network equipment
WO2022011519A1 (en) Data transmission method and terminal device
WO2022126641A1 (en) Wireless communication method, terminal device, first access network device, and network element
CN113647128B (en) Wireless communication method, terminal device and network device
CN115004848A (en) Wireless communication method and terminal device
CN116530198A (en) Data transmission method, terminal equipment and network equipment
JP2020188501A (en) Wireless communication method and device
WO2022134070A1 (en) Wireless communication method, terminal device and network device
CN115175349B (en) Parameter setting method, parameter indicating method and terminal equipment
WO2022094804A1 (en) Wireless communication method, terminal device, and network device
US20230189087A1 (en) Communication method and communication apparatus
WO2022213264A1 (en) Terminal capability notification method, terminal device, and network device
WO2022147796A1 (en) Wireless communication method and terminal device
WO2022099475A1 (en) Session management method, terminal device and network device
WO2021203439A1 (en) Data transmission method, terminal device and network device
CN116097903A (en) Relay mode determining method and device
CN116349401A (en) Wireless communication method and terminal equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination