Information processing method and communication device

By receiving network element requests and determining legitimacy based on the authorization list, a secure connection is established, which solves the problem of insufficient security risk identification in the NF service discovery and authorization process, and improves system security and policy management capabilities.

CN118694554APending Publication Date: 2024-09-24HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310357533.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-03-24
Publication Date
2024-09-24

AI Technical Summary

Technical Problem

The lack of NF-level security risk identification during the network function (NF) service discovery and authorization process leads to reduced system security.

Method used

By receiving requests from network elements, determining legitimacy based on role attribute information and service authorization lists, sending authorization requests to management network elements, receiving responses and sending access tokens to network elements providing services, establishing secure connections, and implementing network function services. Security decoupling and authorization.

Benefits of technology

It improves the security of the system, enhances the security policy management capabilities of network function services, avoids unauthorized access, and improves processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118694554A
    Figure CN118694554A
Patent Text Reader

Abstract

The invention provides an information processing method and a communication device. The method comprises the following steps: receiving a first request from a first network element; the first request indicates that a first network element requests to access a first service, and the first request comprises an identifier of the first network element; if the first request is determined to be a legal service request based on the role attribute information of the first network element and the service authorization list, sending an authorization request to the management network element, the authorization request indicating that the first network element requests to authorize the first service; receiving an authorization response from the management network element, wherein the authorization response indicates an access token corresponding to the first service; the second network element is used for providing a first service; and sending a second request to a control network element corresponding to a second network element, the second request indicating that the first network element requests to access the first service, the second request including the access token and the identifier of the first network element. According to the invention, the security of the system can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to an information processing method and a communication device. Background Art

[0002] At present, in order to correctly maintain the available network function (NF) instances and their supported service information, each NF instance can notify a network element of the list of NF services it supports and establish an NF configuration file, thereby realizing the registration of the NF instance.

[0003] When an NF instance needs to access a certain network function, the NF service discovery process can be executed. For example, the network element that establishes an NF configuration file for each NF instance can be called a target network element, and the target network element can provide service discovery capabilities. The first NF sends a service discovery request including capability information and expected second NF service information to the target network element; the target network element determines the service discovery result based on the configuration files of the first NF and the second NF, as well as the local service discovery policy, and returns the service discovery result to the first NF.

[0004] When the NF instance needs to perform service authorization, the NF service authorization process can be executed. For example, the target network element can provide service authorization capability, and the first NF sends an authorization request to the target network element; the target network element can determine the authorization for the first NF based on the policy information of the first NF, the policy information of the operator, and the agreement between operators; the authorized first NF will obtain an access token (except for static authorization), and the second NF can determine the authorization information of the first NF by verifying the access token, thereby providing services to the first NF.

[0005] However, in the process of performing NF service discovery and NF service authorization, there is a lack of NF-level security risk identification, which will reduce the security of the system. Summary of the invention

[0006] The embodiments of the present application provide an information processing method and a communication device, which can improve the security of the system.

[0007] In a first aspect, the present application provides an information processing method, which includes: receiving a first request from a first network element; the first request indicates that the first network element requests access to a first service, and the first request includes an identifier of the first network element; if the first request is determined to be a legitimate service request based on the role attribute information and the service authorization list of the first network element, an authorization request is sent to a management network element; the authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes the identifier of the first network element, the identifier of the control network element corresponding to the first network element, and the name of the first service; receiving an authorization response from the management network element; the authorization response indicates an access token corresponding to the first service, and the access token includes the identifier of the control network element corresponding to the first network element, the identifier of the second network element, and the identifier of the control network element corresponding to the second network element; the second network element is used to provide the first service; sending a second request to the control network element corresponding to the second network element, the second request indicating that the first network element requests access to the first service, and the second request includes the access token and the identifier of the first network element.

[0008] Based on the method described in the first aspect, in the process of executing network function service authorization, security risk identification at the network function level is added, and a certain degree of decoupling of network function services and security is achieved, which is conducive to improving the security of the system and further enhancing the security policy management capabilities supported by future networks.

[0009] In a possible implementation, before receiving the first request from the first network element, the method further includes: receiving a first service discovery request from the first network element; the first service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the first service discovery request includes the name of the first service; if it is determined based on the service authorization list that the first network element has the authority to access the first service, the first service discovery request is forwarded to the management network element. Based on this approach, the security of executing the service discovery process can be improved.

[0010] In a possible implementation, the first request further indicates that the first network element requests to discover a network element that provides the first service, and the first request further includes a name of the first service.

[0011] In a possible implementation, before sending the authorization request to the management network element, the method further includes: if it is determined based on the service authorization list that the first network element has the authority to access the first service, sending the identifier of the second network element to the first network element. Based on this approach, the security of executing the service discovery process can be improved, while improving the efficiency of service discovery.

[0012] In a possible implementation, the authorization response includes secure channel configuration information, and the method further includes: establishing a secure connection with a control network element corresponding to the second network element based on the secure channel configuration information. Based on this approach, the security of the system can be improved.

[0013] In a possible implementation, the identification information in the secure channel configuration information is a hash value of the access token.

[0014] In a possible implementation, the access token further includes first indication information, and the first indication information is used to instruct the second network element to verify the access token. Based on this approach, the second network element can verify the access token again, thereby improving the security of the system.

[0015] In a possible implementation, the method further includes: receiving a service authorization list from a management network element. Based on this approach, the real-time and dynamic nature of the service authorization list can be achieved.

[0016] In a possible implementation, the method further includes: receiving a first registration success notification from a management network element, the first registration success notification including an identifier of the first network element; establishing a secure channel with the first network element based on the identifier of the first network element; receiving a first request from the first network element, including: receiving the first request from the first network element through the secure channel. Based on this method, sending information through the secure channel can improve the security of the system.

[0017] In the second aspect, the present application provides an information processing method, which includes: receiving an authorization request from a control network element corresponding to a first network element; the authorization request indicates that the first network element requests authorization for a first service, and the authorization request includes an identifier of the first network element, an identifier of the control network element corresponding to the first network element, and a name of the first service; if it is determined based on registration information that the control network element corresponding to the first network element is a first preset network element, and it is determined based on a service authorization list that the first service is authorized, then an access token corresponding to the first service is generated; the access token includes the identifier of the control network element corresponding to the first network element, the identifier of the second network element, and the identifier of the control network element corresponding to the second network element; the second network element is used to provide the first service; an authorization response is sent to the control network element corresponding to the first network element; the authorization response indicates the access token corresponding to the first service.

[0018] The beneficial effects of the method provided in the second aspect can be found in the description of the beneficial effects of the method in the first aspect, which will not be repeated here.

[0019] In one possible implementation, before receiving an authorization request from a control network element corresponding to the first network element, the method also includes: receiving a first service discovery request from a control network element corresponding to the first network element; the first service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the first service discovery request includes the name of the first service; if the authority of the first network element to specifically discover the first service is determined based on the service authorization list, and if the control network element corresponding to the first network element is determined based on the service authorization list to have the authority to process the first service discovery request, then the identifier of the second network element is sent to the first network element.

[0020] In a possible implementation, the authorization response includes security channel configuration information, and the method further includes: sending notification information to a control network element corresponding to the second network element, the notification information including an identifier of the control network element corresponding to the first network element and the security channel configuration information.

[0021] In a possible implementation, the identification information in the secure channel configuration information is a hash value of the access token.

[0022] In one possible implementation, the method also includes: receiving second indication information from a second network element; the second indication information is used to instruct the second network element to perform a service for access token verification, and the service for access token verification performed by the second network element includes the first service; the access token also includes first indication information, and the first indication information is used to instruct the second network element to verify the access token.

[0023] In a possible implementation manner, the method further includes: receiving a service authorization list from a policy network element.

[0024] In a possible implementation, the method further includes: receiving a first registration request from a first network element, the first registration request indicating a second service supported by the first network element, the first registration request including an identifier of the first network element; and if the second service is included in the service authorization list, sending a first registration success response to the first network element. Based on this approach, the security of the network function registration process can be improved.

[0025] In a possible implementation, the first registration request also includes third indication information, and the third indication information is used to indicate that a control network element is allocated to the first network element. Before sending a first registration success response to the first network element, the method also includes: allocating a first preset network element to the first network element, and saving the association relationship between the first network element and the first preset network element, and the first registration success response includes an identifier of the first preset network element; after sending the first registration success response to the first network element, the method also includes: sending a first registration success notification to the first preset network element, and the first registration success notification includes an identifier of the first network element. Based on this method, the security of the network function registration process can be improved.

[0026] In a possible implementation, the method further includes: receiving a second registration request from a second network element, the second registration request indicating a third service supported by the second network element, the second registration request including an identifier of the second network element; and if the third service is included in the service authorization list, sending a second registration success response to the second network element. Based on this approach, the security of the network function registration process can be improved.

[0027] In a possible implementation, the second registration request also includes fourth indication information, and the fourth indication information is used to indicate that a control network element is allocated to the second network element. Before sending a second registration success response to the second network element, the method also includes: allocating a second preset network element to the second network element, and saving the association relationship between the second network element and the second preset network element, and the second registration success response includes an identifier of the second preset network element; after sending the second registration success response to the second network element, the method also includes: sending a second registration success notification to the second preset network element, and the second registration success notification includes an identifier of the second network element. Based on this method, the security of the network function registration process can be improved.

[0028] In a possible implementation, the method further includes: receiving a third registration request from the first network element, the third registration request indicating a second service supported by the first network element, the third registration request including an identifier of the first network element and an identifier of a first preset network element, the first preset network element being a control network element corresponding to the preconfigured first network element; if the second service is included in the service authorization list, saving the association relationship between the first network element and the first preset network element; and sending a third registration success response to the first network element. Based on this method, the security of the network function registration process can be improved.

[0029] In a possible implementation, the method further includes: receiving a fourth registration request from the second network element, the fourth registration request indicating a third service supported by the second network element, the fourth registration request including an identifier of the second network element and an identifier of a second preset network element, the second preset network element being a control network element corresponding to the preconfigured second network element; if the third service is included in the service authorization list, saving the association relationship between the second network element and the second preset network element; and sending a fourth registration success response to the second network element. Based on this method, the security of the network function registration process can be improved.

[0030] In a possible implementation manner, the first registration request or the third registration request further includes fifth indication information, where the fifth indication information is used to instruct the first network element to perform an access token verification service.

[0031] In a possible implementation manner, the second registration request or the fourth registration request further includes the second indication information, where the second indication information is used to instruct the second network element to perform an access token verification service.

[0032] In a possible implementation manner, the method further includes: sending the service authorization list to a control network element corresponding to the first network element.

[0033] In a possible implementation manner, the method further includes: sending the service authorization list to a control network element corresponding to the second network element.

[0034] In a third aspect, the present application provides an information processing method, the method comprising: receiving a second request from a control network element corresponding to a first network element, the second request indicating that the first network element requests access to a first service, the second request including an access token and an identifier of the first network element; the access token including the identifier of the control network element corresponding to the first network element, the identifier of the second network element and the identifier of the control network element corresponding to the second network element; the second network element is used to provide the first service; if it is determined that the access token is a legal token, sending a third request to the second network element, the third request indicating that the first network element requests access to the first service, the third request including the identifier of the first network element.

[0035] The beneficial effects of the method provided in the third aspect can be found in the description of the beneficial effects of the method in the first aspect, which will not be repeated here.

[0036] In a possible implementation, the method further includes: receiving notification information from a management network element, the notification information including an identifier of a control network element corresponding to the first network element and security channel configuration information; and establishing a secure connection with the control network element corresponding to the first network element based on the security channel configuration information.

[0037] In a possible implementation, the identification information in the secure channel configuration information is a hash value of the access token.

[0038] In a possible implementation, the access token also includes first indication information, where the first indication information is used to instruct the second network element to verify the access token; and the third request includes the access token.

[0039] In a possible implementation, determining that the access token is a legal token includes: if a first condition is met, determining that the access token is a legal token; the first condition includes: the control network element corresponding to the first network element is a first preset network element, and the control network element corresponding to the second network element is a second preset network element; the service authorization information in the access token is legal; based on the role attribute information of the second network element, determining that the second network element has the authority to process the second request. Based on this method, the legitimacy of the access token can be accurately verified.

[0040] In a possible implementation, the method further includes: receiving a second registration success notification from the management network element, the second registration success notification including an identifier of the second network element; and establishing a secure channel with the second network element based on the identifier of the second network element.

[0041] In a fourth aspect, the present application provides an information processing method, which includes: sending a first request to a control network element corresponding to a first network element, the first request indicating that the first network element requests access to a first service, the first request including an identifier of the first network element; and receiving a first request response from a second network element.

[0042] The beneficial effects of the method provided in the fourth aspect can be found in the description of the beneficial effects of the method in the first aspect, which will not be repeated here.

[0043] In one possible implementation, before sending a first request to a control network element corresponding to the first network element, the method also includes: sending a first service discovery request to the control network element corresponding to the first network element; the first service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the first service discovery request includes the name of the first service; receiving an identifier of a second network element from the management network element, and the second network element is used to provide the first service.

[0044] In a possible implementation, before sending the first request to the control network element corresponding to the first network element, the method further includes: receiving an identifier of a second network element from the control network element corresponding to the first network element, the second network element being configured to provide the first service.

[0045] In a possible implementation, the method further includes: sending a first registration request to a management network element, the first registration request indicating a second service supported by the first network element, the first registration request including an identifier of the first network element; and receiving a first registration success response from the management network element.

[0046] In one possible implementation, the first registration request also includes third indication information, and the third indication information is used to indicate that a control network element is allocated to the first network element; the first registration success response includes an identifier of a first preset network element, and the first preset network element is the control network element allocated to the first network element.

[0047] In one possible implementation, the method also includes: sending a third registration request to the management network element, the third registration request indicating the second service supported by the first network element, the third registration request including an identifier of the first network element and an identifier of a first preset network element, the first preset network element being a control network element corresponding to the pre-configured first network element; and receiving a third registration success response from the management network element.

[0048] In a possible implementation manner, the first registration request or the third registration request further includes fifth indication information, where the fifth indication information is used to instruct the first network element to perform an access token verification service.

[0049] In a fifth aspect, the present application provides an information processing method, which includes: receiving a third request from a control network element corresponding to a second network element, the third request indicating that a first network element requests access to the first service, the third request including an identifier of the first network element; and sending a first request response to the first network element.

[0050] The beneficial effects of the method provided in the fifth aspect can be found in the description of the beneficial effects of the method in the first aspect, which will not be repeated here.

[0051] In one possible implementation, the third request also includes an access token, which includes an identifier of a control network element corresponding to the first network element, an identifier of a second network element, and an identifier of a control network element corresponding to the second network element; the second network element is used to provide the first service, and sends a first request response to the first network element, including: if it is determined that the access token is a legal token, sending a first request response to the first network element.

[0052] In a possible implementation, determining that the access token is a legal token includes: if the second condition is met, determining that the access token is a legal token; the second condition includes: the control network element corresponding to the first network element is the first preset network element, and the control network element corresponding to the second network element is the second preset network element; the service authorization information in the access token is legal; based on the role attribute information of the second network element, determining that the second network element has the authority to process the third request. Based on this method, the legitimacy of the access token can be accurately verified.

[0053] In a possible implementation, the method further includes: sending a second registration request to the management network element, the second registration request indicating a third service supported by the second network element, the second registration request including an identifier of the second network element; and receiving a second registration success response from the management network element.

[0054] In one possible implementation, the second registration request also includes third indication information, and the third indication information is used to indicate the allocation of a control network element for the second network element; the second registration success response includes an identifier of a second preset network element, and the second preset network element is the control network element corresponding to the first network element allocated by the management network element.

[0055] In one possible implementation, the method also includes: sending a fourth registration request to the management network element, the fourth registration request indicating the third service supported by the second network element, the fourth registration request including an identifier of the second network element and an identifier of a second preset network element, the second preset network element being a control network element corresponding to the pre-configured second network element; and receiving a fourth registration success response from the management network element.

