CN117295133A - Communication method and device - Google Patents

Communication method and device Download PDF

Info

Publication number
CN117295133A
CN117295133A CN202210701943.1A CN202210701943A CN117295133A CN 117295133 A CN117295133 A CN 117295133A CN 202210701943 A CN202210701943 A CN 202210701943A CN 117295133 A CN117295133 A CN 117295133A
Authority
CN
China
Prior art keywords
core network
network function
terminal
indication information
relay device
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
CN202210701943.1A
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202210701943.1A priority Critical patent/CN117295133A/en
Publication of CN117295133A publication Critical patent/CN117295133A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • H04W40/22Communication route or path selection, e.g. power-based or shortest path routing using selective relaying for reaching a BTS [Base Transceiver Station] or an access point
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update

Landscapes

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

Abstract

The application discloses a communication method and a device, which belong to the technical field of communication, and the communication method of the embodiment of the application comprises the following steps: under the condition that a core network function serving a first terminal is a first core network function, the first core network function sends a first registration message to a second core network function, wherein the first registration message carries first indication information; the first indication information is used for indicating the first terminal to be a terminal accessed to the network through the first relay device or indicating the second core network function to execute the operation related to the logout, wherein the first terminal is a terminal accessed to the network through the first relay device.

Description

Communication method and device
Technical Field
The application belongs to the technical field of communication, and particularly relates to a communication method and device.
Background
Relay (Relay) technology is that one or more Relay devices are added between the access network device and the terminal, and the Relay device is responsible for forwarding the wireless signal once or more times, i.e. the wireless signal can reach the terminal only through multiple hops. Taking a simpler two-hop relay as an example, an access network device-terminal link is divided into two links of an access network device-relay device and a relay device-terminal, so that a link with poor quality is replaced by two links with good quality, and higher link capacity and better coverage are obtained.
In a scenario where a terminal may communicate with a network side device through a relay device, the terminal may leave the relay device or replace another relay device, and in the above process, the communication performance of the terminal may be affected.
Disclosure of Invention
The embodiment of the application provides a communication method and device, which can solve the problem that the communication performance of a terminal is affected.
In a first aspect, a communication method is provided, including:
in the case that a core network function serving a first terminal is a first core network function, the first core network function sends a first registration message to a second core network function, where the first registration message carries first indication information, where the first indication information is used to indicate that the first terminal is a terminal accessing a network through a first relay device, or indicate that the second core network function performs a logout related operation, where the first terminal is a terminal accessing the network through the first relay device.
In a second aspect, a communication method is provided, including:
the second core network function receives a first registration message sent by a first core network function, wherein the first core network function is a core network function for serving a first terminal; the first registration message carries first indication information;
The second core network function performs at least one of:
stopping logging off a third core network function of the first terminal which is not registered by using the first indication information;
logging out a third core network function which is registered by using the first indication information and serves the first terminal;
logging off a third core network function of the first terminal which is not registered by using the first indication information;
and not logging out the first core network function.
In a third aspect, there is provided a communication apparatus comprising:
the sending module is configured to send a first registration message to a second core network function when a core network function serving a first terminal is the first core network function, where the first registration message carries first indication information, where the first indication information is used to indicate that the first terminal is a terminal accessing a network through a first relay device, or indicate that the second core network function performs a logout related operation, and the first terminal is a terminal accessing the network through the first relay device.
In a fourth aspect, there is provided a communication apparatus comprising:
the receiving module is used for receiving a first registration message sent by a first core network function, wherein the first core network function is a core network function for serving a first terminal; the first registration message carries first indication information;
The second core network function performs at least one of:
stopping logging off a third core network function of the first terminal which is not registered by using the first indication information;
logging out a third core network function which is registered by using the first indication information and serves the first terminal;
logging off a third core network function of the first terminal which is not registered by using the first indication information;
and not logging out the first core network function.
In a fifth aspect, there is provided a first core network function comprising a processor and a memory storing programs or instructions executable on the processor, which when executed by the processor implement the steps of the method as described in the first aspect.
In a sixth aspect, a first core network function is provided, including a processor and a communication interface, where the communication interface is configured to send a first registration message to a second core network function when the core network function serving a first terminal is the first core network function, where the first registration message carries first indication information, where the first indication information is used to indicate that the first terminal is a terminal accessing a network through a first relay device, or indicate that the second core network function performs a cancellation related operation, and the first terminal is a terminal accessing the network through the first relay device.
In a seventh aspect, there is provided a second core network function comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the method as described in the second aspect.
An eighth aspect provides a second core network function, including a processor and a communication interface, where the communication interface is configured to receive a first registration message sent by a first core network function, where the first core network function is a core network function serving a first terminal; the first registration message carries first indication information; the second core network function performs at least one of: stopping logging off a third core network function of the first terminal which is not registered by using the first indication information; logging out a third core network function which is registered by using the first indication information and serves the first terminal; logging off a third core network function of the first terminal which is not registered by using the first indication information; and not logging out the first core network function.
In a ninth aspect, there is provided a communication system comprising: the network side device comprises a first core network function and a second core network function, wherein the first core network function can be used for executing steps of the communication method according to the first aspect, the second core network function can be used for executing steps of the communication method according to the second aspect, the terminal can be used for executing steps of the method executed by the terminal in each embodiment of the application, and the relay device can be used for executing steps of the method executed by the relay device in each embodiment of the application.
In a tenth aspect, there is provided a readable storage medium having stored thereon a program or instructions which when executed by a processor, performs the steps of the method according to the first aspect or performs the steps of the method according to the second aspect.
In an eleventh aspect, there is provided a chip comprising a processor and a communication interface coupled to the processor, the processor being for running a program or instructions to implement the method according to the first aspect or to implement the method according to the second aspect.
In a twelfth aspect, there is provided a computer program/program product stored in a storage medium, the computer program/program product being executed by at least one processor to implement the steps of the communication method according to the first or second aspect.
In this embodiment of the present application, in a case where a core network function serving a first terminal is a first core network function, the first core network function sends a first registration message to a second core network function, where the first registration message carries first indication information, where the first indication information is used to indicate that the first terminal is a terminal that accesses a network through a first relay device, or indicates that the second core network function performs a cancellation related operation, where the terminal accesses the network through the first relay device, the first core network function may feed back information related to the second core network function, or cancel the related operation, so that the second core network function may make a correct decision, thereby avoiding affecting communication of the terminal.
Drawings
Fig. 1 is a block diagram of a wireless communication system to which embodiments of the present application are applicable;
FIG. 2 is a schematic flow chart of a communication method according to an embodiment of the present application;
FIG. 3 is one of the interactive flow diagrams of the communication method provided in the embodiment of the present application;
FIG. 4 is a second schematic diagram of an interaction flow of the communication method according to the embodiment of the present application;
FIG. 5 is a second flow chart of a communication method according to the embodiment of the present application;
fig. 6 is one of schematic structural diagrams of a communication device according to an embodiment of the present application;
FIG. 7 is a second schematic diagram of a communication device according to an embodiment of the present disclosure;
fig. 8 is a schematic structural diagram of a communication device according to an embodiment of the present application;
fig. 9 is a schematic structural diagram of a network side device according to an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent 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 based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the terms so used are interchangeable under appropriate circumstances such that the embodiments of the application are capable of operation in sequences other than those illustrated or otherwise described herein, and that the terms "first" and "second" are generally intended to be used in a generic sense and not to limit the number of objects, for example, the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/" generally means a relationship in which the associated object is an "or" before and after.
It is noted that the techniques described in embodiments of the present application are not limited to long term evolution (Long Term Evolution, LTE)/LTE evolution (LTE-Advanced, LTE-a) systems, but may also be used in other wireless communication systems, such as code division multiple access (Code Division Multiple Access, CDMA), time division multiple access (Time Division Multiple Access, TDMA), frequency division multiple access (Frequency Division Multiple Access, FDMA), orthogonal frequency division multiple access (Orthogonal Frequency Division Multiple Access, OFDMA), single carrier frequency division multiple access (Single-carrier Frequency Division Multiple Access, SC-FDMA), and other systems. The terms "system" and "network" in embodiments of the present application are often used interchangeably, and the techniques described may be used for both the above-mentioned systems and radio technologies, as well as other systems and radio technologies. The following description describes a New air interface (NR) system for purposes of example and uses NR terminology in much of the description that follows, but these techniques are also applicable to applications other than NR system applications, such as generation 6 (6) th Generation, 6G) communication system.
Fig. 1 shows a block diagram of a wireless communication system to which embodiments of the present application are applicable. The wireless communication system includes a terminal 11 and a network device 12. The terminal 11 may be a mobile phone, a tablet (Tablet Personal Computer), a Laptop (Laptop Computer) or a terminal-side Device called a notebook, a personal digital assistant (Personal Digital Assistant, PDA), a palm top, a netbook, an ultra-mobile personal Computer (ultra-mobile personal Computer, UMPC), a mobile internet appliance (Mobile Internet Device, MID), an augmented reality (augmented reality, AR)/Virtual Reality (VR) Device, a robot, a Wearable Device (weather Device), a vehicle-mounted Device (VUE), a pedestrian terminal (PUE), a smart home (home Device with a wireless communication function, such as a refrigerator, a television, a washing machine, or a furniture), a game machine, a personal Computer (personal Computer, PC), a teller machine, or a self-service machine, and the Wearable Device includes: intelligent wrist-watch, intelligent bracelet, intelligent earphone, intelligent glasses, intelligent ornament (intelligent bracelet, intelligent ring, intelligent necklace, intelligent anklet, intelligent foot chain etc.), intelligent wrist strap, intelligent clothing etc.. Note that, the specific type of the terminal 11 is not limited in the embodiment of the present application. The network-side device 12 may comprise an access network device or a core network device, wherein the access network device 12 may also be referred to as a radio access network device, a radio access network (Radio Access Network, RAN), a radio access network function or a radio access network element. Access network device 12 may include a base station, a WLAN access point, a WiFi node, or the like, which may be referred to as a node B, an evolved node B (eNB), an access point, a base transceiver station (Base Transceiver Station, BTS), a radio base station, a radio transceiver, a basic service set (Basic Service Set, BSS), an extended service set (Extended Service Set, ESS), a home node B, a home evolved node B, a transmission and reception point (Transmitting Receiving Point, TRP), or some other suitable terminology in the art, and the base station is not limited to a particular technical vocabulary so long as the same technical effect is achieved, and it should be noted that in the embodiments of the present application, only a base station in an NR system is described as an example, and the specific type of the base station is not limited. The core network device may include, but is not limited to, at least one of: core network nodes, core network functions, mobility management entities (Mobility Management Entity, MME), access mobility management functions (Access and Mobility Management Function, AMF), session management functions (Session Management Function, SMF), user plane functions (User Plane Function, UPF), policy control functions (Policy Control Function, PCF), policy and charging rules function units (Policy and Charging Rules Function, PCRF), edge application service discovery functions (Edge Application Server Discovery Function, EASDF), unified data management (Unified Data Management, UDM), unified data repository (Unified Data Repository, UDR), home subscriber server (Home Subscriber Server, HSS), centralized network configuration (Centralized network configuration, CNC), network storage functions (Network Repository Function, NRF), network opening functions (Network Exposure Function, NEF), local NEF (or L-NEF), binding support functions (Binding Support Function, BSF), application functions (Application Function, AF), and the like. In the embodiment of the present application, only the core network device in the NR system is described as an example, and the specific type of the core network device is not limited.
First, concepts related to the embodiments of the present application will be described:
the relay devices include, for example, an in-vehicle relay device, a mobile base station relay (Mobile Base Station Relay, MBSR), and the like.
Each Relay device (Relay) is served by a core network function (such as AMF, which may be denoted as AMF-Relay device) in which a Relay context (context) is maintained.
Wherein the Relay context includes information related to the Relay device, for example, information including a core network function serving the Relay device, such as an AMF ID;
in addition, each terminal is served by a core network function (e.g., AMF, i.e., AMF-terminal or AMF-UE) that maintains the terminal context. When a terminal is relayed by a Relay device, the terminal context will include Relay device related information, e.g. including an AMF ID (which is associated with Link information) indicating an AMF serving as Relay device Relay.
Typically only one AMF retains the terminal context, and when the terminal moves following the relay device and does not perform mobility registration (mobility registration), the terminal context will migrate from the old access mobility management function (Access and Mobility Management Function, AMF) to the new AMF, once the terminal does not move following the relay device, the terminal will send a registration request or other message using the original terminal identification ID (allocated by the old AMF, carrying the information of the old AMF), so that the access network device or the new AMF may acquire the terminal context from the old AMF, and at this time the terminal context in the old AMF may have migrated, thereby affecting the communication of the terminal.
The communication method provided by the embodiment of the application is described in detail below through some embodiments and application scenarios thereof with reference to the accompanying drawings.
Fig. 2 is a schematic flow chart of a communication method according to an embodiment of the present application. As shown in fig. 2, the method provided in this embodiment includes:
step 101, under the condition that a core network function serving a first terminal is a first core network function, the first core network function sends a first registration message to a second core network function, wherein the first registration message carries first indication information;
the first indication information is used for indicating the first terminal to be a terminal accessed to the network through the first relay device or indicating the second core network function to execute the operation related to the logout, wherein the first terminal is a terminal accessed to the network through the first relay device.
Specifically, the first core network function may be an AMF, and the second core network function may be a UDM. Of course, in other embodiments of the present application, the first core network function may also be an SMF, and the second core network function may also be a server, etc.
The first terminal is a terminal that accesses the network through the first relay device, where the network may include a base station and a core network, and the core network may include the first core network function. Further, the core network may also include a second core network function.
When the first core network function provides service for the first terminal, for example, the position is updated in the process that the first terminal moves along with the first relay device, and the original core network function is changed to provide service for the first core network function; or the first terminal does not follow the first relay equipment, requests registration to the access network equipment, and the access network equipment requests a first core network function; or, in the scene that the first terminal accesses the network through the first relay equipment, the first core network function sends a first registration message carrying first indication information to the second core network function, wherein the first indication information is used for indicating that the first terminal is the terminal accessing the network through the first relay equipment;
for example, in case the first indication information is used to indicate that the first terminal is a terminal accessing the network through the first relay device, the first core network function may inform the second core network function that the first terminal is accessing the network through the first relay device, i.e. the first terminal may send a message through the first relay device, i.e. the first terminal is following the first relay device.
Or, the first indication information is used for indicating the second core network function to execute the operation related to the logout; the first terminal is a terminal accessed to the network through the first relay equipment.
Illustratively, the deregistration related operation may include deregistering a core network function (e.g., AMF) or ceasing deregistering a core network function (e.g., AMF).
Logging out the core network function may include logging out the core network function serving the first terminal registered using the first indication information, or the core network function serving the first terminal registered without using the first indication information;
the stopping to deregister the core network functions may include stopping to deregister a core network function serving the first terminal, which is not registered using the first indication information, or stopping to deregister a current first core network function.
The core network function is logged out, namely the core network function does not need to reserve the context of the first terminal of the service, resource waste is reduced, resource utilization is improved, the core network function is stopped from being logged out, namely the core network function serving the first terminal is not logged out, the core network function can enable the first terminal to conveniently acquire the context of the terminal from the core network function which is not logged out before under the condition that the first terminal is not accessed to a network or other scenes through the first relay equipment, and therefore communication of the first terminal cannot be affected.
In the method of the embodiment, when the core network function serving the first terminal is the first core network function, the first core network function sends a first registration message to the second core network function, where the first registration message carries first indication information, where the first indication information is used to indicate that the first terminal is a terminal accessing the network through the first relay device, or indicates that the second core network function performs an operation related to cancellation.
Optionally, in the case that the first terminal is a terminal that sends a message to the core network function through the first relay device, i.e. the first terminal follows the first relay device, the logout related operation may comprise at least one of:
logging out a third core network function serving the first terminal registered using the first indication information;
logging off a third core network function of the first terminal which is not registered by using the first indication information;
and stopping logging out the first core network function.
For example, since there is a limit to the number of core network functions (such as AMFs) that retain the context of the terminal, for example, at most 2 core network functions can retain the context of the first terminal, for example, the first registration message is a second registration message that is sent to the second core network function and carries the first indication information (it is assumed that there is a third core network function serving the first terminal that has not been registered with the first indication information, but has not been registered), the third core network function serving the first terminal that has been registered with the first indication information before being registered needs to be registered.
In the case where the first terminal can acquire information of the core network function serving the first terminal from the network side device, the first terminal can transmit information carrying the core network function serving the first terminal before to the first core network function without having the third core network function serving the first terminal before to reserve the context of the first terminal even if the first terminal does not follow the first relay device or needs to transmit a message to the first core network function, and the core network function serving the first terminal before reserves the context of the first terminal, so that the first core network function can acquire the context of the first terminal.
For example, the first terminal accesses the network for the first time through the first relay device, the first core network function may not be logged out, that is, the first core network function retains the context of the first terminal, so that the subsequent network side device may conveniently obtain the context of the first terminal.
In the above embodiment, in the case that the first terminal is a terminal that sends a message to the core network function through the first relay device, that is, the first terminal follows the first relay device, the first core network function may instruct the second core network function to perform at least one of the following operations related to cancellation: logging out a third core network function serving the first terminal registered using the first indication information; the third core network function which is not registered by using the first indication information and serves the first terminal is logged out, namely the third core network function does not need to reserve the context of the first terminal, so that the resource waste can be reduced; stopping logging off the first core network function can enable the network side device to conveniently acquire the context of the first terminal from the first core network function, so that the influence on the communication of the first terminal is avoided.
Optionally, in a case where the first terminal moves following the first relay device, or in a case where the first core network function receives third indication information sent by the access network device for the first relay device, the operation of logging off the related operation may include at least one of:
Stopping logging off a third core network function of the service first terminal which is not registered by using the first indication information;
logging out a third core network function serving the first terminal registered using the first indication information;
the third indication information is used for indicating the access point update, the core network function relocation or the location update.
Illustratively, in the case that the first terminal is moving following the first relay device, or the core network function serving the first relay device is relocated, or the access point of the first relay device is updated, or the first relay device location is updated:
assuming that the third core network function is a core network function serving the first terminal before, when the third core network function registers with the second core network function, the first indication information is not used for registering, so that the context of the first terminal is acquired for subsequent convenience, for example, the context of the first terminal is acquired from the third core network function under the scene that the first terminal does not follow the first relay device, the first core network function needs to be changed, and the like, and the context of the first terminal stored by the third core network function needs to be reserved, that is, the third core network function is not logged out, that is, the third core network function is stopped to be logged out.
For example, since there is a limit to the number of core network functions (such as AMFs) that retain the context of the terminal, for example, at most 2 core network functions can retain the context of the first terminal, for example, the first registration message is a second registration message that is sent to the second core network function and carries the first indication information (it is assumed that there is a third core network function serving the first terminal that has not been registered with the first indication information, but has not been registered), the third core network function serving the first terminal that has been registered with the first indication information before being registered needs to be registered.
In the above embodiment, in the case that the first terminal moves along with the first relay device, or in the case that the first core network function receives the third indication information for the first relay device sent by the access network device, the first core network function may instruct the second core network function to perform at least one of the following operations related to cancellation: the third core network function which uses the first indication information to register and serve the first terminal is logged out, namely the third core network function does not need to reserve the context of the first terminal, so that the resource waste can be reduced; stopping logging off the third core network function serving the first terminal, which is not registered using the first indication information, may enable the first core network function to conveniently obtain the context of the first terminal from the third core network function, thereby avoiding affecting communication of the first terminal.
Optionally, in a scenario where the terminal does not follow the first relay device, or the first core network function receives a message that the terminal does not send through the first relay device (i.e. leaves the first relay device and sends a message to the first core network function through the access network device), the method may further include:
the first core network function receives a first message sent by the second terminal and stops sending a first registration message to the second core network function;
the second terminal is a terminal which does not send a message to the core network function through the first relay device.
Specifically, the first core network function receives the first message sent by the second terminal, and stops sending the first registration message to the second core network function, i.e. the first indication information does not need to be sent to the second core network device; at this time, the second terminal leaves the first relay device, or is not connected to the first relay device, but is directly connected to the access network device or directly sends a message to the first core network function through the access network device.
In this scenario, there is only one AMF that keeps the context of the second terminal, for which a log-off is required for the previously registered AMF.
Optionally, a registration message not carrying the first indication information may also be sent to the second core network function.
Optionally, in a scenario that the first core network function receives the message sent by the first terminal, step 101 may further include:
the first core network function receives a second message sent by the first terminal, wherein the second message carries information of a third core network function serving the first terminal;
the first core network function requests a context of the first terminal from the third core network function.
Specifically, the scenario is that, for example, the first terminal does not follow the first relay device, or sends a message to the network side device, and the first core network function receives a second message sent by the terminal, where the second message carries information of a third core network function of the service terminal;
the first core network function requests the context of the first terminal to the third core network function based on the information of the third core network function, for example, the first core network function sends a request message to the third core network function for requesting the context of the first terminal, and the third core network function sends a response message to the first core network function, carrying the context of the first terminal.
The first core network function may send a first registration message to the second core network function based on the context of the first terminal.
In this scenario, the message sent by the first terminal may be sent by the first relay device or may be directly sent by the access network device, which is not limited in the embodiment of the present application.
Optionally, the first core network function and the third core network function are networks belonging to the same standard, for example, all belong to a 5G network, and may also be networks of versions before or after 5G.
Optionally, the method further comprises:
the first core network function receives a fourth message sent by the third terminal;
the first core network function deletes information related to the first relay device from the context of the third terminal;
the third terminal is a terminal which does not send a message to the core network function through the first relay device.
Specifically, in the case where the third terminal does not follow the first relay device, for example, the registration request sent by the third terminal to the core network function does not carry the information related to the first relay device, the first communication function may delete the information related to the first relay device from the context of the third terminal.
Optionally, the fourth message carries information of a fifth core network function serving the third terminal; the method further comprises the steps of:
the first core network function obtains the context of the third terminal from the fifth core network function.
In the above embodiment, in the case that the terminal does not follow the first relay device, the first core network function may delete information related to the first relay device from the context of the terminal, so that the network side device may make a related decision based on accurate information, and avoid affecting communication of the terminal.
Optionally, in a scenario that the first terminal follows the first relay device, or the first core network function receives third indication information for the first relay device sent by the access network device, the third indication information carries information of a third core network function serving the first terminal; the method further comprises the steps of:
the first core network function sends a sixth message to the third core network function, the sixth message being for requesting a context of the terminal, including the context of the first terminal.
Specifically, the access network device sends third indication information to the first core network function, where the third indication information is used to indicate at least one of the following: repositioning a core network function serving the first relay device, or updating an access point of the first relay device, or updating a position of the first relay device, wherein the third indication information carries information of a third core network function serving the first terminal;
the first core network function requests a context of the terminal, including a context of the first terminal, from the third core network function.
Optionally, the method further comprises:
the first core network function receives information of a fourth core network function sent by the second core network function;
the first core network function sends a third message to the fourth core network function, wherein the third message is used for requesting to acquire information related to the first relay equipment, and the information related to the first relay equipment comprises information of the core network function serving the first relay equipment;
The first core network function sends an unsubscribe message to a core network function serving the first relay device, the unsubscribe message being used to unsubscribe events associated with the core network function serving the first relay device.
Specifically, for example, in a scenario where the first terminal leaves the first relay device, when the first core network function registers with the second core network function, the second core network function may return information of a fourth core network function, which may be an AMF serving the first terminal before. The fourth core network function retains the context of the first terminal.
The first core network function requests to the fourth core network function to acquire information related to the first relay device, for example, information including the core network function serving the first relay device, and the first core network function may send an unsubscribe message based on the information of the core network function, for unsubscribing from events related to the core network function, for example, AMF change events.
Optionally, the method further comprises:
in the case that the context of the first terminal includes information related to the first relay device, the first core network function sends an unsubscribe message to a core network function serving the first relay device based on the context of the first terminal, the unsubscribe message being used to unsubscribe events related to the core network function serving the first relay device.
Specifically, for example, in a scenario where the first terminal leaves the first relay device, the first core network function may acquire the context of the first terminal from the core network function that retains the context of the first terminal, and in a case where the context of the first terminal includes information related to the first relay device, that is, includes information serving the core network function of the first relay device, the first core network function may unsubscribe the core network function serving the first relay device from a subscription message for unsubscribing from an event related to the core network function, such as an AMF change event.
Optionally, the method further comprises:
the first core network function receives a logout message sent by the second core network function; the cancellation message carries information related to the fourth terminal;
the first core network function sends an unsubscribe message to the core network function serving the first relay device based on the context of the fourth terminal;
the context of the fourth terminal includes information related to the first relay device, and the unsubscribe message is used for unsubscribing from events related to a core network function serving the first relay device.
Specifically, in the case where the first core network function needs to be logged out, the second core network function sends a log-out message to the first core network function, and after the first core network function receives the log-out message, the second core network function unsubscribes from the core network function serving the first relay device to unsubscribe from an event related to the core network function, such as an AMF change event, based on a context of a fourth terminal (the context of the fourth terminal may be obtained from information related to the fourth terminal, where the context of the fourth terminal includes information related to the first relay device, such as information including at least the core network function serving the first relay device).
In the above embodiment, when the terminal does not follow the first relay device, the unsubscribe message may be sent to the core network function serving the first relay device, where the unsubscribe message is used to unsubscribe an event related to the core network function serving the first relay device, so that signaling transmission is reduced, and resource waste is reduced.
Optionally, the method further comprises:
the first core network equipment receives a fifth message from a fifth terminal;
the first core network function sends a second registration message or a third registration message to the second core network function;
the second registration message carries second indication information, and the second indication information is used for indicating at least one of the following:
logging off a sixth core network function of the service fifth terminal which is not registered using the first indication information;
logging out a sixth core network function of the service fifth terminal registered using the first indication information;
the third registration message does not carry the first indication information and the second indication information, and is used for indicating at least one of the following:
logging off a sixth core network function of the service fifth terminal which is not registered using the first indication information;
logging out a sixth core network function of the service fifth terminal registered using the first indication information;
Logging out a sixth core network function of the service fifth terminal registered using the second instruction information;
the fifth terminal is a terminal that does not send a message to the core network function through the first relay device.
Specifically, in the case that the first core network function receives the fifth message from the fifth terminal, the fifth terminal does not send the message through the first relay device at this time, for example, the fifth terminal leaves the first relay device, the first core network function sends a second registration message to the second core network function, or sends a third registration message;
the second registration message carries second indication information, where the second indication information may be an indication of leaving the first relay device, and then the sixth core network function (for example, AMF) that has been previously registered using the first indication information and/or the sixth core network function that has not been registered using the first indication information may be logged off, and it is not necessary to keep the context of the fifth terminal, and the first core network function serving the fifth terminal may keep the context of the fifth terminal.
The third registration message does not carry the first indication information and the second indication information, and at this time, the fifth terminal does not follow the first relay device, i.e. does not access the network through the first relay device, and the second core network function may perform at least one of the following based on the indication of the third registration message: logging off a sixth core network function of the service fifth terminal which is not registered using the first indication information; logging out a sixth core network function of the service fifth terminal registered using the first indication information; logging out a sixth core network function of the service fifth terminal registered using the second instruction information; that is, the sixth core network function that has been previously registered using the first indication information and/or not using the first indication information and/or using the second indication information may be logged off, and the context of the fifth terminal does not need to be reserved, and the first core network function serving the fifth terminal may only need to retain the context of the fifth terminal.
Optionally, the first core network function and the sixth core network function are networks belonging to the same standard, for example, all belong to a 5G network.
Optionally, the step of "the first core network function sending the second registration message to the second core network function, or sending the third registration message" comprises:
in the case that the context of the fifth terminal includes information related to the first relay device, the first core network function sends a second registration message to the second core network function based on the context of the fifth terminal;
in case the context of the fifth terminal does not comprise information related to the first relay device, the first core network function sends a third registration message to the second core network function based on the context of the fifth terminal.
Optionally, the fifth message carries information serving a sixth core network function of the fifth terminal; the method further comprises the steps of:
the first core network function requests the context of the fifth terminal from the sixth core network function.
Specifically, in the case that the context of the fifth terminal includes information related to the first relay device, that is, the fifth terminal moves along with the first relay device (correspondingly, the core network function serving the fifth terminal is the sixth core network function) and has left the first relay device, the first core network function sends a second registration message to the second core network function based on the context of the fifth terminal, where the second registration message carries second indication information, that is, indicates to cancel the sixth core network function serving the fifth terminal that is unused and/or registered using the first indication information.
In case the context of the fifth terminal does not comprise information related to the first relay device, i.e. the fifth terminal has not previously moved along with the first relay device, the first core network function sends a third registration message to the second core network function, i.e. a sixth core network function serving the fifth terminal, indicating that the fifth terminal is not used and/or registered with the first indication information, and/or a sixth core network function serving the fifth terminal, registered with the second indication information, is registered.
In the above embodiment, in the case where the first core network device receives the fifth message from the terminal, the first core network function may log out the sixth core network function of the service fifth terminal that is not used and/or registered using the first indication information to the second core network function; or at least one of: logging off a sixth core network function of the service fifth terminal which is not used and/or registered using the first indication information; logging out a sixth core network function of the service fifth terminal registered using the second instruction information; that is, the sixth core network function does not need to reserve the context of the terminal, so that resource waste can be reduced.
Optionally, in a scenario in which the access network device sends a message to the first core network function, the method further comprises:
The first core network function sends a third registration message to the second core network function;
the third registration message does not carry the first indication information and the second indication information, and is used for indicating at least one of the following:
stopping logging out the third core network function registered by using the first indication information;
and logging off the third core network function which is not registered by using the first indication information.
Optionally, before the first core network function sends the third registration message to the second core network function, the method further includes:
the first core network function receives third indication information for the first relay device, which is sent by the access network device.
Specifically, in a scenario that the first core network function receives a message of the access network device, that is, the first terminal directly accesses the network through the access network device without passing through the first relay device, the message of the access network device is, for example, third indication information for the first relay device, where the third indication information is used to indicate that the access point is updated, the core network function is relocated or the location is updated, the first core network function sends a third registration message to the second core network function, without carrying the first indication information and the second indication information, to indicate to cancel the third core network function registered using the first indication information, and/or to cancel the third core network function registered not using the first indication information, that is, the third core network function does not need to reserve the context of the first terminal, thereby reducing resource waste.
In the above embodiment, in a scenario where the access network device sends a message to the first core network function, the first core network function may instruct the second core network function to stop logging out the third core network function registered using the first instruction information; the network side equipment can conveniently acquire the context of the first terminal from the first core network function, so that the influence on the communication of the first terminal is avoided; and/or the third core network function for indicating to log off the registration which does not use the first indication information, namely the third core network function does not need to reserve the context of the first terminal, so that the resource waste can be reduced.
Illustratively, as shown in fig. 3, an AMF-UE represents an AMF of a service terminal, and an AMF-relay represents an AMF of a service relay device, and this embodiment provides a scheme in a scenario where the terminal follows the relay device, including:
step 0, registering AMF-UE to the UDM;
step 1a, the relay device sends a registration message to the access network device (next generation radio access network (Next Generation Radio Access Network, NG-RAN)), e.g. comprising a relay device ID;
step 2a, the AMF-relay sends a context migration request of the terminal to the old AMF-relay, wherein the context migration request comprises a relay equipment ID;
Step 2b, the old AMF-relay transmits a response to the AMF-relay, wherein the response comprises the context of the relay equipment and link information associated with a plurality of terminals;
wherein, the Link information includes at least one of the following information: identification information (e.g., link ID), terminal-related information, relay-device-related information, core network function-related information, and association indication.
The information related to the terminal includes various possible information related to the terminal, such as identification of the terminal, information of a core network function serving the terminal, and the like.
The relay device related information includes various possible information related to the relay device, such as identification of the relay device, and information of a core network function serving the relay device.
Step 3a, the AMF-relay sends N2 message, namely registration acceptance message, comprising a plurality of link information to the access network equipment;
step 3b, the access network equipment sends a registration acceptance message to the relay equipment;
step 1b, switching relay equipment;
step 4, changing AMF-UE based on the link information;
step 5, the access network equipment sends an AMF relocation request to the new AMF-UE1, wherein the AMF relocation request comprises link information;
step 6a, the new AMF-UE1 carries out batch migration of the terminal context to the AMF-UE;
Step 6b, the AMF-UE sends a response to the new AMF-UE1, including the terminal context;
step 7, the new AMF-UE1 sends AMF relocation response to the access network equipment, including new link information;
step 8, after the new AMF-UE1 acquires the terminal context, a registration message including first indication information is sent to the UDM;
step 9, the UDM stops logging off the AMF-UE;
step 10, when the terminal does not move along with the relay device (e.g. leaves the relay device), the terminal sends a registration request to the access network device, carrying a terminal ID (such as a 5G-globally unique temporary terminal identifier (Globally Unique Temporary UE Identity, GUTI) obtained during registration in step 0), the terminal ID is allocated by the AMF-UE and sent to the terminal, so that the AMF information contained in the terminal ID is information of the AMF-UE. The access network device sends a registration request to AMF-UE2 (the terminal is served by AMF-UE 2).
Step 11a, step 11b, and AMF-UE2 request a terminal context from the AMF-UE according to the AMF information in the terminal ID, where the obtained terminal context includes information related to the relay device, for example, information of a core network function serving the relay device, for example, information of the core network function serving the relay device may be obtained through Link information.
Step 12, if there is no information of the relay device in the registration request or in the N2 message carrying the registration request, the AMF-UE2 deletes the information related to the relay device in the terminal context.
Step 13a, AMF-UE2 registers (does not carry the first indication information and the second indication information) with the UDM.
Alternatively, steps 13b, UDM may return information of AMF-UE1, such as the ID of AMF-UE 1.
Step 14b, UDM may indicate deregistration to AMF-UE (AMF-UE receives deregistration indication, and deletes terminal context), step 14a, may indicate deregistration to new AMF-UE1 (new AMF-UE1 deletes terminal context).
Step 15, the new AMF-UE2 indicates to the new AMF-relay to unsubscribe from the relay device related event (such as unsubscribe from the AMF change event) according to the relay device related information in the terminal context
Specifically, when the information returned by the UDM in step 13 includes information of the AMF-UE1, the AMF-UE2 acquires information of a new AMF-relay from the AMF-UE1, and unsubscribes from the new AMF-relay.
In practical applications, steps 1-8 may occur multiple times, step 9 is only for the original AMF-UE, i.e. the UDM only stops logging off the AMF that was not registered with the first indication information before, i.e. if a registration message with the first indication information is received, there is no previous AMF that was registered with the first indication information before, there is an AMF registered with the first indication information before, there is still an AMF with the first registration information currently logged off after step 8, thus ensuring that at most 2 AMFs remain with the context of the terminal until after again receiving registration without the first indication information (step 13 a), after step 14 is performed, the operation of performing the logging off the previously registered AMFs is resumed, i.e. there is only one AMF with the context of the terminal reserved.
Illustratively, as shown in fig. 4, this embodiment provides another scheme in a scenario in which a terminal follows a relay device, including:
step 1, a terminal follows a relay device 1;
step 2, the terminal initiates a service request or a registration request through the relay equipment 1; the relay device 1 sends an N1 message to the access network device;
step 3, the access network device forwards the N1 message to the AMF-UE, for example by means of the N2 message, and contains the ID of the relay device 1, for example 5G-GUTI, and/or may further comprise a list of tracking area identities (Tracking Area Identity, TAI) configured for the relay device 1.
During registration, the access network device may select a new AMF-UE.
Step 4, if a new AMF-UE is selected, requesting a terminal context from the old AMF-UE;
and 5, the new AMF-UE transmits an N2 message by using the acquired link information, wherein the N2 message can comprise an N1 message. In the case of the registration procedure, if the TAI list configured for the relay device is not changed, in order to save mobility registration of the terminal following the relay device, the AMF-UE may send a registration accept to the terminal using the TAI list. The access network device associates the link information with the relay device and stores the link information in the terminal context.
And 6, registering the AMF-UE to the UDM, wherein the AMF-UE comprises first indication information.
Step 7, the access network device associates the link information with the relay device ID and the terminal ID, and the access network device sends an RRC message, including an N1 message, to the terminal.
Step 8, if the terminal continues to follow the relay device, the terminal may suspend mobile registration (e.g., the TAI/tracking area code (Tracking Area Code, TAC) broadcasted by the relay device does not change, and the access network device sends the TAI to the AMF-UE).
Step 9, the terminal follows another relay device or access network device.
Step 10, if the previous mobile registration is suspended, the terminal will resume the mobile registration (e.g. the TAI/TAC broadcasted by the relay device is not configured to the terminal following the relay device, and when the terminal follows another relay device, the TAI/TAC MBSR of the other relay device is configured for the terminal). If the terminal follows another relay device, steps 2-9 are performed using different Link information (e.g. Link ID), different relay device ID and possibly different AMF-relay, and if the terminal directly accesses the access network device, a registration procedure is performed.
Alternatively, when the process in fig. 3 occurs again after the steps 1-7 are performed, step 8 in fig. 3 may not include the first indication information, and step 9 in fig. 3, the udm performs the function of stopping logging out the AMF registered using the first indication information. In step 13a, if the new AMF-UE2 carries the first indication information according to the relay device related information (such as Link ID) included in the terminal context, and in step 10, there is relay device related information (carried in the N2 message of the NAS in the Non-Access Stratum (NAS) message), if there is no relay device related information in step 10, there is second indication information carried, the UDM determines that there is an AMF registered with the first indication information again, then 14a and 14b are executed, that is, an AMF registered with the first indication information before cancellation and an AMF not registered with the first indication information before cancellation, and the UDM determines that there is an AMF registered with the second indication information, then after 14a and 14b are executed, the second indication information of the AMF is deleted, that is, the operation of performing the cancellation of the previously registered AMF indication, that is, only one AMF retains the terminal context is restored.
Fig. 5 is a second flowchart of a communication method according to an embodiment of the present application. As shown in fig. 5, the method provided in this embodiment includes:
step 201, a second core network function receives a first registration message sent by a first core network function, where the first core network function is a core network function serving a first terminal; the first registration message carries first indication information;
step 202, the second core network function performs at least one of the following: stopping logging off a third core network function of the service first terminal which is not registered by using the first indication information; logging out a third core network function serving the first terminal registered using the first indication information; a third core network function of registering a service first terminal which does not use the first indication information is logged out; the first core network function is not unregistered.
It should be noted that, in step 202, the second core network function may perform at least one of the steps 202 according to the first indication information.
Optionally, the method further comprises:
the second core network function sends information of a fourth core network function to the first core network function.
Optionally, after the second core network function receives the first registration message sent by the first core network function, the method further includes:
The second core network function receives the first registration message and sends a cancellation message to the first core network function.
Optionally, the method further comprises:
the second core network function receives a second registration message or a third registration message;
wherein the second registration message carries second indication information, and the second core network function performs at least one of the following:
logging off a sixth core network function which is not registered by using the first indication information;
logging out a sixth core network function registered using the first indication information;
the third registration message does not carry the first indication information and the second indication information, and the second core network function performs at least one of the following:
logging off a sixth core network function which is not registered by using the first indication information;
logging out a sixth core network function registered using the first indication information;
and deregistering the sixth core network function registered using the second instruction information.
Optionally, the method further comprises:
the second core network function receives a third registration message;
wherein the third registration message does not carry the first indication information and the second indication information, and the second core network function performs at least one of the following:
stopping logging out the third core network function registered by using the first indication information;
And logging off the third core network function which is not registered by using the first indication information.
Optionally, the first core network function and the third core network function belong to networks of the same system, and/or the first core network function and the sixth core network function belong to networks of the same system.
The specific implementation process and technical effects of the method of the present embodiment are similar to those of the first core network function side method embodiment, and specific reference may be made to the detailed description of the first core network function side method embodiment, which is not repeated herein.
According to the communication method provided by the embodiment of the application, the execution body can be a communication device. In the embodiment of the present application, a communication device is described by taking an example of a communication method performed by a communication device.
Fig. 6 is a schematic structural diagram of a communication device provided in the present application. As shown in fig. 6, the communication device provided in this embodiment includes:
the sending module 210 is configured to send a first registration message to a second core network function when the core network function serving the first terminal is the first core network function, where the first registration message carries first indication information, where the first indication information is used to indicate that the first terminal is a terminal accessing the network through the first relay device, or indicate that the second core network function performs a logout related operation, where the first terminal is a terminal accessing the network through the first relay device.
Optionally, in the case that the first terminal is a terminal that sends a message to a core network function through a first relay device, the logout-related operation includes at least one of:
logging out a third core network function which is registered by using the first indication information and serves the first terminal;
logging off a third core network function of the first terminal which is not registered by using the first indication information;
and stopping logging out the first core network function.
Optionally, in a case that the first terminal is a terminal that moves along with the first relay device, or in a case that the first core network function receives third indication information sent by the access network device for the first relay device, the logout-related operation includes at least one of:
stopping logging off a third core network function of the first terminal which is not registered by using the first indication information;
logging out a third core network function which is registered by using the first indication information and serves the first terminal;
the third indication information is used for indicating access point update, core network function relocation or location update.
Optionally, the apparatus further comprises:
the receiving module is used for receiving a first message sent by the second terminal, and the processing module is used for stopping sending the first registration message to the second core network function;
The second terminal is a terminal which does not send a message to the core network function through the first relay device.
Optionally, before the first core network function sends the first registration message to the second core network function, the receiving module is further configured to:
receiving a second message sent by the first terminal, wherein the second message carries information of a third core network function serving the first terminal;
the first core network function requests the context of the first terminal from the third core network function.
Optionally, the receiving module is further configured to:
receiving a fourth message sent by a third terminal;
the processing module is further used for deleting the information related to the first relay device from the context of the third terminal;
the third terminal is a terminal which does not send a message to a core network function through the first relay device.
Optionally, the fourth message carries information of a fifth core network function serving the third terminal; the receiving module is further used for:
and acquiring the context of the third terminal from the fifth core network function.
Optionally, the third indication information carries information of a third core network function of the service terminal; the sending module 210 is further configured to:
And sending a sixth message to the third core network function, wherein the sixth message is used for requesting the context of the terminal, and the context of the first terminal is included.
Optionally, the receiving module is further configured to:
receiving information of a fourth core network function sent by the second core network function;
the sending module 210 is further configured to:
sending a third message to the fourth core network function, where the third message is used to request to obtain information related to a first relay device, where the information related to the first relay device includes information serving a core network function of the first relay device;
and sending an unsubscribe message to a core network function serving the first relay device, wherein the unsubscribe message is used for unsubscribing events related to the core network function serving the first relay device.
Optionally, the sending module 210 is further configured to:
and sending an unsubscribe message to a core network function serving the first relay device based on the context of the first terminal, wherein the unsubscribe message is used for unsubscribing events related to the core network function serving the first relay device when the context of the first terminal comprises information related to the first relay device.
Optionally, the receiving module is further configured to:
receiving a logout message sent by the second core network function, wherein the logout message carries information related to a fourth terminal;
the sending module 210 is further configured to:
based on the context of the fourth terminal, sending an unsubscribe message to a core network function serving the first relay device;
the context of the fourth terminal includes information related to the first relay device, and the unsubscribe message is used for unsubscribing from events related to a core network function of the first relay device.
Optionally, the receiving module is further configured to:
receiving a fifth message from a fifth terminal;
the sending module 210 is further configured to:
sending a second registration message or a third registration message to the second core network function;
the second registration message carries second indication information, and the second indication information is used for indicating at least one of the following:
logging off a sixth core network function of the fifth terminal which is not registered by using the first indication information;
logging out a sixth core network function which is registered by using the first indication information and serves the fifth terminal;
the third registration message does not carry the first indication information and the second indication information, and is used for indicating at least one of the following:
Logging off a sixth core network function of the fifth terminal which is not registered by using the first indication information;
logging out a sixth core network function which is registered by using the first indication information and serves the fifth terminal;
a sixth core network function of registering service of the fifth terminal using the second indication information is canceled;
the fifth terminal is a terminal which does not send a message to the core network function through the first relay device.
Optionally, the sending module 210 is specifically configured to:
in the case that the context of the fifth terminal includes information related to a first relay device, the first core network function sends the second registration message to the second core network function based on the context of the fifth terminal;
in the case that the context of the fifth terminal does not include information related to the first relay device, the first core network function transmits the third registration message to the second core network function based on the context of the fifth terminal.
Optionally, the fifth message carries information serving a sixth core network function of the fifth terminal; the sending module 210 is further configured to:
and requesting the context of the fifth terminal from the sixth core network function.
Optionally, the sending module 210 is further configured to:
sending a third registration message to the second core network function;
the third registration message does not carry the first indication information and the second indication information, and is used for indicating at least one of the following:
stopping logging out the third core network function registered by using the first indication information;
and logging off the third core network function which is not registered by using the first indication information.
Optionally, the receiving module is further configured to:
and receiving the third indication information sent by the access network equipment and aiming at the first relay equipment.
Optionally, the first core network function and the third core network function belong to networks of the same system, and/or the first core network function and the sixth core network function belong to networks of the same system.
The apparatus of this embodiment may be used to execute the method of any one of the foregoing first core network function side method embodiments, and its specific implementation process and technical effects are similar to those of the first core network function side method embodiment, and specific reference may be made to the detailed description of the first core network function side method embodiment, which is not repeated herein.
Fig. 7 is a second schematic structural diagram of the communication device provided in the present application. As shown in fig. 7, the communication device provided in this embodiment includes:
A receiving module 310, configured to receive a first registration message sent by a first core network function, where the first core network function is a core network function serving a first terminal; the first registration message carries first indication information;
the second core network function performs at least one of:
stopping logging off a third core network function of the first terminal which is not registered by using the first indication information;
logging out a third core network function which is registered by using the first indication information and serves the first terminal;
logging off a third core network function of the first terminal which is not registered by using the first indication information;
and not logging out the first core network function.
Optionally, the apparatus further comprises:
and the sending module is used for sending the information of the fourth core network function to the first core network function.
Optionally, after the second core network function receives the first registration message sent by the first core network function, the receiving module 310 is further configured to:
and the sending module is used for receiving the first registration message and sending a cancellation message to the first core network function.
Optionally, the receiving module 310 is further configured to:
receiving a second registration message or a third registration message;
Wherein the second registration message carries second indication information, and the second core network function performs at least one of the following:
logging off a sixth core network function which is not registered by using the first indication information;
logging out a sixth core network function registered using the first indication information;
the third registration message does not carry the first indication information and the second indication information, and the second core network function performs at least one of the following:
logging off a sixth core network function which is not registered by using the first indication information;
logging out a sixth core network function registered using the first indication information;
and deregistering the sixth core network function registered using the second instruction information.
Optionally, the receiving module 310 is further configured to:
receiving a third registration message;
wherein the third registration message does not carry the first indication information and the second indication information, and the second core network function performs at least one of the following:
stopping logging out the third core network function registered by using the first indication information;
and logging off the third core network function which is not registered by using the first indication information.
Optionally, the first core network function and the third core network function belong to networks of the same system, and/or the first core network function and the sixth core network function belong to networks of the same system.
The apparatus of this embodiment may be used to execute the method of any one of the foregoing second core network function side method embodiments, and its specific implementation process and technical effects are similar to those of the second core network function side method embodiment, and specific reference may be made to the detailed description of the second core network function side method embodiment, which is not repeated herein.
The communication device in the embodiments of the present application may be an electronic device, for example, an electronic device with an operating system, or may be a component in an electronic device, for example, an integrated circuit or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, terminals may include, but are not limited to, the types of terminals 11 listed above, other devices may be servers, network attached storage (Network Attached Storage, NAS), etc., and embodiments of the application are not specifically limited.
The communication device provided in the embodiment of the present application can implement each process implemented by the embodiments of the methods of fig. 2 to 5, and achieve the same technical effects, so that repetition is avoided, and no further description is provided herein.
Optionally, as shown in fig. 8, the embodiment of the present application further provides a communication device 800, including a processor 801 and a memory 802, where the memory 802 stores a program or an instruction that can be executed on the processor 801, for example, when the communication device 800 is a first core network function, the program or the instruction is executed by the processor 801 to implement the steps of the foregoing communication method embodiment, and achieve the same technical effects. When the communication device 800 is a second core network function, the program or the instruction, when executed by the processor 801, implements the steps of the above-described communication method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
The embodiment of the application further provides a first core network function, which comprises a processor and a communication interface, wherein the communication interface is used for sending a first registration message to a second core network function under the condition that the core network function serving a first terminal is the first core network function, the first registration message carries first indication information, and the first indication information is used for indicating that the first terminal is a terminal accessing to a network through a first relay device or indicating that the second core network function executes operations related to cancellation, wherein the first terminal is a terminal accessing to the network through the first relay device. The first core network functional embodiment corresponds to the first core network functional method embodiment, and each implementation process and implementation manner of the method embodiment can be applied to the first core network functional embodiment, and the same technical effect can be achieved.
The embodiment of the application also provides a second core network function, which comprises a processor and a communication interface, wherein the communication interface is used for receiving a first registration message sent by a first core network function, and the first core network function is a core network function for serving a first terminal; the first registration message carries first indication information; the second core network function performs at least one of: stopping logging off a third core network function of the first terminal which is not registered by using the first indication information; logging out a third core network function which is registered by using the first indication information and serves the first terminal; logging off a third core network function of the first terminal which is not registered by using the first indication information; and not logging out the first core network function. The second core network functional embodiment corresponds to the second core network functional method embodiment, and each implementation process and implementation manner of the method embodiment can be applied to the second core network functional embodiment, and the same technical effect can be achieved.
Specifically, the embodiment of the application also provides network side equipment. As shown in fig. 9, the network side device 900 includes: a processor 901, a network interface 902, and a memory 903. The network interface 902 is, for example, a common public radio interface (common public radio interface, CPRI).
Specifically, the network side device 900 of the embodiment of the present invention further includes: instructions or programs stored in the memory 903 and executable on the processor 901, the processor 901 invokes the instructions or programs in the memory 903 to perform the methods performed by the modules shown in fig. 6 or fig. 7, and achieve the same technical effects, so that repetition is avoided and thus they are not described herein.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, and when the program or the instruction is executed by a processor, the program or the instruction implements each process of the foregoing communication method embodiment, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
Wherein the processor is a processor in the terminal described in the above embodiment. The readable storage medium includes computer readable storage medium such as computer readable memory ROM, random access memory RAM, magnetic or optical disk, etc.
The embodiment of the application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled with the processor, and the processor is used for running a program or an instruction, implementing each process of the above communication method embodiment, and achieving the same technical effect, so as to avoid repetition, and no redundant description is provided herein.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, or the like.
The embodiments of the present application further provide a computer program/program product, where the computer program/program product is stored in a storage medium, and the computer program/program product is executed by at least one processor to implement each process of the foregoing embodiments of the communication method, and achieve the same technical effects, so that repetition is avoided, and details are not repeated herein.
The embodiment of the application also provides a communication system, which comprises: a first core network function operable to perform the steps of the communication method as described above, and a second core network function operable to perform the steps of the communication method as described above. Further, the communication system may further include a terminal and a relay device, where the terminal may perform the steps performed by the terminal in the above method embodiments, and the relay device may perform the steps performed by the relay device in the above method embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solutions of the present application may be embodied essentially or in a part contributing to the prior art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (28)

