Communication method, apparatus, and system

By determining the target communication protection mechanism in the global mobile communications system, establishing a secure connection, and using communication protection mechanisms such as TLS or PRINS, the problem of communication security in roaming scenarios is solved, and efficient and reliable transmission of communication data is achieved.

WO2024199084A1PCT designated stage expired Publication Date: 2024-10-03HUAWEI TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2024/083072
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2023-03-31
Filing Date
2024-03-21
Publication Date
2024-10-03

AI Technical Summary

Technical Problem

In the global mobile communications system, how to ensure communication security in roaming scenarios, especially in the case of contracting between relay entities and security agent entities, to prevent communication data leakage and tampering.

Method used

By determining the target communication protection mechanism, establishing a secure connection, using communication protection mechanisms such as Transport Layer Security (TLS) or N32 Interconnect Security Protocol (PRINS) to ensure communication security between the relay entity and the security proxy entity, using target communication protection Strategies are encrypted and verified to ensure the security of data transmission.

Benefits of technology

It effectively guarantees the confidentiality and integrity of communication data, prevents unauthorized access and tampering, improves the security of the communication system, and reduces communication security risks.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2024083072_03102024_PF_FP_ABST
    Figure CN2024083072_03102024_PF_FP_ABST
Patent Text Reader

Abstract

The present application provides a communication method, an apparatus, and a system, belonging to the technical field of communications. In the method, when a first security proxy entity or a second security proxy entity subscribes to a first relay entity, the first security proxy entity not only considers a communication protection mechanism supported by a security proxy entity that is not subscribed to the first relay entity in the first security proxy entity and the second security proxy entity (i.e., the third security proxy entity), but also considers a communication protection mechanism supported by the first relay entity, so as to determine a target communication protection mechanism supported by both the first relay entity and the third security proxy entity. In this way, a secure connection can be established between the first relay entity and the third security proxy entity by means of using the target communication protection mechanism, so that communication security is guaranteed.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method, device and system

[0001] This application claims priority to the Chinese patent application filed with the State Intellectual Property Office on March 31, 2023, with application number 202310363684.0 and application name “Communication Methods, Devices and Systems”, the entire contents of which are incorporated by reference into this application. Technical Field

[0002] The present application relates to the field of communications, and in particular to a communication method, device, and system. Background Art

[0003] The Global System for Mobile Communications Association (GSMA) has defined an enhancement to the roaming architecture by adding a roaming hub (RH) between security edge protection proxies (SEPPs). The RH is contracted with the network function (NF) of certain public land mobile networks (PLMNs). The contracted RH can act as a proxy for SEPP communications between these PLMNs and other PLMNs, thus avoiding the need for multiple PLMNs to sign up for services and reducing contract costs.

[0004] In this case, how to ensure communication security is a hot topic of current research.

[0005] Summary of the Invention

[0006] The embodiments of the present application provide a communication method, device, and system for ensuring communication security in the case of RH contract.

[0007] To achieve the above objectives, this application adopts the following technical solutions:

[0008] In a first aspect, a communication method is provided. One of a first security proxy entity and a second security proxy entity has a contract with a first relay entity, and the first relay entity serves as a relay for communication between the first and second security proxy entities. The method includes: the first security proxy entity determines a target communication protection mechanism based on communication protection mechanisms supported by the first relay entity and communication protection mechanisms supported by a third security proxy entity, and establishes a secure connection between the third security proxy entity and the first relay entity based on the target communication protection mechanism. The third security proxy entity is the security proxy entity of the first and second security proxy entities that has not signed a contract with the first relay entity.

[0009] Based on the method described in the first aspect, it can be seen that when the first security proxy entity or the second security proxy entity contracts with the first relay entity, the first security proxy entity not only considers the communication protection mechanisms supported by the security proxy entity that has not signed a contract with the first relay entity, that is, the third security proxy entity, but also considers the communication protection mechanisms supported by the first relay entity to determine the target communication protection mechanism supported by both the first relay entity and the third security proxy entity. In this way, a secure connection between the first relay entity and the third security proxy entity can be established using the target communication protection mechanism to ensure communication security.

[0010] In one possible design, the third security proxy entity is the first security proxy entity, and the first security proxy entity establishes a secure connection between the third security proxy entity and the first relay entity based on a target communication protection mechanism, including: the first security proxy entity obtains a first communication protection policy required for the first security proxy entity to execute the target communication protection mechanism based on the target communication protection mechanism, and determines a target communication protection policy based on the first communication protection policy and a second communication protection policy required for the first relay entity to execute the target communication protection mechanism, thereby establishing a secure connection with the first relay entity by sending the target communication protection policy to the second security proxy entity. That is, when the third security proxy entity is the first security proxy entity, the first security proxy entity can determine a target communication protection policy supported by both the first relay entity and the first security proxy entity based on the target communication protection mechanism, to ensure that the target communication protection mechanism can be correctly executed by both parties and guarantee communication security.

[0011] Optionally, the method of the first aspect may further include: the first security proxy entity receiving a service request message from the first relay entity, the service request message being a message protected by a target communication protection policy; and the first security proxy entity verifying the service request message using the target communication protection policy to ensure communication security.

[0012] Optionally, the method described in the first aspect may further include: the first security proxy entity sending a target communication protection mechanism to the second security proxy entity, and receiving a second communication protection policy from the second security proxy entity. Specifically, the first security proxy entity may obtain the second communication protection policy from the second security proxy entity in advance; alternatively, the second communication protection policy may be pre-configured locally at the first security proxy entity. This is not specifically limited and can be flexibly selected based on actual circumstances.

[0013] In one possible design, the method described in the first aspect may further include: the first security proxy entity receiving, from the second security proxy entity, a communication protection mechanism supported by the first relay entity. Specifically, the first security proxy entity may obtain the communication protection mechanism supported by the first relay entity from the second security proxy entity in advance; alternatively, the communication protection mechanism supported by the first relay entity may be pre-configured locally in the first security proxy entity. This is not specifically limited and may be flexibly selected based on actual circumstances.

[0014] In one possible design, the third security proxy entity is the second security proxy entity, and the first security proxy entity establishes a secure connection between the third security proxy entity and the first relay entity based on a target communication protection mechanism, including: the first security proxy entity obtains a third communication protection policy required for the first relay entity to execute the target communication protection mechanism based on the target communication protection mechanism, and determines a target communication protection policy based on the third communication protection policy and a fourth communication protection policy required for the second security proxy entity to execute the target communication protection mechanism, thereby establishing a secure connection between the first relay entity and the second security proxy entity by sending the target communication protection policy to the first relay entity and the second security proxy entity. That is, in the case where the third security proxy entity is the second security proxy entity, the first security proxy entity can determine a target communication protection policy supported by both the first relay entity and the second security proxy entity based on the target communication protection mechanism, thereby ensuring that the target communication protection mechanism can be correctly executed by both parties and ensuring communication security.

[0015] Optionally, the first security proxy entity obtains, based on the target communication protection mechanism, a third communication protection policy required for the first relay entity to execute the target communication protection mechanism, including: the first security proxy entity sends the target communication protection mechanism to the first relay entity, and receives the third communication protection policy from the first relay entity. Specifically, the first security proxy entity may obtain the third communication protection policy from the first relay entity in advance; alternatively, the third communication protection policy may be determined independently by the first security proxy entity. This is not specifically limited and may be flexibly selected based on actual circumstances.

[0016] Optionally, the method described in the first aspect may further include: the first security proxy entity sending the target communication protection mechanism to the second security proxy entity, and receiving a fourth communication protection policy from the second security proxy entity. Specifically, the first security proxy entity may obtain the fourth communication protection policy from the second security proxy entity in advance; alternatively, the fourth communication protection policy may be pre-configured locally at the first security proxy entity. This is not specifically limited and may be flexibly selected based on actual circumstances.

[0017] In one possible design scheme, the target communication protection mechanism is any one of the following: a secure transport layer protocol TLS mechanism or an N32 interconnection security protocol PRINS mechanism, or any other possible protocol, which is not specifically limited.

[0018] According to a second aspect, a communication method is provided, comprising: a second security proxy entity sending a communication protection mechanism supported by a first relay entity to a first security proxy entity, and receiving a target communication protection mechanism from the first security proxy entity, thereby establishing a secure connection between the first relay entity and the first security proxy entity based on the target communication protection mechanism. The first relay entity and the second security proxy entity have signed a contract, and the first relay entity serves as a relay for communication between the first and second security proxy entities. The target communication protection mechanism is a communication protection mechanism determined based on the communication protection mechanisms supported by the first relay entity and the communication protection mechanisms supported by the first security proxy entity.

[0019] In one possible design, the second security proxy entity establishes a secure connection between the first relay entity and the first security proxy entity based on a target communication protection mechanism, including: the second security proxy entity obtains a second communication protection policy required by the first relay entity to execute the target communication protection mechanism based on the target communication protection mechanism, and sends the second communication protection policy to the first security proxy entity, thereby receiving the target communication protection policy from the first security proxy entity, and establishing a secure connection between the first relay entity and the first security proxy entity by sending the target communication protection policy to the first relay entity. The target communication protection policy is a communication protection policy determined based on the second communication protection policy and the first communication protection policy required by the first security proxy entity to execute the target communication protection mechanism.

[0020] Optionally, the second security proxy entity obtains the second communication protection policy required for the first relay entity to execute the target communication protection mechanism based on the target communication protection mechanism, including: the second security proxy entity sends the target communication protection mechanism to the first relay entity, and receives the second communication protection policy from the first relay entity.

[0021] In one possible design, the target communication protection mechanism is any one of the following: a Transport Security Layer (TLS) mechanism or an N32 Interconnection Security Protocol (PRINS) mechanism.

[0022] In addition, the technical effects of the communication method described in the second aspect can refer to the technical effects of the communication method described in the first aspect, and will not be repeated here.

[0023] According to a third aspect, a communication method is provided, comprising: a second security proxy entity sending a communication protection mechanism supported by the second security proxy entity to a first security proxy entity, and receiving a target communication protection mechanism from the first security proxy entity, thereby establishing a secure connection with a first relay entity based on the target communication protection mechanism. The target communication protection mechanism is a communication protection mechanism determined based on the communication protection mechanisms supported by the first relay entity and the communication protection mechanisms supported by the second security proxy entity. The first relay entity is contracted with the first security proxy entity, and the first relay entity serves as a relay for communication between the first security proxy entity and the second security proxy entity.

[0024] In one possible design, the second security proxy entity establishes a secure connection with the first relay entity based on a target communication protection mechanism, including: the second security proxy entity determines, based on the target communication protection mechanism, a fourth communication protection policy required for the second security proxy entity to execute the target communication protection mechanism, sends the fourth communication protection policy to the first security proxy entity, and receives the target communication protection policy from the first security proxy entity, thereby establishing a secure connection with the first relay entity based on the target communication protection policy. The target communication protection policy is a communication protection policy determined based on the third communication protection policy required for the first relay entity to execute the target communication protection mechanism and the fourth communication protection policy.

[0025] Optionally, the method described in the third aspect may further include: the second security proxy entity receiving a service request message from the first relay entity, the service request message being a message protected by the first relay entity using a target communication protection policy; and the second security proxy entity verifying the service request message using the target communication protection policy.

[0026] In one possible design, the target communication protection mechanism is any one of the following: a Transport Security Layer (TLS) mechanism or an N32 Interconnection Security Protocol (PRINS) mechanism.

[0027] In addition, the technical effects of the communication method described in the third aspect can refer to the technical effects of the communication method described in the first aspect, and will not be repeated here.

[0028] In a fourth aspect, a communication method is provided. A first security proxy entity contracts with a first relay entity, the method comprising: the first security proxy entity receiving a communication protection mechanism supported by the second relay entity from a second security proxy entity, and determining a target communication protection mechanism based on the communication protection mechanisms supported by the first relay entity and the communication protection mechanisms supported by the second relay entity, thereby establishing a secure connection between the first relay entity and the second relay entity based on the target communication protection mechanism. The second relay entity contracts with the second security proxy entity, and both the second relay entity and the second relay entity serve as relays for communication between the first security proxy entity and the second security proxy entity.

[0029] Based on the method described in the fourth aspect, it can be seen that when a first security proxy entity contracts with a first relay entity, and a second security proxy entity contracts with a second relay entity, the first security proxy entity can determine a target communication protection mechanism supported by both the first relay entity and the second relay entity. In this way, a secure connection between the first relay entity and the second relay entity can be established using the target communication protection mechanism to ensure communication security.

[0030] In one possible design scheme, the first security proxy entity establishes a secure connection between the first relay entity and the second relay entity based on the target communication protection mechanism, including: the first security proxy entity obtains the fifth communication protection strategy required for the first relay entity to execute the target communication protection mechanism based on the target communication protection mechanism, and determines the target communication protection strategy based on the fifth communication protection strategy and the sixth communication protection strategy required for the second relay entity to execute the target communication protection mechanism, thereby establishing a secure connection between the first relay entity and the second relay entity by sending the target communication protection strategy to the first relay entity and the second security proxy entity.

[0031] Optionally, the first security agent entity obtains the first communication protection strategy required for the first relay entity to execute the target communication protection mechanism based on the target communication protection mechanism, including: the first security agent entity sends the target communication protection mechanism to the first relay entity, and receives a fifth communication protection strategy from the first relay entity.

[0032] Optionally, the method described in the fourth aspect may further include: the first security proxy entity sends a target communication protection mechanism to the second security proxy entity, and receives a sixth communication protection policy from the second security proxy entity.

[0033] In one possible design, the target communication protection mechanism is any one of the following: a Transport Security Layer (TLS) mechanism or an N32 Interconnection Security Protocol (PRINS) mechanism.

[0034] In addition, other technical effects of the communication method described in the fourth aspect can refer to the technical effects of the communication method described in the first aspect, and will not be repeated here.

[0035] In a fifth aspect, a communication method is provided. A second security proxy entity signs a contract with a second relay entity. The method includes: the second security proxy entity sends a communication protection mechanism supported by the second relay entity to the first security proxy entity, and receives a target communication protection mechanism from the first security proxy entity, thereby establishing a secure connection between the first relay entity and the second relay entity based on the target communication protection mechanism. The target communication protection mechanism is a communication protection mechanism determined based on the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by the second relay entity. The first relay entity signs a contract with the first security proxy entity, and the first relay entity and the second relay entity are both relays for communication between the first security proxy entity and the second security proxy entity.

[0036] In one possible design, the second security proxy entity establishes a secure connection between the first relay entity and the second relay entity based on a target communication protection mechanism, including: the second security proxy entity obtains a sixth communication protection policy required for the second relay entity to execute the target communication protection mechanism based on the target communication protection mechanism, and sends the sixth communication protection policy to the first security proxy entity, thereby receiving the target communication protection policy from the first security proxy entity, and establishing a secure connection between the first relay entity and the second relay entity by sending the target communication protection policy to the first relay entity. The target communication protection policy is based on the sixth communication protection policy and the fifth communication protection policy required for the first relay entity to execute the target communication protection mechanism.

[0037] Optionally, the second security proxy entity obtains the sixth communication protection policy required for the second relay entity to execute the target communication protection mechanism based on the target communication protection mechanism, including: the second security proxy entity sends the target communication protection mechanism to the second relay entity, and receives the sixth communication protection policy from the second relay entity.

