WO2021068937A1 - 服务绑定的方法及装置 - Google Patents

服务绑定的方法及装置 Download PDF

Info

Publication number
WO2021068937A1
WO2021068937A1 PCT/CN2020/120187 CN2020120187W WO2021068937A1 WO 2021068937 A1 WO2021068937 A1 WO 2021068937A1 CN 2020120187 W CN2020120187 W CN 2020120187W WO 2021068937 A1 WO2021068937 A1 WO 2021068937A1
Authority
WO
WIPO (PCT)
Prior art keywords
service
scp
network function
request
field
Prior art date
Application number
PCT/CN2020/120187
Other languages
English (en)
French (fr)
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
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2021068937A1 publication Critical patent/WO2021068937A1/zh

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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • H04L67/63Routing a service request depending on the request content or context

Definitions

  • This application relates to the field of communication technology, and in particular to a method and device for service binding.
  • the fifth generation of mobile communications technology (5 th generation, 5G) core network architecture is based on a service-oriented architecture (service based architecture, SBA), SBA
  • SBA service-oriented architecture
  • NF network function services
  • Each network function service can communicate with other network function services through standard interfaces.
  • the NF with the service consumer function is called the NF service consumer
  • the NF with the service producer function is called the NF service producer.
  • the NF service producer and the NF service consumer can include one or more services. Instance.
  • 3GPP Release 16 further improves and optimizes the service-oriented architecture of Release 15, and proposes an indirect communication mode, that is, some public functions in the service-oriented architecture, such as indirect communication and delegated discovery. It is extracted and uniformly provided by service communication proxy (SCP) network elements.
  • SCP service communication proxy
  • the NF service consumer does not directly communicate with the NF service producer, but communicates with the NF service producer through the SCP.
  • the SCP routes messages between the NF service consumer and the NF service producer, and can represent NF service consumers conduct service discovery and selection. Taking the communication between the NF service consumer and the NF service producer through two SCPs as an example, the NF service consumer sends a service request to SCP1.
  • the service request includes discovery and selection parameters.
  • SCP1 After SCP1 receives the service request, it will It is found to match the routing rule with the selected parameter, and the request is routed to SCP2. After SCP2 receives the service request, it matches the routing rule with the selected parameter based on the discovery and selects the NF service producer to provide the service for the NF service consumer .
  • the binding mechanism is also defined in 3GPP Release 16.
  • the binding mechanism means that the NF service producer can bind the service request of the NF service consumer's service instance 1 for a certain resource to the service instance 1 of the NF service producer, and subsequently, the NF service consumer's service instance pair When the resource makes a service request, it is processed by the service instance 1 of the NF service producer until the binding relationship is released. After the binding relationship is released, service instances of other NF service producers can also process service requests for the resource.
  • the SCP still has to make rules based on the address of the service instance 1 of the NF service producer Matching and routing, and ensuring that all service requests of service instance 1 are routed to service instance 1, the process is more complicated.
  • the embodiments of the present application provide a method and device for service binding, which can simplify the communication process between two network functions that establish a binding relationship in an indirect communication mode, and improve the performance of information forwarding.
  • an embodiment of the present application provides a service binding method, the method includes: a first network function sends a request for a first service to a first service communication agent SCP, where the request for the first service is used to request The first service; the first network function receives a response from the first SCP of the first service, wherein the response of the first service includes first routing information, and the first routing information includes from the first network function to The address of the SCP through which the second network function passes and the address of the first service instance of the second network function, where the first service instance of the second network function is used to provide services for the first network function.
  • the first network function may send a request for the first service to the first SCP, and receive a response from the first SCP from the first service, where the response of the first service includes the first routing information , Subsequently, if the first network function determines to send a request for the second service, the first network function may generate the first field according to the first routing information, and send the request for the second service and the first field to the first SCP.
  • the first field is used to indicate the communication path from the first network function to the first service instance of the second network function.
  • routing rules may not be performed Match, determine the second SCP directly according to the first field, thereby simplifying the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improving the performance of information forwarding.
  • the method further includes: the first network function generates a first field according to the first routing information, where the first field is used to indicate a connection from the first network function to the second network function The communication path of the first service instance; the first network function sends a request for a second service and the first field to the first SCP, wherein the request for the second service is used to request the first service of the second network function The instance provides the second service for the service instance of the first network function.
  • the first network function can send a request for the first service to the first SCP, and receive a response from the first SCP to the first service, where the response of the first service includes the first routing information.
  • the network function determines to send a request for the second service.
  • the first network function may generate a first field according to the first routing information, and send the request for the second service and the first field to the first SCP, and the first field is used to indicate The communication path from the first network function to the first service instance of the second network function. Subsequently, after the first SCP receives the request of the second service and the first field, it may not perform routing rule matching, and directly according to The first field determines the second SCP, which can simplify the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improve the performance of information forwarding.
  • the first network function has a function of serving consumers. Based on the above method, the first network function may have the function of serving consumers. Therefore, the first network function may send a request for the first service to the first SCP, and receive a response from the first SCP for the first service, where the The response of the first service includes the first routing information. Subsequently, if the first network function determines to send a request for the second service, the first network function may also generate a first field according to the first routing information, and send the first field to the first SCP.
  • a request for a second service and a first field the first field is used to indicate a communication path from the first network function to the first service instance of the second network function, and the first SCP receives the request for the second service After matching with the first field, the second SCP can be determined directly according to the first field without matching the routing rules, thereby simplifying the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improving the performance of information forwarding .
  • the first network function also has the function of a service producer, and the request for the first service further includes first binding information, where the first binding information is used to indicate to bind the first The first service instance of the network function.
  • the first network function also has the function of a service producer. Therefore, the first binding information can be carried in the first service request, and the first binding information is used to indicate the binding of the first network function.
  • the first service instance so that after receiving the first binding information, the second network function generates the sixth field according to the fifth field, and sends the third service request and the sixth field to the second SCP, and the second SCP receives After reaching the request of the third service and the sixth field, the first SCP can be determined directly according to the sixth field without matching the routing rules, thereby simplifying the communication between the two network functions that establish the binding relationship in the indirect communication mode Process to improve the performance of information forwarding.
  • the method further includes: the first network function receives a request for a third service from the first SCP, wherein the request for the third service is used to request the first service of the first network function The instance provides the third service for the service instance of the second network function.
  • the first network function may receive a request for the third service from the first SCP, so that the first service instance of the first network function provides the third service for the service instance of the second network function.
  • an embodiment of the present application provides a service binding method.
  • the method includes: a first service communication agent SCP receives a request for a first service from a first network function, wherein the request for the first service is used for Request the first service; the first SCP sends a request for the first service and a second field to the second SCP according to the request for the first service, where the second field includes the first service instance of the first network function The address; the first SCP receives the response of the first service from the second SCP, where the response of the first service includes the first routing information, and the first routing information includes the function from the first network to the second network The address of the SCP through which the function passes and the address of the first service instance of the second network function.
  • the first service instance of the second network function is used to provide services for the first network function; the first SCP provides the first service instance to the first network function.
  • the network function sends the response of the first service.
  • the first SCP can receive the request of the first service from the first network function, and send the request of the first service and the second field to the second SCP according to the request of the first service, and Receive the response of the first service from the second SCP, and forward the response of the first service to the first network function.
  • the response of the first service includes the first routing information, and the first routing information includes information from the first network.
  • the second SCP may be determined according to the first field received from the first network function without performing routing rule matching, where the first field is used to indicate the first service instance from the first network function to the second network function This can simplify the communication process between the two network functions that establish a binding relationship in the indirect communication mode, and improve the performance of information forwarding.
  • the method further includes: the first SCP receives a request for a second service from the first network function and a first field, wherein the request for the second service is used to request the second network function
  • the first service instance of provides the second service for the service instance of the first network function, and the first field is used to indicate the communication path from the first network function to the first service instance of the second network function;
  • An SCP sends a request for the second service and a third field to the second SCP according to the first field, where the third field includes the SCP that passes from the first network function to the second network function, and The address of the SCP after the second SCP, and the address of the first service instance of the second network function.
  • the first SCP can receive the second service request and the first field from the first network function, and send the second service request and the third field to the second SCP according to the first field, without routing Rule matching can simplify the communication process between the two network functions that establish a binding relationship in the indirect communication mode, and improve the performance of information forwarding.
  • the first SCP sends the request for the second service and the third field to the second SCP according to the first field, including: the first SCP determines the second SCP according to the first field; The first SCP sends the request of the second service and the third field to the second SCP.
  • the first SCP can receive the second service request and the first field from the first network function, determine the second SCP according to the first field, and send the second service request and the third field to the second SCP , Without matching routing rules, which can simplify the communication process between the two network functions that establish a binding relationship in the indirect communication mode, and improve the performance of information forwarding.
  • the first network function has a function of serving consumers. Based on the above method, the first network function has the function of serving consumers, or the first network function has the functions of serving consumers and service producers, so that the first SCP can receive the second service from the first network function The request and the first field, and send the second service request and the third field to the second SCP according to the first field, without routing rule matching, which can simplify the establishment of the binding relationship between the two networks in the indirect communication mode
  • the communication process between functions improves the performance of information forwarding.
  • the first network function also has the function of a service producer, and the request for the first service further includes first binding information, where the first binding information is used to indicate to bind the first The first service instance of network functions.
  • the first network function also has the function of a service producer.
  • the request for the first service may also include first binding information, and the first binding information is used to indicate the binding of the first network function.
  • the first service instance subsequently, if the second network function generates the sixth field according to the fifth field after receiving the first binding information, and sends the request of the third service and the sixth field to the second SCP, the second After the SCP receives the request for the third service and the sixth field, it can directly determine the first SCP according to the sixth field without matching the routing rules, and send the request for the third service and the fourth field to the first SCP. After an SCP receives the request of the third service and the fourth field, it can directly determine the first network function based on the fourth field without performing route matching, thereby simplifying one of the two network functions for establishing a binding relationship in the indirect communication mode. Inter-communication process to improve the performance of information forwarding.
  • the method further includes: the first SCP receives a request for a third service from the second SCP and a fourth field, wherein the request for the third service is used to request the first network function
  • the first service instance provides the third service for the service instance of the second network function
  • the fourth field includes the SCP that passes from the second network function to the first network function, and the SCP after the first SCP
  • the address of the first network function, and the address of the first service instance of the first network function the first SCP sends a request for the third service to the first network function.
  • the first SCP can receive the third service request and the fourth field from the second SCP, and the first network function can be determined directly according to the fourth field without routing matching, which can simplify the establishment of indirect communication mode
  • the communication process between the two network functions of the binding relationship improves the performance of information forwarding.
  • an embodiment of the present application provides a service binding method.
  • the method includes: a second network function receives a request for a first service and a fifth field from a second service communication agent SCP, wherein the first service The request is used to request the first service, the fifth field includes the address of the first service instance of the first network function, and the addresses of the first n-1 SCPs, and n is from the first network function to the second The number of SCPs passed by the network function; if the second network function determines the first service instance bound to the second network function, the second network function generates first routing information according to the fifth field, where the first The routing information includes the address of the SCP that passes from the first network function to the second network function and the address of the first service instance of the second network function, and the first service instance of the second network function is used to serve the second network function.
  • a network function provides a service; the second network function sends a response of the first service to the second SCP, wherein the response of the first service includes the first routing information.
  • the second network function may receive the first service request and the fifth field from the second SCP, and if the second network function determines the first service instance bound to the second network function, The second network function generates the first routing information according to the fifth field, and sends the first routing information to the first network function via the second SCP and the first SCP, so that if the first network function determines to send the second service Request, the first network function may generate a first field according to the first routing information, and send a request for the second service and the first field to the first SCP, and the first field is used to indicate from the first network function to the The communication path of the first service instance of the second network function.
  • the first SCP After the first SCP receives the request of the second service and the first field, it may directly determine the second SCP based on the first field without matching the routing rules. Simplify the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improve the performance of information forwarding.
  • the method further includes: the second network function receives a request for a second service from the second SCP, wherein the request for the second service is used to request the first service of the second network function
  • the instance provides the second service for the service instance of the first network function.
  • the second network function can receive a request for the second service from the second SCP, and the request for the second service is sent by the first network function to the second network function via the first SCP and the second SCP, where:
  • the first SCP and the second SCP may not match the routing rules.
  • the first SCP is the second SCP determined according to the first field
  • the second SCP is the second network function determined according to the third field, which can simplify the indirect communication mode. The communication process between the two network functions that establish the binding relationship improves the performance of information forwarding.
  • the first network function has the function of serving consumers; the second network function has the function of serving producers. Based on the above method, the first network function has the function of serving consumers, and the second network function has the function of service producers. In this way, the second network function can receive the request of the first service and the fifth field from the second SCP.
  • the second network function determines the first service instance bound to the second network function
  • the second network function generates first routing information according to the fifth field, and passes the first routing information through the second SCP and the first An SCP is sent to the first network function, so that if the first network function determines to send a request for the second service, the first network function can generate the first field according to the first routing information, and send the second service's information to the first SCP Request and first field, the first field is used to indicate the communication path from the first network function to the first service instance of the second network function, the first SCP receives the request for the second service and the first field After that, routing rule matching may not be performed, and the second SCP may be determined directly according to the first field, thereby simplifying the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improving the performance of information forwarding.
  • the first network function also has the function of a service generator, and the request for the first service further includes first binding information, where the first binding information is used to indicate to bind the first The first service instance of the network function.
  • the first network function also has the function of a service producer, and the request for the first service may also include first binding information, where the first binding information is used to indicate the binding of the first network function The first service instance, so that the second network function sends a request for the third service to the first network function via the second SCP and the first SCP, where the second SCP and the first SCP may not perform routing rule matching, and the second SCP is The first SCP determined according to the sixth field, the first SCP is the first network function determined according to the fourth field, which can simplify the communication process between the two network functions that establish a binding relationship in the indirect communication mode, and improve information forwarding Performance.
  • the second network function also has a function of serving consumers, and the method further includes: the second network function generates a sixth field according to the fifth field, where the sixth field is used to indicate the slave The communication path from the second network function to the first service instance of the first network function; the second network function sends a request for the third service and the sixth field to the second SCP, where the request for the third service The first service instance for requesting the first network function provides the third service for the service instance of the second network function.
  • the second network function can generate the sixth field according to the fifth field, and send the request of the third service and the sixth field to the second SCP. Subsequently, the second SCP receives the request of the third service and the sixth field.
  • the second SCP does not need to perform routing rule matching, and can directly determine the first SCP based on the sixth field, which can simplify the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improve the performance of information forwarding .
  • an embodiment of the present application provides a communication device, which includes: a sending module and a receiving module; the sending module is configured to send a request for a first service to a first service communication agent SCP, wherein the first The service request is used to request the first service; the receiving module is used to receive a response of the first service from the first SCP, wherein the response of the first service includes first routing information, and the first routing information includes The address of the SCP passed from the communication device to the second network function and the address of the first service instance of the second network function, and the first service instance of the second network function is used to provide a service for the communication device.
  • the communication device can send a request for the first service to the first SCP and receive a response from the first SCP, where the response of the first service includes the first routing information, Subsequently, if the communication device determines to send a request for the second service, the communication device may generate a first field according to the first routing information, and send the request for the second service and the first field to the first SCP, and the first field is used for Indicate the communication path from the communication device to the first service instance of the second network function.
  • the first SCP After the first SCP receives the request of the second service and the first field, it may not perform routing rule matching, and directly according to the first field Determining the second SCP can simplify the communication process between the two network functions that establish a binding relationship in the indirect communication mode, and improve the performance of information forwarding.
  • the communication device further includes: a processing module; the processing module is configured to generate a first field according to the first routing information, wherein the first field is used to indicate the transfer from the communication device to the second The communication path of the first service instance of the network function; the sending module is also used to send a request for a second service and the first field to the first SCP, wherein the request for the second service is used to request the second network
  • the first service instance of the function provides the second service for the service instance of the communication device.
  • the communication device can send a request for the first service to the first SCP, and receive a response from the first SCP, where the response of the first service includes the first routing information, if the communication device determines to send For a request for a second service, the communication device may generate a first field according to the first routing information, and send the request for the second service and the first field to the first SCP, and the first field is used to indicate from the communication device to the The communication path of the first service instance of the second network function.
  • the first SCP may not perform routing rule matching, and directly determine the second SCP according to the first field, whereby, the communication process between the two network functions that establish the binding relationship in the indirect communication mode can be simplified, and the performance of information forwarding can be improved.
  • the communication device has the function of serving consumers. Based on the above solution, the communication device can have the function of serving consumers. Therefore, the communication device can send a request for the first service to the first SCP, and receive a response from the first SCP to the first service. The response includes the first routing information. Subsequently, if the communication device determines to send a request for the second service, the communication device may also generate a first field according to the first routing information, and send the request for the second service and the first SCP to the first SCP. Field, the first field is used to indicate the communication path from the communication device to the first service instance of the second network function.
  • the first SCP After the first SCP receives the request of the second service and the first field, it may not perform routing The rule is matched, and the second SCP is determined directly according to the first field, thereby simplifying the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improving the performance of information forwarding.
  • the communication device also has the function of a service producer, and the request for the first service further includes first binding information, where the first binding information is used to indicate the first binding information of the communication device.
  • a service instance Based on the above solution, the communication device also has the function of a service producer. Therefore, the first binding information can be carried in the first service request, and the first binding information is used to indicate the first service instance to which the communication device is bound.
  • the second network function After receiving the first binding information, the second network function generates the sixth field according to the fifth field, and sends the third service request and the sixth field to the second SCP, and the second SCP receives the third After the service request is matched with the sixth field, the first SCP can be determined directly according to the sixth field without matching the routing rules, which can simplify the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improve the information Forwarding performance.
  • the receiving module is configured to receive a request for a third service from the first SCP, where the request for the third service is used to request that the first service instance of the communication device is the second network
  • the service instance of the function provides this third service.
  • the communication device may receive a request for the third service from the first SCP, so that the first service instance of the communication device provides the third service for the service instance of the second network function.
  • an embodiment of the present application provides a communication device that includes: a receiving module and a sending module; the receiving module is configured to receive a request for a first service from a first network function, wherein the first service The request of the first service is used to request the first service; the sending module is used to send the request of the first service and the second field to the second SCP according to the request of the first service, wherein the second field includes the first network The address of the first service instance of the function; the receiving module is also used to receive the response of the first service from the second SCP, wherein the response of the first service includes the first routing information, and the first routing information includes the slave The address of the SCP through which the first network function passes to the second network function and the address of the first service instance of the second network function, and the first service instance of the second network function is used to provide services for the first network function ; The sending module is also used to send a response to the first service to the first network function.
  • the communication device can receive the request of the first service from the first network function, and send the request of the first service and the second field to the second SCP according to the request of the first service, and receive The response of the first service from the second SCP, and the response of the first service is forwarded to the first network function.
  • the response of the first service includes the first routing information, and the first routing information includes the response from the first network function.
  • the first field received by the first network function determines the second SCP without performing routing rule matching, where the first field is used to indicate the communication path from the first network function to the first service instance of the second network function
  • the receiving module is further configured to receive a request for a second service and a first field from the first network function, wherein the request for the second service is used to request the first field of the second network function.
  • a service instance provides the second service for the service instance of the first network function, and the first field is used to indicate a communication path from the first network function to the first service instance of the second network function;
  • the sending module It is also used to send a request for the second service and a third field to the second SCP according to the first field, where the third field includes the SCP that passes from the first network function to the second network function, The address of the SCP after the second SCP, and the address of the first service instance of the second network function.
  • the communication device can receive the request for the second service and the first field from the first network function, and send the request for the second service and the third field to the second SCP according to the first field, without performing routing rules Matching can simplify the communication process between the two network functions that establish a binding relationship in the indirect communication mode, and improve the performance of information forwarding.
  • the sending module is specifically configured to determine the second SCP according to the first field; the sending module is also specifically configured to send the second service request and the third field to the second SCP .
  • the communication device can receive the second service request and the first field from the first network function, determine the second SCP according to the first field, and send the second service request and the third field to the second SCP, Instead of matching routing rules, the communication process between the two network functions that establish the binding relationship in the indirect communication mode can be simplified, and the performance of information forwarding can be improved.
  • the first network function has a function of serving consumers.
  • the first network function has the function of serving consumers, or the first network function has the functions of serving consumers and service producers, so that the communication device can receive the second service from the first network function.
  • Request and the first field and send the request of the second service and the third field to the second SCP according to the first field, without matching routing rules, which can simplify the two network functions of establishing a binding relationship in the indirect communication mode
  • the communication process between them improves the performance of information forwarding.
  • the first network function also has the function of a service producer, and the request for the first service further includes first binding information, where the first binding information is used to indicate to bind the first The first service instance of network functions.
  • the first network function also has the function of a service producer.
  • the request for the first service may also include first binding information, and the first binding information is used to indicate the binding of the first network function.
  • the first service instance subsequently, if the second network function generates the sixth field according to the fifth field after receiving the first binding information, and sends the request of the third service and the sixth field to the second SCP, the second After the SCP receives the request for the third service and the sixth field, it can directly determine the communication device according to the sixth field without matching the routing rules, and send the request for the third service and the fourth field to the communication device, and the communication device receives After reaching the request of the third service and the fourth field, the first network function can be determined directly according to the fourth field without routing matching, thereby simplifying the communication between the two network functions that establish the binding relationship in the indirect communication mode. Process to improve the performance of information forwarding.
  • the receiving module is further configured to receive a request for a third service from the second SCP and a fourth field, where the request for the third service is used to request the first network function of the first network function.
  • the service instance provides the third service for the service instance of the second network function, and the fourth field includes the address of the SCP behind the communication device among the SCPs passed from the second network function to the first network function, And the address of the first service instance of the first network function; the sending module is also used to send a request for the third service to all the first network function.
  • the communication device can receive the request of the third service and the fourth field from the second SCP, and can directly determine the first network function according to the fourth field without routing matching, thereby simplifying the establishment of binding in the indirect communication mode.
  • the communication process between the two network functions that determine the relationship to improve the performance of information forwarding.
  • an embodiment of the present application provides a communication device.
  • the communication device includes: a receiving module, a processing module, and a sending module; the receiving module is configured to receive the first service request and the second service communication agent SCP from the second service communication agent SCP.
  • the processing module is configured to generate first routing information according to the fifth field if the communication device determines the first service instance bound to the communication device, where , The first routing information includes the address of the SCP through which the communication device passes from the first network function and the address of the first service instance of the communication device, and the first service instance of the communication device is used to serve the first network
  • the function provides the first service
  • the sending module is configured to send a response of the first service to the second SCP, wherein the response of the first service includes the first routing information.
  • the communication device may receive the request of the first service and the fifth field from the second SCP, and if the communication device determines to bind the first service instance of the communication device, the communication device is based on the first service instance.
  • Five fields generate first routing information, and send the first routing information to the first network function via the second SCP and the first SCP, so that if the first network function determines to send a request for the second service, the first network function can
  • the first field is generated according to the first routing information, and the request of the second service and the first field are sent to the first SCP.
  • the first field is used to indicate the connection from the first network function to the first service instance of the communication device.
  • Communication path after the first SCP receives the request of the second service and the first field, it may not perform routing rule matching, and directly determine the second SCP according to the first field, which can simplify the establishment of a binding relationship in the indirect communication mode
  • the communication process between two network functions improves the performance of information forwarding.
  • the receiving module is further configured to receive a request for a second service from the second SCP, where the request for the second service is used to request that the first service instance of the communication device is the first The service instance of the network function provides the second service.
  • the communication device can receive a request for the second service from the second SCP.
  • the request for the second service is sent by the first network function to the communication device via the first SCP and the second SCP.
  • the second SCP may not perform routing rule matching.
  • the first SCP is the second SCP determined according to the first field
  • the second SCP is the communication device determined according to the third field, thus simplifying the two procedures for establishing a binding relationship in the indirect communication mode.
  • the communication process between network functions improves the performance of information forwarding.
  • the first network function has the function of serving consumers; the communication device has the function of serving producers. Based on the above solution, the first network function has the function of serving consumers, and the communication device has the function of service producers. In this way, the communication device can receive the request of the first service and the fifth field from the second SCP, and if it communicates The device determines the first service instance bound to the communication device, the communication device generates first routing information according to the fifth field, and sends the first routing information to the first network function via the second SCP and the first SCP, so that If the first network function determines to send a request for the second service, the first network function may generate a first field according to the first routing information, and send the request for the second service and the first field to the first SCP.
  • the first field It is used to indicate the communication path from the first network function to the first service instance of the communication device. After the first SCP receives the request for the second service and the first field, it may not perform routing rule matching, and directly according to the first One field determines the second SCP, thereby simplifying the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improving the performance of information forwarding.
  • the first network function also has the function of a service generator, and the request for the first service further includes first binding information, where the first binding information is used to indicate to bind the first The first service instance of the network function.
  • the first network function also has the function of a service producer, and the request for the first service may also include first binding information, where the first binding information is used to indicate the binding of the first network function The first service instance, so that the communication device sends a request for the third service to the first network function via the second SCP and the first SCP.
  • the second SCP and the first SCP may not perform routing rule matching, and the second SCP is based on the first SCP.
  • the first SCP determined by the six fields, the first SCP is the first network function determined according to the fourth field, which can simplify the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improve the performance of information forwarding .
  • the communication device also has a function of serving consumers, and the processing module is further configured to generate a sixth field according to the fifth field, where the sixth field is used to indicate the transfer from the communication device to the The communication path of the first service instance of the first network function; the sending module is also used to send a request for a third service and the sixth field to the second SCP, where the request for the third service is used to request the second SCP
  • the first service instance of a network function provides the third service for the service instance of the communication device.
  • the communication device can generate the sixth field according to the fifth field, and send the request of the third service and the sixth field to the second SCP.
  • the second SCP does not need to perform routing rule matching, and can directly determine the first SCP according to the sixth field, thereby simplifying the communication process between the two network functions that establish the binding relationship in the indirect communication mode, and improving the performance of information forwarding.
  • an embodiment of the present application provides a communication device, including: at least one processor, at least one memory, and a communication interface, the communication interface, the at least one memory and the at least one processor are coupled; the communication device communicates through the The interface communicates with other devices, and the at least one memory is used to store a computer program, so that when the computer program is executed by the at least one processor, the service binding method as described in the first aspect and various possible implementation manners thereof is implemented.
  • an embodiment of the present application provides a communication device, including: at least one processor, at least one memory, and a communication interface.
  • the communication interface, the at least one memory and the at least one processor are coupled; the communication device communicates with each other.
  • the interface communicates with other devices, and the at least one memory is used to store a computer program, so that when the computer program is executed by the at least one processor, the service binding method as described in the second aspect and various possible implementation manners thereof is implemented.
  • an embodiment of the present application provides a communication device, including: at least one processor, at least one memory, and a communication interface, the communication interface, the at least one memory and the at least one processor are coupled; the communication device communicates via the The interface communicates with other devices, and the at least one memory is used to store a computer program, so that when the computer program is executed by the at least one processor, the service binding method as described in the third aspect and various possible implementation manners thereof is implemented.
  • the present application provides a system chip that can be used in a communication device.
  • the system chip includes: at least one processor, and related program instructions are executed in the at least one processor to implement The method on the one hand and the function of the first network function in any of its designs.
  • the system chip may further include at least one memory, and the memory stores related program instructions.
  • the present application provides a system chip that can be used in a communication device.
  • the system chip includes: at least one processor, and related program instructions are executed in the at least one processor to implement The method of the second aspect and the function of the first SCP in any design.
  • the system chip may further include at least one memory, and the memory stores related program instructions.
  • the present application provides a system chip that can be used in a communication device.
  • the system chip includes: at least one processor, and related program instructions are executed in the at least one processor to implement The method of the third aspect and the function of the second network function in any design.
  • the system chip may further include at least one memory, and the memory stores related program instructions.
  • embodiments of the present application provide a computer-readable storage medium, such as a computer-readable storage medium that is non-transitory.
  • a computer program is stored thereon, and when the computer program runs on the computer, the computer is caused to execute any one of the possible methods of the first aspect described above.
  • the computer may be at least one storage node.
  • the embodiments of the present application provide a computer-readable storage medium, such as a computer-readable storage medium that is non-transitory.
  • a computer program is stored thereon, and when the computer program runs on the computer, the computer is caused to execute any one of the possible methods of the second aspect described above.
  • the computer may be at least one storage node.
  • embodiments of the present application provide a computer-readable storage medium, such as a computer-readable storage medium that is non-transitory.
  • a computer program is stored thereon, and when the computer program runs on the computer, the computer is caused to execute any one of the possible methods of the third aspect.
  • the computer may be at least one storage node.
  • the embodiments of the present application provide a computer program product, which when running on a computer, enables any method provided in the first aspect to be executed.
  • the computer may be at least one storage node.
  • the embodiments of the present application provide a computer program product, which when running on a computer, enables any method provided in the second aspect to be executed.
  • the computer may be at least one storage node.
  • the embodiments of the present application provide a computer program product, which when running on a computer, enables any method provided in the third aspect to be executed.
  • the computer may be at least one storage node.
  • embodiments of the present application provide a communication system, which may include any one or more of the following: such as the communication device in the fourth aspect, or the communication device in the fifth aspect, or the communication device in the fifth aspect, or The communication device in the sixth aspect, or the communication device in the seventh aspect, or the communication device in the eighth aspect, or the communication device in the ninth aspect, or the system chip in the tenth aspect, or the communication device in the first aspect.
  • the system chip in the eleventh aspect, or the system chip in the twelfth aspect, or the computer storage medium in the thirteenth aspect, or the computer storage medium in the fourteenth aspect, or the computer storage medium in the fifteenth aspect A computer storage medium, such as the computer program product in the sixteenth aspect, or the computer program product in the seventeenth aspect, or the computer program product in the eighteenth aspect.
  • any of the communication devices, system chips, computer storage media, computer program products, or communication systems provided above are all used to execute the corresponding methods provided above, and therefore, the beneficial effects that can be achieved can be Refer to the beneficial effects in the corresponding method, which will not be repeated here.
  • Figure 1 is a schematic diagram of a service-oriented architecture provided by an embodiment of the application
  • FIG. 2 is a schematic diagram of the hardware structure of a communication device provided by an embodiment of the application.
  • FIG. 3 is a schematic flow chart 1 of the service binding method provided by an embodiment of this application.
  • FIG. 4 is a second schematic flowchart of a service binding method provided by an embodiment of this application.
  • FIG. 5 is a third schematic flowchart of a service binding method provided by an embodiment of this application.
  • FIG. 6 is a fourth schematic flowchart of a service binding method provided by an embodiment of this application.
  • FIG. 7 is a first structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 8 is a second structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 9 is a third structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 10 is a fourth structural diagram of a communication device provided by an embodiment of this application.
  • FIG. 11 is a schematic diagram of a communication system provided by an embodiment of this application.
  • the service binding method provided in the embodiment of the present application can be applied to the service-oriented architecture shown in FIG. 1.
  • Figure 1 uses the 5G network service architecture as an example to show the interaction between the NF and the entity and the corresponding interface.
  • the 3GPP of the 5G system based on SBA includes network functions and entities including: terminal equipment (TE), access network (AN) or radio access network (RAN), user plane Function (user plane function, UPF), data network (data network, DN), access management function (access management function, AMF), session management function (session management function, SMF), authentication service function (authentication server function, AUSF) ), policy control function (PCF), application function (AF), network slice selection function (NSSF), unified data management (UDM), network opening function ( network dxposure function (NEF) and network storage function (NF repository function, NRF).
  • TE terminal equipment
  • AN access network
  • RAN radio access network
  • UPF user plane Function
  • data network data network
  • AMF access management function
  • session management function session
  • TE, (R)AN, UPF and DN are generally called user plane network functions and entities (or user plane network elements), and the other parts are generally called control plane network functions and entities (or control plane network elements).
  • Control plane network elements are defined by 3GPP for processing functions in a network. Control plane network elements have 3GPP-defined functional behaviors and 3GPP-defined interfaces. NF can be used as a network element running on proprietary hardware or running on proprietary hardware. There are software instances on hardware, or virtual functions that are instantiated on a suitable platform, such as being implemented on a cloud infrastructure device.
  • (R)AN can be AN or RAN.
  • the (R)AN may be a base station in various forms, such as: a macro base station, a micro base station, a distributed unit-control unit (DU-CU), and so on.
  • the aforementioned base station may also be a wireless controller in a cloud radio access network (CRAN) scenario, or a relay station, access point, vehicle-mounted device, wearable device, or a public land mobile network (public land mobile network) that will evolve in the future.
  • (R)AN is mainly responsible for radio resource management, service quality management, data compression and encryption on the air interface side.
  • UPF Mainly responsible for the forwarding and receiving of user data.
  • UPF can receive downlink data from DN, and then transmit the downlink data to TE through (R)AN.
  • UPF can also receive uplink data from TE through (R)AN, and then forward the uplink data to DN.
  • the DN can be an operator service network, Internet access, or a third-party service network.
  • the DN can exchange information with the TE through the PDU session.
  • PDU sessions can be divided into multiple types, such as Internet protocol version 4 (IPv4), IPv6, and so on.
  • AMF Mainly responsible for the processing of control plane messages, such as: access control, mobility management, attachment and detachment, and gateway selection.
  • SMF Mainly used for session management, session establishment, TE IP address allocation and management, etc.
  • AUSF Mainly responsible for network security, used to generate keys, and realize two-way authentication for TE.
  • PCF Mainly used to manage policy rules, manage user subscription information, etc.
  • UDM Mainly used for authentication and credit processing, user identification processing, access authorization, registration/mobility management, subscription management and short message management, etc.
  • NEF Mainly used for monitoring, billing, etc.
  • NRF Mainly used to provide internal/external addressing functions, etc.
  • AF Mainly used to interact with the 3GPP core network to provide services.
  • N1 is the reference point between TE and AMF
  • N2 is the reference point between (R)AN and AMF
  • N3 is the reference point between (R)AN and UPF
  • N4 is the reference point between SMF and UPF.
  • the reference point between UPF and DN, N6 is the reference point between UPF and DN.
  • Namf is a service-based interface provided by AMF
  • Nsmf is a service-based interface provided by SMF
  • Nausf is a service-based interface provided by AUSF
  • Nnssf is a service-based interface provided by NSSF
  • Nnef is a service-based interface provided by NEF.
  • Service-based interface, Nnrf is the service-based interface provided by NRF
  • Npcf is the service-based interface provided by PCF
  • Nudm is the service-based interface provided by UDM
  • Naf is the service-based interface provided by AF.
  • the NF with the service producer function in Figure 1 can be called the NF service producer, and the NF with the service consumer can be called the NF service consumer.
  • NF service producers and NF service consumers can communicate through one or more SCPs (not shown in Figure 1).
  • FIG. 1 is only used as an example of a network service architecture.
  • the service binding method provided in the embodiments of the present application can also be applied to other network architectures.
  • other mobile communication systems developed after the fifth generation are not limited in the embodiment of this application.
  • each network element in FIG. 1 in the embodiment of the present application may be a functional module in a device.
  • the function module may be a network element in a hardware device, a software function running on dedicated hardware, or a virtualization function instantiated on a platform (for example, a cloud platform).
  • each network element in FIG. 1 or an SCP (not shown in FIG. 1) connected to one or more network elements can be implemented by the communication device 200 in FIG. Fig. 2 shows a schematic diagram of the hardware structure of a communication device applicable to the embodiments of the present application.
  • the communication device 200 may include at least one processor 201, a communication line 202, a memory 203, and at least one communication interface 204.
  • the processor 201 can be a general-purpose central processing unit (central processing unit, CPU), a microprocessor, an application-specific integrated circuit (ASIC), or one or more programs for controlling the execution of the program of this application. integrated circuit.
  • CPU central processing unit
  • ASIC application-specific integrated circuit
  • the communication line 202 may include a path for transferring information between the above-mentioned components, such as a bus.
  • the communication interface 204 uses any device such as a transceiver to communicate with other devices or communication networks, such as an Ethernet interface, a radio access network (RAN), and a wireless local area network (wireless local area networks, WLAN) and so on.
  • a transceiver uses any device such as a transceiver to communicate with other devices or communication networks, such as an Ethernet interface, a radio access network (RAN), and a wireless local area network (wireless local area networks, WLAN) and so on.
  • RAN radio access network
  • WLAN wireless local area network
  • the memory 203 may be a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, random access memory (RAM), or other types that can store information and instructions
  • the dynamic storage device can also be electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, optical disc storage (Including compact discs, laser discs, optical discs, digital versatile discs, Blu-ray discs, etc.), magnetic disk storage media or other magnetic storage devices, or can be used to carry or store desired program codes in the form of instructions or data structures and can be used by a computer Any other media accessed, but not limited to this.
  • the memory may exist independently and is connected to the processor through the communication line 202.
  • the memory can also be integrated with the processor.
  • the memory provided in the embodiments of the present application may generally be non-volatile.
  • the memory 203 is used to store and execute the computer execution instructions involved in the solution of the present application, and the processor 201 controls the execution.
  • the processor 201 is configured to execute computer-executable instructions stored in the memory 203, so as to implement the method provided in the embodiment of the present application.
  • the computer-executable instructions in the embodiments of the present application may also be referred to as application program codes, which are not specifically limited in the embodiments of the present application.
  • the processor 201 may include one or more CPUs, such as CPU0 and CPU1 in FIG. 2.
  • the communication device 200 may include multiple processors, such as the processor 201 and the processor 207 in FIG. 2. Each of these processors can be a single-CPU (single-CPU) processor or a multi-core (multi-CPU) processor.
  • the processor here may refer to one or more devices, circuits, and/or processing cores for processing data (for example, computer program instructions).
  • the network element or SCP in the following embodiments may have the components shown in FIG. 2.
  • the first NF, and/or the first SCP, and/or the second SCP, and/or the second NF can perform part or all of the steps in the embodiments of the present application, and these steps are only It is an example, and the embodiment of the present application may also perform other steps or variations of various steps. In addition, each step may be executed in a different order presented in the embodiment of the present application, and it may not be necessary to perform all the steps in the embodiment of the present application.
  • the service binding method provided in the embodiment of the present application is based on the communication between the first NF and the second NF through two SCPs, and the first NF and the second NF communicate through one or two SCPs.
  • the communication process of the SCP refer to the communication process between the first NF and the second NF through two SCPs, which will not be repeated.
  • a service binding method provided in this embodiment of the application includes step 301 to step 308.
  • Step 301 The first NF sends a request for the first service to the first SCP.
  • the first NF may be any network element in the service-oriented architecture shown in FIG. 1.
  • the first NF may have the function of serving consumers, or the first NF may have the functions of serving consumers and service producers.
  • the first NF includes one or more service instances.
  • the request for the first service is used to request the first service.
  • the first NF sending the first service request to the first SCP includes: the first service instance of the first NF sends the first service request to the first SCP.
  • the first service instance of the first NF is any service instance in the first NF.
  • the request for the first service includes the first parameter.
  • the first parameter includes the NF type (target-nf-type) of the second NF and an application programming interface (application programming interface, API) identifier (service-names) provided by the second NF to the outside.
  • NF type target-nf-type
  • API application programming interface
  • the first parameter may also include one or more of the following parameters: the NF type (requester-nf-type) of the first NF, the identifier of the first service instance of the first NF, and the first NF of the first NF.
  • the first parameter may also have other names, for example, discovery and selection parameters (discovery and selection parameters), which is not limited.
  • Step 302 The first SCP receives the request of the first service from the first NF, and sends the request of the first service and the second field to the second SCP according to the request of the first service.
  • a first routing rule is stored in the first SCP, and the first routing rule is used to indicate a sending rule of a message received by the first SCP.
  • the second field is included in a hypertext transfer protocol (hypertext transfer protocol, HTTP) request header.
  • the second field is included in the X-Forwarded-For (XFF) header.
  • XFF is an HTTP request header field used to identify the original IP address of a client connected to a web server through an HTTP proxy or load balancing method.
  • the second field includes the address of the first service instance of the first NF.
  • the second field includes the IP address of the first service instance of the first NF.
  • the address of the first service instance of the first NF may also be the domain name of the first service instance of the first NF, or the uniform resource locator (URL) of the first service instance of the first NF Address etc.
  • URL uniform resource locator
  • the first SCP sends the request of the first service and the second field to the second SCP according to the request of the first service, including: the first SCP determines the first parameter according to the first parameter and the first routing rule of the first SCP.
  • Two SCP The first SCP sends the request of the first service and the second field to the second SCP.
  • the first SCP sending the request of the first service and the second field to the second SCP includes: adding the second field to the first XFF request header by the first SCP; and the first SCP to the second SCP Send the request of the first service and the first XFF request header.
  • the first SCP adds the second field to the first XFF request header, the first XFF request header is empty.
  • Step 303 The second SCP receives the request of the first service and the second field from the first SCP, and sends the request of the first service and the fifth field to the second NF according to the request of the first service.
  • the second SCP receiving the first service request and the second field from the first SCP includes: the second SCP receiving the first service request and the first XFF request header from the first SCP.
  • the second NF is any network element in the service-oriented architecture shown in FIG. 1.
  • the second NF has the function of serving consumers, or the first NF has the functions of serving consumers and service producers.
  • the second NF may include one or more service instances.
  • the request of the first service further includes the address of the second SCP.
  • the address of the second SCP may be the IP address of the second SCP, the domain name of the second SCP, or the URL address of the second SCP.
  • the fifth field may include the address of the first service instance of the first NF and the addresses of the first n-1 SCPs, where n is the number of SCPs that pass from the first NF to the second NF.
  • the address of the first SCP may be the IP address of the first SCP, the domain name of the first SCP, or the URL address of the first SCP.
  • a second routing rule is stored in the second SCP, and the second routing rule is used to indicate a sending rule of the message received by the second SCP.
  • the second routing rule and the first routing rule may be the same or different.
  • the second SCP sends the request of the first service and the fifth field to the second NF according to the request of the first service, including: the second SCP sends the first service instance of the second NF according to the request of the first service Send a request for the first service and the fifth field, where the first service instance of the second NF is any service instance in the second NF.
  • the second SCP sends the request of the first service and the fifth field to the first service instance of the second NF according to the request of the first service, including: the second SCP sends the request of the first service and the fifth field according to the first parameter and the second SCP.
  • the second routing rule determines the first service instance of the second NF; the second SCP sends the request of the first service and the fifth field to the first service instance of the second NF.
  • the second SCP sending the request of the first service and the fifth field to the first service instance of the second NF includes: the second SCP adds the address of the first SCP to the first XFF request header; second The SCP sends the request of the first service and the second XFF request header to the first service instance of the second NF.
  • the second XFF request header includes the address of the first service instance of the first NF and the address of the first SCP, that is, the second XFF request header includes the fifth field.
  • the first SCP determines the second SCP according to the first parameter and the first routing rule of the first SCP
  • the second SCP determines the second NF according to the first parameter and the routing rule of the second SCP. Both are a relatively complicated process.
  • the first SCP needs to perform multiple condition selections to determine the second SCP, and the second SCP also needs multiple condition selections to determine the second NF.
  • the service binding method provided in the embodiment of this application is The first SCP can directly determine the second SCP based on the fields in the request header, and the second SCP can directly determine the second NF based on the fields in the request header, which simplifies the establishment of the binding relationship between the two network functions in the indirect communication mode. The communication process improves the performance of information forwarding.
  • Step 304 The second NF receives the first service request and the fifth field from the second SCP. If the second NF determines the first service instance bound to the second NF, the second NF generates the first route according to the fifth field information.
  • the second NF includes one or more service instances.
  • the second NF receiving the first service request and the fifth field from the second SCP includes: the second NF receiving the first service request and the second XFF request header from the second SCP.
  • the first routing information includes the address of the SCP passing through from the first NF to the second NF and the address of the first service instance of the second NF.
  • the SCP passing from the first NF to the second NF includes the first SCP and the second SCP. Therefore, the first routing information may include: the address of the first SCP, the address of the second SCP, and the second SCP. The address of the first service instance of the NF.
  • the first service instance of the second NF may be used to provide services for the first service instance of the first NF.
  • the address of the first service instance of the second NF may be the IP address of the first service instance of the second NF, the domain name of the first service instance of the second NF, or the URL address of the first service instance of the second NF, etc. .
  • the first routing information further includes: the address of the first service instance of the first NF.
  • the second NF generates the first routing information according to the fifth field, including: the address of the SCP that the second NF passes through from the first NF to the second NF and the address of the first service instance of the second NF, Add the first routing information in order; or, the second NF generates the first routing information according to the fifth field, including: the second NF transfers the address of the first service instance of the first NF from the first NF to the second NF The address of the SCP and the address of the first service instance of the second NF are added to the first routing information in order.
  • the second NF determines that the first service instance of the second NF is not bound, the second NF sends a service response to the first NF via the second SCP and the first SCP, and the service response is used to indicate the status of the second NF
  • the first service instance provides the first service for the first service instance of the first NF.
  • the service response includes the address of the first service instance of the second NF and/or the identifier of the first service instance of the second NF.
  • Step 305 The second NF sends a response of the first service to the second SCP.
  • the response of the first service includes the first routing information.
  • the response of the first service further includes binding information with the second.
  • the second binding information may be used to indicate the first service instance to which the second NF is bound. That is to say, after the first NF receives the response of the first service (or when the first NF receives the first service response), the service request of the first resource sent by the first NF will be sent by the first service instance of the second NF. To process. That is, after the first NF receives the response of the first service (or when the first NF receives the first service response), and before the first NF receives the binding release information, the service of the first resource sent by the first NF All requests will be routed to the first service instance of the second NF.
  • the first resource is a resource created by the second NF for the request of the first service.
  • the request for the first service is a service request for the first resource.
  • the second binding information includes the address of the first resource.
  • the address of the first resource may be the IP address of the first resource, the domain name of the first resource, or the URL address of the first resource.
  • Step 306 The second SCP receives the response of the first service from the second NF, and forwards the response of the first service to the first SCP.
  • Step 307 The first SCP receives the response of the first service from the second SCP, and forwards the response of the first service to the first NF.
  • Step 308 The first NF receives the response of the first service from the first SCP.
  • the first routing information is saved locally; or, the first NF receives the response of the first service After the response (or when the first NF receives the first service response), the first routing information and the second binding information are saved locally.
  • the first NF can send a request for the first service to the first SCP.
  • the first SCP can respond to the request for the first service and the information stored in the first SCP.
  • the first routing rule determines the second SCP, and sends the request of the first service and the second field to the second SCP.
  • the second SCP can respond to the request and the second field of the first service.
  • the second routing rule determines the second NF, and sends the request of the first service and the fifth field to the second NF.
  • the second NF After the second NF receives the request of the first service and the fifth field, if it determines that the second NF is bound to the second NF For a service instance, the first routing information can be generated according to the fifth field, and the response that the first routing information is included in the first service is sent to the first NF via the second SCP and the first SCP, and subsequently, if the first NF again
  • the SCP between the first NF and the second NF may not need to perform rule matching and routing, but send the service request to the first SCP and the second SCP according to the first routing information.
  • the second NF can improve message forwarding performance.
  • the first NF may send the request of the second service and the first field to the second NF, and the SCP between the first NF and the second NF may be No rule matching and routing are required, but the request for the second service is sent to the second NF via the first SCP and the second SCP according to the first routing information.
  • the method shown in FIG. 3 further includes step 309-step 313.
  • Step 309 The first NF generates a first field according to the first routing information.
  • the first field may be included in the newly added HTTP request header, and the first field is used to indicate the communication path of the first service instance from the first NF to the second NF.
  • the newly added HTTP request header can be named X-3gpp-Disc-Forwarded.
  • X-3gpp-Disc-Forwarded is only an example of the name of the newly-added HTTP request header, and the newly-added HTTP request header can also be other names without limitation.
  • the first NF determines to send a request for the second service corresponding to the first resource, and the first NF generates the first field according to the first routing information.
  • the request for the second service may be sent by the first service instance of the first NF, or sent by other service instances of the first NF.
  • the following is an example in which the request for the second service is sent by the first service instance of the first NF.
  • the first field includes the address of the first service instance of the first NF, the address of the first SCP, the address of the second SCP, and the address of the first service instance of the second NF; or, the first field includes the first The address of the SCP, the address of the second SCP, and the address of the first service instance of the second NF; or, the first field includes the address of the second SCP and the address of the first service instance of the second NF.
  • the first NF generates the first field according to the first routing information, including: the first NF determines all addresses in the first routing information as the first field; or, the first NF divides the first routing information into The address other than the address of the first service instance of the first NF is determined as the first field; or, the first NF determines the address of the first service instance except the address of the first NF and the address from the first NF to the first routing information in the first routing information.
  • the address other than the address of the first SCP of the second NF is determined as the first field.
  • Step 310 The first NF sends the request of the second service and the first field to the first SCP.
  • the request for the second service is used to request the first service instance of the second NF to provide the second service for the service instance of the first NF.
  • the second service and the first service may be the same or different.
  • the request for the second service includes the second parameter.
  • the description of the second parameter can refer to the description of the first parameter above.
  • the second parameter and the first parameter may be the same or different.
  • the first NF sending the second service request and the first field to the first SCP includes: the first NF sending the second service request and the first X-3gpp-Disc-Forwarded request header to the first SCP.
  • the first X-3gpp-Disc-Forwarded request header may include the address of the first service instance of the first NF, the address of the first SCP, the address of the second SCP, and the address of the first service instance of the second NF; or ,
  • the first field includes the address of the first SCP, the address of the second SCP, and the address of the first service instance of the second NF; or, the first field includes the address of the second SCP and the address of the first service instance of the second NF .
  • first field may also be included in the request for the second service.
  • Step 311 The first SCP receives the request for the second service and the first field from the first NF, and sends the request for the second service and the third field to the second SCP.
  • the first SCP receives the second service request and the first field from the first NF, including: the first SCP receives the second service request and the first X-3gpp-Disc-Forwarded request from the first NF head.
  • the third field includes the address of the SCP after the second SCP among the SCPs passed from the first NF to the second NF, and the address of the first service instance of the second NF.
  • the first SCP and the second SCP are passed from the first NF to the second NF. Therefore, the third field includes the address of the first service instance of the second NF.
  • the third field may also be the same as the first field, that is, the third field may also include the address of the first service instance of the first NF, the address of the first SCP, the address of the second SCP, and the address of the second NF.
  • the address of the first service instance; or, the third field may include the address of the first SCP, the address of the second SCP, and the address of the first service instance of the second NF; or, the third field may include the address of the second SCP and The address of the first service instance of the second NF.
  • the first SCP sends the second service request and the third field to the second SCP, including: the first SCP determines the second SCP according to the first field; the first SCP sends the second service request and the second SCP to the second SCP The third field.
  • the first SCP sends the second service request and the third field to the second SCP, including: the first SCP changes the address of the second SCP and the node before the second SCP from the first field from the first field The third field is obtained by removing it; the first SCP sends a request for the second service and the third field to the second SCP.
  • the third field is included in the second X-3gpp-Disc-Forwarded request header.
  • the first SCP does not need to remove the second SCP and the address of the node before the second SCP from the first field to obtain the third field.
  • the request for the second service and the first field are sent to the second SCP.
  • the first SCP sends the second service request and the third field to the second SCP, and further includes: the first SCP adds the address of the first service instance of the first NF to the third XFF request header, and the first The SCP sends the request of the second service, the third field and the third XFF request header to the second SCP.
  • the third XFF request header is empty before the first SCP adds the address of the first service instance of the first NF to the third XFF request header.
  • Step 312 The second SCP receives the second service request and the third field from the first SCP, and sends the second service request to the second NF.
  • the second SCP sending the second service request to the second NF includes: the second SCP determines the second NF according to the third field; and the second SCP sends the second service request to the second NF.
  • the second SCP sending the second service request to the second NF further includes: the second SCP adds the address of the first SCP to the third XFF request header to obtain the fourth XFF request header, and the second SCP sends the The second NF sends the request of the second service and the fourth XFF request header.
  • Step 313 The second NF receives the second service request from the second SCP.
  • the method further includes: the second NF sends the second service response to the first NF through the second SCP and the first SCP.
  • the response of the second service may be used to indicate that the first service instance of the second NF provides the second service for the first service instance of the first NF.
  • the first NF can obtain the first field according to the first routing information and send it to the first NF.
  • An SCP sends a request for the second service and the first field.
  • the second SCP can be determined according to the first field and sent to the second SCP. Sending the request of the second service and the third field, the second SCP does not need to perform route matching.
  • the second NF can be determined according to the third field, and the request of the second service is sent to the second NF.
  • the first SCP There is no need to perform route matching with the second SCP, which simplifies the communication process between the two NFs that establish a binding relationship in the indirect communication mode, and improves the performance of information forwarding.
  • the first NF has both the function of serving consumers and the function of service producers
  • the second NF has both the function of serving consumers and the function of service producers.
  • the function of the service producer therefore, the request of the first service may also include first binding information, where the first binding information is used to indicate the first service instance to which the first NF is bound.
  • the first binding information includes the address of the second resource.
  • the second resource is a resource created by the first NF.
  • the address of the second resource may be the IP address of the second resource, the domain name of the second resource, the URL address of the second resource, or the like.
  • the method shown in FIG. 4 may further include steps 314-318.
  • Step 314 The second NF generates a sixth field according to the fifth field.
  • the second NF may save the address of the second SCP and the fifth field in the request for the first service after receiving the request for the first service and the fifth field from the second SCP in the Locally, subsequently, after the second NF receives the first binding information, when the second NF sends a service request for the second resource to the first NF, the second NF may generate the second NF according to the fifth field and the address of the second SCP. Six fields.
  • the sixth field may be used to indicate the communication path from the second NF to the first service instance of the first NF.
  • any service instance of the second NF can send a service request for the second resource to the first NF, and the first service instance of the second NF is used to send a service request to the first NF.
  • the first NF sends the service request of the second resource as an example for introduction.
  • the sixth field includes the address of the first service instance of the second NF, the address of the second SCP, the address of the first SCP, and the address of the first service instance of the first NF; or, the sixth field includes the second The address of the SCP, the address of the first SCP, and the address of the first service instance of the first NF; or, the sixth field includes the address of the first SCP and the address of the first service instance of the first NF.
  • the second NF generates the sixth field according to the fifth field and the address of the second SCP, including: the second NF converts the address of the first service instance of the second NF, the address of the second SCP, and the address of the first SCP. And the address of the first service instance of the first NF is added to the sixth field in order; or, the second NF adds the address of the second SCP, the address of the first SCP, and the address of the first service instance of the first NF in order In the sixth field; or, the second NF adds the address of the first SCP and the address of the first service instance of the first NF to the sixth field in order.
  • the second NF may obtain the first service request and the fifth field from the second SCP according to the second SCP address and the fifth field in the first service request. Second routing information, and save the second routing information locally. Subsequently, after the second NF receives the first binding information, when the second NF sends a service request for the second resource to the first NF, the second The NF may generate the sixth field according to the second routing information.
  • the second routing information may include the SCP address passed from the second NF to the first NF, and the address of the first service instance of the first NF.
  • the second NF to the first NF passes through the second SCP and the first SCP. Therefore, the second routing information may include: the address of the second SCP, the address of the first SCP, and the first NF of the first NF. The address of the service instance.
  • the second routing information may also include the address of the first service instance of the second NF.
  • the second NF obtains the second routing information according to the address of the second SCP in the request of the first service and the fifth field, including: the second NF transfers the address of the second SCP, the address of the first SCP, and the The address of the first service instance of an NF is added to the second routing information in order; or, the second NF adds the address of the first service instance of the second NF, the address of the second SCP, the address of the first SCP, and the first NF The addresses of the first service instance are added to the second routing information in order.
  • the second NF generates the sixth field according to the second routing information, including: the second NF determines all addresses in the second routing information as the sixth field; or, the second NF includes the second routing information, Addresses other than the address of the first service instance of the second NF are determined as the sixth field; or, the second NF determines the address of the first service instance other than the second NF in the second routing information and the address from the second NF to Addresses other than the address of the first SCP of the first NF are determined as the sixth field.
  • Step 315 The second NF sends a request for the third service and the sixth field to the second SCP.
  • the request for the third service is used to request the first service instance of the first NF to provide the third service for the service instance of the second NF.
  • the request for the third service may include the third parameter.
  • the third parameter includes the NF type of the first NF and the API identifier provided externally by the first NF.
  • the third parameter may also include one or more of the following parameters: the identifier of the first service instance of the second NF, the geographic location of the first service instance of the second NF, or the first service of the second NF The network slice ID of the instance.
  • the three parameters can also have other names, for example, discovery and selection parameters (discovery and selection parameters), which are not limited.
  • the second NF sends the third service request and the sixth field to the second SCP, including: the second NF sends the third service request and the third X-3gpp-Disc-Forwarded request header to the second SCP.
  • the third X-3gpp-Disc-Forwarded request header may include the sixth field.
  • sixth field may also be included in the request for the third service.
  • Step 316 The second SCP receives the request for the third service and the sixth field from the second NF, and sends the request for the third service and the fourth field to the first SCP.
  • the second SCP receives the third service request and the sixth field from the second NF, including: the second SCP receives the third service request and the third X-3gpp-Disc-Forwarded request from the second NF head.
  • the fourth field includes the address of the SCP after the first SCP among the SCPs passed from the second NF to the first NF, and the address of the first service instance of the first NF.
  • the second SCP and the first SCP are passed from the second NF to the first NF. Therefore, the fourth field includes the address of the first service instance of the first NF.
  • the fourth field can also be the same as the sixth field, that is, the fourth field can also include the address of the first service instance of the second NF, the address of the second SCP, the address of the first SCP, and the address of the first NF.
  • the address of the first service instance; or, the fourth field may also include the address of the second SCP, the address of the first SCP, and the address of the first service instance of the first NF; or, the fourth field may also include the address of the first SCP And the address of the first service instance of the first NF.
  • the second SCP sends the third service request and the fourth field to the first SCP, including: the second SCP determines the first SCP according to the sixth field; the second SCP sends the third service request and the first SCP to the first SCP The fourth field.
  • the second SCP sends the request of the third service and the fourth field to the first SCP, including: the first SCP changes the address of the second SCP and the node before the second SCP from the sixth field from the sixth field The fourth field is obtained by removing it; the second SCP sends a request for the third service and the fourth field to the first SCP.
  • the fourth field is included in the fourth X-3gpp-Disc-Forwarded request header.
  • the second SCP does not need to remove the first SCP and the address of the node before the first SCP from the sixth field to obtain the fourth field.
  • the third service request and the fourth field are sent to the first SCP.
  • the second SCP sends the request of the third service and the fourth field to the first SCP, and further includes: the second SCP adds the address of the first service instance of the second NF to the fifth XFF request header, and the second The SCP sends the request of the third service, the fourth field and the fifth XFF request header to the first SCP.
  • the fifth XFF request header is empty before the second SCP adds the address of the first service instance of the second NF to the fifth XFF request header.
  • Step 317 The first SCP receives the third service request and the fourth field from the second SCP, and sends the third service request to the first NF.
  • the first SCP sending the request for the third service to the first NF includes: the first SCP determines the first NF according to the fourth field; and the first SCP sends the request for the third service to the first NF.
  • sending the request for the third service by the first SCP to the first NF further includes: adding the address of the second SCP to the fifth XFF request header by the first SCP to obtain the sixth XFF request header; The first NF sends the request for the third service and the sixth XFF request header.
  • Step 318 The first NF receives a request for the third service from the first SCP.
  • the method further includes: the first NF sends a response of the third service to the second NF through the first SCP and the second SCP.
  • the response of the third service may be used to indicate that the first service instance of the first NF provides the third service for the first service instance of the second NF.
  • the first NF has both the function of serving consumers and the function of service producers
  • the second NF has both the function of serving consumers and the function of serving producers.
  • the request of the first service and the request of the first service sent by the second SCP also include the first binding information.
  • the second NF can generate the sixth field according to the fifth field and send it to the first
  • the second SCP sends a request for the third service and the sixth field.
  • the second SCP can determine the first SCP according to the sixth field and send the request and the sixth field to the first SCP.
  • the first SCP receives the request for the third service and the fourth field, it can determine the first NF according to the fourth field and send the request for the third service to the first NF.
  • the second SCP and the first The SCP does not need to perform route matching, which simplifies the communication process between the two NFs that establish a binding relationship in the indirect communication mode, and improves the performance of information forwarding.
  • the method shown in Figure 3, the method shown in Figure 4, and the method shown in Figure 5 are all based on that the first NF has the function of serving consumers, or the first NF has both the function of serving consumers and the function of serving producers.
  • the second NF has the function of a service producer, or the second NF has both the function of a service consumer and the function of a service producer.
  • the method of receiving service binding is introduced.
  • the first NF has both a service consumer
  • the function of NF also has the function of service producer.
  • the second NF has both the function of service consumer and the function of service producer. Take an example to introduce the method of service binding.
  • the service binding method includes step 601-step 609.
  • Step 601 The first NF sends a request for the first service to the first SCP.
  • step 601 For the specific process of step 601, reference may be made to the introduction in step 301, which will not be repeated.
  • the first service request may also include first binding information, where the first binding information is used to indicate the first service instance to which the first NF is bound.
  • Step 602 The first SCP receives the request of the first service from the first NF, and sends the request of the first service and the second field to the second SCP according to the request of the first service.
  • step 602 For the specific process of step 602, reference may be made to the introduction in step 302, which will not be repeated.
  • Step 603 The second SCP receives the request of the first service and the second field from the first SCP, and sends the request of the first service and the fifth field to the second NF according to the request of the first service.
  • step 603 For the specific process of step 603, reference may be made to the introduction in step 303, which will not be repeated.
  • the request for the first service may also include first binding information.
  • Step 604 The second NF receives the first service request and the fifth field from the second SCP.
  • Step 605 The second NF generates a sixth field according to the fifth field.
  • Step 606 The second NF sends a request for the third service and the sixth field to the second SCP.
  • Step 607 The second SCP receives the third service request and the sixth field from the second NF, and sends the third service request and the fourth field to the first SCP.
  • Step 608 The first SCP receives the third service request and the fourth field from the second SCP, and sends the third service request to the first NF.
  • Step 609 The first NF receives the request for the third service from the first SCP.
  • step 605 to step 609 reference may be made to the introduction in step 314 to step 318, which will not be repeated.
  • the first NF has both the function of serving consumers and the function of service producers, and the second NF has both the function of serving consumers and the function of serving producers.
  • the first NF can be used in
  • the sent request of the first service includes the first binding information.
  • the second NF After the second NF receives the first binding information, it can communicate with the first NF without sending a request to the first NF as a service consumer.
  • the first service instance establishes a binding relationship.
  • the second NF can generate a sixth field based on the fifth field, and send a request for the third service and the sixth field to the second SCP, and the second SCP receives the third service’s
  • the first SCP can be determined according to the sixth field, and the request for the third service and the fourth field can be sent to the first SCP.
  • the first SCP receives the request for the third service and the fourth field, it can be based on The fourth field determines the first NF and sends a request for the third service to the first NF.
  • the second SCP and the first SCP do not need to perform route matching, which simplifies the establishment of the binding relationship between the two NFs in the indirect communication mode. The communication process between them improves the performance of information forwarding.
  • the first NF, the first SCP, the second SCP, or the second NF, etc. include hardware structures and/or software modules corresponding to each function.
  • the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a certain function is executed by hardware or computer software-driven hardware depends on the specific application and design constraint conditions of the technical solution. Professionals and technicians can use different methods for each specific application to implement the described functions, but such implementation should not be considered beyond the scope of this application.
  • the embodiment of the present application can divide the functional modules of the first NF, the first SCP, or the second NF according to the above method examples.
  • each functional module can be divided corresponding to each function, or two or more functions can be integrated In a processing module.
  • the above-mentioned integrated modules can be implemented in the form of hardware or software function modules. It should be noted that the division of modules in the embodiments of the present application is illustrative, and is only a logical function division, and there may be other division methods in actual implementation.
  • FIG. 7 shows a schematic structural diagram of a communication device 70.
  • the communication device 70 may be the first NF or a chip or a system-on-chip in the first NF, and the communication device 70 may be used to perform the functions of the first NF involved in the foregoing embodiments.
  • the communication device 70 shown in FIG. 7 includes: a sending module 701 and a receiving module 702.
  • the sending module 701 is configured to send a request for a first service to the first service communication agent SCP, where the request for the first service is used to request the first service.
  • the receiving module 702 is configured to receive the response of the first service from the first SCP, where the response of the first service includes first routing information, and the first routing information includes the path from the communication device 70 to the second network function.
  • the address of the SCP and the address of the first service instance of the second network function, and the first service instance of the second network function is used to provide services for the communication device 70.
  • the communication device 70 further includes: a processing module 703; the processing module 703 is configured to generate a first field according to the first routing information, where the first field is used to indicate the slave communication device 70 The communication path to the first service instance of the second network function; the sending module 701 is also used to send a request for a second service and the first field to the first SCP, where the request for the second service is used to request The first service instance of the second network function provides the second service for the service instance of the communication device 70.
  • the communication device 70 has a function of serving consumers.
  • the communication device 70 also has the function of a service producer, and the request for the first service further includes first binding information, where the first binding information is used to indicate the first service instance to which the communication device 70 is bound. .
  • the receiving module 702 is configured to receive a request for a third service from the first SCP, where the request for the third service is used to request that the first service instance of the communication device 70 is a service of the second network function The instance provides this third service.
  • the communication device 70 is presented in the form of dividing various functional modules in an integrated manner.
  • the "module” here may refer to a specific ASIC, a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above-mentioned functions.
  • the communication device 70 may adopt the form shown in FIG. 2.
  • the processor 201 in FIG. 2 may invoke the computer-executable instructions stored in the memory 203 to enable the communication device 70 to execute the channel state information reference signal transmission method in the foregoing method embodiment.
  • the functions/implementation processes of the sending module 701, the receiving module 702, and the processing module 703 in FIG. 8 may be implemented by the processor 201 in FIG. 2 calling a computer execution instruction stored in the memory 203.
  • the function/implementation process of the processing module 703 in FIG. 8 can be implemented by the processor 201 in FIG. 2 calling a computer execution instruction stored in the memory 203, and the functions/implementation of the sending module 701 and the receiving module 702 in FIG. 8 The process can be implemented through the communication interface 204 in FIG. 2.
  • the communication device 70 provided in this embodiment can perform the above-mentioned service binding method, the technical effects that can be obtained can refer to the above-mentioned method embodiment, which will not be repeated here.
  • FIG. 9 shows a schematic structural diagram of a communication device 90.
  • the communication device 90 may be a first SCP or a chip or a system on a chip in the first SCP, and the communication device 90 may be used to perform the functions of the first SCP involved in the foregoing embodiments.
  • the communication device 90 shown in FIG. 9 includes: a receiving module 901 and a sending module 902.
  • the receiving module 901 is configured to receive a request for a first service from a first network function, where the request for the first service is used to request the first service.
  • the sending module 902 is configured to send a request for the first service and a second field to the second SCP according to the request for the first service, where the second field includes the address of the first service instance of the first network function.
  • the receiving module 901 is further configured to receive a response of the first service from the second SCP, where the response of the first service includes first routing information, and the first routing information includes the route from the first network function to the second network.
  • the sending module 902 is further configured to send a response of the first service to the first network function.
  • the receiving module 901 is further configured to receive a request for a second service from the first network function and a first field, where the request for the second service is used to request a first service instance of the second network function
  • the first field is used to indicate the communication path from the first network function to the first service instance of the second network function
  • the sending module 902 is also used for The request for the second service and the third field are sent to the second SCP according to the first field, where the third field includes the SCP that passes from the first network function to the second network function, and in the first field The address of the SCP after the second SCP, and the address of the first service instance of the second network function.
  • the sending module 902 is specifically configured to determine the second SCP according to the first field; the sending module 902 is also specifically configured to send the request for the second service and the third field to the second SCP.
  • the first network function has a function of serving consumers.
  • the first network function also has the function of a service producer, and the request for the first service further includes first binding information, where the first binding information is used to indicate the binding of the first network function The first service instance.
  • the receiving module 901 is further configured to receive a request for a third service from the second SCP and a fourth field, where the request for the third service is used to request the first service instance of the first network function as The service instance of the second network function provides the third service, and the fourth field includes the SCP that passes from the second network function to the first network function, the address of the SCP after the communication device 90, and the The address of the first service instance of the first network function; the sending module 902 is also configured to send a request for the third service to all the first network function.
  • the communication device 90 is presented in the form of dividing various functional modules in an integrated manner.
  • the "module” here may refer to a specific ASIC, a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above-mentioned functions.
  • the communication device 90 may adopt the form shown in FIG. 2.
  • the processor 201 in FIG. 2 may invoke the computer execution instructions stored in the memory 203 to cause the communication device 90 to execute the service binding method in the foregoing method embodiment.
  • the functions/implementation process of the receiving module 901 and the sending module 902 in FIG. 9 may be implemented by the processor 201 in FIG. 2 calling a computer execution instruction stored in the memory 203.
  • the functions/implementation process of the receiving module 901 and the sending module 902 in FIG. 9 may be implemented through the communication interface 204 in FIG. 2.
  • the communication device 90 provided in this embodiment can perform the above-mentioned service binding method, the technical effects that can be obtained can refer to the above-mentioned method embodiment, and will not be repeated here.
  • FIG. 10 shows a schematic structural diagram of a communication device 100.
  • the communication device 100 may be a second NF or a chip or a system on a chip in the second NF, and the communication device 100 may be used to perform the functions of the second NF involved in the foregoing embodiments.
  • the communication device 100 shown in FIG. 10 includes: a receiving module 1001, a processing module 1002, and a sending module 1003.
  • the receiving module 1001 is configured to receive a request for a first service and a fifth field from the second service communication agent SCP, where the request for the first service is used to request the first service, and the fifth field includes the first network The address of the first service instance of the function and the addresses of the first n-1 SCPs, where n is the number of SCPs that pass from the first network function to the communication device 100.
  • the processing module 1002 is configured to, if the communication device 100 determines the first service instance bound to the communication device 100, generate first routing information according to the fifth field, where the first routing information includes the link from the first network function to the communication device.
  • the address of the SCP through which 100 passes and the address of the first service instance of the communication device 100, and the first service instance of the communication device 100 is used to provide services for the first network function.
  • the sending module 1003 is configured to send a response of the first service to the second SCP, where the response of the first service includes the first routing information.
  • the receiving module 1001 is further configured to receive a request for a second service from the second SCP, where the request for the second service is used to request that the first service instance of the communication device 100 is the first network function
  • the service instance provides the second service.
  • the first network function has the function of serving consumers; the communication device 100 has the function of serving producers.
  • the first network function also has the function of a service generator, and the request for the first service further includes first binding information, where the first binding information is used to indicate the binding of the first network function The first service instance.
  • the communication device 100 also has a function of serving consumers.
  • the processing module 1002 is further configured to generate a sixth field based on the fifth field, where the sixth field is used to indicate that the communication device 100 is connected to the first network.
  • the communication path of the first service instance of the function; the sending module 1003 is also used to send a request for a third service and the sixth field to the second SCP, where the request for the third service is used to request the first network function
  • the first service instance of provides the third service for the service instance of the communication device 100.
  • the communication device 100 is presented in the form of dividing various functional modules in an integrated manner.
  • the "module” here may refer to a specific ASIC, a circuit, a processor and memory that executes one or more software or firmware programs, an integrated logic circuit, and/or other devices that can provide the above-mentioned functions.
  • the communication device 100 may adopt the form shown in FIG. 2.
  • the processor 201 in FIG. 2 may invoke the computer execution instructions stored in the memory 203 to cause the communication device 100 to execute the service binding method in the foregoing method embodiment.
  • the functions/implementation processes of the receiving module 1001, the processing module 1002, and the sending module 1003 in FIG. 10 may be implemented by the processor 201 in FIG. 2 calling a computer execution instruction stored in the memory 203.
  • the function/implementation process of the processing module 1002 in FIG. 10 can be implemented by the processor 201 in FIG. 2 calling a computer execution instruction stored in the memory 203, and the functions/implementation of the receiving module 1001 and the sending module 1003 in FIG. 10
  • the process can be implemented through the communication interface 204 in FIG. 2.
  • the communication device 100 provided in this embodiment can perform the above-mentioned service binding method, the technical effects that can be obtained can refer to the above-mentioned method embodiment, which will not be repeated here.
  • FIG. 11 shows a schematic diagram of the composition of a communication system.
  • the communication system 110 may include: NF 1101, SCP 1102, SCP 1103, and NF 1104. It should be noted that FIG. 11 is only an exemplary drawing, and the embodiment of the present application does not limit the network elements included in the communication system 110 shown in FIG. 11 and the number of network elements.
  • the NF 1101 has the function of the communication device 70 shown in FIG. 7 or FIG. 8, for example, it can be used to send a request for the first service to the SCP 1102 and receive a response from the SCP 1102 for the first service.
  • SCP 1102 has the functions of the communication system 90 shown in Figure 9 above. For example, it can be used to receive a request for the first service from the NF 1101, and send the request for the first service and the second service to the SCP 1103 according to the request for the first service. Field, receives the response of the first service from the SCP 1103, and sends the response of the first service to the NF 1101.
  • SCP 1103 can receive the request of the first service and the second field from SCP 1102, send the request of the first service and the fifth field to NF 1104, receive the response of the first service from NF 1104, and send the first service to SCP 1102. A service response.
  • the NF 1104 has the function of the communication device 100 shown in Figure 10, for example, it can be used to receive the first service request and the fifth field from the SCP 1103. If the NF 1104 determines the first service instance bound to the NF 1104, according to the The fifth field generates the first routing information, and sends the response of the first service to the SCP 1103.
  • the computer may be implemented in whole or in part by software, hardware, firmware, or any combination thereof.
  • a software program it can be implemented in the form of a computer program product in whole or in part.
  • the computer program product includes one or more computer instructions.
  • the computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another computer-readable storage medium.
  • the computer instructions may be transmitted from a website, computer, server, or data center.
  • the computer-readable storage medium may be any available medium that can be accessed by a computer or includes one or more data storage devices such as servers, data centers, etc. that can be integrated with the medium.
  • the usable medium may be a magnetic medium (for example, a floppy disk, a hard disk, and a magnetic tape), an optical medium (for example, a DVD), or a semiconductor medium (for example, a solid state disk (SSD)).

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Multimedia (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

本申请实施例提供服务绑定的方法及装置,涉及通信技术领域,可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。该方法包括:第一网络功能向第一服务通信代理SCP发送第一服务的请求,该第一服务的请求用于请求该第一服务;第一网络功能接收来自该第一SCP的该第一服务的响应,该第一服务的响应包括第一路由信息,该第一路由信息包括从该第一网络功能到第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,该第二网络功能的第一服务实例用于为该第一网络功能提供服务。

Description

服务绑定的方法及装置
本申请要求于2019年10月11日提交国家知识产权局、申请号为201910963216.0、发明名称为“服务绑定的方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请涉及通信技术领域,尤其涉及服务绑定的方法及装置。
背景技术
第三代合作伙伴计划(3rd generation partnership project,3GPP)Release 15中,第五代移动通信技术(5 th generation,5G)核心网系统架构是基于服务化的架构(service based architecture,SBA),SBA的主要目的是将每个网络功能(network function,NF)拆分成一个或者多个网络功能服务(NF service),每个网络功能服务可以通过标准接口和其他网络功能服务互通,其中,具备服务消费者(service consumer)功能的NF称为NF服务消费者,具备服务生产者(service producer)功能的NF称为NF服务生产者,NF服务生产者和NF服务消费者可以包括一个或多个服务实例。
3GPP Release 16中进一步对Release 15的服务化架构进行了改进和优化,提出了间接通信模式,即将服务化架构中的部分公共功能,例如,间接通信(indirect communication)和委托发现(delegated discovery),抽取出来,由服务通信代理(service communication proxy,SCP)网元统一提供。在间接通信模式中,NF服务消费者不直接与NF服务生产者通信,而是通过SCP和NF服务生产者进行通信,SCP在NF服务消费者和NF服务生产者之间路由消息,并且可以代表NF服务消费者进行服务发现和选择。以NF服务消费者与NF服务生产者之间通过两个SCP进行通信为例,NF服务消费者向SCP1发送服务请求,该服务请求包括发现与选择参数,SCP1接收到该服务请求后,根据该发现与选择参数进行路由规则匹配,将该请求路由给SCP2,SCP2接收到该服务请求后,根据该发现与选择参数进行路由规则匹配,并选择该NF服务生产者为该NF服务消费者提供服务。
3GPP Release 16中还定义了绑定机制。绑定机制是指NF服务生产者可以将NF服务消费者的服务实例1对某一资源的服务请求,绑定在NF服务生产者的服务实例1上,后续,NF服务消费者的服务实例对该资源进行服务请求时,均由NF服务生产者的服务实例1进行处理,直到解除绑定关系。解除绑定关系后,其他NF服务生产者的服务实例也可以处理该资源的服务请求。
现有技术中,在间接通信模式下对NF服务生产者的服务实例1和NF服务消费者的服务实例1建立绑定关系后,SCP仍然要根据NF服务生产者的服务实例1的地址进行规则匹配和路由,并且保证服务实例1的服务请求均路由到服务实例1,过程较为复杂。
发明内容
本申请实施例提供服务绑定的方法及装置,可以简化间接通信模式下建立绑定关 系的两个网络功能之间的通信过程,提高信息转发的性能。
为达到上述目的,本申请的实施例采用如下技术方案:
第一方面,本申请实施例提供一种服务绑定的方法,该方法包括:第一网络功能向第一服务通信代理SCP发送第一服务的请求,其中,该第一服务的请求用于请求该第一服务;该第一网络功能接收来自该第一SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,该第一路由信息包括从该第一网络功能到第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,该第二网络功能的第一服务实例用于为该第一网络功能提供服务。
上述第一方面提供的方法,第一网络功能可以向第一SCP发送第一服务的请求,并接收来自第一SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,后续,若第一网络功能确定发送第二服务的请求,该第一网络功能可以根据第一路由信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该方法还包括:该第一网络功能根据该第一路由信息生成第一字段,其中,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径;该第一网络功能向该第一SCP发送第二服务的请求和该第一字段,其中,该第二服务的请求用于请求该第二网络功能的第一服务实例为该第一网络功能的服务实例提供该第二服务。基于上述方法,第一网络功能可以向第一SCP发送第一服务的请求,并接收来自第一SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,若第一网络功能确定发送第二服务的请求,该第一网络功能可以根据第一路由信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径,后续,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能具有服务消费者的功能。基于上述方法,第一网络功能可以具有服务消费者的功能,因此,第一网络功能可以向第一SCP发送第一服务的请求,并接收来自第一SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,后续,若第一网络功能确定发送第二服务的请求,该第一网络功能还可以根据第一路由信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能还具有服务生产者的功能,该第一服务的请求还包括第一绑定信息,其中,该第一绑定信息用于指示绑定该第一网络功能的第 一服务实例。基于上述方法,该第一网络功能还具有服务生产者的功能,因此,可以在该第一服务请中携带第一绑定信息,该第一绑定信息用于指示绑定第一网络功能的第一服务实例,以便第二网络功在接收到该第一绑定信息后,根据第五字段生成第六字段,并向第二SCP发送第三服务的请求和第六字段,第二SCP接收到该第三服务的请求和第六字段后,可以不进行路由规则匹配,直接根据第六字段确定第一SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该方法还包括:该第一网络功能接收来自该第一SCP的第三服务的请求,其中,该第三服务的请求用于请求该第一网络功能的第一服务实例为该第二网络功能的服务实例提供该第三服务。基于上述方法,第一网络功能可以接收来自第一SCP的第三服务的请求,以便第一网络功能的第一服务实例为第二网络功能的服务实例提供该第三服务。
第二方面,本申请实施例提供一种服务绑定的方法,该方法包括:第一服务通信代理SCP接收来自第一网络功能的第一服务的请求,其中,该第一服务的请求用于请求该第一服务;该第一SCP根据该第一服务的请求向第二SCP发送该第一服务的请求以及第二字段,其中,该第二字段包括该第一网络功能的第一服务实例的地址;该第一SCP接收来自该第二SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,该第一路由信息包括从该第一网络功能到第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,该第二网络功能的第一服务实例用于为该第一网络功能提供服务;该第一SCP向该第一网络功能发送该第一服务的响应。
上述第二方面提供的方法,第一SCP可用接收来自第一网络功能的第一服务的请求,并根据该第一服务的请求向第二SCP发送该第一服务的请求和第二字段,并接收来自第二SCP的第一服务的响应,并将该第一服务的响应转发给第一网络功能,该第一服务的响应包括第一路由信息,该第一路由信息包括从该第一网络功能到第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,如此,后续,若第一网络功能确定向第一SCP发送第二服务的请求,第一SCP可以根据从第一网络功能接收的第一字段确定第二SCP,而不进行路由规则匹配,其中,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该方法还包括:该第一SCP接收来自该第一网络功能的第二服务的请求和第一字段,其中,该第二服务的请求用于请求该第二网络功能的第一服务实例为该第一网络功能的服务实例提供该第二服务,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径;该第一SCP根据该第一字段向该第二SCP发送该第二服务的请求和第三字段,其中,该第三字段包括从该第一网络功能到该第二网络功能该经过的SCP中,在该第二SCP之后的SCP的地址,以及该第二网络功能的第一服务实例的地址。基于上述方法,第一SCP可以接收来自第一网络功能的第二服务的请求和第一字段,并根据该第一字段向第二SCP发送第二服务的请求和第三字段,而不进行路由规则匹配,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一SCP根据该第一字段向该第二SCP发送该第二服务的请求和第三字段,包括:该第一SCP根据该第一字段确定该第二SCP;该第一SCP向该第二SCP发送该第二服务的请求和该第三字段。基于上述方法,第一SCP可以接收来自第一网络功能的第二服务的请求和第一字段,根据该第一字段确定第二SCP,并向第二SCP发送第二服务的请求和第三字段,而不进行路由规则匹配,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能具有服务消费者的功能。基于上述方法,该第一网络功能具有服务消费者的功能,或者,该第一网络功能具有服务消费者和服务生产者的功能,如此,第一SCP可以接收来自第一网络功能的第二服务的请求和第一字段,并根据该第一字段向第二SCP发送第二服务的请求和第三字段,而不进行路由规则匹配,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能还具有服务生产者的功能,该第一服务的请求还包括第一绑定信息,其中,该第一绑定信息用于指示绑定该第一网络功的第一服务实例。基于上述方法,第一网络功能还具有服务生产者的功能,如此,该第一服务的请求还可以包括第一绑定信息,该第一绑定信息用于指示绑定该第一网络功的第一服务实例,后续,若第二网络功在接收到该第一绑定信息后,根据第五字段生成第六字段,并向第二SCP发送第三服务的请求和第六字段,第二SCP接收到该第三服务的请求和第六字段后,可以不进行路由规则匹配,直接根据第六字段确定第一SCP,并向第一SCP发送第三服务的请求和第四字段,该第一SCP接收到该第三服务的请求和第四字段后,可以不进行路由匹配,直接根据第四字段确定第一网络功能,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该方法还包括:该第一SCP接收来自该第二SCP的第三服务的请求以及第四字段,其中,该第三服务的请求用于请求该第一网络功能的第一服务实例为该第二网络功能的服务实例提供该第三服务,该第四字段包括从该第二网络功能到该第一网络功能所经过的SCP中,在该第一SCP之后的SCP的地址,以及该第一网络功能的第一服务实例的地址;该第一SCP向所第一网络功能发送该第三服务的请求。基于上述方法,第一SCP可以接收来自第二SCP的第三服务的请求和第四字段,并且可以不进行路由匹配,直接根据第四字段确定第一网络功能,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
第三方面,本申请实施例提供一种服务绑定的方法,该方法包括:第二网络功能接收来自第二服务通信代理SCP的第一服务的请求和第五字段,其中,该第一服务的请求用于请求该第一服务,该第五字段包括该第一网络功能的第一服务实例的地址,以及前n-1个SCP的地址,n为从该第一网络功能到该第二网络功能经过的SCP的个数;若该第二网络功能确定绑定该第二网络功能的第一服务实例,该第二网络功能根据该第五字段生成第一路由信息,其中,该第一路由信息包括从该第一网络功能到该第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,该第 二网络功能的第一服务实例用于为该第一网络功能提供服务;该第二网络功能向该第二SCP发送第一服务的响应,其中,该第一服务的响应包括该第一路由信息。
上述第三方面所述的方法,第二网络功能可以接收来自第二SCP的第一服务的请求和第五字段,并若第二网络功能确定绑定该第二网络功能的第一服务实例,该第二网络功能根据该第五字段生成第一路由信息,并将该第一路由信息经第二SCP和第一SCP发送给第一网络功能,以便若第一网络功能确定发送第二服务的请求,该第一网络功能可以根据第一路由信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该方法还包括:该第二网络功能接收来自该第二SCP的第二服务的请求,其中,该第二服务的请求用于请求该第二网络功能的第一服务实例为该第一网络功能的服务实例提供该第二服务。基于上述方法,第二网络功能可以接收来自第二SCP的第二服务的请求,该第二服务的请求是第一网络功能经第一SCP和第二SCP发送给第二网络功能的,其中,第一SCP和第二SCP可以不进行路由规则匹配,第一SCP是根据第一字段确定的第二SCP,第二SCP是根据第三字段确定的第二网络功能,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能具有服务消费者的功能;该第二网络功能具有服务生产者的功能。基于上述方法,该第一网络功能具有服务消费者的功能,该第二网络功能具有服务生产者的功能,如此,第二网络功能可以接收来自第二SCP的第一服务的请求和第五字段,并若第二网络功能确定绑定该第二网络功能的第一服务实例,该第二网络功能根据该第五字段生成第一路由信息,并将该第一路由信息经第二SCP和第一SCP发送给第一网络功能,以便若第一网络功能确定发送第二服务的请求,该第一网络功能可以根据第一路由信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能还具有服务生成者的功能,该第一服务的请求还包括第一绑定信息,其中,该第一绑定信息用于指示绑定该第一网络功能的第一服务实例。基于上述方法,第一网络功能还具有服务生产者的功能,该第一服务的请求还可以包括第一绑定信息,其中,该第一绑定信息用于指示绑定该第一网络功能的第一服务实例,以便第二网络功能经第二SCP和第一SCP向第一网络功能发送第三服务的请求,其中,第二SCP和第一SCP可以不进行路由规则匹配,第二SCP是根据第六字段确定的第一SCP,第一SCP是根据第四字段确定的第一网络功能,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第二网络功能还具有服务消费者的功能,该方法还包括:该第二网络功能根据该第五字段生成第六字段,其中,该第六字段用于指示从该第二网络功能到该第一网络功能的第一服务实例的通信路径;该第二网络功能向该第二SCP发送第三服务的请求和该第六字段,其中,该第三服务的请求用于请求该第一网络功能的第一服务实例为该第二网络功能的服务实例提供该第三服务。基于上述方法,第二网络功能可以根据第五字段生成第六字段,并向第二SCP发送第三服务的请求和第六字段,后续,第二SCP接收到该第三服务的请求和第六字段后,第二SCP不用进行路由规则匹配,可以直接根据第六字段确定第一SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
第四方面,本申请实施例提供一种通信装置,该通信装置包括:发送模块和接收模块;该发送模块,用于向第一服务通信代理SCP发送第一服务的请求,其中,该第一服务的请求用于请求该第一服务;该接收模块,用于接收来自该第一SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,该第一路由信息包括从该通信装置到第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,该第二网络功能的第一服务实例用于为该通信装置提供服务。
上述第四方面提供的方案,该通信装可以向第一SCP发送第一服务的请求,并接收来自第一SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,后续,若通信装置确定发送第二服务的请求,该通信装置可以根据第一路由信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该通信装置到该第二网络功能的第一服务实例的通信路径,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该通信装置还包括:处理模块;该处理模块,用于根据该第一路由信息生成第一字段,其中,该第一字段用于指示从该通信装置到该第二网络功能的第一服务实例的通信路径;该发送模块,还用于向该第一SCP发送第二服务的请求和该第一字段,其中,该第二服务的请求用于请求该第二网络功能的第一服务实例为该通信装置的服务实例提供该第二服务。基于上述方案,通信装置可以向第一SCP发送第一服务的请求,并接收来自第一SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,若通信装置确定发送第二服务的请求,该通信装置可以根据第一路由信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该通信装置到该第二网络功能的第一服务实例的通信路径,后续,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该通信装置具有服务消费者的功能。基于上述方案,通信装置可以具有服务消费者的功能,因此,通信装置可以向第一SCP发送第一服务的请求,并接收来自第一SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,后续,若通信装置确定发送第二服务的请求,该通信装置还可以根据第一路由 信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该通信装置到该第二网络功能的第一服务实例的通信路径,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该通信装置还具有服务生产者的功能,该第一服务的请求还包括第一绑定信息,其中,该第一绑定信息用于指示绑定该通信装置的第一服务实例。基于上述方案,该通信装置还具有服务生产者的功能,因此,可以在该第一服务请中携带第一绑定信息,该第一绑定信息用于指示绑定通信装置的第一服务实例,以便第二网络功在接收到该第一绑定信息后,根据第五字段生成第六字段,并向第二SCP发送第三服务的请求和第六字段,第二SCP接收到该第三服务的请求和第六字段后,可以不进行路由规则匹配,直接根据第六字段确定第一SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该接收模块,用于接收来自该第一SCP的第三服务的请求,其中,该第三服务的请求用于请求该通信装置的第一服务实例为该第二网络功能的服务实例提供该第三服务。基于上述方案,通信装置可以接收来自第一SCP的第三服务的请求,以便通信装置的第一服务实例为第二网络功能的服务实例提供该第三服务。
第五方面,本申请实施例提供一种通信装置,该通信装置包括:接收模块和发送模块;该接收模块,用于接收来自第一网络功能的第一服务的请求,其中,该第一服务的请求用于请求该第一服务;该发送模块,用于根据该第一服务的请求向第二SCP发送该第一服务的请求以及第二字段,其中,该第二字段包括该第一网络功能的第一服务实例的地址;该接收模块,还用于接收来自该第二SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,该第一路由信息包括从该第一网络功能到第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,该第二网络功能的第一服务实例用于为该第一网络功能提供服务;该发送模块,还用于向该第一网络功能发送该第一服务的响应。
上述第五方面提供的方案,通信装置可用接收来自第一网络功能的第一服务的请求,并根据该第一服务的请求向第二SCP发送该第一服务的请求和第二字段,并接收来自第二SCP的第一服务的响应,并将该第一服务的响应转发给第一网络功能,该第一服务的响应包括第一路由信息,该第一路由信息包括从该第一网络功能到第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,如此,后续,若第一网络功能确定向通信装置发送第二服务的请求,通信装置可以根据从第一网络功能接收的第一字段确定第二SCP,而不进行路由规则匹配,其中,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该接收模块,还用于接收来自该第一网络功能的第二服务的请求和第一字段,其中,该第二服务的请求用于请求该第二网络功能的第一服务实例为该第一网络功能的服务实例提供该第二服务,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径;该发送模块,还用于根据该第一 字段向该第二SCP发送该第二服务的请求和第三字段,其中,该第三字段包括从该第一网络功能到该第二网络功能该经过的SCP中,在该第二SCP之后的SCP的地址,以及该第二网络功能的第一服务实例的地址。基于上述方案,通信装置可以接收来自第一网络功能的第二服务的请求和第一字段,并根据该第一字段向第二SCP发送第二服务的请求和第三字段,而不进行路由规则匹配,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该发送模块,具体用于根据该第一字段确定该第二SCP;该发送模块,还具体用于向该第二SCP发送该第二服务的请求和该第三字段。基于上述方法,通信装置可以接收来自第一网络功能的第二服务的请求和第一字段,根据该第一字段确定第二SCP,并向第二SCP发送第二服务的请求和第三字段,而不进行路由规则匹配,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能具有服务消费者的功能。基于上述方案,该第一网络功能具有服务消费者的功能,或者,该第一网络功能具有服务消费者和服务生产者的功能,如此,通信装置可以接收来自第一网络功能的第二服务的请求和第一字段,并根据该第一字段向第二SCP发送第二服务的请求和第三字段,而不进行路由规则匹配,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能还具有服务生产者的功能,该第一服务的请求还包括第一绑定信息,其中,该第一绑定信息用于指示绑定该第一网络功的第一服务实例。基于上述方案,第一网络功能还具有服务生产者的功能,如此,该第一服务的请求还可以包括第一绑定信息,该第一绑定信息用于指示绑定该第一网络功的第一服务实例,后续,若第二网络功在接收到该第一绑定信息后,根据第五字段生成第六字段,并向第二SCP发送第三服务的请求和第六字段,第二SCP接收到该第三服务的请求和第六字段后,可以不进行路由规则匹配,直接根据第六字段确定通信装置,并向通信装置发送第三服务的请求和第四字段,该通信装置接收到该第三服务的请求和第四字段后,可以不进行路由匹配,直接根据第四字段确定第一网络功能,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该接收模块,还用于接收来自该第二SCP的第三服务的请求以及第四字段,其中,该第三服务的请求用于请求该第一网络功能的第一服务实例为该第二网络功能的服务实例提供该第三服务,该第四字段包括从该第二网络功能到该第一网络功能所经过的SCP中,在该通信装置之后的SCP的地址,以及该第一网络功能的第一服务实例的地址;该发送模块,还用于向所第一网络功能发送该第三服务的请求。基于上述方案,通信装置可以接收来自第二SCP的第三服务的请求和第四字段,并且可以不进行路由匹配,直接根据第四字段确定第一网络功能,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
第六方面,本申请实施例提供一种通信装置,该通信装置包括:接收模块、处理模块和发送模块;该接收模块,用于接收来自第二服务通信代理SCP的第一服务的请 求和第五字段,其中,该第一服务的请求用于请求该第一服务,该第五字段包括该第一网络功能的第一服务实例的地址,以及前n-1个SCP的地址,n为从该第一网络功能到该通信装置经过的SCP的个数;该处理模块,用于若该通信装置确定绑定该通信装置的第一服务实例,根据该第五字段生成第一路由信息,其中,该第一路由信息包括从该第一网络功能到该通信装置所经过的SCP的地址以及该通信装置的第一服务实例的地址,该通信装置的第一服务实例用于为该第一网络功能提供该第一服务;该发送模块,用于向该第二SCP发送第一服务的响应,其中,该第一服务的响应包括该第一路由信息。
上述第六方面所述的方案,通信装置可以接收来自第二SCP的第一服务的请求和第五字段,并若通信装置确定绑定该通信装置的第一服务实例,该通信装置根据该第五字段生成第一路由信息,并将该第一路由信息经第二SCP和第一SCP发送给第一网络功能,以便若第一网络功能确定发送第二服务的请求,该第一网络功能可以根据第一路由信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该第一网络功能到该通信装置的第一服务实例的通信路径,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该接收模块,还用于接收来自该第二SCP的第二服务的请求,其中,该第二服务的请求用于请求该通信装置的第一服务实例为该第一网络功能的服务实例提供该第二服务。基于上述方案,通信装置可以接收来自第二SCP的第二服务的请求,该第二服务的请求是第一网络功能经第一SCP和第二SCP发送给通信装置的,其中,第一SCP和第二SCP可以不进行路由规则匹配,第一SCP是根据第一字段确定的第二SCP,第二SCP是根据第三字段确定的通信装置,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能具有服务消费者的功能;该通信装置具有服务生产者的功能。基于上述方案,该第一网络功能具有服务消费者的功能,该通信装置具有服务生产者的功能,如此,通信装置可以接收来自第二SCP的第一服务的请求和第五字段,并若通信装置确定绑定该通信装置的第一服务实例,该通信装置根据该第五字段生成第一路由信息,并将该第一路由信息经第二SCP和第一SCP发送给第一网络功能,以便若第一网络功能确定发送第二服务的请求,该第一网络功能可以根据第一路由信息生成第一字段,并向第一SCP发送该第二服务的请求和第一字段,该第一字段用于指示从该第一网络功能到该通信装置的第一服务实例的通信路径,该第一SCP接收到该第二服务的请求和第一字段后,可以不进行路由规则匹配,直接根据第一字段确定第二SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该第一网络功能还具有服务生成者的功能,该第一服务的请求还包括第一绑定信息,其中,该第一绑定信息用于指示绑定该第一网络功能的第一服务实例。基于上述方案,第一网络功能还具有服务生产者的功能,该第一服务的请求还可以包括第一绑定信息,其中,该第一绑定信息用于指示绑定该第一网络功能 的第一服务实例,以便通信装置经第二SCP和第一SCP向第一网络功能发送第三服务的请求,其中,第二SCP和第一SCP可以不进行路由规则匹配,第二SCP是根据第六字段确定的第一SCP,第一SCP是根据第四字段确定的第一网络功能,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
一种可能的实现方式,该通信装置还具有服务消费者的功能,该处理模块,还用于根据该第五字段生成第六字段,其中,该第六字段用于指示从该通信装置到该第一网络功能的第一服务实例的通信路径;该发送模块,还用于向该第二SCP发送第三服务的请求和该第六字段,其中,该第三服务的请求用于请求该第一网络功能的第一服务实例为该通信装置的服务实例提供该第三服务。基于上述方案,通信装置可以根据第五字段生成第六字段,并向第二SCP发送第三服务的请求和第六字段,后续,第二SCP接收到该第三服务的请求和第六字段后,第二SCP不用进行路由规则匹配,可以直接根据第六字段确定第一SCP,从而可以简化间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
第七方面,本申请实施例提供了一种通信装置,包括:至少一个处理器、至少一个存储器以及通信接口,该通信接口、该至少一个存储器与该至少一个处理器耦合;通信装置通过该通信接口与其他设备通信,该至少一个存储器用于存储计算机程序,使得该计算机程序被该至少一个处理器执行时实现如第一方面及其各种可能的实现方式所述的服务绑定的方法。
第八方面,本申请实施例提供了一种通信装置,包括:至少一个处理器、至少一个存储器以及通信接口,该通信接口、该至少一个存储器与该至少一个处理器耦合;通信装置通过该通信接口与其他设备通信,该至少一个存储器用于存储计算机程序,使得该计算机程序被该至少一个处理器执行时实现如第二方面及其各种可能的实现方式所述的服务绑定的方法。
第九方面,本申请实施例提供了一种通信装置,包括:至少一个处理器、至少一个存储器以及通信接口,该通信接口、该至少一个存储器与该至少一个处理器耦合;通信装置通过该通信接口与其他设备通信,该至少一个存储器用于存储计算机程序,使得该计算机程序被该至少一个处理器执行时实现如第三方面及其各种可能的实现方式所述的服务绑定的方法。
第十方面,本申请提供了一种系统芯片,该系统芯片可以应用在通信装置中,该系统芯片包括:至少一个处理器,涉及的程序指令在该至少一个处理器中执行,以实现根据第一方面的方法及其任一设计中的第一网络功能的功能。可选的,该系统芯片还可以包括至少一个存储器,该存储器存储有涉及的程序指令。
第十一方面,本申请提供了一种系统芯片,该系统芯片可以应用在通信装置中,该系统芯片包括:至少一个处理器,涉及的程序指令在该至少一个处理器中执行,以实现根据第二方面的方法及其任一设计中的第一SCP的功能。可选的,该系统芯片还可以包括至少一个存储器,该存储器存储有涉及的程序指令。
第十二方面,本申请提供了一种系统芯片,该系统芯片可以应用在通信装置中,该系统芯片包括:至少一个处理器,涉及的程序指令在该至少一个处理器中执行,以 实现根据第三方面的方法及其任一设计中的第二网络功能的功能。可选的,该系统芯片还可以包括至少一个存储器,该存储器存储有涉及的程序指令。
第十三方面,本申请实施例提供了一种计算机可读存储介质,如计算机非瞬态的可读存储介质。其上储存有计算机程序,当该计算机程序在计算机上运行时,使得计算机执行上述第一方面的任一种可能的方法。例如,该计算机可以是至少一个存储节点。
第十四方面,本申请实施例提供了一种计算机可读存储介质,如计算机非瞬态的可读存储介质。其上储存有计算机程序,当该计算机程序在计算机上运行时,使得计算机执行上述第二方面的任一种可能的方法。例如,该计算机可以是至少一个存储节点。
第十五方面,本申请实施例提供了一种计算机可读存储介质,如计算机非瞬态的可读存储介质。其上储存有计算机程序,当该计算机程序在计算机上运行时,使得计算机执行上述第三方面的任一种可能的方法。例如,该计算机可以是至少一个存储节点。
第十六方面,本申请实施例提供了一种计算机程序产品,当其在计算机上运行时,使得第一方面提供的任一方法被执行。例如,该计算机可以是至少一个存储节点。
第十七方面,本申请实施例提供了一种计算机程序产品,当其在计算机上运行时,使得第二方面提供的任一方法被执行。例如,该计算机可以是至少一个存储节点。
第十八方面,本申请实施例提供了一种计算机程序产品,当其在计算机上运行时,使得第三方面提供的任一方法被执行。例如,该计算机可以是至少一个存储节点。
第十九方面,本申请实施例提供一种通信系统,该通信系统可以包括如下任一种或几种:如第四方面中的通信装置,或者如第五方面中的通信装置,或者如第六方面中的通信装置,或者如第七方面中的通信装置,或者如第八方面中的通信装置,或者如第九方面中的通信装置,或者如第十方面中的系统芯片,或者如第十一方面中的系统芯片,或者如第十二方面中的系统芯片,或者如第十三方面中的计算机存储介质,或者如第十四方面中的计算机存储介质,或者如第十五方面中的计算机存储介质,或者如第十六方面中的计算机程序产品,或者如第十七方面中的计算机程序产品,或者如第十八方面中的计算机程序产品。
可以理解的,上述提供的任一种通信装置、系统芯片、计算机存储介质、计算机程序产品或通信系统等均用于执行上文所提供的对应的方法,因此,其所能达到的有益效果可参考对应的方法中的有益效果,此处不再赘述。
附图说明
图1为本申请实施例提供的服务化架构的示意图;
图2为本申请实施例提供的通信装置的硬件结构示意图;
图3为本申请实施例提供的服务绑定的方法的流程示意图一;
图4为本申请实施例提供的服务绑定的方法的流程示意图二;
图5为本申请实施例提供的服务绑定的方法的流程示意图三;
图6为本申请实施例提供的服务绑定的方法的流程示意图四;
图7为本申请实施例提供的通信装置的结构示意图一;
图8为本申请实施例提供的通信装置的结构示意图二;
图9为本申请实施例提供的通信装置的结构示意图三;
图10为本申请实施例提供的通信装置的结构示意图四;
图11为本申请实施例提供的通信系统的示意图。
具体实施方式
下面将结合附图,对本申请实施例中的技术方案进行描述。
本申请实施例提供的服务绑定的方法可以应用于图1所示的服务化架构。其中,图1以5G的网络服务架构为例展示了NF和实体之间的交互关系以及对应的接口。其中,5G系统的3GPP基于SBA包含的网络功能和实体主要包括:终端设备(terminal equipment,TE)、接入网(access network,AN)或无线接入网(radio access network,RAN)、用户面功能(user plane function,UPF)、数据网络(data network,DN)、接入管理功能(access management function,AMF)、会话管理功能(session managent function,SMF)、认证服务功能(authentication server function,AUSF)、策略控制功能(policy control function,PCF)、应用功能(application function,AF)、网络切片选择功能(network slice selection function,NSSF)、统一数据管理(unified data management,UDM)、网络开放功能(network dxposure function,NEF)和网络存储功能(NF repository function,NRF)。
其中,TE、(R)AN、UPF和DN一般被称为用户面网络功能和实体(或者用户面网元),其他的部分则一般被称为控制面网络功能和实体(或者控制面网元)。控制面网元由3GPP定义了在一个网络里的处理功能,控制面网元具有3GPP定义的功能行为和3GPP定义的接口,NF能够作为一个运行在专有硬件上的网络元素,或者运行在专有硬件上的软件实例,或者在一个合适平台上进行实例化的虚拟功能,比如在一个云基础设备被实施。
下面对各个网元的主要功能做具体介绍。
(R)AN:(R)AN可以是AN,也可以是RAN。具体的,(R)AN可以是各种形式的基站,例如:宏基站,微基站,分散单元-控制单元(distribute unit-control unit,DU-CU)等。另外,上述基站还可以是云无线接入网络(cloud radio access network,CRAN)场景下的无线控制器,或者中继站、接入点、车载设备、可穿戴设备或者未来演进的公共陆地移动网络(public land mobile network,PLMN)网络中的网络设备等。(R)AN主要负责空口侧的无线资源管理、服务质量管理、数据压缩和加密等。
UPF:主要负责用户数据的转发和接收。UPF可以接收来自DN的下行数据,然后通过(R)AN将该下行数据传输给TE。UPF还可以通过(R)AN接收来自TE的收上行数据,然后将该上行数据转发到DN。
DN:例如:DN可以是运营商服务网络、互联网接入或第三方服务网络等。DN可以通过PDU会话与TE进行信息交互。其中,PDU会话可以分为多种类型,如互联网协议版本4(internet protocol version 4,IPv4)、IPv6等。
AMF:主要负责控制面消息的处理,例如:接入控制、移动性管理、附着与去附着以及网关选择等。
SMF:主要用于会话管理,会话建立,TE的IP地址分配和管理等。
AUSF:主要负责网络安全,用于产生密钥,实现对于TE的双向鉴权等。
PCF:主要用于管理策略规则,管理用户订阅信息等。
UDM:主要用于鉴权信用处理,用户标识处理,访问授权,注册/移动性管理,订阅管理和短消息管理等。
NEF:主要用于监控、计费等。
NRF:主要用于提供内部/外部寻址功能等。
AF:主要用于与3GPP核心网进行交互,以提供服务。
其中,图1中的NSSF等其他网元的功能,可以参考常规技术中的相关描述,这里不再赘述。
其中,图1所示的TE和(R)AN之间可以采用空口技术相互通信。如图1所示,N1为TE和AMF之间的参考点,N2为(R)AN和AMF之间的参考点,N3为(R)AN和UPF之间的参考点,N4为SMF和UPF之间的参考点,N6为UPF和DN之间的参考点。图1所示的Namf为AMF提供的基于服务的接口,Nsmf为SMF提供的基于服务的接口,Nausf为AUSF提供的基于服务的接口,Nnssf为NSSF提供的基于服务的接口,Nnef为NEF提供的基于服务的接口,Nnrf为NRF提供的基于服务的接口,Npcf为PCF提供的基于服务的接口,Nudm为UDM提供的基于服务的接口,Naf为AF提供的基于服务的接口。
其中,图1中具备服务生产者功能的NF可以称为NF服务生产者,具备服务消费者的NF可以称为NF服务消费者。在间接通信模式下,NF服务生产者和NF服务消费者之间可以通过一个或多个SCP(图1中未示出)通信。
需要说明的是,上述图1仅作为一种网络服务架构示例。本申请实施例提供的服务绑定的方法还可以应用于其他网络架构。例如,第五代之后发展的其他移动通信系统,本申请实施例对此不作限定。
可选的,本申请实施例图1中的各网元,可以是一个设备内的一个功能模块。可以理解的是,该功能模块既可以是硬件设备中的网络元件,也可以是在专用硬件上运行的软件功能,或者是平台(例如,云平台)上实例化的虚拟化功能。
例如,图1中的各网元或者与一个或多个网元连接的SCP(图1中未示出)均可以通过图2中的通信装置200来实现。图2所示为可适用于本申请实施例的通信装置的硬件结构示意图。该通信装置200可以包括至少一个处理器201,通信线路202,存储器203以及至少一个通信接口204。
处理器201可以是一个通用中央处理器(central processing unit,CPU),微处理器,特定应用集成电路(application-specific integrated circuit,ASIC),或一个或多个用于控制本申请方案程序执行的集成电路。
通信线路202可包括一通路,在上述组件之间传送信息,例如总线。
通信接口204,使用任何收发器一类的装置,用于与其他设备或通信网络通信,如以太网接口,无线接入网接口(radio access network,RAN),无线局域网接口(wireless local area networks,WLAN)等。
存储器203可以是只读存储器(read-only memory,ROM)或可存储静态信息和指令的其他类型的静态存储设备,随机存取存储器(random access memory,RAM)或者 可存储信息和指令的其他类型的动态存储设备,也可以是电可擦可编程只读存储器(electrically erasable programmable read-only memory,EEPROM)、只读光盘(compact disc read-only memory,CD-ROM)或其他光盘存储、光碟存储(包括压缩光碟、激光碟、光碟、数字通用光碟、蓝光光碟等)、磁盘存储介质或者其他磁存储设备、或者能够用于携带或存储具有指令或数据结构形式的期望的程序代码并能够由计算机存取的任何其他介质,但不限于此。存储器可以是独立存在,通过通信线路202与处理器相连接。存储器也可以和处理器集成在一起。本申请实施例提供的存储器通常可以具有非易失性。其中,存储器203用于存储执行本申请方案所涉及的计算机执行指令,并由处理器201来控制执行。处理器201用于执行存储器203中存储的计算机执行指令,从而实现本申请实施例提供的方法。
可选的,本申请实施例中的计算机执行指令也可以称之为应用程序代码,本申请实施例对此不作具体限定。
在具体实现中,作为一种实施例,处理器201可以包括一个或多个CPU,例如图2中的CPU0和CPU1。
在具体实现中,作为一种实施例,通信装置200可以包括多个处理器,例如图2中的处理器201和处理器207。这些处理器中的每一个可以是一个单核(single-CPU)处理器,也可以是一个多核(multi-CPU)处理器。这里的处理器可以指一个或多个设备、电路、和/或用于处理数据(例如计算机程序指令)的处理核。
下面将结合图1和图2对本申请实施例提供的服务绑定的方法进行具体阐述。其中,下述实施例中的网元或SCP可以具备图2所示部件。
需要说明的是,本申请下述实施例中各个网元之间的消息名字或消息中各参数的名字等只是一个示例,具体实现中也可以是其他的名字,本申请实施例对此不作具体限定。
可以理解的,本申请实施例中,第一NF,和/或第一SCP,和/或第二SCP,和/或第二NF可以执行本申请实施例中的部分或全部步骤,这些步骤仅是示例,本申请实施例还可以执行其它步骤或者各种步骤的变形。此外,各个步骤可以按照本申请实施例呈现的不同的顺序来执行,并且有可能并非要执行本申请实施例中的全部步骤。
需要说明的是,本申请实施例提供的服务绑定的方法是以第一NF和第二NF之间通过两个SCP进行通信为例,第一NF和第二NF之间通过一个或两个以上的SCP进行通信的过程,可以参考第一NF和第二NF之间通过两个SCP进行通信的过程,不予赘述。
如图3所示,为本申请实施例提供的一种服务绑定的方法,该服务绑定的方法包括步骤301-步骤308。
步骤301:第一NF向第一SCP发送第一服务的请求。
其中,第一NF可以是图1所示服务化架构中的任一网元。该第一NF可以具有服务消费者的功能,或者,该第一NF可以具有服务消费者和服务生产者的功能。
可选的,第一NF包括一个或多个服务实例。
可选的,该第一服务的请求用于请求该第一服务。
可选的,第一NF向第一SCP发送第一服务的请求,包括:第一NF的第一服务 实例向第一SCP发送第一服务的请求。第一NF的第一服务实例为该第一NF中的任一服务实例。
可选的,第一服务的请求包括第一参数。
可选的,第一参数包括第二NF的NF类型(target-nf-type)和第二NF对外提供的应用程序编程接口(application programming interface,API)标识(service-names)。
进一步可选的,第一参数还可以包括以下参数中的一个或者多个:第一NF的NF类型(requester-nf-type)、第一NF的第一服务实例的标识、第一NF的第一服务实例的地理位置或第一NF的第一服务实例的网络切片标识。
需要说明的是,该第一参数还可以有其他的命名,例如,发现与选择参数(discovery and selection parameters),不予限制。
步骤302:第一SCP接收来自第一NF的第一服务的请求,并根据第一服务的请求向第二SCP发送该第一服务的请求和第二字段。
可选的,第一SCP中存储有第一路由规则,该第一路由规则用于指示该第一SCP接收到的消息的发送规则。
可选的,第二字段包括在超文本传输协议(hypertext transfer protocol,HTTP)的请求头中。例如,该第二字段包括在X-Forwarded-For(XFF)头中。
其中,XFF是用于识别通过HTTP代理或负载均衡方式,连接到网络服务器的客户端最原始的IP地址的HTTP请求头字段。
可选的,该第二字段包括第一NF的第一服务实例的地址。例如,该第二字段包括第一NF的第一服务实例的IP地址。
需要说明的是,第一NF的第一服务实例的地址还可以是第一NF的第一服务实例的域名,或第一NF的第一服务实例的统一资源定位器(uniform resource locator,URL)地址等。
可选的,第一SCP根据第一服务的请求向第二SCP发送该第一服务的请求和第二字段,包括:第一SCP根据该第一参数以及第一SCP的第一路由规则确定第二SCP;第一SCP向该第二SCP发送该第一服务的请求和第二字段。
进一步可选的,第一SCP向该第二SCP发送该第一服务的请求和第二字段,包括:第一SCP将该第二字段加入第一XFF请求头中;第一SCP向第二SCP发送第一服务的请求和第一XFF请求头。
需要说明的是,在第一SCP将该第二字段加入该第一XFF请求头中之前,该第一XFF请求头为空。
步骤303:第二SCP接收来自第一SCP的第一服务的请求和第二字段,并根据该第一服务的请求向第二NF发送第一服务的请求和第五字段。
可选的,第二SCP接收来自第一SCP的第一服务的请求和第二字段,包括:第二SCP接收来自第一SCP的第一服务的请求和第一XFF请求头。
可选的,该第二NF是图1所示服务化架构中的任一网元。该第二NF具有服务消费者的功能,或者,该第一NF具有服务消费者和服务生产者的功能。
可选的,该第二NF可以包括一个或多个服务实例。
进一步可选的,第一服务的请求还包括第二SCP的地址。
示例性的,第二SCP的地址可以是第二SCP的IP地址、第二SCP的域名,或第二SCP的URL地址等。
该第五字段可以包括第一NF的第一服务实例的地址,以及前n-1个SCP的地址,n为从该第一NF到该第二NF经过的SCP的个数。
本申请实施例是以第一NF和第二NF之间通过两个SCP进行通信为例,因此,n=2,第五字段包括第一NF的第一服务实例的地址以及第一SCP的地址。
其中,第一SCP的地址可以是第一SCP的IP地址、第一SCP的域名,或第一SCP的URL地址等。
可选的,第二SCP中存储有第二路由规则,该第二路由规则用于指示该第二SCP接收到的消息的发送规则。
其中,第二路由规则和第一路由规则可以相同也可以不同。
可选的,第二SCP根据该第一服务的请求向第二NF发送第一服务的请求和第五字段,包括:第二SCP根据该第一服务的请求向第二NF的第一服务实例发送第一服务的请求和第五字段,其中,第二NF的第一服务实例为第二NF中的任一服务实例。
进一步可选的,第二SCP根据该第一服务的请求向第二NF的第一服务实例发送第一服务的请求和第五字段,包括:第二SCP根据该第一参数以及第二SCP的第二路由规则确定第二NF的第一服务实例;第二SCP向第二NF的第一服务实例发送第一服务的请求和第五字段。
进一步可选的,第二SCP向第二NF的第一服务实例发送第一服务的请求和第五字段,包括:第二SCP将该第一SCP的地址加入第一XFF请求头中;第二SCP向第二NF的第一服务实例发送第一服务的请求和第二XFF请求头。
其中,第二XFF请求头包括第一NF的第一服务实例的地址以及第一SCP的地址,即该第二XFF请求头包括第五字段。
需要说明的是,现有技术中,第一SCP根据第一参数以及第一SCP的第一路由规则确定第二SCP,以及第二SCP根据第一参数以及第二SCP的路由规则确定第二NF均是一个较为复杂的过程,第一SCP需要进行多次条件选择确定第二SCP,第二SCP也需要进行多次条件选择确定第二NF,而本申请实施例提供的服务绑定的方法,第一SCP可以直接根据请求头中的字段确定第二SCP,第二SCP可以直接根据请求头中的字段确定第二NF,从而简化了间接通信模式下建立绑定关系的两个网络功能之间的通信过程,提高信息转发的性能。
步骤304:第二NF接收来自第二SCP的第一服务的请求和第五字段,若第二NF确定绑定第二NF的第一服务实例,第二NF根据该第五字段生成第一路由信息。
可选的,第二NF包括一个或多个服务实例。
可选的,第二NF接收来自第二SCP的第一服务的请求和第五字段,包括:第二NF接收来自第二SCP的第一服务的请求和第二XFF请求头。
可选的,该第一路由信息包括从第一NF到第二NF所经过的SCP的地址以及第二NF的第一服务实例的地址。
本申请实施例中,从第一NF到第二NF所经过的SCP包括第一SCP和第二SCP,因此,第一路由信息可以包括:第一SCP的地址、第二SCP的地址以及第二NF的第 一服务实例的地址。
其中,第二NF的第一服务实例可以用于为第一NF的第一服务实例提供服务。
其中,第二NF的第一服务实例的地址可以是第二NF的第一服务实例的IP地址、第二NF的第一服务实例的域名,或第二NF的第一服务实例的URL地址等。
可选的,该第一路由信息还包括:第一NF的第一服务实例的地址。
可选的,第二NF根据该第五字段生成第一路由信息,包括:第二NF将从第一NF到第二NF所经过的SCP的地址以及第二NF的第一服务实例的地址,按顺序加入第一路由信息中;或者,第二NF根据该第五字段生成第一路由信息,包括:第二NF将第一NF的第一服务实例的地址、从第一NF到第二NF所经过的SCP的地址以及第二NF的第一服务实例的地址,按顺序加入第一路由信息中。
可选的,若第二NF确定不绑定第二NF的第一服务实例,第二NF经第二SCP以及第一SCP向第一NF发送服务响应,该服务响应用于指示第二NF的第一服务实例为该第一NF的第一服务实例提供该第一服务。
可选的,该服务响应包括第二NF的第一服务实例的地址和/或第二NF的第一服务实例的标识。
步骤305:第二NF向第二SCP发送第一服务的响应。
其中,第一服务的响应包括第一路由信息。
可选的,第一服务的响应还包括和第二绑定信息。
其中,第二绑定信息可以用于指示绑定第二NF的第一服务实例。也就是说,第一NF接收到第一服务的响应后(或第一NF接收到第一服务响时),第一NF发送的第一资源的服务请求均由第二NF的第一服务实例进行处理。即在第一NF接收到第一服务的响应后(或第一NF接收到第一服务响时),以及在第一NF接收到绑定解除信息之前,第一NF发送的第一资源的服务请求均会路由到第二NF的第一服务实例。
其中,该第一资源是第二NF为第一服务的请求创建的资源。
可选的,第一服务的请求是第一资源的服务请求。
可选的,第二绑定信息包括第一资源的地址。
其中,第一资源的地址可以是第一资源的IP地址、第一资源的域名,或第一资源的URL地址。
步骤306:第二SCP接收来自第二NF的第一服务的响应,并将该第一服务的响应转发给第一SCP。
步骤307:第一SCP接收到来自第二SCP的第一服务的响应,并将该第一服务的响应转发给第一NF。
步骤308:第一NF接收来自第一SCP的第一服务的响应。
可选的,第一NF接收到第一服务的响应后(或第一NF接收到第一服务响时),将该第一路由信息保存到本地;或者,第一NF接收到第一服务的响应后(或第一NF接收到第一服务响时),将该第一路由信息和第二绑定信息保存到本地。
基于图3所示方法,第一NF可以向第一SCP发送第一服务的请求,第一SCP接收到该第一服务的请求后,可以根据该第一服务的请求和第一SCP中存储的第一路由规则确定第二SCP,并向第二SCP发送第一服务的请求和第二字段,第二SCP接收到 该第一服务的请求和第二字段后,可以根据第一服务的请求和第二路由规则确定第二NF,并向第二NF发送第一服务的请求和第五字段,第二NF接收到第一服务的请求和第五字段后,若确定绑定第二NF的第一服务实例,可以根据第五字段生成第一路由信息,并将该第一路由信息包括在第一服务的响应经第二SCP和第一SCP发送给第一NF,后续,若第一NF再次发送第一资源的服务请求时,第一NF和第二NF之间的SCP可以不用进行规则匹配和路由,而是根据第一路由信息将该服务请求经第一SCP和第二SCP发送给第二NF,可以提高消息转发性能。
进一步可选的,在图3所示方法的第一种实现场景中,第一NF可以向第二NF发送第二服务的请求和第一字段,第一NF和第二NF之间的SCP可以不用进行规则匹配和路由,而是根据第一路由信息将第二服务的请求经第一SCP和第二SCP发送给第二NF。
如图4所示,图3所示方法还包括步骤309-步骤313。
步骤309:第一NF根据第一路由信息生成第一字段。
其中,第一字段可以包括在新增的HTTP的请求头中,第一字段用于指示从第一NF到第二NF的第一服务实例的通信路径。
可选的,该新增的HTTP的请求头可以命名为X-3gpp-Disc-Forwarded。
需要说明的是,X-3gpp-Disc-Forwarded仅是新增的HTTP的请求头的名字的示例,该新增的HTTP的请求头还可以是其他名字,不予限制。
可选的,第一NF确定发送第一资源对应的第二服务的请求,第一NF根据第一路由信息生成第一字段。
需要说明的是,该第二服务的请求可以是第一NF的第一服务实例发送的,也可以是第一NF的其他服务实例发送的。下面以第二服务的请求是第一NF的第一服务实例发送的为例进行介绍。
可选的,第一字段包括第一NF的第一服务实例的地址、第一SCP的地址、第二SCP的地址以及第二NF的第一服务实例的地址;或者,第一字段包括第一SCP的地址、第二SCP的地址以及第二NF的第一服务实例的地址;或者,第一字段包括第二SCP的地址以及第二NF的第一服务实例的地址。
可选的,第一NF根据第一路由信息生成第一字段,包括:第一NF将第一路由信息中的全部地址确定为第一字段;或者,第一NF将第一路由信息中,除第一NF的第一服务实例的地址之外的地址确定为第一字段;或者,第一NF将第一路由信息中,除第一NF的第一服务实例的地址以及从第一NF到第二NF的第1个SCP的地址之外的地址,确定为第一字段。
步骤310:第一NF向第一SCP发送第二服务的请求和第一字段。
其中,第二服务的请求用于请求第二NF的第一服务实例为第一NF的服务实例提供该第二服务。
可选的,该第二服务与第一服务可以相同也可以不同。
可选的,第二服务的请求包括第二参数。
其中,第二参数的描述可以参考上述第一参数的描述。第二参数和第一参数可以相同也可以不同。
可选的,第一NF向第一SCP发送第二服务的请求和第一字段,包括:第一NF向第一SCP发送第二服务的请求和第一X-3gpp-Disc-Forwarded请求头。
其中,第一X-3gpp-Disc-Forwarded请求头可以包括第一NF的第一服务实例的地址、第一SCP的地址、第二SCP的地址以及第二NF的第一服务实例的地址;或者,第一字段包括第一SCP的地址、第二SCP的地址以及第二NF的第一服务实例的地址;或者,第一字段包括第二SCP的地址以及第二NF的第一服务实例的地址。
需要说明的是,第一字段也可以包括在第二服务的请求中。
步骤311:第一SCP接收来自第一NF的第二服务的请求和第一字段,并向第二SCP发送第二服务的请求和第三字段。
可选的,第一SCP接收来自第一NF的第二服务的请求和第一字段,包括:第一SCP接收来自第一NF的第二服务的请求和第一X-3gpp-Disc-Forwarded请求头。
可选的,第三字段包括从第一NF到第二NF所述经过的SCP中,在第二SCP之后的SCP的地址,以及第二NF的第一服务实例的地址。
本申请实施例中,从第一NF到第二NF经过第一SCP和第二SCP,因此,第三字段包括第二NF的第一服务实例的地址。
需要说明的是,第三字段也可以与第一字段相同,即第三字段也可以包括第一NF的第一服务实例的地址、第一SCP的地址、第二SCP的地址以及第二NF的第一服务实例的地址;或者,第三字段可以包括第一SCP的地址、第二SCP的地址以及第二NF的第一服务实例的地址;或者,第三字段可以包括第二SCP的地址以及第二NF的第一服务实例的地址。
可选的,第一SCP向第二SCP发送第二服务的请求和第三字段,包括:第一SCP根据第一字段确定第二SCP;第一SCP向第二SCP发送第二服务的请求和第三字段。
进一步可选的,第一SCP向第二SCP发送第二服务的请求和第三字段,包括:第一SCP将第一字段中,第二SCP以及第二SCP之前的节点的地址从第一字段中移除得到第三字段;第一SCP向第二SCP发送第二服务的请求和第三字段。
可选的,第三字段包括在第二X-3gpp-Disc-Forwarded请求头。
需要说明的是,若第三字段与第一字段相同,则第一SCP不需要将第一字段中,第二SCP以及第二SCP之前的节点的地址从第一字段中移除得到第三字段,而是在根据第一字段确定第二SCP后,向第二SCP发送第二服务的请求和该第一字段。
进一步可选的,第一SCP向第二SCP发送第二服务的请求和第三字段,还包括:第一SCP将第一NF的第一服务实例的地址加入第三XFF请求头中,第一SCP向第二SCP发送该第二服务的请求、第三字段和该第三XFF请求头。
其中,第三XFF请求头在第一SCP将第一NF的第一服务实例的地址加入第三XFF请求头中之前为空。
步骤312:第二SCP接收来自第一SCP的第二服务的请求和第三字段,并向第二NF发送第二服务的请求。
可选的,第二SCP向第二NF发送第二服务的请求,包括:第二SCP根据第三字段确定第二NF;第二SCP向第二NF发送第二服务的请求。
进一步可选的,第二SCP向第二NF发送第二服务的请求,还包括:第二SCP将 第一SCP的地址加入第三XFF请求头中,得到第四XFF请求头,第二SCP向第二NF发送该第二服务的请求和该第四XFF请求头。
步骤313:第二NF接收来自第二SCP的第二服务的请求。
可选的,第二NF接收来自第二SCP的第二服务的请求之后,还包括:第二NF经过第二SCP和第一SCP向第一NF发送第二服务的响应。
其中,第二服务的响应可以用于指示第二NF的第一服务实例为该第一NF的第一服务实例提供该第二服务。
基于图4所示的方法,第二NF与第一NF建立绑定关系后,第一NF确定发送第二服务的请求时,第一NF可以根据第一路由信息得到第一字段,并向第一SCP发送第二服务的请求和第一字段,第一SCP接收到该第二服务的请求和第一字段后,不需要进行路由匹配,可以根据第一字段确定第二SCP并向第二SCP发送第二服务的请求和第三字段,第二SCP也不需要进行路由匹配,可以根据第三字段确定第二NF,并向第二NF发送第二服务的请求,在这个过程中第一SCP和第二SCP不需要进行路由匹配,简化了间接通信模式下建立绑定关系的两个NF之间的通信过程,提高了信息转发的性能。
进一步可选的,在图3所示方法的第二种实现场景中,第一NF既具有服务消费者的功能又具有服务生产者的功能,第二NF也既具有服务消费者的功能又具有服务生产者的功能,因此,第一服务的请求还可以包括第一绑定信息,其中,该第一绑定信息用于指示绑定第一NF的第一服务实例。
可选的,第一绑定信息包括第二资源的地址。该第二资源为第一NF创建的资源。
第二资源的地址可以是第二资源的IP地址、第二资源的域名或第二资源的URL地址等。
如图5所示,图4所示的方法还可以包括步骤314-步骤318。
步骤314:第二NF根据第五字段生成第六字段。
一种可能的实现方式,第二NF可以在接收到来自第二SCP的第一服务的请求和第五字段后,将该第一服务的请求中的第二SCP的地址和第五字段保存在本地,后续,第二NF接收到该第一绑定信息后,当第二NF向第一NF发送第二资源的服务请求时,第二NF可以根据第五字段和第二SCP的地址生成第六字段。
其中,该第六字段可以用于指示从第二NF到第一NF的第一服务实例的通信路径。
需要说明的是,第二NF接收到该第一绑定信息后,第二NF的任一服务实例可以向第一NF发送第二资源的服务请求,下面以第二NF的第一服务实例向第一NF发送第二资源的服务请求为例进行介绍。
可选的,第六字段包括第二NF的第一服务实例的地址、第二SCP的地址、第一SCP的地址以及第一NF的第一服务实例的地址;或者,第六字段包括第二SCP的地址、第一SCP的地址以及第一NF的第一服务实例的地址;或者,第六字段包括第一SCP的地址以及第一NF的第一服务实例的地址。
可选的,第二NF根据第五字段和第二SCP的地址生成第六字段,包括:第二NF将第二NF的第一服务实例的地址、第二SCP的地址、第一SCP的地址以及第一NF的第一服务实例的地址按顺序加入第六字段中;或者,第二NF将第二SCP的地址、 第一SCP的地址以及第一NF的第一服务实例的地址按顺序加入第六字段中;或者,第二NF将第一SCP的地址以及第一NF的第一服务实例的地址按顺序加入第六字段中。
另一种可能的实现方式,第二NF可以在接收到来自第二SCP的第一服务的请求和第五字段后,根据该第一服务的请求中的第二SCP的地址和第五字段得到第二路由信息,并将该第二路由信息保存在本地,后续,第二NF接收到该第一绑定信息后,当第二NF向第一NF发送第二资源的服务请求时,第二NF可以根据第二路由信息生成该第六字段。
其中,第二路由信息可以包括从第二NF到第一NF所经过的SCP地址,以及第一NF的第一服务实例的地址。
本申请实施例中,第二NF到第一NF经过了第二SCP和第一SCP,因此,第二路由信息可以包括:第二SCP的地址、第一SCP的地址以及第一NF的第一服务实例的地址。
可选的,第二路由信息还可以包括第二NF的第一服务实例的地址。
可选的,第二NF根据该第一服务的请求中的第二SCP的地址和第五字段得到第二路由信息,包括:第二NF将第二SCP的地址、第一SCP的地址以及第一NF的第一服务实例的地址按顺序加入第二路由信息中;或者,第二NF将第二NF的第一服务实例的地址、第二SCP的地址、第一SCP的地址以及第一NF的第一服务实例的地址按顺序加入第二路由信息中。
可选的,第二NF根据第二路由信息生成该第六字段,包括:第二NF将第二路由信息中的全部地址确定为第六字段;或者,第二NF将第二路由信息中,除第二NF的第一服务实例的地址之外的地址确定为第六字段;或者,第二NF将第二路由信息中,除第二NF的第一服务实例的地址以及从第二NF到第一NF的第1个SCP的地址之外的地址,确定为第六字段。
步骤315:第二NF向第二SCP发送第三服务的请求和第六字段。
其中,第三服务的请求用于请求第一NF的第一服务实例为第二NF的服务实例提供该第三服务。
第三服务的请求可以包括第三参数。
可选的,第三参数包括第一NF的NF类型和第一NF对外提供的API标识。
进一步可选的,第三参数还可以包括以下参数中的一个或者多个:第二NF的第一服务实例的标识、第二NF的第一服务实例的地理位置或第二NF的第一服务实例的网络切片标识。
需要说明的是,该三参数还可以有其他的命名,例如,发现与选择参数(discovery and selection parameters),不予限制。
可选的,第二NF向第二SCP发送第三服务的请求和第六字段,包括:第二NF向第二SCP发送第三服务的请求和第三X-3gpp-Disc-Forwarded请求头。
其中,第三X-3gpp-Disc-Forwarded请求头可以包括第六字段。
需要说明的是,第六字段也可以包括在第三服务的请求中。
步骤316:第二SCP接收来自第二NF的第三服务的请求和第六字段,并向第一 SCP发送第三服务的请求和第四字段。
可选的,第二SCP接收来自第二NF的第三服务的请求和第六字段,包括:第二SCP接收来自第二NF的第三服务的请求和第三X-3gpp-Disc-Forwarded请求头。
可选的,第四字段包括从第二NF到第一NF所经过的SCP中,在第一SCP之后的SCP的地址,以及第一NF的第一服务实例的地址。
本申请实施例中,从第二NF到第一NF经过第二SCP和第一SCP,因此,第四字段包括第一NF的第一服务实例的地址。
需要说明的是,第四字段也可以与第六字段相同,即第四字段也可以包括第二NF的第一服务实例的地址、第二SCP的地址、第一SCP的地址以及第一NF的第一服务实例的地址;或者,第四字段也可以第二SCP的地址、第一SCP的地址以及第一NF的第一服务实例的地址;或者,第四字段也可以包括第一SCP的地址以及第一NF的第一服务实例的地址。
可选的,第二SCP向第一SCP发送第三服务的请求和第四字段,包括:第二SCP根据第六字段确定第一SCP;第二SCP向第一SCP发送第三服务的请求和第四字段。
进一步可选的,第二SCP向第一SCP发送第三服务的请求和第四字段,包括:第一SCP将第六字段中,第二SCP以及第二SCP之前的节点的地址从第六字段中移除得到第四字段;第二SCP向第一SCP发送第三服务的请求和第四字段。
可选的,第四字段包括在第四X-3gpp-Disc-Forwarded请求头。
需要说明的是,若第四字段与第六字段相同,则第二SCP不需要将第六字段中,第一SCP以及第一SCP之前的节点的地址从第六字段中移除得到第四字段,而是在根据第六字段确定第一SCP后,向第一SCP发送第三服务的请求和该第四字段。
进一步可选的,第二SCP向第一SCP发送第三服务的请求和第四字段,还包括:第二SCP将第二NF的第一服务实例的地址加入第五XFF请求头中,第二SCP向第一SCP发送该第三服务的请求、该第四字段和该第五XFF请求头。
其中,第五XFF请求头在第二SCP将第二NF的第一服务实例的地址加入第五XFF请求头中之前为空。
步骤317:第一SCP接收来自第二SCP的第三服务的请求和第四字段,并向第一NF发送第三服务的请求。
可选的,第一SCP向第一NF发送第三服务的请求,包括:第一SCP根据第四字段确定第一NF;第一SCP向第一NF发送第三服务的请求。
进一步可选的,第一SCP向第一NF发送第三服务的请求,还包括:第一SCP将第二SCP的地址加入第五XFF请求头中,得到第六XFF请求头;第一SCP向第一NF发送该第三服务的请求和该第六XFF请求头。
步骤318:第一NF接收来自第一SCP的第三服务的请求。
可选的,第一NF接收来自第一SCP的第三服务的请求之后,还包括:第一NF经过第一SCP和第二SCP向第二NF发送第三服务的响应。
其中,第三服务的响应可以用于指示第一NF的第一服务实例为该第二NF的第一服务实例提供该第三服务。
基于图5所示的方法,第一NF既具有服务消费者的功能又具有服务生产者的功 能,第二NF也既具有服务消费者的功能又具有服务生产者的功能,第一NF发送的第一服务的请求以及第二SCP发送的第一服务的请求还包括第一绑定信息,第二NF接收到该第一绑定信息后,可以根据第五字段生成第六字段,并向第二SCP发送第三服务的请求和第六字段,第二SCP接收到该第三服务的请求和第六字段后,可以根据第六字段确定第一SCP并向第一SCP发送三服务的请求和第四字段,第一SCP接收到三服务的请求和第四字段后,可以根据第四字段确定第一NF并向第一NF发送第三服务的请求,在这个过程中第二SCP和第一SCP不需要进行路由匹配,简化了间接通信模式下建立绑定关系的两个NF之间的通信过程,提高了信息转发的性能。
图3所示方法、图4所示方法以及图5所示方法均是以第一NF具有服务消费者的功能,或者,第一NF既具有服务消费者的功能又具有服务生产者的功能,第二NF具有服务生产者的功能,或者,第二NF既具有服务消费者的功能又具有服务生产者的功能为例,介绍接收服务绑定的方法,下面以第一NF既具有服务消费者的功能又具有服务生产者的功能,第二NF既具有服务消费者的功能又具有服务生产者的功能为例,介绍服务绑定的方法。
如图6所示,为本申请实施例提供的又一种服务绑定的方法,该服务绑定的方法包括步骤601-步骤609。
步骤601:第一NF向第一SCP发送第一服务的请求。
步骤601的具体过程可以参考上述步骤301中的介绍,不予赘述。
需要说明的是,该第一服务的请求除了包括第一参数之外,还可以包括第一绑定信息,其中,该第一绑定信息用于指示绑定第一NF的第一服务实例。
步骤602:第一SCP接收来自第一NF的第一服务的请求,并根据第一服务的请求向第二SCP发送该第一服务的请求和第二字段。
步骤602的具体过程可以参考上述步骤302中的介绍,不予赘述。
步骤603:第二SCP接收来自第一SCP的第一服务的请求和第二字段,并根据该第一服务的请求向第二NF发送第一服务的请求和第五字段。
步骤603的具体过程可以参考上述步骤303中的介绍,不予赘述。
需要说明的是,该第一服务的请求除了包括二SCP的地址之外,还可以包括第一绑定信息。
步骤604:第二NF接收来自第二SCP的第一服务的请求和第五字段。
步骤605:第二NF根据第五字段生成第六字段。
步骤606:第二NF向第二SCP发送第三服务的请求和第六字段。
步骤607:第二SCP接收来自第二NF的第三服务的请求和第六字段,并向第一SCP发送第三服务的请求和第四字段。
步骤608:第一SCP接收来自第二SCP的第三服务的请求和第四字段,并向第一NF发送第三服务的请求。
步骤609:第一NF接收来自第一SCP的第三服务的请求。
步骤605-步骤609的具体过程可以参考上述步骤314-步骤318中的介绍,不予赘述。
基于图6所示的方法,第一NF既具有服务消费者的功能又具有服务生产者的功 能,第二NF也既具有服务消费者的功能又具有服务生产者的功能,第一NF可以在发送的第一服务的请求中包括第一绑定信息,第二NF接收到该第一绑定信息后,可以在作为服务消费者时,不用向第一NF发请求就可以与第一NF的第一服务实例建立绑定关系,后续,第二NF可以根据第五字段生成第六字段,并向第二SCP发送第三服务的请求和第六字段,第二SCP接收到该第三服务的请求和第六字段后,可以根据第六字段确定第一SCP并向第一SCP发送第三服务的请求和第四字段,第一SCP接收到第三服务的请求和第四字段后,可以根据第四字段确定第一NF并向第一NF发送第三服务的请求,在这个过程中第二SCP和第一SCP不需要进行路由匹配,简化了间接通信模式下建立绑定关系的两个NF之间的通信过程,提高了信息转发的性能。
上述主要从各个网元之间交互的角度对本申请实施例提供的方案进行了介绍。可以理解的是,上述第一NF、第一SCP、第二SCP或者第二NF等为了实现上述功能,其包含了执行各个功能相应的硬件结构和/或软件模块。本领域技术人员应该很容易意识到,结合本文中所公开的实施例描述的各示例的单元及算法操作,本申请能够以硬件或硬件和计算机软件的结合形式来实现。某个功能究竟以硬件还是计算机软件驱动硬件的方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
本申请实施例可以根据上述方法示例对第一NF、第一SCP或者第二NF进行功能模块的划分,例如,可以对应各个功能划分各个功能模块,也可以将两个或两个以上的功能集成在一个处理模块中。上述集成的模块既可以采用硬件的形式实现,也可以采用软件功能模块的形式实现。需要说明的是,本申请实施例中对模块的划分是示意性的,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式。
比如,以采用集成的方式划分各个功能模块的情况下,图7示出了一种通信装置70的结构示意图。该通信装置70可以为第一NF或者第一NF中的芯片或者片上系统,该通信装置70可以用于执行上述实施例中涉及的第一NF的功能。
作为一种可能的实现方式,图7所示的通信装置70包括:发送模块701和接收模块702。
发送模块701,用于向第一服务通信代理SCP发送第一服务的请求,其中,该第一服务的请求用于请求该第一服务。
接收模块702,用于接收来自该第一SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,该第一路由信息包括从通信装置70到第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,该第二网络功能的第一服务实例用于为通信装置70提供服务。
可选的,如图8所示,通信装置70还包括:处理模块703;处理模块703,用于根据该第一路由信息生成第一字段,其中,该第一字段用于指示从通信装置70到该第二网络功能的第一服务实例的通信路径;发送模块701,还用于向该第一SCP发送第二服务的请求和该第一字段,其中,该第二服务的请求用于请求该第二网络功能的第一服务实例为通信装置70的服务实例提供该第二服务。
可选的,通信装置70具有服务消费者的功能。
可选的,通信装置70还具有服务生产者的功能,该第一服务的请求还包括第一绑定信息,其中,该第一绑定信息用于指示绑定通信装置70的第一服务实例。
可选的,接收模块702,用于接收来自该第一SCP的第三服务的请求,其中,该第三服务的请求用于请求通信装置70的第一服务实例为该第二网络功能的服务实例提供该第三服务。
其中,上述方法实施例涉及的各操作的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在本实施例中,该通信装置70以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置70可以采用图2所示的形式。
比如,图2中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得通信装置70执行上述方法实施例中的信道状态信息参考信号的传输方法。
示例性的,图8中的发送模块701、接收模块702和处理模块703的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现。或者,图8中的处理模块703的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现,图8中的发送模块701和接收模块702的功能/实现过程可以通过图2中的通信接口204来实现。
由于本实施例提供的通信装置70可执行上述的服务绑定的方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。
比如,以采用集成的方式划分各个功能模块的情况下,图9示出了一种通信装置90的结构示意图。该通信装置90可以为第一SCP或者第一SCP中的芯片或者片上系统,该通信装置90可以用于执行上述实施例中涉及的第一SCP的功能。
作为一种可能的实现方式,图9所示的通信装置90包括:接收模块901和发送模块902。
接收模块901,用于接收来自第一网络功能的第一服务的请求,其中,该第一服务的请求用于请求该第一服务。
发送模块902,用于根据该第一服务的请求向第二SCP发送该第一服务的请求以及第二字段,其中,该第二字段包括该第一网络功能的第一服务实例的地址。
接收模块901,还用于接收来自该第二SCP的第一服务的响应,其中,该第一服务的响应包括第一路由信息,该第一路由信息包括从该第一网络功能到第二网络功能所经过的SCP的地址以及该第二网络功能的第一服务实例的地址,该第二网络功能的第一服务实例用于为该第一网络功能提供服务。
发送模块902,还用于向该第一网络功能发送该第一服务的响应。
可选的,接收模块901,还用于接收来自该第一网络功能的第二服务的请求和第一字段,其中,该第二服务的请求用于请求该第二网络功能的第一服务实例为该第一网络功能的服务实例提供该第二服务,该第一字段用于指示从该第一网络功能到该第二网络功能的第一服务实例的通信路径;发送模块902,还用于根据该第一字段向该第二SCP发送该第二服务的请求和第三字段,其中,该第三字段包括从该第一网络功 能到该第二网络功能该经过的SCP中,在该第二SCP之后的SCP的地址,以及该第二网络功能的第一服务实例的地址。
可选的,发送模块902,具体用于根据该第一字段确定该第二SCP;发送模块902,还具体用于向该第二SCP发送该第二服务的请求和该第三字段。
可选的,该第一网络功能具有服务消费者的功能。
可选的,该第一网络功能还具有服务生产者的功能,该第一服务的请求还包括第一绑定信息,其中,该第一绑定信息用于指示绑定该第一网络功的第一服务实例。
可选的,接收模块901,还用于接收来自该第二SCP的第三服务的请求以及第四字段,其中,该第三服务的请求用于请求该第一网络功能的第一服务实例为该第二网络功能的服务实例提供该第三服务,该第四字段包括从该第二网络功能到该第一网络功能所经过的SCP中,在该通信装置90之后的SCP的地址,以及该第一网络功能的第一服务实例的地址;发送模块902,还用于向所第一网络功能发送该第三服务的请求。
其中,上述方法实施例涉及的各操作的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在本实施例中,该通信装置90以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置90可以采用图2所示的形式。
比如,图2中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得通信装置90执行上述方法实施例中的服务绑定的方法。
示例性的,图9中的接收模块901和发送模块902的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现。或者,图9中的接收模块901和发送模块902的功能/实现过程可以通过图2中的通信接口204来实现。
由于本实施例提供的通信装置90可执行上述的服务绑定的方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。
比如,以采用集成的方式划分各个功能模块的情况下,图10示出了一种通信装置100的结构示意图。该通信装置100可以为第二NF或者第二NF中的芯片或者片上系统,该通信装置100可以用于执行上述实施例中涉及的第二NF的功能。
作为一种可能的实现方式,图10所示的通信装置100包括:接收模块1001、处理模块1002和发送模块1003。
接收模块1001,用于接收来自第二服务通信代理SCP的第一服务的请求和第五字段,其中,该第一服务的请求用于请求该第一服务,该第五字段包括该第一网络功能的第一服务实例的地址,以及前n-1个SCP的地址,n为从该第一网络功能到通信装置100经过的SCP的个数。
处理模块1002,用于若通信装置100确定绑定通信装置100的第一服务实例,根据该第五字段生成第一路由信息,其中,该第一路由信息包括从该第一网络功能到通信装置100所经过的SCP的地址以及通信装置100的第一服务实例的地址,通信装置100的第一服务实例用于为该第一网络功能提供服务。
发送模块1003,用于向该第二SCP发送第一服务的响应,其中,该第一服务的响应包括该第一路由信息。
可选的,接收模块1001,还用于接收来自该第二SCP的第二服务的请求,其中,该第二服务的请求用于请求通信装置100的第一服务实例为该第一网络功能的服务实例提供该第二服务。
可选的,该第一网络功能具有服务消费者的功能;通信装置100具有服务生产者的功能。
可选的,该第一网络功能还具有服务生成者的功能,该第一服务的请求还包括第一绑定信息,其中,该第一绑定信息用于指示绑定该第一网络功能的第一服务实例。
可选的,通信装置100还具有服务消费者的功能,处理模块1002,还用于根据该第五字段生成第六字段,其中,该第六字段用于指示从通信装置100到该第一网络功能的第一服务实例的通信路径;发送模块1003,还用于向该第二SCP发送第三服务的请求和该第六字段,其中,该第三服务的请求用于请求该第一网络功能的第一服务实例为通信装置100的服务实例提供该第三服务。
其中,上述方法实施例涉及的各操作的所有相关内容均可以援引到对应功能模块的功能描述,在此不再赘述。
在本实施例中,该通信装置100以采用集成的方式划分各个功能模块的形式来呈现。这里的“模块”可以指特定ASIC,电路,执行一个或多个软件或固件程序的处理器和存储器,集成逻辑电路,和/或其他可以提供上述功能的器件。在一个简单的实施例中,本领域的技术人员可以想到该通信装置100可以采用图2所示的形式。
比如,图2中的处理器201可以通过调用存储器203中存储的计算机执行指令,使得通信装置100执行上述方法实施例中的服务绑定的方法。
示例性的,图10中的接收模块1001、处理模块1002和发送模块1003的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现。或者,图10中的处理模块1002的功能/实现过程可以通过图2中的处理器201调用存储器203中存储的计算机执行指令来实现,图10中的接收模块1001和发送模块1003的功能/实现过程可以通过图2中的通信接口204来实现。
由于本实施例提供的通信装置100可执行上述的服务绑定的方法,因此其所能获得的技术效果可参考上述方法实施例,在此不再赘述。
图11示出了的一种通信系统的组成示意图,如图11所示,该通信系统110中可以包括:NF 1101、SCP 1102、SCP 1103和NF 1104。需要说明的是,图11仅为示例性附图,本申请实施例不限定图11所示通信系统110包括的网元以及网元的个数。
其中,NF 1101具有上述图7或图8所示通信装置70的功能,例如,可以用于向SCP 1102发送第一服务的请求,并接收来自该SCP 1102的第一服务的响应。
SCP 1102具有上述图9所示通信系统90的功能,例如,可以用于接收来自NF 1101的第一服务的请求,根据该第一服务的请求向SCP 1103发送该第一服务的请求以及第二字段,接收来自SCP 1103的第一服务的响应,并向该NF 1101发送该第一服务的响应。
SCP 1103可以接收来自SCP 1102的第一服务的请求和第二字段,向NF 1104发 送第一服务的请求和第五字段,接收来自NF 1104的第一服务的响应,并向SCP 1102发送该第一服务的响应。
NF 1104具有上述图10所示通信装置100的功能,例如,可以用于接收来自SCP 1103的第一服务的请求和第五字段,若NF 1104确定绑定NF 1104的第一服务实例,根据该第五字段生成第一路由信息,并向SCP 1103发送第一服务的响应。
需要说明的是,上述方法实施例涉及的各步骤的所有相关内容均可以援引到该通信系统110对应网元的功能描述,在此不再赘述。
在上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件程序实现时,可以全部或部分地以计算机程序产品的形式来实现。该计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行计算机程序指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或者数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可以用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带),光介质(例如,DVD)、或者半导体介质(例如固态硬盘(solid state disk,SSD))等。
尽管在此结合各实施例对本申请进行了描述,然而,在实施所要求保护的本申请过程中,本领域技术人员通过查看所述附图、公开内容、以及所附权利要求书,可理解并实现所述公开实施例的其他变化。在权利要求中,“包括”(comprising)一词不排除其他组成部分或步骤,“一”或“一个”不排除多个的情况。单个处理器或其他单元可以实现权利要求中列举的若干项功能。相互不同的从属权利要求中记载了某些措施,但这并不表示这些措施不能组合起来产生良好的效果。
尽管结合具体特征及其实施例对本申请进行了描述,显而易见的,在不脱离本申请的精神和范围的情况下,可对其进行各种修改和组合。相应地,本说明书和附图仅仅是所附权利要求所界定的本申请的示例性说明,且视为已覆盖本申请范围内的任意和所有修改、变化、组合或等同物。显然,本领域的技术人员可以对本申请进行各种改动和变型而不脱离本申请的精神和范围。这样,倘若本申请的这些修改和变型属于本申请权利要求及其等同技术的范围之内,则本申请也意图包含这些改动和变型在内。

Claims (25)

  1. 一种服务绑定的方法,其特征在于,所述方法包括:
    第一网络功能向第一服务通信代理SCP发送第一服务的请求,其中,所述第一服务的请求用于请求所述第一服务;
    所述第一网络功能接收来自所述第一SCP的所述第一服务的响应,其中,所述第一服务的响应包括第一路由信息,所述第一路由信息包括从所述第一网络功能到第二网络功能所经过的SCP的地址以及所述第二网络功能的第一服务实例的地址,所述第二网络功能的第一服务实例用于为所述第一网络功能提供服务。
  2. 根据权利要求1所述的方法,其特征在于,所述方法还包括:
    所述第一网络功能根据所述第一路由信息生成第一字段,其中,所述第一字段用于指示从所述第一网络功能到所述第二网络功能的第一服务实例的通信路径;
    所述第一网络功能向所述第一SCP发送第二服务的请求和所述第一字段,其中,所述第二服务的请求用于请求所述第二网络功能的第一服务实例为所述第一网络功能的服务实例提供所述第二服务。
  3. 根据权利要求1或2所述的方法,其特征在于,所述第一网络功能具有服务消费者的功能。
  4. 根据权利要求3所述的方法,其特征在于,所述第一网络功能还具有服务生产者的功能,所述第一服务的请求还包括第一绑定信息,其中,所述第一绑定信息用于指示绑定所述第一网络功能的第一服务实例。
  5. 根据权利要求4所述的方法,其特征在于,所述方法还包括:
    所述第一网络功能接收来自所述第一SCP的第三服务的请求,其中,所述第三服务的请求用于请求所述第一网络功能的第一服务实例为所述第二网络功能的服务实例提供所述第三服务。
  6. 一种服务绑定的方法,其特征在于,所述方法包括:
    第一服务通信代理SCP接收来自第一网络功能的第一服务的请求,其中,所述第一服务的请求用于请求所述第一服务;
    所述第一SCP根据所述第一服务的请求向第二SCP发送所述第一服务的请求以及第二字段,其中,所述第二字段包括所述第一网络功能的第一服务实例的地址;
    所述第一SCP接收来自所述第二SCP的第一服务的响应,其中,所述第一服务的响应包括第一路由信息,所述第一路由信息包括从所述第一网络功能到第二网络功能所经过的SCP的地址以及所述第二网络功能的第一服务实例的地址,所述第二网络功能的第一服务实例用于为所述第一网络功能提供服务;
    所述第一SCP向所述第一网络功能发送所述第一服务的响应。
  7. 根据权利要求6所述的方法,其特征在于,所述方法还包括:
    所述第一SCP接收来自所述第一网络功能的第二服务的请求和第一字段,其中,所述第二服务的请求用于请求所述第二网络功能的第一服务实例为所述第一网络功能的服务实例提供所述第二服务,所述第一字段用于指示从所述第一网络功能到所述第二网络功能的第一服务实例的通信路径;
    所述第一SCP根据所述第一字段向所述第二SCP发送所述第二服务的请求和第三 字段,其中,所述第三字段包括从所述第一网络功能到所述第二网络功能所述经过的SCP中,在所述第二SCP之后的SCP的地址,以及所述第二网络功能的第一服务实例的地址。
  8. 根据权利要求6或7所述的方法,其特征在于,所述第一网络功能具有服务消费者的功能。
  9. 根据权利要求8所述的方法,其特征在于,所述第一网络功能还具有服务生产者的功能,所述第一服务的请求还包括第一绑定信息,其中,所述第一绑定信息用于指示绑定所述第一网络功的第一服务实例。
  10. 根据权利要求9所述的方法,其特征在于,所述方法还包括:
    所述第一SCP接收来自所述第二SCP的第三服务的请求以及第四字段,其中,所述第三服务的请求用于请求所述第一网络功能的第一服务实例为所述第二网络功能的服务实例提供所述第三服务,所述第四字段包括从所述第二网络功能到所述第一网络功能所经过的SCP中,在所述第一SCP之后的SCP的地址,以及所述第一网络功能的第一服务实例的地址;
    所述第一SCP向所第一网络功能发送所述第三服务的请求。
  11. 一种服务绑定的方法,其特征在于,所述方法包括:
    第二网络功能接收来自第二服务通信代理SCP的第一服务的请求和第五字段,其中,所述第一服务的请求用于请求所述第一服务,所述第五字段包括第一网络功能的第一服务实例的地址,以及前n-1个SCP的地址,n为从所述第一网络功能到所述第二网络功能经过的SCP的个数;
    若所述第二网络功能确定绑定所述第二网络功能的第一服务实例,所述第二网络功能根据所述第五字段生成第一路由信息,其中,所述第一路由信息包括从所述第一网络功能到所述第二网络功能所经过的SCP的地址以及所述第二网络功能的第一服务实例的地址,所述第二网络功能的第一服务实例用于为所述第一网络功能提供服务;
    所述第二网络功能向所述第二SCP发送第一服务的响应,其中,所述第一服务的响应包括所述第一路由信息。
  12. 根据权利要求11所述的方法,其特征在于,所述方法还包括:
    所述第二网络功能接收来自所述第二SCP的第二服务的请求,其中,所述第二服务的请求用于请求所述第二网络功能的第一服务实例为所述第一网络功能的服务实例提供所述第二服务。
  13. 根据权利要求11或12所述的方法,其特征在于,
    所述第一网络功能具有服务消费者的功能;
    所述第二网络功能具有服务生产者的功能。
  14. 根据权利要求13所述的方法,其特征在于,所述第一网络功能还具有服务生成者的功能,所述第一服务的请求还包括第一绑定信息,其中,所述第一绑定信息用于指示绑定所述第一网络功能的第一服务实例。
  15. 根据权利要求14所述的方法,其特征在于,所述第二网络功能还具有服务消费者的功能,所述方法还包括:
    所述第二网络功能根据所述第五字段生成第六字段,其中,所述第六字段用于指 示从所述第二网络功能到所述第一网络功能的第一服务实例的通信路径;
    所述第二网络功能向所述第二SCP发送第三服务的请求和所述第六字段,其中,所述第三服务的请求用于请求所述第一网络功能的第一服务实例为所述第二网络功能的服务实例提供所述第三服务。
  16. 一种通信装置,其特征在于,所述通信装置包括:至少一个处理器,存储器;
    所述存储器存储有程序指令,所述程序指令在所述至少一个处理器中执行,以实现权利要求1-5中任一所述方法中所述的第一网络功能的功能。
  17. 一种通信装置,其特征在于,所述通信装置包括:至少一个处理器,存储器;
    所述存储器存储有程序指令,所述程序指令在所述至少一个处理器中执行,以实现权利要求6-10中任一所述方法中所述的第一SCP的功能。
  18. 一种通信装置,其特征在于,所述通信装置包括:至少一个处理器,存储器;
    所述存储器存储有程序指令,所述程序指令在所述至少一个处理器中执行,以实现权利要求11-15中任一所述方法中所述的第二网络功能的功能。
  19. 一种系统芯片,所述系统芯片应用在第一网络功能,其特征在于,所述系统芯片包括:
    至少一个处理器,程序指令在所述至少一个处理器中执行,以实现权利要求1-5中任一所述方法中所述的第一网络功能的功能。
  20. 一种系统芯片,所述系统芯片应用在第一服务通信代理SCP,其特征在于,所述系统芯片包括:
    至少一个处理器,程序指令在所述至少一个处理器中执行,以实现权利要求6-10中任一所述方法中所述的第一SCP的功能。
  21. 一种系统芯片,所述系统芯片应用在第二网络功能,其特征在于,所述系统芯片包括:
    至少一个处理器,程序指令在所述至少一个处理器中执行,以实现权利要求11-15中任一所述方法中所述的第二网络功能的功能。
  22. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有程序指令,所述程序指令运行时,以实现权利要求1-5中任一所述方法中所述的第一网络功能的功能。
  23. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有程序指令,所述程序指令运行时,以实现权利要求6-10中任一所述方法中所述的第一SCP的功能。
  24. 一种计算机存储介质,其特征在于,所述计算机存储介质中存储有程序指令,所述程序指令运行时,以实现权利要求11-15中任一所述方法中所述的第二网络功能的功能。
  25. 一种通信系统,其特征在于,所述通信系统包括如下任一种或任几种:
    如权利要求16所述的通信装置,或者,如权利要求17所述的通信装置,或者,如权利要求18所述的通信装置,或者,如权利要求19所述的系统芯片,或者,如权利要求20所述的系统芯片,或者,如权利要求21所述的系统芯片,或者,如权利要求22所述的计算机存储介质,或者,如权利要求23所述的计算机存储介质,或者,如权利要求24所述的计算机存储介质。
PCT/CN2020/120187 2019-10-11 2020-10-10 服务绑定的方法及装置 WO2021068937A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910963216.0A CN112653716B (zh) 2019-10-11 2019-10-11 服务绑定的方法及装置
CN201910963216.0 2019-10-11

Publications (1)

Publication Number Publication Date
WO2021068937A1 true WO2021068937A1 (zh) 2021-04-15

Family

ID=75343381

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2020/120187 WO2021068937A1 (zh) 2019-10-11 2020-10-10 服务绑定的方法及装置

Country Status (2)

Country Link
CN (1) CN112653716B (zh)
WO (1) WO2021068937A1 (zh)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114401316A (zh) * 2021-12-23 2022-04-26 中国电信股份有限公司 网元通信方法、服务请求方法、装置、设备及存储介质
CN116405554B (zh) * 2023-06-08 2023-09-05 之江实验室 一种网络通信的方法、装置、存储介质及电子设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017197273A1 (en) * 2016-05-12 2017-11-16 Convida Wireless, Llc Connecting to virtualized mobile core networks
CN109639829A (zh) * 2019-01-15 2019-04-16 腾讯科技(深圳)有限公司 基于服务的通信方法、通信单元、服务支持单元和系统
US20190191467A1 (en) * 2017-12-15 2019-06-20 Huawei Technologies Co., Ltd. Shared pdu session establishment and binding

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10820359B2 (en) * 2017-10-13 2020-10-27 Syniverse Technologies, Llc GPRS tunneling protocol (GTP) traffic hub and associated method of use
CN109962959B (zh) * 2017-12-26 2021-10-26 中国移动通信集团辽宁有限公司 会话绑定方法、装置、设备及介质
CN108494835B (zh) * 2018-03-08 2020-11-03 浪潮云信息技术股份公司 基于Raft算法的分布式动态路由的实现方法及系统

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017197273A1 (en) * 2016-05-12 2017-11-16 Convida Wireless, Llc Connecting to virtualized mobile core networks
US20190191467A1 (en) * 2017-12-15 2019-06-20 Huawei Technologies Co., Ltd. Shared pdu session establishment and binding
CN109639829A (zh) * 2019-01-15 2019-04-16 腾讯科技(深圳)有限公司 基于服务的通信方法、通信单元、服务支持单元和系统

Non-Patent Citations (5)

* Cited by examiner, † Cited by third party
Title
ETRI ET AL.: "Modified Delegated Service Discovery procedure when target not available", 3GPP TSG-SA2 MEETING #132 S2-1903589, 12 August 2019 (2019-08-12), XP051719736 *
HUAWEI ET AL.: "Communication between consumer and producer with multi SCP", 3GPP TSG SA2 MEETING #138E S2-2003016, 24 April 2020 (2020-04-24), XP051874525 *
HUAWEI ET AL.: "Communication between consumer and producer with multi SCP", 3GPP TSG-WG SA2 MEETING #138E S2-2003084, 24 April 2020 (2020-04-24), XP051874589 *
NOKIA ET AL.: "Clarifications for scenarios with more than one SCP", 3GPP TSG-CT WG4 MEETING #98E C4-203135, 12 June 2020 (2020-06-12), XP051887098 *
NOKIA ET AL.: "NF Set and NF Service Set – Open items resolution", 3GPP TSG-SA2 MEETING #133 S2-1905502, 17 May 2019 (2019-05-17), XP051720985 *

Also Published As

Publication number Publication date
CN112653716A (zh) 2021-04-13
CN112653716B (zh) 2022-05-24

Similar Documents

Publication Publication Date Title
US11765150B2 (en) End-to-end M2M service layer sessions
US11844014B2 (en) Service authorization for indirect communication in a communication system
US10637794B2 (en) Resource subscription method, resource subscription apparatus, and resource subscription system
CN110784434B (zh) 通信方法及装置
WO2022242507A1 (zh) 通信方法、装置、计算机可读介质、电子设备及程序产品
CN114189557A (zh) 通信网络中的访问令牌的管理
WO2021068937A1 (zh) 服务绑定的方法及装置
WO2023151264A1 (zh) 负载均衡方法、装置、节点及存储介质
US20220295282A1 (en) Methods, systems, and computer readable media for delegated authorization at security edge protection proxy (sepp)
WO2021094349A1 (en) Multi-step service authorization for indirect communication in a communication system
JP2024509940A (ja) サービス通信プロキシ(scp)における代行承認のための方法、システム、およびコンピュータ可読媒体
WO2023229855A1 (en) Methods, systems, and computer readable media for utilizing network function (nf) service attributes associated with registered nf service producers in a hierarchical network
WO2021134347A1 (zh) 资源分配方法、装置及系统
WO2023030077A1 (zh) 一种通信方法、通信装置及通信系统
US20230318960A1 (en) Methods, systems, and computer readable media for service communication proxy (scp) routing
CN114024664B (zh) 安全通信方法、相关装置及系统
US20240147272A1 (en) Technique for Collecting Analytics Data
CN115150820A (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: 20875319

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 20875319

Country of ref document: EP

Kind code of ref document: A1