[0056] In a possible implementation manner, the second registration request or the fourth registration request further includes second indication information, where the second indication information is used to instruct the second network element to perform an access token verification service.

[0057] In a possible implementation manner, the method further includes: sending second indication information to the management network element, where the second indication information is used to instruct the second network element to perform an access token verification service.

[0058] In a possible implementation manner, the method further includes: receiving a service authorization list from a management network element.

[0059] In a sixth aspect, the present application provides an information processing method, which includes: receiving a first request from a first network element; the first request indicates that the first network element requests access to a first service, and the first request includes an identifier of the first network element; if the first request is determined to be a legitimate service request based on the role attribute information and service authorization list of the first network element, an authorization request is sent to a management network element; the authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes the identifier of the first network element, the identifier of the control network element and the name of the first service; receiving an authorization response from the management network element; the authorization response includes an authorization result and an authorization service; if the authorization result indicates authorization and the authorized service is the first service, a first request response is sent to the first network element.

[0060] Based on the method described in the sixth aspect, in the process of executing network function service authorization, security risk identification at the network function level is added, and a certain degree of decoupling of network function services and security is achieved, which is conducive to improving the security of the system and further enhancing the security policy management capabilities supported by future networks; at the same time, all network functions share a control network element, and there is no need to establish a secure channel between control network elements, which improves processing efficiency.

[0061] In a possible implementation, before receiving the first request from the first network element, the method further includes: receiving a third service discovery request from the first network element; the third service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the first service discovery request includes the name of the first service; if it is determined based on the service authorization list that the first network element has the authority to access the first service, the third service discovery request is forwarded to the management network element. Based on this method, the security of executing the service discovery process can be improved.

[0062] In a possible implementation, the first request further indicates that the first network element requests to discover a network element that provides the first service, and the first request further includes a name of the first service.

[0063] In a possible implementation, before sending the authorization request to the management network element, the method further includes: if it is determined based on the service authorization list that the first network element has the right to access the first service, sending a fourth service discovery request to the management network element, the fourth service discovery request indicating that the first network element requests to discover a network element that provides the first service, and the second service discovery request includes the name of the first service. Based on this method, the security of executing the service discovery process can be improved.

[0064] In the seventh aspect, the present application provides an information processing method, the method comprising: receiving an authorization request from a control network element, the authorization request indicating that a first network element requests authorization for a first service, the authorization request comprising an identifier of the first network element, an identifier of the control network element and a name of the first service; if it is determined to authorize the first service based on the service authorization list, sending an authorization response to the control network element; the authorization response comprises an authorization result and an authorized service.

[0065] The beneficial effects of the method provided in the seventh aspect can be found in the description of the beneficial effects of the method in the sixth aspect, which will not be repeated here.

[0066] In one possible implementation, before receiving the authorization request from the control network element, it also includes: receiving a third service discovery request from the control network element; the third service discovery request instructs the first network element to request to discover the network element that provides the first service, and the first service discovery request includes the name of the first service; if the first network element's specific authority to discover the first service is determined based on the service authorization list, and the control network element is determined to have the authority to process the third service discovery request based on the service authorization list, then the identifier of the second network element is sent to the first network element.

[0067] In one possible implementation, before receiving the authorization request from the second network element, it also includes: receiving a fourth service discovery request from the control network element, the fourth service discovery request instructing the first network element to request to discover the network element that provides the first service, and the second service discovery request includes the name of the first service; if it is determined based on the service authorization list that the first network element has the authority to discover the first service, and it is determined based on the service authorization list that the control network element has the authority to process the fourth service discovery request, then sending the identifier of the second network element to the first network element.

[0068] In an eighth aspect, the present application provides an information processing method, the method comprising: sending a first request to a control network element, the first request indicating that the first network element requests access to a first service, the first request including an identifier of the first network element; and receiving a first request response from the control network element.

[0069] The beneficial effects of the method provided in the eighth aspect can be found in the description of the beneficial effects of the method in the sixth aspect, which will not be repeated here.

[0070] In one possible implementation, before sending the first request to the control network element, the method also includes: sending a third service discovery request to the control network element; the third service discovery request instructs the first network element to request to discover the network element that provides the first service, and the first service discovery request includes the name of the first service; receiving an identifier of a second network element from the management network element, and the second network element is used to provide the first service.

[0071] In a possible implementation manner, before sending the first request to the control network element, the method further includes: receiving an identifier of a second network element from the management network element, where the second network element is used to provide the first service.

[0072] In the ninth aspect, the present application provides an information processing method, which includes: receiving a first request from a first network element; the first request indicates that the first network element requests access to a first service, and the first request includes an identifier of the first network element; if the first request is determined to be a legitimate service request based on the role attribute information and service authorization list of the first network element, an authorization request is sent to a management network element; the authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes the identifier of the first network element, the identifier of the control network element and the name of the first service; receiving an authorization response from the management network element; the authorization response indicates an access token corresponding to the first service, and the access token includes the identifier of the control network element and the identifier of the second network element; the second network element is used to provide the first service; sending a fifth request to the second network element, the fifth request indicating that the first network element requests access to the first service, and the fifth request includes the access token and the identifier of the first network element.

[0073] Based on the method described in the ninth aspect, in the process of executing network function service authorization, security risk identification at the network function level is added, and a certain degree of decoupling of network function services and security is achieved, which is conducive to improving the security of the system and further enhancing the security policy management capabilities supported by future networks; at the same time, all network functions share a control network element, and there is no need to establish a secure channel between control network elements, which improves processing efficiency.

[0074] In a possible implementation manner, the access token further includes first indication information, where the first indication information is used to instruct the second network element to verify the access token.

[0075] In the tenth aspect, the present application provides an information processing method, which includes: receiving an authorization request from a control network element; the authorization request indicates that the first network element requests authorization for a first service, and the authorization request includes an identifier of the first network element, an identifier of the control network element, and a name of the first service; if it is determined to authorize the first service based on the service authorization list, an access token corresponding to the first service is generated; the access token includes an identifier of the control network element and an identifier of a second network element; the second network element is used to provide the first service; an authorization response is sent to the control network element; the authorization response indicates the access token corresponding to the first service.

[0076] In a possible implementation, the method further includes: receiving second indication information from a second network element; the second indication information is used to instruct the second network element to perform a service for access token verification, and the service performed by the second network element for access token verification includes the first service; the access token also includes first indication information, and the first indication information is used to instruct the second network element to verify the access token. Based on this method, the second network element can verify the access token again, thereby improving the security of the system.

[0077] The beneficial effects of the method provided in the tenth aspect can be found in the description of the beneficial effects of the method in the ninth aspect, which will not be repeated here.

[0078] In the eleventh aspect, the present application provides an information processing method, the method comprising: sending a first request to a control network element, the first request indicating that the first network element requests access to a first service, the first request including an identifier of the first network element; and receiving a first request response from a second network element.

[0079] The beneficial effects of the method provided in the eleventh aspect can be found in the description of the beneficial effects of the method in the ninth aspect, which will not be repeated here.

[0080] In the twelfth aspect, the present application provides an information processing method, which includes: receiving a fifth request from a control network element, the fifth request indicating that a first network element requests access to the first service, the fifth request including an access token and an identifier of the first network element; if it is determined that the access token is a legal token, sending a first request response to the first network element.

[0081] The beneficial effects of the method provided in the twelfth aspect can be found in the description of the beneficial effects of the method in the ninth aspect, which will not be repeated here.

[0082] In a possible implementation manner, the access token further includes first indication information, where the first indication information is used to instruct the second network element to verify the access token.

[0083] In a possible implementation, determining that the access token is a legal token includes: if a third condition is met, determining that the access token is a legal token; the third condition includes: the service authorization information in the access token is legal; and determining that the second network element has the authority to process the fifth request based on the role attribute information of the second network element. Based on this method, the legitimacy of the access token can be accurately verified.

[0084] In a thirteenth aspect, the present application provides an information processing method, the method comprising: receiving security situation information, the security situation information being used to indicate the security status and security capabilities of each network element in the system; generating a service authorization list based on the security situation information; and sending the service authorization list to a management network element.

[0085] Based on the method described in the thirteenth aspect, the service authorization list is updated in real time using the security situation information inside and outside the system, thereby improving the real-time and dynamic nature of the service authorization list, which is beneficial to improving the security of the system.

[0086] In a fourteenth aspect, the present application provides a communication device, which may be a control network element corresponding to a first network element, or a device in a control network element corresponding to the first network element, or a device that can be used in combination with the control network element corresponding to the first network element; wherein, the communication device may also be a chip system, and the communication device may execute the method executed by the control network element corresponding to the first network element in the first aspect. The functions of the communication device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions. The unit may be software and / or hardware. The operations and beneficial effects performed by the communication device may refer to the methods and beneficial effects described in the first aspect above, and the repeated parts will not be repeated.

[0087] In a fifteenth aspect, the present application provides a communication device, which may be a management network element, or a device in a management network element, or a device that can be used in combination with a management network element; wherein the communication device may also be a chip system, and the communication device may execute the method performed by the management network element in the second aspect, the seventh aspect, or the tenth aspect. The functions of the communication device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions. The unit may be software and / or hardware. The operations and beneficial effects performed by the communication device may refer to the methods and beneficial effects described in the second aspect, the seventh aspect, or the tenth aspect above, and the repetitive parts will not be repeated.

[0088] In the sixteenth aspect, the present application provides a communication device, which may be a control network element corresponding to the second network element, or a device in the control network element corresponding to the second network element, or a device that can be used in combination with the control network element corresponding to the second network element; wherein, the communication device may also be a chip system, and the communication device may execute the method executed by the control network element corresponding to the second network element in the third aspect. The functions of the communication device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions. The unit may be software and / or hardware. The operations and beneficial effects performed by the communication device may refer to the methods and beneficial effects described in the third aspect above, and the repeated parts will not be repeated.

[0089] In the seventeenth aspect, the present application provides a communication device, which may be a first network element, or a device in the first network element, or a device that can be used in combination with the first network element; wherein the communication device may also be a chip system, and the communication device may execute the method executed by the first network element in the fourth aspect, the eighth aspect, or the eleventh aspect. The functions of the communication device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions. The unit may be software and / or hardware. The operations and beneficial effects performed by the communication device may refer to the methods and beneficial effects described in the fourth aspect or the eighth aspect above, and the repeated parts will not be repeated.

[0090] In the eighteenth aspect, the present application provides a communication device, which may be a second network element, or a device in the second network element, or a device that can be used in combination with the second network element; wherein the communication device may also be a chip system, and the communication device may execute the method executed by the second network element in the fifth aspect or the twelfth aspect. The functions of the communication device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions. The unit may be software and / or hardware. The operations and beneficial effects performed by the communication device may refer to the methods and beneficial effects described in the fifth aspect or the twelfth aspect above, and the repeated parts will not be repeated.

[0091] In the nineteenth aspect, the present application provides a communication device, which may be a control network element, or a device in a control network element, or a device that can be used in combination with a control network element; wherein the communication device may also be a chip system, and the communication device may execute the method executed by the control network element in the sixth aspect or the ninth aspect. The functions of the communication device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions. The unit may be software and / or hardware. The operations and beneficial effects performed by the communication device may refer to the methods and beneficial effects described in the sixth aspect or the ninth aspect above, and the repetitive parts will not be repeated.

[0092] In the twentieth aspect, the present application provides a communication device, which may be a policy network element, or a device in a policy network element, or a device that can be used in combination with a policy network element; wherein the communication device may also be a chip system, and the communication device may execute the method executed by the policy network element in the thirteenth aspect. The functions of the communication device may be implemented by hardware, or by hardware executing corresponding software implementations. The hardware or software includes one or more units corresponding to the above functions. The unit may be software and / or hardware. The operations and beneficial effects performed by the communication device may refer to the methods and beneficial effects described in the thirteenth aspect above, and the repeated parts will not be repeated.

[0093] In the twenty-first aspect, the present application provides a communication device, which includes a processor. When the processor calls a computer program in a memory, the method executed by the control network element corresponding to the first network element, the management network element, the control network element corresponding to the second network element, the first network element, the second network element, the control network element or the policy network element in the methods described in the first to thirteenth aspects is executed.

[0094] In the twenty-second aspect, the present application provides a communication device, which includes a processor and a memory, the memory being used to store computer execution instructions; the processor being used to execute the computer execution instructions stored in the memory, so that the communication device executes the method executed by the control network element corresponding to the first network element, the management network element, the control network element corresponding to the second network element, the first network element, the second network element, the control network element or the policy network element in the methods described in the first aspect to the thirteenth aspect.

[0095] In the twenty-third aspect, the present application provides a communication device, which includes a processor, a memory and a transceiver, the transceiver is used to receive a signal or send a signal; the memory is used to store a computer program; the processor is used to call the computer program from the memory to execute the method executed by the control network element corresponding to the first network element, the management network element, the control network element corresponding to the second network element, the first network element, the second network element, the control network element or the policy network element in the methods described in the first aspect to the thirteenth aspect.

[0096] In the twenty-fourth aspect, the present application provides a communication device, which includes a processor and an interface circuit, the interface circuit being used to receive computer execution instructions and transmit them to the processor; the processor runs the computer execution instructions to execute the method executed by the control network element corresponding to the first network element, the management network element, the control network element corresponding to the second network element, the first network element, the second network element, the control network element or the policy network element in the methods described in the first aspect to the thirteenth aspect.

[0097] In the twenty-fifth aspect, the present application provides a computer-readable storage medium, which is used to store computer execution instructions. When the computer execution instructions are executed, the control network element corresponding to the first network element, the management network element, the control network element corresponding to the second network element, the first network element, the second network element, the control network element or the policy network element in the methods described in the first aspect to the thirteenth aspect are executed.

[0098] In a twenty-sixth aspect, the present application provides a communication device, comprising a function or unit for executing the method as described in any one of the first to thirteenth aspects.

[0099] In the twenty-seventh aspect, the present application provides a computer program product comprising a computer program. When the computer program is executed, the method of executing the control network element corresponding to the first network element, the management network element, the control network element corresponding to the second network element, the first network element, the second network element, the control network element or the policy network element in the methods described in the first to thirteenth aspects is implemented.

[0100] In aspect 28, the present application provides a communication system, which includes a control network element corresponding to a first network element, a management network element, a second network element, and the control network element corresponding to the second network element; wherein the control network element corresponding to the first network element is used to execute the method described in the first aspect, the management network element is used to execute the method described in the second aspect, the control network element corresponding to the second network element is used to execute the method described in the third aspect, and the second network element is used to execute the method described in the fifth aspect.

[0101] In a possible implementation, the communication system further includes a policy network element, which is used to execute the method described in the thirteenth aspect above.

[0102] In the twenty-ninth aspect, the present application provides a communication system, which includes a control network element corresponding to the first network element, a management network element, a control network element corresponding to the second network element, a first network element, and a second network element; wherein the control network element corresponding to the first network element is used to execute the method described in the first aspect, the management network element is used to execute the method described in the second aspect, the control network element corresponding to the second network element is used to execute the method described in the third aspect, the first network element is used to execute the method described in the fourth aspect, and the second network element is used to execute the method described in the fifth aspect.

[0103] In a possible implementation, the communication system further includes a policy network element, which is used to execute the method described in the thirteenth aspect above.

[0104] In the thirtieth aspect, the present application provides a communication system, which includes a control network element, a management network element and a first network element; wherein the control network element is used to execute the method described in the sixth aspect, the management network element is used to execute the method described in the seventh aspect, and the first network element is used to execute the method described in the eighth aspect.

[0105] In a possible implementation, the communication system further includes a policy network element, which is used to execute the method described in the thirteenth aspect above.

[0106] In the thirty-first aspect, the present application provides a communication system, which includes a control network element, a management network element, a first network element and a second network element; wherein the control network element is used to execute the method described in the ninth aspect, the management network element is used to execute the method described in the tenth aspect, the first network element is used to execute the method described in the eleventh aspect, and the second network element is used to execute the method described in the twelfth aspect.