[0038] In one possible design, the target communication protection mechanism is any one of the following: a Transport Security Layer (TLS) mechanism or an N32 Interconnection Security Protocol (PRINS) mechanism.

[0039] In addition, the technical effects of the communication method described in the fifth aspect can refer to the technical effects of the communication methods described in the first and fourth aspects, and will not be repeated here.

[0040] In a sixth aspect, a communication device is provided. The communication device includes: a module for executing the method described in the first aspect, such as a transceiver module and a processing module. For example, the transceiver module is configured to perform the transceiver function of the communication device, and the processing module is configured to perform functions of the communication device other than the transceiver function.

[0041] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the sixth aspect, and the receiving module is used to implement the receiving function of the communication device described in the sixth aspect.

[0042] Optionally, the communication device described in the sixth aspect may further include a storage module, wherein the storage module stores a program or instruction. When the processing module executes the program or instruction, the communication device may execute the method described in the first aspect.

[0043] It can be understood that the communication device described in the sixth aspect can be a network device, such as a first security agent entity, or a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0044] In addition, the technical effects of the communication device described in the sixth aspect can refer to the technical effects of the method described in the first aspect, and will not be repeated here.

[0045] In a seventh aspect, a communication device is provided. The communication device includes: a module for executing the method described in the second aspect, such as a transceiver module and a processing module. For example, the transceiver module is configured to perform the transceiver function of the communication device, and the processing module is configured to perform functions of the communication device other than the transceiver function.

[0046] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the seventh aspect, and the receiving module is used to implement the receiving function of the communication device described in the seventh aspect.

[0047] Optionally, the communication device described in the seventh aspect may further include a storage module, wherein the storage module stores a program or instruction. When the processing module executes the program or instruction, the communication device may execute the method described in the second aspect.

[0048] It can be understood that the communication device described in the seventh aspect can be a network device, such as a second security agent entity, or a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0049] In addition, the technical effects of the communication device described in the seventh aspect can refer to the technical effects of the method described in the second aspect, and will not be repeated here.

[0050] In an eighth aspect, a communication device is provided. The communication device includes: a module for executing the method described in the third aspect, such as a transceiver module and a processing module. For example, the transceiver module is configured to perform the transceiver function of the communication device, and the processing module is configured to perform functions of the communication device other than the transceiver function.

[0051] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the eighth aspect, and the receiving module is used to implement the receiving function of the communication device described in the eighth aspect.

[0052] Optionally, the communication device described in the eighth aspect may further include a storage module, wherein the storage module stores a program or instruction. When the processing module executes the program or instruction, the communication device may execute the method described in the third aspect.

[0053] It can be understood that the communication device described in the eighth aspect can be a network device, such as a second security agent entity, or a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0054] In addition, the technical effects of the communication device described in the eighth aspect can refer to the technical effects of the method described in the third aspect, and will not be repeated here.

[0055] In a ninth aspect, a communication device is provided. The communication device includes: a module for executing the method described in the fourth aspect, such as a transceiver module and a processing module. For example, the transceiver module is configured to execute the transceiver function of the communication device, and the processing module is configured to execute functions of the communication device other than the transceiver function.

[0056] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the ninth aspect, and the receiving module is used to implement the receiving function of the communication device described in the ninth aspect.

[0057] Optionally, the communication device described in the ninth aspect may further include a storage module, wherein the storage module stores a program or instruction. When the processing module executes the program or instruction, the communication device may execute the method described in the fourth aspect.

[0058] It can be understood that the communication device described in the ninth aspect can be a network device, such as a first security agent entity, or a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0059] In addition, the technical effects of the communication device described in the ninth aspect can refer to the technical effects of the method described in the fourth aspect, and will not be repeated here.

[0060] In a tenth aspect, a communication device is provided. The communication device includes: a module for executing the method described in the fifth aspect, such as a transceiver module and a processing module. For example, the transceiver module is used to perform the transceiver function of the communication device, and the processing module is used to perform functions of the communication device other than the transceiver function.

[0061] Optionally, the transceiver module may include a sending module and a receiving module, wherein the sending module is used to implement the sending function of the communication device described in the tenth aspect, and the receiving module is used to implement the receiving function of the communication device described in the tenth aspect.

[0062] Optionally, the communication device described in the tenth aspect may further include a storage module, wherein the storage module stores a program or instruction. When the processing module executes the program or instruction, the communication device may execute the method described in the fifth aspect.

[0063] It can be understood that the communication device described in the tenth aspect can be a network device, such as a second security agent entity, or a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0064] In addition, the technical effects of the communication device described in the tenth aspect can refer to the technical effects of the method described in the fifth aspect, and will not be repeated here.

[0065] In an eleventh aspect, a communication device is provided, comprising: a processor configured to execute the method described in any possible implementation of the first to fifth aspects.

[0066] In one possible design solution, the communication device described in the eleventh aspect may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in the eleventh aspect to communicate with other communication devices.

[0067] In one possible design, the communication device described in aspect 11 may further include a memory. The memory may be integrated with the processor or provided separately. The memory may be used to store the computer program and / or data involved in the method described in any possible implementation of aspects 1 to 5.

[0068] In an embodiment of the present application, the communication device described in the eleventh aspect may be a network device, or a chip (system) or other parts or components that can be set in the network device, or a device that includes the network device.

[0069] In addition, the technical effects of the communication device described in the eleventh aspect can refer to the technical effects of the method described in any possible implementation method of the first aspect to the fifth aspect, and will not be repeated here.

[0070] In a twelfth aspect, a communication device is provided, comprising: a processor coupled to a memory, the processor configured to execute a computer program stored in the memory, so that the communication device performs the method described in any possible implementation of the first to fifth aspects.

[0071] In one possible design solution, the communication device described in aspect 12 may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in aspect 12 to communicate with other communication devices.

[0072] In an embodiment of the present application, the communication device described in the twelfth aspect may be a network device, or a chip (system) or other parts or components that can be set in the network device, or a device that includes the network device.

[0073] In addition, the technical effects of the communication device described in the twelfth aspect can refer to the technical effects of the method described in any possible implementation method of the first to fifth aspects, and will not be repeated here.

[0074] In the thirteenth aspect, a communication device is provided, comprising: a processor and a memory; the memory is used to store a computer program, and when the processor executes the computer program, the communication device executes the method described in any possible implementation method of the first to fifth aspects.

[0075] In one possible design solution, the communication device described in aspect 13 may further include a transceiver. The transceiver may be a transceiver circuit or an interface circuit. The transceiver may be used for the communication device described in aspect 13 to communicate with other communication devices.

[0076] In an embodiment of the present application, the communication device described in the thirteenth aspect may be a network device, or a chip (system) or other parts or components that can be set in the network device, or a device that includes the network device.

[0077] In addition, the technical effects of the communication device described in the thirteenth aspect can refer to the technical effects of the method described in any one of the implementation methods of the first aspect or the second aspect, and will not be repeated here.

[0078] In a fourteenth aspect, a communication system is provided. The communication system includes: a first security proxy entity for executing the method described in the first aspect, and a second security proxy entity for executing the method described in the second or third aspect. Alternatively, the communication system includes: a first security proxy entity for executing the method described in the fourth aspect, and a second security proxy entity for executing the method described in the fifth aspect.

[0079] In the fifteenth aspect, a computer-readable storage medium is provided, comprising: a computer program or instructions; when the computer program or instructions are run on a computer, the computer executes the method described in any possible implementation method of the first to fifth aspects.

[0080] In the sixteenth aspect, a computer program product is provided, comprising a computer program or instructions, which, when executed on a computer, enables the computer to execute the method described in any one of the possible implementations of the first to fifth aspects. BRIEF DESCRIPTION OF THE DRAWINGS

[0081] Figure 1 is a schematic diagram of the non-roaming architecture of 5GS;

[0082] Figure 2 is a schematic diagram of the roaming architecture of 5GS;

[0083] Figure 3 is a schematic diagram of the N32-c link architecture;

[0084] Figure 4 is a schematic diagram of the process of interaction between cSEPP and pSEPP;

[0085] Figure 5 is a schematic diagram of a roaming architecture supporting RH;

[0086] FIG6 is a schematic diagram of the architecture of a communication system provided in an embodiment of the present application;

[0087] FIG7 is a flow chart of a communication method according to an embodiment of the present application;

[0088] FIG8 is a second flow chart of a communication method according to an embodiment of the present application;

[0089] FIG9 is a third flow chart of the communication method provided in an embodiment of the present application;

[0090] FIG10 is a fourth flow chart of a communication method according to an embodiment of the present application;

[0091] FIG11 is a fifth flow chart of a communication method according to an embodiment of the present application;

[0092] FIG12 is a first structural diagram of a communication device provided in an embodiment of the present application;

[0093] FIG13 is a second structural diagram of the communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0094] For ease of understanding, the technical terms involved in the embodiments of this application are first introduced below.

[0095] First, let's briefly introduce the fifth generation (5G) mobile communication system (abbreviated as 5G system (5G system, 5GS)):

[0096] Figure 1 is a schematic diagram of the non-roaming architecture of 5GS. As shown in Figure 1, 5GS includes an access network (AN) and a core network (CN), and may also include terminals.

[0097] The terminal may be a terminal with a transceiver function, or a chip or chip system that can be provided in the terminal.

[0098] The AN is used to implement access-related functions, can provide network access functions for authorized users in a specific area, and can determine transmission links of different qualities to transmit user data based on user levels, business requirements, etc.

[0099] Radio access network (RAN) equipment may be equipment that provides access for terminals.

[0100] The user plane function (UPF) network element is mainly responsible for user data processing (forwarding, receiving, billing, etc.).

[0101] The authentication server function (AUSF) network element is mainly used to perform terminal security authentication.

[0102] The access and mobility management function (AMF) network element is mainly used for mobility management in mobile networks, such as user location update, user network registration, and user handover.

[0103] The session management function (SMF) network element is mainly used for session management in mobile networks.

[0104] The policy control function (PCF) network element mainly supports providing a unified policy framework to control network behavior, provides policy rules to the control layer network function, and is responsible for obtaining user subscription information related to policy decisions.

[0105] The network slice selection function (NSSF) is mainly used to select network slices for terminals.

[0106] The network exposure function (NEF) network element is mainly used to support the exposure of capabilities and events.

[0107] The unified data management (UDM) network element is mainly used to store user data, such as subscription data, authentication / authorization data, etc.

[0108] The unified data repository (UDR) is mainly used to store structured data, including contract data and policy data, externally exposed structured data, and application-related data.

[0109] The application function (AF) supports interaction with the CN to provide services, such as influencing data routing decisions, policy control functions, or providing some third-party services to the network side.

[0110] Figure 2 is a schematic diagram of the roaming architecture of 5GS. As shown in Figure 2, the 5G network includes a home public land mobile network (HPLMN) and a visited public land mobile network (VPLMN). HPLMN is the home network of the UE, and VPLMN is the roaming network of the UE. In this scenario, the service needs to be unloaded in the VPLMN, that is, the DN is in the VPLMN. Among them, the VPLMN and the HPLMN communicate through SEPP, such as the visited security edge protection proxy (vSEPP) and the home security edge protection proxy (hSEPP), or referred to as cSEPP and pSEPP. In addition, the "Nxx" between the two network elements shown in Figure 2 represents the interface between the two network elements, which will not be listed one by one.

[0111] N32-c link and N32-f link:

[0112] The 3rd Generation Partnership Project (3GPP) defines that under the 5GS roaming architecture, communication between SEPPs can be achieved through two links, namely the N32-c link and the N32-f link.

[0113] As shown in Figure 3, the N32-c link is a Transport Layer Security (TLS) link, primarily used by SEPPs to negotiate the protection mechanism for the N32-f link between SEPPs. Optionally, it can also negotiate the protection parameters and policies corresponding to the protection mechanism and generate the corresponding N32-f context. The N32-f link is the link used for data transmission between SEPPs. While the N32-f link is logically end-to-end, from cSEPP to pSEPP, in practice, data transmission is hop-by-hop. For example, data sent from a cSEPP to a pSEPP is first sent to an Internet Packet Exchange (IPX) entity on the cSEPP side, such as cIPX. cIPX then forwards it to an Internet Packet Exchange entity on the pSEPP side, such as pIPX. pIPX then forwards it to the pSEPP.

[0114] Specifically, as shown in Figure 4, the process of interaction between SEPPs through the N32-c link and the N32-f link is as follows:

[0115] S401: cSEPP sends a capability negotiation request to pSEPP, and pSEPP receives the capability negotiation request from cSEPP.

[0116] The capability negotiation request may be used to request negotiation of a protection mechanism, including a communication protection mechanism supported by cSEPP, such as a PRINS mechanism and / or a TLS mechanism.

[0117] S402: The pSEPP determines a communication protection mechanism supported by both the pSEPP and the cSEPP.

[0118] The pSEPP may determine the communication protection mechanism supported by both the pSEPP and the cSEPP according to the communication protection mechanism supported by the pSEPP and the communication protection mechanism supported by the cSEPP in the capability negotiation request.

[0119] S403: The pSEPP sends a capability negotiation response to the cSEPP, and the cSEPP receives the capability negotiation response from the pSEPP.

[0120] The capability negotiation request response is used to indicate the negotiated protection mechanism, such as the PRINS mechanism or the TLS mechanism.

[0121] It will be appreciated that if the communication protection mechanism supported by both the pSEPP and the cSEPP is the TLS mechanism, then since the context of the TLS mechanism needs to be negotiated in accordance with the protocol rules, the pSEPP and the cSEPP can independently negotiate the protection parameters and policies in accordance with the protocol rules, and this is not limited in the present embodiment. If the communication protection mechanism supported by both the pSEPP and the cSEPP is the PRINS mechanism, the pSEPP and the cSEPP execute S404-S409 to negotiate the protection parameters and policies and generate an N32-f context.

[0122] S404: cSEPP generates and saves the identifier of the N32-f context.

[0123] S405: pSEPP generates and saves the identifier of the N32-f context.

[0124] In addition, the execution order between S404 and S405 is not limited.

[0125] S406: cSEPP sends a security parameter negotiation request to pSEPP, and pSEPP receives the security parameter negotiation request from cSEPP.

[0126] The security parameter negotiation request is used to request negotiation of security parameters for the PRINS mechanism.

[0127] S407 , the pSEPP determines a protection strategy supported by both the pSEPP and the cSEPP.

[0128] Based on the protection policies supported by pSEPP and cSEPP, pSEPP can determine the protection policies supported by both pSEPP and cSEPP. For example, the protection policies supported by both pSEPP and cSEPP may include: cIPX modification policy + pIPX modification policy, encryption policies supported by both cSEPP and pSEPP, and communication policies that allow relay entities to send messages. pSEPP can also generate an N32-f context based on the protection policies supported by both pSEPP and cSEPP.

[0129] S408: The pSEPP sends a security parameter negotiation response to the cSEPP, and the cSEPP receives the security parameter negotiation response from the pSEPP.

[0130] The capability negotiation request response is used to indicate the negotiated protection policy.

[0131] S409, cSEPP generates and saves N32-f context.

[0132] Similar to pSEPP, cSEPP can also generate the same N32-f context as pSEPP based on the protection policy supported by both pSEPP and cSEPP.

