WO2020034955A1 - Procédé de communication et dispositif de communication - Google Patents

Procédé de communication et dispositif de communication Download PDF

Info

Publication number
WO2020034955A1
WO2020034955A1 PCT/CN2019/100418 CN2019100418W WO2020034955A1 WO 2020034955 A1 WO2020034955 A1 WO 2020034955A1 CN 2019100418 W CN2019100418 W CN 2019100418W WO 2020034955 A1 WO2020034955 A1 WO 2020034955A1
Authority
WO
WIPO (PCT)
Prior art keywords
service instance
service
message
identifier
target
Prior art date
Application number
PCT/CN2019/100418
Other languages
English (en)
Chinese (zh)
Inventor
宗在峰
朱奋勤
Original Assignee
华为技术有限公司
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
Priority claimed from CN201910523684.6A external-priority patent/CN110830543B/zh
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to EP19849892.5A priority Critical patent/EP3836515B1/fr
Priority to BR112021002797-1A priority patent/BR112021002797A2/pt
Priority to AU2019321895A priority patent/AU2019321895C1/en
Priority to KR1020217007395A priority patent/KR102580499B1/ko
Priority to JP2021507602A priority patent/JP7196282B2/ja
Publication of WO2020034955A1 publication Critical patent/WO2020034955A1/fr
Priority to US17/171,539 priority patent/US11190602B2/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L65/00Network arrangements, protocols or services for supporting real-time applications in data packet communication
    • H04L65/40Support for services or applications