[0107] In a possible implementation, the communication system further includes a policy network element, which is used to execute the method described in the thirteenth aspect above. BRIEF DESCRIPTION OF THE DRAWINGS

[0108] Figure 1 It is a schematic diagram of a network system architecture provided by an embodiment of the present application;

[0109] Figure 2 It is a schematic diagram of a core network architecture provided in an embodiment of the present application;

[0110] Figure 3A is a schematic diagram of a security system architecture provided by an embodiment of the present application;

[0111] Figure 3B is a schematic diagram of another security system architecture provided by an embodiment of the present application;

[0112] Figure 4It is a flowchart of an information processing method provided by an embodiment of the present application;

[0113] Figure 5 It is a flowchart of another information processing method provided by an embodiment of the present application;

[0114] Figure 6 It is a flowchart of another information processing method provided by an embodiment of the present application;

[0115] Figure 7 is a structural diagram of a communication device provided in an embodiment of the present application;

[0116] Figure 8 is a structural diagram of another communication device provided in an embodiment of the present application;

[0117] Fig. 9 It is a schematic diagram of the structure of a chip provided in an embodiment of the present application. DETAILED DESCRIPTION

[0118] The specific embodiments of the present application are further described in detail below in conjunction with the accompanying drawings.

[0119] The terms "first" and "second" and the like in the specification, claims and drawings of this application are used to distinguish different objects, rather than to describe a specific order. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device comprising a series of steps or units is not limited to the listed steps or units, but may optionally include steps or units not listed, or may optionally include other steps or units inherent to these processes, methods, products or devices.

[0120] Reference to "embodiments" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiments may be included in at least one embodiment of the present application. The appearance of the phrase in various locations in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.

[0121] In the present application, "at least one (item)" means one or more, "more than one" means two or more, "at least two (items)" means two or three and more than three, and "and / or" is used to describe the corresponding relationship of associated objects, indicating that three relationships may exist. For example, "A and / or B" can mean: only A exists, only B exists, and A and B exist at the same time, where A and B can be singular or plural. The character " / " generally indicates that the objects associated before and after are in an "or" relationship. "At least one of the following items" 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, "a and b", "a and c", "b and c", or "a and b and c", where a, b, c can be single or multiple.

[0122] In order to better understand the embodiments of the present application, the system architecture involved in the embodiments of the present application is first introduced below:

[0123] 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), new radio (NR), the 3rd generation partner project (3GPP) service-based network architecture (SBA), and other fifth generation (5G) communication systems or sixth generation (6G) communication systems and other communication systems evolved after 5G.

[0124] See also Figure 1 , Figure 1 Schematic diagram of a network system architecture provided by an embodiment of the present application. Figure 1 As shown, the terminal device can access the wireless network to obtain services of the external network (such as the data network (DN)) through the wireless network, or communicate with other devices through the wireless network, such as communicating with other terminal devices. The wireless network includes a (radio) access network ((radio) access network, (R) AN) and a core network (CN), wherein the (R) AN (hereinafter described as RAN) is used to access the terminal device to the wireless network, and the CN is used to manage the terminal device and provide a gateway for communication with the DN. The following are respectively Figure 1 The terminal equipment, RAN, CN and DN involved in the system architecture are described in detail.

[0125] 1. Terminal equipment

[0126] The terminal device includes a device that provides voice and / or data connectivity to the user. For example, the terminal device is a device with wireless transceiver function, which can be deployed on land, including indoors or outdoors, handheld, wearable or vehicle-mounted; it can also be deployed on the water surface (such as ships, etc.); it can also be deployed in the air (such as airplanes, balloons and satellites, etc.). The terminal device can be a mobile phone, a tablet computer (Pad), a computer with wireless transceiver function, a virtual reality (VR) terminal, an augmented reality (AR) terminal, a wireless terminal in industrial control, a vehicle-mounted terminal, a wireless terminal in self-driving, a wireless terminal in remote medical, a wireless terminal in smart grid, a wireless terminal in transportation safety, a wireless terminal in smart city, a wireless terminal in smart home, a wearable terminal, etc. The embodiments of the present application do not limit the application scenarios. Terminal equipment may sometimes also be referred to as terminal, user equipment (UE), access terminal, vehicle-mounted terminal, industrial control terminal, UE unit, UE station, mobile station, mobile station, remote station, remote terminal, mobile device, UE terminal, wireless communication equipment, UE agent or UE device, etc. The terminal may also be fixed or mobile. It is understood that all or part of the functions of the terminal in this application may also be implemented by software functions running on hardware, or by virtualization functions instantiated on a platform (such as a cloud platform). The terminal device in this application may be a terminal for 5G or a terminal for 6G, and this application does not limit this.

[0127] 2. RAN

[0128] The RAN may include one or more RAN devices (or access network devices). The interface between the access network device and the terminal device may be a Uu interface (or air interface). Of course, in communications that evolve after 5G, the names of these interfaces may remain unchanged, or may be replaced by other names, and this application does not limit this.

[0129] Access network equipment refers to the node or device that connects the terminal device to the wireless network. Access network equipment includes, but is not limited to: next generation node B (gNB), evolved node B (eNB), next generation eNB (ng-eNB), wireless backhaul equipment, radio network controller (RNC), node B (NB), home evolved node B (HeNB) or home node B (HNB), baseband unit (BBU), transmitting and receiving point (TRP), transmitting point (TP), mobile switching center, device-to-device (D2D), vehicle-to-everything (V2X), machine-to-machine (M2M) communication equipment that performs base station functions, etc. It can also include cloud radio access network (cloud radio access network). The RAN in this application may be a RAN for 5G or a RAN for 6G, and this application does not limit this.

[0130] 3. CN

[0131] The CN may include one or more CN devices (which may be understood as network element devices or network function (NF)). In the following text, the CN devices are collectively referred to as network elements (eg, the first network element and the second network element in the following text).

[0132] See also Figure 2 , Figure 2 is a schematic diagram of a core network architecture provided by this application, Figure 2 The CN in Figure 1 is a schematic diagram of the CN in the 5G network architecture. Figure 2The CN shown includes multiple CN devices: network slice selection function (NSSF), network exposure function (NEF), network function repository function (NRF), policy control function (PCF), unified data management (UDM), application function (AF), network control function (NCF), network slice specific authentication and authorization function (NSSAAF), authentication server function (AUSF), access and mobility management function (AMF), session management function (SMF), user plane function (UPF), service communication proxy (SCP), network slice admission control (NSACF). Among them:

[0133] AMF is a control plane function provided by the operator network, responsible for access control and mobility management of terminal devices accessing the operator network, such as mobility status management, allocation of user temporary identities, authentication and authorization of users, etc.

[0134] SMF is a control plane function provided by the operator network, responsible for managing the protocol data unit (PDU) session of the terminal device. A PDU session is a channel for transmitting PDUs. The terminal device needs to transmit PDUs to and from the DN through the PDU session. SMF is responsible for establishing, maintaining and deleting PDU sessions. SMF includes session management (such as session establishment, modification and release, including tunnel maintenance between UPF and RAN), UPF selection and control, service and session continuity (SSC) mode selection, roaming and other session-related functions.

[0135] PCF is a control plane function provided by the operator, including user subscription data management function, policy control function, charging policy control function, quality of service (QoS) control, etc. It is mainly used to provide PDU session policies to SMF. Among them, the policy may include charging-related policies, QoS-related policies, and authorization-related policies.

[0136] UPF is a gateway provided by the operator and is the gateway for the operator network to communicate with the DN. UPF includes user-plane related functions such as packet routing and transmission, packet detection, quality of service (QoS) processing, uplink packet detection, and downlink packet storage.

[0137] UDM is mainly used to manage the user's contract data and authentication data, as well as to perform authentication credit processing, user identity processing, access authorization, registration / mobility management, subscription management, and short message management. In some embodiments, UDM may also include a unified data repository (UDR). Alternatively, in other embodiments, the 3GPP SBA of the 5G system may also include a UDR. Among them, UDR is used to provide storage and retrieval for PCF policies, storage and retrieval of open structured data, and storage of user information requested by application functions.

[0138] It should be noted that the above CN equipment can also be called network element or functional network element. In the 5G communication system, each functional network element can be Figure 2 The names of the functional network elements shown in the figure may still be the same in the communication system evolved after 5G (such as 6G communication system). Figure 2 The names of the functional network elements shown in the figure may also have other names. For example, in a 5G communication system, the user plane function may be a UPF. In a communication system evolved after 5G (such as a 6G communication system), the user plane function may still be a UPF, or may have other names, which is not limited in this application.

[0139] It should also be noted that in the 5G communication system, the functions implemented by each functional network element can be as follows: Figure 2 As shown, they are independent. In the communication system evolved after 5G (such as 6G communication system), each functional network element can still be Figure 2 The shown state is independent, but it can also be realized by integrated functional network elements. Figure 2 For example, in a 5G communication system, user-plane related functions are implemented by UPF, and access and mobility management related functions are implemented by AMF. In a communication system that evolves after 5G (such as a 6G communication system), user-plane related functions may still be implemented by UPF, and access and mobility management related functions may still be implemented by AMF. Alternatively, user-plane related functions and access and mobility management related functions may also be implemented by an integrated functional network element at the same time, which is not limited in this application.

[0140] Figure 2 Among them, Npcf, Nudm, Naf, Namf, Nsmf, N1, N2, N3, N4, and N6 are interface serial numbers. The meanings of these interface serial numbers can be found in the definitions in the relevant standard protocols and are not limited here.

[0141] 4.DN

[0142] DN, also known as packet data network (PDN), is a network located outside the operator network. The operator network can access multiple DNs. Application servers corresponding to various services can be deployed in the DN to provide a variety of possible services for terminal devices.

[0143] In order to fully consider the future evolution trend of network security, this application embodiment proposes a security system architecture. Figure 3A , Figure 3A This is a security system architecture provided by the embodiment of the present application. Figure 3AAs shown, the security system architecture includes a first network element, a second network element, a policy network element (such as a security policy function (SecPF), other names may also be used, not limited here), a management network element (such as a security management function (SecMF), other names may also be used, not limited here), a control network element corresponding to the first network element (such as a first security control function (SecCF), other names may also be used, not limited here), and a control network element corresponding to the second network element (such as a second SecCF, other names may also be used, not limited here). Of course, the security system architecture may also include other network elements, which are not limited here. Among them:

[0144] The first network element and the second network element are the functional network elements mentioned above. The first network element can be an NF service consumer, and the so-called NF service consumer refers to the NF that receives the service; the second network element can be an NF service producer, and the so-called NF service producer refers to the NF that provides the service. An NF service is a capability that the NF service producer opens to other authorized NF service consumers through a service-based interface. An NF can open one or more NF services. NF services can communicate directly between NF service consumers and NF service producers, or indirectly through a service communication proxy (SCP).

[0145] The policy network element is used to formulate security policies (such as service authorization lists) by using system security information (such as security situation information) from within the system (such as the network data analytics function (NWDAF), the control network element corresponding to the first network element, etc.) and external input (such as the situation awareness system, etc.). The so-called security situation information may refer to the security status and security capabilities of each network element in the system. For example, security situation information may be identification information (such as permissions corresponding to user identity information, etc.), component information (such as component type, security protection strategy, firewall, etc.), threat report information, traffic monitoring information, etc.

[0146] The management function is used to manage and configure the control network element to complete the core network service authorization transformation. For example, configure the service authorization list, allocate the control network element to the network element, save the registration information of the network element, verify the association relationship between the first network element and the control network element corresponding to the first network element, and verify the association relationship between the second network element and the control network element corresponding to the second network element.

[0147] The control network element corresponding to the first network element is used to perform security operations for the first network element, such as obtaining relevant information of the first network element, and filtering and intercepting messages sent by the first network element based on the information. The first network element and the control network element corresponding to the first network element can be separately and independently set up network elements, or can be physically combined into the same network element, which is not limited here.

[0148] The control network element corresponding to the second network element is used to perform security operations for the second network element, such as obtaining relevant information of the second network element and screening and filtering information sent to the second network element based on the information. The second network element and the control network element corresponding to the second network element can be separate and independently set network elements, or can be physically combined into the same network element, which is not limited here.

[0149] Of course, the first network element and the second network element may also share a control network element. Figure 3B As shown, Figure 3B It is another security system architecture provided by an embodiment of the present application. The security system architecture includes a first network element, a second network element, a policy network element, a management network element, and a control network element. Of course, the security system architecture may also include other network elements, which are not limited here. Among them, the control network element can perform security operations for the first network element, such as obtaining relevant information of the first network element, and filtering and intercepting messages sent by the first network element based on this information; it can also perform security operations for the second network element, such as obtaining relevant information of the second network element, and screening and filtering information sent to the second network element based on this information.

[0150] In order to improve the security of the system, the present application provides an information processing method and a communication device. The information processing method and the communication device provided in the embodiments of the present application are further described in detail below.

[0151] Figure 4 is a flow chart of an information processing method provided by an embodiment of the present application. Figure 4 As shown, the information processing method includes the following steps S401 to S407. Figure 4 The method execution subject shown in the figure may be a first network element, a control network element corresponding to the first network element, a second network element, a control network element corresponding to the second network element, and a management network element (such as Figure 3A as shown). Alternatively, Figure 4 The execution subject of the method shown may be a device or chip having a first network element, a control network element corresponding to the first network element, a second network element, a control network element corresponding to the second network element, and a management network element, which is not limited in the embodiments of the present application. Figure 4The method is described by taking the first network element, the control network element corresponding to the first network element, the second network element, the control network element corresponding to the second network element, and the management network element as the execution subjects of the method as an example. Among them, the first network element and the control network element corresponding to the first network element can be network elements that are separately and independently set up, or they can be physically combined into the same network element, which is not limited here. The second network element and the control network element corresponding to the second network element can be network elements that are separately and independently set up, or they can be physically combined into the same network element, which is not limited here.

[0152] S401: A first network element sends a first request to a control network element corresponding to the first network element. Correspondingly, the control network element corresponding to the first network element receives the first request from the first network element.

[0153] In the embodiment of the present application, the first request indicates that the first network element requests access to the first service, and the first request includes an identifier of the first network element.

[0154] In a possible implementation, before the first network element sends the first request to the control network element corresponding to the first network element, a service discovery process may be performed, i.e., discovering a network element (i.e., a second network element) that can provide the first service to the first network element. The service discovery process may be implemented in one of the following two ways.

[0155] Method 1: may include steps s11 to s13. Based on this method, the security of executing the service discovery process can be improved.

[0156] s11. The first network element sends a first service discovery request to a control network element corresponding to the first network element. Correspondingly, the control network element corresponding to the first network element receives the first service discovery request from the first network element.

[0157] In a specific implementation, the first service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the first service discovery request includes the name of the first service.

[0158] s12. If the control network element corresponding to the first network element determines based on the service authorization list that the first network element has the right to access the first service, the first service discovery request is forwarded to the management network element. Accordingly, the management network element receives the first service discovery request from the control network element corresponding to the first network element.

[0159] In a specific implementation, the so-called service authorization list can be considered as a security policy, which can be a service authorization list in various forms for the entire network, NF instance, NF type, service type or equipment manufacturer, etc. The service authorization list can be used to indicate the authorization capabilities that different NF instances, NF types, NF service types, equipment manufacturer types, etc. can provide, the corresponding security levels and single-packet authorization parameter rules (such as security encryption and decryption algorithms, service identifier generation algorithms, service identifier generation rules, etc.). As shown in Table 1, the service authorization list may include: (1) The network element type is UDM, the service type is user-oriented, the deployment address is a, there is no belonging slice, the interface provided is Nudm / Nausf, the access interface is Namf, and inter-provincial access is allowed. (2) The network element type is AMF, the service type is user-oriented, the deployment address is b, there is no belonging slice, the interface provided is Namf, the access interface is Nudm, and inter-provincial access is allowed. (3) The network element type is AMF, the service type is enterprise-oriented, the deployment address is c, the belonging slice is slice 1, the interface provided is Namf, the access interface is Nudm, and inter-provincial access is prohibited.