[0133] S410, cSEPP receives a service request from the CNF.

[0134] The cNF is an NF in PLMN1, and the service request is used to request the pNF to provide the corresponding service. The pNF is an NF in PLMN2.

[0135] S411, cSEPP uses the N32-f context to protect the service request.

[0136] cSEPP can use the pre-saved N32-f context to protect the service request, such as encrypting it, and obtain the protected service request, which is recorded as the N32-f service request.

[0137] S412: cSEPP sends an N32-f service request to pSEPP. pSEPP receives the N32-f service request from cSEPP.

[0138] cSEPP sends an N32-f service request to pSEPP via the N32-f link.

[0139] S413, pSEPP uses the N32-f context to verify the N32-f service request.

[0140] The pSEPP can use the N32-f context to decrypt the N32-f service request to obtain the service request. The pSEPP can also use the N32-f context to verify the service request. If the verification fails, the service request is discarded. If the verification passes, the process proceeds to S414.

[0141] S414, pSEPP sends a service request to pNF.

[0142] RH:

[0143] RHs are used to provide roaming proxy services to operators in roaming scenarios. Specifically, when an RH contracts with the NFs of certain PLMNs, such as PLMN1's cSEPP (denoted as cRH) or PLMN2's pSEPP (denoted as pRH), the RH can act as a proxy for these PLMNs to communicate with other PLMNs, such as PLMN1...N communicating with PLMNM. This allows communication between multiple PLMNs through a single RH contract, eliminating the need for multiple PLMNs to sign contracts, thus reducing contract costs.

[0144] As shown in Figure 5, the GSMA is currently discussing a solution to enhance support for RH within the existing roaming architecture. Specifically, this involves establishing an end-to-end (E2E) TLS mechanism link, or N32-c link, between different PLMNs, such as PLMN1 and PLMN2. This enables E2E protection of signaling in roaming scenarios. Using E2E signaling, N32-f links are established hop-by-hop between PLMN 1 and RH, and between RH and PLMN2, allowing the RH to modify or view signaling. In other words, the N32-f links in this scenario are not E2E (PLMN1 to PLMN2) links. In other words, the N32-f links no longer exist between PLMNs, but rather between PLMNs and RHs, such as the N32-f link between PLMN 1 and RH, and the N32-f link between RH and PLMN 2. Obviously, the current standard only supports the negotiation of N32-f contexts between PLMNs and is not compatible with scenarios involving RHs.

[0145] In response to the above technical problems, the embodiments of the present application propose the following technical solutions, which will be described below in conjunction with the accompanying drawings.

[0146] The technical solutions of the embodiments of the present application can be applied to various communication systems, such as wireless network (Wi-Fi) systems, vehicle to everything (V2X) communication systems, device-to-device (D2D) communication systems, Internet of Vehicles communication systems, fourth-generation (4G) mobile communication systems, such as long-term evolution (LTE) systems, world-wide interoperability for microwave access (WiMAX) communication systems, fifth-generation (5G) systems, such as new radio (NR) systems, and future communication systems.

[0147] This application will present various aspects, embodiments, or features in the context of systems that may include multiple devices, components, modules, etc. It should be understood and appreciated that each system may include additional devices, components, modules, etc., and / or may not include all of the devices, components, modules, etc. discussed in conjunction with the figures. Furthermore, combinations of these aspects may also be used.

[0148] In the embodiments of the present application, "indication" can include direct and indirect indications, as well as explicit and implicit indications. The "protocol" referred to in the embodiments of the present application can refer to a protocol family in the communications field, a standard protocol with a similar protocol family frame structure, or a related protocol used in future communications systems, and the embodiments of the present application do not specifically limit this. In the embodiments of the present application, expressions such as "when...", "under...", "if...", and "if" all indicate that the device will perform corresponding processing under certain objective circumstances. They do not limit the time, do not require the device to perform a judgment action during implementation, and do not imply any other limitations. In the embodiments of the present application, unless otherwise specified, " / " indicates that the objects associated with each other are in an "or" relationship. For example, A / B can mean A or B. "And / or" in the embodiments of the present application simply describes the association relationship between the associated objects, indicating that three relationships can exist. For example, "A and / or B" can mean: A exists alone, A and B exists simultaneously, or B exists alone. A and B can be singular or plural. Furthermore, in the description of the embodiments of the present application, unless otherwise specified, "multiple" means two or more. "At least one of the following" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b or c can represent: a, b, c, ab, ac, bc, or abc, where a, b, c can be single or multiple. In addition, in order to facilitate the clear description of the technical solutions of the embodiments of the present application, in the embodiments of the present application, words such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. Those skilled in the art will understand that words such as "first" and "second" do not limit the quantity and execution order, and words such as "first" and "second" do not necessarily limit them to be different. In the embodiments of the present application, words such as "exemplary" or "for example" are used to indicate examples, illustrations or descriptions. Any embodiment or design described as "exemplary" or "for example" in the embodiments of the present application should not be interpreted as being more preferred or more advantageous than other embodiments or design.

[0149] The network architecture and business scenarios described in the embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided in the embodiments of the present application. Ordinary technicians in this field will know that with the evolution of network architecture and the emergence of new business scenarios, the technical solutions provided in the embodiments of the present application are also applicable to similar technical problems.

[0150] To facilitate understanding of the embodiments of the present application, a communication system applicable to the embodiments of the present application is first described in detail using the communication system shown in Figure 6 as an example. For example, Figure 6 is a schematic diagram of the architecture of a communication system applicable to the communication method provided in the embodiments of the present application.

[0151] As shown in Figure 6, the communication system, applicable to the aforementioned 5GS, includes security proxy entities belonging to different networks, such as a first security proxy entity and a second security proxy entity. The first security proxy entity belongs to the first network, such as PLMN#1, and the second security proxy entity belongs to the second network, such as PLMN#2. The security proxy entities may specifically be SEPPs, such as the first security proxy entity may be a pSEPP and the second security proxy entity may be a cSEPP. Alternatively, the security proxy entities may specifically be any other network element or entity with a similar name or function, without limitation.

[0152] At least one of the first secure proxy entity and the second secure proxy entity may be contracted with a relay entity, such as RH.

[0153] For example, if one of the first and second security proxy entities has signed a contract with the first relay entity, the first security proxy entity will not only consider the communication protection mechanisms supported by the third security proxy entity, which is not a security proxy entity of the first and second security proxy entities but also the communication protection mechanisms supported by the first relay entity to determine a target communication protection mechanism supported by both the first and third security proxy entities. In this way, the first security proxy entity can use the target communication protection mechanism to establish a secure connection between the first relay entity and the third security proxy entity, thereby ensuring communication security.

[0154] For another example, if a first security proxy entity signs a contract with a first relay entity (e.g., pRH), and a second security proxy entity signs a contract with a second relay entity (e.g., cRH), the first security proxy entity can determine a target communication protection mechanism supported by both the first relay entity and the second relay entity. In this way, the first security proxy entity can use the target communication protection mechanism to establish a secure connection between the first relay entity and the second relay entity, ensuring communication security.

[0155] It can be understood that the contract between the security proxy entity and the relay entity mentioned in the embodiments of the present application refers to the contract between the operator to which the security proxy entity belongs and the operator of the relay entity. For example, the contract between the first security proxy entity or the second security proxy entity and the first relay entity can be understood as the contract between the operator to which the first security proxy entity or the second security proxy entity belongs and the operator to which the first relay entity belongs. For another example, the contract between the first security proxy entity and the first relay entity and the contract between the second security proxy entity and the second relay entity can be understood as the contract between the operator to which the first security proxy entity belongs and the operator to which the first relay entity belongs, and the contract between the operator to which the second security proxy entity belongs and the operator to which the second relay entity belongs.

[0156] The following will describe the interaction process between the network elements / devices in the above communication system in detail through a method embodiment in conjunction with Figures 7 to 11. The communication method provided in the embodiment of the present application can be applied to the above communication system and will be described in detail below.

[0157] Figure 7 is a flow chart of a communication method according to an embodiment of the present application. The communication method is applicable to the above-mentioned communication system, involving interaction between a first secure proxy entity and a second secure proxy entity, wherein one of the first secure proxy entity and the second secure proxy entity signs a contract with a first relay entity.

[0158] Specifically, as shown in FIG7 , the process of the communication method is as follows:

[0159] S701: The first security proxy entity determines a target communication protection mechanism according to the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by the third security proxy entity.

[0160] The communication protection mechanism supported by the first relay entity may be a TLS mechanism and / or a PRINS mechanism. The embodiments of the present application do not limit which mechanisms the first relay entity specifically supports. For example, if the first relay entity is an upgraded relay entity, the first relay entity may support the TLS mechanism and the PRINS mechanism. Conversely, if the first relay entity is a non-upgraded relay entity, the first relay entity may only support the TLS mechanism or the PRINS mechanism. Alternatively, other implementation methods may be used, such as pre-configuration of which mechanisms the first relay entity specifically supports.

[0161] The first relay entity may sign a contract with the first security proxy entity, or with the second security proxy entity. Different contracts result in different ways for the first security proxy entity to determine the target communication protection mechanism, which are introduced below.

[0162] Case 1:

[0163] The first relay entity signs a contract with the second security proxy entity, or in other words, signs a contract with the network to which the second security proxy entity belongs (e.g., the second network). In this case, a third security proxy entity, which is not signed with the first relay entity, is the first security proxy entity. The communication protection mechanism supported by the third security proxy entity is the communication protection mechanism supported by the first security proxy entity, which may specifically be the TLS mechanism and / or the PRINS mechanism. The specific mechanisms supported are similar to the principles of the first relay entity described above, which can be understood by reference and will not be repeated here.

[0164] The first security proxy entity can pre-configure the communication protection mechanism supported by the first relay entity locally by means of protocol pre-definition or network pre-configuration. Alternatively, the first security proxy entity can also obtain the communication protection mechanism supported by the first relay entity from other network elements or entities. For example, since the first relay entity and the second security proxy entity have signed a contract, the second security proxy entity usually knows which communication protection mechanisms the first relay entity specifically supports. For example, the second security proxy entity can obtain which communication protection mechanisms the first relay entity specifically supports through the N32-c link between the first relay entity and the second security proxy entity, or the communication protection mechanisms specifically supported by the first relay entity can also be pre-configured locally in the second security proxy entity when signing the contract. Therefore, the first security proxy entity can also obtain the communication protection mechanism supported by the first relay entity from the second security proxy entity to achieve on-demand acquisition. For example, the second security proxy entity can send the communication protection mechanism supported by the first relay entity to the first security proxy entity, and the first security proxy entity can receive the communication protection mechanism supported by the first relay entity from the second security proxy entity. The communication protection mechanisms supported by the first relay entity may be carried in the capability negotiation request. For example, the capability negotiation request may include: an identifier of the second security proxy entity, an identifier of the second network, and identifiers of the communication protection mechanisms supported by the first relay entity, to indicate which communication protection mechanisms the first relay entity supports. Alternatively, the communication protection mechanisms supported by the first relay entity may be carried in any possible message or signaling, without specific limitation.

[0165] The target communication protection mechanism may be a communication protection mechanism supported by both the first security proxy entity and the first relay entity, such as a TLS mechanism or a PRINS mechanism. That is, the first security proxy entity may determine the target communication protection mechanism based on the intersection of the communication protection mechanisms supported by the first relay entity and the communication protection mechanisms supported by the first security proxy entity. For example, the first security proxy entity supports the TLS mechanism and the PRINS mechanism, the first relay entity supports the TLS mechanism, and the target communication protection mechanism is the TLS mechanism. For another example, the first security proxy entity supports the PRINS mechanism, the first relay entity supports the TLS mechanism and the PRINS mechanism, and the target communication protection mechanism is the PRINS mechanism. For another example, the first security proxy entity supports the TLS mechanism and the PRINS mechanism, the first relay entity supports the TLS mechanism and the PRINS mechanism, and the target communication protection mechanism is to select one of the PRINS mechanism and the PRINS mechanism. The specific selection method is not limited in the embodiments of the present application. For example, if the protocol predefines or the first security proxy entity preconfigures the priority of the TLS mechanism and the PRINS mechanism, the first security proxy entity may preferentially select the PRINS mechanism as the target communication protection mechanism. For another example, the first security proxy entity may also randomly select the TLS mechanism or the PRINS mechanism as the target communication protection mechanism.

[0166] It can be understood that the specific communication protection mechanism adopted between the first relay entity and the second security proxy entity can be protocol pre-defined, network pre-configured, or negotiated through the N32-c link between the first relay entity and the second security proxy entity. This embodiment of the present application does not limit this.

[0167] Case 2:

[0168] The first relay entity signs a contract with the first security proxy entity, or in other words, signs a contract with the network to which the first security proxy entity belongs (e.g., the first network). In this case, the first security proxy entity can also know which communication protection mechanisms the first relay entity specifically supports. For example, the first security proxy entity can learn which communication protection mechanisms the first relay entity specifically supports through the N32-c link between the first relay entity and the first security proxy entity, or the communication protection mechanisms that the first relay entity specifically supports can also be pre-configured locally on the first security proxy entity when signing the contract.

[0169] Since the first relay entity has signed a contract with the first security proxy entity, the third security proxy entity among the first security proxy entity and the second security proxy entity that has not signed a contract with the first relay entity is the second security proxy entity. The communication protection mechanism supported by the third security proxy entity is the communication protection mechanism supported by the second security proxy entity, which may specifically be the TLS mechanism and / or the PRINS mechanism. The specific mechanisms supported are similar to the principles of the first relay entity mentioned above, and you can refer to them for understanding, so we will not go into details here.

[0170] The communication protection mechanism supported by the second security proxy entity can be pre-configured locally in the first security proxy entity by way of protocol pre-definition or network pre-configuration. Alternatively, the first security proxy entity can also obtain the communication protection mechanism supported by the second security proxy entity from other network elements to achieve on-demand acquisition. For example, the second security proxy entity can send the communication protection mechanism supported by the second security proxy entity to the first security proxy entity, and the first security proxy entity can receive the communication protection mechanism supported by the second security proxy entity from the second security proxy entity. The communication protection mechanism supported by the second security proxy entity can be carried in the capability negotiation request, such as the capability negotiation request can include the identifier of the second network and the identifier of the communication protection mechanism supported by the second security proxy entity, to indicate which communication protection mechanisms the second security proxy entity supports. Alternatively, the communication protection mechanism supported by the second security proxy entity can also be carried in any possible message or signaling, and there is no specific limitation on this.

[0171] The target communication protection mechanism can be a communication protection mechanism supported by both the second security proxy entity and the first relay entity, such as the TLS mechanism or the PRINS mechanism. In other words, the first security proxy entity can determine the target communication protection mechanism based on the intersection of the communication protection mechanisms supported by the first relay entity and the communication protection mechanisms supported by the second security proxy entity. The specific implementation principles can be found in the description of the target communication protection mechanism in Case 1 above and will not be elaborated here.

[0172] It can be understood that the specific communication protection mechanism adopted between the first relay entity and the first security proxy entity can be protocol pre-defined, network pre-configured, or negotiated through the N32-c link between the first relay entity and the first security proxy entity. This embodiment of the present application does not limit this.

