Method for providing network service and related device and system
The network service identifier is obtained and allocated through the first server, which solves the problem of high threshold for the application to use network services, and realizes efficient integration of applications and networks and convenient service provision.
Patent Information
- Application Number
- CN202311376136.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-23
- Publication Date
- 2025-04-25
AI Technical Summary
With the continuous increase in network services, the variety of network service identification and network service interfaces are complex, resulting in an increase in the threshold for applications to use network services, and it is impossible to efficiently achieve the integration of applications and networks.
A method for providing network services is proposed. The first server obtains network service information, sends a response to carry network service identification based on the client's request, and the client requests corresponding network services through service packets carrying the identification, thereby realizing a convenient interface between the application and the network.
It lowers the threshold for applications to use network services, improves the degree of integration between applications and networks, and achieves more convenient network service provision.
Smart Images

Figure CN119892665A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a method for providing network services and related devices and systems. Background Art
[0002] With the development of communication technology, an endless stream of network services provide convenience for users. Current networks can provide a variety of network services, such as quality of service (QoS), hierarchical quality of service (HQoS), segment routing policy (SR policy), deterministic networking (DetNet), network slicing, network measurement, virtual private network (VPN), or application-aware networking (APN).
[0003] When the network provides network services to applications, it is necessary to implement specific network services by identifying the network service identifier of the network service carried in the message. Each network service usually has its own service identifier. For example, the network service identifier of the SR policy includes the binding segment identifier (binding segment identifier, Binding SID or BSID), the network service identifier of the network measurement includes the flow identifier (flow ID), and the network service identifier of the APN includes the APN ID. Regarding network service identifiers, they can be divided into two categories according to the objects they are oriented to: User-to-Network Interface (UNI) identifier and Network-to-Network Interface (NNI) identifier, where the UNI identifier is an identifier assigned to users or applications, and the NNI identifier is an identifier for internal network services.
[0004] Furthermore, if the application requests the network to use a network service, the network also needs to expand an interface that supports the network service for the application in the process of providing the network service to the application.
[0005] As network services continue to increase, the types of network service identifiers and network service interfaces are becoming increasingly complex. The above factors have raised the threshold for applications to use network services and have made it difficult to efficiently achieve the integration of applications and networks. Summary of the invention
[0006] In a first aspect, an embodiment of the present application proposes a method for providing a network service, comprising:
[0007] The first server obtains first network service information, which includes resource information of the first network service; based on a first request sent by a client, the first server sends a first response to the client, and the first response carries a first network service identifier determined based on the first network service information.
[0008] In one possible implementation, based on a first request sent by a client, the first server determines the first network service corresponding to the client; the first server sends a first response to the client, and the first response carries a first network service identifier determined based on resource information of the first network service.
[0009] In an embodiment of the present application, the first server is an application-related server, or an application service provider-related server. The client is an application-related client, and the client sends a service-related service message. It should be noted that the service message in the embodiment of the present application may also be an application-related application message, for example, replacing the service message with an application message, which is not limited in the embodiment of the present application. The client in the embodiment of the present application may be a client or server of various applications, including but not limited to: video service applications, such as video conferencing applications, video chat applications, short video applications, or live broadcast applications; audio service applications, such as voice chat applications; extended reality (XR) services, virtual reality (VR) services, augmented reality (AR) services, or mixed reality (MR) services, etc.
[0010] In an embodiment of the present application, after the first server obtains the first network service information, it obtains the ability to allocate the first network service to the client. Based on the first request sent by the client, the first server determines the first network service corresponding to the client. Then, the first server can send a first response to the client, and the first response carries the first network service identifier determined by the first server from the resource information of the first network service. The network provides a network service identifier for identifying the network service. After the client obtains the network service identifier, the business message sent by the client can request the corresponding network service by carrying the network service identifier. The network provides an interface between the network service and the network service identifier to provide various types of network services to the application, so that the application can request network services in a refined manner. The network can provide network services to applications more conveniently to better meet the business needs of the application. Lower the threshold for applications to use network services and improve the degree of integration between applications and the network.
[0011] In combination with the first aspect, in a possible implementation of the first aspect, the first request carries an identity identifier associated with the client. Further, the first server determines the first network service according to the identity identifier associated with the client. By carrying the identity identifier associated with the client in the first request, it is convenient for the first server to allocate a suitable network service to the client, thereby improving the user experience.
[0012] Exemplarily, the client-related identity includes: an identity of a first application, an identity of a first user, and / or an identity of a first service, wherein the first application initiates the first service and the first user is a user in the first application.
[0013] In combination with the first aspect, in a possible implementation of the first aspect, the first response also includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; attribute information of the first network service; authentication service node information, the authentication service node information indicating a network node that provides authentication services for a message requesting the first network service; or authentication information.
[0014] Specifically, the identification information of the network service provider of the first network service, exemplarily, the network service provider may be an operator, and the identification information of the network service provider may be the identity of the operator. For example, the identification information of the network service provider "China Mobile" is "1", the identification information of the network service provider "China Unicom" is "2", and the identification information of the network service provider "China Telecom" is "3"; the type information of the first network service indicates the type of the first network service that the client requests to subscribe to. The type information of the first network service includes but is not limited to: application-aware network (APN), network slicing, segment routing policy (SR policy), flow detection (IFIT), deterministic network (DetNet), virtual private network (VPN) or quality of service (QoS); attribute information of the first network service. The attribute information of the first network service indicates the attributes of the first network service, or the attribute information of the first network service is used to indicate the meaning of the resource information of the first network service. Exemplarily, the attribute information of the first network service indicates the application type applicable to the first network service. For example, the attribute information of the first network service is a video application (or a VR application, or an XR application), which specifically means that the available resources of the first network service are suitable for video applications (or a VR application, or an XR application); authentication service node information, the authentication service node information indicates a network node that provides authentication services for messages requesting the first network service. It should be noted that there are many possible implementations of the network node that provides authentication services (or authentication verification services) in the embodiment of the present application. The network node can be a hardware device (such as a network device) or software, and the embodiment of the present application does not limit this. Exemplarily, the network node includes but is not limited to: a network device, a server, a bare metal, a virtual machine, a container, a network service function chain, or a microservice, etc.; or, authentication information, there are many possible implementations of authentication information, and the embodiment of the present application does not limit this. For example, the authentication information can be a hash value, or a hash operation message authentication code (HMAC) check value, etc. The first response can also include the above-mentioned various information to facilitate the client to request the use of network services and improve the user experience.
[0015] In conjunction with the first aspect, in a possible implementation of the first aspect, the first request is a registration request of the client or a login request of the client. The client can apply for network services in multiple ways to improve the implementation flexibility of the solution.
[0016] In combination with the first aspect, in a possible implementation of the first aspect, the first server obtains the first network service information, including: the first server sends a second request to a second server; the first server receives a second response sent by the second server based on the second request, and the second response carries the first network service information; wherein the second server is a network service provider server.
[0017] In a possible implementation manner, an application server of an application service provider (the application server belongs to the first server) sends a second request to a second server.
[0018] In another possible implementation, a background management platform of an application of an application service provider (the background management platform of the application belongs to the first server) sends a second request to the second server.
[0019] In the embodiment of the present application, the second server is a server related to the network service provider. The first server applies for network service from the second server by sending a second request to the second server. The second server feeds back a second response to the first server based on the second request, and the second response carries the first network service information. The first server obtains the ability to allocate the first network service to the client according to the first network service information carried in the second request.
[0020] In combination with the first aspect, in a possible implementation of the first aspect, the second request carries any one or more of the following information: type information of the first network service, or network service demand information. Exemplarily, the network service demand information includes, but is not limited to: bandwidth, transmission rate, delay, delay jitter, QoS category (class type), Quality of Experience (QoE) score, encryption protection level, integrity protection level, packet loss rate, computing resources, application status or network service status, etc. Specifically, the first server determines the type of network service to be applied for, such as the need to apply for APN service or network slicing service, and the second request carries type information of the network service indicating the APN service or network slicing service. In addition, the second request may carry network service demand information, which refers to the demand information of the first server for the network service. By carrying the type information and / or network service demand information of the first network service in the second request, the second server can allocate more accurate network services to the first server, thereby improving the convenience of using network services and improving user experience.
[0021] In combination with the first aspect, in a possible implementation manner of the first aspect, the first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service; attribute information of the first network service; parameter information of the first network service; authentication service node information, the authentication service node information indicating a network node that provides authentication services for a message requesting the first network service; or authentication information.
[0022] Specifically, the resource information of the first network service indicates at least one available resource of the first network service. The resource information of the first network service indicates at least one available resource of the first network service, and the resource information of the first network service is identification information of available resources related to the first network service (or resource blocks of the first network service). The resource information of the first network service may be one or more identification information for identifying resources, or a group of address segments for identifying resources, or a start and end range of identification information for identifying resources, or a list of identification information for identifying resources. For ease of understanding, taking the first network service as an example of APN, the resource information of the first network service may be a group of 10 APN identifiers (APN IDs) of application A, indicating that application A can be allocated to 10 users for use. For another example, taking the first network service as an SRv6 network service as an example, the resource identifier of the first network service may be a group of 3 SRv6 binding segment identifiers (binding SIDs) representing gold medal services and a group of 5 SRv6 binding SIDs representing silver medal services. For another example, taking the first network service as network measurement, the resource identifier of the first network service may be 100 flow identifiers (flowID) representing application B, and application B may use these 100 flow identifiers to allocate to 100 application flows that need to enable the network measurement service.
[0023] Optionally, the resource information of the first network service corresponds to a namespace of identification information of a network service provider of the first network service, or the resource information of the first network service corresponds to a namespace of type information of the first network service.
[0024] In combination with the first aspect, in a possible implementation of the first aspect, before the first server determines the first network service corresponding to the client based on the first request sent by the client, the method further includes: the first server obtains a third request sent by the client, and the third request is used to request to subscribe to the first network service. The client can subscribe to the first network service from the first server in advance, so that when the client actually requests to use the first network service, it can conveniently obtain relevant information of the first network service, thereby improving user convenience.
[0025] In combination with the first aspect, in a possible implementation manner of the first aspect, the first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
[0026] Specifically, the first network service identifier is a globally unique identifier, and the network device or client determines the first network service corresponding to the first network service identifier according to the first network service identifier. For example, the network device or client locally maintains an association relationship between the network service identifier and the network service information, and the network device or client can determine the corresponding network service information from the association relationship according to the network service identifier.
[0027] Exemplarily, the type of network service #1 is APN service, and the network service identifier of network service #1 includes: "100". The meaning of this network service identifier is that the type of network service #1 is APN service, and the instance of network service #1 is the APN service corresponding to identifier 100. The type of network service #2 is network slicing service, and the network service identifier of network service #2 includes: "200". The meaning of this network service identifier is that the type of network service #2 is network slicing service, and the instance of network service #2 is the network slicing service corresponding to identifier 200. The type of network service #3 is network measurement service, and the network service identifier of network service #3 includes: "300". The meaning of this network service identifier is that the type of network service #3 is network measurement service, and the instance of network service #3 is the network measurement service corresponding to identifier 300.
[0028] Regarding the namespace of the first network service identifier corresponding to the type information of the first network service, it can also be understood that the semantics of the first network service identifier is determined by the type information of the first network service. In combination with the type of the network service indicated by the type information of the network service, the network service identifier is used to identify an instance of the network service. The network device or client determines the first network service corresponding to the first network service identifier based on the first network service identifier and the type information of the first network service.
[0029] Exemplarily, the type of network service #1 is APN service, the type information of network service #1 is "1", and the network service identifier is: "100". Combined with the type information of network service #1, the meaning of the network service identifier is that the type of network service #1 is APN service, and the network service identifier is used to identify that the instance of network service #1 is the APN service corresponding to APN ID 100. The type of network service #2 is a network slice service, and the network service identifier of network service #2 includes: "100". Combined with the type information of network service #2, the meaning of the network service identifier is that the type of network service #2 is a network slice service, and the network service identifier is used to identify that the instance of network service #2 is the network slice service corresponding to Slice ID 100.
[0030] In combination with the first aspect, in a possible implementation of the first aspect, the first network service includes any one or more of the following: application-aware network APN, network slicing, segment routing policy SR policy, in-flow detection IFIT, deterministic network DetNet, virtual private network VPN or quality of service QoS.
[0031] In a second aspect, an embodiment of the present application proposes a method for providing network services, including: a client sends a first request to a first server; the client receives a first response sent by the first server based on the first request, the first response carries a first network service identifier, and the first network service identifier corresponds to a first network service; the client sends a first business message, the first business message carries the first network service identifier, and the first network service identifier is used to indicate that a network device provides the first network service.
[0032] In an embodiment of the present application, the first server is an application-related server, or a server related to an application service provider. The client is an application-related client, and the client sends a service-related service message. It should be noted that the service message in the embodiment of the present application may also be an application-related application message, for example, replacing the service message with an application message, which is not limited in the embodiment of the present application. The client in the embodiment of the present application may be a client or server of various applications, including but not limited to: video service applications, such as video conferencing applications, video chat applications, short video applications, or live broadcast applications; audio service applications, such as voice chat applications; extended reality (XR) services, virtual reality (VR) services, augmented reality (AR) services, or mixed reality (MR) services, etc.
[0033] In an embodiment of the present application, a client sends a first request to a first server, and through the first request, requests the first server to use a first network service. Based on the first request, the first server determines the first network service corresponding to the client. Then, the first server may send a first response to the client, and the first response carries the first network service identifier determined by the first server from the resource information of the first network service. After the client obtains the permission to use the first network service, the first service message sent by the client may carry the first network service identifier, and the first network service identifier is used to indicate that the network device provides the first network service for the first service message. The network provides a network service identifier for identifying the network service. After the client obtains the network service identifier, the service message sent by the client may request the corresponding network service by carrying the network service identifier. The network provides an interface between the network service and the network service identifier to provide multiple types of network services to the application, so as to facilitate the application to request network services in a refined manner. The network can provide network services to the application more conveniently to better meet the business needs of the application. Lower the threshold for applications to use network services and improve the degree of integration between applications and networks.
[0034] In combination with the second aspect, in a possible implementation manner of the second aspect, the first response also includes first network service information, and the first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicates at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; authentication service node information, the authentication service node information indicates a network node that provides authentication services for a message requesting the first network service; or authentication information.
[0035] Specifically, the identification information of the network service provider of the first network service, illustratively, the network service provider may be an operator, and the identification information of the network service provider may be the identity of the operator. For example, the identification information of the network service provider "China Mobile" is "1", the identification information of the network service provider "China Unicom" is "2", and the identification information of the network service provider "China Telecom" is "3";
[0036] The type information of the first network service indicates the type of the first network service that the client requests to subscribe to. The type information of the first network service includes, but is not limited to: application-aware network, network slicing, segment routing strategy, flow detection, deterministic network, virtual private network or quality of service; resource information of the first network service, the resource information of the first network service indicates at least one available resource of the first network service. The resource information of the first network service indicates at least one available resource of the first network service, and the resource information of the first network service is the identification information of the available resources related to the first network service (or the resource block of the first network service). The resource information of the first network service may be one or more identification information for identifying resources, or a group of address segments for identifying resources, or the start and end range of identification information for identifying resources, or a list of identification information for identifying resources. For ease of understanding, taking the first network service as an example of APN, the resource information of the first network service may be a group of 10 APN identifiers of application A, indicating that application A can be allocated to 10 users. For another example, taking the first network service as an SRv6 network service as an example, the resource identifier of the first network service may be a group of 3 SRv6 binding segment identifiers representing gold services and a group of 5 SRv6binding SIDs representing silver services. For another example, taking the first network service as network measurement, the resource identifier of the first network service may be 100 flow identifiers (flow IDs) representing application B, which may be used by application B to allocate these 100 flow identifiers to 100 application flows that need to enable the network measurement service; attribute information of the first network service. The attribute information of the first network service indicates the attributes of the first network service, or the attribute information of the first network service is used to indicate the meaning of the resource information of the first network service. Exemplarily, the attribute information of the first network service indicates the application type applicable to the first network service. For example, the attribute information of the first network service is a video application (or a VR application, or an XR application), which specifically means that the available resources of the first network service are applicable to video applications (or VR applications, or XR applications); authentication service node information, the authentication service node information indicates the network node that provides authentication services for the message requesting the first network service. It should be noted that there are multiple possible implementation methods for the network node that provides authentication services (or authentication verification services) in the embodiment of the present application. The network node may be a hardware device (such as a network device) or software, and the embodiment of the present application does not limit this. Exemplarily, the network node includes, but is not limited to: network equipment, servers, bare metal, virtual machines, containers, network service function chains, or microservices, etc.; or, authentication information, there are many possible implementation methods for authentication information, and the embodiments of the present application do not limit this. For example, the authentication information can be a hash value, or a hash operation message authentication code (HMAC) check value, etc.
[0037] In conjunction with the second aspect, in a possible implementation of the second aspect, the first request carries the client-related identity identifier. By carrying the client-related identity identifier in the first request, the first server can allocate appropriate network services to the client, thereby improving user experience.
[0038] Exemplarily, the client-related identity includes: an identity of a first application, an identity of a first user, and / or an identity of a first service, wherein the first application initiates the first service and the first user is a user in the first application.
[0039] In combination with the second aspect, in a possible implementation of the second aspect, the first response also includes multiple network service identifiers, and the multiple network service identifiers include the first network service identifier; the method also includes: the client determines the corresponding multiple network services based on the multiple network service identifiers, and the multiple network services include the first network service; the client determines one or more network services used by the first business message based on the multiple network services, wherein the one or more network services used by the first business message include the first network service.
[0040] Optionally, the client may also carry multiple network service identifiers included in the first response in the first service message. The network device receiving the first service message selects the network service provided by the network device for the first service message based on the multiple network service identifiers and the identification information of the network service providers of the multiple network service identifiers.
[0041] In combination with the second aspect, in a possible implementation of the second aspect, the client determines one or more network services used by the first business message based on the multiple network services, including: the client determines one or more network services used by the first business message from the multiple network services based on the priorities and / or local policies of the multiple network services.
[0042] In one example, when the first response includes multiple network service identifiers corresponding to multiple network services of the same type, the client may randomly select one or more network services from the multiple network services of the same type, or the client may select one or more network services with higher priorities based on the priorities of the multiple network services of the same type, or the client may select one or more network services from the multiple network services of the same type based on local policies, or the client may select one or more network services from the multiple network services of the same type based on an agreement, where the agreement refers to an agreement between a network service provider and an application service provider, and the agreement may be configured in the client or network device.
[0043] In another example, when the multiple network service identifiers included in the first response correspond to multiple different types of network services, the client determines whether the functions of the multiple different types of network services overlap or conflict. For example, when the multiple different types of network services include: APN service and network slice service, the functions of the APN service and the network slice service conflict. According to the local policy, priority or agreement of the client, it is determined that the APN service takes precedence over the network slice service, and the client selects the APN service from the multiple different types of network services.
[0044] In combination with the second aspect, in a possible implementation manner of the second aspect, the first business message also includes the first network service information.
[0045] In combination with the second aspect, in a possible implementation manner of the second aspect, the first network service information is carried in a message header of a network layer of the first business message, or the first network service information is carried in a message header of a transport layer of the first business message.
[0046] In combination with the second aspect, in a possible implementation of the second aspect, the first service message also includes attribute information related to the client, wherein the attribute information related to the client includes any one or more of the following information: state information of the first application; demand information of the first application, the demand information of the first application indicating the quality requirement of the first application for the network and / or the demand of the first application for the network function; state information of the first user; demand information of the first user, the demand information of the first user indicating the quality requirement of the first user for the network and / or the demand of the first user for the network function; state information of the first service; or demand information of the first service, the demand information of the first service indicating the quality requirement of the first service for the network and / or the demand of the first service for the network function; wherein the first application initiates the first service, the first user is a user in the first application, and the first service message is a service message of the first service. Exemplarily, the state information of the first application includes the working state of the first application and / or the user experience state of the first application, for example, the bandwidth occupancy rate of the first application or the delay value of the first application. Exemplarily, the status information of the first user includes but is not limited to: the delay value of the first user, the packet loss rate of the first user, the bandwidth usage of the first user, the computing resource usage of the first user, whether the operation event of the first user occurs, the number of operations of the first user, the usage time of the first user, or the viewing time of the first user. Exemplarily, the status information of the first service includes but is not limited to: the delay value of the first service, the packet loss rate of the first service, the bandwidth usage of the first service, or the computing resource usage of the first service. In another example, when the first service is a video service, the status information of the first service includes but is not limited to: the number of freezes of the video (or live or on-demand), the delay information of starting the playback, the delay information of the first playback, the resolution change of the video (or live or on-demand), the bit rate change of the video (or live or on-demand), the picture quality change of the video (or live or on-demand), or the sound quality change of the video (or live or on-demand). By carrying the attribute information related to the client in the first service message, it is convenient for the network device to provide more personalized network services and improve the user experience.
[0047] In combination with the second aspect, in a possible implementation of the second aspect, the client-related attribute information is carried in a message header of a network layer of the first business message, or the client-related attribute information is carried in a message header of a transport layer of the first business message.
[0048] In combination with the second aspect, in a possible implementation of the second aspect, the method also includes: the client sends a third request to the first server, the third request is used to request subscription to the first network service; the client receives a third response sent by the first server based on the third request, and the third response indicates that the client has successfully subscribed to the first network service.
[0049] Specifically, the third request carries relevant information of the client, such as an identity identifier related to the client or attribute information of the client, etc. The embodiment of the present application does not limit the relevant information of the client. Furthermore, the identity identifier related to the client includes: an identity identifier of a first application, an identity identifier of a first user, and / or an identity identifier of a first service, wherein the first application initiates the first service and the first user is a user in the first application. The identity identifier can be an identity ID, address information, or a port number, etc., which is not limited in the embodiment of the present application.
[0050] In a possible implementation, the third request also includes type information and / or network service demand information of the first network service. By carrying the type information of the first network service in the third request, the type of the first network service that the client requests to subscribe to is indicated. The type information of the first network service includes, but is not limited to: application-aware network, network slicing, segment routing strategy, flow detection, deterministic network, virtual private network, or quality of service.
[0051] The network service requirement information is used to indicate the performance requirement or business requirement of the client for the first network service requested for subscription, such as what performance indicators or business indicators the first network service requested for subscription needs to meet. For example, the network service requirement information includes but is not limited to: bandwidth, transmission rate, delay, delay jitter, QoS category, experience quality score, encryption protection level, integrity protection level, packet loss rate, computing resources, application status or network service status, etc.
[0052] In combination with the second aspect, in a possible implementation manner of the second aspect, the first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
[0053] In combination with the second aspect, in a possible implementation manner of the second aspect, the first network service identifier corresponds to a namespace of type information of the first network service.
[0054] In combination with the second aspect, in a possible implementation of the second aspect, the first network service includes any one or more of the following: application-aware network APN, network slicing, segment routing policy SR policy, in-flow detection IFIT, deterministic network DetNet, virtual private network VPN or quality of service QoS.
[0055] In the third aspect, an embodiment of the present application proposes a business processing system, which includes: a first server and a client; the first server obtains first network service information, and the first network service information includes resource information of the first network service; the first server receives a first request sent by the client; based on the first request sent by the client, the first server sends a first response to the client, and the first response carries a first network service identifier determined based on the first network service information; the client sends a first business message, and the first business message carries the first network service identifier, and the first network service identifier is used to indicate that the network device provides the first network service.
[0056] In one possible implementation, based on a first request sent by a client, the first server determines the first network service corresponding to the client; the first server sends a first response to the client, and the first response carries a first network service identifier determined based on resource information of the first network service.
[0057] In an embodiment of the present application, the first server is an application-related server, or a server related to an application service provider. The client is an application-related client, and the client sends a service-related service message. It should be noted that the service message in the embodiment of the present application may also be an application-related application message, for example, replacing the service message with an application message, which is not limited in the embodiment of the present application. The client in the embodiment of the present application may be a client or server of various applications, including but not limited to: video service applications, such as video conferencing applications, video chat applications, short video applications, or live broadcast applications; audio service applications, such as voice chat applications; extended reality (XR) services, virtual reality (VR) services, augmented reality (AR) services, or mixed reality (MR) services, etc.
[0058] In an embodiment of the present application, after the first server obtains the first network service information, it obtains the ability to allocate the first network service to the client. Based on the first request sent by the client, the first server determines the first network service corresponding to the client. Then, the first server can send a first response to the client, and the first response carries the first network service identifier determined by the first server from the resource information of the first network service. After the client obtains the permission to use the first network service, the first business message sent by the client can carry the first network service identifier, and the first network service identifier is used to indicate that the network device provides the first network service for the first business message. The network provides a network service identifier for identifying the network service. After the client obtains the network service identifier, the business message sent by the client can request the corresponding network service by carrying the network service identifier. The network provides an interface between the network service and the network service identifier to provide multiple types of network services to the application, which facilitates the application to request network services in a refined manner. The network can provide network services to the application more conveniently to better meet the business needs of the application. Lower the threshold for applications to use network services and improve the degree of integration between applications and networks.
[0059] In conjunction with the third aspect, in a possible implementation of the third aspect, the first request carries the identity identifier associated with the client. By carrying the identity identifier associated with the client in the first request, it is convenient for the first server to allocate appropriate network services to the client, thereby improving user experience.
[0060] Exemplarily, the client-related identity includes: an identity of a first application, an identity of a first user, and / or an identity of a first service, wherein the first application initiates the first service and the first user is a user in the first application.
[0061] In combination with the third aspect, in a possible implementation of the third aspect, the business processing system also includes a second server, which is a network service provider server; the first server obtains the first network service information, including: the first server sends a second request to the second server; based on the second request sent by the first server, the second server sends a second response to the first server, and the second response carries the first network service information; the first server obtains the first network service information according to the second response.
[0062] In a possible implementation, based on the second request sent by the first server, the second server determines the first network service allocated to the first server; the second server sends a second response to the first server, and the second response carries the first network service information.
[0063] In a possible implementation manner, an application server of an application service provider (the application server belongs to the first server) sends a second request to a second server.
[0064] In another possible implementation, a background management platform of an application of an application service provider (the background management platform of the application belongs to the first server) sends a second request to the second server.
[0065] In the embodiment of the present application, the second server is a server related to the network service provider. The first server applies for network service from the second server by sending a second request to the second server. The second server feeds back a second response to the first server based on the second request, and the second response carries the first network service information. The first server obtains the ability to allocate the first network service to the client according to the first network service information carried in the second request.
[0066] In combination with the third aspect, in a possible implementation of the third aspect, the second request carries any one or more of the following information: type information of the first network service, or network service demand information. Exemplarily, the network service demand information includes, but is not limited to: bandwidth, transmission rate, delay, delay jitter, QoS category, quality of experience score, encryption protection level, integrity protection level, packet loss rate, computing resources, application status or network service status, etc. Specifically, the first server determines the type of network service that needs to be applied for, such as the need to apply for APN service or network slicing service, and the second request carries type information of the network service indicating the APN service or network slicing service. In addition, the second request may carry network service demand information, which refers to the demand information of the first server for the network service. By carrying the type information and / or network service demand information of the first network service in the second request, the second server can allocate more accurate network services to the first server, thereby improving the convenience of using network services and improving user experience.
[0067] In conjunction with the third aspect, in a possible implementation of the third aspect, before the first server determines the first network service corresponding to the client based on the first request sent by the client, the system further includes: the client sends a third request to the first server, and the third request is used to request to subscribe to the first network service. The client can subscribe to the first network service from the first server in advance, so that when the client actually requests to use the first network service, it can conveniently obtain relevant information of the first network service, thereby improving user convenience.
[0068] In combination with the third aspect, in a possible implementation of the third aspect, the first response also includes multiple network service identifiers, and the multiple network service identifiers include the first network service identifier; the system also includes: the client determines the corresponding multiple network services based on the multiple network service identifiers, and the multiple network services include the first network service; the client determines one or more network services used by the first business message based on the multiple network services, wherein the one or more network services used by the first business message include the first network service.
[0069] Optionally, the client may also carry multiple network service identifiers included in the first response in the first service message. The network device receiving the first service message selects the network service provided by the network device for the first service message based on the multiple network service identifiers and the identification information of the network service providers of the multiple network service identifiers.
[0070] In combination with the third aspect, in a possible implementation of the third aspect, the client determines one or more network services used by the first business message based on the multiple network services, including: the client determines one or more network services used by the first business message from the multiple network services based on the priorities and / or local policies of the multiple network services.
[0071] In one example, when the first response includes multiple network service identifiers corresponding to multiple network services of the same type, the client may randomly select one or more network services from the multiple network services of the same type, or the client may select one or more network services with higher priorities based on the priorities of the multiple network services of the same type, or the client may select one or more network services from the multiple network services of the same type based on local policies, or the client may select one or more network services from the multiple network services of the same type based on an agreement, where the agreement refers to an agreement between a network service provider and an application service provider, and the agreement may be configured in the client or network device.
[0072] In another example, when the multiple network service identifiers included in the first response correspond to multiple different types of network services, the client determines whether the functions of the multiple different types of network services overlap or conflict. For example, when the multiple different types of network services include: APN service and network slice service, the functions of the APN service and the network slice service conflict. According to the local policy, priority or agreement of the client, it is determined that the APN service takes precedence over the network slice service, and the client selects the APN service from the multiple different types of network services.
[0073] In combination with the third aspect, in a possible implementation manner of the third aspect, the first business message also includes the first network service information.
[0074] In combination with the third aspect, in a possible implementation manner of the third aspect, the first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicating at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; authentication service node information, the authentication service node information indicating a network node that provides authentication services for a message requesting the first network service; or authentication information.
[0075] In combination with the third aspect, in a possible implementation manner of the third aspect, the first service message also includes attribute information related to the client, wherein the attribute information related to the client includes any one or more of the following information: status information of the first application; demand information of the first application, the demand information of the first application indicating the quality requirement of the first application for the network and / or the requirement of the first application for the network function; status information of the first user; demand information of the first user, the demand information of the first user indicating the quality requirement of the first user for the network and / or the requirement of the first user for the network function; status information of the first service; or, demand information of the first service, the demand information of the first service indicates the quality requirement of the first service for the network and / or the requirement of the first service for the network function; wherein, the first application initiates the first service, the first user is a user in the first application, and the first service message is a service message of the first service.
[0076] In combination with the third aspect, in a possible implementation of the third aspect, the system also includes: a first network device; the first network device receives the first business message, the first business message also includes identification information of a network service provider of the first network service, and the network service provider of the first network service provides the first network service; the first network device determines the first network service corresponding to the first network service identifier based on the first network service identifier carried by the first business message; based on the network service provider of the first network service corresponding to the first network device, the first network device provides the first network service for the first business message.
[0077] Specifically, after receiving the first business message, the first network device determines the network service provider of the first network service corresponding to the first network device based on the identification information of the network service provider of the first network service included in the first business message and the identification information of the network service domain to which the first network device belongs. In other words, the first network device supports the provision of the first network service. Therefore, based on the network service provider of the first network service corresponding to the first network device, the first network device can provide the first network service for the first business message based on the first network service identifier carried by the first business message. Through the interface between the network service identifier and the network service, the network device realizes the provision of network services to the business message, thereby improving the convenience of using the network service.
[0078] It should be noted that a network service provider can set up multiple network service domains (or multiple network domains), and each network service domain can set up a corresponding network service provider's identification information. Therefore, a network service provider can correspond to multiple network service provider's identification information, and each network service provider's identification information corresponds to a network service domain set up by the network service provider.
[0079] In combination with the third aspect, in a possible implementation of the third aspect, the system also includes: the first network device obtains the identification information and / or the authentication information of the network service provider of the first network service carried by the first business message; the first network device performs authentication verification on the first business message based on the identification information and / or the authentication information of the network service provider of the first network service carried by the first business message; if the first business message passes the authentication verification, the first network device provides the first network service for the first business message.
[0080] In a possible implementation, the first network device performs authentication verification on the first business message based on the first network service information, including: the first network device receives network service configuration information sent by a server, the network service configuration information includes network service information corresponding to at least one network service; the first network device matches the identification information of the network service provider of the first network service included in the first network service information with the identification information of the network service domain in the network service configuration information, the identification information of the network service domain in the network service configuration information indicates the network service provider corresponding to the first network device; if the match is successful, the first network device determines that the first business message passes the authentication verification.
[0081] In another possible implementation, the first network device performs authentication verification on the first business message based on the first network service information and the network service matching information, including: the first network device receives network service configuration information sent by a server, the network service configuration information includes network service information corresponding to at least one network service; the first network device matches the authentication information included in the first network service information with the authentication information in the network service configuration information; if the match is successful, the first network device determines that the first business message passes the authentication verification.
[0082] In combination with the third aspect, in a possible implementation of the third aspect, the system also includes: a second network device; the first network device determines the second network device, and the second network device is the next hop node of the first network device; the first network device forwards the first service message to the second network device.
[0083] In combination with the third aspect, in a possible implementation method of the third aspect, the first network device forwards the first business message to the second network device, including: the first network device obtains the first network service information and / or the client-related attribute information carried by the first business message; the first network device adds the first network service information and / or the client-related attribute information to the first business message again to obtain the added first business message; the first network device forwards the added first business message to the second network device.
[0084] Specifically, the first network device may further add the first network service information carried in the first business message to the first business message again, so that other first network devices providing the first network service to the first business message may conveniently obtain the first network service information and improve the network service quality.
[0085] In combination with the third aspect, in a possible implementation of the third aspect, the first network device adds the first network service information and / or the client-related attribute information to the first business message again to obtain the first business message after adding, including: the first network device adds a first message header to the first business message according to the first network service; the first network device adds the first network service information and / or the client-related attribute information to the first message header to obtain the first business message after adding. For example, when the first network service is an SRv6 service, the first network device encapsulates a segment routing extension header (SegmentRouting Header, SRH) for the first business message. The first network device adds the first network service information and / or the client-related attribute information to the SRH to obtain the first business message after adding.
[0086] In combination with the third aspect, in a possible implementation manner of the third aspect, the first message header is a message header of a network layer of the first service message, or the first message header is a message header of a transport layer of the first service message.
[0087] In combination with the third aspect, in a possible implementation of the third aspect, the first network device adds the first network service information to the first business message again to obtain the added first business message, including: the first network device adds the first network service information to the payload of the first business message to obtain the added first business message. This facilitates the first business message to traverse a network service domain that does not support certain message headers and causes message loss.
[0088] In combination with the third aspect, in a possible implementation of the third aspect, the system further includes: the first network device receives the first service message after the addition; the first network device strips the first network service information and / or the client-related attribute information added again from the first service message after the addition to obtain the first service message; the first network device forwards the first service message. By stripping the first network service information and / or the client-related attribute information added again, the first network device ends providing the first network service to the first service message, thereby improving the implementation flexibility of the solution.
[0089] In combination with the third aspect, in a possible implementation manner of the third aspect, the first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
[0090] In combination with the third aspect, in a possible implementation manner of the third aspect, the first network service identifier corresponds to a namespace of type information of the first network service.
[0091] In conjunction with the third aspect, in a possible implementation manner of the third aspect, the first network service includes any one or more of the following:
[0092] Application-aware network APN, network slicing, segment routing policy SR policy, flow detection IFIT, deterministic network DetNet, virtual private network VPN or quality of service QoS.
[0093] In a fourth aspect, an embodiment of the present application proposes a method for providing network services, including: a first network device receives a first business message, the first business message carries a first network service identifier and identification information of a network service provider of the first network service, the first network service identifier is used to indicate that the network device provides a first network service, and the network service provider of the first network service provides the first network service corresponding to the first network service identifier; based on the first network device corresponding to the network service provider of the first network service, the first network device provides the first network service for the first business message.
[0094] In an embodiment of the present application, after receiving the first business message, the first network device determines the network service provider of the first network service corresponding to the first network device based on the identification information of the network service provider of the first network service included in the first business message and the identification information of the network service domain to which the first network device belongs. In other words, the first network device supports the provision of the first network service. Therefore, based on the network service provider of the first network service corresponding to the first network device, the first network device can provide the first network service for the first business message based on the first network service identifier carried by the first business message. Through the interface between the network service identifier and the network service, the network device realizes the provision of network services to the business message, thereby improving the convenience of using the network service.
[0095] In combination with the fourth aspect, in a possible implementation manner of the fourth aspect, the first business message also includes first network service information corresponding to the first network service, and the method also includes: the first network device receives network service configuration information sent by the server, and the network service configuration information includes network service information corresponding to at least one network service; the first network device matches the identification information of the network service provider of the first network service included in the first network service information with the identification information of the network service domain in the network service configuration information, and the identification information of the network service domain in the network service configuration information indicates the network service provider corresponding to the first network device; if the match is successful, the first network device determines that the first business message passes the authentication verification.
[0096] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the first business message also includes first network service information corresponding to the first network service, and the method also includes: the first network device receives network service configuration information sent by the server, and the network service configuration information includes network service information corresponding to at least one network service; the first network device matches the authentication information included in the first network service information with the authentication information in the network service configuration information; if the match is successful, the first network device determines that the first business message passes the authentication verification.
[0097] In the embodiment of the present application, the first network device can authenticate and verify the first service message in a variety of ways, thereby improving the implementation flexibility of the solution.
[0098] Optionally, the first network device may obtain network service configuration information from the second server. For example, after the second server receives the second request sent by the first server, the second server feeds back a second response to the first server. The second server may also send network service configuration information including the first network service information to the first network device, so that the first network device supports the provision of the first network service. For another example, after the network service provider launches a certain network service, the network service provider (second server) sends network service configuration information to the first network device, so that the first network device supports the provision of the network service.
[0099] Optionally, the first network device can obtain the network service configuration information from a network element (or device or platform or software function or server or apparatus) that manages the network device, wherein the network element that manages the network device includes but is not limited to: a network controller, an authentication server, a management plane, an orchestrator, and / or a network management platform for managing the first network device. The network element that manages the network device can obtain the network service configuration information from the second server.
[0100] In the embodiment of the present application, the first network device can obtain network service configuration information from multiple channels, thereby improving the implementation flexibility of the solution.
[0101] In combination with the fourth aspect, in a possible implementation manner of the fourth aspect, the first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicating at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; authentication service node information, the authentication service node information indicating a network node that provides authentication services for a message requesting the first network service; or authentication information.
[0102] In combination with the fourth aspect, in a possible implementation manner of the fourth aspect, the first service message also includes attribute information related to the client, wherein the attribute information related to the client includes any one or more of the following information: status information of the first application; demand information of the first application, the demand information of the first application indicating the quality requirement of the first application for the network and / or the requirement of the first application for the network function; status information of the first user; demand information of the first user, the demand information of the first user indicating the quality requirement of the first user for the network and / or the requirement of the first user for the network function; status information of the first service; or, demand information of the first service, the demand information of the first service indicates the quality requirement of the first service for the network and / or the requirement of the first service for the network function; wherein, the first application initiates the first service, the first user is a user in the first application, and the first service message is a service message of the first service.
[0103] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the method also includes: the first network device determines the second network device, and the second network device is the next hop node of the first network device; the first network device forwards the first service message to the second network device.
[0104] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the first network device forwards the first business message to the second network device, including: the first network device obtains the first network service information and / or the client-related attribute information carried by the first business message; the first network device adds the first network service information and / or the client-related attribute information to the first business message again to obtain the added first business message; the first network device forwards the added first business message to the second network device. Specifically, the first network device can also add the first network service information carried in the first business message to the first business message again, so that other first network devices that provide the first network service to the first business message can easily obtain the first network service information and improve the quality of network service.
[0105] In combination with the fourth aspect, in a possible implementation method of the fourth aspect, the first network device adds the first network service information and / or the client-related attribute information to the first business message again to obtain the first business message after adding, including: the first network device adds a first message header to the first business message according to the first network service; the first network device adds the first network service information and / or the client-related attribute information to the first message header to obtain the first business message after adding.
[0106] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the first message header is a message header of a network layer of the first service message, or the first message header is a message header of a transport layer of the first service message.
[0107] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the first network device adds the first network service information to the first business message again to obtain the added first business message, including: the first network device adds the first network service information to the payload of the first business message to obtain the added first business message. This facilitates the first business message to traverse a network service domain that does not support certain message headers and causes message loss.
[0108] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the method further includes: the first network device receives the first service message after the addition; the first network device strips the first network service information and / or the client-related attribute information added again from the first service message after the addition to obtain the first service message; the first network device forwards the first service message. By stripping the first network service information and / or the client-related attribute information added again, the first network device ends providing the first network service to the first service message, thereby improving the implementation flexibility of the solution.
[0109] In combination with the fourth aspect, in a possible implementation manner of the fourth aspect, the first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
[0110] In combination with the fourth aspect, in a possible implementation manner of the fourth aspect, the first network service identifier corresponds to a namespace of type information of the first network service.
[0111] In combination with the fourth aspect, in a possible implementation of the fourth aspect, the first network service includes any one or more of the following: application-aware network APN, network slicing, segment routing policy SR policy, in-flow detection IFIT, deterministic network DetNet, virtual private network VPN or quality of service QoS.
[0112] In a fifth aspect, an embodiment of the present application proposes a method for providing network services, including: a first server sends a second request to a second server, the second request is used to apply for a first network service; the first server receives a second response sent by the second server based on the second request, the first response carries first network service information, the first network service information is related to the first network service, the first network service information includes type information of the first network service and resource information of the first network service; based on the first request sent by the client, the first server determines the first network service corresponding to the client; the first server sends a first response to the client, the first response carries a first network service identifier determined based on the first network service information.
[0113] In an embodiment of the present application, the first server is an application-related server, or a server related to an application service provider. The client is an application-related client, and the client sends a service-related service message. It should be noted that the service message in the embodiment of the present application may also be an application-related application message, for example, replacing the service message with an application message, which is not limited in the embodiment of the present application. The client in the embodiment of the present application may be a client or server of various applications, including but not limited to: video service applications, such as video conferencing applications, video chat applications, short video applications, or live broadcast applications; audio service applications, such as voice chat applications; extended reality (XR) services, virtual reality (VR) services, augmented reality (AR) services, or mixed reality (MR) services, etc.
[0114] In an embodiment of the present application, after the first server obtains the first network service information, it obtains the ability to allocate the first network service to the client. Based on the first request sent by the client, the first server determines the first network service corresponding to the client. Then, the first server can send a first response to the client, and the first response carries the first network service identifier determined by the first server from the resource information of the first network service. The network provides a network service identifier for identifying the network service. After the client obtains the network service identifier, the business message sent by the client can request the corresponding network service by carrying the network service identifier. The network provides an interface between the network service and the network service identifier to provide various types of network services to the application, so that the application can request network services in a refined manner. The network can provide network services to applications more conveniently to better meet the business needs of the application. Lower the threshold for applications to use network services and improve the degree of integration between applications and the network.
[0115] In conjunction with the fifth aspect, in a possible implementation of the fifth aspect, the first request carries the identity identifier associated with the client. By carrying the identity identifier associated with the client in the first request, it is convenient for the first server to allocate appropriate network services to the client, thereby improving user experience.
[0116] In combination with the fifth aspect, in a possible implementation manner of the fifth aspect, the method further includes: the first server determines the first network service according to an identity identifier related to the client.
[0117] In combination with the fifth aspect, in a possible implementation method of the fifth aspect, the client-related identity includes: an identity of a first application, an identity of a first user, and / or an identity of a first service, wherein the first application initiates the first service and the first user is a user in the first application.
[0118] In combination with the fifth aspect, in a possible implementation manner of the fifth aspect, the first response also includes the first network service information.
[0119] In combination with the fifth aspect, in a possible implementation of the fifth aspect, the second request carries any one or more of the following information: type information of the first network service, or network service demand information. Exemplarily, the network service demand information includes but is not limited to: bandwidth, transmission rate, delay, delay jitter, QoS category, quality of experience score, encryption protection level, integrity protection level, packet loss rate, computing resources, application status or network service status, etc. Specifically, the first server determines the type of network service that needs to be applied for, such as the need to apply for APN service or network slicing service, and the second request carries type information of the network service indicating the APN service or network slicing service. In addition, the second request may carry network service demand information, which refers to the demand information of the first server for the network service. By carrying the type information and / or network service demand information of the first network service in the second request, the second server can allocate more accurate network services to the first server, thereby improving the convenience of using network services and improving user experience.
[0120] In combination with the fifth aspect, in a possible implementation manner of the fifth aspect, the first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicating at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; authentication service node information, the authentication service node information indicating a network node that provides authentication services for a message requesting the first network service; or authentication information.
[0121] In combination with the fifth aspect, in a possible implementation manner of the fifth aspect, the resource information of the first network service belongs to the namespace of identification information of the network service provider of the first network service, or the resource information of the first network service belongs to the namespace of type information of the first network service.
[0122] In conjunction with the fifth aspect, in a possible implementation of the fifth aspect, before the first server determines the first network service corresponding to the client based on the first request sent by the client, the method further includes: the first server obtains a third request sent by the client, and the third request is used to request to subscribe to the first network service. The client can subscribe to the first network service from the first server in advance, so that when the client actually requests to use the first network service, it can conveniently obtain relevant information of the first network service, thereby improving user convenience.
[0123] In combination with the fifth aspect, in a possible implementation manner of the fifth aspect, the first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
[0124] In combination with the fifth aspect, in a possible implementation manner of the fifth aspect, the first network service identifier corresponds to a namespace of type information of the first network service.
[0125] In combination with the fifth aspect, in a possible implementation of the fifth aspect, the first network service includes any one or more of the following: application-aware network APN, network slicing, segment routing policy SR policy, in-flow detection IFIT, deterministic network DetNet, virtual private network VPN or quality of service QoS.
[0126] In a sixth aspect, an embodiment of the present application provides an electronic device, which is applied to a first server, and includes: a transceiver module and a processing module;
[0127] A transceiver module, configured to obtain first network service information, wherein the first network service information includes resource information of the first network service;
[0128] The transceiver module is further used to send a first response to the client based on the first request sent by the client, where the first response carries a first network service identifier determined based on the first network service information.
[0129] In one possible implementation,
[0130] A processing module, configured to determine the first network service corresponding to the client based on a first request sent by the client;
[0131] The transceiver module is further used to send a first response to the client, where the first response carries a first network service identifier determined based on the first network service information.
[0132] In a possible implementation manner, the first request carries an identity related to the client.
[0133] In one possible implementation,
[0134] The transceiver module is further used to send a second request to the second server;
[0135] The transceiver module is further used to receive a second response sent by the second server based on the second request, wherein the second response carries the first network service information; wherein the second server is a network service provider server.
[0136] In a possible implementation, the second request carries any one or more of the following information:
[0137] The type information of the first network service, or the network service requirement information.
[0138] In a possible implementation, the first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicating at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; authentication service node information, the authentication service node information indicating a network node that provides authentication service for a message requesting the first network service; or authentication information.
[0139] In one possible implementation,
[0140] The transceiver module is further used to obtain a third request sent by the client, where the third request is used to request to subscribe to the first network service.
[0141] In a possible implementation manner, the first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
[0142] In a seventh aspect, an embodiment of the present application provides an electronic device, which is applied to a client, and includes: a transceiver module and a processing module;
[0143] A transceiver module, used for sending a first request to a first server;
[0144] The transceiver module is further used to receive a first response sent by the first server based on the first request, where the first response carries a first network service identifier, and the first network service identifier corresponds to a first network service;
[0145] The transceiver module is further used to send a first business message, where the first business message carries the first network service identifier, and the first network service identifier is used to indicate that the network device provides the first network service.
[0146] In a possible implementation, the first response also includes first network service information, and the first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicates at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; authentication service node information, the authentication service node information indicates a network node that provides authentication service for a message requesting the first network service; or authentication information.
[0147] In a possible implementation manner, the first response further includes multiple network service identifiers, and the multiple network service identifiers include the first network service identifier;
[0148] A processing module, configured to determine a plurality of corresponding network services according to the plurality of network service identifiers, wherein the plurality of network services includes the first network service;
[0149] The processing module is further used to determine one or more network services used by the first business message based on the multiple network services, wherein the one or more network services used by the first business message include the first network service.
[0150] In one possible implementation,
[0151] The processing module is further used to determine one or more network services used by the first business message from the multiple network services according to the priorities and / or local policies of the multiple network services.
[0152] In a possible implementation manner, the first business message also includes the first network service information.
[0153] In a possible implementation, the first service message also includes attribute information related to the client, wherein the attribute information related to the client includes any one or more of the following information: status information of the first application; demand information of the first application, wherein the demand information of the first application indicates the quality requirement of the first application for the network and / or the requirement of the first application for the network function; status information of the first user; demand information of the first user, wherein the demand information of the first user indicates the quality requirement of the first user for the network and / or the requirement of the first user for the network function; status information of the first service; or, demand information of the first service, wherein the demand information of the first service indicates the quality requirement of the first service for the network and / or the requirement of the first service for the network function; wherein the first application initiates the first service, the first user is a user in the first application, and the first service message is a service message of the first service.
[0154] In one possible implementation,
[0155] The transceiver module is further used to send a third request to the first server, where the third request is used to request a subscription to the first network service;
[0156] The transceiver module is further used to receive a third response sent by the first server based on the third request, wherein the third response indicates that the client has successfully subscribed to the first network service.
[0157] In a possible implementation manner, the first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
[0158] In an eighth aspect, an embodiment of the present application provides an electronic device, which is applied to a first network device, and includes: a transceiver module and a processing module;
[0159] a transceiver module, configured to receive a first service message, wherein the first service message carries a first network service identifier and identification information of a network service provider of the first network service, wherein the first network service identifier is used to indicate that the network device provides the first network service, and the network service provider of the first network service provides the first network service corresponding to the first network service identifier;
[0160] A processing module is used to provide the first network service for the first business message based on a network service provider of the first network service corresponding to the first network device.
[0161] In one possible implementation,
[0162] The transceiver module is further used to receive network service configuration information sent by the server, wherein the network service configuration information includes network service information corresponding to at least one network service;
[0163] The processing module is further configured to match the identification information of the network service domain in the network service configuration information with the identification information of the network service service provider of the first network service included in the first network service information, wherein the identification information of the network service domain in the network service configuration information indicates the network service provider corresponding to the first network device;
[0164] The processing module is also used to determine whether the first service message passes the authentication verification if the match is successful.
[0165] In one possible implementation,
[0166] The transceiver module is further used to receive network service configuration information sent by the server, wherein the network service configuration information includes network service information corresponding to at least one network service;
[0167] The processing module is further used to match the authentication information included in the first network service information with the authentication information in the network service configuration information;
[0168] The processing module is also used to determine whether the first service message passes the authentication verification if the match is successful.
[0169] In a possible implementation, the first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicating at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; authentication service node information, the authentication service node information indicating a network node that provides authentication service for a message requesting the first network service; or authentication information.
[0170] In a possible implementation, the first service message also includes attribute information related to the client, wherein the attribute information related to the client includes any one or more of the following information: status information of the first application; demand information of the first application, wherein the demand information of the first application indicates the quality requirement of the first application for the network and / or the requirement of the first application for the network function; status information of the first user; demand information of the first user, wherein the demand information of the first user indicates the quality requirement of the first user for the network and / or the requirement of the first user for the network function; status information of the first service; or, demand information of the first service, wherein the demand information of the first service indicates the quality requirement of the first service for the network and / or the requirement of the first service for the network function; wherein the first application initiates the first service, the first user is a user in the first application, and the first service message is a service message of the first service.
[0171] In one possible implementation,
[0172] The processing module is further used to determine the second network device, where the second network device is a next hop node of the first network device;
[0173] The transceiver module is also used to forward the first service message to the second network device.
[0174] In one possible implementation,
[0175] The transceiver module is further used to obtain the first network service information and / or the client-related attribute information carried by the first service message;
[0176] The processing module is further used to add the first network service information and / or the attribute information related to the client to the first business message again to obtain the added first business message;
[0177] The transceiver module is also used to forward the added first service message to the second network device.
[0178] In one possible implementation,
[0179] The processing module is further used to add a first message header to the first service message according to the first network service;
[0180] The processing module is further used to add the first network service information and / or the client-related attribute information to the first message header to obtain the first service message after the addition.
[0181] In one possible implementation,
[0182] The transceiver module is further used to receive the first service message after adding;
[0183] The processing module is further used to strip the first network service information and / or the client-related attribute information added again from the first service message after the addition, so as to obtain the first service message;
[0184] The transceiver module is also used to forward the first service message.
[0185] In one possible implementation,
[0186] The first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
[0187] In the ninth aspect of the present application, there is provided an electronic device, comprising: a processor, a memory, an input / output device, and a bus; the memory stores computer instructions; when the processor executes the computer instructions in the memory, the memory stores computer instructions; when the processor executes the computer instructions in the memory, it is used to implement any one of the implementation methods of the first aspect, the second aspect, the fourth aspect, or the fifth aspect.
[0188] In a possible implementation manner of the ninth aspect, the processor, the memory, and the input and output devices are respectively connected to the bus.
[0189] The tenth aspect of the present application provides a computer program product comprising instructions, characterized in that when the computer program product is run on a computer, the computer is enabled to execute any one of the implementation methods of the first aspect, the second aspect, the fourth aspect, or the fifth aspect.
[0190] The eleventh aspect of the present application provides a computer-readable storage medium, characterized in that it includes instructions, which, when executed on a computer, enable the computer to execute any implementation method of any one of the first aspect, the second aspect, the fourth aspect, or the fifth aspect.
[0191] The twelfth aspect of the present application provides a computer-readable storage medium, characterized in that it includes instructions, which, when executed on a computer, enable the computer to execute any one of the implementation methods of the first aspect, the second aspect, the fourth aspect, or the fifth aspect.
[0192] The thirteenth aspect of the present application provides a chip system, which includes a processor, which is used to execute a computer program or instruction stored in a memory, so that the processor executes any implementation method of any one of the above-mentioned first aspect, second aspect, fourth aspect or fifth aspect.
[0193] In a possible design of the thirteenth aspect, the chip system also includes a memory, and the memory is used to store computer programs or instructions necessary for the computer device. The processor is used to call and run the computer program or instruction from the memory. The chip system can be composed of a chip, or it can include a chip and other discrete devices.
[0194] In a possible design of the thirteenth aspect, the chip system also includes an input port and an output port, which are used to execute the receiving function and the sending function of the terminal device in any implementation of the first aspect or the second aspect, wherein the receiving function corresponds to the input port, and the sending function corresponds to the output port.
[0195] A fourteenth aspect of the present application provides a communication system, which includes a first server as in the first aspect, a client as in the second aspect, and / or a first network device as in the fourth aspect.
[0196] A fifteenth aspect of the present application provides a communication system, which includes a client as in the second aspect, a first network device as in the fourth aspect, and / or a first server as in the fifth aspect. BRIEF DESCRIPTION OF THE DRAWINGS
[0197] Figure 1 A schematic diagram of a business processing system proposed in an embodiment of the present application;
[0198] Figure 2 A schematic diagram of another business processing system proposed in an embodiment of the present application;
[0199] Figure 3 This is a schematic diagram of an example flow of a business processing method in an embodiment of the present application;
[0200] Figure 4 A flowchart of another embodiment of a business processing method in an embodiment of the present application;
[0201] Figure 5 A flowchart of another embodiment of a business processing method in an embodiment of the present application;
[0202] Figure 6 This is a schematic diagram of an application scenario in an embodiment of the present application;
[0203] Figure 7 This is another schematic diagram of an application scenario in an embodiment of the present application;
[0204] Figure 8 A schematic diagram of the structure of an electronic device 801 provided in an embodiment of the present application;
[0205] Fig. 9A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0206] The technical solutions in the embodiments of the present application will be described clearly and completely below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, not all of the embodiments. The terms "first", "second" and corresponding terminology labels in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the terms used in this way are interchangeable where appropriate, and this is merely a way of distinguishing objects of the same attributes when describing the embodiments of the present application. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, so that a process, method, system, product or device that includes a series of units is not necessarily limited to those units, but may include other units that are not clearly listed or inherent to these processes, methods, products or devices.
[0207] In the description of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B; "and / or" in the present application is merely a description of the association relationship of associated objects, indicating that three relationships may exist, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the present application, "at least one" refers to one or more items, and "multiple items" refers to two or more items. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single items or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple.
[0208] The technical solutions of the embodiments of the present application can be applied to various communication systems, for example: long term evolution (LTE) system, LTE frequency division duplex (FDD) system, LTE time division duplex (TDD), universal mobile telecommunication system (UMTS), worldwide interoperability for microwave access (WiMAX) communication system, fifth generation (5G) system, new generation (NR) communication system or future sixth generation communication system, etc.
[0209] The part operated by the operator in various communication systems can be called the operator network. The operator network can also be called the public land mobile network (PLMN) network, which is a network established and operated by the government or an operator approved by the government for the purpose of providing land mobile communication services to the public. It is mainly a public network in which mobile network operators (MNO) provide mobile broadband access services to users. The operator network or PLMN network described in the embodiment of the present application can be a network that meets the requirements of the third generation partnership project (3GPP) standard, referred to as a 3GPP network. Usually, the 3GPP network is operated by an operator, including but not limited to the fifth generation (5th-generation, 5G) mobile communication network, the fourth generation (4th-generation, 4G) mobile communication network or the third generation (3rd-generation, 3G) mobile communication technology network. It also includes the future sixth generation (6th-generation, 6G) mobile communication network.
[0210] First, the business processing system proposed in the embodiment of the present application is introduced. In a possible implementation method, please refer to Figure 1 , Figure 1A schematic diagram of a business processing system proposed in an embodiment of the present application. A business processing system proposed in an embodiment of the present application includes: a first server, a second server, a client, and a first network device, wherein the first server is an application-related server, or a server related to an application service provider, and the application service provider provides application-related services; the second server is a server related to a network service provider that provides network services; the client is an application-related client, and the client sends business-related business messages; the first network device provides network services for business messages. It should be noted that the business message in the embodiment of the present application may also be an application-related application message, for example, replacing the business message with an application message, and the embodiment of the present application does not limit this.
[0211] For example, the client may be an application client, the first server belongs to an application service provider, and the second server belongs to a network service provider. Further, the network service provider in the embodiment of the present application may have multiple possible implementation entities, including but not limited to: a telecommunications operator, an alliance of telecommunications operators, a maintenance organization of a network service identifier, a management organization of a network service identifier, or an allocation organization of a network service identifier.
[0212] Specifically, the first server applies for a network service from the second server, and carries relevant information such as the type information of the network service and the network service demand information when applying for the network service from the second server. The first server requests the second server to allocate resources for the network service. Then, after the second server determines the network service to be allocated to the first server based on the application of the first server, the second server sends network service information related to the network service to the first server.
[0213] After receiving the request from the client, the first server allocates a network service identifier of the network service to the client according to the request from the client and the network service information obtained from the second server. The service message sent by the first server carries the network service identifier.
[0214] The first network device refers to a network device that provides network services in a network service domain (NSD) (or network domain). After the first network device obtains network service configuration information related to the network service from the second server, when the first network device receives a service message carrying a network service identifier corresponding to the network service, the first network device provides the network service according to the network service identifier. The service message is forwarded between one or more first network devices in the network service domain, and one or more network devices in the network service domain provide network services for the service message.
[0215] In yet another possible implementation, see Figure 2 , Figure 2 A schematic diagram of another business processing system proposed for an embodiment of the present application. The first server (application service provider) can also be divided into an application server and an application management platform according to its purpose, wherein the application server is used to provide application-related services, and the application management platform is used to manage one or more application servers. The first server applies for network services from the second server, specifically, the application management platform (first server) applies for network services from the second server. When the application management platform applies for network services, the application management platform distributes the acquired network service information to the corresponding application server, and the application management platform sends the network service information to the application server. After receiving the request from the client, the application server assigns a network service identifier to the client according to the network service information.
[0216] In another possible implementation, after the application management platform applies for the network service, the application management platform allocates the network service identifier in the obtained network service information to the application server, and the application management platform sends the network service identifier to the application server. After receiving the request from the client, the application server allocates the network service identifier to the client.
[0217] Exemplarily, the client in the embodiments of the present application can be a client or server of various applications, including but not limited to: video service applications, such as video conferencing applications, video chat applications, short video applications, or live broadcast applications; audio service applications, such as voice chat applications; extended reality (XR) services, virtual reality (VR) services, augmented reality (AR) services, or mixed reality (MR) services, etc.
[0218] The client in the embodiment of the present application can be deployed on a terminal device. The terminal devices include but are not limited to: mobile phones, tablet computers, laptop computers, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, wearable devices, terminal devices in 5G networks, or terminal devices in future evolved public land mobile communication networks, etc. The embodiments of the present application are not limited to this. For example: tablet computers (pad) or folding screen mobile phones, non-folding screen mobile phones, smart watches, smart headphones, smart speakers, smart home appliances, smart cars, smart street lights, smart glasses, smart bracelets, portable game consoles, personal digital assistants (PDAs), laptops, ultra mobile personal computers (UMPCs), handheld computers, netbooks, in-vehicle media playback devices, wearable electronic devices (such as watches, bracelets, glasses), virtual reality (VR) terminal devices, or augmented reality (AR) terminal devices.
[0219] As an example but not limitation, in the embodiments of the present application, the terminal device may also be a wearable device. Wearable devices may also be referred to as wearable smart devices, which are a general term for wearable devices that are intelligently designed and developed using wearable technology for daily wear, such as glasses, gloves, watches, clothing, and shoes. A wearable device is a portable device that is worn directly on the body or integrated into the user's clothes or accessories. Wearable devices are not only hardware devices, but also powerful functions achieved through software support, data interaction, and cloud interaction. Broadly speaking, wearable smart devices include full-featured, large-sized, and fully or partially independent of smartphones, such as smart watches or smart glasses, as well as devices that only focus on a certain type of application function and need to be used in conjunction with other devices such as smartphones, such as various types of smart bracelets and smart jewelry for vital sign monitoring.
[0220] In addition, in the embodiments of the present application, the terminal device may also be a terminal device in an Internet of Things (IoT) system. IoT is an important part of the future development of information technology. Its main technical feature is to connect objects to the network through communication technology, thereby realizing an intelligent network that interconnects people and machines and things.
[0221] In the embodiments of the present application, the terminal device may be replaced by a device for realizing the function of the terminal device, or may be a device capable of supporting the terminal device to realize the function, such as a chip system or a chip, which may be installed in the terminal device. In addition, the chip system may be composed of a chip, or may include a chip and other discrete devices.
[0222] The client in the embodiment of the present application can also be deployed on a network device. The network device in the embodiment of the present application includes, but is not limited to: a switch, a router, a server, or other devices or network elements that support forwarding messages or data. In one possible implementation, the node can be a physical entity in the network or a device in the physical entity (such as a chip or a functional module). Alternatively, in one possible implementation, the node can be a virtual device (such as a virtual machine or a container) running in a physical entity. For example, the virtual device can be a virtual router or a virtual switch, etc.
[0223] In another possible implementation, the network device in the embodiment of the present application may also be an access network device (radio access network, RAN). The access network device includes but is not limited to: a next-generation base station (gNodeB, gNB) in a fifth-generation communication system, a next-generation base station in a sixth-generation (mobile communication system, a base station in a future mobile communication system or an access node in a WiFi system, etc., an evolved node B (evolved node B, eNB) in an LTE system, a radio network controller (radio network controller, RNC), a node B (node B, NB), a base station controller (base station controller, BSC), a home base station (for example, home evolved NodeB, or home Node B, HNB), a wireless access point, a base band unit (base band unit, BBU), a transmission reception point (transmission reception point, TRP), a transmitting point (transmitting point, TP), a base transceiver station (base transceiver station, BTS), etc. In a network structure, the access network device may include a centralized unit (centralized unit, CU) node, or a distributed unit (distributed unit, CU) node. The access network device provides services for the cell, and the user equipment communicates with the base station through the transmission resources used by the cell (for example, frequency domain resources, or spectrum resources). The cell can be a cell corresponding to a base station (for example, a base station). The cell can belong to a macro base station or a base station corresponding to a small cell. The small cell here can include: metro cell, micro cell, pico cell, femto cell, etc. These small cells have the characteristics of small coverage and low transmission power, and are suitable for providing high-speed data transmission services. The access network device can be a macro base station, a micro base station or an indoor station (, and can also be a relay node or a donor node. The device that provides wireless communication services to user equipment in the V2X communication system, the cloud radio access network (cloud radio access The embodiments of the present application do not limit the specific technology and specific device form used by the access network device.
[0224] There are many possible implementations of the server (including the first server and / or the second server) in the embodiments of the present application, including but not limited to: computing devices, computing units, cloud devices, network controllers, network cloud engines (NCE), authentication, authorization and accounting (AAA) servers, edge computing devices, virtual machines, or physical machines. The computing device can be a server, such as a central server, an edge server, or a local server in a local data center. In some embodiments, the computing device can also be a terminal device such as a desktop, a laptop or a smart phone. The server can be a server cluster composed of multiple servers, or a cloud computing service center. Among them, a large number of basic resources owned by a cloud service provider are deployed in the cloud computing service center. For example, a large number of basic resources such as computing resources, storage resources and network resources are deployed in the cloud computing service center. The cloud computing service center can use this large number of basic resources to implement the business processing method provided in the embodiments of the present application, as well as to implement more businesses.
[0225] Exemplarily, in an embodiment of the present application, the first server, the second server, the client, and / or the first network device can be interconnected and networked through any one or more of the following methods: wireless fidelity (WIFI), Bluetooth, Bluetooth Low Energy (BLE), ultra-wideband, ZigBee, radio frequency identification (RFID), fourth-generation mobile communication technology (4G), fifth-generation mobile communication technology (5G), sixth-generation mobile communication technology (6G), long-range radio (LoRa), Internet of Things (IoT) or narrowband Internet of Things (NB-IoT), etc.
[0226] Next, the embodiments of the present application are described in conjunction with the accompanying drawings. Figure 3 , Figure 3 The following is a flow chart of a service processing method according to an embodiment of the present application. A service processing method according to an embodiment of the present application includes:
[0227] S0. The client sends a third request to the first server, where the third request is used to request to subscribe to the first network service.
[0228] Step S0 is an optional step.
[0229] In step S0, the client can subscribe to a network service from the first server. Taking the subscription to the first network service as an example: the client sends a third request to the first server, and the third request is used to request subscription to the first network service. The third request carries relevant information of the client, such as an identity identifier related to the client or attribute information of the client, etc. The embodiment of the present application does not limit the relevant information of the client. Furthermore, the identity identifier related to the client includes: an identity identifier of the first application, an identity identifier of the first user, and / or an identity identifier of the first service, wherein the first application initiates the first service, and the first user is a user in the first application. The identity identifier can be an identity ID, address information, or a port number, etc., which is not limited in the embodiment of the present application.
[0230] In one possible implementation, the third request also includes type information of the first network service and / or network service demand information. By carrying the type information of the first network service in the third request, the type of the first network service that the client requests to subscribe to is indicated. The type information of the first network service includes, but is not limited to: Application-aware Networking (APN), network slicing, segment routing policy (SR policy), In-situ Flow Information Telemetry (IFIT), Deterministic Networking (DetNet), Virtual Private Network (VPN), or Quality of Service (QoS).
[0231] The network service demand information in step S0 is used to indicate the performance demand or business demand of the client for the first network service requested for subscription, such as what performance indicators or business indicators the first network service requested for subscription needs to meet. For example, the network service demand information includes but is not limited to: bandwidth, transmission rate, delay, delay jitter, QoS class type, Quality of Experience (QoE) score, encryption protection level, integrity protection level, packet loss rate, computing resources, application status or network service status, etc.
[0232] Regarding the first network service, the embodiment of the present application does not limit the specific network service type of the first network service. The first network service can be one network service or multiple network services. The first network service includes any one or more of the following: application-aware network APN, network slicing, segment routing policy SR policy, flow detection IFIT, deterministic network DetNet, virtual private network VPN or quality of service QoS. It should be noted that the first network service can also be other network services, which is not limited by the embodiment of the present application.
[0233] For example, the first network service that the client requests to subscribe to is APN, and the first network service needs to meet the requirements of latency less than 10 milliseconds (ms), and bandwidth greater than 300 megabits per second (mbps). Then the type information of the first network service carried in the third request is APN, and the network service requirement information is: latency less than 10 milliseconds, and bandwidth greater than 300 mbps.
[0234] Correspondingly, after the first server allocates the subscribed first network service to the client according to the third request, the first server associates and stores the relevant information of the client with the relevant information of the first network service subscribed by the client. For example, as shown in Table 1:
[0235] Table 1
[0236]
[0237] S1. A first server obtains first network service information, where the first network service information includes type information of the first network service and resource information of the first network service.
[0238] In step S1, the first server may obtain the relevant information of the first network service in a variety of ways. In the embodiment of the present application, for ease of description, the relevant information of the first network service is referred to as first network service information.
[0239] In a possible implementation, the first server (application server) applies to the second server for a specific type of network service, and the first server provides the type information of the required network service and the network service demand information when applying to the second server. Taking the example of the first server needing the first network service, when the first server applies to the second server for the first network service, it carries the type information of the first network service and the network service demand information related to the first network service. Then, the second server allocates the first network service to the first server according to the application. Specifically, the second server sends the first network service information related to the first network service to the first server.
[0240] In another possible implementation, the first server is composed of an application server and a background management platform for managing the application server, the background management platform applies for network services from the second server, and the corresponding second server sends the first network service information to the background management platform. The background management platform sends the first network service information to the application server.
[0241] The first network service information includes any one or more of the following: the first network service information includes any one or more of the following information: identification information of a network service provider of the first network service, resource information of the first network service, type information of the first network service, attribute information of the first network service, parameter information of the first network service, authentication service node information, or authentication information. Each of the following is described below.
[0242] 1. Identification information of the network service provider of the first network service. Exemplarily, the network service provider may be an operator, and the identification information of the network service provider may be the identity of the operator. For example, the identification information of the network service provider "China Mobile" is "1", the identification information of the network service provider "China Unicom" is "2", and the identification information of the network service provider "China Telecom" is "3".
[0243] 2. Type information of the first network service, indicating the type of the first network service that the client requests to subscribe to. For details about the type information of the first network service, see the aforementioned step S0, which will not be described in detail here.
[0244] 3. The resource information of the first network service indicates at least one available resource of the first network service, and the resource information of the first network service is identification information of the available resources related to the first network service (or the resource block of the first network service). The resource information of the first network service may be one or more identification information for identifying resources, or a group of address segments for identifying resources, or the start and end ranges of identification information for identifying resources, or a list of identification information for identifying resources, or an identification information block for identifying resources. For ease of understanding, taking the first network service as APN as an example, the resource information of the first network service may be a group of 10 APN identifiers (APN IDs) of application A, indicating that application A can be allocated to 10 users for use. For another example, taking the first network service as an SRv6 network service as an example, the resource identifier of the first network service may be a group of 3 SRv6 binding segment identifiers (binding SIDs) representing gold medal services and a group of 5 SRv6 binding SIDs representing silver medal services. For another example, taking the first network service as network measurement, the resource identifier of the first network service may be 100 flow IDs representing application B, and application B may use these 100 flow IDs to allocate to 100 application flows that need to enable the network measurement service.
[0245] 4. Attribute information of the first network service. Specifically, the attribute information of the first network service indicates the attributes of the first network service, or the attribute information of the first network service is used to represent the meaning of resource information of the first network service.
[0246] Exemplarily, the attribute information of the first network service indicates the application type applicable to the first network service. For example, the attribute information of the first network service is a video application (or a VR application, or an XR application), which specifically means that the available resources of the first network service are applicable to video applications (or VR applications, or XR applications). In combination with the attribute information of the first network service, it is determined that the available resources indicated by the resource information of the first network service are allocated to video services (or VR applications, or XR applications). For example, taking the first network service as APN as an example, the resource information of the first network service is "APN ID 1~APN ID 100", which indicates that the available resources of the first network service include resources corresponding to APN ID 1~APNID 100, and the attribute information of the first network service is a video service type. In combination with the attribute information of the first network service, the available resources "APN ID1~APN ID100" of the first network service can be allocated to video services.
[0247] In another example, the attribute information of the first network service is subdivided into security groups, specifically meaning that the available resources of the first network service are applicable to the services (or users) under the security group. In combination with the attribute information of the first network service, it is determined that the available resources indicated by the resource information of the first network service are allocated to the services (or users) belonging to the security group.
[0248] In another example, the attribute information of the first network service is a video data segmentation, which specifically means that the service (or user) to which the available resources of the first network service are applicable is the service (or user) corresponding to the video data segmentation. For example, the attribute information of the first network service is 1080P video data, and the available resources indicated by the resource information of the first network service are determined in combination with the attribute information of the first network service to be allocated to the service (or user) requiring the use of 1080P video data. For another example, the attribute information of the first network service is the key frame data of the video, and the key frame data may be I frame data, and the available resources of the first network service are determined in combination with the attribute information of the first network service to be allocated to the service message carrying the key frame data. The first network device needs to provide the first network service to the service message carrying the key frame data. For another example, the attribute information of the first network service is the non-key frame data of the video, and the non-key frame data may be P frame data or B frame data, and the available resources of the first network service are determined in combination with the attribute information of the first network service to be allocated to the service message carrying the non-key frame data. The first network device needs to provide the first network service to the service message carrying the non-key frame data.
[0249] Exemplarily, a possible scenario is as follows: the client sends a service message #I carrying a key frame, and the service message #I carries a network service identifier #1. The first network device provides the service message #I with network service #1 corresponding to the network service identifier #1 based on the network service identifier #1 carried by the service message #I. The client sends a service message #P carrying a non-key frame, and the service message #P carries a network service identifier #2. The first network device provides the service message #P with network service #2 corresponding to the network service identifier #2 based on the network service identifier #2 carried by the service message #P. This enables different network services to be provided for different video frame data of the video service.
[0250] In another example, the attribute information of the first network service includes but is not limited to: low latency, high bandwidth, and / or low packet loss, etc. The specific meaning is that the available resources of the first network service meet the requirements of low latency, high bandwidth and / or low packet loss. For example, the first network service is SRv6 policy, and the resource information of the first network service is "Binding SID 200~Binding SID300". According to the attribute information of the first network service, it can be determined that the available resources of the first network service are low-latency paths that meet the low latency requirements, and according to the attribute information of the first network service, it is determined that the path corresponding to the above-mentioned Binding SID 200~Binding SID 300 is a low-latency path.
[0251] In another example, the attribute information of the first network service is: high-bandwidth link, video reassurance (also known as video importance guarantee), or industrial manufacturing. For example, the first network service is network slicing, the attribute information of the first network service is video reassurance, and the resource information of the first network service is network slice ID (slice ID) 1 to network slice ID 10. According to the attribute information of the first network service, it is determined that the available resources of the first network service (for example, the network slice corresponding to network slice ID1 to the network slice corresponding to network slice ID10) can be allocated to the service requiring video reassurance, and the available resources of the network service provide network slices that meet the video reassurance requirements.
[0252] In another example, the attribute information of the first network service is: hop-by-hop measurement or end-to-end measurement. For example, the first network service is network measurement, the attribute information of the first network service is hop-by-hop measurement, and the resource information of the first network service is flow ID 200. According to the attribute information of the first network service, it is determined that the available resources of the first network service (flow with flow ID 200) can be allocated to the service requiring hop-by-hop measurement, and the available resources of the network service provide flows that support hop-by-hop measurement.
[0253] 5. Parameter information of the first network service The parameter information of the first network service refers to parameters related to the first network service. The parameter information of the first network service may be different depending on the first network service. The embodiment of the present application does not limit the parameter information of the first network service.
[0254] In one example, when the first network service is APN, the parameter information of the first network service includes but is not limited to: the SRv6 Policy color mapped to the APN ID, the ID of the network slice mapped to the APN ID, the IFIT instance mapped to the APN ID, or the QoS queue mapped to the APN ID.
[0255] In another example, when the first network service is an SRv6 policy, the parameter information of the first network service includes but is not limited to: a SID list (SID list) after the binding SID is expanded.
[0256] In another example, when the first network service is a network slice, parameter information of the first network service includes but is not limited to: a Flexible Ethernet (Flex Ethernet, FlexE) port, a channelized sub-port, or an index of a Flexible Ethernet channel (FlexE-channel).
[0257] In another example, when the first network service is network measurement, the parameter information of the first network service includes but is not limited to: the statistical period of network measurement, the type of network measurement, or the precision of network measurement. For example, the type of network measurement includes but is not limited to: measuring delay, measuring packet loss rate, or measuring transmission rate. For another example, the precision of network measurement includes but is not limited to: end-to-end measurement, or hop-by-hop measurement.
[0258] 6. Authentication service node information, the authentication service node information indicates the network node that provides authentication service for the message requesting the first network service, such as the ID information of the network node, or the Internet protocol (IP) address of the network node, or the port number of the network node, or the SRv6 SID that identifies the network node providing the authentication service function.
[0259] It should be noted that there are many possible implementations of the network node that provides authentication services (or authentication verification services) in the embodiments of the present application. The network node can be a hardware device (such as a network device) or software, and the embodiments of the present application do not limit this. Exemplarily, the network node includes but is not limited to: network devices, servers, bare metal, virtual machines, containers, network service function chains, or microservices, etc.
[0260] In one possible implementation, the network node may be a network device. The network device may be an edge node in a network service domain. After a service message is sent from a client, the network device responsible for forwarding the service message determines the edge node that provides authentication verification services based on the authentication service node information carried by the service message. Then, the network device forwards the service message to the edge node that provides authentication verification services, and the edge node performs authentication verification on the service message. It should be noted that after a service message is sent from a client, it may also be sent directly to an edge node.
[0261] Regarding the edge node, it can be a head node that provides network services in the network service domain, it can also be a tail node that provides network services in the network service domain, or it can be other nodes that do not provide network services in the network service domain. The embodiments of the present application do not limit this.
[0262] 7. Authentication information. The authentication information is used to authenticate and verify the message requesting the first network service. There are many possible implementations of the authentication information, which are not limited in the embodiments of the present application. For example, the authentication information may be a hash value, or a hash-based message authentication code (HMAC) check value, etc.
[0263] After the first server obtains the first network service information, the first server obtains the ability to allocate the first network service to the client, and the process goes to step S2.
[0264] S2. The first server receives a first request sent by the client.
[0265] In step S2, the first server receives a first request sent by the client. The first request may be a registration request sent by the client to the first server, or a login request sent by the client to the first server. It is understandable that the first request may also be a request by the client to apply for a first network service, which is not limited in the present embodiment of the application.
[0266] Furthermore, the first request carries relevant information of the client, such as an identity identifier related to the client.
[0267] S3. Based on the first request, the first server determines a first network service corresponding to the client.
[0268] In step S3, based on the first request, the first server determines a first network service corresponding to the client.
[0269] The specific process is as follows: the first server determines the first network service corresponding to the client based on the client-related identity carried in the first request. For example, the first network service that the client requests to subscribe to is determined based on the client-related identity. After the first server determines the first network service that the client requests to subscribe to, the first server determines one or more resources allocated to the client from one or more available resources indicated by the resource information of the first network service. Specifically, the first server determines the first network service identifier from the resource information of the first network service, and then allocates the first network service identifier to the client. In other words, the resource information of the first network service includes one or more first network service identifiers related to the first network service, and the first server determines the first network service identifier corresponding to the client from the resource information of the first network service based on the first request.
[0270] In one example, the resource information of the first network service includes ID 200 to ID 300, totaling 100 IDs. The 100 IDs respectively indicate 100 instances of the first network service. The first server allocates one of the 100 instances to the client based on the first request. The first server determines one ID from the 100 IDs, for example, ID 50, and then allocates ID 50 to the client as the first network service identifier.
[0271] In one example, application A (e.g., first server A) purchases 1,000 network guarantee resources from network service provider B (e.g., through the third request of step S0). The network service provider allocates an APN service to application A. The resource information of the APN service includes 1,000 available APN IDs from APN ID 1 to APN ID 1000. The APN service is used to implement network guarantee. When user C (e.g., client C) purchases network guarantee resources from application A, application A allocates any APN ID from APN ID 1 to APN ID 1000 and related network service information to user C. For example, application A allocates the APN service corresponding to APNID 50 and the network service information related to APN ID 50 to user C, so as to provide network guarantee corresponding to the APN service (APNID 50) to user C.
[0272] Optionally, based on the first request, the first server may also determine multiple network services corresponding to the client, and the multiple network services include the first network service. The multiple network services may be multiple network services of the same type, for example, the multiple network services include: APN#1, APN#2 and APN#3; the multiple network services may also be multiple network services of different types, for example, the multiple network services include: APN#1 and network measurement. The multiple network services may be network services provided by different network service providers, for example, the multiple network services include: network service #1 and network service #2, the network service provider of network service #1 is operator A, and the network service provider of network service #2 is operator B. The multiple network services may be network services provided by the same network service provider, for example, the multiple network services include: network service #1 and network service #2, the network service provider of network service #1 is operator A, and the network service provider of network service #2 is operator A.
[0273] S4. The first server sends a first response to the client, where the first response carries a first network service identifier determined based on the resource information of the first network service.
[0274] In step S4, after the first server determines the first network service corresponding to the client, the first server sends a first response to the client, where the first response carries a first network service identifier determined based on resource information of the first network service.
[0275] Exemplarily, if the first request is a registration request, the first response is a registration success response. In another example, if the first request is a login request, the first response is a login success response.
[0276] Optionally, in addition to carrying the first network service identifier, the first response may also carry first network service information related to the first network service. For example, the first response may also include any one or more of the following information: identification information of the network service provider of the first network service, type information of the first network service, attribute information of the first network service, authentication service node information, the authentication service node information indicating a network node that provides authentication services for a message requesting the first network service, or authentication information.
[0277] Optionally, after the first server determines the multiple network services corresponding to the client, the first response sent by the first server to the client may carry multiple network service identifiers, and the multiple network service identifiers correspond to the multiple network services respectively.
[0278] Regarding the first network service identifier, there are multiple possible implementations, such as any one or more of the following methods 1 and 2.
[0279] Mode 1: The first network service identifier corresponds to a namespace of the type information of the first network service. The semantics of the first network service identifier is determined by the type information of the first network service. In combination with the type of the network service indicated by the type information of the network service, the network service identifier is used to identify an instance of the network service. The network device or client determines the first network service corresponding to the first network service identifier based on the first network service identifier and the type information of the first network service.
[0280] Exemplarily, the type of network service #1 is APN service, the type information of network service #1 is "1", and the network service identifier is: "100". Combined with the type information of network service #1, the meaning of the network service identifier is that the type of network service #1 is APN service, and the network service identifier is used to identify that the instance of network service #1 is the APN service corresponding to APN ID 100. The type of network service #2 is a network slice service, and the network service identifier of network service #2 includes: "100". Combined with the type information of network service #2, the meaning of the network service identifier is that the type of network service #2 is a network slice service, and the network service identifier is used to identify that the instance of network service #2 is the network slice service corresponding to Slice ID 100.
[0281] As can be seen from the above example, the semantics of the network service identifier "100" is determined by the type information of the network service, and the network service identifier corresponds to the namespace of the type information of the network service. When the type information of the network service is "1", the network service indicated by the type information of the network service is an APN service. According to the type information of the network service, the meaning of the network service identifier "100" is the APN service corresponding to APN ID 100. When the type information of the network service is "2", the network service indicated by the type information of the network service is a network slice service. According to the type information of the network service, the meaning of the network service identifier "100" is the network slice service corresponding to network slice ID 100.
[0282] Mode 2: The first network service identifier is a globally unique identifier. Specifically, the network device or client determines the first network service corresponding to the first network service identifier based on the first network service identifier. For example, the network device or client locally maintains the association relationship between the network service identifier and the network service information, and the network device or client can determine the corresponding network service information from the association relationship based on the network service identifier.
[0283] Exemplarily, the type of network service #1 is APN service, and the network service identifier of network service #1 includes: "100". The meaning of this network service identifier is that the type of network service #1 is APN service, and the instance of network service #1 is the APN service corresponding to identifier 100. The type of network service #2 is network slicing service, and the network service identifier of network service #2 includes: "200". The meaning of this network service identifier is that the type of network service #2 is network slicing service, and the instance of network service #2 is the network slicing service corresponding to identifier 200. The type of network service #3 is network measurement service, and the network service identifier of network service #3 includes: "300". The meaning of this network service identifier is that the type of network service #3 is network measurement service, and the instance of network service #3 is the network measurement service corresponding to identifier 300.
[0284] In another possible implementation, the first network service identifier indicates the type of the first network service. Exemplarily, the network service identifier includes: a first field and a second field, wherein the first field indicates the type of the network service, and the semantics of the second field is determined by the type of the network service. In combination with the type of network service indicated by the first field, the second field identifies an instance of the network service. In other words, the second field corresponds to the namespace of the first field. The first field can be an enumeration value, for example, when the first field is "1", it represents the APN service, when the first field is "2", it represents the network slicing service, when the first field is "3", it represents the network measurement service, and so on. The second field may also be referred to as an opaque ID.
[0285] Exemplarily, the type of network service #1 is APN service, and the network service identifier of network service #1 includes: "1:100". The meaning of the first field "1" in the network service identifier is: the type of network service #1 is APN service; the meaning of the second field "100" in the network service identifier is: the instance of network service #1 is the APN service corresponding to APN ID 100. The type of network service #2 is network slicing service, and the network service identifier of network service #2 includes: "2:100". The meaning of the first field "2" in the network service identifier is: the type of network service #2 is network slicing service; the meaning of the second field "100" in the network service identifier is: the instance of network service #2 is the network slicing service corresponding to Slice ID 100.
[0286] It should be noted that, since the first network service identifier belongs to the resource information of the first network service, the resource information of the first network service corresponds to the first network service identifier, and there are also multiple implementation methods. Regarding the resource information of the first network service, there are multiple possible implementation methods, such as any one or more of the following methods 3 to 4.
[0287] Mode 3: First network service identifier As in the implementation of Mode 1 above, the resource information of the first network service may be a group of first network service identifiers.
[0288] In one example, the type information of network service #1 is "APN", and the resource information of network service #1 includes: "100-200". Combined with the type information of network service #1, the resource information of network service #1 means that the type of network service #1 is APN service, and the available resources of network service #1 are APN services corresponding to APN ID 100-APN ID 200.
[0289] In another example, the type information of network service #2 is "network slice service", and the resource information of network service #2 includes: "100-200". Combined with the type information of network service #2, the resource information of network service #2 means that the available resources of network service #2 are the network slice services corresponding to network slice ID 100-network slice ID 200.
[0290] As can be seen from the above example, the semantics of the resource information of the first network service is determined by the type information of the first network service. When the type information of the first network service is "1", the type information of the first network service indicates that the first network service is an APN service. According to the type information of the first network service, the meaning of the resource information "100-200" of the first network service is the APN service corresponding to APN ID 100-APN ID 200. When the type information of the first network service is "2", the type information of the first network service indicates that the first network service is a network slice service. According to the type information of the first network service, the meaning of the resource information "100-200" of the first network service is the network slice service corresponding to network slice ID 100-network slice ID 200.
[0291] Mode 4: First Network Service Identifier As in the implementation mode of Mode 2 above, the network device or the client determines the first network service corresponding to the first network service identifier according to the first network service identifier.
[0292] In one example, the resource information of network service #1 includes: “1-100”. The resource information of network service #1 means that the type of network service #1 is APN service, and the available resources of network service #1 are APN services corresponding to identifiers 1-100.
[0293] In another example, the resource information of network service #2 includes: "200-300". The resource information of network service #2 means that the available resources of network service #2 are the network slice services corresponding to identifiers 200-300.
[0294] S5. The client sends a first service message, where the first service message carries a first network service identifier, and the first network service identifier is used to instruct the network device to provide a first network service.
[0295] In step S5, after receiving the first response, the client determines the first network service that the client can request to use according to the first network service identifier carried in the first response. Then, the first service message sent by the client may carry the first network service identifier, which is used to indicate that the network device provides the first network service.
[0296] Optionally, if the first response further includes multiple network service identifiers, the multiple network service identifiers include the first network service identifier. The client may determine the corresponding multiple network services based on the multiple network service identifiers. The client determines one or more network services used by the first business message based on the multiple network services, wherein the one or more network services used by the first business message include the first network service.
[0297] In one example, when the first response includes multiple network service identifiers corresponding to multiple network services of the same type, the client may randomly select one or more network services from the multiple network services of the same type, or the client may select one or more network services with higher priorities based on the priorities of the multiple network services of the same type, or the client may select one or more network services from the multiple network services of the same type based on local policies, or the client may select one or more network services from the multiple network services of the same type based on an agreement, where the agreement refers to an agreement between a network service provider and an application service provider, and the agreement may be configured in the client or network device.
[0298] In another example, when the multiple network service identifiers included in the first response correspond to multiple different types of network services, the client determines whether the functions of the multiple different types of network services overlap or conflict. For example, when the multiple different types of network services include: APN service and network slice service, the functions of the APN service and the network slice service conflict. According to the local policy, priority or agreement of the client, it is determined that the APN service takes precedence over the network slice service, and the client selects the APN service from the multiple different types of network services.
[0299] Optionally, the client may also carry the multiple network service identifiers included in the first response in the first business message. The network device that receives the first business message selects the network service provided by the network device for the first business message based on the multiple network service identifiers and the identification information of the network service provider of the multiple network service identifiers. The network device may also determine the network service provided for the first business message based on the local policy of the network device, the priority and / or agreement of the network service.
[0300] Optionally, the first service message may include first network service information in addition to carrying the first network service identifier.
[0301] Optionally, the first service message may further include attribute information related to the client, wherein the attribute information related to the client includes any one or more of the following information: state information of the first application, demand information of the first application, the demand information of the first application indicating the quality demand of the first application for the network and / or the demand of the first application for the network function, state information of the first user, demand information of the first user, the demand information of the first user indicating the quality demand of the first user for the network and / or the demand of the first user for the network function, state information of the first service, or demand information of the first service, the demand information of the first service indicating the quality demand of the first service for the network and / or the demand of the first service for the network function. Exemplarily, the state information of the first application includes the working state of the first application and / or the user experience state of the first application, for example, the bandwidth occupancy rate of the first application or the delay value of the first application. Exemplarily, the state information of the first user includes but is not limited to: the delay value of the first user, the packet loss rate of the first user, the bandwidth usage of the first user, the computing resource usage of the first user, whether the operation event of the first user occurs, the number of operations of the first user, the usage time of the first user, or the viewing time of the first user. Exemplarily, the status information of the first service includes, but is not limited to: the delay value of the first service, the packet loss rate of the first service, the bandwidth usage of the first service, or the computing resource usage of the first service, etc. In another example, when the first service is a video service, the status information of the first service includes, but is not limited to: the number of freezes of the video (or live broadcast or on-demand), the delay information of starting playback, the delay information of the first playback, the resolution change of the video (or live broadcast or on-demand), the bit rate change of the video (or live broadcast or on-demand), the picture quality change of the video (or live broadcast or on-demand), or the sound quality change of the video (or live broadcast or on-demand).
[0302] The following describes how the first service message carries the first network service identifier, the first network service information, and / or client-related information. In a possible implementation, the network layer of the first service message carries the above information, and the network layer includes but is not limited to: IPv4, or IPv6. For example, the above information is carried in the IPv6 message header of the first service message.
[0303] In another possible implementation, the transport layer of the first business message carries the above information, and the transport layer includes but is not limited to: user datagram protocol (UDP), transmission control protocol (TCP), quick UDP internet connection (QUIC) protocol, or real-time transport protocol (RTP).
[0304] In yet another possible implementation, the above information is carried in a payload of the first service message.
[0305] In a possible example, for ease of understanding, please refer to Table 2 for the first network service information and application attribute information carried by the first business message.
[0306] Table 2
[0307]
[0308] In another possible example, for ease of understanding, please refer to Table 3 for the first network service information and application attribute information carried by the first business message.
[0309] Table 3
[0310]
[0311]
[0312] In the embodiment of the present application, the network provides a network service identifier for identifying the network service, so that the business message can request the corresponding network service by carrying the network service identifier. The network provides various types of network services to the application by providing an interface between the network service and the network service identifier, which facilitates the application to request network services in a refined manner. The network can provide network services to the application more conveniently to better meet the business needs of the application. The threshold for applications to use network services is lowered, and the degree of integration between applications and the network is improved.
[0313] In combination with the above-mentioned embodiment, the following describes how the first server (application service provider) applies for network services from the second server (network service provider). After the first server applies for network services, it can allocate network services to the client. Take the first server applying for the first network service from the second server as an example. It can be understood that the first server applying for other network services from the second server is similar to applying for the first network service. Figure 4 , Figure 4A business processing method proposed in an embodiment of the present application further includes:
[0314] D1. The first server sends a second request to the second server.
[0315] In step D1, the first server (application service provider) can apply for network services from the second server (network service provider). Specifically, the first server can send a second request to the second server. The first server determines the type of network service that needs to be applied for, such as the need to apply for APN service or network slicing service, and the second request carries the type information of the network service. In addition, the second request may carry the first server's demand information for the network service. Taking the first server applying for the first network service as an example, the second request carries any one or more of the following information: type information of the first network service, or network service demand information.
[0316] The type information of the first network service includes, but is not limited to: application-aware network, network slicing, segment routing strategy, flow detection, deterministic network, virtual private network or quality of service.
[0317] The network service requirement information in step D1 is used to indicate the performance requirement or business requirement of the first server for the applied first network service, such as what performance indicators or business indicators the applied first network service needs to meet. For example, the network service requirement information includes but is not limited to: bandwidth, transmission rate, delay, delay jitter, QoS category, experience quality score, encryption protection level, integrity protection level, packet loss rate, computing resources, application status or network service status, etc.
[0318] In a possible implementation manner, an application server of an application service provider (the application server belongs to the first server) sends a second request to a second server.
[0319] In another possible implementation, a background management platform of an application of an application service provider (the background management platform of the application belongs to the first server) sends a second request to the second server.
[0320] It should be noted that when the first server applies for multiple network services, it can be implemented by carrying type information of multiple network services and / or network service demand information corresponding to multiple network services in one second request; it can also be implemented by sending multiple second requests to the second server, each second request is used to request one or more network services.
[0321] D2. Based on the second request, the second server determines the first network service allocated to the first server.
[0322] In step D2, after receiving the second request, the second server determines the first network service allocated to the first server based on the second request.
[0323] Specifically, the second server determines, according to the type information of the first network service and / or the network service requirement information carried in the second request, a network service that meets the requirement information from a class of network services indicated by the type information.
[0324] For example, the type information of the first network service indicates an SRv6 service. The second server can provide four SRv6 services, namely BSID#1, BSID#2, BSID#3 and BSID#4. According to the network service requirement information in the second request, the second server determines that the SRv6 service corresponding to BSID#2 among the above four SRv6 services meets the requirement indicated by the network service requirement information. Therefore, the second server determines that the SRv6 service corresponding to BSID#2 is the first network service.
[0325] D3. The second server sends a second response to the first server, where the second response carries the first network service information.
[0326] In step D3, after the second server determines the first network service assigned to the first server, in response to the second request, the second server sends a second response to the first server, and the second response carries the first network service information. The first network service information in the second response includes the type information of the first network service and the resource information of the first network service. For the first network service information, please refer to the description of the aforementioned embodiment, which will not be repeated here.
[0327] Optionally, in step D3, the second server may also configure the first network service information to the network device, so that the network device provides the first network service to the service message carrying the first network service identifier according to the first network service information.
[0328] D4. The first server obtains the first network service information according to the second response.
[0329] In the embodiment of the present application, the application service provider (first server) can also apply for network services from the network service provider (second server). After the application service provider obtains network service information of the applied network service from the network service provider, the application service provider obtains the ability to allocate the network service to the client.
[0330] In combination with the above-mentioned embodiment, the following describes a processing method after the first network device receives the first service message. Figure 5 , Figure 5A business processing method proposed in an embodiment of the present application further includes:
[0331] F1. A first network device receives network service configuration information, where the network service configuration information includes network service information corresponding to at least one network service.
[0332] In step F1, the first network device may obtain the network service configuration information in a variety of ways, which are described below respectively.
[0333] In one possible implementation, the first network device may obtain network service configuration information from the second server. For example, after the second server receives the second request sent by the first server, the second server feeds back a second response to the first server. The second server may also send network service configuration information including the first network service information to the first network device, so that the first network device supports the provision of the first network service. For another example, after the network service provider launches a certain network service, the network service provider (second server) sends network service configuration information to the first network device, so that the first network device supports the provision of the network service.
[0334] In another possible implementation, the first network device may obtain the network service configuration information from a network element (or device or platform or software function or server or apparatus) that manages the network device, wherein the network element that manages the network device includes but is not limited to: a network controller, an authentication server, a management plane, an orchestrator, and / or a network management platform for managing the first network device. The network element that manages the network device may obtain the network service configuration information from the second server.
[0335] F2. The first network device receives a first service message, where the first service message carries a first network service identifier and identifier information of a network provider of the first network service.
[0336] After step F1, in step F2, the first network device receives a first service message from the client, the first service message carrying the first network service identifier and the identifier information of the network provider of the first network service. For the first service message, please refer to the aforementioned step S5, which will not be described here.
[0337] F3. The first network device performs authentication verification on the first service message according to the first network service information and network service configuration information carried in the first service message.
[0338] In step F3, after the first network device obtains the first network service information from the first service message, it performs authentication verification on the first service message according to the first network service information and the network service configuration information.
[0339] In a possible implementation, the first network device obtains the identification information of the network service provider of the first network service from the first network service information, and then the first network device determines the identification information of the network service domain from the network service configuration information, and the identification information of the network service domain indicates the network service provider corresponding to the first network device. The first network device matches the identification information of the network service provider of the first network service with the identification information of the network service domain, and if the match is successful, it is considered that the first business message has passed the authentication verification. Exemplarily, the identification information of the network service provider of the first network service is "operator A", and the identification information of the network service domain in the first network device includes "operator A" and "operator B". Since the identification information of the network service domain in the first network device includes the identification information of the network service provider of the first network service, the first network device considers that the first business message has passed the authentication verification.
[0340] In another possible implementation, the network service configuration information also includes authentication information. The first network device obtains authentication information from the first network service information of the first service message. Then the first network device matches the authentication information in the network service configuration information with the authentication information in the first network service information. If the match is successful, it is considered that the first service message passes the authentication verification. Exemplarily, the authentication information of the first network service information is "HMAC#1", and the authentication information of the network service configuration information in the first network device is "HMAC#1". Since the authentication information of the first network service information is the same as the authentication information of the network service configuration information, the first network device considers that the first service message passes the authentication verification. In another example, the authentication information of the first network service information is "HMAC". The first network device determines that an authentication algorithm (for example, an HMAC algorithm) needs to be executed on the first service message based on the authentication information and the network service configuration information. If the first service message passes the authentication verification of the authentication algorithm, the first network device determines that the first service message passes the authentication verification; if the first service message fails to pass the authentication verification of the authentication algorithm, the first network device determines that the first service message fails to pass the authentication verification.
[0341] It should be noted that the first network device can perform authentication verification only based on the identification information of the network provider of the first network service in the first network service information, or can perform authentication verification only based on the authentication information in the first network service information, or can perform authentication verification based on both the identification information of the network provider of the first network service in the first network service information and the authentication information in the first network service information. The embodiments of the present application are not limited to this.
[0342] If the first service message passes the authentication check, the process proceeds to step F4; if the first service message fails the authentication check, the first network device forwards the first service message according to the normal routing forwarding process of the first service message, for example, forwarding the first service message according to the routing information of the first service message. Alternatively, the first network device performs packet loss processing on the first service message.
[0343] Optionally, there may be multiple implementation methods for the authentication and verification processing of the first service message.
[0344] In a possible implementation, the first network device may perform the authentication verification process. For example, after the client sends the first service message, the first network device that receives the first service message performs the authentication verification process.
[0345] In another possible implementation, it can also be performed by a network node responsible for authentication verification. For example, after the client sends the first business message, the network device that receives the first business message forwards the first business message to the network node according to the authentication service node information carried in the first business message, and the network node performs authentication verification processing. The authentication service node information indicates the network node that provides authentication service for the message requesting the first network service.
[0346] The network node may be a server with an authentication verification function, a network device with an authentication verification function, or a service chain or service function with an authentication verification function, and the embodiments of the present application are not limited to this. For example, the network node with an authentication verification function may be a network service boundary node in the direction of the inbound port connected to the client. For another example, the network node with an authentication verification function may be a network service boundary node in the direction of the outbound port, where the outbound port direction refers to another direction opposite to the inbound port direction.
[0347] It should be noted that the network service boundary node in the direction of the inbound port can support the provision of the first network service to the first business message, that is, the network service boundary node is jointly set up with the first network device; the network service boundary node in the direction of the inbound port may also not support the provision of the first network service to the first business message. When the network service boundary node in the direction of the inbound port performs authentication and verification processing on the first business message and determines that the first business message passes the authentication and verification processing, the network service boundary node in the direction of the inbound port forwards the first business message to the first network device, and the first network device provides the first network service to the first business message.
[0348] F4. Based on the network service provider of the first network service corresponding to the first network device, the first network device provides the first network service for the first business message.
[0349] In step F4, based on the network service provider of the first network service corresponding to the first network device, the first network device provides the first network service for the first business message. For example, if the first network service is a network slicing service, the first network device transmits the first business message in the network slice corresponding to the network slicing service. For another example, if the first network service is a network measurement service, the first network device performs network measurement on the first business message according to the first network service. For another example, if the first network service is an APN service, the first network device provides the APN service for the first business message according to the first network service. For another example, if the first network service is an SRv6 Policy, the first network device forwards the first business message along the path of the SRv6 Policy according to the first network service.
[0350] In one possible implementation, if the first business message carries a single network service information, the network service information includes identification information of a network service provider. Then, when the first business message is forwarded between network devices, it can pass through network devices in a network service domain, and the network devices in the network service domain provide network services to the first business message. Network devices in the same network service domain have the same identification information of the network service domain. When the identification information of the network service domain matches the identification information of the network service provider of the first business message, the network devices in the network service domain provide network services to the business message. When the first business message is forwarded between network devices, it can also pass through network devices in multiple network service domains, and network services can be provided by network devices in a specific network service domain that matches the identification information of the network service provider of the first business message.
[0351] In another possible implementation, if the first business message carries multiple network service information, the multiple network service information may include identification information of the same network service provider, that is, the network services corresponding to the multiple network service identifications carried by the first business message belong to the same network service provider; the multiple network service information may also correspond to the identification information of multiple network service providers respectively, that is, the network services corresponding to the multiple network service identifications carried by the first business message belong to different network service providers. The following is an introduction respectively: multiple network service information includes identification information of the same network service provider, and the network equipment of the specific network service domain that matches the identification information of the network service provider provides one or more network services corresponding to the multiple network service information. Multiple network service information includes identification information of multiple network service providers, the first business message is forwarded between network equipment of multiple network service domains, and the network equipment of the specific network service domain that matches the identification information of the network service provider provides one or more network services corresponding to the multiple network service information.
[0352] Exemplarily, the identification information (provider ID) of the network service provider in the first business message includes: "underlay" and "overlay". The first business message is first forwarded to the network device of network service domain #1, and the identification information of the network service domain of the network device in network service domain #1 is "underlay". The network device in network service domain #1 provides the first business message with "underlay" related network services, and the specific network services provided are indicated by the network service identifier carried by the first business message. Then, the first business message is forwarded to the network device of network service domain #2, and the identification information of the network service domain of the network device in network service domain #2 is "overlay". The network device in network service domain #2 provides the first business message with "overlay" related network services. It can be understood that the first business message can also be forwarded to the network device of network service domain #2 first, and the network device of network service domain #2 provides network services before forwarding it to the network device of network service domain #1, and then the network device of network service domain #1 provides network services. The embodiment of the present application does not limit this.
[0353] Optionally, when the first network device acts as the head node of the network service domain, the first network device can also add the first network service information carried in the first business message to the first business message again, so that other first network devices that provide the first network service to the first business message can easily obtain the first network service information and improve the quality of network service. Specifically, after the first network device (the head node in the network service domain) receives the first business message, it obtains the first network service information and / or client-related attribute information from the first business message. Then, the first network device adds the first network service information and / or client-related attribute information to the first business message again to obtain the added first business message. The first network device forwards the added first business message to the next hop node.
[0354] In one possible implementation, the first network device adds a first message header to the first business message according to the first network service. Then, the first network device adds the first network service information and / or the attribute information related to the client to the first message header, and obtains the added first business message. The first message header is a message header of the network layer of the first business message, or the first message header is a message header of the transport layer of the first business message. For example, when the first network service is an SRv6 service, the first network device encapsulates a segment routing extension header (Segment Routing Header, SRH) for the first business message. The first network device adds the first network service information and / or the attribute information related to the client to the SRH, and obtains the added first business message.
[0355] In another possible implementation, the first network device adds the first network service information and / or client-related attribute information carried by the first service message to the payload of the first service message to obtain the added first service message, so as to facilitate the first service message to traverse the network service domain that does not support certain message headers and causes message loss.
[0356] In another possible implementation, after the client sends the first business message, the network service boundary node of the inbound port may perform authentication verification on the first business message. If the authentication verification passes, the network service boundary node of the inbound port adds the first network service information carried in the first business message to the first business message again to obtain the added first business message. Then the network service boundary node of the inbound port forwards the added first business message to the next-hop node. If the next-hop node is the first network device, the first network device provides the first network service to the first business message based on the added first business message. The specific adding method is the same as the aforementioned adding method of the first network device, which will not be repeated here.
[0357] Optionally, when the first network device serves as the tail node at the end of the network service domain, after receiving the added first service message, the first network device strips the first network service information and / or client-related attribute information added again from the added first service message to obtain the first service message. Then, the first network device forwards the first service message.
[0358] In another possible implementation, after the tail node (first network device) of the network service domain forwards the added first service message, the network service border node of the egress port receives the added first service message. Then, the network service border node of the egress port strips the first network service information and / or client-related attribute information added again from the added first service message to obtain the first service message. The network service border node of the egress port forwards the first service message to the next hop node.
[0359] The network service border node may be other network devices outside the network service domain, and the network service border node does not support providing the first network service. The network service border node may be the first network device in the network service domain, for example, the network service border node of the ingress port is co-located with the head node (first network device) of the network service domain, and the network service border node of the egress port is co-located with the tail node (first network device) of the network service domain.
[0360] In an embodiment of the present application, the first network device provides the first network service for the first business message according to the first network service identifier carried by the first business message. The network provides multiple types of network services to the application by providing an interface between the network service and the network service identifier, so that the application can request the network service in a refined manner. The network can provide network services to the application more conveniently to better meet the business needs of the application. The threshold for applications to use network services is lowered, and the degree of integration between applications and the network is improved.
[0361] In combination with the above-mentioned embodiment, the forwarding and processing flow of the first service message in the network service domain is introduced next.
[0362] In combination with the above embodiment, in a possible implementation manner, a network service domain including a head node, an intermediate node and an end node is used as an example for description, and the head node, the intermediate node and the end node all belong to the first network device. Figure 6 , Figure 6 This is a schematic diagram of an application scenario in an embodiment of the present application, and the application scenario includes:
[0363] G1. The head node receives a first service message. Specifically, the head node receives the first service message from the client.
[0364] G2. The head node performs authentication verification on the first service message. Specifically, the head node performs authentication verification on the first service message according to the first network service information carried by the first service message and the network service configuration information of the head node. If the authentication verification passes, proceed to step G3; if the authentication verification fails, perform normal routing forwarding on the first service message.
[0365] G3. The head node obtains the first network service information.
[0366] G4. The head node adds the first network service information to the first service message again. Specifically, the head node adds a first message header to the first service message according to the first network service, and adds the first network service information to the first message header again to obtain the added first service message.
[0367] G5. The head node provides the first network service for the first service message. Specifically, the head node determines the first network service according to the first network service identifier carried by the first service message. The head node provides the first network service for the first service message.
[0368] G6. The head node forwards the added first service message. Specifically, after determining the next hop node, the head node forwards the added first service message to the next hop node.
[0369] G7. The intermediate node provides the first network service for the first service message. Specifically, after receiving the added first service message, the intermediate node determines the first network service according to the first network service identifier carried by the first service message. The intermediate node provides the first network service for the first service message.
[0370] G8. The intermediate node forwards the added first service message. Specifically, after determining the next hop node, the intermediate node forwards the added first service message to the next hop node.
[0371] G9. The tail node strips the first network service information that is added again from the first business message. Specifically, after the tail node receives the first business message that is added, it determines the first network service and provides the first network service for the first business message according to the first network service identifier carried by the first business message that is added. Then, the tail node executes the forwarding process of the first business message. In the forwarding process, the tail node strips the first network service information that is added again from the first business message to obtain the first business message.
[0372] G10. The egress node forwards the first service message.
[0373] In combination with the above embodiment, in another possible implementation, a network service domain includes a network service border node of an ingress port, a head node, an intermediate node, an egress node, and a network service border node of an egress port. The head node, the intermediate node, the egress node, and the network service border node all belong to the first network device. Figure 7 , Figure 7 This is another application scenario schematic diagram in the embodiment of the present application, and the application scenario includes:
[0374] H1. The network service edge node at the ingress port receives the first service message. Specifically, the network service edge node at the ingress port receives the first service message from the client.
[0375] H2. The network service border node of the inbound port performs authentication verification on the first service message. Specifically, the network service border node of the inbound port performs authentication verification processing on the first service message according to the first network service information carried by the first service message and the network service configuration information obtained by the network service border node. If the authentication verification passes, proceed to step H3; if the authentication verification fails, perform normal routing forwarding on the first service message.
[0376] It should be noted that step H2 is an optional step. When step H2 is executed, step H12 may not be executed; or, when step H12 is executed, step H2 may not be executed; or, both step H2 and step H12 may be executed, which is not limited in the embodiment of the present application.
[0377] H3. The network service border node of the ingress port forwards the first service message. Specifically, after the network service border node of the ingress port determines the next hop node of the first service message, it forwards the first service message to the next hop node. The next hop node may be a head node.
[0378] H4. The head node obtains the first network service information. Specifically, after receiving the first service message, the head node obtains the first network service information from the first service message.
[0379] H5. The head node adds the first network service information to the first service message again. Specifically, the head node adds a first message header to the first service message according to the first network service, and adds the first network service information to the first message header again to obtain the added first service message.
[0380] H6. The head node provides the first network service for the first service message. Specifically, the head node determines the first network service according to the first network service identifier carried by the first service message. The head node provides the first network service for the first service message.
[0381] H7. The head node forwards the added first service message. Specifically, after determining the next hop node, the head node forwards the added first service message to the next hop node.
[0382] H8. The intermediate node provides the first network service for the first service message. Specifically, after receiving the added first service message, the intermediate node determines the first network service according to the first network service identifier carried by the first service message. The intermediate node provides the first network service for the first service message.
[0383] H9. The intermediate node forwards the added first service message. Specifically, after determining the next hop node, the intermediate node forwards the added first service message to the next hop node.
[0384] H10. The egress node provides the first network service for the first service message. Specifically, after receiving the added first service message, the egress node determines the first network service according to the first network service identifier carried by the first service message. The egress node provides the first network service for the first service message.
[0385] H11. The egress node forwards the added first service message.
[0386] H12. The network service border node of the egress port performs authentication verification on the first service message. Specifically, after the network service border node of the egress port receives the first service message, the network service border node of the egress port performs authentication verification processing on the first service message according to the first network service information carried by the first service message and the network service configuration information obtained by the network service border node.
[0387] H13. The network service boundary node of the egress port strips the re-added first network service information from the first service message. Specifically, after receiving the first service message, the network service boundary node of the egress port strips the re-added first network service information from the first service message to obtain the first service message.
[0388] H14. The network service edge node of the egress port forwards the first service message.
[0389] exist Figures 1 to 7 On the basis of the corresponding embodiments, in order to better implement the above-mentioned solutions of the embodiments of the present application, related devices for implementing the above-mentioned solutions are also provided below.
[0390] In this embodiment, the first network device, the first server, the second server, and / or the client in the service processing system may be, for example, electronic devices.
[0391] See also Figure 8 , Figure 8 Schematic diagram of the structure of an electronic device 801 provided in an embodiment of the present application. Figure 8 As shown, the electronic device 801 includes a processor 803, and the processor 803 is coupled to a system bus 805. The processor 803 can be one or more processors, each of which can include one or more processor cores. A display adapter (video adapter) 807, the display adapter can drive a display 809, and the display 809 is coupled to the system bus 805. The system bus 805 is coupled to an input-output (I / O) bus via a bus bridge 811. An I / O interface 815 is coupled to the I / O bus. The I / O interface 815 communicates with a variety of I / O devices, such as an input device 817 (such as a touch screen, etc.), an external memory 821 (for example, a hard disk, a floppy disk, an optical disk or a USB flash drive), a multimedia interface, etc.). A transceiver 823 (which can send and / or receive radio communication signals), and an external USB port 825. Optionally, the interface connected to the I / O interface 815 can be a USB interface.
[0392] The processor 803 may be any conventional processor, including a reduced instruction set computing (RISC) processor, a complex instruction set computing (CISC) processor, or a combination thereof. Alternatively, the processor may be a dedicated device such as an ASIC.
[0393] The hard disk drive interface 831 is coupled to the system bus 805. The hard disk drive interface is connected to the hard disk drive 833. The internal memory 835 is coupled to the system bus 805. The data running in the internal memory 835 may include an operating system (OS) 837 of the electronic device 801, an application program 836, and a scheduler.
[0394] The processor 803 can communicate with the internal memory 835 through the system bus 805, and fetch instructions and data in the application program 836 from the internal memory 835, thereby implementing program execution.
[0395] The operating system includes Shell 839 and Kernel 838. Shell 839 is an interface between the user and the kernel of the operating system. The shell is the outermost layer of the operating system. The shell manages the interaction between the user and the operating system: waiting for user input, interpreting user input to the operating system, and processing various operating system output results.
[0396] The kernel 838 consists of those parts of the operating system used to manage memory, files, peripherals, and system resources. The kernel 838 interacts directly with the hardware. The operating system kernel usually runs processes and provides communication between processes, provides CPU time slice management, interrupts, memory management, IO management, etc.
[0397] See also Fig. 9 , Fig. 9 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. The electronic device is a network device, a first controller and / or a second controller in a business processing system. The electronic device includes: a transceiver module 901 and a processing module 902, wherein the transceiver module 901 may also include a receiving module and a sending module. The electronic device is used to execute the steps executed by the aforementioned first network device, the first server, the second server, and / or the client.
[0398] An embodiment of the present application also provides a computer program product, which, when executed on a computer, enables the computer to execute the steps executed by the aforementioned first network device, first server, second server, and / or client.
[0399] A computer-readable storage medium is also provided in an embodiment of the present application. The computer-readable storage medium stores a program for signal processing. When the program is run on a computer, the computer executes the steps executed by the aforementioned first network device, first server, second server, and / or client.
[0400] The first network device, the first server, the second server, and / or the client provided in the embodiment of the present application may specifically be a chip, and the chip includes: a processing unit and a communication unit, wherein the processing unit may be, for example, a processor, and the communication unit may be, for example, an input / output interface, a pin or a circuit, etc. The processing unit may execute the computer execution instructions stored in the storage unit so that the chip in the execution device executes the message processing method described in the above embodiment. Optionally, the storage unit is a storage unit in the chip, such as a register, a cache, etc. The storage unit may also be a storage unit located outside the chip in the wireless access device, such as a read-only memory (ROM) or other types of static storage devices that can store static information and instructions, a random access memory (RAM), etc.
[0401] Those skilled in the art can clearly understand that, for the convenience and brevity of description, the specific working processes of the systems, devices and units described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.
[0402] In the several embodiments provided in the present application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.
[0403] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0404] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0405] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions to enable a computer device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory, a random access memory, a magnetic disk or an optical disk.
Claims
1. A method for providing network services, characterized in that: include: The first server acquires first network service information, where the first network service information includes resource information of the first network service; Based on the first request sent by the client, the first server sends a first response to the client, where the first response carries a first network service identifier determined based on the first network service information.
2. The method according to claim 1, characterized in that The first request carries an identity identifier related to the client.
3. The method according to claim 1 or 2, characterized in that: The first server obtains the first network service information, including: The first server sends a second request to the second server; The first server receives a second response sent by the second server based on the second request, where the second response carries the first network service information; Wherein, the second server is a network service provider server.
4. The method according to claim 3, characterized in that The second request carries any one or more of the following information: The type information of the first network service, or the network service requirement information.
5. The method according to any one of claims 1 to 4, characterized in that The first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicating at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; Authentication service node information, the authentication service node information indicating a network node that provides authentication service for a message requesting the first network service; Or, authentication information.
6. The method according to any one of claims 1 to 5, characterized in that Before the first server sends the first response to the client, the method further includes: The first server obtains a third request sent by the client, where the third request is used to request a subscription to the first network service.
7. The method according to any one of claims 1 to 6, characterized in that The first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
8. A method for providing network services, characterized in that: include: The client sends a first request to the first server; The client receives a first response sent by the first server based on the first request, where the first response carries a first network service identifier, and the first network service identifier corresponds to a first network service; The client sends a first service message, where the first service message carries the first network service identifier, and the first network service identifier is used to instruct a network device to provide the first network service.
9. The method according to claim 8, characterized in that The first response also includes first network service information, and the first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicating at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; Authentication service node information, the authentication service node information indicating a network node that provides authentication service for a message requesting the first network service; Or, authentication information.
10. The method according to claim 8 or 9, characterized in that: The first response further includes a plurality of network service identifiers, wherein the plurality of network service identifiers includes the first network service identifier; The method further comprises: The client determines, according to the multiple network service identifiers, multiple network services corresponding to the multiple network services, where the multiple network services include the first network service; The client determines one or more network services used by the first business message according to the multiple network services, wherein the one or more network services used by the first business message include the first network service.
11. The method according to claim 10, characterized in that The client determines, according to the multiple network services, one or more network services used by the first service message, including: The client determines one or more network services used by the first service message from the multiple network services according to priorities and / or local policies of the multiple network services.
12. The method according to any one of claims 9 to 11, characterized in that: The first business message also includes the first network service information.
13. The method according to any one of claims 8 to 12, characterized in that: The first service message also includes attribute information related to the client, wherein the attribute information related to the client includes any one or more of the following information: state information of the first application; The requirement information of the first application, where the requirement information of the first application indicates the quality requirement of the first application on the network and / or the requirement of the first application on the network function; Status information of the first user; The demand information of the first user, where the demand information of the first user indicates the quality demand of the first user for the network and / or the demand of the first user for the network function; Status information of the first service; Alternatively, the requirement information of the first service, the requirement information of the first service indicating the quality requirement of the first service on the network and / or the requirement of the first service on the network function; The first application initiates the first service, the first user is a user in the first application, and the first service message is a service message of the first service.
14. The method according to any one of claims 8 to 13, characterized in that: The method further comprises: The client sends a third request to the first server, where the third request is used to request to subscribe to the first network service; The client receives a third response sent by the first server based on the third request, where the third response indicates that the client has successfully subscribed to the first network service.
15. The method according to any one of claims 8 to 14, characterized in that The first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
16. A business processing system, characterized in that: The business processing system includes: a first server and a client; The first server acquires first network service information, where the first network service information includes resource information of the first network service; The first server receives a first request sent by a client; Based on the first request sent by the client, the first server sends a first response to the client, where the first response carries a first network service identifier determined based on the first network service information; The client sends a first service message, where the first service message carries the first network service identifier, and the first network service identifier is used to instruct a network device to provide the first network service.
17. The system according to claim 16, characterized in that The business processing system further includes a second server, which is a network service provider server; The first server obtains the first network service information, including: The first server sends a second request to the second server; Based on the second request sent by the first server, the second server sends a second response to the first server, where the second response carries the first network service information; The first server obtains the first network service information according to the second response.
18. The system according to claim 17, characterized in that The second request carries any one or more of the following information: The type information of the first network service, or the network service requirement information.
19. The system according to any one of claims 16 to 18, characterized in that: Before the first server determines the first network service corresponding to the client based on the first request sent by the client, the system further includes: The client sends a third request to the first server, where the third request is used to request a subscription to the first network service.
20. The system according to any one of claims 16 to 19, characterized in that The first response further includes a plurality of network service identifiers, wherein the plurality of network service identifiers includes the first network service identifier; The system further comprises: The client determines, according to the multiple network service identifiers, multiple network services corresponding to the multiple network services, where the multiple network services include the first network service; The client determines one or more network services used by the first business message according to the multiple network services, wherein the one or more network services used by the first business message include the first network service.
21. The system according to claim 20, characterized in that The client determines, according to the multiple network services, one or more network services used by the first service message, including: The client determines one or more network services used by the first service message from the multiple network services according to priorities and / or local policies of the multiple network services.
22. The system according to any one of claims 16 to 21, characterized in that: The first business message also includes the first network service information.
23. The system according to any one of claims 16 to 22, characterized in that The first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicating at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; Authentication service node information, the authentication service node information indicating a network node that provides authentication service for a message requesting the first network service; Or, authentication information.
24. The system according to any one of claims 16 to 23, characterized in that The first service message also includes attribute information related to the client, wherein the attribute information related to the client includes any one or more of the following information: state information of the first application; The requirement information of the first application, where the requirement information of the first application indicates the quality requirement of the first application on the network and / or the requirement of the first application on the network function; Status information of the first user; The demand information of the first user, where the demand information of the first user indicates the quality demand of the first user for the network and / or the demand of the first user for the network function; Status information of the first service; Alternatively, the requirement information of the first service, the requirement information of the first service indicating the quality requirement of the first service on the network and / or the requirement of the first service on the network function; The first application initiates the first service, the first user is a user in the first application, and the first service message is a service message of the first service.
25. The system according to any one of claims 16 to 24, characterized in that The system further includes: a first network device; The first network device receives the first service message, where the first service message also includes identification information of a network service provider of the first network service, where the network service provider of the first network service provides the first network service; The first network device determines, according to the first network service identifier carried by the first service message, the first network service corresponding to the first network service identifier; Based on the network service provider of the first network service corresponding to the first network device, the first network device provides the first network service for the first service message.
26. The system according to claim 25, characterized in that The system further comprises: The first network device obtains identification information and / or authentication information of the network service provider of the first network service carried in the first service message; The first network device performs authentication verification on the first service message according to the identification information of the network service provider of the first network service and / or the authentication information carried in the first service message; If the first service message passes the authentication verification, the first network device provides the first network service for the first service message.
27. The system according to any one of claims 24 to 26, characterized in that The system further includes: a second network device; The first network device determines the second network device, where the second network device is a next hop node of the first network device; The first network device forwards the first service message to the second network device.
28. The system according to claim 27, characterized in that The first network device forwarding the first service message to the second network device includes: The first network device obtains the first network service information and / or attribute information related to the client carried by the first service message; The first network device adds the first network service information and / or the attribute information related to the client to the first service message again to obtain the added first service message; The first network device forwards the added first service message to the second network device.
29. The system according to claim 28, characterized in that The first network device adds the first network service information and / or the attribute information related to the client to the first service message again to obtain the added first service message, including: The first network device adds a first message header to the first service message according to the first network service; The first network device adds the first network service information and / or the client-related attribute information to the first message header to obtain the added first service message.
30. The system according to any one of claims 22 to 29, characterized in that The system further comprises: The first network device receives the added first service message; The first network device strips the first network service information and / or the attribute information related to the client added again from the first service message after the addition, to obtain the first service message; The first network device forwards the first service message.
31. The system according to any one of claims 16 to 30, characterized in that The first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
32. A method for providing network services, characterized in that: include: The first network device receives a first service message, where the first service message carries a first network service identifier and identification information of a network service provider of the first network service, where the first network service identifier is used to indicate that the network device provides the first network service, and the network service provider of the first network service provides the first network service corresponding to the first network service identifier; Based on the first network device corresponding to a network service provider of the first network service, the first network device provides the first network service for the first service message.
33. The method according to claim 32, characterized in that The first service message also includes first network service information corresponding to the first network service, and the method further includes: The first network device receives network service configuration information sent by the server, where the network service configuration information includes network service information corresponding to at least one network service; The first network device matches, according to the identification information of the network service provider of the first network service included in the first network service information, with the identification information of the network service domain in the network service configuration information, wherein the identification information of the network service domain in the network service configuration information indicates the network service provider corresponding to the first network device; If the match is successful, the first network device determines that the first service message passes the authentication verification.
34. The method according to claim 32 or 33, characterized in that The first service message also includes first network service information corresponding to the first network service, and the method further includes: The first network device receives network service configuration information sent by the server, where the network service configuration information includes network service information corresponding to at least one network service; The first network device matches the authentication information included in the first network service information with the authentication information in the network service configuration information; If the match is successful, the first network device determines that the first service message passes the authentication verification.
35. The method according to any one of claims 32 to 34, characterized in that The first network service information includes any one or more of the following information: identification information of the network service provider of the first network service; type information of the first network service; resource information of the first network service, the resource information of the first network service indicating at least one available resource of the first network service; attribute information of the first network service; parameter information of the first network service; Authentication service node information, the authentication service node information indicating a network node that provides authentication service for a message requesting the first network service; Or, authentication information.
36. The method according to any one of claims 32 to 35, characterized in that The first service message also includes attribute information related to the client, wherein the attribute information related to the client includes any one or more of the following information: state information of the first application; The requirement information of the first application, where the requirement information of the first application indicates the quality requirement of the first application on the network and / or the requirement of the first application on the network function; Status information of the first user; The demand information of the first user, where the demand information of the first user indicates the quality demand of the first user for the network and / or the demand of the first user for the network function; Status information of the first service; Alternatively, the requirement information of the first service, the requirement information of the first service indicating the quality requirement of the first service on the network and / or the requirement of the first service on the network function; The first application initiates the first service, the first user is a user in the first application, and the first service message is a service message of the first service.
37. The method according to any one of claims 32 to 36, characterized in that The method further comprises: The first network device determines the second network device, where the second network device is a next hop node of the first network device; The first network device forwards the first service message to the second network device.
38. The method according to claim 37, characterized in that The first network device forwarding the first service message to the second network device includes: The first network device obtains the first network service information and / or attribute information related to the client carried by the first service message; The first network device adds the first network service information and / or the attribute information related to the client to the first service message again to obtain the added first service message; The first network device forwards the added first service message to the second network device.
39. The method according to claim 38, characterized in that The first network device adds the first network service information and / or the attribute information related to the client to the first service message again to obtain the added first service message, including: The first network device adds a first message header to the first service message according to the first network service; The first network device adds the first network service information and / or the client-related attribute information to the first message header to obtain the added first service message.
40. The method according to any one of claims 38-39, characterized in that The method further comprises: The first network device receives the added first service message; The first network device strips the first network service information and / or the attribute information related to the client added again from the first service message after the addition, to obtain the first service message; The first network device forwards the first service message.
41. The method according to any one of claims 32 to 40, characterized in that The first network service identifier is a globally unique identifier, or the first network service identifier corresponds to a namespace of type information of the first network service.
42. An electronic device, characterized in that: It includes a memory and a processor; the memory stores codes, and the processor is configured to execute the codes. When the codes are executed, the electronic device executes the method as described in any one of claims 1-7, or claims 8-15, or claims 32-41.
43. A business processing system, characterized in that: include: An electronic device as claimed in claim 42.
44. An electronic device, characterized in that: The electronic device is applied to a first server, and the electronic device includes: A transceiver module, configured to obtain first network service information, wherein the first network service information includes resource information of the first network service; A processing module, configured to determine the first network service corresponding to the client based on a first request sent by the client; The transceiver module is further used to send a first response to the client, where the first response carries a first network service identifier determined based on the first network service information.
45. An electronic device, characterized in that: The electronic device is applied to a client, and the electronic device includes: A transceiver module, used for sending a first request to a first server; The transceiver module is further configured to receive a first response sent by the first server based on the first request, where the first response carries a first network service identifier, and the first network service identifier corresponds to a first network service; The transceiver module is further used to send a first business message, where the first business message carries the first network service identifier, and the first network service identifier is used to indicate that the network device provides the first network service.
46. An electronic device, characterized in that: The electronic device is applied to a first network device, and the electronic device includes: a transceiver module, configured to receive a first service message, wherein the first service message carries a first network service identifier and identification information of a network service provider of the first network service, wherein the first network service identifier is used to indicate that the network device provides the first network service, and the network service provider of the first network service provides the first network service corresponding to the first network service identifier; A processing module is used to provide the first network service for the first business message based on a network service provider of the first network service corresponding to the first network device.
47. A computer storage medium, characterized in that The computer storage medium stores instructions, which, when executed by a computer, enable the computer to implement the method of any one of claims 1-7, claims 8-15, or claims 32-41.
48. A computer program product, characterized in that The computer program product stores instructions, which, when executed by a computer, enable the computer to implement the method of any one of claims 1 to 7, claims 8 to 15, or claims 32 to 41.