[0160] Table 1

[0161] Network element type Business Type Deployment address Attribution Slice Provide interface Access interface Interprovincial visits UDM User-oriented a none Nudm / Nausf Namf allow AMF User-oriented b none Namf Nudm allow AMF For Enterprises c Slice 1 Namf Nudm prohibit

[0162] After receiving the first service discovery request, the control network element corresponding to the first network element queries the service authorization list and preliminarily determines whether the first network element has the authority to access the first service. If the first network element has the authority to access the first service, the control network element corresponding to the first network element forwards the first service discovery request to the management network element; if the first network element does not have the authority to access the first service, the control network element corresponding to the first network element discards the first service discovery request.

[0163] For example, assuming that the network element type of the first network element is AMF and the service type is user-oriented. If the first service discovery request indicates that the first network element requests access to the first service provided by UDM, according to the service authorization list (as shown in Table 1 above), the first service discovery request comes from the user-oriented network, and the service type provided by UDM is also user-oriented. Therefore, the first network element has the right to access the first service, and the control network element corresponding to the first network element needs to forward the first service discovery request to the management network element.

[0164] For another example, assuming that the network element type of the first network element is AMF and the service type is enterprise-oriented. If the first service discovery request indicates that the first network element requests access to the first service provided by UDM, according to the service authorization list (as shown in Table 1 above), the first service discovery request comes from the enterprise-oriented network, and the service type provided by UDM is user-oriented. Therefore, the first network element does not have the authority to access the first service, and the control network element corresponding to the first network element needs to discard the first service discovery request.

[0165] Optionally, the method further includes: if there is no network element providing the first service in the service authorization list, the control network element corresponding to the first network element discards the first service discovery request.

[0166] For example, assuming that the network element type of the first network element is AMF and the service type is user-oriented. If the first service discovery request indicates that the first network element requests access to the first service provided by SMF, and SMF does not exist in the service authorization list (as shown in Table 1 above), the control network element corresponding to the first network element discards the first service discovery request.

[0167] s13. If the management network element determines the authority of the first network element to discover the first service based on the service authorization list, and determines the control network element corresponding to the first network element has the authority to process the first service discovery request based on the service authorization list, the identification of the second network element is sent to the first network element. Correspondingly, the first network element receives the identification of the second network element from the management network element.

[0168] In a specific implementation, the second network element is used to provide the first service. After receiving the first service discovery request, the management network element further determines whether the first network element has the authority to discover the first service and whether the control network element corresponding to the first network element has the authority to process the first service discovery request based on the service authorization list (i.e., security policy). If the first network element has the authority to discover the first service, and the control network element corresponding to the first network element has the authority to process the first service discovery request, the management network element sends the identifier of the second network element to the first network element; if the first network element does not have the authority to discover the first service, and / or the control network element corresponding to the first network element does not have the authority to process the first service discovery request, the management network element discards the first service discovery request.

[0169] For example, assume that the network element type of the first network element is AMF, and the service type is user-oriented. If the first service discovery request indicates that the first network element requests access to the first service provided by UDM (i.e., the second network element), according to the service authorization list (as shown in Table 1 above), the first service discovery request comes from the user-oriented network, and the service type provided by UDM is also user-oriented. Therefore, the management network element determines that the first network element has the authority to discover the first service, and the control network element corresponding to the first network element also has the authority to process the first service discovery request (i.e., the control network element corresponding to the first network element has the authority to send the service discovery request on behalf of the first network element). At this time, the management network element needs to send the UDM identifier to the first network element.

[0170] For another example, assume that the network element type of the first network element is AMF, and the service type is enterprise-oriented. If the first service discovery request indicates that the first network element requests access to the first service provided by UDM (i.e., the second network element), according to the service authorization list (as shown in Table 1 above), the first service discovery request comes from an enterprise-oriented network, and the service type provided by UDM is also user-oriented. Therefore, the management network element determines that the first network element does not have the authority to discover the first service, but the control network element corresponding to the first network element has the authority to process the first service discovery request. At this time, the management network element still needs to discard the first service discovery request.

[0171] Method 2: may include steps s21 and s22. Based on this method, the security of executing the service discovery process can be improved, and the efficiency of service discovery can be improved.

[0172] s21. The first network element sends a first service discovery request to a control network element corresponding to the first network element. Correspondingly, the control network element corresponding to the first network element receives the first service discovery request from the first network element.

[0173] In a specific implementation, the first service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the first service discovery request includes the name of the first service.

[0174] s22. If the control network element corresponding to the first network element determines that the first network element has the right to access the first service based on the service authorization list, the identification of the second network element is sent to the first network element. Accordingly, the first network element receives the identification of the second network element from the control network element corresponding to the first network element.

[0175] In a specific implementation, the control network element corresponding to the first network element can periodically synchronize various network elements in the network system and the services they provide from the management network element. At this time, the control network element corresponding to the first network element can be considered as a warehouse of the management network element. When receiving the first service discovery request from the first network element, the control network element corresponding to the first network element determines based on the service authorization list that the first network element has the authority to access the first service, and does not need to forward the first service discovery request to the management network element, but can directly send the identifier of the second network element to the first network element. Based on this method, it is beneficial to improve the efficiency of service discovery.

[0176] In addition, in a possible implementation, before the first network element sends a first request to the control network element corresponding to the first network element, the first network element and the second network element need to notify the management network element in advance of the list of services they support, establish an NF configuration file, and complete the registration of the first network element and the second network element, so that the management network element can save the registration information of the first network element and the registration information of the second network element, thereby correctly maintaining the first network element and its supported service information, and the second network element and its supported service information.

[0177] The registration process of the first network element may be implemented in one of the following two ways. Based on this way, the security of the registration process of the first network element can be improved.

[0178] Method 1: includes steps s31 and s32.

[0179] s31. The first network element sends a first registration request to the management network element. Correspondingly, the management network element receives the first registration request from the first network element.

[0180] In a specific implementation, the first registration request indicates the second service supported by the first network element, and the first registration request includes an identifier of the first network element.

[0181] Optionally, the first registration request also includes fifth indication information, and the fifth indication information is used to instruct the first network element to perform services for access token verification. That is, when other network elements request to access services of the first network element included in the services indicated by the fifth indication information, the management network element needs to issue sixth indication information, and the sixth indication information instructs the first network element to verify the access token.

[0182] s32. If the second service is included in the service authorization list, the management network element sends a first registration success response to the first network element. Correspondingly, the first network element receives the first registration success response from the management network element.

[0183] In a specific implementation, after the management network element inquires and verifies that the services supported by the first network element do not exceed the scope limited by the service authorization list, the management network element completes the registration of the first network element and sends a first registration success response to the first network element.

[0184] Optionally, the first registration request also includes third indication information, and the third indication information is used to indicate that a control network element is allocated to the first network element; before the management network element sends a first registration success response to the first network element, the method also includes: the management network element allocates a first preset network element to the first network element, and saves the association relationship between the first network element and the first preset network element, and the first registration success response includes an identifier of the first preset network element. After the management network element sends the first registration success response to the first network element, the method also includes: the management network element sends a first registration success notification to the first preset network element, and the first registration success notification includes an identifier of the first network element. Correspondingly, after the first network element receives the identifier of the first preset network element, it establishes a secure channel with the first network element based on the identifier of the first preset network element; after the first preset network element receives the identifier of the first network element, it establishes a secure channel with the first preset network element based on the identifier of the first network element.

[0185] Further optionally, the first registration success response also includes a first security credential; the first registration success notification also includes a first security credential.

[0186] That is to say, after querying and verifying that the services supported by the first network element do not exceed the scope of the service authorization list, the management network element will also allocate a control network element (i.e., the first preset network element) to the first network element and record the association relationship between the first network element and the first preset network element. At the same time, the first network element and the first preset network element can establish a secure channel.

[0187] Method 2: including steps s41 to s44.

[0188] s41. A first network element and a first preset network element establish a secure channel in advance.

[0189] That is to say, the first network element is associated with the first preset network element by means of pre-configuration, and a secure channel is established.

[0190] s42. The first network element sends a third registration request to the management network element. Correspondingly, the management network element receives the third registration request from the first network element.

[0191] In a specific implementation, the third registration request indicates the second service supported by the first network element, and the third registration request includes an identifier of the first network element and an identifier of a first preset network element, where the first preset network element is a control network element corresponding to the pre-configured first network element.

[0192] Optionally, the third registration request also includes fifth indication information, and the fifth indication information is used to instruct the first network element to perform services for access token verification. That is, when other network elements request to access services of the first network element included in the services indicated by the fifth indication information, the management network element needs to issue sixth indication information, and the sixth indication information instructs the first network element to verify the access token.

[0193] s43. If the second service is included in the service authorization list, the management network element saves the association relationship between the first network element and the first preset network element.

[0194] In a specific implementation, after the management network element inquires and verifies that the services supported by the first network element do not exceed the scope of the service authorization list, the registration of the first network element is completed, and the association relationship between the first network element and the first preset network element is saved.

[0195] s44. The management network element sends a third registration success response to the first network element. Correspondingly, the first network element receives the third registration success response from the management network element.

[0196] It should be noted that, in the embodiment of the present application, taking the control network element corresponding to the first network element as the first preset network element as an example, in a possible implementation method, the method further includes: the management network element sends a first registration success notification to the control network element corresponding to the first network element, and the first registration success notification includes the identifier of the first network element; accordingly, the control network element corresponding to the first network element receives the first registration success notification from the management network element. The control network element corresponding to the first network element establishes a secure channel with the first network element based on the identifier of the first network element; accordingly, the first network element establishes a secure channel with the control network element corresponding to the first network element based on the identifier of the control network element corresponding to the first network element. When the first network element sends a first request to the control network element corresponding to the first network element, the specific implementation method may be: through the secure channel, the first network element sends a first request to the control network element corresponding to the first network element; accordingly, the control network element corresponding to the first network element receives the first request from the first network element through the secure channel.

[0197] That is to say, the control network element corresponding to the first network element is equivalent to the first preset network element, and the control network element corresponding to the first network element establishes a secure channel in the same way as the first network element, so that the first network element can send a first request to the control network element corresponding to the first network element through the secure channel.

[0198] In addition, the registration process of the second network element may also be implemented in one of the following two ways. Based on this way, the security of the registration process of the second network element can be improved.

[0199] Method 1: includes steps s51 and s52.

[0200] s51. The second network element sends a second registration request to the management network element. Correspondingly, the management network element receives the second registration request from the second network element.

[0201] In a specific implementation, the second registration request indicates a third service supported by the second network element, and the second registration request includes an identifier of the second network element.

[0202] Optionally, the second registration request also includes second indication information, and the second indication information is used to instruct the second network element to perform services for access token verification. That is, when other network elements request to access services of the second network element included in the services indicated by the second indication information, the management network element needs to issue first indication information, and the first indication information instructs the first network element to verify the access token.

[0203] s52. If the third service is included in the service authorization list, the management network element sends a second registration success response to the first network element. Correspondingly, the second network element receives the second registration success response from the management network element.

[0204] In a specific implementation, after the management network element inquires and verifies that the services supported by the second network element do not exceed the scope limited by the service authorization list, the registration of the second network element is completed, and a second registration success response is sent to the second network element.

[0205] Optionally, the second registration request also includes fourth indication information, and the fourth indication information is used to indicate that a control network element is allocated to the second network element; before the management network element sends a second registration success response to the second network element, the method also includes: the management network element allocates a second preset network element to the second network element, and saves the association relationship between the second network element and the second preset network element, and the second registration success response includes the identifier of the second preset network element. After the management network element sends the second registration success response to the second network element, the method also includes: the management network element sends a second registration success notification to the second preset network element, and the second registration success notification includes the identifier of the second network element. Correspondingly, after the second network element receives the identifier of the second preset network element, it establishes a secure channel with the second network element based on the identifier of the second preset network element; after the second preset network element receives the identifier of the second network element, it establishes a secure channel with the second preset network element based on the identifier of the second network element.

[0206] Further optionally, the second registration success response also includes a second security credential; the second registration success notification also includes a second security credential.

[0207] That is to say, after querying and verifying that the services supported by the second network element do not exceed the scope of the service authorization list, the management network element will also allocate a control network element (i.e., a second preset network element) to the second network element and record the association relationship between the second network element and the second preset network element. At the same time, the second network element and the second preset network element can establish a secure channel.

[0208] Method 2: including steps s61 to s64.

[0209] s61. The second network element and the second preset network element establish a secure channel in advance.

[0210] That is to say, the second network element is associated with the second preset network element by means of preconfiguration, and a secure channel is established.

[0211] s62. The second network element sends a fourth registration request to the management network element. Correspondingly, the management network element receives the fourth registration request from the second network element.

[0212] In a specific implementation, the fourth registration request indicates a third service supported by the second network element. The fourth registration request includes an identifier of the second network element and an identifier of a second preset network element. The second preset network element is a control network element corresponding to the preconfigured second network element.

[0213] Optionally, the fourth registration request also includes second indication information, and the second indication information is used to instruct the second network element to perform a service for access token verification. That is, when other network elements request to access a service of the second network element included in the service indicated by the second indication information, the management network element needs to issue a first indication information, and the first indication information instructs the second network element to verify the access token.

[0214] s63. If the third service is included in the service authorization list, the management network element saves the association relationship between the second network element and the second preset network element.

[0215] In a specific implementation, after the management network element inquires and verifies that the services supported by the second network element do not exceed the scope limited by the service authorization list, the registration of the second network element is completed, and the association relationship between the second network element and the second preset network element is saved.

[0216] s64. The management network element sends a fourth registration success response to the second network element. Correspondingly, the second network element receives the fourth registration success response from the management network element.

[0217] S402: If the control network element corresponding to the first network element determines that the first request is a legitimate service request based on the role attribute information and the service authorization list of the first network element, it sends an authorization request to the management network element. Accordingly, the management network element receives the authorization request from the control network element corresponding to the first network element.

[0218] In an embodiment of the present application, the authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes an identifier of the first network element, an identifier of a control network element corresponding to the first network element, and a name of the first service. The role attribute information of the first network element may include network element type, service type, deployment address, belonging slice, etc.

[0219] The role attribute information of the first network element may be obtained from the first network element. For example, the first network element sends the role attribute information of the first network element to the control network element corresponding to the first network element. The role attribute information of the first network element may be obtained by parsing the access token after the first network element obtains the access token through other out-of-band processing mechanisms; it may also be obtained by other means, which is not limited here. The so-called access token is an object that describes the security context of a process or thread. The information in the access token may include the network element identifier, privilege information, role attribute information, etc. associated with the process or thread. Security verification can be performed through the access token. In addition, the role attribute information of the first network element may be included in the first request or sent separately, which is not limited here.

[0220] The role attribute information of the first network element may also be obtained from the role attribute information stored locally. For example, the control network element corresponding to the first network element has obtained the role attribute information of the first network element according to the existing access token before receiving the first request, and stored the role attribute information of the first network element locally.

[0221] Of course, the role attribute information of the first network element may also be obtained through other methods, which are not limited here.

[0222] After receiving the first request, the control network element corresponding to the first network element determines whether the first request is a legal service request based on the role attribute information of the first network element and the service authorization list mentioned above. If the control network element corresponding to the first network element determines that the first request is a legal service request based on the role attribute information and the service authorization list of the first network element, it sends an authorization request to the management network element; if the control network element corresponding to the first network element determines that the first request is not a legal service request based on the role attribute information and the service authorization list of the first network element, it discards the first request. Specifically, a role-based access control model, an attribute-based access control model, a hybrid attribute-based access control model, etc. can be adopted, combined with the role attribute information of the first network element to achieve that the first network element sends and receives messages within the legal range, including the range of resources within the legal value, the execution operation matches the identity, and the received request matches the service type.