[0173] It can also be understood that the first security agent entity negotiating the target communication protection mechanism through S701 is an example and not a limitation. For example, the target communication protection mechanism may also be pre-configured by the network or predetermined by the protocol. In this case, the first security agent entity does not execute S701 and uses the target communication protection mechanism by default to execute S702.

[0174] S702: The first security proxy entity establishes a security connection between the third security proxy entity and the first relay entity according to a target communication protection mechanism.

[0175] In one possible implementation, the target communication protection policy required for executing the target communication protection mechanism can be negotiated between the third security proxy entity and the first relay entity in accordance with protocol specifications. For example, if the target communication protection mechanism is the TLS mechanism, the communication protection policy required for executing the TLS mechanism needs to be negotiated between the third security proxy entity and the first relay entity in accordance with the protocol specifications corresponding to the TLS mechanism. The following describes scenarios 1 and 2 above.

[0176] Case 1:

[0177] The first security proxy entity may send a target communication protection mechanism to the second security proxy entity, and the second security proxy entity may receive the target communication protection mechanism from the first security proxy entity. For example, the target communication protection mechanism may be included in a capability negotiation response used to respond to the capability negotiation request. For example, the capability negotiation response may include: an identifier of the first security proxy entity, an identifier of the first network, and an identifier of the target communication protection mechanism, indicating the target communication protection mechanism selected by the first security proxy entity. Alternatively, the target communication protection mechanism may be included in any possible message or signaling, without specific limitation.

[0178] After receiving the target communication protection mechanism, the second security proxy entity can send the target communication protection mechanism to the first relay entity. For example, the second security proxy entity can send a security parameter notification carrying the identifier of the target communication protection mechanism to the first relay entity via the N32-c link between the first and second security proxy entities. This aligns the first relay entity with the first security proxy entity, allowing both parties to negotiate the target communication protection policy based on the protocol specifications corresponding to the target communication protection mechanism, thereby establishing a secure connection between the first security proxy entity and the first relay entity, namely the N32-f link.

[0179] Case 2:

[0180] The first security proxy entity may also send the target communication protection mechanism to the second security proxy entity, and the second security proxy entity may also receive the target communication protection mechanism from the first security proxy entity. The target communication protection mechanism may also be carried in the capability negotiation response used to respond to the capability negotiation request, for example, the capability negotiation response may include an identifier of the target communication protection mechanism.

[0181] The first security proxy entity may also send the target communication protection mechanism to the first relay entity. For example, the first security proxy entity may send a security parameter notification carrying the identifier of the target communication protection mechanism to the first relay entity via the N32-c link between the first relay entity and the second security proxy entity. This aligns the first relay entity with the second security proxy entity, allowing both parties to negotiate the target communication protection policy based on the protocol rules corresponding to the target communication protection mechanism, thereby establishing a secure connection between the second security proxy entity and the first relay entity, namely, the N32-f link.

[0182] In another possible implementation, the target communication protection policy required for executing the target communication protection mechanism can be dynamically negotiated by the first security proxy entity. For example, if the target communication protection mechanism is the PRINS mechanism, the first security proxy entity can first negotiate, based on the PRINS mechanism, the communication protection policy required for executing the PRINS mechanism between the third security proxy entity and the first relay entity. The secure connection between the third security proxy entity and the first relay entity can then be established based on the communication protection policy. The following describes scenarios 1 and 2, respectively.

[0183] Case 1:

[0184] The first security proxy entity may obtain a first communication protection policy according to a target communication protection mechanism.

[0185] The first communication protection policy may be the communication protection policy required by the first security proxy entity to implement the target communication protection mechanism. That is, when the first security proxy entity uses the first communication protection policy to encrypt transmitted information or authenticate received information, the first security proxy entity is considered to be implementing the target communication protection mechanism. The first communication protection policy may include: a modification policy for the first forwarding entity, encryption policies supported by the first security proxy entity, and a communication policy that allows the first security proxy entity to send messages. The first forwarding entity may be a forwarding entity on the first security proxy entity side, such as pIPX. The specific implementation principles of the modification policy of the first forwarding entity can be referenced in the aforementioned description of the modification policy of pIPX and will not be further elaborated here. The communication policy that allows the first security proxy entity to send messages indicates which messages or message types the first security proxy entity is capable of sending. The encryption policy supported by the first security proxy entity indicates which parameters the first security proxy entity can encrypt. The specific implementation principles can be referenced in the aforementioned description of the encryption policies supported by pSEPP and will not be further elaborated here. The first communication protection strategy can be pre-configured by the network or pre-defined by the protocol locally in the first security agent entity, that is, the first security agent entity can directly obtain the first communication protection strategy locally according to the target communication protection mechanism; or, the first security agent entity can also dynamically generate the first communication protection strategy according to the target communication protection mechanism, and there is no specific limitation on this.

[0186] The first security agent entity may determine a target communication protection policy according to the first communication protection policy and the second communication protection policy.

[0187] The second communication protection policy can also be the communication protection policy required by the first relay entity to implement the target communication protection mechanism. That is, when the first relay entity uses the second communication protection policy to encrypt transmitted information or authenticate received information, the first relay entity is considered to be implementing the target communication protection mechanism. The second communication protection policy may include: a modification policy for the second forwarding entity, encryption policies supported by the first relay entity, and a communication policy that allows the second security proxy entity to send messages. The second forwarding entity can be a forwarding entity on the second security proxy entity side, such as cIPX. The specific implementation principles of the second forwarding entity's modification policy can be referenced in the description of the pIPX modification policy described above and will not be further elaborated here. The encryption policy supported by the first relay entity indicates which parameters the first relay entity can encrypt, such as user identification and location information. The specific implementation principles are similar to the encryption policies supported by cSEPP described above and can be understood by reference and will not be further elaborated here. The communication policy that allows the second security proxy entity to send messages indicates which messages or message types the second security proxy entity is capable of sending.

[0188] The second communication protection policy can be pre-configured by the network or pre-defined by the protocol locally in the first security proxy entity. That is, the first security proxy entity can directly obtain the second communication protection policy locally based on the target communication protection mechanism. Alternatively, the first security proxy entity can also obtain the second communication protection policy from the second security proxy entity. For example, the first security proxy entity can send the target communication protection mechanism to the second security proxy entity, and the second security proxy entity can also receive the target communication protection mechanism from the first security proxy entity. The target communication protection mechanism can be carried in the capability negotiation response used to respond to the above-mentioned capability negotiation request. For example, the capability negotiation response can include the identifier of the target communication protection mechanism. After receiving the identifier of the target communication protection mechanism, the second security proxy entity can send a security parameter notification carrying the identifier of the target communication protection mechanism to the first relay entity. The first relay entity can determine the target communication protection mechanism based on the identifier of the target communication protection mechanism to obtain or dynamically generate the second communication protection policy locally, and send the second communication protection policy to the second security proxy entity via the N32-c link between the first relay entity and the second security proxy entity.

[0189] In this way, the second security proxy entity can send the second communication protection policy to the first security proxy entity, and the first security proxy entity can receive the second communication protection policy from the second security proxy entity. For example, the second communication protection policy can be carried in a security parameter negotiation request. For example, the security parameter negotiation request can include: an identifier of the context of the first relay entity, an identifier of the first relay entity, and the second communication protection policy. The identifier of the context of the first relay entity can be an identifier pre-negotiated or pre-configured between the second security proxy entity and the first relay entity, used to identify the context of the first relay entity, and this is not specifically limited. The identifier of the first relay entity can also be an identifier pre-negotiated or pre-configured between the second security proxy entity and the first relay entity, used to identify the first relay entity. In addition, the security parameter negotiation request can also refer to the relevant description in Figure 4 above, and will not be repeated here. In addition, carrying the second communication protection policy in the security parameter negotiation request is only an example. The second communication protection policy can also be carried in any other possible message or signaling, and this is not specifically limited.

[0190] The target communication protection policy may be a communication protection policy supported by both the first relay entity and the first security proxy entity, so as to ensure that the target communication protection mechanism can be correctly executed by both parties and guarantee communication security.

[0191] The target communication protection policy may include a target modification policy, which may be the union of the modification policy of the first forwarding entity and the modification policy of the second forwarding entity. That is, since how the first forwarding entity and the second forwarding entity forward signaling do not affect each other, the first security proxy entity may determine the union of the modification policies of the first forwarding entity and the second forwarding entity as the target modification policy.

[0192] The target communication protection policy may also include a target encryption policy. The target encryption policy may be an encryption policy supported by both the first security proxy entity and the first relay entity. That is, the first security proxy entity may determine the union of the encryption policies supported by the first security proxy entity and the encryption policies supported by the first relay entity as the target encryption policy. For example, the first security proxy entity supports encryption of the user's identifier but does not support encryption of the user's location information. The first relay entity supports encryption of both the user's identifier and the user's location information. In this case, the target encryption policy is encryption of the user's identifier. If the first security proxy entity's service also requires encryption, the target encryption policy determined by the first security proxy entity should also take into account the service's requirements. That is, the target encryption policy may be an encryption policy supported by the first security proxy entity, the first relay entity, and the service, or the union of the encryption policies supported by the first security proxy entity, the first relay entity, and the service. For example, if the service is a location-based service that requires sensing the user's location, in this case, the user's location information cannot be encrypted. Therefore, even if the first relay entity and the first security proxy entity support encrypting both the user's identifier and the user's location information, the target encryption policy may be to encrypt only the user's identifier.

[0193] Optionally, the target communication protection policy may also include a target communication relationship policy. The target communication relationship policy may be the message type or service type that the security proxy entity allows the relay entity to send, and specifically may be to allow the relay entity to send location request services, contract request services and other services, which are not limited in the embodiments of the present application. For example, in the case of a first security proxy entity or a second security proxy entity and a first relay entity, the target communication relationship policy may be used to indicate the message type or service type that the first security proxy entity or the second security proxy entity allows the first relay entity to send. For another example, when the first security proxy entity signs a contract with the first relay entity and the second security proxy entity signs a contract with the second relay entity, the target communication relationship policy may be used to indicate the message type or service type that the first security proxy entity allows the first relay entity to send, and may also be used to indicate the message type or service type that the second security proxy entity allows the second relay entity to send.

[0194] The first security proxy entity can send the target communication protection policy to the second security proxy entity, and the second security proxy entity can receive the target communication protection policy from the first security proxy entity. For example, the target communication protection policy can be carried in the security parameter negotiation response used to respond to the above-mentioned security parameter negotiation request, such as the security parameter negotiation response can include the target communication protection policy. In addition, the security parameter negotiation response can also refer to the relevant introduction in Figure 4 above, which will not be repeated here. After receiving the target communication protection policy, the second security proxy entity can also send the target communication protection policy to the first relay entity. For example, the second security proxy entity can send a security parameter notification carrying the target communication protection policy to the first relay entity through the N32-c link between the first relay entity and the second security proxy entity. In this way, the first relay entity and the first security proxy entity can be aligned, and both parties can generate the same context according to the target communication protection mechanism, thereby establishing a secure connection between the first security proxy entity and the first relay entity, namely the N32-f link.

[0195] Case 2:

[0196] The first security proxy entity may obtain the third communication protection policy according to the target communication protection mechanism.

[0197] The third communication protection policy may be the communication protection policy required by the first relay entity to implement the target communication protection mechanism. The third communication protection policy may include a modification policy of the first forwarding entity. The specific implementation principles can be found in the description of the first forwarding entity above and are not further detailed here. The third communication protection policy may also include an encryption policy supported by the first relay entity. The specific implementation principles can be found in the description of the first relay entity above and are not further detailed here.

[0198] The third communication protection policy can be pre-configured by the network or pre-defined by the protocol locally in the first security proxy entity, that is, the first security proxy entity can directly obtain the third communication protection policy locally according to the target communication protection mechanism. Alternatively, the first security proxy entity can also obtain the third communication protection policy from the first relay entity according to the target communication protection mechanism. For example, the first security proxy entity can send the target communication protection mechanism to the first relay entity, such as sending a security parameter notification carrying the identifier of the target communication protection mechanism through the N32-c link between the first security proxy entity and the first relay entity. The first relay entity can determine the target communication protection mechanism based on the identifier of the target communication protection mechanism to obtain or dynamically generate the third communication protection policy locally, and send the third communication protection policy to the first security proxy entity through the N32-c link between the first relay entity and the first security proxy entity. In this way, the first security proxy entity can receive the third communication protection policy from the first relay entity.

[0199] The first security proxy entity may determine a target communication protection policy according to the third communication protection policy and the fourth communication protection policy.

[0200] The fourth communication protection policy may be the communication protection policy required by the second security proxy entity to implement the target communication protection mechanism. The fourth communication protection policy may include a modification policy for the second forwarding entity. The specific implementation principles can be found in the description of the second forwarding entity above and are not further detailed here. The fourth communication protection policy may also include an encryption policy supported by the second security proxy entity, indicating which parameters the second security proxy entity can encrypt. The specific implementation principles can be found in the description of the encryption policies supported by the cSEPP above and are not further detailed here.

[0201] The fourth communication protection policy can also be pre-configured by the network or pre-defined by the protocol locally in the first security proxy entity. That is, the first security proxy entity can directly obtain the fourth communication protection policy locally based on the target communication protection mechanism. Alternatively, the first security proxy entity can obtain the fourth communication protection policy from the second security proxy entity based on the target communication protection mechanism. For example, the first security proxy entity can send the target communication protection mechanism to the second security proxy entity, and the second security proxy entity can also receive the target communication protection mechanism from the first security proxy entity. The target communication protection mechanism can also be included in the capability negotiation response used to respond to the capability negotiation request. For example, the capability negotiation response can include an identifier of the target communication protection mechanism. The second security proxy entity can determine the target communication protection mechanism based on the identifier of the target communication protection mechanism and thereby determine the fourth communication protection policy based on the target communication protection mechanism, such as by obtaining the fourth communication protection policy locally or dynamically generating the fourth communication protection policy. The second security proxy entity can send the fourth communication protection policy to the first security proxy entity, and the first security proxy entity can receive the fourth communication protection policy from the second security proxy entity. In this case, the fourth communication protection policy can be included in the security parameter negotiation request. The security parameter negotiation request can also refer to the relevant description in Figure 4 above and will not be repeated here. Alternatively, the second communication protection strategy may also be carried in any other possible message or signaling, which is not specifically limited.

[0202] The target communication protection policy can be a communication protection policy supported by both the first relay entity and the second security proxy entity to ensure that the target communication protection mechanism can be correctly executed by both parties to ensure communication security. The target communication protection policy can include a target modification policy. The specific implementation principle can refer to the relevant introduction of the target modification policy in the above situation 1, which will not be repeated here. The target communication protection policy can also include a target encryption policy. The target encryption policy can be an encryption policy supported by both the second security proxy entity and the first relay entity, or an encryption policy supported by the second security proxy entity, the first relay entity and the service. The specific implementation principle can also refer to the relevant introduction of the target encryption policy in the above situation 1, which will not be repeated here. The target communication protection policy can also include a target communication relationship policy. The target communication relationship policy can be the message type or service type that the security proxy entity allows the relay entity to send, specifically, it can be to allow the relay entity to send location request services, contract request services and other services. The specific implementation principle can also refer to the relevant introduction of the target communication relationship policy in the above situation 1, which will not be repeated here.