1. A method of communication, comprising:
in the case that a core network function serving a first terminal is a first core network function, the first core network function sends a first registration message to a second core network function, where the first registration message carries first indication information, where the first indication information is used to indicate that the first terminal is a terminal accessing a network through a first relay device, or indicate that the second core network function performs a logout-related operation;
the first terminal is a terminal accessed to the network through the first relay equipment.
2. The method according to claim 1, wherein in case the first terminal is a terminal sending a message to a core network function through a first relay device, the de-registering related operation comprises at least one of:
Logging out a third core network function which is registered by using the first indication information and serves the first terminal;
logging off a third core network function of the first terminal which is not registered by using the first indication information;
and stopping logging out the first core network function.
3. The method of claim 1, wherein the step of determining the position of the substrate comprises,
in the case that the first terminal is a terminal that moves along with the first relay device, or in the case that the first core network function receives third indication information sent by the access network device for the first relay device, the logout-related operation includes at least one of the following:
stopping logging off a third core network function of the first terminal which is not registered by using the first indication information;
logging out a third core network function which is registered by using the first indication information and serves the first terminal;
the third indication information is used for indicating access point update, core network function relocation or location update.
4. A method according to any one of claims 1-3, wherein the method further comprises:
the first core network function receives a first message sent by a second terminal and stops sending the first registration message to the second core network function;
The second terminal is a terminal which does not send a message to the core network function through the first relay device.
5. A method according to any of claims 1-3, characterized in that before the first core network function sends a first registration message to a second core network function, the method further comprises:
the first core network function receives a second message sent by the first terminal, wherein the second message carries information of a third core network function serving the first terminal;
the first core network function requests the context of the first terminal from the third core network function.
6. A method according to any one of claims 1-3, wherein the method further comprises:
the first core network function receives a fourth message sent by a third terminal;
the first core network function deletes information related to a first relay device from the context of the third terminal;
the third terminal is a terminal which does not send a message to a core network function through the first relay device.
7. The method according to claim 6, wherein the fourth message carries information of a fifth core network function serving the third terminal; the method further comprises the steps of:
The first core network function obtains the context of the third terminal from the fifth core network function.
8. A method according to claim 3, characterized in that the third indication information carries information of a third core network function of the service terminal; the method further comprises the steps of:
the first core network function sends a sixth message to the third core network function, where the sixth message is used to request a context of the terminal, and the context includes the context of the first terminal.
9. The method according to any one of claims 1-5, further comprising:
the first core network function receives information of a fourth core network function sent by the second core network function;
the first core network function sends a third message to the fourth core network function, wherein the third message is used for requesting to acquire information related to a first relay device, and the information related to the first relay device comprises information serving the core network function of the first relay device;
the first core network function sends an unsubscribe message to a core network function serving the first relay device, where the unsubscribe message is used to unsubscribe events related to the core network function serving the first relay device.
10. The method of claim 5, wherein the method further comprises:
and under the condition that the context of the first terminal comprises information related to the first relay equipment, the first core network function sends an unsubscribe message to the core network function serving the first relay equipment based on the context of the first terminal, wherein the unsubscribe message is used for unsubscribing events related to the core network function serving the first relay equipment.
11. The method according to any one of claims 1-5, further comprising:
the first core network function receives a cancellation message sent by the second core network function, wherein the cancellation message carries information related to a fourth terminal;
the first core network function sends an unsubscribe message to a core network function serving the first relay device based on the context of the fourth terminal;
the context of the fourth terminal includes information related to the first relay device, and the unsubscribe message is used for unsubscribing from events related to a core network function of the first relay device.
12. The method according to any one of claims 1-5, further comprising:
The first core network device receives a fifth message from a fifth terminal;
the first core network function sends a second registration message or a third registration message to the second core network function;
the second registration message carries second indication information, and the second indication information is used for indicating at least one of the following:
logging off a sixth core network function of the fifth terminal which is not registered by using the first indication information;
logging out a sixth core network function which is registered by using the first indication information and serves the fifth terminal;
the third registration message does not carry the first indication information and the second indication information, and is used for indicating at least one of the following:
logging off a sixth core network function of the fifth terminal which is not registered by using the first indication information;
logging out a sixth core network function which is registered by using the first indication information and serves the fifth terminal;
a sixth core network function of registering service of the fifth terminal using the second indication information is canceled;
the fifth terminal is a terminal which does not send a message to the core network function through the first relay device.
13. The method of claim 12, wherein the first core network function sending a second registration message or sending a third registration message to the second core network function comprises:
In the case that the context of the fifth terminal includes information related to a first relay device, the first core network function sends the second registration message to the second core network function based on the context of the fifth terminal;
in the case that the context of the fifth terminal does not include information related to the first relay device, the first core network function transmits the third registration message to the second core network function based on the context of the fifth terminal.
14. The method according to claim 11 or 12, characterized in that the fifth message carries information of a sixth core network function serving the fifth terminal; the method further comprises the steps of:
the first core network function requests the context of the fifth terminal from the sixth core network function.
15. A method according to any one of claims 1-3, wherein the method further comprises:
the first core network function sends a third registration message to the second core network function;
the third registration message does not carry the first indication information and the second indication information, and is used for indicating at least one of the following:
Stopping logging out the third core network function registered by using the first indication information;
and logging off the third core network function which is not registered by using the first indication information.
16. The method of claim 15, wherein the method further comprises:
the first core network function receives the third indication information sent by the access network device and aimed at the first relay device.
17. The method according to any one of claims 1 to 16, wherein,
the first core network function and the third core network function belong to networks of the same system, and/or the first core network function and the sixth core network function belong to networks of the same system.
18. A method of communication, comprising:
the second core network function receives a first registration message sent by a first core network function, wherein the first core network function is a core network function for serving a first terminal; the first registration message carries first indication information;
the second core network function performs at least one of:
stopping logging off a third core network function of the first terminal which is not registered by using the first indication information;
logging out a third core network function which is registered by using the first indication information and serves the first terminal;
Logging off a third core network function of the first terminal which is not registered by using the first indication information;
and not logging out the first core network function.
19. The method of claim 18, wherein the method further comprises:
the second core network function sends information of a fourth core network function to the first core network function.
20. The method according to claim 18 or 19, wherein after the second core network function receives the first registration message sent by the first core network function, the method further comprises:
the second core network function receives the first registration message and sends a cancellation message to the first core network function.
21. The method according to claim 18 or 19, characterized in that the method further comprises:
the second core network function receives a second registration message or a third registration message;
wherein the second registration message carries second indication information, and the second core network function performs at least one of the following:
logging off a sixth core network function which is not registered by using the first indication information;
logging out a sixth core network function registered using the first indication information;
the third registration message does not carry the first indication information and the second indication information, and the second core network function performs at least one of the following:
Logging off a sixth core network function which is not registered by using the first indication information;
logging out a sixth core network function registered using the first indication information;
and deregistering the sixth core network function registered using the second instruction information.
22. The method according to claim 18 or 19, characterized in that the method further comprises:
the second core network function receives a third registration message;
wherein the third registration message does not carry the first indication information and the second indication information, and the second core network function performs at least one of the following:
stopping logging out the third core network function registered by using the first indication information;
and logging off the third core network function which is not registered by using the first indication information.
23. The method according to any one of claims 18 to 22, wherein,
the first core network function and the third core network function belong to networks of the same system, and/or the first core network function and the sixth core network function belong to networks of the same system.
24. A communication device, comprising:
the sending module is configured to send a first registration message to a second core network function when a core network function serving a first terminal is the first core network function, where the first registration message carries first indication information, where the first indication information is used to indicate that the first terminal is a terminal accessing a network through a first relay device, or indicate that the second core network function performs a logout related operation, and the first terminal is a terminal accessing the network through the first relay device.
25. A communication device, comprising:
the receiving module is used for receiving a first registration message sent by a first core network function, wherein the first core network function is a core network function for serving a first terminal; the first registration message carries first indication information;
the second core network function performs at least one of:
stopping logging off a third core network function of the first terminal which is not registered by using the first indication information;
logging out a third core network function which is registered by using the first indication information and serves the first terminal;
logging off a third core network function of the first terminal which is not registered by using the first indication information;
and not logging out the first core network function.
26. A first core network function comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the communication method of any one of claims 1 to 17.
27. A second core network function comprising a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the communication method of any of claims 18 to 23.
28. A readable storage medium, characterized in that the readable storage medium stores thereon a program or instructions, which when executed by a processor, implements the communication method according to any of claims 1 to 17 or the steps of the communication method according to any of claims 18 to 23.
CN202210701943.1A 2022-06-20 2022-06-20 Communication method and device Pending CN117295133A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210701943.1A CN117295133A (en) 2022-06-20 2022-06-20 Communication method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210701943.1A CN117295133A (en) 2022-06-20 2022-06-20 Communication method and device