[0223] For example, assume that the role attribute information of the first network element includes: the network element type is UDM, the service type is user-oriented, the deployment address is a, and there is no belonging slice. The interface accessed by the first request is Nudm. According to the service authorization list (as shown in Table 1 above), the interface provided by UDM is Nudm or Nausf, so the first request is a legitimate service request.

[0224] For another example, assume that the role attribute information of the first network element includes: the network element type is UDM, the service type is user-oriented, the deployment address is a, and there is no belonging slice. The interface accessed by the first request is Namf. According to the service authorization list (as shown in Table 1 above), the interface provided by UDM is Nudm or Nausf, so the first request is not a legitimate service request.

[0225] In a possible implementation manner, the authorization request may further include an identifier of the second network element.

[0226] In a possible implementation manner, the control network element corresponding to the first network element may obtain the service authorization list in one of the following two ways.

[0227] Method 1: The control network element corresponding to the first network element directly configures the service authorization list. Based on this method, the efficiency of obtaining the service authorization list can be improved and data transmission resources can be saved.

[0228] Mode 2: The control network element corresponding to the first network element obtains the service authorization list from the management network element, specifically including steps s71 to s74. Based on this mode, the storage pressure of the control network element corresponding to the first network element can be reduced, while ensuring the real-time and dynamic nature of the service authorization list.

[0229] s71. The policy network element receives security situation information, which is used to indicate the security status and security capabilities of each network element in the system.

[0230] The security situation information can be obtained from the system (such as NWDAF, the control network element corresponding to the first network element, etc.), or from external input (such as the situation awareness system, etc.), which is not limited here. The service authorization list configured by the control network element corresponding to the first network element can also be used as a security situation information. In addition, the security situation information is updated in real time, so the real-time and dynamic nature of the security situation information can be guaranteed.

[0231] s72. The policy network element generates a service authorization list based on the security situation information.

[0232] In specific implementation, the policy network element can organize the security situation information into various forms of service authorization lists for the entire network, NF instance, NF type, service type, equipment manufacturer, etc. Since the security situation information is updated in real time, the service authorization list is also updated continuously, thereby realizing dynamic security policies and improving the security of the system.

[0233] s73. The policy network element sends the service authorization list to the management network element. Correspondingly, the management network element receives the service authorization list from the policy network element.

[0234] In the specific implementation, after the management network element obtains the service authorization list, it can perform specific security policy management. The process of the policy network element sending the service authorization list to the management network element can be that the policy network element actively sends it to the management network element, or that the policy network element sends it to the management network element through a subscription notification, or that the policy network element sends it to the management network element through a request response of the management network element, or that the policy network element configures it to the management network element through an operation and maintenance management tool, which is not limited here.

[0235] s74. The management network element sends the service authorization list to the control network element corresponding to the first network element. Correspondingly, the control network element corresponding to the first network element receives the service authorization list from the management network element.

[0236] In a possible implementation, the method further includes: the management network element sends the service authorization list to the control network element corresponding to the second network element. Correspondingly, the control network element corresponding to the second network element receives the service authorization list from the management network element.

[0237] S403: If the management network element determines based on the registration information that the control network element corresponding to the first network element is the first preset network element, and determines based on the service authorization list that the first service is authorized, an access token corresponding to the first service is generated.

[0238] In an embodiment of the present application, the access token includes an identifier of a control network element corresponding to the first network element, an identifier of a second network element, and an identifier of a control network element corresponding to the second network element; the second network element is used to provide the first service. After receiving the authorization request, the management network element determines whether the control network element corresponding to the first network element is a first preset network element associated with the first network element according to the saved registration information (as shown in Table 2), and determines whether to authorize the first service according to the service authorization information of the second network element in the service authorization list. Among them, the service authorization information includes the network element type of the NF service that is allowed to use the second network element. If the management network element determines that the control network element corresponding to the first network element is the first preset network element based on the registration information, and determines that the first service is authorized based on the service authorization list, then an access token corresponding to the first service is generated; if the management network element determines that the control network element corresponding to the first network element is not the first preset network element based on the registration information, and / or determines that the first service is not authorized based on the service authorization list, then an access token corresponding to the first service is not generated.

[0239] Table 2

[0240] Network element Preset network element First Network Element First preset network element Second network element Second preset network element

[0241] As shown in Table 2, the first network element in the registration information is associated with the first preset network element, and it is assumed that the service authorization information of the second network element in the service authorization list indicates that the network element type of the NF service allowed to use the second network element is UDM. If the control network element corresponding to the first network element is the first preset network element, and the network element type of the first network element is UDM, the management network element determines to authorize the first service and generates an access token corresponding to the first service.

[0242] As shown in Table 2, the first network element in the registration information is associated with the first preset network element, and it is assumed that the service authorization information of the second network element in the service authorization list indicates that the network element type of the NF service allowed to use the second network element is UDM. If the control network element corresponding to the first network element is the first preset network element, and the network element type of the first network element is SMF, the management network element determines not to authorize the first service and does not generate an access token corresponding to the first service.

[0243] Optionally, the access token may also include an identifier of the first network element.

[0244] Optionally, the method further includes: the policy network element sends the service authorization list to the management network element. Correspondingly, the management network element receives the service authorization list from the policy network element.

[0245] In a possible implementation, the method further includes: the second network element sends a second indication message to the management network element, and accordingly, the management network element receives the second indication message from the second network element; the second indication message is used to instruct the second network element to perform a service for access token verification, and the service for access token verification performed by the second network element includes the first service; the access token also includes the first indication message, and the first indication message is used to instruct the second network element to verify the access token. The second indication message here can be sent to the management network element through the second registration request or the fourth registration request when the second network element registers with the management network element, or it can be sent to the management network element by the second network element alone, which is not limited here. Based on this method, the second network element can verify the access token again to improve the security of the system.

[0246] S404: The management network element sends an authorization response to the control network element corresponding to the first network element. Correspondingly, the control network element corresponding to the first network element receives the authorization response from the management network element.

[0247] In the embodiment of the present application, the authorization response indicates the access token corresponding to the first service. After the management network element determines to authorize the first service, it sends the generated access token to the first network element.

[0248] In a possible implementation, the process of establishing a secure connection between the control network element corresponding to the first network element and the control network element corresponding to the second network element may include steps s81 to s84. Based on this approach, the security of the system can be improved.

[0249] s81. The management network element sends an authorization response to the control network element corresponding to the first network element, where the authorization response includes security channel configuration information. Correspondingly, the control network element corresponding to the first network element receives the authorization response from the management network element.

[0250] In a specific implementation, the security channel configuration information may refer to a single-packet authorization parameter or other security channel configuration information, which is not limited here. Taking the security channel configuration information as a single-packet authorization parameter as an example, the control network element corresponding to the first network element and the control network element corresponding to the second network element may establish a secure connection according to the single-packet authorization parameter rule included in the service authorization list.

[0251] Optionally, the identification information in the secure channel configuration information is a hash value of the access token.

[0252] s82. The management network element sends notification information to the control network element corresponding to the second network element, the notification information including the identifier of the control network element corresponding to the first network element and the security channel configuration information. Correspondingly, the control network element corresponding to the second network element receives the notification information from the management network element.

[0253] s83. The control network element corresponding to the second network element establishes a secure connection with the control network element corresponding to the first network element based on the secure channel configuration information.

[0254] s84. The control network element corresponding to the first network element establishes a secure connection with the control network element corresponding to the second network element based on the secure channel configuration information.

[0255] In a specific implementation, the control network element corresponding to the second network element carries the security channel configuration information and sends an access request to the control network element corresponding to the first network element. Correspondingly, the control network element corresponding to the first network element receives the access request from the control network element corresponding to the second network element. The control network element corresponding to the first network element verifies the security channel configuration information. After the verification is successful, the control network element corresponding to the first network element and the control network element corresponding to the second network element further negotiate and complete mutual authentication based on the security credentials obtained from the security channel configuration information, for example, based on the transport layer security protocol (TLS), the control network element corresponding to the first network element and the control network element corresponding to the second network element establish a secure connection.

[0256] It should be noted that the execution order of step s81 and step s82 is not limited, and step s81 and step s82 can also be executed simultaneously.

[0257] S405: The control network element corresponding to the first network element sends a second request to the control network element corresponding to the second network element. Correspondingly, the control network element corresponding to the second network element receives the second request from the control network element corresponding to the first network element.

[0258] In an embodiment of the present application, the second request indicates that the first network element requests access to the first service, and the second request includes the access token and an identifier of the first network element.

[0259] S406: If the control network element corresponding to the second network element determines that the access token is a legal token, a third request is sent to the second network element. Accordingly, the second network element receives the third request from the control network element corresponding to the second network element.

[0260] In the embodiment of the present application, the third request indicates that the first network element requests to access the first service, and the third request includes the identifier of the first network element. After the control network element corresponding to the second network element receives the access token included in the second request, it needs to verify the legitimacy of the access token.

[0261] In a possible implementation, the specific implementation method of the control network element corresponding to the second network element determining that the access token is a legal token may be: if the first condition is met, the access token is determined to be a legal token; the first condition includes: the control network element corresponding to the first network element is the first preset network element, and the control network element corresponding to the second network element is the second preset network element; the service authorization information in the access token is legal; based on the role attribute information of the second network element, it is determined that the second network element has the authority to process the second request. Based on this method, the legitimacy of the access token can be accurately verified.

[0262] Optionally, the method further includes: the management network element sends the association relationship between the first network element and the first preset network element, and the association relationship between the second network element and the second preset network element to the control network element corresponding to the second network element. Correspondingly, the control network element corresponding to the second network element receives the association relationship between the first network element and the first preset network element, and the association relationship between the second network element and the second preset network element from the management network element.

[0263] That is to say, when the control network element corresponding to the second network element determines whether the access token is a legal token, it needs to verify whether the association relationship between the first network element and the control network element corresponding to the first network element is correct (i.e., whether the control network element corresponding to the first network element is the first preset network element), and whether the association relationship between the second network element and the control network element corresponding to the second network element is correct (i.e., whether the control network element corresponding to the second network element is the second preset network element); it also needs to verify whether the service authorization information contained in the access token is legal, for example, if the second network element has made a service change to the management network element, but the first network element or the control network element corresponding to the first network element still uses an outdated access token to access, then the access token can be considered illegal; it is also necessary to determine whether the second network element has the authority to process the second request based on the role attribute information of the second network element. When the first conditions are met (i.e., the control network element corresponding to the first network element is the first preset network element, and the control network element corresponding to the second network element is the second preset network element; the service authorization information in the access token is legal; based on the role attribute information of the second network element, it is determined that the second network element has the authority to process the second request), the access token is considered to be a legal token. If any one of the first conditions is not met, the access token is considered to be not a legal token, and the control network element corresponding to the second network element rejects the second request.

[0264] In a possible implementation, the access token also includes first indication information, and the first indication information is used to instruct the second network element to verify the access token; the third request includes the access token. That is, when the first indication information in the access token indicates that the second network element needs to verify the access token, the access token needs to be carried in the third request and sent to the second network element.

[0265] S407: The second network element sends a first request response to the first network element. Correspondingly, the first network element receives the first request response from the second network element.

[0266] In an embodiment of the present application, the control network element corresponding to the second network element has verified the legitimacy of the access token. After receiving the third request, the second network element can send a first request response to the first network element to notify the first network element that the first service requested to access is authorized.

[0267] In a possible implementation, the third request also includes an access token, and the access token includes an identifier of a control network element corresponding to the first network element, an identifier of a second network element, and an identifier of a control network element corresponding to the second network element; the second network element is used to provide the first service, and the specific implementation method of the second network element sending a first request response to the first network element may be: if the second network element determines that the access token is a legal token, it sends a first request response to the first network element. That is to say, when the third request also carries an access token, the second network element needs to verify the legitimacy of the access token again, and confirm again whether the access token is a legal token. If the access token is a legal token, the second network element sends a first request response to the first network element to notify the first service that can provide authorization for the first network element. If the access token is not a legal token, the second network element rejects the third request. Based on this method, the legitimacy of the access token can be accurately verified.

[0268] In one possible implementation, the specific implementation method for the second network element to determine that the access token is a legal token may be: if the second condition is met, the access token is determined to be a legal token; the second condition includes: the control network element corresponding to the first network element is the first preset network element, and the control network element corresponding to the second network element is the second preset network element; the service authorization information in the access token is legal; based on the role attribute information of the second network element, it is determined that the second network element has the authority to process the third request. The way in which the second network element determines whether the access token is a legal token can refer to the way in which the control network element corresponding to the second network element determines whether the access token is a legal token in the above step S406, which will not be repeated here.

[0269] It should be noted that when the first network element and the control network element corresponding to the first network element are physically combined as the same network element, and the second network element and the control network element corresponding to the second network element are physically combined as the same network element, the association relationship between the first network element and the control network element corresponding to the first network element, and the association relationship between the second network element and the control network element corresponding to the second network element can be defaulted. Therefore, the verification of the association relationship between the first network element and the control network element corresponding to the first network element, and the association relationship between the second network element and the control network element corresponding to the second network element can be simplified, which can save computing resources.

[0270] exist Figure 4 In the described method, in the process of executing NF service authorization, NF-level security risk identification is added, and a certain degree of decoupling of NF service and security is achieved, which is conducive to improving the security of the system and further enhancing the security policy management capabilities supported by future networks.

[0271] Figure 5 FIG. 1 is a flow chart of another information processing method provided by an embodiment of the present application. Figure 5 As shown, the information processing method includes the following steps S501 to S504. Figure 5 The method execution subject shown can be a first network element, a control network element, and a management network element (such as Figure 3B as shown). Alternatively, Figure 5 The execution subject of the method shown may be a device or chip having a first network element, a control network element and a management network element, which is not limited in the embodiments of the present application. Figure 5 The first network element, the control network element, and the management network element are used as examples of the execution subjects of the method. In the embodiment of the present application, the first network element and the second network element share a control network element. Among them, the first network element and the control network element corresponding to the first network element can be network elements that are separately and independently set, or they can be physically combined into the same network element, which is not limited here. The second network element and the control network element corresponding to the second network element can be network elements that are separately and independently set, or they can be physically combined into the same network element, which is not limited here.

[0272] S501: A first network element sends a first request to a control network element. Correspondingly, the control network element receives the first request from the first network element.

[0273] In the embodiment of the present application, the first request indicates that the first network element requests access to the first service, and the first request includes an identifier of the first network element.

[0274] In a possible implementation, before the first network element sends the first request to the control network element, it may perform a service discovery process, that is, discover a network element (that is, a second network element) that can provide the first service to the first network element. The service discovery process may be implemented in one of the following two ways.

[0275] Method 1: may include steps s91 to s93. The specific implementation method may refer to the description of the above steps s11 to s13, which will not be described in detail here.

[0276] s91. The first network element sends a third service discovery request to the control network element. Correspondingly, the control network element receives the third service discovery request from the first network element.

[0277] The third service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the third service discovery request includes the name of the first service.

[0278] s92. If the control network element determines that the first network element has the right to access the first service based on the service authorization list, the control network element forwards the third service discovery request to the management network element. Accordingly, the management network element receives the third service discovery request from the control network element.

[0279] s93. If the management network element determines that the first network element has the authority to discover the first service based on the service authorization list, and determines that the control network element has the authority to process the first service discovery request based on the service authorization list, the identification of the second network element is sent to the first network element. Accordingly, the first network element receives the identification of the second network element from the management network element.

[0280] Method 2: may include steps s101 and s102. The specific implementation method may refer to the description of steps s21 and s22 above, which will not be described in detail here.

[0281] s101. A first network element sends a fourth service discovery request to a control network element. Correspondingly, the control network element receives the fourth service discovery request from the first network element.

[0282] The fourth service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the fourth service discovery request includes the name of the first service.