[0203] The first security proxy entity can send the target communication protection policy to the second security proxy entity, and the second security proxy entity can receive the target communication protection policy from the first security proxy entity. For example, the target communication protection policy can be carried in the security parameter negotiation response used to respond to the above-mentioned security parameter negotiation request, such as the security parameter negotiation response can include: the context identifier of the first relay entity, the identifier of the first relay entity, and the target communication protection policy. In addition, the security parameter negotiation response can also refer to the relevant introduction in Figure 4 above, which will not be repeated here. The identifier of the context of the first relay entity can be an identifier that has been negotiated or pre-configured in advance between the first security proxy entity and the first relay entity to identify the context of the first relay entity, and there is no specific limitation on this. The identifier of the first relay entity can also be an identifier that has been negotiated or pre-configured in advance between the first security proxy entity and the first relay entity to identify the first relay entity.

[0204] The first security proxy entity may also send the target communication protection policy to the first relay entity. For example, the first security proxy entity may send a security parameter notification containing the target communication protection policy to the first relay entity via the N32-c link between the first relay entity and the second security proxy entity. This aligns the first relay entity and the second security proxy entity, allowing both entities to generate the same context based on the target communication protection mechanism, thereby establishing a secure connection between the second security proxy entity and the first relay entity, namely, the N32-f link.

[0205] It is understood that in scenario 1, the first security proxy entity can also provide the target modification policy to the first forwarding entity, and the second security proxy entity or the first relay entity can also provide the target modification policy to the second forwarding entity. Similarly, in scenario 2, the first security proxy entity or the first relay entity can also provide the target modification policy to the first forwarding entity, and the second security proxy entity can also provide the target modification policy to the second forwarding entity. In this way, forwarding is achieved by the first forwarding entity and the second forwarding entity.

[0206] It can also be understood that the above-mentioned secure connection can be understood as a logical concept, that is, if the first security proxy entity and the first relay entity, or the second security proxy entity and the first relay entity are aligned to use the above-mentioned context for encrypted communication, it is considered that a secure connection has been established.

[0207] In summary, when the first security proxy entity or the second security proxy entity signs a contract with the first relay entity, the first security proxy entity not only considers the communication protection mechanisms supported by the third security proxy entity (i.e., the security proxy entity that has not signed a contract with the first relay entity) but also considers the communication protection mechanisms supported by the first relay entity to determine a target communication protection mechanism supported by both the first relay entity and the third security proxy entity. In this way, a secure connection between the first relay entity and the third security proxy entity can be established using the target communication protection mechanism to ensure communication security.

[0208] In a possible design solution, in combination with S701-S702 above, after the secure connection is established, secure communication can also be performed between the first security proxy entity and the second security proxy entity. The above-mentioned situation 1 and situation 2 are respectively introduced below.

[0209] Case 1:

[0210] If communication is initiated by the second security proxy entity, the second security proxy entity can send a service request message (denoted as service request message #1) to the first relay entity. The first relay entity can protect service request message #1 based on the target communication protection policy in the context, thereby sending the protected service request message #1 to the first security proxy entity. The protected service request message #1 can also carry the identifier of the first relay entity's context. Accordingly, the first security proxy entity receives service request message #1 from the first relay entity, i.e., the protected service request message #1. The first security proxy entity can verify service request message #1 using the target communication protection policy. For example, the first security proxy entity can verify the protected service request message #1 using the target communication protection policy in the same context as the first relay entity, based on the identifier of the first relay entity's context carried in the protected service request message #1. If verification is successful, the first security proxy entity continues to send service request message #1 to the network element within the network where the first security proxy entity is located. Otherwise, service request message #1 is discarded to ensure communication security.

[0211] Alternatively, if the communication is initiated by the first security proxy entity, the first security proxy entity may protect the service request message (denoted as service request message #2) according to the target communication protection policy in the context, thereby sending the protected service request message #2 to the first relay entity. The protected service request message #2 may also carry the identifier of the context of the first security proxy entity. After receiving the service request message #2, the first relay entity may use the target communication protection policy to verify the service request message #2. For example, the first relay entity may use the target communication protection policy in the same context as the first security proxy entity to verify the protected service request message #2 according to the identifier of the context of the first security proxy entity carried in the protected service request message #2. If the verification is successful, the first relay entity continues to send the service request message #2 to the second security proxy entity; otherwise, the service request message #2 is discarded to ensure communication security.

[0212] Case 2:

[0213] If communication is initiated by the first security proxy entity, the first security proxy entity can send a service request message (denoted as service request message #3) to the first relay entity. The first relay entity can protect service request message #3 based on the target communication protection policy in the context, and then send the protected service request message #3 to the second security proxy entity. The protected service request message #3 can also carry the identifier of the first relay entity's context. Accordingly, the second security proxy entity receives service request message #3 from the first relay entity, i.e., the protected service request message #3. The second security proxy entity can verify service request message #3 using the target communication protection policy. For example, the second security proxy entity can verify the protected service request message #3 using the target communication protection policy in the same context as the first relay entity, based on the identifier of the first relay entity's context carried in the protected service request message #3. If verification is successful, the second security proxy entity continues to send service request message #3 to the network element within the network where the second security proxy entity is located. Otherwise, service request message #3 is discarded to ensure communication security.

[0214] Alternatively, if the communication is initiated by the second security proxy entity, the second security proxy entity may protect the service request message (denoted as service request message #4) according to the target communication protection policy in the context, thereby sending the protected service request message #4 to the first relay entity. The protected service request message #4 may also carry the identifier of the context of the second security proxy entity. After receiving the service request message #4, the first relay entity may use the target communication protection policy to verify the service request message #4. For example, the first relay entity may use the target communication protection policy in the same context as the second security proxy entity to verify the protected service request message #4 according to the identifier of the context of the second security proxy entity carried in the protected service request message #4. If the verification is successful, the first relay entity continues to send the service request message #4 to the first security proxy entity; otherwise, the service request message #4 is discarded to ensure communication security.

[0215] The overall process of the communication method provided by the embodiment of the present application is described in detail above with reference to Figure 7. The specific processes of the communication method in various scenarios are described below with reference to Figures 8 and 9.

[0216] Figure 8 is a third flow diagram of a communication method provided in an embodiment of the present application. This communication method is applicable to the aforementioned communication system and specifically involves interactions between a cSEPP (e.g., the aforementioned second secure proxy entity), a cRH contracted with the cSEPP (e.g., the aforementioned first relay entity), and a pSEPP (e.g., the aforementioned first secure proxy entity).

[0217] Specifically, as shown in FIG8 , the process of the communication method is as follows:

[0218] S801: cSEPP sends a capability negotiation request to pSEPP, and pSEPP receives the capability negotiation request from cSEPP.

[0219] The capability negotiation request mainly includes the communication protection mechanisms supported by the cRH, such as the cRH identifier, and the identifier of the communication protection mechanism supported by the cRH, which is used to jointly indicate the communication protection mechanisms supported by the cRH, such as the PRINS mechanism and / or the TLS mechanism. The capability negotiation request may also carry other parameters. For details, please refer to the relevant introduction in Figure 4 above, which will not be repeated here.

[0220] S802: pSEPP determines a target communication protection mechanism.

[0221] The pSEPP can determine the communication protection mechanisms supported by the cRH based on the capability negotiation request. Thus, the pSEPP can determine a target communication protection mechanism supported by both the pSEPP and the cRH, such as the PRINS mechanism or the TLS mechanism, based on the communication protection mechanisms supported by the pSEPP, such as the PRINS mechanism and / or the TLS mechanism, and the communication protection mechanisms supported by the cRH.

[0222] S803: The pSEPP sends a capability negotiation response to the cSEPP, and the cSEPP receives the capability negotiation response from the pSEPP.

[0223] The capability negotiation response is mainly used to indicate the target communication protection mechanism, such as including the identifier of the target communication protection mechanism. The capability negotiation response may also carry other parameters, for which please refer to the relevant introduction in FIG. 4 above, which will not be repeated here.

[0224] It will be appreciated that if the communication protection mechanism supported by both the pSEPP and the cRH is the TLS mechanism, then since the context of the TLS mechanism needs to be negotiated according to the protocol rules, the pSEPP and the cRH can independently negotiate the target communication protection policy according to the protocol rules, and this embodiment of the present application does not impose any restrictions. If the communication protection mechanism supported by both the pSEPP and the cRH is the PRINS mechanism, the pSEPP and the cSEPP execute S804-S811 to negotiate the target communication protection policy and generate a context.

[0225] S804: The pSEPP determines a communication protection strategy of the pSEPP according to the target communication protection mechanism.

[0226] The communication protection strategy of pSEPP is the communication protection strategy required by pSEPP to execute the target communication protection mechanism. The specific implementation principle can refer to the relevant introduction of the first communication protection strategy mentioned above, which will not be repeated here.

[0227] S805 , cSEPP sends security parameter notification # 1 to cRH, and cRH receives security parameter notification # 1 from cSEPP.

[0228] Security parameter notification #1 is mainly used to indicate the target communication protection mechanism, such as including the identifier of the target communication protection mechanism.

[0229] S806, the cRH determines the communication protection strategy of the cRH according to the target communication protection mechanism.

[0230] The communication protection strategy of cRH is the communication protection strategy required by cRH to execute the target communication protection mechanism. The specific implementation principle can refer to the relevant introduction of the second communication protection strategy mentioned above, which will not be repeated here.

[0231] S807 , cRH sends security parameter notification # 2 to cSEPP, and cSEPP receives security parameter notification # 2 from cRH.

[0232] Security parameter notification #2 may include the communication protection policy of the cRH, and optionally, may also include the identifier of the context of the cRH.

[0233] In addition, the execution order between S804 and S805 - S807 is not limited.

[0234] S808: cSEPP sends a security parameter negotiation request to pSEPP, and pSEPP receives the security parameter negotiation request from cSEPP.

[0235] The security parameter negotiation request may carry the cRH context identifier, the cRH identifier, and the cRH communication protection policy. The security parameter negotiation request may also carry other parameters, for details, please refer to the relevant introduction in FIG4 above, which will not be repeated here.

[0236] S809, pSEPP determines the target communication protection strategy.

[0237] The pSEPP can determine the cRH's communication protection policy based on the security parameter negotiation request. In this way, the pSEPP can determine the target communication protection policy based on the pSEPP's communication protection policy and the cRH's communication protection policy, thereby generating a context. The specific implementation principle can be found in the description of the target communication protection policy in scenario 1 above and will not be repeated here.

[0238] S810 , the pSEPP sends a security parameter negotiation response to the cSEPP, and the cSEPP receives the security parameter negotiation response from the pSEPP.

[0239] The security parameter negotiation response may carry the target communication protection policy. In addition, the security parameter negotiation response may also carry other parameters, for which reference may be made to the relevant description in FIG4 above, which will not be repeated here.

[0240] S811 , cSEPP sends security parameter notification #3 to cRH, and cRH receives security parameter notification #3 from cSEPP.

[0241] Security parameter notification #3 may carry a target communication protection policy for cRH to generate a context.

[0242] At this point, the secure connection between cRH and pSEPP is established.

[0243] S812: cSEPP sends a NF service request to cRH, and cRH receives the NF service request from cSEPP.

[0244] The cSEPP may determine the NF service request based on the requirements of the network to which the cSEPP belongs, such as the network elements in PLMN#1, and send the NF service request to the cRH to request the network elements in PLMN#2 to provide the corresponding service.

[0245] S813, cRH uses the context to protect the NF service request.

[0246] The cRH may use the target communication protection policy in the context to protect the NF service request and obtain a protected NF service request. The protected NF service request may further include an identifier of the cRH context.

[0247] S814, cRH sends the protected NF service request to pSEPP, and pSEPP receives the protected NF service request from cRH.

[0248] There may also be cIPX and / or pIPX between cRH and pSEPP, that is, the protected NF service request can be forwarded hop by hop to pSEPP through these pIPX.

[0249] S815, pSEPP uses the context to verify the protected NF service request.

[0250] Based on the cRH context identifier in the protected NF service request, the pSEPP determines which context to use, i.e., uses the target communication protection policy, to verify the protected NF service request. If verification succeeds, the pSEPP sends the NF service request to the network element in the pSEPP's network, such as PLMN#2, to provide the corresponding service. Otherwise, the pSEPP discards the NF service request.

[0251] Figure 9 is a fourth flow chart of a communication method provided in an embodiment of the present application. This communication method is applicable to the above-mentioned communication system and specifically involves the interaction between the cSEPP (such as the second secure proxy entity described above), the pRH (such as the first relay entity described above) contracted with the pSEPP, and the pSEPP (such as the first secure proxy entity described above).

[0252] Specifically, as shown in FIG9 , the process of the communication method is as follows:

[0253] S901: cSEPP sends a capability negotiation request to pSEPP, and pSEPP receives the capability negotiation request from cSEPP.

[0254] The capability negotiation request primarily includes the communication protection mechanisms supported by the cSEPP, such as the cSEPP identifier and the identifier of the communication protection mechanism supported by the cSEPP, which is used to jointly indicate the communication protection mechanisms supported by the cSEPP, such as the PRINS mechanism and / or the TLS mechanism. The capability negotiation request may also carry other parameters, which can be found in the relevant description of Figure 4 above and are not repeated here.

[0255] S902: pSEPP determines a target communication protection mechanism.

[0256] The pSEPP can determine the communication protection mechanisms supported by the cSEPP based on the capability negotiation request. Thus, the pSEPP can determine the target communication protection mechanism supported by both the cSEPP and the pRH, such as the PRINS mechanism and / or the TLS mechanism, based on the communication protection mechanisms supported by the pRH, such as the PRINS mechanism and / or the TLS mechanism, and the communication protection mechanisms supported by the cSEPP.

[0257] S903: The pSEPP sends a capability negotiation response to the cSEPP, and the cSEPP receives the capability negotiation response from the pSEPP.

[0258] The capability negotiation response is mainly used to indicate the target communication protection mechanism, such as including the identifier of the target communication protection mechanism. The capability negotiation response may also carry other parameters, for which please refer to the relevant introduction in FIG. 4 above, which will not be repeated here.

[0259] It will be appreciated that if the communication protection mechanism supported by both the cSEPP and the pRH is the TLS mechanism, then since the context of the TLS mechanism needs to be negotiated according to the protocol rules, the cSEPP and the pRH can independently negotiate the target communication protection policy according to the protocol rules, and this embodiment of the present application does not impose any restrictions. If the communication protection mechanism supported by both the cSEPP and the pRH is the PRINS mechanism, the cSEPP and the pSEPP execute S904-S911 to negotiate the target communication protection policy and generate a context.

[0260] S904: The cSEPP determines a communication protection strategy of the cSEPP according to the target communication protection mechanism.

[0261] The communication protection strategy of pSEPP is the communication protection strategy required by pSEPP to execute the target communication protection mechanism. The specific implementation principle can refer to the relevant introduction of the fourth communication protection strategy mentioned above, which will not be repeated here.

[0262] S905 , pSEPP sends security parameter notification # 1 to pRH, and pRH receives security parameter notification # 1 from pSEPP.

[0263] Security parameter notification #1 is mainly used to indicate the target communication protection mechanism, such as including the identifier of the target communication protection mechanism.

[0264] S906, the pRH determines the communication protection strategy of the pRH according to the target communication protection mechanism.

[0265] The communication protection strategy of pRH is the communication protection strategy required by pRH to execute the target communication protection mechanism. The specific implementation principle can refer to the relevant introduction of the third communication protection strategy mentioned above, which will not be repeated here.

[0266] S907 , pRH sends security parameter notification # 2 to pSEPP, and pSEPP receives security parameter notification # 2 from pRH.

[0267] Security parameter notification #2 may include the communication protection policy of the pRH, and optionally, may also include the identifier of the context of the pRH.

[0268] In addition, the execution order of S904 and S905 - S907 is not limited.

[0269] S908: cSEPP sends a security parameter negotiation request to pSEPP, and pSEPP receives the security parameter negotiation request from cSEPP.

[0270] The security parameter negotiation request may carry the communication protection policy of the cSEPP. In addition, the security parameter negotiation request may also carry other parameters, for which reference may be made to the relevant description in FIG4 above, which will not be repeated here.

[0271] S909, pSEPP determines the target communication protection strategy.

[0272] The pSEPP can determine the cSEPP's communication protection policy based on the security parameter negotiation request. In this way, the pSEPP can determine the target communication protection policy based on the pRH's and cSEPP's communication protection policies, thereby generating a context. The specific implementation principle can be found in the description of the target communication protection policy in scenario 2 above and will not be repeated here.

[0273] S910 , the pSEPP sends a security parameter negotiation response to the cSEPP, and the cSEPP receives the security parameter negotiation response from the pSEPP.

[0274] The security parameter negotiation response may carry the pRH context identifier, the RH identifier, and the target communication protection policy. In addition, the security parameter negotiation response may also carry other parameters, for details, please refer to the relevant introduction in FIG. 4 above, which will not be repeated here.

[0275] S911, pSEPP sends security parameter notification #3 to pRH, and pRH receives security parameter notification #3 from pSEPP.

[0276] Security parameter notification #3 may carry a target communication protection policy for pH to generate a context.

[0277] At this point, the secure connection between pRH and cSEPP is established.

[0278] S912: pSEPP sends a NF service request to pRH, and pRH receives the NF service request from pSEPP.

[0279] The pSEPP may determine the NF service request based on the requirements of the network to which the pSEPP belongs, such as the network elements in PLMN#2, and send the NF service request to the pRH to request the network elements in PLMN#1 to provide the corresponding service.

[0280] S913, the pRH uses the context to protect the NF service request.

[0281] The pRH may use the target communication protection policy in the context to protect the NF service request and obtain a protected NF service request. The protected NF service request may further include an identifier of the pRH context.

[0282] S914, the pRH sends the protected NF service request to the cSEPP, and the cSEPP receives the protected NF service request from the pRH.

[0283] There may also be cIPX and / or pIPX between pRH and cSEPP, that is, the protected NF service request can be forwarded hop by hop to cSEPP through these pIPX.

[0284] S915, cSEPP uses the context to verify the protected NF service request.

[0285] Based on the pRH context identifier in the protected NF service request, the cSEPP determines which context to use, i.e., uses the target communication protection policy, to verify the protected NF service request. If verification succeeds, the cSEPP sends the NF service request to the network element in the cSEPP's network, such as PLMN#1, to provide the corresponding service. Otherwise, the cSEPP discards the NF service request.

[0286] Figure 10 is a fourth flow diagram of a communication method provided in an embodiment of the present application. This communication method is applicable to the aforementioned communication system and involves interaction between a first secure proxy entity and a second secure proxy entity, wherein each of the first secure proxy entity and the second secure proxy entity is contracted with a respective relay entity. For example, the first secure proxy entity is contracted with the first relay entity, and the second secure proxy entity is contracted with the second relay entity.

[0287] Specifically, as shown in FIG10 , the process of the communication method is as follows:

[0288] S1001: The second security proxy entity sends a communication protection mechanism supported by a second relay entity to the first security proxy entity, and the first security proxy entity receives the communication protection mechanism supported by the second relay entity from the second security proxy entity.

[0289] The communication protection mechanism supported by the second relay entity may be a TLS mechanism and / or a PRINS mechanism. Among them, which mechanisms the second relay entity specifically supports is not limited in the embodiment of the present application. For details, please refer to the relevant introduction of the first relay entity in Figure 7 above, which will not be repeated here. Since the second relay entity signs a contract with the second security proxy entity, the second security proxy entity usually knows which communication protection mechanisms the second relay entity specifically supports. For example, the second security proxy entity can obtain which communication protection mechanisms the second relay entity specifically supports through the N32-c link between the second relay entity and the second security proxy entity, or which communication protection mechanisms the second relay entity specifically supports can also be pre-configured locally in the second security proxy entity when signing the contract.

[0290] The second security proxy entity sends a capability negotiation request to the first security proxy entity, and the first security proxy entity receives the capability negotiation request from the second security proxy entity. At this point, the communication protection mechanisms supported by the second relay entity can be carried in the capability negotiation request. For example, the capability negotiation request can include: an identifier of the second relay entity, and identifiers of the communication protection mechanisms supported by the second relay entity, to indicate which communication protection mechanisms the second relay entity supports. Alternatively, the communication protection mechanisms supported by the second relay entity can be carried in any possible message or signaling, without specific limitation.

[0291] S1002: The first security proxy entity determines a target communication protection mechanism according to the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by the second relay entity.

[0292] The communication protection mechanism supported by the first relay entity may also be a TLS mechanism and / or a PRINS mechanism. Among them, which mechanisms the first relay entity specifically supports is not limited in the embodiment of the present application. For details, please refer to the relevant introduction of the first relay entity in Figure 7 above, which will not be repeated here. Since the first relay entity signs a contract with the first security proxy entity, the first security proxy entity usually knows which communication protection mechanisms the first relay entity specifically supports. For example, the first security proxy entity can obtain which communication protection mechanisms the first relay entity specifically supports through the N32-c link between the first relay entity and the first security proxy entity, or which communication protection mechanisms the first relay entity specifically supports can also be pre-configured locally in the second security proxy entity when signing the contract.

[0293] The target communication protection mechanism may be a communication protection mechanism supported by both the first relay entity and the second relay entity, such as a TLS mechanism or a PRINS mechanism. In other words, the first security proxy entity may determine the target communication protection mechanism based on the intersection of the communication protection mechanisms supported by the first relay entity and the communication protection mechanisms supported by the second relay entity. The specific implementation principle is similar to that of determining the target communication protection mechanism in FIG. 7 , and can be understood with reference to this, and will not be further elaborated here.

[0294] S1003: The first security proxy entity establishes a secure connection between the first relay entity and the second relay entity according to the target communication protection mechanism. Correspondingly, the second security proxy entity receives the target communication protection mechanism from the first security proxy entity and establishes a secure connection between the first relay entity and the second relay entity according to the target communication protection mechanism.

[0295] The first security proxy entity can obtain a fifth communication protection policy based on the target communication protection mechanism. The fifth communication protection policy can be the communication protection policy required by the first relay entity to execute the target communication protection mechanism. The fifth communication protection policy can be pre-configured by the network or pre-defined by the protocol locally at the first security proxy entity. That is, the first security proxy entity can directly obtain the fifth communication protection policy locally based on the target communication protection mechanism. Alternatively, the first security proxy entity can obtain the fifth communication protection policy based on the target communication protection mechanism. For example, the first security proxy entity can send the target communication protection mechanism to the first relay entity, such as by sending a security parameter notification carrying the identifier of the target communication protection mechanism via an N32-c link between the first security proxy entity and the first relay entity. The first relay entity can determine the target communication protection mechanism based on the identifier of the target communication protection mechanism, obtain or dynamically generate the fifth communication protection policy locally, and send the fifth communication protection policy to the first security proxy entity via the N32-c link between the first relay entity and the first security proxy entity. In this way, the first security proxy entity can receive the fifth communication protection policy from the first relay entity. Furthermore, the information contained in the fifth communication protection policy is similar to that of the third communication protection policy described above, and can be understood by reference thereto, and will not be further described here.

[0296] The first security proxy entity may send the target communication protection mechanism to the second security proxy entity, and the second security proxy entity may receive the target communication protection mechanism from the first security proxy entity. The target communication protection mechanism may be carried in a capability negotiation response used to respond to the capability negotiation request, for example, the capability negotiation response may include an identifier of the first relay entity and an identifier of the target communication protection mechanism.

[0297] The second security proxy entity may obtain a sixth communication protection policy based on the target communication protection mechanism. The sixth communication protection policy may be the communication protection policy required by the second relay entity to execute the target communication protection mechanism. The sixth communication protection policy may be pre-configured by the network or pre-defined by the protocol locally on the second security proxy entity. That is, the second security proxy entity may directly obtain the sixth communication protection policy locally based on the identifier of the target communication protection mechanism. Alternatively, the second security proxy entity may obtain the sixth communication protection policy from the second relay entity. For example, the second security proxy entity may send a security parameter notification carrying the identifier of the target communication protection mechanism to the second relay entity. The second relay entity may determine the target communication protection mechanism based on the identifier of the target communication protection mechanism, obtain or dynamically generate the sixth communication protection policy locally, and send the sixth communication protection policy to the second security proxy entity via the N32-c link between the second relay entity and the second security proxy entity. Furthermore, the information included in the sixth communication protection policy is similar to that of the second communication protection policy described above and can be understood by reference thereto, and will not be further described here.

[0298] The second security proxy entity may send a sixth communication protection policy to the first security proxy entity, and the first security proxy entity may receive the sixth communication protection policy from the second security proxy entity. The sixth communication protection policy may be carried in a security parameter negotiation request. For example, the security parameter negotiation request may include an identifier of the context of the second relay entity, an identifier of the second relay entity, and the sixth communication protection policy. The specific implementation principle is similar to that of the security parameter negotiation request in FIG. 7 , and can be understood with reference thereto, and will not be further described here.

[0299] The first security proxy entity can determine a target communication protection policy based on the fifth communication protection policy and the sixth communication protection policy. The target communication protection policy can be a communication protection policy supported by both the first relay entity and the second relay entity to ensure that the target communication protection mechanism is correctly executed by both parties and ensure communication security. The information included in the target communication protection policy is similar to the target communication protection policy in Figure 7 above, and can be referred to for understanding, and will not be repeated here.

[0300] The first security proxy entity can send the target communication protection policy to the second security proxy entity, and the second security proxy entity can receive the target communication protection policy from the first security proxy entity. For example, the target communication protection policy can be carried in the security parameter negotiation response used to respond to the above-mentioned security parameter negotiation request, such as the security parameter negotiation response can include the context identifier of the first relay entity, the identifier of the first relay entity, and the target communication protection policy. The specific implementation principle is similar to the security parameter negotiation response in Figure 7 above, which can be understood by reference and will not be repeated here. The first security proxy entity can also send the target communication protection policy to the first relay entity. For example, the first security proxy entity can send a security parameter notification carrying the target communication protection policy to the first relay entity through the N32-c link between the first relay entity and the first security proxy entity. In this way, the first relay entity and the second relay entity can be aligned, and both parties can generate the same context according to the target communication protection mechanism, thereby establishing a secure connection between the first relay entity and the second relay entity.

[0301] In summary, when a first security proxy entity signs a contract with a first relay entity, and a second security proxy entity signs a contract with a second relay entity, the first security proxy entity can determine a target communication protection mechanism supported by both the first relay entity and the second relay entity. In this way, a secure connection can be established between the first relay entity and the second relay entity using the target communication protection mechanism to ensure communication security.

[0302] In a possible design solution, in combination with S1001 to S1003 above, after the secure connection is established, secure communication can also be performed between the first security proxy entity and the second security proxy entity.

[0303] If the communication is initiated by the first security proxy entity, the first security proxy entity can send a service request message (denoted as service request message #5) to the first relay entity. The first relay entity can protect the service request message #5 according to the target communication protection policy in the context, thereby sending the protected service request message #5 to the second relay entity. The protected service request message #5 can also carry the identifier of the context of the first relay entity. Correspondingly, the second relay entity receives the protected service request message #5 from the first relay entity. The second relay entity can verify the protected service request message #5 based on the identifier of the context of the first relay entity carried in the protected service request message #5, using the target communication protection policy in the same context as the first relay entity. If the verification is successful, the second relay entity continues to send the service request message #5 to the second security proxy entity; otherwise, the service request message #5 is discarded to ensure communication security.

[0304] Alternatively, if the communication is initiated by the second security proxy entity, the second security proxy entity can send a service request message (recorded as service request message #6) to the second relay entity. The second relay entity can protect the service request message #6 according to the target communication protection policy in the context, thereby sending the protected service request message #6 to the first relay entity. The protected service request message #6 can also carry the identifier of the context of the second relay entity. Accordingly, the first relay entity receives the protected service request message #6 from the second relay entity. The second relay entity can verify the protected service request message #6 using the target communication protection policy in the same context as the second relay entity based on the identifier of the context of the second relay entity carried in the protected service request message #6. If the verification is successful, the first relay entity continues to send the service request message #6 to the first security proxy entity; otherwise, the service request message #6 is discarded to ensure communication security.

[0305] The overall process of the communication method provided by the embodiment of the present application is described in detail above in conjunction with Figure 10. The specific process of the communication method in a specific scenario is described below in conjunction with Figure 11.

[0306] Figure 11 is a fifth flow diagram of a communication method provided in an embodiment of the present application. This communication method is applicable to the aforementioned communication system and specifically involves interactions between a cSEPP (e.g., the aforementioned second secure proxy entity), a cRH contracted with the cSEPP (e.g., the aforementioned second relay entity), a pRH contracted with the pSEPP (e.g., the aforementioned first relay entity), and the pSEPP (e.g., the aforementioned first secure proxy entity).

[0307] Specifically, as shown in FIG11 , the process of the communication method is as follows:

[0308] S1101 : cSEPP sends a capability negotiation request to pSEPP, and pSEPP receives the capability negotiation request from cSEPP.

[0309] The capability negotiation request mainly includes the communication protection mechanisms supported by the cRH, such as the cRH identifier, and the identifier of the communication protection mechanism supported by the cRH, which is used to jointly indicate the communication protection mechanisms supported by the cRH, such as the PRINS mechanism and / or the TLS mechanism. The capability negotiation request may also carry other parameters. For details, please refer to the relevant introduction in Figure 4 above, which will not be repeated here.

[0310] S1102, pSEPP determines a target communication protection mechanism.

[0311] The pSEPP can determine the communication protection mechanisms supported by the cRH based on the capability negotiation request. Thus, the pSEPP can determine a target communication protection mechanism supported by both the pRH and the cRH, such as the PRINS mechanism and / or the TLS mechanism, based on the communication protection mechanisms supported by the pRH, such as the PRINS mechanism and / or the TLS mechanism, and the communication protection mechanisms supported by the cRH.

[0312] S1103 : The pSEPP sends a capability negotiation response to the cSEPP, and the cSEPP receives the capability negotiation response from the pSEPP.

[0313] The capability negotiation response is mainly used to indicate the target communication protection mechanism, such as including the identifier of pRH and the identifier of the target communication protection mechanism. The capability negotiation response may also carry other parameters, for which please refer to the relevant introduction in Figure 4 above, which will not be repeated here.

[0314] It is understood that if the communication protection mechanism supported by both cRH and pRH is the TLS mechanism, then since the context of the TLS mechanism needs to be negotiated according to the protocol rules, cRH and pRH can independently negotiate the target communication protection policy according to the protocol rules, and this embodiment of the present application does not limit this. If the communication protection mechanism supported by both cRH and pRH is the PRINS mechanism, cSEPP and pSEPP execute S1104-S1114 to negotiate the target communication protection policy and generate a context.

[0315] S1104, pSEPP sends security parameter notification #1 to pRH, and pRH receives security parameter notification #1 from pSEPP.

[0316] S1105 , the pRH determines a communication protection strategy of the pRH according to the target communication protection mechanism.

[0317] S1106 , pRH sends security parameter notification # 2 to pSEPP, and pSEPP receives security parameter notification # 2 from pRH.

[0318] Among them, the specific implementation principles of S1104-S1106 can refer to the relevant introduction of S905-S907 above, and will not be repeated here.

[0319] S1107 , cSEPP sends security parameter notification # 3 to cRH, and cRH receives security parameter notification # 3 from cSEPP.

[0320] S1108, the cRH determines a communication protection strategy of the cRH according to the target communication protection mechanism.

[0321] S1109 , cRH sends security parameter notification # 4 to cSEPP, and cSEPP receives security parameter notification # 4 from cRH.

[0322] Among them, the specific implementation principles of S1107-S1109 can refer to the relevant introduction of S805-S807 above, which will not be repeated here.

[0323] S1110 , the cSEPP sends a security parameter negotiation request to the pSEPP, and the pSEPP receives the security parameter negotiation request from the cSEPP.

[0324] The security parameter negotiation request may carry the cRH identifier, the cRH context identifier, and the cRHd communication protection policy. In addition, the security parameter negotiation response may also carry other parameters, for details, please refer to the relevant introduction in Figure 4 above, which will not be repeated here.

[0325] S1111, pSEPP determines a target communication protection strategy.

[0326] The pSEPP can determine the cRH's communication protection policy based on the security parameter negotiation request. In this way, the pSEPP can determine the target communication protection policy based on the pRH's communication protection policy and the cRH's communication protection policy, thereby generating a context. The specific implementation principle can be found in the description of the target communication protection policy in S1003 and will not be repeated here.

[0327] S1112 : The pSEPP sends a security parameter negotiation response to the cSEPP, and the cSEPP receives the security parameter negotiation response from the pSEPP.

[0328] The security parameter negotiation response may carry the identifier of the pRH, the identifier of the pRH context, and the target communication protection policy. In addition, the security parameter negotiation response may also carry other parameters, for which reference may be made to the relevant description in FIG4 above, which will not be repeated here.

[0329] S1113, pSEPP sends security parameter notification #5 to pRH, and pRH receives security parameter notification #5 from pSEPP.

[0330] Security parameter notification #5 can carry the target communication protection policy for pH to generate context.

[0331] S1114 , cSEPP sends security parameter notification # 6 to cRH, and cRH receives security parameter notification # 6 from cSEPP.

[0332] Security parameter notification #6 can carry the target communication protection policy to generate the context for the CH.

[0333] At this point, the secure connection between pRH and cRH is established.

[0334] S1115 , cSEPP sends NF service request # 1 to cRH, and cRH receives NF service request # 1 from cSEPP.

[0335] S1116, cRH uses the context to protect the NF service request.

[0336] Among them, the specific implementation principles of S1115-S1116 can refer to the relevant introduction of S812-S813 above, which will not be repeated here.

[0337] S1117 , cRH sends the protected NF service request # 1 to pRH, and pRH receives the protected NF service request # 1 from cRH.

[0338] There may also be cIPX and / or pIPX between cRH and pRH, that is, the protected NF service request can be forwarded to pRH hop by hop through these pIPX.

[0339] S1118, the pRH uses the context to verify the protected NF service request.

[0340] Based on the cRH context identifier in the protected NF Service Request #1, the pRH can determine to use the corresponding context, that is, use the target communication protection policy, to verify the protected NF Service Request #1. If the verification is successful, the pRH sends the NF Service Request #1 to the pSEPP, which then sends the NF Service Request #1 to the network element in the network to which the pSEPP belongs, such as PLMN #2, to provide the corresponding service. Otherwise, the pRH discards the NF Service Request #1.

[0341] S1119 , pSEPP sends NF service request # 2 to pRH, and pRH receives NF service request # 2 from pSEPP.

[0342] S1120, pRH uses the context to protect NF service request #2.

[0343] Among them, the specific implementation principles of S1119-S1120 can refer to the relevant introduction of the above S912-S913, which will not be repeated here.

[0344] S1121, pRH sends the protected NF service request to cRH, and cRH receives the protected NF service request from pRH.

[0345] There may also be cIPX and / or pIPX between pRH and cRH, that is, the protected NF service request #2 can be forwarded hop by hop to cRH through these pIPX.

[0346] S1122, cRH uses the context to verify the protected NF service request #2.

[0347] Based on the pRH context identifier in the protected NF Service Request #2, the cRH determines to use the corresponding context, that is, to verify the protected NF Service Request #2 using the target communication protection policy. If the verification passes, the cRH sends the NF Service Request #2 to the cSEPP, which then proceeds to send the NF Service Request #2 to the network element within the cSEPP's network, such as PLMN #1, to provide the corresponding service. Otherwise, the cRH discards the NF Service Request #2.

[0348] In addition, the execution order between S1115-S1118 and S1119-S1122 is not limited.

[0349] It can be understood that in the communication method shown in Figures 7 to 11 above, the functions of the first security agent entity and the second security agent entity can be replaced with each other, that is, the second security agent entity can also perform the functions of the first security agent entity in the above method, and accordingly, the first security agent entity can also perform the functions of the second security agent entity in the above method.

[0350] The communication method provided in the embodiment of the present application is described in detail above in conjunction with Figures 7 to 11. The communication device for executing the communication method provided in the embodiment of the present application is described in detail below in conjunction with Figures 12 to 13.

[0351] Figure 12 is a structural diagram of a communication device according to an embodiment of the present application. As shown in Figure 12, the communication device 1200 includes a transceiver module 1201 and a processing module 1202. For ease of illustration, Figure 12 only shows the main components of the communication device.

[0352] In some embodiments, the communication device 1200 may be adapted to operate in the communication system shown in FIG6 , and may perform the functions of the first security proxy entity (e.g., pSEPP) in the methods shown in FIG7 to FIG9 . One of the first security proxy entity and the second security proxy entity may be contracted with a first relay entity, and the first relay entity may serve as a relay for communication between the first security proxy entity and the second security proxy entity.

[0353] Processing module 1202 can be used to execute the processing functions of communication device 1200, and transceiver module 1201 can be used to execute other functions of communication device 1200 besides processing functions. For example, processing module 1202 is used to determine a target communication protection mechanism based on the communication protection mechanisms supported by the first relay entity and the communication protection mechanisms supported by the third security proxy entity. Processing module 1202 is also used to establish a secure connection between the third security proxy entity and the first relay entity via transceiver module 1201 based on the target communication protection mechanism. The third security proxy entity is the security proxy entity of the first and second security proxy entities that has not signed a contract with the first relay entity.

[0354] Optionally, the transceiver module 1201 may include a sending module (not shown in FIG12 ) and a receiving module (not shown in FIG12 ). The sending module is used to implement the sending function of the communication device 1200 , and the receiving module is used to implement the receiving function of the communication device 1200 .

[0355] Optionally, the communication device 1200 may further include a storage module (not shown in FIG. 12 ) storing a program or instruction. When the processing module 1202 executes the program or instruction, the communication device 1200 may perform the functions of the first security agent entity in the method shown in FIG. 7 to FIG. 9 in the above method.

[0356] It can be understood that the communication device 1200 can be a network device, a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0357] In addition, the technical effects of the communication device 1200 can refer to the technical effects of the communication method shown in Figures 7 to 9, and will not be repeated here.

[0358] In some embodiments, the communication device 1200 may also be used in the communication system shown in FIG6 to perform the functions of the second security proxy entity (e.g., cSEPP) in the methods shown in FIG7 to FIG9 . The second security proxy entity contracts with the first relay entity, which serves as a relay for communication between the first and second security proxy entities.

[0359] The processing module 1202 can be used to execute the processing functions of the communication device 1200, and the transceiver module 1201 can be used to execute other functions of the communication device 1200 other than the processing functions. For example, the transceiver module 1201 is used to send the communication protection mechanism supported by the first relay entity to the first security proxy entity, and receive the target communication protection mechanism from the first security proxy entity. The processing module 1202 is used to establish a secure connection between the first relay entity and the first security proxy entity based on the target communication protection mechanism. The first relay entity and the second security proxy entity have signed a contract, and the first relay entity is a relay for communication between the first security proxy entity and the second security proxy entity. The target communication protection mechanism is a communication protection mechanism determined based on the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by the first security proxy entity.

[0360] Optionally, the transceiver module 1201 may include a sending module (not shown in FIG12 ) and a receiving module (not shown in FIG12 ). The sending module is used to implement the sending function of the communication device 1200 , and the receiving module is used to implement the receiving function of the communication device 1200 .

[0361] Optionally, the communication device 1200 may further include a storage module (not shown in FIG. 12 ) storing a program or instruction. When the processing module 1202 executes the program or instruction, the communication device 1200 may perform the functions of the second security agent entity in the method shown in FIG. 7 to FIG. 9 in the above method.

[0362] It can be understood that the communication device 1200 can be a network device, a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0363] In addition, the technical effects of the communication device 1200 can refer to the technical effects of the communication method shown in Figures 7 to 9, and will not be repeated here.

[0364] In some embodiments, the communication device 1200 may also be used in the communication system shown in FIG6 to perform the functions of the second security proxy entity (e.g., cSEPP) in the methods shown in FIG7 to FIG9 . In this case, the first security proxy entity contracts with the first relay entity, and the first relay entity serves as a relay for communication between the first security proxy entity and the second security proxy entity.

[0365] The processing module 1202 can be used to execute the processing functions of the communication device 1200, and the transceiver module 1201 can be used to execute other functions of the communication device 1200 other than the processing functions. For example, the transceiver module 1201 is used to send the communication protection mechanism supported by the second security agent entity to the first security agent entity, and receive the target communication protection mechanism from the first security agent entity. The processing module 1202 is used to establish a secure connection with the first relay entity based on the target communication protection mechanism. The target communication protection mechanism is a communication protection mechanism determined based on the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by the second security agent entity. The first relay entity signs a contract with the first security agent entity, and the first relay entity is a relay for communication between the first security agent entity and the second security agent entity.

[0366] Optionally, the transceiver module 1201 may include a sending module (not shown in FIG12 ) and a receiving module (not shown in FIG12 ). The sending module is used to implement the sending function of the communication device 1200 , and the receiving module is used to implement the receiving function of the communication device 1200 .

[0367] Optionally, the communication device 1200 may further include a storage module (not shown in FIG. 12 ) storing a program or instruction. When the processing module 1202 executes the program or instruction, the communication device 1200 may perform the functions of the second security agent entity in the method shown in FIG. 7 to FIG. 9 in the above method.

[0368] It can be understood that the communication device 1200 can be a network device, a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0369] In some embodiments, the communication device 1200 may be adapted for use in the communication system shown in FIG6 , and may perform the functions of the first security proxy entity (e.g., pSEPP) in the methods shown in FIG10 and FIG11 . The first security proxy entity contracts with a first relay entity, and the second security proxy entity contracts with a second relay entity. Both the first relay entity and the second relay entity serve as relays for communication between the first and second security proxy entities.

[0370] The processing module 1202 can be used to perform the processing functions of the communication device 1200, and the transceiver module 1201 can be used to perform other functions of the communication device 1200 in addition to the processing functions. For example, the transceiver module 1201 is used to receive, from the second security proxy entity, a communication protection mechanism supported by the second relay entity. The processing module 1202 is used to determine a target communication protection mechanism based on the communication protection mechanisms supported by the first relay entity and the communication protection mechanisms supported by the second relay entity, and then establish a secure connection between the first relay entity and the second relay entity through the transceiver module 1201 based on the target communication protection mechanism.

[0371] Optionally, the transceiver module 1201 may include a sending module (not shown in FIG12 ) and a receiving module (not shown in FIG12 ). The sending module is used to implement the sending function of the communication device 1200 , and the receiving module is used to implement the receiving function of the communication device 1200 .

[0372] Optionally, the communication device 1200 may further include a storage module (not shown in FIG. 12 ) storing a program or instruction. When the processing module 1202 executes the program or instruction, the communication device 1200 may perform the functions of the first security agent entity in the method shown in FIG. 10 and FIG. 11 in the above method.

[0373] It can be understood that the communication device 1200 can be a network device, a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0374] In addition, the technical effects of the communication device 1200 can refer to the technical effects of the communication method shown in Figures 7 to 9, and will not be repeated here.

[0375] In some embodiments, the communication device 1200 may be adapted to operate in the communication system shown in FIG6 , and perform the functions of the second security proxy entity (e.g., cSEPP) in the methods shown in FIG10 and FIG11 . The first security proxy entity contracts with the first relay entity, and the second security proxy entity contracts with the second relay entity. Both the first relay entity and the second relay entity serve as relays for communication between the first and second security proxy entities.

[0376] The processing module 1202 can be used to execute the processing functions of the communication device 1200, and the transceiver module 1201 can be used to execute other functions of the communication device 1200 in addition to the processing functions. For example, the transceiver module 1201 is used to send the communication protection mechanism supported by the second relay entity to the first security proxy entity and receive the target communication protection mechanism from the first security proxy entity. The processing module 1202 is used to establish a secure connection between the first relay entity and the second relay entity based on the target communication protection mechanism. The target communication protection mechanism is a communication protection mechanism determined based on the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by the second relay entity.

[0377] Optionally, the transceiver module 1201 may include a sending module (not shown in FIG12 ) and a receiving module (not shown in FIG12 ). The sending module is used to implement the sending function of the communication device 1200 , and the receiving module is used to implement the receiving function of the communication device 1200 .

[0378] Optionally, the communication device 1200 may further include a storage module (not shown in FIG. 12 ) storing a program or instruction. When the processing module 1202 executes the program or instruction, the communication device 1200 may perform the functions of the second security agent entity in the method shown in FIG. 10 and FIG. 11 in the above method.

[0379] It can be understood that the communication device 1200 can be a network device, a chip (system) or other parts or components that can be set in the network device, or a device that includes a network device. This application does not limit this.

[0380] Figure 13 is a second structural diagram of a communication device provided in an embodiment of the present application. Exemplarily, the communication device may be a network device, or a chip (system) or other component or assembly that can be provided in a network device. As shown in Figure 13, the communication device 1300 may include a processor 1301. Optionally, the communication device 1300 may further include a memory 1302 and / or a transceiver 1303. The processor 1301 is coupled to the memory 1302 and the transceiver 1303, such as by a communication bus.

[0381] The following is a detailed introduction to the various components of the communication device 1300 with reference to FIG13:

[0382] The processor 1301 is the control center of the communication device 1300 and can be a single processor or a collective term for multiple processing elements. For example, the processor 1301 can be one or more central processing units (CPUs), an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiments of the present application, such as one or more digital signal processors (DSPs) or one or more field programmable gate arrays (FPGAs).

[0383] Optionally, the processor 1301 can execute various functions of the communication device 1300 by running or executing software programs stored in the memory 1302 and calling data stored in the memory 1302, such as executing the communication method shown in Figures 7 to 11 above.

[0384] In a specific implementation, as an embodiment, the processor 1301 may include one or more CPUs, such as CPU0 and CPU1 shown in FIG13 .

[0385] In a specific implementation, as an embodiment, the communication device 1300 may also include multiple processors, such as the processor 1301 and the processor 1304 shown in FIG13 . Each of these processors may be a single-core processor (single-CPU) or a multi-core processor (multi-CPU). The processor herein may refer to one or more devices, circuits, and / or processing cores for processing data (e.g., computer program instructions).

[0386] Among them, the memory 1302 is used to store the software program for executing the solution of this application, and the execution is controlled by the processor 1301. The specific implementation method can refer to the above method embodiment and will not be repeated here.

[0387] Alternatively, the memory 1302 may be a read-only memory (ROM) or other type of static storage device that can store static information and instructions, a random access memory (RAM) or other type of dynamic storage device that can store information and instructions, or an electrically erasable programmable read-only memory (EEPROM), a compact disc read-only memory (CD-ROM) or other optical disc storage, an optical disc storage (including a compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, etc.), a magnetic disk storage medium or other magnetic storage device, or any other medium that can be used to carry or store desired program code in the form of instructions or data structures and can be accessed by a computer, but is not limited thereto. The memory 1302 may be integrated with the processor 1301 or exist independently and be coupled to the processor 1301 via an interface circuit (not shown in FIG. 13 ) of the communication device 1300. This embodiment of the present application does not specifically limit this.

[0388] The transceiver 1303 is used for communicating with other communication devices, such as communicating with a terminal or another network device.

[0389] Optionally, the transceiver 1303 may include a receiver and a transmitter (not shown separately in FIG13 ), wherein the receiver is used to implement a receiving function, and the transmitter is used to implement a sending function.

[0390] Optionally, the transceiver 1303 can be integrated with the processor 1301, or can exist independently and be coupled to the processor 1301 through the interface circuit of the communication device 1300 (not shown in Figure 13). This embodiment of the present application does not specifically limit this.

[0391] It is understandable that the structure of the communication device 1300 shown in FIG13 does not constitute a limitation on the communication device, and an actual communication device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently.

[0392] In addition, the technical effects of the communication device 1300 can refer to the technical effects of the methods described in the above method embodiments, and will not be repeated here.

[0393] The above embodiments can be implemented in whole or in part by software, hardware (such as circuits), firmware or any other combination. When implemented using software, the above embodiments 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 or computer programs. When the computer instructions or computer program are loaded or 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 can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable device. The computer instructions can 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 can be transmitted from one website, computer, server or data center to another website, computer, server or data center via a wired (such as infrared, wireless, microwave, etc.) method. The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device such as a server or data center that contains one or more available media sets. The available medium can be a magnetic medium (for example, a floppy disk, a hard disk, a tape), an optical medium (for example, a DVD), or a semiconductor medium. The semiconductor medium can be a solid-state drive.

[0394] It should be understood that in the various embodiments of the present application, the size of the serial numbers of the above-mentioned processes does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0395] Those skilled in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0396] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A communication method, characterized in that: One of a first security proxy entity and a second security proxy entity signs a contract with a first relay entity, the first relay entity being a relay for communication between the first security proxy entity and the second security proxy entity, the method comprising: The first security proxy entity determines a target communication protection mechanism according to the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by a third security proxy entity, wherein the third security proxy entity is a security proxy entity of the first security proxy entity and the second security proxy entity that has not signed a contract with the first relay entity; The first security proxy entity establishes a security connection between the third security proxy entity and the first relay entity according to the target communication protection mechanism.