Publications (1)

Publication Number Publication Date
CN117295133A true CN117295133A (en) 2023-12-26

Family

ID=89237778

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210701943.1A Pending CN117295133A (en) 2022-06-20 2022-06-20 Communication method and device

Country Status (1)

Country Link
CN (1) CN117295133A (en)

Similar Documents

Publication Publication Date Title
CN116567604A (en) Disaster roaming control method, device, terminal and network side equipment
CN117295133A (en) Communication method and device
CN115915106A (en) Data subscription method, device and network element
CN118055394A (en) Information transmission method, apparatus, communication device and readable storage medium
CN117641513A (en) Communication method, device and readable storage medium
CN116847297A (en) Multicast service processing method, device and readable storage medium
CN116566950A (en) IP address determining method and device, identification determining method and device and network element
CN117062097A (en) Configuration method and device of UE policy information, first network function and terminal
CN117528676A (en) Method for acquiring network selection information of managed network, terminal and network side equipment
CN116847330A (en) Terminal unavailable period negotiation method, terminal and network equipment
CN116828546A (en) Session channel establishment method, device and equipment of non-3 GPP equipment
CN116847327A (en) Network switching method, device, network element, entity, server and storage medium
CN117082591A (en) Network element selection method, capability indication method and device
CN117640629A (en) Calculation task migration method, device and equipment
CN117979374A (en) Measurement configuration method, device, equipment, system and storage medium
CN116567709A (en) Equipment identifier distribution method, device, network function and storage medium
CN117641515A (en) Communication method, terminal and network side equipment
CN116233877A (en) Mobility management method, terminal and network side equipment
CN117119429A (en) Terminal route selection policy information management method and related equipment
CN116939548A (en) Service opening processing method and device and related equipment
CN117956568A (en) Deregistration control method, device, terminal equipment, network element and storage medium
CN117835214A (en) Communication method, device and readable storage medium
CN117412283A (en) Information processing method, apparatus, communication device, and readable storage medium
CN116266906A (en) Disaster condition roaming processing method, terminal and network equipment
CN116567776A (en) Information transmission method, device and network function

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