[0283] s102: If the control network element determines that the first network element has the right to access the first service based on the service authorization list, the control network element sends the identifier of the second network element to the first network element. Accordingly, the first network element receives the identifier of the second network element from the control network element.

[0284] In addition, in a possible implementation, before the first network element sends the first request to the control network element, the first network element and the second network element need to notify the management network element in advance of the list of services they support, establish an NF configuration file, and complete the registration of the first network element and the second network element, so that the management network element can save the registration information of the first network element and the registration information of the second network element, thereby correctly maintaining the first network element and its supported service information, and the second network element and its supported service information.

[0285] The registration process of the first network element can be implemented in one of two ways, which can be specifically referred to the description of steps s31 and s32, or the description of steps s41 to s44, which will not be described in detail here. The registration process of the second network element can be implemented in one of two ways, which can be specifically referred to the description of steps s51 and s52, or the description of steps s61 to s64, which will not be described in detail here.

[0286] S502: If the control network element determines that the first request is a legitimate service request based on the role attribute information of the first network element and the service authorization list, the control network element sends an authorization request to the management network element. Accordingly, the management network element receives the authorization request from the control network element.

[0287] The authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes the identifier of the first network element, the identifier of the control network element and the name of the first service. The specific implementation of step S502 can refer to the specific implementation of step S402 above, which will not be described here.

[0288] S503: If the management network element determines to authorize the first service based on the service authorization list, the management network element sends an authorization response to the control network element. Accordingly, the control network element receives the authorization response from the management network element.

[0289] In an embodiment of the present application, the authorization response includes an authorization result and an authorized service. Optionally, the authorization response also includes an authorization time. That is to say, since the first network element and the second network element share a control network element, there is no need to generate an access token, and whether to authorize the first service can be determined based on the service authorization information of the second network element in the service authorization list. The service authorization information includes the network element type of the NF service that is allowed to use the second network element. If the management network element determines that the first service is authorized based on the service authorization list, an authorization response is sent to the control network element; if the management network element determines that the first service is not authorized based on the service authorization list, the authorization request is rejected.

[0290] S504: If the authorization result indicates authorization, and the authorized service is the first service, the control network element sends a first request response to the first network element. Accordingly, the first network element receives the first request response from the control network element.

[0291] In an embodiment of the present application, after the control network element determines that the first service requested by the first network element is authorized, it can send a first request response to the first network element to notify the first network element that the first service requested to access is authorized.

[0292] It should be noted that when the first network element and the control network element corresponding to the first network element are physically combined as the same network element, and the second network element and the control network element corresponding to the second network element are physically combined as the same network element, the association relationship between the first network element and the control network element corresponding to the first network element, and the association relationship between the second network element and the control network element corresponding to the second network element can be defaulted. Therefore, the verification of the association relationship between the first network element and the control network element corresponding to the first network element, and the association relationship between the second network element and the control network element corresponding to the second network element can be simplified, which can save computing resources.

[0293] exist Figure 5In the described method, in the process of executing NF service authorization, NF-level security risk identification is added, and a certain degree of decoupling of NF service and security is achieved, which is conducive to improving the security of the system and further enhancing the security policy management capabilities supported by future networks; at the same time, all NFs share a control network element, and there is no need to establish a secure channel between control network elements, which improves processing efficiency.

[0294] Figure 6 FIG. 1 is a flow chart of another information processing method provided by an embodiment of the present application. Figure 6 As shown, the information processing method includes the following steps S601 to S606. Figure 6 The method execution subject shown can be a first network element, a second network element, a control network element, and a management network element (such as Figure 3B as shown). Alternatively, Figure 6 The execution subject of the method shown may be a device or chip having a first network element, a second network element, a control network element and a management network element, and the embodiments of the present application are not limited thereto. Figure 6 The first network element, the second network element, the control network element, and the management network element are used as examples of the execution subjects of the method. In the embodiment of the present application, the first network element and the second network element share a control network element. Among them, the first network element and the control network element corresponding to the first network element can be network elements that are separately and independently set, or they can be physically combined into the same network element, which is not limited here. The second network element and the control network element corresponding to the second network element can be network elements that are separately and independently set, or they can be physically combined into the same network element, which is not limited here.

[0295] S601: A first network element sends a first request to a control network element. Correspondingly, the control network element receives the first request from the first network element.

[0296] The first request indicates that the first network element requests to access the first service, and the first request includes an identifier of the first network element. The specific implementation of step S601 can refer to the specific implementation of step S501 above, and will not be described in detail here.

[0297] S602: If the control network element determines that the first request is a legitimate service request based on the role attribute information of the first network element and the service authorization list, the control network element sends an authorization request to the management network element. Accordingly, the management network element receives the authorization request from the control network element.

[0298] The authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes the identifier of the first network element, the identifier of the control network element, and the name of the first service. The specific implementation of step S502 can refer to the specific implementation of step S402 above, which will not be described here.

[0299] S603: If the management network element determines to authorize the first service based on the service authorization list, an access token corresponding to the first service is generated.

[0300] In an embodiment of the present application, the access token includes an identifier of the control network element and an identifier of the second network element; the second network element is used to provide the first service. The management network element can determine whether to authorize the first service based on the service authorization information of the second network element in the service authorization list. If the management network element determines to authorize the first service based on the service authorization list, an access token corresponding to the first service is generated; if the management network element determines not to authorize the first service based on the service authorization list, the authorization request is rejected.

[0301] S604: The management network element sends an authorization response to the control network element. Correspondingly, the control network element receives the authorization response from the management network element.

[0302] In an embodiment of the present application, the authorization response indicates an access token corresponding to the first service.

[0303] In a possible implementation, the method further includes: the second network element sends second indication information to the management network element, and accordingly, the management network element receives the second indication information from the second network element; the second indication information is used to instruct the second network element to perform a service for access token verification, and the service performed by the second network element for access token verification includes the first service; the access token also includes first indication information, and the first indication information is used to instruct the second network element to verify the access token. The second indication information here can be sent to the management network element through the second registration request or the fourth registration request when the second network element registers with the management network element, or it can be sent to the management network element by the second network element alone, which is not limited here.

[0304] S605: The control network element sends a fifth request to the second network element. Correspondingly, the second network element receives the fifth request from the control network element.

[0305] In the embodiment of the present application, the fifth request indicates that the first network element requests access to the first service, and the fifth request includes an access token and an identifier of the first network element.

[0306] S606: If the second network element determines that the access token is a valid token, it sends a first request response to the first network element. Accordingly, the first network element receives the first request response from the second network element.

[0307] In an embodiment of the present application, after the second network element determines that the access token is a legal token, it can send a first request response to the first network element to notify the first network element that the first service requested to access is authorized.

[0308] In one possible implementation, the specific implementation method for the second network element to determine that the access token is a legal token may be: if the third condition is met, the access token is determined to be a legal token; the third condition includes: the service authorization information in the access token is legal; based on the role attribute information of the second network element, it is determined that the second network element has the authority to process the third request.

[0309] That is to say, when the second network element determines whether the access token is a legal token, it needs to verify whether the service authorization information contained in the access token is legal. For example, if the second network element has made a service change to the management network element, but the control network element still uses an outdated access token to access, then the access token can be considered illegal; it is also necessary to determine whether the second network element has the authority to process the second request based on the role attribute information of the second network element. If all three conditions are met (that is, the service authorization information in the access token is legal; based on the role attribute information of the second network element, it is determined that the second network element has the authority to process the third request), then the access token is a legal token. If any of the third conditions is not met, then the access token is not a legal token, and the second network element rejects the fifth request.

[0310] It should be noted that when the first network element and the control network element corresponding to the first network element are physically combined as the same network element, and the second network element and the control network element corresponding to the second network element are physically combined as the same network element, the association relationship between the first network element and the control network element corresponding to the first network element, and the association relationship between the second network element and the control network element corresponding to the second network element can be defaulted. Therefore, the verification of the association relationship between the first network element and the control network element corresponding to the first network element, and the association relationship between the second network element and the control network element corresponding to the second network element can be simplified, which can save computing resources.

[0311] exist Figure 6 In the described method, in the process of executing NF service authorization, NF-level security risk identification is added, and a certain degree of decoupling of NF service and security is achieved, which is conducive to improving the security of the system and further enhancing the security policy management capabilities supported by future networks; at the same time, all NFs share a control network element, and there is no need to establish a secure channel between control network elements, which improves processing efficiency.

[0312] See also Figure 7 , Figure 7 A schematic structural diagram of a communication device 700 according to an embodiment of the present application is shown. Figure 7 The communication device shown may be a control network element corresponding to the first network element, or may be a device in the control network element corresponding to the first network element, or may be a device that can be matched and used with the control network element corresponding to the first network element; or Figure 7The communication device shown may be a management network element, or a device in the management network element, or a device that can be used in conjunction with the management network element; or Figure 7 The communication device shown may be a control network element corresponding to the second network element, or may be a device in the control network element corresponding to the second network element, or may be a device that can be matched and used with the control network element corresponding to the second network element; or Figure 7 The communication device shown may be the first network element, or may be a device in the first network element, or may be a device that can be used in conjunction with the first network element; or Figure 7 The communication device shown may be the second network element, or may be a device in the second network element, or may be a device that can be used in conjunction with the second network element; or Figure 7 The communication device shown may be a control network element, or a device in the control network element, or a device that can be used in conjunction with the control network element; or Figure 7 The communication device shown may be a policy network element, or a device in a policy network element, or a device that can be used in conjunction with a policy network element. Figure 7 The communication device shown may include a communication unit 701 and a processing unit 702. Specifically, the processing unit 702 is used to process data, which may be data received by the communication unit 701, and the processed data may also be sent by the communication unit 701.

[0313] In one implementation, the communication device 700 is a control network element corresponding to the first network element, or may be a device in the control network element corresponding to the first network element, or a device that can be matched and used with the control network element corresponding to the first network element, wherein:

[0314] The communication unit 701 is configured to receive a first request from a first network element; the first request indicates that the first network element requests access to a first service, and the first request includes an identifier of the first network element;

[0315] The communication unit 701 is used to send an authorization request to the management network element if it is determined that the first request is a legitimate service request based on the role attribute information and the service authorization list of the first network element; the authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes an identifier of the first network element, an identifier of the control network element corresponding to the first network element, and a name of the first service;

[0316] The communication unit 701 is used to receive an authorization response from a management network element; the authorization response indicates an access token corresponding to the first service, and the access token includes an identifier of a control network element corresponding to the first network element, an identifier of a second network element, and an identifier of a control network element corresponding to the second network element; the second network element is used to provide the first service;

[0317] The communication unit 701 is used to send a second request to a control network element corresponding to the second network element, where the second request indicates that the first network element requests access to the first service, and the second request includes the access token and an identifier of the first network element.

[0318] In one possible implementation, the communication unit 701, before receiving the first request from the first network element, is also used to: receive a first service discovery request from the first network element; the first service discovery request indicates that the first network element requests to discover the network element that provides the first service, and the first service discovery request includes the name of the first service; if it is determined based on the service authorization list that the first network element has the authority to access the first service, the first service discovery request is forwarded to the management network element.

[0319] In a possible implementation, the first request further indicates that the first network element requests to discover a network element that provides the first service, and the first request further includes a name of the first service.

[0320] In a possible implementation, before sending the authorization request to the management network element, the communication unit 701 is further configured to: if it is determined based on the service authorization list that the first network element has the authority to access the first service, send the identifier of the second network element to the first network element.

[0321] In a possible implementation manner, the authorization response includes security channel configuration information, and the processing unit 702 is configured to: establish a secure connection with the control network element corresponding to the second network element based on the security channel configuration information.

[0322] In a possible implementation, the identification information in the secure channel configuration information is a hash value of the access token.

[0323] In a possible implementation manner, the access token further includes first indication information, where the first indication information is used to instruct the second network element to verify the access token.

[0324] In a possible implementation manner, the communication unit 701 is further configured to: receive a service authorization list from a management network element.

[0325] In one possible implementation, the communication unit 701 is also used to: receive a first registration success notification from a management network element, the first registration success notification including an identifier of the first network element; and establish a secure channel with the first network element based on the identifier of the first network element; when receiving a first request from the first network element, the communication unit 701 is specifically used to: receive the first request from the first network element through the secure channel.

[0326] In one implementation, the communication device 700 is a management network element, or may be a device in a management network element, or may be a device that can be used in conjunction with a management network element, wherein:

[0327] The communication unit 701 is configured to receive an authorization request from a control network element corresponding to a first network element; the authorization request indicates that the first network element requests authorization for a first service, and the authorization request includes an identifier of the first network element, an identifier of a control network element corresponding to the first network element, and a name of the first service;

[0328] The processing unit 702 is configured to generate an access token corresponding to the first service if it is determined based on the registration information that the control network element corresponding to the first network element is the first preset network element, and it is determined based on the service authorization list that the first service is authorized; the access token includes an identifier of the control network element corresponding to the first network element, an identifier of the second network element, and an identifier of the control network element corresponding to the second network element; the second network element is used to provide the first service;

[0329] The communication unit 701 is used to send an authorization response to a control network element corresponding to the first network element; the authorization response indicates an access token corresponding to the first service.

[0330] In one possible implementation, the communication unit 701, before receiving the authorization request from the control network element corresponding to the first network element, is also used to: receive a first service discovery request from the control network element corresponding to the first network element; the first service discovery request indicates that the first network element requests to discover the network element that provides the first service, and the first service discovery request includes the name of the first service; if the authority of the first network element to specifically discover the first service is determined based on the service authorization list, and if it is determined based on the service authorization list that the control network element corresponding to the first network element has the authority to process the first service discovery request, then the identifier of the second network element is sent to the first network element.

[0331] In one possible implementation, the authorization response includes security channel configuration information, and the communication unit 701 is further used to: send notification information to the control network element corresponding to the second network element, and the notification information includes the identifier of the control network element corresponding to the first network element and the security channel configuration information.

[0332] In a possible implementation, the identification information in the secure channel configuration information is a hash value of the access token.

[0333] In one possible implementation, the communication unit 701 is also used to: receive second indication information from a second network element; the second indication information is used to instruct the second network element to perform a service for access token verification, and the service for access token verification performed by the second network element includes the first service; the access token also includes first indication information, and the first indication information is used to instruct the second network element to verify the access token.

[0334] In a possible implementation manner, the communication unit 701 is further configured to: receive a service authorization list from a policy network element.

[0335] In one possible implementation, the communication unit 701 is also used to: receive a first registration request from a first network element, the first registration request indicating a second service supported by the first network element, the first registration request including an identifier of the first network element; if the second service is included in the service authorization list, send a first registration success response to the first network element.

[0336] In one possible implementation, the first registration request also includes third indication information, and the third indication information is used to indicate that a control network element is allocated to the first network element. The communication unit 701, before sending a first registration success response to the first network element, the processing unit 702, is further used to: allocate a first preset network element to the first network element, and save the association relationship between the first network element and the first preset network element, and the first registration success response includes an identifier of the first preset network element; the communication unit 701, after sending the first registration success response to the first network element, the communication unit 701, is further used to: send a first registration success notification to the first preset network element, and the first registration success notification includes the identifier of the first network element.

[0337] In one possible implementation, the communication unit 701 is also used to: receive a second registration request from a second network element, the second registration request indicating a third service supported by the second network element, the second registration request including an identifier of the second network element; if the third service is included in the service authorization list, send a second registration success response to the second network element.

[0338] In one possible implementation, the second registration request also includes fourth indication information, and the fourth indication information is used to indicate the allocation of a control network element to the second network element. The communication unit 701, before sending a second registration success response to the second network element, the processing unit 702, is also used to: allocate a second preset network element to the second network element, and save the association relationship between the second network element and the second preset network element, and the second registration success response includes the identifier of the second preset network element; the communication unit 701, after sending the second registration success response to the second network element, the communication unit 701, is also used to: send a second registration success notification to the second preset network element, and the second registration success notification includes the identifier of the second network element.