Definitions

  • the present application relates to the field of communications, and more particularly, to a communication method and a communication device.
  • a producer service instance sends a message related to user equipment to a service framework.
  • the service framework picks one out of multiple consumer service instances and sends a message related to the user equipment to the consumer service instance.
  • the same service instance is required to serve the same user equipment.
  • the above method cannot guarantee that the same service instance will serve the same user equipment during multiple message interactions.
  • two service instances communicating with the user equipment are notified to the peer to send subsequent messages related to the user equipment to itself, thereby completing the binding between the service instances.
  • the above method of directly binding service instances increases the degree of coupling between service instances and the complexity of service instance processing.
  • the application provides a communication method and a communication device, which can reduce the complexity of service instance processing.
  • a communication method including: receiving a first message sent by a first service instance, the first message including a target identifier; and based on the first message, having a binding relationship with the target identifier The second service instance sends the second message.
  • the binding between the target identifier and the service instance is used instead of the direct binding between the service instances in the prior art. It can reduce the coupling between service instances and reduce the complexity of service instance processing.
  • the foregoing service instance may be a network function in a fifth-generation (5G) mobile communication system, and may also be a service provided by a certain network function.
  • the service instance may also be a separately divided service instance independent of network functions, which is not specifically limited in the embodiment of the present application.
  • the first message is a message related to the user equipment, and the first message is used to request a second service, and the second service is a service related to the user equipment provided by the second service instance.
  • the identifier of the target service set is obtained according to the first message; according to the target An identification of a service set, selecting a third service instance from the target service set; and sending a third message to the third service instance based on the first message.
  • the target service set identifier can be used to quickly and effectively select a new service instance as the target service instance to ensure service reliability.
  • the identifier of the target service set is obtained from the first message, and the first message further includes the identifier of the target service set; or, Obtain the identifier of the target service set from the target identifier in the first message, where the target identifier includes the identifier of the target service set; or, it will be the same as the target in the first message
  • An identifier identifying a service set having a mapping relationship is determined as an identifier of the target service set.
  • the embodiment of the present application does not specifically limit the position of the cell occupied by the target service set identifier in the first message.
  • the target service set identifier may occupy cells in the target identifier, may also occupy other cells in the first message except the target identifier, or may obtain the target service according to the mapping relationship between the target identifier and the service set identifier. Collection ID and more.
  • the communication method further includes: receiving a fourth message sent by the second service instance, and the transmission agent obtains the target identifier and A binding relationship between the second service instances.
  • the service instance triggers the transmission agent to establish a binding relationship between the service instance and the target identifier by sending a fourth message.
  • the transmission agent may actively establish a binding relationship between the service instance and the target identifier without being triggered by the fourth message.
  • the fourth message is a message related to a user equipment or the fourth message is a special binding request message.
  • the fourth message carries the target identifier.
  • the communication method further includes: after receiving a fourth message sent by the second service instance, allocating the target to the second service instance Logo.
  • Using a transfer agent to assign a target identifier to a service instance can reduce the burden on the service instance and further reduce the processing complexity of the service instance.
  • the communication method further includes: when the message is a message related to a user equipment, adding the target identifier to the fourth message.
  • the transmission agent adds the target identifier to the fourth message after the target identifier is allocated, which can ensure that the first service instance can obtain the target identifier after receiving the fourth message with the target identifier added, so that When sending a message to the second service instance, the target identifier may be carried, so that the transmission agent may send the message to the second service instance according to the binding relationship between the target identifier and the service instance.
  • the fourth message carries at least one of a binding indication and a binding timer, and the binding timer is configured to be released after the binding timer expires.
  • the fourth message carries the binding indication can be understood as an explicit trigger.
  • the fourth message may not include a binding indication. This situation can be understood as an implicit trigger.
  • the transmission agent directly establishes the binding of the binding target identifier and the service instance when the fourth message can be received. relationship.
  • the binding timer By using the binding timer, the binding time between the service instance and the target identifier can be precisely controlled, so that other service instances can be selected after the binding timer expires, thereby supporting better load balancing.
  • the communication method further includes: receiving a fifth message sent by the second service instance, where the fifth message is used for requesting to release the target identifier and The binding relationship of the second service instance; or, starting a binding timer, and releasing the binding relationship between the target identifier and the second service instance when the binding timer expires.
  • the service instance By using an unbinding request or a binding timer that is initiated, the service instance notifies the transport agent to release the binding relationship between the target identifier and the service instance when it does not need to process messages related to a certain user equipment.
  • the binding relationship between the target identifier and the service instance is maintained by the transmission agent, and instead of the service instance in the prior art, the binding relationship between the service instances is directly maintained, which can further reduce the processing complexity of the service instance.
  • the service instance may initiate a debinding request under a heavy load, the service instance goes offline, or the service instance fails, and notify the transport agent to unbind the target identifier from the service instance. It is guaranteed that the services related to user equipment can be removed from the above service instances under the above circumstances.
  • the fifth message further carries indication information, and the indication information is used to instruct a transmission agent to bind the target identifier to the third service instance set.
  • the fifth message carries instruction information, and can request the target identifier to be unbound from the original service instance, and instruct the target identifier to be bound to other service instances. This completes the transfer of business load between service instances and achieves load balancing between service instances.
  • the second service instance may request to bind the target identifier to be unbound to the other service instance when the load of the other service instance is less, or the communication quality of the other service instance is better.
  • the application examples are not limited to this.
  • the target identifier is related to one or a group of user equipments.
  • the use of different granularity of target identification helps to complete different granularity of business management.
  • the target identifier may use different formats.
  • the target identifier when the target identifier is related to a user equipment, the target identifier may be at least one of an IP address and a port number of a transport agent, or the target The identifier may also be an identifier of a service set to which the second service instance belongs and a unique identifier within the service set, or the target identifier is a unique value in the transfer agent allocated by the transfer agent, which is not done in this application.
  • the target identifier when the target identifier is related to a group of user equipment, the target identifier may be an identifier of a service set corresponding to the second service instance, or an identifier of the service set and an identifier of the second service instance Or the identifier of the service set and the unique service pointer in the service set, the service pointer is used to identify a group of user equipment in the service set, etc., which is not limited in this application.
  • a single or multiple target identifiers related to user equipment may be selected according to specific needs, and the embodiment of the present application does not specifically limit when to select a single or multiple target identifiers related to user equipment.
  • the target identifier is one of the service pointers configured for the second service instance
  • the communication method further includes: receiving the first Six messages, the sixth message is used to request a service pointer to be configured for the second service instance; a sixth message response is sent to the second service instance, and the sixth message response includes configuration for the second service instance Service pointer.
  • the transfer agent configures the service pointer for the service instance, which can realize the automatic configuration of the service pointer.
  • the sixth message response includes one or more service pointers.
  • the foregoing service pointer may be a service pointer related to a single user equipment or a service pointer related to multiple user equipments, that is, one service pointer may correspond to a single user equipment or may correspond to multiple user equipments.
  • the service pointer when the above-mentioned service pointer is related to a single user equipment, the service pointer may be a range of service pointers (for example, from 1 to 100).
  • the registration request includes at least one of the following information: service instance identifier, service type, manufacturer information, service instance capacity, and service instance service Region, the network slice capability supported by the service instance, and the identifier of the service set to which the service instance belongs.
  • the registration request may also carry other information such as data network name (DNN).
  • DNN data network name
  • the method before the second service instance sends a registration request to a transmission agent, the method further includes: the second service instance discovers the transmission agent.
  • the address information of the local transport agent can be fixed in the configuration file of the second service instance in advance; or the service instance discovers the local transport agent through the discovery mechanism, such as It may be a second service instance sending a broadcast or multicast message in the network; it may also be a discovery mechanism similar to a dynamic host configuration protocol (DHCP) server.
  • DHCP dynamic host configuration protocol
  • the sixth message includes the number of service pointers applied by the second service instance, and the communication method further includes: according to the second service instance The number of applied service pointers configures a service pointer for the second service instance.
  • the number of requested service pointers carried in the sixth message enables the service instance to reasonably request the transmission agent to allocate service pointers based on its own load or other information, to ensure appropriate granularity of user equipment-related business management.
  • the communication method further includes: configuring a service pointer for the second service instance according to a capacity of the second service instance.
  • the sixth message carries the capacity of the service instance, so that the service instance can integrate the capacity of other service instances in the service set to which the second service instance belongs to configure a service pointer, and ensure proper granularity of binding and unbinding.
  • the communication method further includes: determining a service set to which the second service instance belongs; and configuring a service pointer for the second service instance such that the first The service pointers of the two service instances are different from the service pointers of other service instances in the service set.
  • assigning different service pointers to service instances in the same service set can prevent conflicts in service pointers in the service set. Allocating the same pointer to service instances in different service sets can avoid the waste of service pointer resources while not causing conflicts in service pointers for the entire network.
  • the target identifier includes one of service pointers configured for the second service instance
  • the communication method further includes: receiving the second service instance's A seventh message, where the seventh message includes a service pointer of the second service instance, so that a transport agent binds the second service instance and the service pointer.
  • the service pointer in the seventh message may be a service pointer configured for the second service instance in advance, which can ensure that the service pointer is allocated for the configuration of the second service instance in advance according to the needs.
  • the communication method further includes: when a service pointer of the second service instance and other service instances in a service set to which the second service instance belongs are When the service pointer conflicts, reconfigure the service pointer for the second service instance; and send a seventh message response to the second service instance, where the seventh message response includes the service pointer reconfigured for the second service instance.
  • the transfer agent reassigns the service pointer to the service instance to ensure the uniqueness of the service pointer in the same service set.
  • the target identifier is located in a header of the HTTP message.
  • HTTP Hypertext Transfer Protocol
  • the target identifier is located in the header of the HTTP message to facilitate identification and processing by the transport agent.
  • the first message may be the above-mentioned HTTP message, or may be an AMQP message, or may be a message of other formats.
  • the embodiment of the present application does not specifically limit the first message itself.
  • a communication method in a second aspect, includes: a second service instance sends a fourth message to a transmission agent, the fourth message is used to trigger the transmission agent to establish the second service instance and a target identifier. Binding relationship, wherein the target identifier is related to the user equipment; the second service instance receives a second message related to the user equipment forwarded by the transport agent, and the second message includes the target identifier.
  • the fourth message is a message related to user equipment, or the fourth message is a special binding request.
  • the fourth message includes at least one of the target identifier and a binding timer.
  • the fourth message carries the binding indication can be understood as an explicit trigger.
  • the fourth message may not include a binding indication, and this situation may be understood as an implicit trigger.
  • the binding timer By using the binding timer, the binding time between the service instance and the target identifier can be precisely controlled, so that other service instances can be selected after the binding timer expires, thereby supporting better load balancing.
  • the communication method further includes: the second service instance sending the target identifier to the first service instance.
  • the communication method further includes: the transmission agent inserts the target identifier in a fourth message, so as to send the target identifier to the first Service instance.
  • the first service instance can obtain the target identifier of the second service instance, so that in the next message interaction, the first service instance can carry the target identifier in a message related to the user equipment, thereby sending the message related to the user equipment to the last time
  • the second service instance used by the message interaction achieves the purpose that the same service instance serves the same user.
  • the communication method further includes: sending, by the second service instance, a fifth message to the transmission agent, where the fifth message is used to request to release the The binding relationship between the target identifier and the second service instance.
  • the unbinding request is initiated, so that the service instance notifies the transport agent to release the binding relationship between the target identifier and the service instance when it does not need to process a message related to a certain user equipment.
  • the transport agent maintains the binding relationship between the target identifier and the service instance. Instead of directly maintaining the service instance in the prior art, the binding relationship between the service instances can further reduce the processing complexity of the service instance.
  • the service instance may initiate a debinding request under heavy load, service instance offline, or service instance failure, and notify the transport agent to unbind the target identifier from the service instance.
  • the service related to the user equipment can be removed from the above service instance.
  • the fifth message further carries indication information, where the indication information is used to instruct a transport agent to bind the target identifier to the third service instance .
  • the fifth message carries instruction information, which can request the target identifier to be unbound from the original service instance, and instruct the target identifier to be bound to other service instances, thereby completing the transfer of business load between service instances and realizing the service instance. Load balancing between.
  • the target identifier is related to one or a group of user equipments.
  • the target identifier is one of the service pointers configured for the second service instance
  • the communication method further includes: The transmission agent sends a sixth message, the sixth message is used to register the second service instance, the sixth message includes a service pointer of the second service instance, and the second service instance receives the transmission agent A sixth message response is sent, and the sixth message response includes a service pointer configured for the second service instance.
  • Requesting the transfer agent to configure service pointers for service instances in advance can enable automatic configuration of service pointers.
  • the registration request includes a number of service pointers applied by the second service instance.
  • the number of requested service pointers carried in the registration request enables the service instance to reasonably request the transmission agent to allocate service pointers based on its own load or other information, to ensure appropriate granularity of business management related to user equipment. For example, when the service instance feels that its own load is heavy, it may request the transmission agent to allocate more service pointers to itself to refine the management granularity. In this way, the number of user equipments corresponding to a single service pointer can be reduced accordingly, ensuring proper granularity of user equipment-related service management.
  • the communication method further includes: the second service instance sends a seventh message to the transmission agent, and the seventh message includes the second service The service pointer that the instance configures for itself.
  • the service pointer in the registration request may be a service pointer manually configured for the second service instance in advance, which can ensure that the service pointer is allocated for the configuration of the second service instance in advance according to the needs.
  • the first message is a Hypertext Transfer Protocol HTTP message
  • the target identifier is located in a header of the HTTP message.
  • the target identifier is located in the header of the HTTP message to facilitate identification and processing by the transport agent.
  • the first message may be the aforementioned HTTP message or an AMQP message, and the embodiment of the present application does not specifically limit the first message itself.
  • a communication method includes: a first service instance receives a target identifier related to a user equipment and a second service instance, and the first service instance sends The message related to the second service instance carries the target identifier, and the target identifier is used to send the message to the second service instance.
  • the first service instance receives the target identifier from the second service instance.
  • the first service instance receives the target identifier from a transmission agent related to the second service instance.
  • a communication device for performing the foregoing first aspect or the method in any possible implementation manner of the first aspect.
  • the device includes a unit for performing the foregoing first aspect or the method in any possible implementation manner of the first aspect.
  • another communication device for performing the method in the second aspect or any possible implementation manner of the second aspect.
  • the device includes a unit for performing the method in the foregoing second aspect or any possible implementation manner of the second aspect.
  • another communication device for performing the foregoing third aspect or the method in any possible implementation manner of the third aspect.
  • the device includes a unit for performing the foregoing third aspect or the method in any possible implementation manner of the third aspect.
  • a communication device includes a transceiver and a processor.
  • the transceiver communicates with the processor through an internal connection path.
  • the processor is used to control the receiver to receive signals and to control the transmitter to send signals.
  • the communication device further includes a memory, wherein the transceiver, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control
  • the receiver receives the signal and controls the transmitter to send the signal, so that the device executes the method in the first aspect or any possible implementation manner of the first aspect.
  • another communication device includes a transceiver.
  • This transceiver is used to receive / transmit signals.
  • the communication device further comprises a processor.
  • the transceiver and the processor communicate with each other through an internal connection.
  • the processor is used to execute instructions, control the receiver to receive signals, and control the transmitter to send signals.
  • the communication device further includes a memory.
  • the transceiver, the memory, and the processor communicate with each other through an internal connection path.
  • the memory is used to store instructions.
  • the processor is used to execute the instructions stored in the memory to control the receiver to receive signals and to control the transmitter to send signals.
  • the device includes a transceiver and a processor. This transceiver is used to receive / transmit signals.
  • the communication device further comprises a processor.
  • the transceiver and the processor communicate with each other through an internal connection.
  • the processor is used to execute instructions, control the receiver to receive signals, and control the transmitter to send signals.
  • the communication device further includes a memory.
  • the transceiver, the memory, and the processor communicate with each other through an internal connection path.
  • the memory is used to store instructions.
  • the processor is used to execute the instructions stored in the memory to control the receiver to receive signals and to control the transmitter to send signals.
  • an embodiment of the present application provides a communication system including one or more of a transmission agent and a service instance.
  • the transmission agent is configured to perform the method described in the first aspect or any possible design of the first aspect, or the method performed by the transmission agent in the solution provided in the embodiment of the present application.
  • the service instance is used to execute the second aspect or the service instance may be used to execute the method described in the second aspect or any possible implementation manner of the second aspect, the third aspect, or any one of the third aspects
  • the method may be implemented in one of the possible implementation manners, or the method performed by the service instance in the solution provided in the embodiment of the present application.
  • the system further includes other devices, such as an access network and / or a DN network element, that interact with any one of the devices in the service instance in the solution provided in the embodiments of the present application. .
  • a communication method including: a first service instance receiving a first message related to a first session sent by a third service instance or a fourth service instance, the first message including a target identifier; The first service instance determines a second service instance that provides services for the first session according to the target identifier; the first service instance sends a second service instance related to the first session to the second service instance Message.
  • the first service instance determines the service instance serving the first session according to the target identifier, which improves the flexibility of service instance selection, so that the selected service instance that subsequently provides services for the first session can be provided with the previous session for the first session.
  • the service instance of the service is different, so that the failure of the third service instance prevents the first session from being interrupted.
  • the first message includes binding mode indication information, and the binding mode indication information is used to indicate the first session and the third session.
  • a service instance is bound, or is bound to a target service set, and the target service set includes the second service instance and the third service instance.
  • the first service instance can determine a mode for selecting a service instance.
  • the target identifier includes an identifier of the third service instance.
  • the method further includes:
  • the third message includes backup instruction information
  • the backup instruction information is used to indicate that the second service instance is the third service instance Providing a backup or the second service instance providing a backup for a first session group served by the third service instance; the first session group includes the first session; and the first service instance according to the target identifier
  • the second service instance determined to provide service for the first session includes: when the third service instance is unavailable, the first service instance determines the second service instance according to the backup instruction information and the target identifier.
  • the first service instance may use the service instance that provides backup in the first session as a candidate service instance.
  • the backup service instance provides services for the first session, which can prevent the first session from being interrupted when the third service instance fails, and improve the user experience.
  • the first service instance determines, according to the target identifier, a second service instance that provides services for the first session, including: the first A service instance obtains an identifier of the target service set according to the target identifier; the first service instance determines the second service instance from the target service set according to the target service set identifier, and the target A service set includes the second service instance, the third service instance, and the fourth service instance.
  • the service instance that provides services for the first session is determined according to the identifier of the target service set, which increases the flexibility of service instance selection, so that the selected service instance that subsequently provides services for the first session can be compared with the service instance that previously provided services for the first session.
  • the service instances are the same or different, so that the first session is not interrupted due to the unavailability of the service instances.
  • the first service instance determining the second service instance from the target service set according to the identifier of the target service set includes: The first service instance sends an identifier of the target service set to a network storage function NRF network element, and the first service instance receives the identifier of the second service instance sent by the NRF network element to determine the second service instance. Service instance.
  • determining that the service instance provides services for the first session can reduce the requirements for the storage capacity and processing capacity of the first service instance.
  • the method includes: the first service instance receives first information sent by a service instance in the target service set, the first information Including the identifier of the service instance and the identifier of the target service set; the first service instance determining the second service instance from the target service set according to the identifier of the target service set includes: the first A service instance determines a second service instance according to the identifier of the target service set and the first information.
  • the first service instance determines the service instance that provides services for the first session according to the received target service set and the identity of one or more service instances included in the target service set, which can reduce the first service instance to other network elements in the system. It does not need to deploy additional network elements, such as Domain Name Resolution Server (DNS) or NRF, and can reduce system latency.
  • DNS Domain Name Resolution Server
  • the obtaining, by the first service instance, the identifier of the target service set according to the target identifier includes: the first service instance obtains the identifier from the target And obtain the identifier of the target service set from the identifier, where the target identifier includes the identifier of the target service set; or the target identifier includes the identifier of the third service instance, and the first service instance is based on the first service instance Three service instance identities, to obtain the identity of the target service set; the target service set includes the third service instance.
  • the target identifier includes an identifier of the first conversation group, the first conversation group includes the first conversation, and the first service
  • the instance determining a second service instance that provides services for the first session according to the target identifier includes: the first service instance sends an identifier of the first session group to a network storage function NRF network element; the first A service instance receives the identifier of the second service instance sent by the NRF network element to determine the second service instance.
  • determining the service instance that provides services for the first session can avoid the service instance selected by the first service instance and other network elements in the system caused by arbitrarily selecting the service instance in the target service set, such as In the access management function AMF network element, the selected service instance is different, thereby causing an error in the state of the first session.
  • the first service instance is a user plane function UPF network element
  • the second service instance is a third service instance
  • the fourth The service instance is an SMF network element with session management function.
  • a communication device including a processor and a communication interface.
  • the communication interface is configured to receive a first message related to the first session sent by the third service instance or the fourth service instance, where the first message includes a target identifier.
  • the processor is configured to determine a second service instance that provides services for the first session according to the target identifier.
  • the communication interface is further configured to send a second message related to the first session to the second service instance.
  • the service instance that provides services for the first session is determined according to the target identifier, which increases the flexibility of service instance selection, so that the selected service instance that subsequently provides services for the first session can be different from the service instance that previously provided services for the first session. Therefore, the first session is interrupted due to the failure of the third service instance.
  • the first message includes binding mode indication information
  • the binding mode indication information is used to indicate that the first session and the third session A service instance is bound, or is bound to a target service set, and the target service set includes the second service instance and the third service instance.
  • the communication device can determine a method of selecting a service instance.
  • the target identifier includes an identifier of the third service instance.
  • the communication interface is further configured to receive a third message sent by the third service instance, where the third message includes backup indication information, and the backup The indication information is used to instruct the second service instance to provide a backup for the third service instance or the second service instance to provide a backup for a first conversation group served by the third service instance; the first conversation group includes The first session; the processor is configured to: when the third service instance is unavailable, determine the second service instance according to the backup instruction information and the target identifier.
  • the service instance that provides backup in the first session can be used as a candidate service instance.
  • the backup service instance provides services for the first session, which can prevent the first session from being interrupted when the third service instance fails, and improve the user experience.
  • the processor is further configured to obtain an identifier of the target service set according to the target identifier; the processor is further configured to, according to the target service set Identifying the second service instance from the target service set, where the target service set includes the second service instance, the third service instance, and the fourth service instance.
  • the service instance that provides services for the first session is determined according to the identifier of the target service set, which increases the flexibility of service instance selection, so that the selected service instance that subsequently provides services for the first session can be compared with the service instance that previously provided services for the first session.
  • the service instances are the same or different, so that the first session is not interrupted due to the unavailability of the service instances.
  • the communication interface is further configured to send an identifier of the target service set to a network storage function NRF network element, and the communication interface is further configured to receive the NRF The identifier of the second service instance sent by the network element to determine the second service instance.
  • determining that the service instance provides services for the first session can reduce the requirements for the storage capacity and processing capacity of the first service instance.
  • the communication interface is further configured to receive first information sent by a service instance in the target service set, where the first information includes the service instance And an identifier of the target service set; the processor is configured to determine the second service instance according to the target identifier and the first information.
  • determining the service instance that provides services for the first session can reduce the dependency on other network elements in the system without the need to deploy additional network elements , such as DNS or NRF, and can reduce system latency.
  • the obtaining unit is further configured to obtain an identifier of the target service set from the target identifier, where the target identifier includes the target service The identifier of the set; or, the obtaining unit is further configured to: the target identifier includes the identifier of the third service instance; and the processor is further configured to acquire the identifier of the target service set according to the identifier of the third service instance ; The target service set includes the third service instance.
  • the target identifier includes an identifier of the first conversation group, and the first conversation group includes the first conversation.
  • the communication interface is further configured to send the identifier of the first session group to a network storage function NRF network element; the communication interface is further configured to receive the identifier of the second service instance sent by the NRF network element to determine the Second service instance.
  • determining the service instance that provides services for the first session can avoid the selected service instance and other network elements in the system caused by arbitrarily selecting the service instance in the target service set, such as access management functions For the AMF network element, the selected service instance is different, which causes an error in the state of the first session.
  • the communication device is a user plane function UPF network element
  • the second service instance, the third service instance, and the fourth service instance are sessions.
  • a communication device including a transceiver unit and a determination unit.
  • the transceiver unit is configured to receive a first message related to the first session sent by the third service instance or the fourth service instance, where the first message includes a target identifier.
  • the determining unit is configured to determine a second service instance that provides a service for the first session according to the target identifier.
  • the transceiver unit is further configured to send a second message related to the first session to the second service instance.
  • the first message includes binding mode indication information
  • the binding mode indication information is used to indicate that the first session and the third session Service instance binding, or binding to a target service set, the target service set includes the second service instance, the third service instance, and the fourth service instance.
  • the target identifier includes an identifier of the third service instance.
  • the transceiver unit is further configured to receive a third message sent by the third service instance, where the third message includes backup indication information, and the backup The indication information is used to instruct the second service instance to provide a backup for the third service instance or the second service instance to provide a backup for a first conversation group served by the third service instance; the first conversation group includes The first session; when the third service instance is unavailable, the determining unit is configured to determine the second service instance according to the backup instruction information and the target identifier.
  • the communication device further includes an obtaining unit, where the obtaining unit is configured to obtain an identifier of the target service set according to the target identifier.
  • the determining unit is configured to determine the second service instance from the target service set according to an identifier of the target service set, where the target service set includes the second service instance and the third service instance And the fourth service instance.
  • the transceiver unit is further configured to send the identifier of the target service set to a network storage function NRF network element.
  • the transceiver unit is further configured to receive the identifier of the second service instance sent by the NRF network element to determine the second service instance.
  • the transceiver unit is further configured to receive first information sent by a service instance in the target service set, where the first information includes an identifier of the service instance And the identifier of the target service set; the determining unit is configured to determine the second service instance according to the identifier of the target service set and the first information.
  • the obtaining unit is configured to obtain an identifier of the target service set from the target identifier, where the target identifier includes an identifier of the target service set .
  • the obtaining unit is configured to, when the target identifier includes the identifier of the third service instance, acquire according to the identifier of the third service instance.
  • the target identifier includes an identifier of the first conversation group, and the first conversation group includes the first conversation.
  • the transceiver unit is further configured to send the identifier of the first conversation group to a network storage function NRF network element.
  • the transceiver unit is further configured to receive the identifier of the second service instance sent by the NRF network element to determine the second service instance.
  • the communication device is a user plane function UPF network element
  • the second service instance, the third service instance, and the fourth service instance are sessions Management function SMF network element.
  • a fourteenth aspect provides a communication method, including a third service instance sending a first message related to a first session to the first service instance, the first message includes a target identifier, and the target identifier is used to indicate the The first service instance determines a second service instance, which is used to provide a service for the first session.
  • the first message includes binding mode indication information
  • the binding mode indication information is used to indicate that the first session is bound to the third service instance. Or bound to a target service set, where the target service set includes the second service instance and the third service instance.
  • the target identifier includes an identifier of the third service instance.
  • the third service instance receives capability indication information sent by the first service instance or a network storage function NRF network element, and the capability indication information is used to indicate all
  • the first service instance supports load balancing based on a target service set, and the target service set includes the second service instance and the third service instance.
  • the third service instance sends the identifier of the target service set and the identifier of the third service instance to the first service instance, and the target service The set includes the second service instance and the third service instance.
  • the third service instance sends backup instruction information to the first service instance, and the backup instruction information is used to indicate that the second service instance is the third service instance Providing a backup, or providing a backup for a first session group served by the second service instance, the first session group including the first session.
  • a communication device for performing the method in the fourteenth aspect or any possible implementation manner of the fourteenth aspect.
  • the device includes a unit for performing the method in the fourteenth aspect or any possible implementation of the fourteenth aspect.
  • a communication device in a sixteenth aspect, includes a transceiver and a processor.
  • the transceiver communicates with the processor through an internal connection path.
  • the processor is used to control the receiver to receive signals and to control the transmitter to send signals.
  • the communication device further includes a memory, wherein the transceiver, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control
  • the receiver receives the signal and controls the transmitter to send the signal, so that the device executes the method in the fourteenth aspect or any one of the possible implementation manners of the fourteenth aspect.
  • a communication system including a first service instance, where the first service instance is configured to execute the method described in the eleventh aspect or any one of the possible implementation manners of the eleventh aspect, or the present invention The method executed by the first service instance in the solution provided in the application embodiment.
  • the system may further include a third service instance, and the third service instance is used to implement the fourteenth aspect or any one of the fourteenth possible implementation manners.
  • the system may further include other devices that interact with the first service instance and / or the third service instance in the eleventh aspect and the fourteenth aspect, such as An access management function network element.
  • the access management function network element may be used to execute a method performed by the access management function network element in the solution provided in the embodiment of the present application.
  • a computer program product includes computer program code that, when the computer program code is executed by a computer, causes the computer to execute a method in any possible implementation manner of any of the foregoing aspects. .
  • a computer-readable medium for storing a computer program, the computer program including instructions for performing a method in any possible implementation of any of the above aspects.
  • a communication chip in which instructions are stored that, when run on a computer device, cause the communication chip to execute a method in any possible implementation manner of any of the above aspects.
  • FIG. 1 is a schematic diagram of a 5G system architecture according to an embodiment of the present application.
  • FIG. 2 is a schematic diagram of a service framework provided by an embodiment of the present application.
  • FIG. 3 is a schematic diagram of a communication method according to an embodiment of the present application.
  • FIG. 4 is a schematic diagram of a communication method according to another embodiment of the present application.
  • FIG. 5 is a schematic diagram of a communication method according to another embodiment of the present application.
  • FIG. 6 is a schematic diagram of a communication method according to another embodiment of the present application.
  • FIG. 7 is a schematic diagram of a communication method according to another embodiment of the present application.
  • FIG. 8 is a schematic diagram of a communication method according to another embodiment of the present application.
  • FIG. 9 is a schematic diagram of a communication method according to another embodiment of the present application.
  • FIG. 10 is a schematic diagram of a communication method according to another embodiment of the present application.
  • FIG. 11 is a schematic structural diagram of a transmission agent according to an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a service example provided by an embodiment of the present application.
  • FIG. 13 is a schematic structural diagram of a communication device according to an embodiment of the present application.
  • FIG. 14 is a schematic structural diagram of a transmission agent according to another embodiment of the present application.
  • FIG. 15 is a schematic structural diagram of a service example provided by another embodiment of the present application.
  • FIG. 16 is a schematic structural diagram of a communication device according to another embodiment of the present application.
  • a service-based network architecture 100 provided by an embodiment of the present application includes multiple network functions (NF):
  • Session management network element It is mainly used for session management, terminal equipment's Internet Protocol (IP) address allocation and management, selection of endpoints that can manage user equipment plane functions, policy control, or charging function interfaces, and Downlink data notification, etc.
  • IP Internet Protocol
  • the session management network element may be a session management function (SMF) network element.
  • SMF session management function
  • the session management function network element may still be an SMF network element or have another name. The application does not limit this.
  • Nsmf is a service-based interface provided by SMF. SMF can communicate with other network functions through Nsmf.
  • Access management network element It is mainly used for mobility management and access management, etc. It can be used to implement functions other than session management in the mobility management entity (MME) function, such as legal monitoring , Or access authorization (or authentication).
  • the access management network element may be an access management function (AMF) network element.
  • AMF access management function
  • the access management network element may still be an AMF network element, or Other names are not limited in this application.
  • Namf is a service-based interface provided by AMF. AMF can communicate with other network functions through Namf.
  • Authentication service network element mainly used for user authentication.
  • the authentication service network element may be an authentication service function (AUSF) network element.
  • AUSF authentication service function
  • the authentication service network element may still be an AUSF network element or have another name. This application This is not limited. Nausf is a service-based interface provided by AUSF. AUSF can communicate with other network functions through Nausf.
  • Network open network element used to securely open to the outside the services and capabilities provided by the 3rd Generation Partnership Project (3rd Generation Partnership Project, 3GPP) network functions.
  • the network open network element may be a network open function (NEF) network element.
  • the network open function network element may still be an NEF network element or have another name. The application does not limit this.
  • Nnef is a service-based interface provided by NEF. NEF can communicate with other network functions through Nnef.
  • Network storage network element It is used to save the description information of network functional entities and the services they provide, as well as support service discovery, network element entity discovery, etc.
  • the network storage network element may be a network storage function (NRF) network element.
  • NEF network storage function
  • the network storage function network element may still be an NEF network element or have another name. The application does not limit this.
  • Nnrf is a service-based interface provided by NRF. NRF can communicate with other network functions through Nnrf.
  • Policy control network element a unified policy framework for guiding network behavior, providing policy rule information for control plane function network elements (such as AMF, SMF, etc.).
  • the policy control network element may be a policy control function (PCF) network element.
  • PCF policy control function
  • future communications such as 6G communication, the policy control function network element may still be an NEF network element or have another name.
  • Npcf is a service-based interface provided by PCF, and PCF can communicate with other network functions through Npcf.
  • 7Data management network element It is used to handle user identification, access authentication, registration, or mobility management.
  • the data management network element may be a unified data management (UDM) network element.
  • UDM unified data management
  • the data management network element may still be a UDM network element or have another name. This application This is not limited.
  • Nudm is a service-based interface provided by UDM. UDM can communicate with other network functions through Nudm.
  • Application network element used for application-affected data routing, access to network open functions, or interaction with the policy framework for policy control.
  • the application network element may be an application function (AF) network element.
  • AF application function
  • future communications such as 6G communication
  • the application network element may still be an AF network element or have another name, which is not limited in this application.
  • Naf is a service-based interface provided by AF. AF can communicate with other network functions through Naf.
  • UE User equipment
  • MS mobile stations
  • terminals terminals
  • UE User equipment
  • soft terminals etc., such as water meters, electricity meters, sensors, etc.
  • R radio access network
  • R AN radio access network (radio access network (R) AN) network element: used to provide network access functions for authorized user equipment in a specific area, and can use different quality based on the user equipment level, business needs, etc. Transmission tunnel.
  • R radio access network
  • the RAN can manage wireless resources, provide access services for terminal equipment, and complete the transfer of control signals and user equipment data between the terminal and the core network.
  • the RAN can also be understood as a base station in a traditional network.
  • User plane function (UPF) network element used for packet routing and forwarding, or quality of service (QoS) processing of user plane data.
  • the user plane network element may be a user plane function (UPF) network element.
  • the user plane network element may still be a UPF network element or have another name. This application This is not limited.
  • Data network (DN) network element A network used to provide data transmission, such as the Internet network.
  • the DN network element may be data network authentication, authorization, and accounting (data network authentication, authorization, accounting), or may be an application server (application function).
  • network elements may be network elements in hardware devices, software functions running on dedicated hardware, or virtualized functions instantiated on a platform (for example, a cloud platform).
  • the N1 interface in Figure 1 is the reference point between the UE and the AMF; the N2 interface is the reference point between the RAN and the AMF, and is used for non-access stratum (NAS) messages and Next Generation Application Protocol Protocol, NGAP) messages, etc .; N3 interface is the reference point between RAN and UPF, used to transmit user plane data, etc .; N4 interface is the reference point between SMF and UPF, used to transmit tunnels such as N3 connections. Identification information, data cache indication information, and downlink data notification messages; N6 interface is a reference point between UPF and DN, and is used to transmit user plane data.
  • NAS non-access stratum
  • NGAP Next Generation Application Protocol Protocol
  • the foregoing network architecture 100 is merely a network architecture described from the perspective of a service architecture.
  • the application scenarios of the embodiments of the present application are not limited to this, and any network architecture capable of implementing the foregoing network functions is applicable to the embodiments of the present application.
  • the service example provided in this embodiment of the present application may be the network function in FIG. 1, for example, it may be a session management network element, an access management network element, a policy control network element, and so on.
  • the access management network element as AMF
  • the session management network element as SMF
  • the policy control network element as PCF as examples. That is, the UPF network elements described later in this application can be replaced with user plane network elements, and the SMF network elements can be replaced with session management network elements.
  • a producer service instance taking AMF as an example, sends a message related to the user equipment to a service framework (the service framework may include the NRF in FIG. 1 or other network functions).
  • the service framework selects a service instance from a plurality of consumer service instances capable of providing the same function. For example, one SMF may be selected from multiple SMFs, and a message related to the user equipment may be sent to the SMF. In this way, the interaction between the producer service instance and the consumer service instance about the user equipment's messages is completed.
  • the same service instance is required to serve the same user equipment.
  • the prior art directly binds two service instances that are communicating.
  • the two service instances AMF and SMF are processing a session management process regarding a certain user equipment.
  • the AMF and the SMF mutually notify the peer end that subsequent messages related to the user equipment are sent to the other party, thereby achieving binding between the two service instances.
  • the binding implemented by the above method will increase the complexity of service instance processing.
  • the above problems are particularly prominent in the concurrent scenario. For example, multiple processes related to the user equipment are being performed between the AMF and multiple SMFs: the AMF and the first SMF are performing the session-related processes regarding the user equipment, while the AMF and the second SMF are performing the user equipment Mobility related processes.
  • the first SMF releases the binding with the AMF, and decides that subsequent messages related to the user equipment are no longer sent to the AMF.
  • the process between the AMF and the second SMF has not ended, so the AMF does not release the context of the user equipment for the time being.
  • the first SMF may send the message to other AMFs, which may cause the message to be redirected so that the message is finally sent to the original AMF. This complicates the interaction between service instances.
  • FIG. 2 is a schematic diagram of a service framework provided by an embodiment of the present application.
  • the service framework shown in FIG. 2 includes NRF 210, transmission agent 220, transmission agent 230, and service set 240-service set 270.
  • the service instances in the same service set in FIG. 2 can provide the same function, and the service instances in different service sets can provide the same function or different functions.
  • the service instance 241 and the service instance 242 in the service set 240 shown in FIG. 2 may provide the same function.
  • both may be SMF, or both may be AMF.
  • the service set 240 and the service set 250 may both be SMF sets, and the service set 260 and the service set 270 may both be AMF sets.
  • the service set may have a service set identifier, for example, it may be an FQDN, an IP address, an ID of the service set, or another custom identifier.
  • the embodiment of the present application does not specifically limit the type of the service set identifier.
  • Each service instance in a service collection can have a target ID.
  • the target identifier may use different formats. For example, when the target identifier is related to a user equipment, the target identifier may be at least one of an IP address and a port number of a transmission agent, or the target identifier may also be Is the identifier of the service set to which the second service instance belongs and the unique identifier within the service set, or the target identifier is a unique value in the transfer agent allocated by the transfer agent, which is not limited in this application; when When the target identifier is related to a group of user equipments, the target identifier may be an identifier of a service set corresponding to the second service instance, or an identifier of the service set and an identifier of the second service instance, or The identifier of the service set and the unique service pointer in the service set, the service pointer is used to identify a group of user equipment in the service set, etc., which is not limited in this application.
  • a communication interface can exist between the transport agent and the service instance.
  • the transmission agent 220 may perform message interaction with the service instances in the service set 240 through the I1 interface. For example, when the message received by the transmission agent 220 includes the target service set identifier, the transmission agent 220 determines whether there is a direct interface between the transmission agent 220 and the target service set according to the target service set identifier in the message. Assuming that the target service set identifier in the above message is the service set identifier of the service set 240, the transmission agent 220 determines whether there is a direct interface between itself and the target service set 240. Due to the direct interface between the two, the transmission agent can Select a target service instance from the set 240 and send a message to the target service instance.
  • the transmission agents can also perform message interaction.
  • the transmission agent 230 and the transmission agent 220 can perform message interaction through the interface I2.
  • the interface between the transfer agents can be used to forward messages to the target service instance.
  • the transmission proxy provided in the embodiment of the present application may be a network function re-divided in the service framework.
  • the transmission proxy may be a reverse HTTP proxy (HTTP Reverse Proxy).
  • HTTP Reverse Proxy HTTP Reverse Proxy
  • the transport agent can also be deployed in a data center with the service instance where the interface exists.
  • the service instance where the transport agent interfaces with it can also be deployed in different data centers. This embodiment of the present application does not specifically limit this.
  • service sets can be deployed across multiple data centers, that is, multiple service instances in a service set can be deployed in different data centers. At this time, each data center deployed in the service set can be deployed One transport agent instance.
  • the transport agent instances deployed in multiple data centers make up the aforementioned transport agent.
  • the transmission agent provided in the embodiment of the present application can also support the registration and discovery functions of the local service instance.
  • the transmission agent can bind the service instance to the target identifier.
  • the service framework provided by the embodiment of the present application may further include NRF 210, and the transfer agent may sometimes register information about the service set and service instance to NRF 210.
  • NRF 210 can communicate with the transport agent through the I3 interface.
  • the transmission agent registers the address information of multiple transmission agent instances into the NRF 210 so that the NRF 210 can select different transmission agent instances for different user devices. This supports load sharing of service sets between different data centers, and reduces data path roundabouts caused by the same forwarding agent forwarding data.
  • the service framework shown in FIG. 2 is only an example, and the structure of the service framework may also have many variations.
  • a transport agent may exist in the service framework.
  • the transport agent may integrate the NRF and the transport agent in FIG. 2 described above. It can also include the service instance and NRF only in the service framework.
  • the NRF integrates the functions of the NRF and the transmission agent in Figure 2 and so on.
  • the function responsible for the registration and discovery of service instances in the transport agent and the function responsible for message forwarding in the transport agent may be two separate entities.
  • the communication method shown in FIG. 3 includes steps 310-320. Each step in FIG. 3 is described in detail below:
  • Step 310 Receive a first service instance and send a first message, where the first message includes a target identifier.
  • the service example provided in this embodiment of the present application may be a network function in FIG. 1, and may be, for example, AMF, SMF, PCF, and the like. It may also be one of multiple service instances divided by network functions. With the development of technology, service instances may also exist independently of network functions, which are not specifically limited in the embodiments of the present application.
  • the first message may be a message related to the user equipment sent by the first service instance.
  • the first message may be a message in a session-related process, a message in a mobility-related process, and so on.
  • the first message carries a target identifier
  • the target identifier may use different formats.
  • the target identifier may be at least one of an IP address and a port number of a transport agent, or The target identifier may also be an identifier of a service set to which the second service instance belongs and a unique identifier within the service set, or the target identifier is a unique value in the transfer agent allocated by the transfer agent.
  • the target identifier may be an identifier of a service set corresponding to the second service instance, or an identifier of the service set and the second service.
  • the identifier of the instance, or the identifier of the service set and the unique service pointer in the service set, the service pointer is used to identify a group of user equipment in the service set, etc., which is not limited in this application.
  • the network element receiving the first message in step 310 may be a transmission agent in the service framework, and of course, it may be another network element capable of providing a transmission agent function, which is not specifically limited in this embodiment of the present application.
  • the first service instance may further receive a target identifier related to the user equipment, so that before or when step 310 is performed, the first message carries the target identifier.
  • the SMF may receive the target identifier sent by the AMF before sending the first message.
  • the SMF may obtain the target identifier sent by the AMF through a session establishment process with the AMF, and store the target identifier in the context of the user equipment. So that the SMF may obtain the target identifier related to the user equipment from the context of the user equipment when it subsequently needs to send a message to the AMF, and carry the above target identifier in the first message.
  • the first message may be an HTTP message, an AMQP message, or the like, which is not specifically limited in this embodiment of the present application.
  • step 330 the transmission agent sends a second message to the second service instance that has a binding relationship with the target identifier based on the first message.
  • a binding relationship may exist between the target identifier and the second service instance, that is, a corresponding service instance may be found according to the target identifier.
  • the target identifier is a service pointer
  • the target service instance can be found according to the correspondence between the service pointer and the service instance.
  • the target identifier may be located at the head of the HTTP message, which is convenient for the transmission agent to identify and process the target identifier.
  • an optional HTTP header called a target identifier may be added.
  • the new header is called an exemplary identifier here, and the specific name of the newly defined HTTP header is not specified in this embodiment. .
  • the target identifier can also be located in the network tag field (Cookie) of the HTTP message.
  • the HTTP message may include a message body, and may also include a uniform resource identifier (URI), a selection parameter, and the like.
  • the message body can also be called the message body.
  • the message body may include parameters related to services provided by the second service instance.
  • the selection parameter may be used to instruct the transport agent to determine a second service instance and send a message to the second service instance.
  • the communication method shown in FIG. 3 may further include step 320 before step 330.
  • the transport agent searches for a service instance that has a binding relationship with the target identifier. If the transmission agent finds that the service instance that has a binding relationship with the target identifier is the second service instance, the transmission agent sends the second message to the second service instance based on the first message.
  • the second message may be completely the same as the first message.
  • the transmission agent directly forwards the first message as the second message to the second service instance according to the target identifier in the first message.
  • the second message may be different from the second message.
  • the transmission agent may modify the first message and send the modified first message to the second service instance as the second message. For example, the header of the first message is changed, the message body is kept unchanged, a second message is formed, and the second message is sent to the second service instance, and the like is not specifically limited in this embodiment of the present application.
  • the binding relationship between the target identifier and the service instance may be stored in the transport agent in advance.
  • the transmission agent receives the first message, it can be found whether there is a service instance with a binding relationship with the target identifier according to the target identifier in the first message.
  • other network elements such as NRF or data storage unit
  • the transmission agent sends the first message to the network according to the target identifier in the first message. Meta query corresponding service instance.
  • the network element queries the binding relationship between the target identifier and the service instance, and notifies the transmission agent of the result.
  • the transmission agent forwards the message to the target service instance, and so on.
  • the network element for finding the binding relationship is not specifically limited.
  • Using the binding between the target identifier and the service instance instead of the direct binding between service instances in the prior art can reduce the coupling between service instances and reduce the complexity of service instance processing.
  • the transmission agent cannot find the service instance with which it has a binding relationship according to the target identifier. At this time, the transmission agent can obtain the identification of the target service set according to the first message, select other service instances from the set, and send the first message to the selection Service instance.
  • FIG. 4 is a schematic diagram of a communication method according to another embodiment of the present application.
  • the method corresponding to FIG. 4 includes steps 410-430. Steps 410-430 are described below:
  • Step 410 The transmission agent receives a first message sent by the first service instance, where the first message includes a target identifier.
  • Step 410 corresponds to step 310 in FIG. 3 described above.
  • the first service instance may also perform message interaction with the second service instance to obtain the target identifier of the second service instance, and details are not described herein again.
  • Step 420 The transport agent searches for a service instance corresponding to the target identifier. When there is no service instance having a binding relationship with the target identifier, step 430 is performed.
  • Step 430 When there is no service instance with a binding relationship with the target identifier, the transmission agent obtains the identifier of the target service set according to the first message. A third service instance is selected from the target service set according to the identity of the target service set. Based on the first message, the transport agent sends a third message to the third service instance.
  • the identifier of the target service set is an identifier of a service set to which the second service instance belongs, that is, the third service instance and the second service instance belong to the same service set.
  • the third message may be exactly the same as the first message.
  • the transmission agent directly forwards the first message as the third message to the second service instance according to the target identifier in the first message.
  • the third message may be different from the third message.
  • the transmission agent may modify the first message and send the modified first message to the second service instance as the third message. For example, the header of the first message is changed, the message body is kept unchanged, a third message is formed, and the third message is sent to the second service instance, and the like is not specifically limited in this embodiment of the present application.
  • the transmission agent may obtain the identifier of the target service set from the first message, and the first message further includes the identifier of the target service set; or, the transmission agent obtains the identifier of the target service set from the target identifier in the first message.
  • the target identifier includes an identifier of the target service set; or, the transmission agent determines the identifier of the service set that has a mapping relationship with the target identifier in the first message as the identifier of the target service set.
  • the embodiment of the present application does not specifically limit the position of the cell occupied by the target service set identifier in the first message.
  • the target service set identifier may occupy cells in the target identifier, may also occupy other cells in the first message except the target identifier, or may obtain the target service set identifier according to the mapping relationship between the target identifier and the service set identifier. Wait.
  • a service instance with a light load may be selected as the third service instance in the target service set, or a service instance may be selected as the third service instance in the target service set in a polling manner, etc. This is not specifically limited.
  • the target service set identifier can be used to select the target service instance from the target service set by using the load balancing algorithm, thereby ensuring load balancing of each service instance in the target service set.
  • the target identifier in the above may be an identifier related to a single user equipment or an identifier related to a group or multiple user equipments.
  • the target identifier may be a pre-configured target identifier or a target identifier assigned with a communication message.
  • the embodiments of the present application provide different ways to establish a binding relationship between a target identifier and a service instance: the target identifier may be assigned by the transport agent to the service instance when the target instance is registered with the transport agent, and Send the target ID to the service instance to complete the binding between the target ID and the service instance; or the target ID is pre-configured in the service instance and the service instance sends the target ID to the transport agent, and the transport agent stores the service instance Correspondence between target identifiers to complete the binding between the target identifier and the service instance; or when the target identifier is the target identifier assigned by the transport agent or the service instance with the communication message, the transport agent establishes a binding between the target identifier and the service instance
  • the target identifier can be assigned by the transport agent or service instance. When assigned by the transport agent
  • FIG. 5 and 6 illustrate a process of establishing a binding relationship between a target identifier and a service instance in advance.
  • FIG. 5 and FIG. 6 use the target identifier as a service pointer as an example to describe a process in which the transfer agent establishes a binding relationship between the target identifier and the service instance in advance.
  • Steps 510-530 are included in FIG. 5, and steps 510-530 are described in detail below.
  • Step 510 The second service instance sends a sixth message to the transmission agent, where the sixth message is used to register the second service instance to the transmission agent.
  • the sixth message may include information about the second service instance. In order to facilitate the transfer agent to bind the second service instance to the service pointer according to the information of the service instance.
  • the registration request may include at least one of the following: service instance identification, service type, manufacturer information, identification of the service set to which the service instance belongs, the area served by the service instance, and the network slice capability supported by the service instance .
  • the registration request may also carry other information such as data network name (DNN).
  • DNN data network name
  • the sixth message may further include a service pointer of the second service instance, so that the transmission agent binds the second service instance and the service pointer.
  • the pointer of the second service instance carried in the sixth message may be a service pointer pre-configured for the second service instance, for example, configured in a configuration file of the second service instance.
  • the sixth message sent by the second service service instance may include the capacity of the second service instance.
  • the sixth message sent by the second service instance may include the number of service pointers applied by the second service instance.
  • the address information (such as FQDN or IP address) of the local transport agent can be fixedly configured in the configuration file of the second service instance in advance; or the service instance can discover the local transport agent through the discovery mechanism, for example, the second service instance can be in the network Send broadcast or multicast messages; it can also be a discovery mechanism similar to a Dynamic Host Configuration Protocol (DHCP) server.
  • DHCP Dynamic Host Configuration Protocol
  • Step 520 The transfer agent allocates a service pointer to the second service instance according to the received sixth message.
  • the transfer agent configures the service pointer for the service instance, which can realize the automatic configuration of the service pointer.
  • the transmission agent may first determine the set to which the second service instance belongs according to the service instance information, or the transmission agent may first determine the second service instance to which the second service instance belongs according to the service instance information.
  • Service collection ID may be first determine the second service instance to which the second service instance belongs according to the service instance information.
  • the transfer agent can determine whether there is a service set with the same capabilities as the manufacturer according to the service type, manufacturer information, service area, network slicing capability, etc. in the registration request, and determine to add the second service instance to the existing service. Collections also create new service collections. As an example, it is assumed that the second service instance is AMF, the manufacturer is Huawei, and the network slicing capability A is supported, and the service area B is supported. The transmission agent judges that there is an existing service set, whose service instance is AMF, the manufacturer is also Huawei, and also supports network slicing capability A and service area B, then the transmission agent can determine that the new service instance can join the existing service set. When the transfer agent decides to add the second service instance to the existing service set, the service pointer assigned by the transfer agent is different from other service instances in the service set to which the second service instance belongs, to avoid services in the same service set Pointer conflict.
  • assigning service pointers consider the identity of the service set to which the service instance belongs: assigning different service pointers to service instances in the same service set can prevent conflicts in service pointers in the service set.
  • the number of requested service pointers carried in the registration request enables the service instance to reasonably request the transmission agent to allocate service pointers based on its own load or other information, to ensure appropriate granularity of business management related to user equipment.
  • the transfer agent may allocate a service pointer and the like to the second service instance according to the capacity of the second service instance.
  • the transfer agent may determine the number of pointers allocated for the second service instance according to the capacity of the second service instance and the capacity of other service instances in the service set to which the second service instance belongs.
  • Step 530 The second service instance sends a sixth message response to the transport agent.
  • the sixth message response includes the allocated service pointer of the second service instance, and the sixth service message may be used to notify the second service instance that the transfer agent is Its assigned target ID.
  • the transmission agent may notify the second service instance that the binding relationship between the second service instance and the service pointer has been established.
  • FIG. 6 shows another process of establishing a binding relationship between a service pointer and a service instance.
  • step 610 the second service instance sends a seventh message to the transport agent, where the seventh message includes a service pointer of the second service instance.
  • step 620 the transfer agent may check whether these service pointers conflict with the service pointers of other instances in the service set to which the second service instance belongs. If there is a conflict, the transport agent may assign a new service pointer to the second service instance to replace the conflicting service pointer.
  • step 630 the transmission agent sends a seventh message response to the second service instance. If the transmission agent assigns a new service pointer to the second service instance in step 620, the seventh message response includes the transmission agent as the second service. The new service pointer allocated by the instance.
  • the target identifier is a service pointer.
  • the target identifier may also adopt different formats.
  • the target identifier when the target identifier is related to a user equipment, the target identifier may be at least one of an IP address and a port number of a transmission agent, or the target identifier may also be It may be an identifier of a service set to which the second service instance belongs and a unique identifier in the service set, or the target identifier is a unique value in the transfer agent allocated by the transfer agent, which is not limited in this application;
  • the target identifier When the target identifier is related to a group of user equipments, the target identifier may be an identifier of a service set corresponding to the second service instance, or an identifier of the service set and an identifier of the second service instance, or It is the identifier of the service set and the only service pointer in the service set.
  • the service pointer is used to identify a group of user equipment
  • the process of establishing the binding relationship between the service instance and the target identifier shown in FIG. 5 and FIG. 6 above may be completed by the transport agent. It may also be that the transmission agent forwards the message to the NRF or other network functions after receiving the sixth message or the seventh message, and the NRF or other network functions complete the establishment of the binding relationship between the service instance and the target identifier.
  • the transmission agent is only responsible for the message Forwarded. This embodiment of the present application does not specifically limit this.
  • the solutions in FIG. 5 and FIG. 6 described above may also be that when the transmission agent receives the sixth message or the seventh message, it only assigns the target identifier to the service instance, but does not store the binding relationship between the service instance and the target identifier At this time, the binding relationship between the service instance and the target identifier is not established in the transport agent.
  • the establishment of the binding relationship between the service instance and its target identifier may be established through the trigger of a communication message.
  • the following describes the establishment of the binding relationship between the target identifier and the service instance in another way: that is, during the communication process, the transmission agent is triggered by a message to establish the binding relationship between the target identifier and the service instance.
  • the transmission agent may also receive a fourth message sent by the second service instance, and the transmission agent obtains a binding relationship between the target identifier and the second service instance according to the fourth message.
  • the fourth message may carry a binding relationship between the second service instance and the target identifier, and the transmission agent may obtain the binding relationship between the second service instance and the target identifier carried in the fourth message.
  • the fourth message may carry the correspondence between the IP address of the second service instance and the target identifier.
  • the transmission agent may obtain the IP address of the second service instance and the binding relationship of the target identifier when receiving the fourth message.
  • the fourth message that triggers the establishment of the binding relationship may have multiple forms.
  • the fourth message may be a special binding request message sent by the second service instance to the transport agent.
  • the binding request message may carry one or more target identifiers.
  • the target identifier in the binding request message may be a pre-configured target identifier in the service instance or a target identifier assigned by the transport agent along with the binding message.
  • the fourth message may also be a common message related to the user equipment.
  • the fourth message is a message sent to another service instance.
  • the other service instances may be the first service instance or other service instances other than the first service instance.
  • the other service instances are the first service below.
  • An example is used for illustration.
  • the fourth message when the second service instance sends a fourth message to the first service instance, the fourth message carries the target identifier, the transmission agent obtains the target identifier from the fourth message, and establishes the target identifier and the second The binding relationship of the service instance.
  • the fourth message does not carry the target identifier, but the fourth message carries an instruction, and the transmission agent determines that the target identifier needs to be allocated and binds the target identifier to the second service instance according to the instruction.
  • the target identifier may also be a target identifier allocated by the second service instance when the second service instance sends the second message and the fourth message. Or it may be the target identifier allocated by the transport agent to the second service instance when the transport agent receives the fourth message sent by the second service instance.
  • the SMF may assign a session reference identifier (corresponding to smContextRef in TS 29.502) for the user equipment context, and the session reference identifier is used by the SMF. It is used to uniquely identify the session context of a user equipment, and the session reference identifier can be used as the target identifier to find the SMF according to the session reference identifier.
  • the fourth message may carry a binding indication.
  • the binding indication is used to instruct the transport agent to record the target identifier in the fourth message.
  • the transport agent allocates the target identifier to the second service instance when receiving the binding instruction.
  • the transport agent when the fourth message is a user equipment related message and the target identifier is allocated by the transport agent, the transport agent also needs to send the target identifier to the first service instance, for example, the target identifier may be inserted into the fourth message.
  • the fourth message carries a binding indication may also be referred to as an explicit binding.
  • the fourth message carries a binding timer, and the binding timer is used to release the binding relationship between the target identifier and the second service instance after the binding timer expires.
  • the binding timer can be used to customize the binding time between the service instance and the target identifier, so that other service instances can be selected after the binding timer expires, thereby supporting better load balancing.
  • the process of establishing the binding relationship between the target identifier and the service instance is described above.
  • the target identifier can also be unbound from the service instance.
  • the transmission agent may further receive a fifth message sent by the second service instance, where the fifth message is used to request to unbind the target identifier from the second service instance; or start binding timing A device that releases the binding relationship between the target identifier and the second service instance after the binding timer expires.
  • the transport agent may unbind the target identifier from the second service instance when the fifth message is received or the timer expires.
  • the service instance may initiate a debinding request under heavy load, service instance offline, or service instance failure, and notify the transport agent to unbind the target identifier from the service instance.
  • the service related to the user equipment can be removed from the above service instance.
  • the fifth message may also carry indication information, which is used to instruct the transport agent to bind the target identifier to the third service instance.
  • the unbinding request carries instruction information, which can instruct the target identifier to be bound to other service instances while requesting the target identifier to be unbound from the original service instance. This completes the transfer of business load between service instances and achieves load balancing between service instances.
  • the target identifier may be one of the service pointers (also referred to as instance pointers) configured for the service instance in advance.
  • each service pointer may correspond to multiple user devices, that is, multiple services served by the service instance. User equipments can share the same service pointer.
  • the target identifier may use different formats.
  • the target identifier when the target identifier is related to a user equipment, the target identifier may be at least one of an IP address and a port number of a transmission agent, or the target identifier may also be The identifier of the service set to which the second service instance belongs and the unique identifier in the service set, or the target identifier is a unique value in the transfer agent allocated by the transfer agent, which is not limited in this application;
  • the target identifier may be an identifier of a service set corresponding to the second service instance, or an identifier of the service set and an identifier of the second service instance, or the identifier of the second service instance.
  • the service set identifier and the unique service pointer in the service set, the service pointer is used to identify a group of user equipment in the service set, etc., which is not limited in this application.
  • Different granularity of target identification can complete different granularity of business management.
  • FIG. 7 is a schematic diagram of a communication method according to another embodiment of the present application.
  • the method shown in FIG. 7 includes steps 710-760b. Performing the steps shown in FIG. 7 can implement a group of user equipment granular binding and unbinding methods.
  • step 710 the second service instance sends a fourth message to the transport agent.
  • the fourth message is a binding request sent specifically by the second service instance to the transport agent, and includes the target identifier of the second service instance.
  • the transport agent receives the binding request and records the binding relationship between the second service instance and the target identifier in the binding request.
  • step 720 a user equipment-related message interaction is performed between the first service instance and the second service instance.
  • the second service instance sends its target identifier to the first service instance.
  • the first service instance saves the target identifier in the context of the user equipment.
  • the first service instance may be AMF
  • the second service instance may be SMF.
  • the AMF may send a session creation request to the SMF
  • the SMF sends a session creation response to the AMF
  • the session creation response includes the target identifier of the SMF.
  • the AMF saves it in the context of the user equipment.
  • step 710 and step 720 in this embodiment of the present application may be reversed, which is not limited in this embodiment of the present application.
  • step 730 the first service instance sends a first message to the transport agent, and the first message carries the target identifier of the second service instance and the service set identifier of the second service instance. Specifically, the first service instance obtains a target identifier from the context of the user equipment, and adds the target identifier to the first message.
  • the target identifier and the service set identifier may be located at the head of the HTTP message, so that the transmission agent can read the target identifier conveniently.
  • the fourth message and the first message are both sent to the second service instance.
  • the fourth message may also be sent. It is a message sent to other service instances.
  • the fourth message may be a message sent by AMF to UDM, for example, AMF sends UDM to UDM during user device registration. Send a message and establish a binding relationship between the target identifier and the first service instance (that is, AMF) in the process.
  • the target identifier is related to a group of users
  • the fourth message and the first message may also be directed to different user equipments in different same user groups. This embodiment does not specifically limit this.
  • step 750 the transmission agent searches for a service instance corresponding to the target identifier according to the target identifier carried in the first message. If the transmission agent records the binding relationship between the second service instance and the target identifier in step 710, the transmission agent will find that the service instance corresponding to the target identifier is the second service instance.
  • step 760a the transport agent sends a second message to the second service instance based on the first message.
  • the third message may be exactly the same as the first message.
  • the transmission agent directly forwards the first message as the third message to the second service instance according to the target identifier in the first message.
  • the third message may be different from the third message.
  • the transmission agent may change the first message, for example, change the header of the first message, and keep the message body unchanged to form the third message. Send the third message to the second service instance, etc., which is not specifically limited in this embodiment of the present application.
  • the second service instance decides to unbind it from the target identifier.
  • the second service instance sends a fifth message to the transport agent.
  • the unbinding request is used to request the transport agent to delete the binding relationship between the second service instance and the target identifier.
  • the target identifier of the unbinding request in the binding request may be one or more.
  • the transport agent may delete the binding relationship between the second service instance and the target identifier.
  • the unbinding request may further include indication information, and the indication information is used to indicate that the target identifier of the second service instance is bound to another service instance, for example, it may be bound to the third service instance in FIG. 7 .
  • step 760b assuming that in the previous step 740, the transport agent has unbound the second service instance from the target identifier of the second service instance, the transport agent cannot find the target identifier in the first message in step 750 Corresponding service instance. At this time, the transmission agent may obtain the target service set identifier according to the first message.
  • the selection of the third service instance can be arbitrary, or a service instance can be selected from the target service set as the third service instance according to the load balancing algorithm.
  • the transmission agent may obtain the identifier of the target service set from the first message, and the first message further includes the identifier of the target service set; or, the transmission agent obtains the identifier of the target service set from the target identifier in the first message.
  • the target identifier includes an identifier of the target service set; or, the transmission agent determines the identifier of the service set that has a mapping relationship with the target identifier in the first message as the identifier of the target service set.
  • the transport agent selects a third service instance from the target service set, and sends a third message to the third service instance based on the first message.
  • the third message may be exactly the same as the first message.
  • the transmission agent directly forwards the first message as the third message to the second service instance according to the target identifier in the first message.
  • the third message may be different from the third message.
  • the transmission agent may change the first message, for example, change the header of the first message, and keep the message body unchanged to form the third message. Send the third message to the second service instance, etc., which is not specifically limited in this embodiment of the present application.
  • step 740 the second service instance decides to unbind the current service pointer with itself, and instructs the transfer agent to transfer the current service pointer to the third service instance, then the transfer agent sends the target identifier to The second service instance is unbound, and the target identifier is bound to the third service instance.
  • the transmission agent selects the third service instance according to the target identifier, and sends a third message to the third service instance.
  • the method corresponding to the above FIG. 7 is that the fourth message is a special binding request.
  • the following describes in detail the flow when the fourth message is a message related to the user equipment with reference to FIG. 8.
  • the method in FIG. 8 includes steps 810-880b:
  • step 810 the first service instance sends a fourth message to the transport agent.
  • the fourth message is a message related to the user equipment.
  • the first service instance may carry the target identifier allocated by the first service instance to the user equipment in the fourth message.
  • the target identifier can be used by the service instance to uniquely locate the user device context.
  • the first service instance may be AMF, and the target identity of the AMF is the identity of the user equipment.
  • the target identity may be a 5G globally unique temporary identity (GUTI), a subscriber permanent identity (subscriber, permanent identity, SUPI). ) Or permanent equipment identifier (PEI), etc.
  • GUI globally unique temporary identity
  • PKI permanent equipment identifier
  • the AMF can uniquely locate the context of a user equipment according to the above target identifier.
  • the first service instance may also be an SMF, and the target identifier of the SMF may be a session reference identifier (such as smContextRef) allocated by the SMF.
  • the fourth message is used to trigger the establishment of a binding relationship between the target identifier and the service instance.
  • the fourth message in step 810 is not a special binding request, but a general message related to the user equipment.
  • the fourth message may be a session creation request message.
  • the first service instance AMF may carry the service set identifier of the SMF in the fourth message, so that the transmission agent selects the peer SMF according to the service set identifier.
  • the foregoing target identifier may be allocated by the first service instance, for example, it may be allocated by the first service instance requesting the shared data layer corresponding to the service set, or the target identifier may be configured in segments in each service instance so that The first service instance selects a target identifier from the target identifier segments configured in the first service instance.
  • the fourth message carries the target identifier allocated by the first service instance.
  • the first service instance may carry a binding instruction in the fourth message, indicating that the first service instance wishes the transmission agent to establish a binding relationship between the target identifier and the first service instance.
  • the target identifier may also be assigned by the transmission agent when the fourth message is received.
  • the fourth message does not carry the target identifier
  • the target identifier is assigned when the fourth agent receives the fourth message.
  • the service instance may carry an indication in the first message, and the transmission agent may assign the target identifier only after receiving the indication.
  • the transport agent also needs to send the target identifier to the second service instance. For example, the transport agent may insert the target identifier into the fourth message.
  • the fourth message may be an HTTP message or an AMQP message.
  • the HTTP host name field of the fourth message carries the service set identifier.
  • the fourth message may also carry a binding timer, which is used to release the binding relationship between the target identifier and the second service instance after the binding timer expires.
  • step 820 the transport agent binds the target identifier to the first service instance.
  • the transmission agent saves the correspondence between the target identifier and the first service instance.
  • the transport agent carries the target identifier of the first service instance and the service set identifier described in the first service instance in the fourth message, and forwards the fourth message to the second service instance.
  • the transmission agent may perform some processing on the fourth message, such as deleting some fields in the fourth message or adding some fields, which is not limited in this embodiment.
  • step 830 the transmission agent receives the fourth message response sent by the second service instance, and forwards the fourth message response to the first service instance.
  • the fourth message response is a session creation response message.
  • the second service instance may carry its own target identifier, its own service set identifier, the service set identifier to which the first service instance belongs, and the target identifier of the first service instance in the fourth message response.
  • the transport agent determines the first service instance according to the target identifier of the first service instance (the binding is established in steps 810 and 820), and forwards a fourth message response message to the first service instance.
  • step 840 the transmission agent binds the target identifier of the second service instance to the second service instance according to the fourth message response.
  • the binding relationship between the second service instance and the target identifier may be recorded in the transport agent.
  • a specific binding method see step 810 and step 820.
  • the transport agent has established the binding relationship between the target identifier and the service instance, including the binding relationship between the second service instance and the second service instance target identifier, and the first service instance and the first service instance target identifier. Binding relationship.
  • the first service instance and the second service instance have obtained the target identifier of the opposite service instance.
  • the first service instance may send a first message to the transport agent, where the first message includes a target identifier of the second service instance, a service set identifier of the second service instance, and a target identifier of the first service instance.
  • the transport agent may select a service instance according to the target identifier of the second service instance in the first message.
  • the first message is a user equipment related message.
  • the first message may be a message in a user equipment session related process.
  • the first message may also be a message in other processes, which is not specifically limited in this embodiment of the present application.
  • the fourth message and the first message are both sent to the second service instance.
  • the fourth message may also be sent. It is a message sent to other service instances.
  • the fourth message may be a message sent by AMF to UDM, for example, AMF sends UDM to UDM during user device registration. Send a message and establish a binding relationship between the target identifier and the first service instance (that is, AMF) in the process.
  • the target identifier is related to a group of users
  • the fourth message and the first message may also be directed to different user equipments in different same user groups. This embodiment does not specifically limit this.
  • step 870 the transport agent selects a service instance according to the target identifier in the first message. If the transmission agent saves the binding relationship between the target identifier of the second service instance and the second service instance in step 840, the transmission agent may select the second service instance as the opposite service instance.
  • step 880a the transmission agent sends the second message to the second service instance based on the first message.
  • the second message may be completely the same as the first message.
  • the transmission agent directly forwards the first message as the second message to the second service instance according to the target identifier in the first message.
  • the second message may also be different from the second message.
  • the transmission agent may change the first message, for example, change the header of the first message, keep the message body unchanged to form the second message, and Send the second message to a second service instance, etc. This embodiment of the present application does not specifically limit this.
  • the transmission agent receives a fifth message sent by the second service instance, and the fifth message is used to request the transmission agent to release the binding relationship between the second service instance and the second service instance.
  • the fifth message may carry the target identifier of the second service instance.
  • the transport agent may delete the binding relationship between the second service instance and the target identifier of the second service instance based on the fifth message.
  • the fifth message may further include indication information, which is used to indicate that the target identifier of the second service instance is bound to another service instance, for example, it may be bound to the third service instance in FIG. 8.
  • indication information which is used to indicate that the target identifier of the second service instance is bound to another service instance, for example, it may be bound to the third service instance in FIG. 8.
  • a third service instance is selected according to the target identifier carried in the first message.
  • a third message is sent to the third service instance based on the first message.
  • the fifth message may be initiated when the second service instance decides to save the context of the user equipment in the shared data layer.
  • the embodiment of the present application does not specifically limit the reason for the second service instance to send the unbinding request, for example, it may be when the second service instance does not want to process the process related to the user, or the second service instance goes offline , The second service instance fails, and so on.
  • step 870 the transmission agent selects the peer service instance according to the target identifier in the first message, and if the transmission agent has released the binding relationship between the second service instance and the target identifier in step 860 above.
  • the transmission agent may search for the corresponding service set according to the service set identifier carried in the first message, and select a third service instance from the set. Based on the first message, a third message is sent to a third service instance.
  • the transmission agent may obtain the identifier of the target service set from the first message, and the first message further includes the identifier of the target service set; or, the transmission agent obtains the identifier of the target service set from the target identifier in the first message.
  • the target identifier includes an identifier of the target service set; or, the transmission agent determines the identifier of the service set that has a mapping relationship with the target identifier in the first message as the identifier of the target service set.
  • first, second, and third messages may carry a service set identifier, and the service set identifier may be carried in a target identifier or as an independent cell. Carrying the service set identifier can avoid conflicts between target identifiers of the same service set. Of course, if the target identifiers of all service instances in the network can be guaranteed to be different when assigning the target identifiers, the message may not carry the service set identifiers. At this time, If there is no binding relationship between the target identifier and the target instance, the transmission agent can determine the target set according to the target identifier and select a service instance from the target set, which is not specifically limited in this embodiment of the present application.
  • FIG. 9 is a schematic diagram of a communication method according to another embodiment of the present application.
  • the first service instance sends a first message to the transport agent, and the first message includes a target identifier.
  • the target identification may be associated with one or a group of user devices. That is, the target identifier is determined according to the user equipment.
  • the target identifier may be used to identify one or a group of user equipments, for example, the target identifier may include a service pointer.
  • the binding of the user equipment to the second service instance is determined through the transport agent.
  • the transport agent uses the target identifier to determine the service instance bound to the service pointer.
  • the service instance bound to the service pointer serves the user equipment, and the service instance bound to the service pointer may be a second service instance.
  • the binding relationship can also be changed. For example, after the transport agent unbinds the service pointer from the second service instance, the transport agent may bind the service pointer to other service instances.
  • the target identifier may be included in a network tag field of the first message or a newly added HTTP optional header.
  • the target identifier may also include the target service set and / or the identifier of the second service instance corresponding to the user equipment. That is, the binding between the user equipment and the second service instance.
  • the target identifier is an identifier of a target service set, and it can be understood that the user equipment is bound to the service set.
  • the transport agent may determine a service instance to serve the user equipment from the target service set, for example, select a second service instance or a third service instance to serve the user equipment.
  • the target identifier may include an identifier of the second service instance, and may be understood as that the user equipment is bound to the second service instance.
  • the identification of the second service instance is used to identify the second service instance.
  • the identifier of the second service instance may be address information of the second service instance, such as an IP address, an FQDN, and the like, and may be a number of the second service instance by the transmission agent. Through the identification of the second service instance, the transmission agent can uniquely determine the second service instance.
  • the transport agent may determine that the second service instance continues to serve the user equipment.
  • the target identification may also include an identification of a service set.
  • the identification of the second service instance may be included in the URI of the first message, or included in a selection parameter of the first message.
  • the first message may include binding mode indication information, which is used to indicate a binding mode of a user equipment or a group of user equipment, that is, whether the user equipment is bound to a service instance or a service set. This is a display indication.
  • the first message may indicate the binding mode by displaying the binding mode indication information.
  • the binding mode indication information may be an enumerated field.
  • the binding mode indication information may be a bitmap.
  • the binding mode indication information may be represented by N bits, where each bit represents a kind of binding possibility.
  • the indication information may be 2 bits, where one bit represents "bundling with a service instance.” Fixed ", when the bit is 1, it can be bound to the service instance, when it is 0, it is not bound to the service instance, and the other bit is" bound to the service set ", when the bit is 1, it means Binding to the service set. When this bit is 0, the identifier is not bound to the service set.
  • the target identifier when the user equipment is bound to the second service instance, the target identifier may or may not include the identifier of the second service instance.
  • the target identifier may include a service pointer of the second service instance, which is used when the user equipment does not have a binding relationship with the second service instance, or when the user equipment has a binding relationship with the second service instance, but the second service When the instance is unavailable (such as shutdown), the service instance that serves the user device is selected according to the service pointer.
  • the transport agent determines the binding relationship indication according to the target identifier. That is, the first message may implicitly indicate a binding relationship. For example, when the target identifier includes the identifier of the second service instance and / or the service pointer, the transport agent determines that the user equipment is bound to the second service instance, and the target identifier may further include the identifier of the service set. When the target identity includes only the identity of the service set, the transport agent determines that the user equipment is bound to the service set.
  • the first service instance may receive the target identification.
  • the first service instance may receive the target identifier sent by the second service instance.
  • the second service instance may send an eighth message to the first service instance, and the eighth message includes the target identifier.
  • the eighth message includes a URI
  • the URI may include address information of the second service instance
  • the address information of the second service instance is used as the identifier of the second service instance.
  • the body of the eighth message includes an identifier of the second service instance.
  • the message of the eighth message may also include a service pointer, a service set identifier, and the like.
  • the eighth message may be an HTTP message.
  • the eighth message further includes binding relationship indication information, and the binding relationship indication information may be included in a network tag field (Cookie) of the response message or a newly added HTTP optional header.
  • a network tag field e.g., HTTP
  • an optional HTTP header called a binding instruction may be added, and the new header is called a binding instruction here only for the sake of example.
  • the specific name of the newly defined HTTP header is not described in this embodiment. Specific provisions.
  • the eighth message also includes the identification of the service set.
  • the URI of the eighth message, the body of the eighth message, the network tag field of the eighth message, or a field of at least one of the newly added HTTP optional headers may include the service set identifier, that is, the service set identifier may be located at the first Eight message URIs, message bodies, or network tag fields or new HTTP optional headers.
  • the second service instance may receive capability indication information of the first service instance, and the capability indication information is used to indicate whether the first service instance supports selecting a service instance from a service set.
  • the second service instance determines the binding mode indication information corresponding to the session according to the capabilities of the first service instance, so as to avoid setting the binding mode indication information to be the same as that when the first service instance does not support selecting a service instance from the service set.
  • the above-mentioned service set binding causes the second message to fail to be sent, or to other undesired service instances, resulting in excessive message redirection.
  • the second service instance is SMF and the first service instance is AMF.
  • the SMF sends a session establishment response message to the AMF.
  • the session establishment response message includes the resource URI, and the resource URI includes the second service. Address information of the instance.
  • the network tag field of the session establishment response may include the identification of the service set and binding indication information.
  • the session establishment response message may also include other target identifiers, such as a service pointer.
  • the AMF sends a first message to the SMF.
  • the first message is a modification request for the session.
  • the URI of the first message is the same as the resource URI included in the session establishment response message, and the modification
  • the request message includes the identification and binding indication information of the service set included in the session establishment response.
  • the first service instance is SMF and the second service instance is AMF.
  • AMF may send SMF identity, indication of binding relationship, and identity of service set to which AMF belongs to the SMF.
  • the SMF needs to send a message to the AMF for the session, the SMF carries the identifier of the AMF as a selection parameter in the first message, and the first message carries the binding relationship indication and the service described by the AMF. The identity of the collection.
  • the transport agent receives the first message.
  • the identifier of the second service instance is used to instruct the transmission agent to send a second message to the second service instance according to the identifier of the second service instance.
  • the identification information of the second service instance is used to instruct the transmission agent to send the first Two messages.
  • the transport agent can select a service instance from the service set. For example, when the binding mode indication information indicates that the user equipment is bound to the service set, or when the second service instance is unavailable, the transport agent may select an available service instance from the service set according to the service set identifier, so that the service instance is The user equipment provides services.
  • a service instance corresponding to the target identification is determined.
  • the transmission agent determines that the second service instance is the receiving device of the second message, and proceeds to step 1330.
  • the transport agent sends a second message to the second service instance.
  • the target identifier includes, for example, a service pointer, an identifier of a second service instance, and the like.
  • the transmission agent determines an available third service instance from the service set to which the second service instance belongs, and proceeds to step 1340.
  • the transport agent sends a third message to the third service instance.
  • the transport agent determines a second service instance from the service set, and proceeds to step 1330. For example, if the binding instruction information indicates that the user equipment is bound to the service set, the transport agent determines a second service instance from the service set, and proceeds to step 1330. At step 1330, the transport agent sends a second message to the second service instance.
  • the transport agent sends a second message.
  • the second message may be completely the same as the first message.
  • the transmission agent directly forwards the first message as the second message to the second service instance according to the target identifier in the first message.
  • the second message may also be different from the second message.
  • the transmission agent may change the first message, for example, change the header of the first message, keep the message body unchanged to form the second message, and Send the second message to a second service instance and so on.
  • the first message is an HTTP message. If the first service instance receives the resource URI sent by the second service instance, and the authorization domain field (Authority) of the resource URI includes the address information of the second service instance, such as the IP address or FQDN, that includes the second service instance's Identification, the URI of the first message uses the resource URI, that is, the URI of the first message includes the resource URI.
  • the transport agent determines whether the user equipment is bound to the second service instance according to the binding mode indication information. When the binding mode indication information indicates binding with the second service instance, the transmission agent sends a second message to the second service instance that has a binding relationship with the target identifier.
  • the transport agent sends the second message to the second service instance according to the address of the second service instance in the first message URI.
  • the second message may include information of the URI in the first message. That is, the URI in the second message may be the same as the URI in the first message.
  • the first message is an HTTP message. If the first service instance receives the identifier of the second service instance from the second service instance and the identifier is not in the resource URI, the first message includes a selection parameter, and the selection parameter includes the identifier of the second service instance.
  • the transport agent may determine that the user equipment is bound to the second service instance according to the binding mode indication information in the first message.
  • the transmission agent obtains the address information of the second service instance, such as an IP address and an FQDN, according to the identifier of the second service instance.
  • the transmission agent sends a second message to the second service instance according to the address information of the second service instance.
  • step 1340 if the URI of the first message includes the address of the second service instance, but the transport agent selects the third service instance in step 1320, the transport agent maintains the message body after selecting the third service instance. Change to form a third message.
  • the third message may include the address of the third service instance.
  • the URI of the third message may include the address of the third service instance.
  • the transport agent may replace the address of the second service instance in the Authorization field in the URI of the first message with the address of the third service instance to form a third message.
  • the transmission agent may delete the selection parameter in the first message in order to generate a third message.
  • the message body of the third message may be exactly the same as the message body of the first message.
  • the transmission agent may change the header of the first message, and write the address of the third service instance into the URI of the third message to send the third message to the third service instance.
  • FIG. 10 is a schematic diagram of a communication method according to another embodiment of the present application.
  • a session is provided by the same service instance.
  • the second service instance when establishing a session, sends a setup message of the first session to the first service instance, where the setup message includes an identifier of the second service instance.
  • the first service instance sends other messages related to the first session to the second service instance according to the identity of the second service instance.
  • the second service instance sends a first message to the first service instance, and the session identifier of the first message may be used to uniquely identify a session in the second service instance.
  • the service instance serving the first session may fail, or the load may be too high, which may affect the session.
  • an embodiment of the present application provides a communication method.
  • the first service instance may be one of an SMF and a user plane function (UPF).
  • the second service instance may be the other of the SMF and the UPF.
  • the third service instance, the fourth service instance, and the second service instance are network elements having the same function.
  • the first service instance receives the first message sent by the third service instance or the fourth service instance.
  • the first message includes the target identification.
  • the first service instance determines a second service instance according to the target identifier.
  • the second service instance is used to provide services for the first session. That is, the first service instance determines a second service instance that provides services for the first session according to the target identifier.
  • the first service instance sends a second message to the second service instance.
  • the first message is related to the first conversation.
  • the second message is related to the first session.
  • the first message includes an identification of the first session.
  • the target identification and the identification of the first session may be located in the same or different fields.
  • the session identifier may be used to uniquely identify a session in the target service set, and the second service instance, the third service instance, and the fourth service instance may be service instances in the target service set. That is, each session in the service set corresponds to a session ID.
  • the fully qualified stream endpoint identifier (F-SEID) field of the control plane of the first message may include the target identifier.
  • the node identifier (Node ID) of the first message may include the target identifier, or the target identifier may be located in other fields of the first message, which is not limited in this embodiment of the present application.
  • the first session is bound to a service instance, or the first session is bound to a service set.
  • the second service instance, the third service instance, and the fourth service instance are network elements capable of providing the same service.
  • the third service instance and the fourth service instance are both AMF or SMF.
  • the second message is related to the first session.
  • the second service instance is used to provide a service for the first session.
  • the second message may be used to request a second service instance to provide a service for the first session.
  • the first message includes the target identification.
  • the first session is bound to a third service instance or to the target service set, and the target service set includes a second service instance and a third service instance.
  • the target service set may also include a fourth service instance.
  • the first session is bound to a service instance, and the service instance provides services for the first session.
  • the service instance When the service instance is unavailable, other service instances in the service set where the service instance is located provide services for the first session.
  • the first session is bound to the third service instance, when the third service instance is unavailable, the first service instance selects the second service instance from the target service set and sends a second message to the second service instance.
  • the target identifier includes the identifier of the service instance
  • the first session is bound to the service instance.
  • the first session is bound to a service set, and a service instance in the service set provides services for the first session.
  • the first service instance determines that a service instance in the service set provides services for the first session.
  • the first service instance determines the service instance from the service set.
  • each service instance in the target service set can provide services for the first session.
  • a third service instance provides services for the first session, and other service instances in the target service set can obtain the context of the first session saved by the third service instance, so as to provide the first session. service.
  • the target identifier may include an identifier of the first conversation group.
  • the identification of the first conversation group is used to identify a conversation group.
  • the first session group includes one or more sessions within a service set.
  • the first conversation group includes a first conversation.
  • the session group identifier can be used to identify a unique session group in the service set.
  • the first service instance may determine the second service instance from the target service set according to the identifier of the first session group and the identifier of the target service set.
  • the identification of the conversation group may also be used to identify a unique conversation group in the service set that communicates with the first service instance.
  • the first service instance may determine the second service instance from the target service set according to the identifier of the first conversation group.
  • the identity of a conversation group can be a global identity or an identity in a service set.
  • the service instance that sends the session establishment request (such as a third service instance) or the service instance that sends the session modification request may configure the first session as one session in the first session group.
  • the target identifier includes multiple identifiers of the session group identifier, the third service instance identifier, and the target service set identifier
  • multiple fields can be encoded into a unified identifier, such as encoding the multiple identifiers into an FQDN
  • the unified identifier FQDN is used as the target identifier, and the multiple identifiers may also be located in different fields of the first message, which is not limited in the embodiment of the present application.
  • the first message includes binding mode indication information.
  • the binding mode indication information is used to indicate that the first session is bound to a service instance, or that the first session is bound to a service set.
  • the binding mode indication information may be used as a new parameter of the first message, that is, the binding indication information may be located in a new field of the first message.
  • the third service instance adds an optional field to the session creation request for sending binding mode indication information.
  • One or more fields of the new data type can be defined, and one or more fields of the new data type are used to carry binding mode indication information.
  • the binding mode indication information may also be located in an existing field of the first message.
  • the binding mode can also be indicated in an implicit manner.
  • the target identifier includes the identifier of the third service instance, it indicates that the binding mode is that the first session is bound to the third service instance.
  • the target identifier does not include the identifier of the service instance, for example, the target identifier only includes the identifier of the target service set, or the target identifier includes the identifier of the service set and the identifier of the first session group, or the target identifier includes the identifier of the first session group.
  • the binding mode is that the first session is bound to the service collection.
  • the target identifier may include an identifier of a target service set.
  • the identifier of the service set may be located in a fully qualified stream endpoint identifier (F-SEID).
  • F-SEID fully qualified stream endpoint identifier
  • the identifier of the service set may also be used as a new parameter in the first message. For example, when a session is created, the second service instance adds an optional field to the session creation request to send the identifier of the service set. You can define one or more fields of the new data type, and one or more fields of the new data type are used to carry the identity of the service collection. This embodiment does not limit this.
  • the first service instance may send the capability indication information to one or more service instances in the target service set, for example, the third or fourth service instance, or each service instance.
  • the service instance in the target service set can determine whether the first service instance supports load balancing based on the service set according to the capability indication information, that is, whether the first service instance supports selecting a service instance from the service set as the first session. Provide services.
  • the third service instance or the fourth service instance receives the capability indication information sent by the first service instance. If the capability indication information indicates that the first service instance supports load balancing based on a service set, the third service instance or the fourth service
  • the first message sent by the instance may include binding relationship indication information, which indicates that the first session is bound to the service set, or the first message implicitly indicates that the first session is bound to the service set through the first message. set.
  • the first service instance is UPF
  • the second, third, and fourth service instances are SMF
  • the capability indication information is used to indicate that the UPF supports load balancing based on the SMF set.
  • the first service instance when the first service instance supports load balancing based on the service set, can send capability indication information to all or part of the service instances in the target service set, for example, the service instance that communicates with the first service instance.
  • the indication information is used to indicate that the first service instance supports load balancing based on a service set.
  • no capability indication information is sent. For example, if the UPF does not support the above capabilities, the UPF may not send capability indication information.
  • the instance in the target service set determines that the first service instance does not support Load balancing based on service collection.
  • the instance in the target service set determines whether the first service instance supports selecting a service instance from the service set according to whether or not the capability indication information is received.
  • an instance in the target service set such as the third service instance, receives capability indication information of the first service instance
  • the capability indication information is used to indicate the first service instance. Supports or does not support load balancing based on service collections.
  • the instance in the target service set, such as the third service instance determines whether the first service instance supports load balancing based on the service set according to the content of the capability indication information.
  • the first service instance does not support selecting other service instances from the service set to which the third service instance belongs, and the first message related to the first session sent by the third service instance or the fourth service instance to the third service instance includes Identification of the third service instance three.
  • the first service instance does not support selecting other service instances from the service set to which the third service instance belongs, which also means that the first service instance can only receive messages sent by the service instance bound to the first session (that is, the third service instance three). Response message.
  • the first service instance sends a request message to the third service instance, and the request message includes an identifier of the third service instance, and the first service instance does not support receiving a response message from a service instance other than the third service instance.
  • the third service instance or the fourth service instance may set the binding relationship indication information corresponding to the session to be bound to the service instance (such as binding to the third service instance). (Determined), the third service instance or the fourth service instance may send the binding relationship indication information to other control plane service instances, so that other control plane service instances send a message related to the session to the third service instance, so as to prevent the A service instance selects service instance three, and other control plane service instances select other service instances, such as service instance four, so that there are more message redirections between service instance three and service instance four.
  • the UPF does not support reselecting SMF2 from the SMF set to provide service for the session of the user equipment
  • SMF1 sets the binding relationship indication information of the session To bind to the SMF set
  • the uplink message related to the session for example, the user equipment initiates a session modification, at this time
  • the corresponding uplink message is sent by the AMF
  • the downlink message for example, the UPF receives the downlink data
  • the paging is triggered, and the corresponding downlink message is sent by the UPF at this time. If the AMF sending the uplink message selects SMF2, the UPF sends a downlink message to SMF1.
  • the downlink message of the UPF needs to be sent to SMF2 and processed by SMF2.
  • the UPF does not support receiving response messages from SMF2
  • the second service instance When the first service instance does not support the load balancing capability based on the service set, if the third service instance is unavailable, the second service instance sends a session update message to the first service instance, and the session update message is used to indicate the The service instance that the first service instance provides for the first session is modified from the third service instance to the second service instance.
  • the session update message includes the identifier of the second service instance.
  • the second service instance SMF1 interacts with the information of the first service instance UPF.
  • the UPF does not support reselecting SMF2 from the SMF set to provide service for the session of the user equipment. If SMF1 is unavailable and the first session is subsequently served by SMF2, SMF2 sends a session update message to the UPF, instructing the UPF to determine that the service instance serving the first session is modified from SMF1 to SMF2.
  • SMF2 sends a session update message to the UPF corresponding to all sessions served by SMF1, or sends UPF corresponding to all sessions provided to SMF1 to the right and backed up by SMF2 Session update message.
  • the first service instance may also register in the NRF whether the ability to select a service instance from the service set is supported, so that the second service instance obtains from the NRF whether the first service instance supports load balancing based on the service set.
  • the second service instance may receive capability indication information sent by the NRF, and the capability indication information indicates whether the first service instance supports selecting a service instance from a service set, that is, has the ability to select a service instance from a service set.
  • the third service instance may receive the capability indication information sent by the first service instance or the capability indication information sent by the NRF, and the capability indication information indicates whether the first service instance supports selecting a service instance from a service set.
  • the third service instance may also determine the binding indication information corresponding to the first session according to its own capability and / or the attributes of the session. If the third service instance does not support load balancing based on the service set, or in some cases does not support load balancing based on the service set, the first session is bound to the third service instance. For example, if the third service instance supports interworking with the fourth generation mobile communication system (that is, 4G), the third service instance sets the binding instruction information of the session provided by the third service instance to be bound to the service instance (that is, the third service instance Three service instance bindings). Alternatively, the third service instance determines the binding indication information of the session according to whether the session supports migration to the LTE system. For example, if the session supports moving to the LTE system, the third service instance sets the binding indication information of the session to the service Instance binding.
  • the fourth generation mobile communication system that is, 4G
  • the third service instance sets the binding instruction information of the session provided by the third service instance to be bound to the service instance (that is, the third
  • the third service instance may determine a session binding mode according to the capability indication information of the first service instance. According to the capability indication information of the first service instance, the third service instance may determine the binding mode indication information.
  • the binding mode indication information may also indicate that the session is bound to the third service instance or to a service set to which the third service instance belongs.
  • the binding mode indication information indicates that the session is bound to the third service instance.
  • the binding mode indication information may indicate that the first session that requires the first service instance to provide services is bound to a third service instance, or that includes a third service instance Service instance service collection binding.
  • the service set including the third service instance is the service set to which the third service instance belongs.
  • the third service instance may determine the binding mode of the session according to its own capability and / or the attributes of the session.
  • the third service instance does not support selecting a service instance from the service set, or the third service instance determines that a session that requires the third service instance to provide services is bound to the third service instance. For example, if the third service instance supports the LTE system, when the third service instance provides services through the LTE system, since the LTE system does not support selecting a service instance from a service set, the third service instance does not support selecting a service instance from the service set. . Therefore, the third service instance supports the LTE system, and it can be considered that the third service instance does not support selecting a service instance from a service set.
  • the first session support service instance provides services through the LTE system, and it can be considered that the third service instance does not support selecting a service instance from a service set.
  • the third service instance may determine the binding mode indication information of the session according to the attributes of the session.
  • the third service instance or the fourth service instance may send the binding relationship indication information to other control plane service instances, so that the other control plane service instances send a message related to the session to the third service instance, so as to prevent the first service instance from appearing.
  • the third service instance is selected, and other control plane service instances select other service instances, such as the fourth service instance, so that there are more message redirections between service instance three and service instance four.
  • the first session is bound to a third service instance. If the third service instance is unavailable, the first service instance selects the second service instance.
  • the first service instance may determine the identity of the target service set, and select a second service instance from the target service set.
  • the first service instance determines an identifier of a target service set according to the target identifier.
  • the target identification includes an identification of a target service set.
  • the first service instance obtains the identifier of the target service set from the target identifier.
  • the target identifier includes the identifier of the third service instance, and the first service instance is based on the identifier of the third service instance, and the identifier and target of the third service instance received from the service instances in the target service set. The correspondence between the identifiers of the service sets determines the identifier of the target service set.
  • the first service instance may send the identifier of the target service set to the NRF, and the NRF sends the identifier of the available service instance in the target service set to the first service instance.
  • the first service instance selects a second service instance from the available service instances in the target service set.
  • the NRF network element may store a correspondence between a service set and one or more service instances.
  • the first service instance may send the identity of the target service set to the NRF network element.
  • the NRF network element may determine that one service instance in the target service set is the second service instance according to the identifier of the target service set and the correspondence between the target service set and one or more service instances.
  • the second service instance is an available service instance.
  • the third service instance is unavailable.
  • the first service instance may send the identifier of the third service instance to the NRF network element, and the NRF network element may determine the target service set described in the third service instance according to the identifier of the third service instance.
  • the NRF network element may determine an available service instance in the target service set according to the identifier of the target service set, and the available service instance includes a second service instance.
  • the first service instance receives the identifier of the first conversation group, and the first service instance may determine the second service instance according to the identifier of the first conversation group.
  • the first conversation group has a corresponding relationship with the second service instance, that is, the second service instance provides services for the sessions in the first conversation group.
  • the first service instance may also determine the second service instance according to the identity of the first session group and the identity of the target service set.
  • the first service instance may save the correspondence between the first session group and the second service instance.
  • the first service instance may determine the second service instance according to the identifier of the first conversation group and the correspondence between the first conversation group and the second service instance.
  • the NRF network element may save the correspondence between the first conversation group and the second service instance, that is, the second service instance provides services for the sessions in the first conversation group.
  • the first service instance may send the identity of the first conversation group to the NRF network element.
  • the NRF network element may determine the second service instance according to the correspondence between the first session group and the second service instance.
  • the NRF network element may send the identity of the second service instance to the first service instance. That is, the first service instance sends the identifier of the first conversation group to the NRF network element.
  • the first service instance receives the identifier of the second service instance sent by the NRF network element to determine the second service instance.
  • the first service instance receives the identifier of the first session group and the identifier of the target service set, the first service instance sends the identifier of the first session group and the identifier of the target service set to the NRF network element, so that the NRF may
  • the identifier of a conversation group selects two service instances corresponding to the first conversation group from the target service set.
  • the first service instance may also select the second service instance according to the mapping relationship between the target service set and the service instance obtained locally.
  • the first service instance may store a correspondence between a service set and one or more service instances.
  • the first service instance may determine that one service instance in the target service set is the second service instance according to the identifier of the target service set and the correspondence between the target service set and one or more service instances.
  • the target service set includes the one or more service instances.
  • the first service instance may receive first information sent by a service instance in the target service set, and the first information includes an identifier of the service instance and an identifier of the target service set. .
  • the first information may indicate a correspondence between a service instance and a target service set.
  • the first service instance obtains the identifier of the target service set according to the target identifier.
  • the first service instance determines the second service instance according to the identifier of the target service set. That is, the first service instance may determine the second service instance according to the identifier of the target service set and the correspondence between the service instance and the target service set.
  • the first service instance may receive the identifier of the service instance and the identifier of the target service set sent by the service instances in the target service set. That is, the first service instance can determine the correspondence between the target service set and the service instance according to the received message. According to the obtained identifier of the target service set, the second service instance may be determined from the target service set.
  • the first service instance may receive an identifier of all or part of the service instances in the service set to which the service instance belongs and a service set identifier sent by one service instance in the service set. That is, the first information may include an identifier of a target service set, and identifiers of multiple service instances.
  • the multiple service instances are all or part of the service instances in the target service set.
  • the first service instance may receive first information sent by the multiple service instances to obtain an identifier of each service instance in the target service set. .
  • the first service instance may determine the correspondence between each service instance in the service set and the service set according to the first information sent by the multiple service instances.
  • the first service instance may receive first information sent by each service instance in a service set, and the first information includes an identifier of the service instance and an identifier of the service set.
  • the first service instance can obtain the correspondence between each service instance in the service set and the service set according to the first information sent by each service instance in the service set.
  • the first service instance may receive the identifier of the service instance and the identifier of the target service set to which the service instance belongs, which are sent by each of the one or more service instances in the target service set.
  • the plurality of service instances include a second service instance.
  • the first service instance may save the correspondence between the target service set and the one or more service instances.
  • the first service instance may receive the identity of the service set and the identity of the service instance from each of the one or more service instances in the service set. That is, each service instance in the target service set sends the identifier of the service instance and the target service set to the first service instance.
  • the first service instance receives the identifier of the first service set and the identifier of the second service instance sent by the second service instance, and the first service set includes the second service instance.
  • the first service instance receives an identifier of a first service set and an identifier of a third service instance sent by a third service instance, and the first service set includes a third service instance.
  • the first service set may be a target service set.
  • the first service instance may determine the corresponding relationship between the service instance and the service set according to the identifier of each service instance received and the identifier of the service set to which it belongs, so that the service instance in the service set can be determined.
  • the first service instance determines the second service instance from the target service set according to the correspondence between the service instance and the service set and the target service set to which the third service instance belongs, and sends a second message to the second service instance.
  • the second service instance is used to provide services for the first session.
  • the third service instance sends the identifier of the target service set to which the third service instance belongs to the first service instance through the first message; or, the first service instance according to the identifier of the third service instance in the target identifier and the received
  • the corresponding relationship between the third service instance and the service set determines its corresponding target service set.
  • the service instance in the service set to which the second service instance belongs identifies the identity of the service set to which the service instance belongs and The identifier of the service instance is sent to the first service instance.
  • the service set identifier of the service set to which the second service instance belongs and the second service are sent.
  • the identity of the instance is sent to the first service instance, so that the first service instance can establish a mapping relationship between the set and all service instances it includes.
  • the SMF set includes SMF1, SMF2, and SMF3.
  • SMF1 sends the identity of the SMF set and the identity of SMF1 to the UPF when establishing the N4 link with the UPF.
  • the identifier sends the UPF
  • SMF3 sends the identifier of the SMF set and the identifier of SMF3 to the UPF when establishing the N4 link with the UPF.
  • the UPF can establish the following association: (SMF set identifier, SMF1 identifier, SMF2 identifier, SMF3 identifier). That is, the UPF establishes a mapping relationship between the SMF set identifier and SMF1, SMF2, and SMF3.
  • the UPF may select SMF2 or SMF3 from the SMF set as the second service instance to provide services for the first session according to the SMF set identifier.
  • the UPF may determine the identity of the SMF set corresponding to SMF1 according to the identity of SMF1, and select SMF2 or SMF3 as the second service instance from the SMF set.
  • the first service instance may obtain, from the service instance, an identifier of a service set to which the service instance belongs and an identifier of the service instance. For example, when the first service instance is a UPF and the target service set is an SMF set, the establishment of a link between network elements refers to the establishment (Setup) of an N4 association.
  • the identifier of the target service set corresponding to the first session when the session is established is obtained at the first service instance, and the target service set is a service set to which the second service instance belongs.
  • the first service instance obtains an identity of one or more service instances included in the target service set.
  • the first service instance may select one service instance in the target service set as the second service instance to provide services for the first session.
  • the identifier of the target service set to which the service instance belongs may also be registered in the NRF network element.
  • Each service instance in the target service set may send the identifier of the service instance and the target service set to the NRF network element.
  • the NRF network element determines the corresponding relationship between the target service set and the service instance according to the identifier of the service instance and the identifier of the target service set sent by each service instance, that is, determines the service instances included in a target service set.
  • the first service instance sends an identification of the target service set to the NRF network element.
  • the NRF network element determines that one service instance in the target service set is the second service instance according to the correspondence between the target service set and the service instance.
  • the NRF network element sends the identifier of the second service instance to the first service instance.
  • the first service instance may obtain the identifier of the target service set according to the target identifier.
  • the first service instance may obtain the identifier of the target service set from the target identifier of the first message, that is, the target identifier includes the identifier of the target service set, and the first service instance may obtain the target service set.
  • logo the identifier of the target service set from the target identifier of the first message, that is, the target identifier includes the identifier of the target service set, and the first service instance may obtain the target service set.
  • the first service instance may obtain the identifier of the target service set according to the identifier of the third service instance.
  • the first service instance may be based on the identifier of the third service instance, and the correspondence between the identifier of the third service instance and the target service set identifier that the first service instance may receive from the service instances in the target service set, for example, associated with N4 (N4 association)
  • N4 N4 association
  • the third service instance sends the identifier of the target service set and the identifier of the third service instance to the first service instance.
  • the first service instance sends the identifier of the third service instance to the NRF network element, and the NRF network element sends the identifier of the target service set to the first service instance.
  • the first service instance sends an identifier of the third service instance to the NRF network element, and the NRF network element determines a target service set corresponding to the third service instance.
  • one or more service instances can provide backups for another service instance.
  • the first service instance receives a third message sent by the second service instance or the third service instance.
  • the third message may include backup instruction information, which is used to indicate that the second service instance is a service instance used to provide a backup for the third service instance, or the third message may indicate that the second service instance is used to provide a third service instance.
  • the first session group of the instance service provides a backup instance of the service. That is, the second service instance provides backup for the third service instance, or the second service instance provides backup for the first session group served by the third service instance.
  • the first service instance determines that the second service instance provides services for the first session according to the backup instruction information and the target identifier.
  • service instance 1 sends a third message to the first service instance, and the third message is used to indicate that service instance 2 is a service instance used to provide backup for service instance 1.
  • the third message may include the identity of service instance 1 and the identity of service instance 2. Among them, at the first moment, service instance 1 provides services for the first session, and service instance 2 provides backups for the first session.
  • the first service instance determines that service instance 2 is the second service instance, and sends a second message to service instance 1, that is, at the second moment, service instance 2 provides services for the first session.
  • the sessions provided by the service instance 2 may also be all sessions served by the service instance 1.
  • the service instance that provides the backup for that session begins to service the session.
  • the service instance that provides backup for this session does not need to obtain the session context from other network elements, which reduces the delay.
  • the service instance 1 sends a third message to the first service instance, and the third message is used to indicate that the service instance 2 is a service instance for providing a backup for the first session group of the service instance service 1.
  • the third message may include the identity of service instance 1, the identity of service instance 2, and the identity of the first session group.
  • the first conversation group includes a first conversation. Among them, at the first moment, service instance 1 provides services for the first conversation group, and service instance 2 provides backup for the first conversation group. That is, service instance 2 may be associated with a set of conversation groups served by the second service instance 1.
  • the third message is a link message between network elements. For example, when the first service instance is a UPF and the target service set is SMF, the third message is an N4 association establishment or update message.
  • the third service instance may send the identity of the backup service instance to the first service instance through the first message.
  • the first service instance determines that the backup service instance is the second service instance according to the identifier of the backup service instance in the first message.
  • the first service instance sends a second message to the second service example.
  • the identifier of the backup service instance may be an IP address of the backup service instance.
  • the first message may include an identification of one or more backup service instances of the third service instance.
  • the target service set may include the one or more backup service instances. That is, the backup service instance corresponding to the identifier of each backup service instance can be understood as the service instance in the service set to which the third service instance belongs. That is, the target service set includes one or more backup service instances, and a third service instance.
  • the first message may include an identifier of one or more backup service instances, that is, the first message may include an identifier of one or more service instances in a target service set.
  • the backup service instance is associated with a set of sessions served by the second service instance, or with all sessions served by the second service instance.
  • the first The message may also include the identity of a set of sessions associated with the backup service instance.
  • the first service instance may further receive the identifier of the service instance sent by each service instance in the target service set, the identifier of the session group provided by the service instance, and the service instance.
  • the ID of the backup session group may be further received.
  • the first service instance may determine that the service instance that provides backup for the conversation group is the second service instance according to the conversation group to which the first session belongs.
  • a service instance in a service set when a service instance in a service set is registered with the NRF, it can also carry the identity of one or more session groups provided by the service for backup services.
  • service instance 1 serves session group 1 and provides backup for session group 2.
  • the message sent by service instance 1 to the first service instance includes: the set identifier corresponding to service instance 1, the identifier of service instance 1, the identifier of session group 1 served by service instance 1, and the backup of service instance 1.
  • service instance 2 serves session group 2 and provides backup for session group 1.
  • the message sent by service instance 2 to the first service instance includes: the set identifier corresponding to service instance 2, service The identifier of the instance 2, the identifier of the conversation group 2 served by the service instance 2, and the identifier of the conversation group 1 backed up by the service instance 2.
  • the first service instance determines the second service instance according to the target service set and the identifier of the session group corresponding to the session. For example, the conversation group corresponds to conversation group 1.
  • the first service instance determines that the conversation group is provided by service instance 2 according to the identifier of conversation group 1. Therefore, service instance 2 is selected as the second service instance.
  • the identifier of the target service set to which the service instance belongs and the identifier of the session group provided by the service instance may be registered in the NRF network element.
  • the first service instance sends an identification of the first conversation group to the NRF.
  • the NRF determines the identity of the second service instance that provides backup for the first conversation group according to the identity of the first conversation group.
  • the NRF may send the identity of the second service instance to the first service instance.
  • the second message may include a message body that includes parameters related to the first session.
  • the second message may be used to instruct the second service instance to provide services for the first session.
  • the second message may be a request message sent by the first service instance to the second service instance.
  • the first service instance is a UPF network element
  • the second service instance is an SMF network element
  • the second message may be used to request the first service.
  • the instance sends a downlink data notification to the second service instance.
  • the second second message may include an identification of the second service instance.
  • the identifier of the second service instance may be located in a fully qualified stream endpoint identifier (F-SEID) field of the second message.
  • F-SEID fully qualified stream endpoint identifier
  • the target identifier can also be used as a new parameter. For example, when a session is created, the second service instance adds an optional field to the session creation request to send the target identifier. You can define one or more fields of the new data type, and one or more fields of the new data type are used to carry the target identifier.
  • the target identifier includes multiple identifiers that can be carried in the same or different fields.
  • the F-SEID of the first message includes the identifier of the service instance 1, and the identifier of the service instance 1 may be, for example, the IP address of the service instance 1.
  • Service instance 1 is unavailable, and the first service instance determines that service instance 2 is the second service instance.
  • the F-SEID field in the second message may include the identity of the service instance 2.
  • the F-SEID field in the second message does not include the identity of the service instance 1.
  • the first service instance is a UPF
  • the second message may include the identity of the first session.
  • the identification of the first session in the second message is determined according to the identification of the first session in the first message. For example, the identifier of the first session in the second message is the same as the identifier of the first session in the first message. Session identification can be used to identify sessions in a service collection.
  • An embodiment of the present application provides a communication method, including a third service instance sending a first message related to a first session to the first service instance, the first message includes a target identifier, and the target identifier is used to indicate the The first service instance determines a second service instance, which is used to provide a service for the first session.
  • the first message includes binding mode indication information, and the binding mode indication information is used to indicate that the first session is bound to the third service instance or is bound to a target service set.
  • the target service set includes the second service instance and the third service instance.
  • the target identifier includes an identifier of the third service instance.
  • the third service instance receives capability indication information sent by the first service instance or a network storage function NRF network element, and the capability indication information is used to indicate that the first service instance supports a target service set-based Load balancing, the target service set includes the second service instance and the third service instance.
  • the third service instance sends the identifier of the target service set and the identifier of the third service instance to the first service instance, and the target service set includes the second service instance and the The third service example is described.
  • the third service instance sends backup instruction information to the first service instance, and the backup instruction information is used to instruct the second service instance to provide backup for the third service instance or to provide the second service instance
  • a first session group of the service provides backup, and the first session group includes the first session.
  • FIG. 11 is a schematic structural diagram of a transmission agent according to an embodiment of the present application.
  • the transmission agent 900 of FIG. 11 may be used to perform various steps performed by the transmission agent in the methods of FIG. 3 to FIG. 8.
  • the communication device 900 includes a sending unit 910 and a receiving unit 920.
  • the transmission agent 900 may further include a processing unit 930. The functions of each module of the network device 900 are described in detail below:
  • the receiving unit 920 is configured to receive a first message sent by a first service instance, and the first message includes a target identifier; and the sending unit 910 is configured to send a second message to a second service instance that is bound to the target identifier based on the first message .
  • the processing unit 930 is configured to obtain the identifier of the target service set according to the first message when there is no service instance with a binding relationship with the target identifier; the processing unit 930 is further configured to retrieve the target A third service instance is selected from the service set; the sending unit 920 is further configured to send a third message to the three service instances based on the first message.
  • the processing unit 930 is further configured to obtain the identifier of the target service set from the first message, and the first message further includes the identifier of the target service set; or the processing unit 930 is further configured to obtain the target identifier from the first message.
  • the processing unit 930 is further configured to determine the identifier of the service set having a mapping relationship with the target identifier in the first message as the identifier of the target service set .
  • the receiving unit 920 is further configured to receive a fourth message sent by the second service instance
  • the processing unit 930 is further configured to establish a binding relationship between the target identifier and the second service instance according to the first message.
  • the fourth message is a message related to the user equipment or the fourth message is a special binding request message.
  • the fourth message carries at least one of a binding indication and a binding timer, and the binding timer is used to release the binding relationship between the target identifier and the second service instance after the binding timer expires.
  • the fourth message carries the target identifier.
  • processing unit 930 is further configured to allocate a target identifier after receiving the fourth message sent by the second service instance.
  • the processing unit 930 is further configured to add the target identifier to the fourth message when the message is a message related to the user equipment.
  • the receiving unit 920 is further configured to receive a debinding request sent by the second service instance, where the debinding request is used to request to unbind the target identifier from the second service instance; or, start a binding timer, When the binding timer expires, the binding relationship between the target identifier and the second service instance is released.
  • the target identification is associated with one or a group of user equipments.
  • the target identifier is one of the service pointers configured for the second service instance
  • the receiving unit 820 is further configured to receive a registration request of the second service instance
  • the sending unit 920 is further configured to send a registration response to the second service instance to register The response includes a service pointer configured for the second service instance.
  • the registration request includes the number of service pointers applied by the second service instance
  • the determining unit is further configured to configure the service pointers for the second service instance according to the number of service pointers applied by the second service instance.
  • processing unit 930 is further configured to configure a service pointer for the second service instance according to the capacity of the second service instance.
  • the processing unit 930 is further configured to determine a service set to which the second service instance belongs; the processing unit 930 is further configured to configure a service pointer for the second service instance, so that the service pointer of the second service instance and other services in the service set The service pointer of the instance is different.
  • the target identifier is one of the service pointers configured for the second service instance
  • the receiving unit 920 is further configured to receive a registration request of the second service instance, where the registration request includes the service pointer of the second service instance in order to transmit the proxy binding Second service instance and service pointer.
  • the processing unit 930 is further configured to reconfigure the service pointer for the second service instance when the service pointer of the second service instance conflicts with the service pointers of other service instances in the service set to which the second service instance belongs; the sending unit 920 is also used to send a registration response to the second service instance, where the registration response includes a service pointer reconfigured for the second service instance.
  • the first message is a Hypertext Transfer Protocol HTTP message
  • the target identifier is located in the header of the HTTP message.
  • FIG. 12 is a schematic structural diagram of an example of providing a service according to an embodiment of the present application.
  • the service instance 1000 of FIG. 12 may be used to perform the steps performed by the second service instance in the methods of FIG. 3 to FIG. 8.
  • the service instance 1000 includes a sending unit 1010 and a receiving unit 1020, and the optional map 12 may further include a processing unit 1030.
  • the functions of each module of the communication device 1000 are described in detail below:
  • a sending unit 1010 is configured to send a fourth message to a transmission agent, where the fourth message is used to trigger the transmission agent to establish a binding relationship between the second service instance and a target identifier, where the target identifier is related to a user equipment
  • a receiving unit 1020 configured to receive a second message sent by the transmission agent, where the second message includes the target identifier.
  • the fourth message is a message related to the user equipment, or the fourth message is a special binding request.
  • the fourth message includes at least one of the target identifier and a binding timer.
  • the sending unit 1010 is further configured to send the target identifier to the first service instance.
  • the determining unit is further configured to insert the target identifier in a fourth message, so as to send the target identifier to the first service instance.
  • the sending unit 1010 further includes sending a unbinding request to the transmission agent, where the unbinding request is used to request to unbind the target identifier from the second service instance.
  • the target identifier is related to one or a group of user equipments.
  • the target identifier is one of the service pointers configured for the second service instance
  • the sending unit 1010 is further configured to send a registration request to the transmission agent
  • the receiving unit 1020 is further configured to send The registration response sent by the transport agent includes a service pointer configured for the second service instance.
  • the registration request includes the number of service pointers applied by the second service instance.
  • the sending device is further configured to send a registration request to the transmission agent, where the registration request includes a service pointer configured by the second service instance for itself.
  • the first message is a Hypertext Transfer Protocol HTTP message
  • the target identifier is located in a header of the HTTP message.
  • the service instance 1000 may further include a processing unit 1030, which is configured to process a message received through the receiving unit 1010.
  • the service instance 1000 may also perform each step performed by the first service instance in the methods in FIG. 3 to FIG. 8.
  • the receiving unit 1020 of the service instance 1000 is configured to receive a target identifier related to the user equipment and the second service instance.
  • the sending unit 1010 carries the target when sending a message related to the user equipment and the second service instance. Identification, the target identification is used to send the message to the second service instance.
  • the receiving unit 1020 is configured to receive the target identifier.
  • the receiving unit is configured to receive the target identifier from a transmission agent related to the second service instance.
  • FIG. 13 shows a schematic structural diagram of a transmission agent according to another embodiment of the present application.
  • the transmission agent 1100 includes a processor 1110 and a transceiver 1120.
  • the processor 1110 and the transceiver 1120 communicate with each other through an internal connection circuit.
  • the processor 1110 is configured to execute instructions to control the transceiver 1120 to send signals and / or receive signals.
  • the transfer agent 1110 may further include a memory 1130.
  • the processor 1110, the transceiver 1120, and the memory 1130 communicate with each other through an internal connection path.
  • the memory 1130 is used to store instructions.
  • the processor 1110 is used to execute the instructions stored in the memory 1130 to control the transceiver 1120 to send signals and / Or receive a signal.
  • the transceiver 1120 may provide the same functions as the sending unit 910 and the receiving unit 920 in FIG. 11; the processor 1110 and the memory 1130 may provide the same functions as the processing unit 930 in FIG. 11.
  • the transceiver 1120 is configured to receive a first message sent by a first service instance, where the first message includes a target identifier.
  • the processor 1110 is configured to find whether a service instance corresponding to the target identifier exists.
  • the transceiver 1120 is further configured to send the second message to the second service instance having a binding relationship with the target identifier based on the first message. .
  • FIG. 14 shows a schematic structural diagram of a service example provided by another embodiment of the present application.
  • the service instance can perform each step of the method of FIGS. 3-8.
  • the service instance 1200 includes a transceiver 1220.
  • the transceiver 1220 is used for receiving / transmitting signals.
  • the service instance 1200 may further include a processor 1210, where the processor 1210 and the transceiver 1220 communicate with each other through an internal connection path.
  • the processor 1210 is configured to control the transceiver 1220 to send / receive signals.
  • the service instance 100 may further include a memory 1230.
  • the processor 1210, the transceiver 1220, and the memory 1230 communicate with each other through an internal connection path.
  • the memory 1230 is used to store instructions, and the processor 1210 is used to execute the memory 1230. Stored instructions to control the transceiver 1220 to send and / or receive signals. It should be understood that the transceiver 1220 may provide the same functions as the sending unit 910 and the receiving unit 920 in FIG. 11; the processor 1210 and the memory 1230 may provide the same functions as the processing unit 930 in FIG. 11.
  • the transceiver 1220 is configured to send a fourth message to the transmission agent, and the fourth message is used to trigger the transmission agent to establish a binding relationship between the service instance 1200 and the target identifier; the transceiver 1220 is further configured to receive A second message, the second message including the target identifier.
  • the service instance 1200 may further include a processor 1210, where the processor 1210 is configured to execute an instruction.
  • the service instance 1200 may also perform various steps performed by the first service instance in the methods in FIG. 3 to FIG. 10.
  • the transceiver 1220 in the service instance 1200 is further configured to receive a target identifier related to the user equipment and the second service instance.
  • the transceiver 1220 carries the target when sending a message related to the user equipment and the second service instance. Identification, the target identification is used to send the message to the second service instance, and the processor 1210 is used to execute an instruction.
  • transceiver may be a communication interface.
  • the memory can be a separate device or it can be integrated into the processor.
  • Each of the above devices or part of the devices may be integrated into a chip for implementation, such as being integrated into a baseband chip.
  • FIG. 15 shows a schematic structural diagram of a communication device according to an embodiment of the present application.
  • the communication device 1500 includes a transceiver unit 1510 and a determination unit 1520.
  • the transceiver unit 1510 is configured to receive a first message related to the first session sent by the third service instance or the fourth service instance, where the first message includes a target identifier.
  • the determining unit 1520 is configured to determine a second service instance that provides a service for the first session according to the target identifier.
  • the transceiver unit 1510 is further configured to send a second message related to the first session to the second service instance.
  • the service instance that provides services for the first session is determined according to the target identifier, which increases the flexibility of service instance selection, so that the selected service instance that subsequently provides services for the first session can be different from the service instance that previously provided services for the first session. Therefore, the first session is interrupted due to the failure of the third service instance.
  • the first message includes binding mode indication information, and the binding mode indication information is used to indicate that the first session is bound to the third service instance or is bound to a target service set.
  • the target service set includes the second service instance, the third service instance, and the fourth service instance.
  • the communication device can determine a method of selecting a service instance.
  • the target identifier includes an identifier of the third service instance.
  • the transceiver unit 1510 is further configured to receive a third message sent by the third service instance, where the third message includes backup instruction information, and the backup instruction information is used to indicate that the second service instance is
  • the third service instance provides a backup or the second service instance provides a backup for a first conversation group served by the third service instance; the first conversation group includes the first conversation;
  • the determining unit 1520 is configured to determine the second service instance according to the backup instruction information and the target identifier when the third service instance is unavailable.
  • the service instance that provides backup in the first session can be used as a candidate service instance.
  • the backup service instance provides services for the first session, which can prevent the first session from being interrupted when the third service instance fails, and improve the user experience.
  • the communication device 1500 further includes an acquiring unit, configured to acquire the identifier of the target service set according to the target identifier.
  • the determining unit 1520 is configured to determine the second service instance from the target service set according to the identifier of the target service set, where the target service set includes the second service instance, the third service instance, and The fourth service instance.
  • the transceiver unit 1510 is further configured to send the identifier of the target service set to a network storage function NRF network element,
  • the transceiver unit 1510 is further configured to receive an identifier of the second service instance sent by the NRF network element to determine the second service instance, and a target service set to which the second service instance belongs includes the second service instance.
  • determining that the service instance provides services for the first session can reduce the requirements for the storage capacity and processing capacity of the first service instance.
  • the transceiver unit 1510 is further configured to receive first information sent by a service instance in the target service set, where the first information includes an identifier of the service instance and an identifier of the target service set;
  • the determining unit 1520 is configured to determine the second service instance according to an identifier of the target service set and first information.
  • the obtaining unit is configured to obtain an identifier of the target service set from the target identifier, where the target identifier includes an identifier of the target service set.
  • the acquiring unit is configured to: when the target identifier includes the identifier of the third service instance, acquire the identifier of the target service set according to the identifier of the third service instance; the target service set includes The third service instance.
  • the target identifier includes an identifier of the first conversation group, and the first conversation group includes the first conversation.
  • the transceiver unit 1510 is further configured to send the identifier of the first session group to a network storage function NRF network element.
  • the transceiver unit 1510 is further configured to receive an identifier of the second service instance sent by the NRF network element to determine the second service instance.
  • the communication device 1500 is a user plane function UPF network element, and the second service instance, the third service instance, and the fourth service instance are session management function SMF network elements.
  • FIG. 16 shows a schematic structural diagram of a communication device according to an embodiment of the present application.
  • the communication device 1600 includes a communication interface 1610 and a processor 1620.
  • the communication interface 1610 is configured to receive a first message related to the first session sent by the third service instance or the fourth service instance, where the first message includes a target identifier.
  • the processor 1620 is configured to determine a second service instance that provides a service for the first session according to the target identifier.
  • the communication interface 1610 is further configured to send a second message related to the first session to the second service instance.
  • the first message includes binding mode indication information, and the binding mode indication information is used to indicate that the first session is bound to the third service instance or is bound to a target service set.
  • the target service set includes the second service instance, the third service instance, and the fourth service instance.
  • the target identifier includes an identifier of the third service instance.
  • the communication interface 1610 is further configured to receive a third message sent by the third service instance, where the third message includes backup instruction information, and the backup instruction information is used to indicate that the second service instance is
  • the third service instance provides a backup or the second service instance provides a backup for a first conversation group served by the third service instance; the first conversation group includes the first conversation;
  • the processor 1620 is configured to determine the second service instance according to the backup instruction information and the target identifier when the third service instance is unavailable.
  • the processor 1620 is further configured to obtain an identifier of the target service set according to the target identifier.
  • the processor 1620 is further configured to determine the second service instance from the target service set according to the identifier of the target service set, where the target service set includes the second service instance and the third service instance And the fourth service instance.
  • the communication interface 1610 is further configured to send an identifier of the target service set to a network storage function NRF network element,
  • the communication interface 1610 is further configured to receive an identifier of the second service instance sent by the NRF network element to determine the second service instance.
  • the communication interface 1610 is further configured to receive first information sent by a service instance in the target service set, where the first information includes an identifier of the service instance and an identifier of the target service set; the processor 1620 uses Therefore, the second service instance is determined from the target service set according to the identifier of the target service set and the first information.
  • the processor 1620 is further configured to obtain an identifier of the target service set from the target identifier, where the target identifier includes an identifier of the target service set; or
  • the processor 1620 is further configured to: when the target identifier includes the identifier of the third service instance, the communication device 1500 obtains the identifier of the target service set according to the identifier of the third service instance; the target service set includes The third service instance.
  • the target identifier includes an identifier of the first conversation group, and the first conversation group includes the first conversation.
  • the communication interface 1610 is further configured to send the identifier of the first session group to a network storage function NRF network element;
  • the communication interface 1610 is further configured to receive an identifier of the second service instance sent by the NRF network element to determine the second service instance.
  • the communication device 1500 is a user plane function UPF network element, and the second service instance, the third service instance, and the fourth service instance are session management function SMF network elements.
  • the embodiment of the present application provides a communication device, and the communication device may be configured to perform each step performed by the third service instance in the method in FIG. 10.
  • the communication device includes a unit for performing a method / step / function of the third service instance in FIG. 10.
  • An embodiment of the present application provides a communication system including a transceiver and a processor.
  • the transceiver communicates with the processor through an internal connection path.
  • the processor is used to control the receiver to receive signals and to control the transmitter to send signals.
  • the communication device further includes a memory, wherein the transceiver, the memory, and the processor communicate with each other through an internal connection path, the memory is used to store instructions, and the processor is used to execute the instructions stored in the memory to control
  • the receiver receives the signal and controls the transmitter to send the signal so that the device performs the method / step / function of the third service instance in FIG. 10.
  • An embodiment of the present application provides a communication system including a first service instance, where the first service instance is configured to perform each step performed by the first service instance in the method in FIG. 10.
  • system may further include a third service instance, where the first service instance is configured to perform each step performed by the third service instance in the method in FIG. 10.
  • the system may further include other devices for interacting with the first service instance and / or the third service instance.
  • the other device may be, for example, an access management function network element, and the access management function network element may be used to execute a method performed by the access management function network element in the solution provided in FIG.
  • the embodiment of the present application provides a computer program product.
  • the computer program product includes computer program code, and when the computer program code is run by a computer, the functions of the service example and the transmission agent described above can be implemented.
  • An embodiment of the present application provides a computer-readable medium for storing a computer program, where the computer program includes instructions for implementing the functions of the service instance and the transfer agent described above.
  • An embodiment of the present application provides a communication chip, in which instructions are stored, which when run on a computer device enable the functions of the service instance and the transmission agent described above to be implemented.
  • the disclosed systems, devices, and methods may be implemented in other ways.
  • the device embodiments described above are only schematic.
  • the division of the unit is only a logical function division.
  • multiple units or components may be combined or Can be integrated into another system, or some features can be ignored or not implemented.
  • the displayed or discussed mutual coupling or direct coupling or communication connection may be indirect coupling or communication connection through some interfaces, devices or units, which may be electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, may be located in one place, or may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the objective of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, or each of the units may exist separately physically, or two or more units may be integrated into one unit.
  • the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of this application is essentially a part that contributes to the existing technology or a part of the technical solution can be embodied in the form of a software product.
  • the computer software product is stored in a storage medium, including Several instructions are used to cause a computer device (which may be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in the embodiments of the present application.
  • the aforementioned storage media include: U disks, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks or compact discs and other media that can store program codes .

Landscapes

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

Abstract

La présente invention concerne un procédé de communication et un dispositif de communication. Le procédé de communication consiste à : recevoir un premier message envoyé par une première instance de service, le premier message comprenant un identificateur cible ; et sur la base du premier message, envoyer un second message à une seconde instance de service qui a une relation de liaison avec l'identificateur cible. Les solutions techniques fournies dans les modes de réalisation de la présente invention peuvent réduire la complexité de traitement d'instances de service.
PCT/CN2019/100418 2018-08-13 2019-08-13 Procédé de communication et dispositif de communication WO2020034955A1 (fr)

Priority Applications (6)

Application Number Priority Date Filing Date Title
EP19849892.5A EP3836515B1 (fr) 2018-08-13 2019-08-13 Procédé de communication et dispositif de communication pour la réduction de complexité concernant le traitement d'instances de service
BR112021002797-1A BR112021002797A2 (pt) 2018-08-13 2019-08-13 métodos e aparelhos de comunicações, meio de armazenamento de computador, sistema de chip, sistema de comunicações
AU2019321895A AU2019321895C1 (en) 2018-08-13 2019-08-13 Communication method and communication device
KR1020217007395A KR102580499B1 (ko) 2018-08-13 2019-08-13 통신 방법 및 통신 장치
JP2021507602A JP7196282B2 (ja) 2018-08-13 2019-08-13 通信方法および通信装置
US17/171,539 US11190602B2 (en) 2018-08-13 2021-02-09 Communication method and communications device

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN201810918830 2018-08-13
CN201810918830.0 2018-08-13
CN201910523684.6A CN110830543B (zh) 2018-08-13 2019-06-17 通信方法和通信设备
CN201910523684.6 2019-06-17

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/171,539 Continuation US11190602B2 (en) 2018-08-13 2021-02-09 Communication method and communications device

Publications (1)

Publication Number Publication Date
WO2020034955A1 true WO2020034955A1 (fr) 2020-02-20

Family

ID=69525227

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/100418 WO2020034955A1 (fr) 2018-08-13 2019-08-13 Procédé de communication et dispositif de communication

Country Status (1)

Country Link
WO (1) WO2020034955A1 (fr)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131311A (zh) * 2010-01-19 2011-07-20 华为技术有限公司 机器到机器的通信方法及设备
CN107222392A (zh) * 2017-06-02 2017-09-29 浙江嘉呼信息技术服务有限公司 通信方法、装置、系统以及计算机存储介质
WO2018141266A1 (fr) * 2017-02-06 2018-08-09 电信科学技术研究院 Procédé et dispositif d'acheminement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102131311A (zh) * 2010-01-19 2011-07-20 华为技术有限公司 机器到机器的通信方法及设备
WO2018141266A1 (fr) * 2017-02-06 2018-08-09 电信科学技术研究院 Procédé et dispositif d'acheminement
CN107222392A (zh) * 2017-06-02 2017-09-29 浙江嘉呼信息技术服务有限公司 通信方法、装置、系统以及计算机存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
NTT DOCOMO: "New Solution: Temporary bindings between the service instances", SA WG2 MEETING #127-BIS S2-185461, vol. SA WG2, 2 June 2018 (2018-06-02), Newport Beach, US, pages 1 - 6, XP051536336 *

Similar Documents

Publication Publication Date Title
US11190602B2 (en) Communication method and communications device
US11838858B2 (en) System and method for UE context and PDU session context management
US11917498B2 (en) Communication method and communications apparatus
EP3790305B1 (fr) Gestion de session pour des sessions permanentes
CN112136294A (zh) 应用功能影响业务路由的消息和系统
WO2019158010A1 (fr) Procédé, dispositif, et système de gestion de ressources
WO2022012310A1 (fr) Procédé et appareil de communication
WO2020057401A1 (fr) Procédé et appareil de sélection d'élément de réseau
CN113115480A (zh) 地址信息发送方法、获取方法、装置、设备及介质
CN111556539B (zh) Ue执行的方法及ue、以及smf实体执行的方法及smf实体
WO2019196811A1 (fr) Procédé de communication, et appareil associé
US20230224770A1 (en) Communication method and apparatus
CN113206894A (zh) Dns服务器的发现方法、装置、计算机设备及存储介质
CN111587586B (zh) 支持无锚回传的gtp隧道
WO2022022322A1 (fr) Procédé et dispositif pour accéder à un réseau local
CN110913437B (zh) 通信方法和网元
CN114071649B (zh) 访问本地网络的方法和装置
WO2020034955A1 (fr) Procédé de communication et dispositif de communication
RU2783809C2 (ru) Способ связи и устройство связи
WO2023143212A1 (fr) Procédé et appareil de communication
WO2023273767A1 (fr) Procédé de communication, entité à fonction de gestion d'accès et de mobilité, dispositif de réseau d'accès radio et support d'enregistrement lisible par ordinateur
WO2022141528A1 (fr) Procédé et dispositif de détermination de point d'accès mec
WO2018201973A1 (fr) Procédé et appareil destinés à une transmission de messages
JP2023526325A (ja) データ転送のサポート
CN116647832A (zh) 一种通信方法及装置

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19849892

Country of ref document: EP

Kind code of ref document: A1

DPE1 Request for preliminary examination filed after expiration of 19th month from priority date (pct application filed from 20040101)
ENP Entry into the national phase

Ref document number: 2021507602

Country of ref document: JP

Kind code of ref document: A

NENP Non-entry into the national phase

Ref country code: DE

REG Reference to national code

Ref country code: BR

Ref legal event code: B01A

Ref document number: 112021002797

Country of ref document: BR

ENP Entry into the national phase

Ref document number: 20217007395

Country of ref document: KR

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 2019849892

Country of ref document: EP

Effective date: 20210311

ENP Entry into the national phase

Ref document number: 2019321895

Country of ref document: AU

Date of ref document: 20190813

Kind code of ref document: A

ENP Entry into the national phase

Ref document number: 112021002797

Country of ref document: BR

Kind code of ref document: A2

Effective date: 20210212