2. The method according to claim 1, characterized in that The third security proxy entity is the first security proxy entity, and the first security proxy entity establishes a security connection between the third security proxy entity and the first relay entity according to the target communication protection mechanism, including: The first security proxy entity obtains, according to the target communication protection mechanism, a first communication protection strategy required for the first security proxy entity to execute the target communication protection mechanism; The first security proxy entity determines a target communication protection strategy according to the first communication protection strategy and a second communication protection strategy required by the first relay entity to execute the target communication protection mechanism; The first security proxy entity establishes a secure connection with the first relay entity by sending the target communication protection policy to the second security proxy entity.

3. The method according to claim 2, characterized in that The method further comprises: The first security proxy entity receives a service request message from the first relay entity, wherein the service request message is a message protected by the target communication protection policy; The first security proxy entity verifies the service request message using the target communication protection policy.

4. The method according to claim 2 or 3, characterized in that: The method further comprises: The first security proxy entity sends the target communication protection mechanism to the second security proxy entity; The first security proxy entity receives the second communication protection policy from the second security proxy entity.

5. The method according to any one of claims 1 to 4, characterized in that The method further comprises: The first security proxy entity receives, from the second security proxy entity, a communication protection mechanism supported by the first relay entity.

6. The method according to claim 1, characterized in that The third security proxy entity is the second security proxy entity, and the first security proxy entity establishes a security connection between the third security proxy entity and the first relay entity according to the target communication protection mechanism, including: The first security proxy entity obtains, according to the target communication protection mechanism, a third communication protection strategy required for the first relay entity to execute the target communication protection mechanism; The first security proxy entity determines a target communication protection strategy according to the third communication protection strategy and a fourth communication protection strategy required for the second security proxy entity to execute the target communication protection mechanism; The first security proxy entity establishes a security connection between the first relay entity and the second security proxy entity by sending the target communication protection policy to the first relay entity and the second security proxy entity.