[0339] In one possible implementation, the communication unit 701 is also used to: receive a third registration request from the first network element, the third registration request indicating a second service supported by the first network element, the third registration request including an identifier of the first network element and an identifier of a first preset network element, the first preset network element being a control network element corresponding to the pre-configured first network element; if the second service is included in the service authorization list, then saving the association relationship between the first network element and the first preset network element; and sending a third registration success response to the first network element.

[0340] In one possible implementation, the communication unit 701 is also used to: receive a fourth registration request from the second network element, the fourth registration request indicating a third service supported by the second network element, the fourth registration request including an identifier of the second network element and an identifier of a second preset network element, the second preset network element being a control network element corresponding to the pre-configured second network element; if the third service is included in the service authorization list, then saving the association relationship between the second network element and the second preset network element; and sending a fourth registration success response to the second network element.

[0341] In a possible implementation manner, the first registration request or the third registration request further includes fifth indication information, where the fifth indication information is used to instruct the first network element to perform an access token verification service.

[0342] In a possible implementation manner, the second registration request or the fourth registration request further includes the second indication information, where the second indication information is used to instruct the second network element to perform an access token verification service.

[0343] In a possible implementation manner, the communication unit 701 is further configured to: send the service authorization list to a control network element corresponding to the first network element.

[0344] In a possible implementation manner, the communication unit 701 is further configured to: send the service authorization list to a control network element corresponding to the second network element.

[0345] In one implementation, the communication device 700 is a control network element corresponding to the second network element, or may be a device in the control network element corresponding to the second network element, or may be a device that can be matched and used with the control network element corresponding to the second network element, wherein:

[0346] The communication unit 701 is configured to receive a second request from a control network element corresponding to a first network element, the second request indicating that the first network element requests access to a first service, the second request including an access token and an identifier of the first network element; the access token including an identifier of a control network element corresponding to the first network element, an identifier of the second network element, and an identifier of the control network element corresponding to the second network element; the second network element is configured to provide the first service;

[0347] The communication unit 701 is configured to send a third request to the second network element if it is determined that the access token is a legal token, wherein the third request indicates that the first network element requests access to the first service, and the third request includes an identifier of the first network element.

[0348] In one possible implementation, the communication unit 701 is further used to: receive notification information from a management network element, the notification information including an identifier of a control network element corresponding to the first network element and security channel configuration information; and establish a secure connection with the control network element corresponding to the first network element based on the security channel configuration information.

[0349] In a possible implementation, the identification information in the secure channel configuration information is a hash value of the access token.

[0350] In a possible implementation, the access token also includes first indication information, where the first indication information is used to instruct the second network element to verify the access token; and the third request includes the access token.

[0351] In one possible implementation, the processing unit 702, when determining that the access token is a legal token, is specifically used to: if a first condition is met, determine that the access token is a legal token; the first condition includes: the control network element corresponding to the first network element is a first preset network element, and the control network element corresponding to the second network element is a second preset network element; the service authorization information in the access token is legal; based on the role attribute information of the second network element, determine that the second network element has the authority to process the second request.

[0352] In a possible implementation, the communication unit 701 is further used to: receive a second registration success notification from the management network element, where the second registration success notification includes an identifier of the second network element; and establish a secure channel with the second network element based on the identifier of the second network element.

[0353] In one implementation, the communication device 700 is a first network element, or may be a device in the first network element, or may be a device that can be used in conjunction with the first network element, wherein:

[0354] A communication unit 701 is configured to send a first request to a control network element corresponding to a first network element, where the first request indicates that the first network element requests access to a first service, and the first request includes an identifier of the first network element;

[0355] The communication unit 701 is configured to receive a first request response from a second network element.

[0356] In one possible implementation, the communication unit 701, before sending the first request to the control network element corresponding to the first network element, is also used to: send a first service discovery request to the control network element corresponding to the first network element; the first service discovery request indicates that the first network element requests to discover the network element that provides the first service, and the first service discovery request includes the name of the first service; receive an identifier of a second network element from the management network element, and the second network element is used to provide the first service.

[0357] In a possible implementation, before sending the first request to the control network element corresponding to the first network element, the communication unit 701 is further used to: receive an identifier of a second network element from the control network element corresponding to the first network element, where the second network element is used to provide the first service.

[0358] In a possible implementation, the communication unit 701 is further used to: send a first registration request to a management network element, the first registration request indicating a second service supported by the first network element, the first registration request including an identifier of the first network element; and receive a first registration success response from the management network element.

[0359] In one possible implementation, the first registration request also includes third indication information, and the third indication information is used to indicate that a control network element is allocated to the first network element; the first registration success response includes an identifier of a first preset network element, and the first preset network element is the control network element allocated to the first network element.

[0360] In one possible implementation, the communication unit 701 is also used to: send a third registration request to the management network element, the third registration request indicating the second service supported by the first network element, the third registration request including the identifier of the first network element and the identifier of the first preset network element, the first preset network element being the control network element corresponding to the pre-configured first network element; and receive a third registration success response from the management network element.

[0361] In a possible implementation manner, the first registration request or the third registration request further includes fifth indication information, where the fifth indication information is used to instruct the first network element to perform an access token verification service.

[0362] In one implementation, the communication device 700 is a second network element, or may be a device in the second network element, or may be a device that can be used in conjunction with the second network element, wherein:

[0363] The communication unit 701 is configured to receive a third request from a control network element corresponding to a second network element, where the third request indicates that the first network element requests to access the first service, and the third request includes an identifier of the first network element;

[0364] The communication unit 701 is configured to send a first request response to a first network element.

[0365] In one possible implementation, the third request also includes an access token, which includes an identifier of a control network element corresponding to the first network element, an identifier of a second network element, and an identifier of a control network element corresponding to the second network element; the second network element is used to provide the first service, and the communication unit 701, when sending a first request response to the first network element, is specifically used to: if it is determined that the access token is a legal token, send a first request response to the first network element.

[0366] In one possible implementation, the processing unit 702, when determining that the access token is a legal token, is specifically used to: if the second condition is met, determine that the access token is a legal token; the second condition includes: the control network element corresponding to the first network element is the first preset network element, and the control network element corresponding to the second network element is the second preset network element; the service authorization information in the access token is legal; based on the role attribute information of the second network element, determine that the second network element has the authority to process the third request.

[0367] In a possible implementation, the communication unit 701 is further used to: send a second registration request to the management network element, the second registration request indicating a third service supported by the second network element, the second registration request including an identifier of the second network element; and receive a second registration success response from the management network element.

[0368] In one possible implementation, the second registration request also includes third indication information, and the third indication information is used to indicate the allocation of a control network element for the second network element; the second registration success response includes an identifier of a second preset network element, and the second preset network element is the control network element corresponding to the first network element allocated by the management network element.

[0369] In one possible implementation, the communication unit 701 is also used to: send a fourth registration request to the management network element, the fourth registration request indicating a third service supported by the second network element, the fourth registration request including an identifier of the second network element and an identifier of a second preset network element, the second preset network element being a control network element corresponding to the pre-configured second network element; and receive a fourth registration success response from the management network element.

[0370] In a possible implementation manner, the second registration request or the fourth registration request further includes second indication information, where the second indication information is used to instruct the second network element to perform an access token verification service.

[0371] In a possible implementation, the communication unit 701 is further configured to: send second indication information to the management network element, where the second indication information is used to instruct the second network element to perform an access token verification service.

[0372] In a possible implementation manner, the communication unit 701 is further configured to: receive a service authorization list from a management network element.

[0373] In one implementation, the communication device 700 is a control network element, or may be a device in the control network element, or may be a device that can be used in conjunction with the control network element, wherein:

[0374] The communication unit 701 is configured to receive a first request from a first network element; the first request indicates that the first network element requests access to a first service, and the first request includes an identifier of the first network element;

[0375] The communication unit 701 is used to send an authorization request to the management network element if it is determined that the first request is a legitimate service request based on the role attribute information and the service authorization list of the first network element; the authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes an identifier of the first network element, an identifier of the control network element, and a name of the first service;

[0376] The communication unit 701 is used to receive an authorization response from a management network element; the authorization response includes an authorization result and an authorization service;

[0377] The communication unit 701 is configured to send a first request response to the first network element if the authorization result indicates authorization and the authorized service is a first service.

[0378] In one possible implementation, the communication unit 701, before receiving the first request from the first network element, is also used to: receive a third service discovery request from the first network element; the third service discovery request indicates that the first network element requests to discover the network element that provides the first service, and the first service discovery request includes the name of the first service; if it is determined based on the service authorization list that the first network element has the authority to access the first service, the third service discovery request is forwarded to the management network element.

[0379] In a possible implementation, the first request further indicates that the first network element requests to discover a network element that provides the first service, and the first request further includes a name of the first service.

[0380] In one possible implementation, the communication unit 701, before sending an authorization request to the management network element, is also used to: if it is determined based on the service authorization list that the first network element has the authority to access the first service, then send a fourth service discovery request to the management network element, the fourth service discovery request indicating that the first network element requests to discover the network element that provides the first service, and the second service discovery request includes the name of the first service.

[0381] In one implementation, the communication device 700 is a management network element, or may be a device in a management network element, or may be a device that can be used in conjunction with a management network element, wherein:

[0382] The communication unit 701 is configured to receive an authorization request from a control network element, where the authorization request indicates that the first network element requests authorization for a first service, and the authorization request includes an identifier of the first network element, an identifier of the control network element, and a name of the first service;

[0383] The communication unit 701 is configured to send an authorization response to the control network element if it is determined based on the service authorization list that the first service is authorized; the authorization response includes an authorization result and an authorized service.

[0384] In one possible implementation, the communication unit 701, before receiving the authorization request from the control network element, is also used to: receive a third service discovery request from the control network element; the third service discovery request indicates that the first network element requests to discover the network element that provides the first service, and the first service discovery request includes the name of the first service; if the first network element's specific authority to discover the first service is determined based on the service authorization list, and the control network element is determined to have the authority to process the third service discovery request based on the service authorization list, then the identifier of the second network element is sent to the first network element.

[0385] In one possible implementation, the communication unit 701, before receiving the authorization request from the second network element, is further used to: receive a fourth service discovery request from the control network element, the fourth service discovery request indicating that the first network element requests to discover the network element that provides the first service, and the second service discovery request includes the name of the first service; if it is determined based on the service authorization list that the first network element has the authority to discover the first service, and it is determined based on the service authorization list that the control network element has the authority to process the fourth service discovery request, then send the identifier of the second network element to the first network element.

[0386] In one implementation, the communication device 700 is a first network element, or may be a device in the first network element, or may be a device that can be used in conjunction with the first network element, wherein:

[0387] The communication unit 701 is configured to send a first request to a control network element, where the first request indicates that the first network element requests access to a first service, and the first request includes an identifier of the first network element;

[0388] The communication unit 701 is configured to receive a first request response from a control network element.

[0389] In one possible implementation, the communication unit 701, before sending the first request to the control network element, is also used to: send a third service discovery request to the control network element; the third service discovery request indicates that the first network element requests to discover the network element that provides the first service, and the first service discovery request includes the name of the first service; receive the identifier of the second network element from the management network element, and the second network element is used to provide the first service.

[0390] In a possible implementation, before sending the first request to the control network element, the communication unit 701 is further configured to: receive an identifier of a second network element from the management network element, where the second network element is configured to provide the first service.

[0391] In one implementation, the communication device 700 is a control network element, or may be a device in the control network element, or may be a device that can be used in conjunction with the control network element, wherein:

[0392] The communication unit 701 is configured to receive a first request from a first network element; the first request indicates that the first network element requests access to a first service, and the first request includes an identifier of the first network element;

[0393] The communication unit 701 is used to send an authorization request to the management network element if it is determined that the first request is a legitimate service request based on the role attribute information and the service authorization list of the first network element; the authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes an identifier of the first network element, an identifier of the control network element, and a name of the first service;

[0394] The communication unit 701 is used to receive an authorization response from a management network element; the authorization response indicates an access token corresponding to the first service, and the access token includes an identifier of the control network element and an identifier of a second network element; the second network element is used to provide the first service;

[0395] The communication unit 701 is configured to send a fifth request to the second network element, where the fifth request indicates that the first network element requests to access the first service, and the fifth request includes the access token and an identifier of the first network element.

[0396] In a possible implementation manner, the access token further includes first indication information, where the first indication information is used to instruct the second network element to verify the access token.

[0397] In one implementation, the communication device 700 is a management network element, or may be a device in a management network element, or may be a device that can be used in conjunction with a management network element, wherein:

[0398] The communication unit 701 is configured to receive an authorization request from a control network element; the authorization request indicates that the first network element requests authorization for a first service, and the authorization request includes an identifier of the first network element, an identifier of the control network element, and a name of the first service;

[0399] The processing unit 702 is configured to generate an access token corresponding to the first service if it is determined based on the service authorization list that the first service is authorized; the access token includes an identifier of the control network element and an identifier of the second network element; the second network element is configured to provide the first service;

[0400] The communication unit 701 is used to send an authorization response to the control network element; the authorization response indicates an access token corresponding to the first service.

[0401] In one possible implementation, the communication unit 701 is also used to: receive second indication information from a second network element; the second indication information is used to instruct the second network element to perform a service for access token verification, and the service for access token verification performed by the second network element includes the first service; the access token also includes first indication information, and the first indication information is used to instruct the second network element to verify the access token.

[0402] In one implementation, the communication device 700 is a first network element, or may be a device in the first network element, or may be a device that can be used in conjunction with the first network element, wherein:

[0403] The communication unit 701 is configured to send a first request to a control network element, where the first request indicates that the first network element requests access to a first service, and the first request includes an identifier of the first network element;

[0404] The communication unit 701 is configured to receive a first request response from a second network element.

[0405] In one implementation, the communication device 700 is a second network element, or may be a device in the second network element, or may be a device that can be used in conjunction with the second network element, wherein:

[0406] The communication unit 701 is configured to receive a fifth request from a control network element, where the fifth request indicates that the first network element requests access to the first service, and the fifth request includes an access token and an identifier of the first network element;

[0407] The communication unit 701 is configured to send a first request response to the first network element if it is determined that the access token is a legal token.

[0408] In a possible implementation manner, the access token further includes first indication information, where the first indication information is used to instruct the second network element to verify the access token.

[0409] In one possible implementation, the processing unit 702, when determining that the access token is a legal token, is specifically used to: if a third condition is met, determine that the access token is a legal token; the third condition includes: the service authorization information in the access token is legal; based on the role attribute information of the second network element, determine that the second network element has the authority to process the fifth request.

[0410] In one implementation, the communication device 700 is a policy network element, or may be a device in a policy network element, or may be a device that can be used in conjunction with a policy network element, wherein:

[0411] The communication unit 701 is used to receive security situation information, which is used to indicate the security status and security capabilities of each network element in the system;

[0412] The processing unit 702 is used to generate a service authorization list based on the security situation information;

[0413] The communication unit 701 is used to send the service authorization list to the management network element.

[0414] Figure 8A structural diagram of another communication device is given. The communication device 800 may be a control network element, a management network element, a control network element corresponding to the first network element, a first network element, a second network element, a control network element or a policy network element corresponding to the first network element in the above method embodiment, or may be a chip, a chip system, or a processor that supports the control network element corresponding to the first network element, the management network element, the control network element corresponding to the second network element, the first network element, the second network element, the control network element or the policy network element to implement the above method. The communication device may be used to implement the method described in the above method embodiment, and the details may refer to the description in the above method embodiment.

[0415] The communication device 800 may include one or more processors 801. The processor 801 may be a general-purpose processor or a dedicated processor, etc. For example, it may be a baseband processor or a central processing unit. The baseband processor may be used to process the communication protocol and communication data, and the central processing unit may be used to control the communication device (such as a base station, a baseband chip, a terminal, a terminal chip, a DU or a CU, etc.), execute a software program, and process the data of the software program.

[0416] Optionally, the communication device 800 may include one or more memories 802, on which instructions 804 may be stored, and the instructions may be executed on the processor 801, so that the communication device 800 performs the method described in the above method embodiment. Optionally, data may also be stored in the memory 802. The processor 801 and the memory 802 may be provided separately or integrated together.

[0417] Optionally, the communication device 800 may further include a transceiver 805 and an antenna 806. The transceiver 805 may be referred to as a transceiver unit, a transceiver, or a transceiver circuit, etc., for implementing a transceiver function. The transceiver 805 may include a receiver and a transmitter, the receiver may be referred to as a receiver or a receiving circuit, etc., for implementing a receiving function; the transmitter may be referred to as a transmitter or a transmitting circuit, etc., for implementing a transmitting function. Among them, Figure 7 The processing unit 702 shown may be a processor 801. The communication unit 701 may be a transceiver 805.

[0418] In another possible design, the processor 801 may include a transceiver for implementing the receiving and sending functions. For example, the transceiver may be a transceiver circuit, or an interface, or an interface circuit. The transceiver circuit, interface, or interface circuit for implementing the receiving and sending functions may be separate or integrated. The above-mentioned transceiver circuit, interface, or interface circuit may be used for reading and writing code / data, or the above-mentioned transceiver circuit, interface, or interface circuit may be used for transmitting or delivering signals.

[0419] In another possible design, optionally, the processor 801 may store an instruction 803, and the instruction 803 runs on the processor 801, so that the communication device 800 can execute the method described in the above method embodiment. The instruction 803 may be solidified in the processor 801, in which case the processor 801 may be implemented by hardware.

[0420] In another possible design, the communication device 800 may include a circuit that can implement the functions of sending or receiving or communicating in the aforementioned method embodiments. The processor and transceiver described in the embodiments of the present application can be implemented in an integrated circuit (IC), an analog IC, a radio frequency integrated circuit RFIC, a mixed signal IC, an application specific integrated circuit (ASIC), a printed circuit board (PCB), an electronic device, etc. The processor and transceiver can also be manufactured using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), N-type metal oxide semiconductor (nMetal-oxide-semiconductor, NMOS), P-type metal oxide semiconductor (positive channelmetal oxide semiconductor, PMOS), bipolar junction transistor (Bipolar Junction Transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.

[0421] The communication device described in the above embodiments may be a control network element corresponding to the first network element, a management network element, a control network element corresponding to the second network element, a first network element, a second network element, a control network element or a policy network element, but the scope of the communication device described in the embodiments of the present application is not limited thereto, and the structure of the communication device may not be limited thereto. Figure 8 The communication device may be an independent device or may be part of a larger device. For example, the communication device may be:

[0422] (1) Independent integrated circuit IC, or chip, or chip system or subsystem;

[0423] (2) having a set of one or more ICs, and optionally, the IC set may also include a storage component for storing data and instructions;

[0424] (3) ASIC, such as modem (MSM);

[0425] (4) Modules that can be embedded in other devices;

[0426] (5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handheld devices, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;

[0427] (6)Others

[0428] For the case where the communication device may be a chip or a chip system, see Fig. 9 Schematic diagram of the chip structure shown. Fig. 9 The chip 900 shown includes a processor 901 and an interface 902. Optionally, it may also include a memory 903. The number of the processor 901 may be one or more, and the number of the interface 902 may be multiple.

[0429] For the case where the chip is used to implement the control network element, management network element corresponding to the first network element, control network element corresponding to the second network element, first network element, second network element, control network element or policy network element in the embodiment of the present application:

[0430] The interface 902 is used to receive or output signals;

[0431] The processor 901 is used to execute data processing operations of a control network element, a management network element corresponding to the first network element, a control network element corresponding to the second network element, the first network element, the second network element, the control network element or the policy network element.

[0432] It is understandable that some optional features in the embodiments of the present application may be implemented independently in certain scenarios without relying on other features, such as the solution on which they are currently based, to solve corresponding technical problems and achieve corresponding effects, or may be combined with other features according to needs in certain scenarios. Accordingly, the communication device provided in the embodiments of the present application may also implement these features or functions accordingly, which will not be described in detail here.

[0433] It should be understood that the processor in the embodiment of the present application can be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software. The above processor can be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0434] It can be understood that the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double data rate SDRAM (DDR SDRAM), enhanced SDRAM (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM (DR RAM). It should be noted that the memory of the systems and methods described herein is intended to include, but is not limited to, these and any other suitable types of memory.

[0435] The present application also provides a computer-readable medium, in which a computer program or instruction is stored. When the computer program or instruction is executed by a communication device, the functions of any of the above method embodiments are implemented.

[0436] The present application also provides a computer program product including instructions, and when a computer reads and executes the computer program product, the computer implements the functions of any of the above method embodiments.

[0437] The present application provides a communication system, which includes a control network element corresponding to a first network element, a management network element, a second network element, and the control network element corresponding to the second network element; wherein the control network element corresponding to the first network element is used to execute the method executed by the control network element corresponding to the first network element in the above-mentioned embodiment, the management network element is used to execute the method executed by the management network element in the above-mentioned embodiment, the control network element corresponding to the second network element is used to execute the method executed by the control network element corresponding to the second network element in the above-mentioned embodiment, and the second network element is used to execute the method executed by the second network element in the above-mentioned embodiment.

[0438] In a possible implementation manner, the communication system further includes a policy network element, and the policy network element is used to execute the method for execution by the policy network element in the above embodiment.

[0439] The present application provides a communication system, which includes a control network element corresponding to a first network element, a management network element, a control network element corresponding to a second network element, a first network element, and a second network element; wherein the control network element corresponding to the first network element is used to execute the method executed by the control network element corresponding to the first network element in the above-mentioned embodiment, the management network element is used to execute the method executed by the management network element in the above-mentioned embodiment, the control network element corresponding to the second network element is used to execute the method executed by the control network element corresponding to the second network element in the above-mentioned embodiment, the first network element is used to execute the method executed by the first network element in the above-mentioned embodiment, and the second network element is used to execute the method executed by the second network element in the above-mentioned embodiment.

[0440] In a possible implementation manner, the communication system further includes a policy network element, and the policy network element is used to execute the method for execution by the policy network element in the above embodiment.

[0441] The present application provides a communication system, which includes a control network element, a management network element and a first network element; wherein the control network element is used to execute the method executed by the control network element in the above embodiment, the management network element is used to execute the method executed by the management network element in the above embodiment, and the first network element is used to execute the method executed by the first network element in the above embodiment.

[0442] In a possible implementation manner, the communication system further includes a policy network element, and the policy network element is used to execute the method for execution by the policy network element in the above embodiment.

[0443] The present application provides a communication system, which includes a control network element, a management network element, a first network element, and a second network element; wherein the control network element is used to execute the method executed by the control network element in the above-mentioned embodiment, the management network element is used to execute the method executed by the management network element in the above-mentioned embodiment, the first network element is used to execute the method executed by the first network element in the above-mentioned embodiment, and the second network element is used to execute the method executed by the second network element in the above-mentioned embodiment.

[0444] In a possible implementation manner, the communication system further includes a policy network element, and the policy network element is used to execute the method for execution by the policy network element in the above embodiment.

[0445] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (digital subscriber line, DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium may be any available medium that a computer can access or a data storage device such as a server or data center that includes one or more available media integrated. The available medium may be a magnetic medium (eg, a floppy disk, a hard disk, a magnetic tape), an optical medium (eg, a high-density digital video disc (DVD)), or a semiconductor medium (eg, a solid state disk (SSD)).

[0446] The above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any person skilled in the art who is familiar with the present technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. An information processing method, It is characterized in that The method comprises: receiving a first request from a first network element; the first request indicating that the first network element requests access to a first service, the first request including an identifier of the first network element; If it is determined that the first request is a legitimate service request based on the role attribute information and the service authorization list of the first network element, an authorization request is sent to the management network element; the authorization request indicates that the first network element requests authorization for the first service, and the authorization request includes an identifier of the first network element, an identifier of the control network element corresponding to the first network element, and a name of the first service; receiving an authorization response from the management network element; the authorization response indicating an access token corresponding to the first service, the access token including an identifier of a control network element corresponding to the first network element, an identifier of a second network element, and an identifier of a control network element corresponding to the second network element; the second network element is used to provide the first service; A second request is sent to a control network element corresponding to the second network element, where the second request indicates that the first network element requests access to the first service, and the second request includes the access token and an identifier of the first network element.

2. The method according to claim 1, It is characterized in that Before receiving the first request from the first network element, the method further includes: receiving a first service discovery request from the first network element; the first service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the first service discovery request includes a name of the first service; If it is determined based on the service authorization list that the first network element has the authority to access the first service, the first service discovery request is forwarded to the management network element.

3. The method according to claim 1 or 2, It is characterized in that The authorization response includes secure channel configuration information, and the method further includes: A secure connection with a control network element corresponding to the second network element is established based on the secure channel configuration information.

4. The method according to claim 3, It is characterized in that The identification information in the secure channel configuration information is a hash value of the access token.

5. The method according to any one of claims 1 to 4, It is characterized in that The access token also includes first indication information, where the first indication information is used to instruct the second network element to verify the access token.

6. The method according to any one of claims 1 to 5, It is characterized in that The method further comprises: The service authorization list is received from the management network element.

7. An information processing method, It is characterized in that The method comprises: receiving an authorization request from a control network element corresponding to a first network element; the authorization request indicating that the first network element requests authorization for a first service, the authorization request including an identifier of the first network element, an identifier of a control network element corresponding to the first network element, and a name of the first service; If it is determined based on the registration information that the control network element corresponding to the first network element is the first preset network element, and it is determined based on the service authorization list that the first service is authorized, an access token corresponding to the first service is generated; the access token includes an identifier of the control network element corresponding to the first network element, an identifier of the second network element, and an identifier of the control network element corresponding to the second network element; the second network element is used to provide the first service; An authorization response is sent to a control network element corresponding to the first network element; the authorization response indicates an access token corresponding to the first service.

8. The method according to claim 7, It is characterized in that Before receiving the authorization request from the control network element corresponding to the first network element, the method further includes: receiving a first service discovery request from a control network element corresponding to the first network element; the first service discovery request indicates that the first network element requests to discover a network element that provides the first service, and the first service discovery request includes a name of the first service; If it is determined based on the service authorization list that the first network element has the authority to specifically discover the first service, and it is determined based on the service authorization list that the control network element corresponding to the first network element has the authority to process the first service discovery request, the identifier of the second network element is sent to the first network element.

9. The method according to claim 7 or 8, It is characterized in that The authorization response includes secure channel configuration information, and the method further includes: Sending notification information to a control network element corresponding to the second network element, the notification information including an identifier of the control network element corresponding to the first network element and the security channel configuration information.

10. The method according to claim 9, It is characterized in that The identification information in the secure channel configuration information is a hash value of the access token.

11. The method according to any one of claims 7 to 10, It is characterized in that The method further comprises: receiving second indication information from the second network element; the second indication information is used to instruct the second network element to perform a service for access token verification, and the service for access token verification performed by the second network element includes the first service; The access token also includes first indication information, where the first indication information is used to instruct the second network element to verify the access token.

12. The method according to any one of claims 7 to 11, It is characterized in that The method further comprises: The service authorization list is received from a policy network element.

13. An information processing method, It is characterized in that The method comprises: receiving a second request from a control network element corresponding to a first network element, the second request indicating that the first network element requests access to a first service, the second request including an access token and an identifier of the first network element; the access token including an identifier of a control network element corresponding to the first network element, an identifier of a second network element, and an identifier of a control network element corresponding to the second network element; the second network element is used to provide the first service; If it is determined that the access token is a legal token, a third request is sent to the second network element, the third request instructing the first network element to request access to the first service, and the third request includes an identifier of the first network element.

14. The method according to claim 13, It is characterized in that The method further comprises: Receiving notification information from a management network element, the notification information including an identifier of a control network element corresponding to the first network element and security channel configuration information; A secure connection with a control network element corresponding to the first network element is established based on the secure channel configuration information.

15. The method according to claim 14, It is characterized in that The identification information in the secure channel configuration information is a hash value of the access token.

16. The method according to any one of claims 13 to 15, It is characterized in that The access token also includes first indication information, where the first indication information is used to instruct the second network element to verify the access token; and the third request includes the access token.

17. The method according to any one of claims 13 to 16, It is characterized in that The determining that the access token is a legal token includes: If the first condition is met, it is determined that the access token is a legal token; The first condition includes: The control network element corresponding to the first network element is a first preset network element, and the control network element corresponding to the second network element is a second preset network element; The service authorization information in the access token is legal; Based on the role attribute information of the second network element, it is determined that the second network element has the authority to process the second request.

18. An information processing method, It is characterized in that The method comprises: receiving a third request from a control network element corresponding to the second network element, the third request indicating that the first network element requests access to the first service, the third request including an identifier of the first network element; Send a first request response to the first network element.

19. The method according to claim 18, It is characterized in that The third request further includes an access token, where the access token includes an identifier of a control network element corresponding to the first network element, an identifier of the second network element, and an identifier of a control network element corresponding to the second network element; The second network element is used to provide the first service, and the sending a first request response to the first network element includes: If it is determined that the access token is a legal token, a first request response is sent to the first network element.

20. The method according to claim 19, It is characterized in that The determining that the access token is a legal token includes: If the second condition is met, it is determined that the access token is a legal token; The second condition includes: The control network element corresponding to the first network element is a first preset network element, and the control network element corresponding to the second network element is a second preset network element; The service authorization information in the access token is legal; Based on the role attribute information of the second network element, it is determined that the second network element has the authority to process the third request.

21. The method according to any one of claims 18 to 20, It is characterized in that The method further comprises: Sending second indication information to the management network element, where the second indication information is used to instruct the second network element to perform an access token verification service.

22. A communication system, It is characterized in that It includes a control network element corresponding to a first network element, a management network element, a second network element and a control network element corresponding to the second network element; wherein the control network element corresponding to the first network element is used to execute the method described in any one of claims 1-6, the management network element is used to execute the method described in any one of claims 7-12, the control network element corresponding to the second network element is used to execute the method described in any one of claims 13-17, and the second network element is used to execute the method described in any one of claims 18-21.

23. A communication device, It is characterized in that Comprising a function or unit for executing the method according to any one of claims 1 to 6, or executing the method according to any one of claims 7 to 12, or executing the method according to any one of claims 13 to 17, or executing the method according to any one of claims 18 to 21.

24. A communication device, It is characterized in that The invention comprises a processor and a memory, wherein the processor and the memory are coupled, wherein the processor is used to implement the method according to any one of claims 1 to 6, or the processor is used to implement the method according to any one of claims 7 to 12, or the processor is used to implement the method according to any one of claims 13 to 17, or the processor is used to implement the method according to any one of claims 18 to 21.

25. A communication device, It is characterized in that It includes a processor and an interface circuit, wherein the interface circuit is used to receive signals from other communication devices outside the communication device and transmit them to the processor or send signals from the processor to other communication devices outside the communication device, the processor is used to implement the method as described in any one of claims 1 to 6 through a logic circuit or execute code instructions, or the processor is used to implement the method as described in any one of claims 7 to 12 through a logic circuit or execute code instructions, or the processor is used to implement the method as described in any one of claims 13 to 17 through a logic circuit or execute code instructions, or the processor is used to implement the method as described in any one of claims 18 to 21 through a logic circuit or execute code instructions.

26. A computer-readable storage medium, It is characterized in that The storage medium stores a computer program or instruction. When the computer program or instruction is executed by the communication device, it implements the method as described in any one of claims 1 to 6, or implements the method as described in any one of claims 7 to 12, or implements the method as described in any one of claims 13 to 17, or implements the method as described in any one of claims 18 to 21.

27. A computer program product, It is characterized in that When a computer reads and executes the computer program product, the computer executes the method according to any one of claims 1 to 6, or the computer executes the method according to any one of claims 7 to 12, or the computer executes the method according to any one of claims 13 to 17, or the computer executes the method according to any one of claims 18 to 21.