7. The method according to claim 6, characterized in that The first security proxy entity obtains, according to the target communication protection mechanism, a third communication protection strategy required by the first relay entity to execute the target communication protection mechanism, including: The first security proxy entity sends the target communication protection mechanism to the first relay entity; The first security proxy entity receives the third communication protection policy from the first relay entity.

8. The method according to claim 6 or 7, characterized in that: The method further comprises: The first security proxy entity sends the target communication protection mechanism to the second security proxy entity; The first security proxy entity receives the fourth communication protection policy from the second security proxy entity.

9. A communication method, characterized in that: The method comprises: The second security proxy entity sends a communication protection mechanism supported by the first relay entity to the first security proxy entity, the first relay entity is contracted with the second security proxy entity, and the first relay entity is a communication protection mechanism supported by the first security proxy entity and the second Relay of secure proxy entity communications; The second security proxy entity receives a target communication protection mechanism from the first security proxy entity, where the target communication protection mechanism is a communication protection mechanism determined according to the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by the first security proxy entity; The second security proxy entity establishes a security connection between the first relay entity and the first security proxy entity according to the target communication protection mechanism.

10. The method according to claim 9, characterized in that The second security proxy entity establishes a security connection between the first relay entity and the first security proxy entity according to the target communication protection mechanism, including: The second security proxy entity obtains, according to the target communication protection mechanism, a second communication protection strategy required by the first relay entity to execute the target communication protection mechanism; The second security proxy entity sends the second communication protection policy to the first security proxy entity; The second security proxy entity receives a target communication protection policy from the first security proxy entity, where the target communication protection policy is a communication protection policy determined according to the second communication protection policy and a first communication protection policy required by the first security proxy entity to execute the target communication protection mechanism; The second security proxy entity establishes a secure connection between the first relay entity and the first security proxy entity by sending the target communication protection policy to the first relay entity.

11. The method according to claim 10, characterized in that The second security proxy entity obtains, according to the target communication protection mechanism, a second communication protection strategy required by the first relay entity to execute the target communication protection mechanism, including: The second security proxy entity sends the target communication protection mechanism to the first relay entity; The second security proxy entity receives the second communication protection policy from the first relay entity.

12. A communication method, characterized in that: The method comprises: The second security proxy entity sends the communication protection mechanism supported by the second security proxy entity to the first security proxy entity; The second security proxy entity receives a target communication protection mechanism from the first security proxy entity, where the target communication protection mechanism is a communication protection mechanism determined based on the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by the second security proxy entity, the first relay entity is contracted with the first security proxy entity, and the first relay entity is a relay for communication between the first security proxy entity and the second security proxy entity; The second security proxy entity establishes a secure connection with the first relay entity according to the target communication protection mechanism.

13. The method according to claim 12, characterized in that The second security proxy entity establishes a secure connection with the first relay entity according to the target communication protection mechanism, including: The second security proxy entity determines, according to the target communication protection mechanism, a fourth communication protection strategy required for the second security proxy entity to execute the target communication protection mechanism; The second security proxy entity sends the fourth communication protection policy to the first security proxy entity; The second security proxy entity receives a target communication protection policy from the first security proxy entity, where the target communication protection policy is a communication protection policy determined according to a third communication protection policy required by the first relay entity to execute the target communication protection mechanism and the fourth communication protection policy; The second security proxy entity establishes a secure connection with the first relay entity according to the target communication protection policy.

14. The method according to claim 13, characterized in that The method further comprises: The second security proxy entity receives a service request message from the first relay entity, where the service request message is a message protected by the first relay entity using the target communication protection policy; The second security proxy entity verifies the service request message using the target communication protection policy.

15. The method according to any one of claims 1 to 14, characterized in that The target communication protection mechanism is any one of the following: a secure transport layer protocol TLS mechanism or an N32 interconnection security protocol PRINS mechanism.

16. A communication device, characterized in that: One of the communication device and the second security proxy entity signs a contract with a first relay entity, the first relay entity is a relay for communication between the communication device and the second security proxy entity, and the device includes: a processing module, configured to determine a target communication protection mechanism according to a communication protection mechanism supported by the first relay entity and a communication protection mechanism supported by a third security proxy entity, wherein the third security proxy entity is a security proxy entity of the communication device and the second security proxy entity that has not signed a contract with the first relay entity; The processing module is further configured to establish a secure connection between the third security proxy entity and the first relay entity through the transceiver module according to the target communication protection mechanism.

17. The device according to claim 16, characterized in that The third security proxy entity is the communication device, and the processing module is further used to obtain the first communication protection strategy required for the communication device to execute the target communication protection mechanism according to the target communication protection mechanism; The processing module is further used to determine a target communication protection strategy according to the first communication protection strategy and a second communication protection strategy required for the first relay entity to execute the target communication protection mechanism; The processing module is further used to send the target communication protection policy to the second security proxy entity through the transceiver module to establish a secure connection with the first relay entity.

18. The device according to claim 17, characterized in that The transceiver module is further used to receive a service request message from the first relay entity, where the service request message is a message protected by the target communication protection policy; the processing module is further used to verify the service request message using the target communication protection policy.

19. The device according to claim 17 or 18, characterized in that The transceiver module is further used to send the target communication protection mechanism to the second security proxy entity; the transceiver module is further used to receive the second communication protection strategy from the second security proxy entity.

20. The device according to any one of claims 16 to 19, characterized in that The transceiver module is further used to receive the communication protection mechanism supported by the first relay entity from the second security proxy entity.

21. The device according to claim 16, characterized in that The third security proxy entity is the second security proxy entity, and the processing module is further used to obtain, according to the target communication protection mechanism, a third communication protection strategy required for the first relay entity to execute the target communication protection mechanism; The processing module is further used to determine a target communication protection strategy according to the third communication protection strategy and a fourth communication protection strategy required for the second security proxy entity to execute the target communication protection mechanism; The processing module is further used to send the target communication protection policy to the first relay entity and the second security proxy entity through the transceiver module to establish a secure connection between the first relay entity and the second security proxy entity.

22. The device according to claim 21, characterized in that The transceiver module is further used to send the target communication protection mechanism to the first relay entity; the transceiver module is further used to receive the third communication protection strategy from the first relay entity.

23. The device according to claim 21 or 22, characterized in that The transceiver module is further used to send the target communication protection mechanism to the second security proxy entity; the transceiver module is further used to receive the fourth communication protection strategy from the second security proxy entity.

24. A communication device, characterized in that: The device comprises: a transceiver module, configured to send a communication protection mechanism supported by a first relay entity to a first security proxy entity, wherein the first relay entity is contracted with the communication device and the first relay entity is a relay for communication between the first security proxy entity and the communication device; The transceiver module is further used to receive a target communication protection mechanism from the first security proxy entity, where the target communication protection mechanism is a communication protection mechanism determined according to the communication protection mechanism supported by the first relay entity and the communication protection mechanism supported by the first security proxy entity; The processing module is used to establish a secure connection between the first relay entity and the first security proxy entity through the transceiver module according to the target communication protection mechanism.

25. The device according to claim 24, characterized in that The processing module is further used to obtain, according to the target communication protection mechanism, a second communication protection strategy required for the first relay entity to execute the target communication protection mechanism; the transceiver module is further used to send the second communication protection strategy to the first security proxy entity; The transceiver module is further used to receive a target communication protection policy from the first security proxy entity, wherein the target communication protection policy is a communication protection policy determined according to the second communication protection policy and the first communication protection policy required by the first security proxy entity to execute the target communication protection mechanism; The processing module is further used to send the target communication protection policy to the first relay entity through the transceiver module, and establish a secure connection between the first relay entity and the first security proxy entity.

26. The device according to claim 25, characterized in that The transceiver module is further used to send the target communication protection mechanism to the first relay entity; the transceiver module is further used to receive the second communication protection strategy from the first relay entity.

27. A communication device, characterized in that: The device comprises: A transceiver module, used for sending a communication protection mechanism supported by the communication device to the first security proxy entity; The transceiver module is further used to receive a target communication protection mechanism from the first security proxy entity, where the target communication protection mechanism is a communication protection mechanism determined based on a communication protection mechanism supported by the first relay entity and a communication protection mechanism supported by the communication device, the first relay entity is contracted with the first security proxy entity, and the first relay entity is a relay for communication between the first security proxy entity and the communication device; The processing module is used to establish a secure connection with the first relay entity according to the target communication protection mechanism.

28. The device according to claim 27, characterized in that The processing module is further used to determine, according to the target communication protection mechanism, a fourth communication protection strategy required for the communication device to execute the target communication protection mechanism; the transceiver module is further used to send the fourth communication protection strategy to the first security proxy entity; The transceiver module is further used to receive a target communication protection policy from the first security proxy entity, wherein the target communication protection policy is a third communication protection policy required by the first relay entity to execute the target communication protection mechanism, and a communication protection policy determined by the fourth communication protection policy; The processing module is further used to establish a secure connection with the first relay entity through the transceiver module according to the target communication protection strategy.

29. The device according to claim 28, characterized in that The transceiver module is further used to receive a service request message from the first relay entity, where the service request message is a message protected by the first relay entity using the target communication protection policy; the processing module is further used to verify the service request message using the target communication protection policy.

30. A communication device, characterized in that: The communication device comprises: a processor and a memory; the memory is used to store computer instructions, and when the processor executes the instructions, the communication device executes the method according to any one of claims 1 to 15.

31. A communication system, characterized in that: The communication system comprises: a first security agent entity for executing the method according to any one of claims 1-8, and a second security agent entity for executing the method according to any one of claims 9-15.

32. A computer-readable storage medium, characterized in that: The computer-readable storage medium comprises a computer program or instructions, and when the computer program or instructions are executed on a computer, the computer is caused to perform the method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Indicator TLS extension handling for indirect communication in communication network

    WO2021099676A1

  • Distributed network edge security architecture

    WO2023001881A1