Secure communication method, related device and system
The SEPP device negotiates the message modification policy with the IPX device and passes it to the receiving SEPP device, which solves the problem of increased resources and costs caused by multiple roaming partner network negotiation policies, and achieves resource saving and security improvement.
Patent Information
- Application Number
- CN202010537382.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-06-12
- Publication Date
- 2024-09-17
- Estimated Expiration
- 2040-06-12
AI Technical Summary
In the existing technology, a SEPP device needs to negotiate message modification policies with SEPP devices in multiple roaming partner networks, resulting in increased resource consumption and cost.
The SEPP device negotiates the message modification policy with its connected IPX device, and transmits the policy to the receiving SEPP device through N32 messages, reducing the number of policies that the sender and the receiver need to maintain, and saving resources and costs.
Significantly reduces the number of message modification policies maintained by SEPP equipment, saves resources and costs, and improves the security of message transmission.
Smart Images

Figure CN113873510B
Abstract
Description
Technical Field
[0001] The present application relates to the field of communication technology, and in particular to a secure communication method, a related communication device, a system, and a related computer-readable storage medium. Background Art
[0002] Currently, the Third Generation Partnership Project (3 rd The 3rd Generation Partner Project (3GPP) defines the Security and Edge Protection Proxy (SEPP) device as a border security gateway for the 5G Core (5G Core, 5GC). The SEPP device is a proxy device for connecting different operator networks. The signaling interaction between the Network Function (NF) device inside the 5G Core and other operator networks is forwarded through the SEPP device.
[0003] Among them, SEPP devices of different operator networks can forward messages through the IP exchange service (IPX) network. SEPP devices support IPX devices in the IPX network to modify the content of the transmission message. IPX devices can modify the transmission message according to the predefined message modification policy, thereby hiding the network topology from the outside and enhancing network security.
[0004] However, in the prior art, the SEPP device of the local network needs to negotiate with the SEPP devices of different operators (roaming partner) networks about message modification policies through different IPX networks. If the number of roaming partner networks connected to the local network is large, and there are many optional paths between the SEPP device of the local network and the SEPP device of the roaming network, that is, the SEPP device of the local network and the SEPP device of the roaming network can transmit messages through different IPX devices, then the SEPP device needs to maintain a large number of message modification policies, which consumes more resources of the SEPP device and increases the cost of the SEPP device. Summary of the invention
[0005] Embodiments of the present application provide a secure communication method, system, related devices, and computer-readable storage media.
[0006] In a first aspect, an embodiment of the present application provides a secure communication method, including the following operations:
[0007] The SEPP device receives a first signaling message sent by a network function NF device, then obtains a message modification policy of an IPX device, and sends a first N32 message to the IPX device, wherein the first N32 message carries the first signaling message and the message modification policy.
[0008] In the technical solution provided by this embodiment, the SEPP device at the sending end can obtain the message modification policy of the IPX device connected to it, and then send the first N32 message to the IPX device, and the first N32 message carries the first signaling message and the message modification policy. Thus, the IPX device can send the received first N32 message to the SEPP device at the receiving end, and the SEPP device at the receiving end can verify the first N32 message according to the message modification policy carried in the first N32 message. Compared with the prior art, in the secure communication method provided by this embodiment, the SEPP device at the sending end does not need to negotiate the message modification policy with the SEPP device at the receiving end, but negotiates the modification policy with the IPX device connected to it, and then sends the message modification policy of the IPX device to the SEPP device at the receiving end through the first N32 message, which significantly reduces the number of message modification policies maintained on the SEPP device at the sending end, saves the resources of the SEPP device, and reduces the cost of the SEPP device.
[0009] Correspondingly, the receiving SEPP device can obtain the message modification policy of the IPX device connected to the sending SEPP device from the received N32 message, and does not need to maintain the message modification policies corresponding to different message transmission paths locally, which saves the resources of the receiving SEPP device and reduces costs.
[0010] In a possible solution, the SEPP device can obtain the security certificate of the IPX device and add the security certificate to the message body of the first N32 message. Furthermore, the receiving end SEPP device directly obtains the security certificate of the IPX device from the first N32 message, and does not need to configure the security certificate of the IPX device locally, thus saving storage space of the receiving end SEPP device.
[0011] In a possible solution, the SEPP device may use a symmetric key to encrypt the security certificate of the IPX device. Then, the SEPP device that receives the N32 message may use the symmetric key to decrypt and obtain the security certificate of the IPX device.
[0012] In a possible solution, the SEPP device obtains the security certificate of the IPX device, and the first N32 message sent by the SEPP device carries the security certificate of the IPX device.
[0013] In one possible solution, the message modification policy includes allowing modification of a first field in a message header of the first N32 message.
[0014] In one possible solution, the message modification policy includes not allowing modification of the second field in the message header of the first N32 message.
[0015] In a possible solution, the SEPP device may send the first N32 message to the IPX device in the following manner:
[0016] The SEPP device encapsulates the first signaling message and the message modification policy of the IPX device in the message body of the first N32 message and sends it to the IPX device. The message modification policy can be carried in an existing field or in a newly added field.
[0017] In a possible solution, the SEPP device carries the message modification policy in the plain text part of the message body of the first N32 message and sends it to the IPX device. The SEPP device can perform integrity protection on the plain text part to prevent other devices from modifying the plain text part, thereby enhancing security.
[0018] In a possible solution, the SEPP device uses a symmetric key to encrypt the message modification policy, and then carries the ciphertext in the message body of the first N32 message and sends it to the IPX device, preventing other devices from reading or modifying the message modification policy, thereby enhancing security. Correspondingly, the SEPP device that receives the first N32 message can use the symmetric key to decrypt the ciphertext and obtain the message modification policy of the IPX device.
[0019] In a possible solution, the SEPP device may obtain the message modification policy of the IPX device from the local configuration, and then add the modification policy of the IPX device to the first N32 message.
[0020] In a possible solution, the SEPP device receives a second N32 message sent by the IPX device, the second N32 message carrying the second signaling message and the modified content of the IPX device; the SEPP device can verify the modified content in the second N32 message according to the message modification policy of the IPX device, and if the verification succeeds, send the second signaling message to the network function NF device. If the verification fails, send a failure response to the IPX device and discard the second N32 message.
[0021] In a second aspect, the present application provides a secure communication method, which mainly includes:
[0022] The SEPP device receives the N32 message, which carries the signaling message and the message modification policy of the IPX device; then, the SEPP device can verify the N32 message according to the message modification policy of the IPX device, and if the verification succeeds, send the signaling message in the N32 message to the network function NF device.
[0023] In the secure communication method provided by the present invention, the SEPP device that receives the N32 message can obtain the message modification policy of the IPX device from the N32 message, and use the modification policy to verify the N32 message. The SEPP device does not need to configure the message modification policy of the IPX device locally, thereby saving storage space and reducing costs.
[0024] In a possible solution, the SEPP device receives the N32 message sent by the second IPX device, and the N32 message is sent to the SEPP device via the first IPX device.
[0025] In a possible solution, if the SEPP device fails to verify the N32 message, a failure response is sent to the IPX device, and the N32 message is discarded.
[0026] In a possible solution, the N32 message received by the SEPP device also carries the security certificate of the IPX device. The SEPP device can verify the N32 message in the following manner: the SEPP device verifies the signature of the modification block of the IPX device in the N32 message according to the security certificate. If the verification is successful, the modified content in the modification block is verified according to the message modification policy. If the verification fails, a failure response is sent to the IPX device and the N32 message is discarded.
[0027] In a possible solution, the IPX device modification block includes the modification content of the IPX device.
[0028] In a possible solution, the IPX device modification block includes the identifier of the IPX device.
[0029] In a possible solution, the IPX device modifies a metadata field in the block, where the metadata field includes an identifier of the IPX device.
[0030] In a possible solution, the SEPP device obtains the message modification policy of the IPX device from the message body of the N32 message.
[0031] In a possible solution, the SEPP device decrypts the message body of the N32 message to obtain the message modification policy of the IPX device.
[0032] In a possible solution, the SEPP device decrypts the message body of the N32 message to obtain the signaling message carried in the N32 message, and then can send the signaling message to other network devices.
[0033] In a possible solution, the N32 message also carries the modified content of the IPX device, and the SEPP device can verify the modified content of the IPX device according to the message modification policy of the IPX device.
[0034] In a third aspect, the present application provides a secure communication method, which mainly includes:
[0035] The first SEPP device receives the N32 message sent by the first IPX device, wherein the N32 message carries a signaling message; then, the first SEPP device obtains the message modification policy of the first IPX device, and verifies the N32 message according to the message modification policy. If the verification succeeds, the first SEPP device sends the signaling message to the network function NF device.
[0036] In the solution provided in this aspect, the first SEPP device can receive the N32 message of the first IPX device connected thereto, and verify the N32 message, thereby improving the security of message transmission.
[0037] In a possible solution, the first SEPP device obtains the message modification policy of the first IPX device locally. The message modification policy of the first IPX device can be configured on the SEPP device.
[0038] In a possible solution, the N32 message also carries the modified content of the first IPX device. The first SEPP device verifies the N32 message in the following manner: the first SEPP device verifies the modified content of the first IPX device in the N32 message according to the message modification policy of the first IPX device.
[0039] In a possible solution, if the first SEPP device fails to verify the N32 message, a failure response is sent to the first IPX device, and the N32 message is discarded.
[0040] In a possible solution, the N32 message also carries the security certificate of the second IPX device, the message modification policy of the second IPX device, and the modification block of the second IPX device. The second IPX device is connected to the second SEPP device.
[0041] At this time, the first SEPP device uses the security certificate to verify the modification block of the second IPX device. If the verification passes, the message modification policy of the second IPX device is used to verify the modified content in the modification block of the second IPX device.
[0042] In this solution, the first SEPP device performs two checks on the N32 message, namely, using the security certificate to check the modified block of the second IPX device and using the message modification policy of the second IPX device to check the modified content of the second IPX device, further enhancing security.
[0043] In a possible solution, the security certificate of the second IPX device includes the public key of the second IPX device.
[0044] In a possible solution, the first SEPP device receives a notification message sent by the second SEPP device, wherein the notification message carries the message modification policy of the second IPX device. At this time, the N32 message received by the first SEPP device carries the modification content of the second IPX device, but does not need to carry the message modification policy of the second IPX device.
[0045] At this time, the first SEPP device uses the message modification policy in the notification message to verify the modified content of the second IPX device in the N32 message.
[0046] In a possible solution, the second SEPP device receives a notification message sent by the first SEPP device, and the notification message carries the message modification policy of the first IPX device. In the solution provided in this aspect, when the second SEPP device subsequently receives an N32 message sent by the first SEPP device, it can verify the N32 message according to the message modification policy of the first IPX device in the notification message, thereby improving the security of message transmission.
[0047] In a possible solution, the notification message is used to exchange IPX device information between the first SEPP device and the second SEPP device.
[0048] In a possible solution, the notification message is an N32-C message. This solution transmits the message modification policy of the IPX device through the N32-C message, which can enhance the security of communication between the first SEPP device and the second SEPP device.
[0049] In a possible solution, when the notification message received by the first SEPP device carries the message modification policy of the second IPX device, the first SEPP device saves the identifier of the second IPX device and the message modification policy of the second IPX device. The saving can be understood as establishing an association between the identifier of the second IPX device and the message modification policy of the second IPX device.
[0050] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, it can complete the method described in any one of the first aspect, the second aspect, the third aspect and the fourth aspect.
[0051] In the fifth aspect, an embodiment of the present application provides a security and border protection agent SEPP device, which includes: at least one processor and a mutually coupled memory, the memory storing computer program code, the processor calling and executing the computer program code in the memory, so that the SEPP device performs the method described in any one of the first aspect, the second aspect, the third aspect and the fourth aspect above.
[0052] In a sixth aspect, an embodiment of the present application provides a secure communication system, which includes:
[0053] A core network network function device and a SEPP device, wherein the core network network function device is configured to send a first signaling message to a first SEPP device;
[0054] The SEPP device is configured to execute the method described in any one of the first aspects above.
[0055] In a possible solution, the signaling message is a roaming signaling message.
[0056] In a seventh aspect, an embodiment of the present application provides a SEPP device, which can be used in the secure communication method provided in the corresponding first aspect.
[0057] The SEPP device provided in this aspect mainly includes: a first receiving unit, a first acquiring unit and a first sending unit.
[0058] The first receiving unit is used to receive a first signaling message sent by the network function NF device;
[0059] The first acquisition unit is used to acquire the message modification policy of the IP exchange service IPX device;
[0060] The first sending unit is used to send a first N32 message to the IPX device, where the first N32 message carries the first signaling message and a message modification policy of the IPX device.
[0061] In a possible solution, the first acquisition unit in the SEPP device is further used to acquire the security certificate of the IPX device. At this time, the first N32 message sent by the first sending unit carries the security certificate of the IPX device.
[0062] In a possible solution, the first sending unit in the SEPP device may send the first N32 message in the following manner:
[0063] The first sending unit encapsulates the first signaling message and the message modification policy of the IPX device in a message body of the first N32 message and sends the message to the IPX device.
[0064] In a possible solution, the message modification policy of the IPX device is carried in the plain text part of the message body of the first N32 message.
[0065] In a possible solution, the first acquisition unit may acquire the message modification policy of the IPX device from a local configuration.
[0066] In a possible solution, the first receiving unit of the SEPP device is further configured to receive a second N32 message sent by the IPX device, where the second N32 message carries the second signaling message and the modified content of the IPX device.
[0067] The SEPP device further comprises: a first verification unit, configured to verify the modification content of the IPX device in the second N32 message according to the message modification policy of the IPX device;
[0068] The above-mentioned first sending unit also sends the second signaling message to the network function NF device after the first verification unit succeeds in verification.
[0069] In an eighth aspect, an embodiment of the present application provides a SEPP device, which can be applied to the secure communication method provided in the second aspect above, and mainly includes: a second receiving unit, a second verification unit and a second sending unit.
[0070] Among them, the second receiving unit is used to receive an N32 message, which carries a signaling message and a message modification policy of an IPX device; the second verification unit is used to verify the N32 message according to the message modification policy of the IPX device; the second sending unit is used to send the signaling message to the network function NF device after the second verification unit successfully verifies the N32 message.
[0071] In a possible solution, the N32 message received by the second receiving unit in the SEPP device also carries the security certificate of the IPX device, and the second verification unit verifies the N32 message according to the message modification policy, including:
[0072] The second verification unit verifies the signature of the modification block of the IPX device in the N32 message according to the security certificate of the IPX device; after the verification is passed, the second verification unit further verifies the modification content in the modification block of the IPX device according to the message modification policy.
[0073] In a possible solution, the SEPP device further includes a decryption unit, which is used to decrypt the message body of the N32 message to obtain the message modification policy of the IPX device.
[0074] In a possible solution, the decryption unit in the SEPP device is further configured to decrypt the message body of the N32 message to obtain the signaling message carried in the N32 message.
[0075] In a ninth aspect, an embodiment of the present application provides a first SEPP device, which can be applied to the secure communication method provided in the third aspect above. For specific details and beneficial effects, reference can be made to the contents of the above aspect.
[0076] The first SEPP device provided in this aspect mainly includes: a third receiving unit, a third acquiring unit, a third checking unit and a third sending unit.
[0077] The third receiving unit is used to receive an N32 message sent by the first IPX device, wherein the N32 message carries a signaling message;
[0078] The third acquisition unit is used to acquire the message modification policy of the first IPX device;
[0079] The third verification unit is used to verify the N32 message according to the message modification strategy;
[0080] The third sending unit is used to send the signaling message to the network function NF device after the third verification unit verifies the N32 message successfully.
[0081] In a possible solution, the N32 message received by the third receiving unit also carries the modified content of the first IPX device. The third verification unit can verify the N32 message in the following manner: the third verification unit verifies the modified content of the first IPX device in the N32 message according to the message modification policy.
[0082] In a possible solution, the N32 message received by the third receiving unit also carries the security certificate of the second IPX device, the message modification policy of the second IPX device, and the modification block of the second IPX device. At this time, the third verification unit is further used to verify the modification block of the second IPX device using the security certificate, and when the verification passes, verify the modified content in the modification block of the second IPX device using the message modification policy of the second IPX device.
[0083] In a possible solution, the third receiving unit in the first SEPP device is further configured to receive a notification message sent by the second SEPP device, where the notification message carries the message modification policy of the second IPX device.
[0084] In a possible solution, the first SEPP device is a cSEPP device, and the second SEPP device is a pSEPP device.
[0085] In the tenth aspect, an embodiment of the present application provides a communication device, comprising: at least one input terminal, a signal processor and at least one output terminal; wherein the signal processor is used to execute part or all of the operations of any one method performed by the SEPP device in the embodiment of the present application.
[0086] In the eleventh aspect, an embodiment of the present application provides a communication device, including: an input interface circuit, a logic circuit and an output interface circuit, wherein the logic circuit is used to execute part or all of the operations of any one of the methods performed by the SEPP device in the embodiment of the present application.
[0087] In a twelfth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer device, enables the computer device to perform part or all of the operations of any method that can be performed by a SEPP device.
[0088] In a thirteenth aspect, an embodiment of the present application provides a SEPP device, which includes a memory and a processor coupled to each other, wherein the memory stores program code, and the processor calls and executes the program code in the memory, so that the SEPP device performs part or all of the operations of the above-mentioned communication method.
[0089] In a fourteenth aspect, an embodiment of the present application provides a communication device, comprising: at least one input terminal, a signal processor and at least one output terminal; wherein the signal processor is used to execute part or all of the operations of any one method performed by the IPX device in the embodiment of the present application.
[0090] In a fifteenth aspect, an embodiment of the present application provides a communication device, including: an input interface circuit, a logic circuit and an output interface circuit, wherein the logic circuit is used to execute part or all of the operations of any one of the methods performed by the IPX device in the embodiment of the present application.
[0091] In a sixteenth aspect, an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer device, enables the computer device to perform part or all of the operations of any method that can be performed by an IPX device.
[0092] In a seventeenth aspect, an embodiment of the present application provides an IPX device, comprising a memory and a processor coupled to each other, wherein the memory stores program code, and the processor calls and executes the program code in the memory, so that the IPX device performs part or all of the operations of the above-mentioned communication method.
[0093] In the solution provided in any of the above aspects, the N32 message is an N32-F message.
[0094] In the solution provided in any one of the above aspects, the SEPP device is a consumer's SEPP device or a producer's SEPP device.
[0095] In the solution provided in any one of the above aspects, the SEPP device is a visited SEPP device or a home SEPP device.
[0096] In the solutions provided in any of the above aspects, the message modification policy may be a default policy or a wildcard policy, thereby reducing the number of policies configured on the SEPP device or the IPX device. BRIEF DESCRIPTION OF THE DRAWINGS
[0097] The following is a brief introduction to the drawings required for use in the embodiments of the present application.
[0098] Figure 1-A It is a schematic diagram of a 5G network architecture used as an example in an embodiment of the present application.
[0099] Figure 1-B It is a schematic diagram of a network architecture in a roaming scenario as exemplified in an embodiment of the present application.
[0100] Figure 1-C It is a schematic diagram of a network architecture in another roaming scenario exemplified in an embodiment of the present application.
[0101] Figure 1-D It is a schematic diagram of a network architecture in another roaming scenario exemplified in an embodiment of the present application.
[0102] Figure 1-E It is a schematic diagram of a network architecture in another roaming scenario exemplified in an embodiment of the present application.
[0103] Figure 2 It is a flow chart of a communication method provided in an embodiment of the present application.
[0104] Figure 3 It is a flow chart of another communication method provided in an embodiment of the present application.
[0105] Figure 4-A It is a flow chart of another communication method provided in an embodiment of the present application.
[0106] Figure 4-B It is a flowchart of verifying the IPX device modification block in the communication method provided in the embodiment of the present application.
[0107] Figure 4-C It is a schematic diagram of the message body of an N32 message in the communication method provided in an embodiment of the present application.
[0108] Figure 4-D It is a schematic diagram of the message body of another N32 message in the communication method provided in an embodiment of the present application.
[0109] Figure 4-E It is a schematic diagram of the message body of another N32 message in the communication method provided in an embodiment of the present application.
[0110] Figure 5 It is a functional schematic diagram of a SEPP device provided in an embodiment of the present application.
[0111] Figure 6 It is a functional schematic diagram of another SEPP device provided in an embodiment of the present application.
[0112] Figure 7 It is a functional schematic diagram of another SEPP device provided in an embodiment of the present application.
[0113] Figure 8 It is a structural diagram of a communication device provided in an embodiment of the present application.
[0114] Fig. 9 This is a schematic diagram of an interface of a single board in a communication device provided in an embodiment of the present application.
[0115] Fig.10 It is a hardware structure diagram of the SEPP device provided in the embodiment of the present application. DETAILED DESCRIPTION
[0116] The technical solutions in the embodiments of the present application will be described below in conjunction with the drawings in the embodiments of the present application.
[0117] The terms "first", "second" and the like in the specification and claims of this application and the above drawings are used to distinguish different objects rather than to describe a specific order.
[0118] See also Figure 1-A , Figure 1-A This is a schematic diagram of a 5G network architecture exemplified by an embodiment of the present application. The 5G network splits some functional devices of the 4G network (such as the Mobility Management Entity (MME) and so on) and defines an architecture based on a service-oriented architecture. Figure 1-A In the network architecture shown, the functions similar to those of the MME in the 4G network are split into the access and mobility management function (AMF) and the session management function (SMF), etc.
[0119] The following is an introduction to some other related devices / network elements / entities in the 5G network architecture. These devices / network elements / entities can be referred to by their respective abbreviations. For example, the mobility management function device is referred to as AMF.
[0120] User Equipment (UE) accesses the data network by accessing the operator's network and uses the services on the data network (DN) provided by the operator or a third party.
[0121] For the convenience of explanation, in the embodiments of the present application, user terminals, user equipment, terminal equipment, mobile terminals or terminals may be collectively referred to as UEs. That is, unless otherwise specified, the UEs described in the embodiments of the present application hereinafter may be replaced by user terminals, user equipment, terminal equipment, mobile terminals or terminals, and of course they may also be interchangeable.
[0122] The Access and Mobility Management Function (AMF) is a control plane function device in the 3GPP network, which is mainly responsible for the access control and mobility management of UE access to the operator network. Among them, the Security Anchor Function (SEAF) can be deployed in the AMF, or the SEAF may also be deployed in another device different from the AMF. Figure 1-A In the example, SEAF is deployed in AMF. When SEAF is deployed in AMF, SEAF and AMF may be collectively referred to as AMF.
[0123] The Session Management Function (SMF) is a control plane function device in the 3GPP network. The SMF is mainly responsible for managing the Packet Data Unit (PDU) session of the UE. A PDU session is a channel for transmitting PDUs. The UE can send PDUs to the DN through the PDU session. The SMF is responsible for the establishment, maintenance and deletion of PDU sessions.
[0124] The data network is also called the Packet Data Network (PDN), which is a network located outside the 3GPP network. Among them, the 3GPP network can access multiple DNs, and various services provided by operators or third parties can be deployed on the DN. For example, online video services provided by third parties. For another example, a DN is a private network of a smart factory. The sensors installed in the workshop of the smart factory play the role of UE, and the control server of the sensor is deployed in the DN. The UE communicates with the control server. After obtaining the instructions of the control server, the UE can pass the collected data to the control server according to the instructions. For another example, the DN is an internal office network of a company, and the terminals used by the company's employees can play the role of UE, and this UE can access the company's internal information and other resources.
[0125] Among them, the Unified Data Management (UDM) is also a control plane functional device in the 3GPP network. The UDM is mainly responsible for storing the subscription data, credentials and persistent identity (SUPI) of the subscriber (UE) in the 3GPP network. These data can be used for authentication and authorization of UE access to the operator's 3GPP network. In addition, the UDM can also integrate the functions of the Home Subscriber Server (HSS) and the Home Location Register (HLR) in the network.
[0126] Authentication Server Function (AUSF) is also a control plane functional device in the 3GPP network. AUSF is mainly used for the first level of authentication (i.e., the authentication of the 3GPP network to its contracted users).
[0127] Among them, the Network Exposure Function (NEF) is also a control plane functional device in the 3GPP network. NEF is mainly responsible for opening the external interface of the 3GPP network to third parties in a secure manner.
[0128] Among them, the Network Repository Function (NRF) is also a control plane functional device in the 3GPP network. It is mainly responsible for storing the configuration and service profile of the accessible network function (NF) and providing network function discovery services for other network elements.
[0129] The User Plane Function (UPF) is the gateway for communication between the 3GPP network and the DN.
[0130] The Policy Control Function (PCF) is a control plane functional device in the 3GPP network, which is used to provide the SMF with the PDU session policy. The policy may include billing, quality of service (QoS), authorization-related policies, etc.
[0131] The access network (AN) is a sub-network of the 3GPP network. To access the 3GPP network, the UE must first pass through the AN. In the wireless access scenario, the AN is also called the Radio Access Network (RAN).
[0132] As a border security gateway of the 5G core network (5GC), the SEPP device mainly acts as a proxy for connection between operator networks. The signaling messages between the internal network function (NF) of the 5G core network and the roaming network are forwarded through the SEPP device.
[0133] 3GPP network refers to a network that complies with 3GPP standards. Figure 1-A The parts other than UE and DN can be regarded as 3GPP networks. 3GPP networks are not limited to 5G networks, but can also include 2G, 3G, and 4G networks. Usually 3GPP networks are operated by operators. Figure 1-A In the illustrated architecture, N1, N2, N3, N4, N6, etc. represent reference points between related entities / network functions. Nausf, Namf, etc. represent service-oriented interfaces of related network functions.
[0134] Of course, 3GPP networks and non-3GPP networks may coexist, and some network elements in 5G networks may also be used in some non-5G networks.
[0135] See also Figure 1-B ,The SEPP device acts as a border security gateway and ,supports integrity and confidentiality protection of the transmitted messages, and ,also supports the devices in the IPX network (referred to as IPX devices or IPX), for example, modifying the message header of the ,transmitted message.
[0136] The devices in the IPX network may include a Diameter routing agent (DRA) device and a domain name server (DNS). The IPX device may be a DRA device or a DNS in the IPX network. In addition, the IPX device may be called a Hyper Text Transfer Protocol (HTTP) proxy.
[0137] In the embodiment of the present application, the SEPP device may also be referred to as the SEPP device (for example, the first SEPP device is referred to as the first SEPP, the second SEPP device is referred to as the second SEPP, and so on), that is, the SEPP and SEPP devices may be used interchangeably. The IPX device may be referred to as the IPX device (for example, the first IPX device is referred to as the first IPX, the second IPX device is referred to as the second IPX, and so on), that is, the IPX and IPX devices may be used interchangeably.
[0138] Among them, when the UE roams between different operator networks, the SEPP device can be divided into a visited SEPP device (visit SEPP device, vSEPP device) and a home SEPP device (home SEPP device, hSEPP device).
[0139] See also Figure 1-C and Figure 1-D , SEPP devices in different operator networks can be connected through the N32 interface. For example, the vSEPP device and the hSEPP device are directly connected through the N32-C interface, and the vSEPP device can also be connected to the IPX device through the N32-f interface, and the IPX device is connected to the hSEPP device through the N32-f interface. There may be an IPX device between the SEPP devices (for example Figure 1-D For example, there may be multiple IPX devices (for example Figure 1-C as shown in the example).
[0140] See also Figure 1-E From the perspective of providing services and consuming services, SEPP devices can be divided into consumer's SEPP devices (cSEPP devices) and producer's SEPP devices (pSEPP devices). Among them, vSEPP devices may be pSEPP devices and hSEPP devices may be cSEPP devices. Or vSEPP devices may also be cSEPP devices and hSEPP devices may be pSEPP devices.
[0141] When there are multiple IPX networks between SEPP devices, the IPX network directly connected to the pSEPP device is called a pIPX device; the IPX network directly connected to the cSEPP device is called a cIPX device.
[0142] Based on the above network architecture, the following describes the implementation plan for secure communication between two SEPP devices. Figure 2 , Figure 2 A flowchart of a secure communication method provided in an embodiment of the present application.
[0143] The secure communication method provided in this embodiment can be applied to Figure 1-D In the described system architecture, there may be multiple transmission paths between the first SEPP device and the second SEPP device.
[0144] The secure communication method provided in this embodiment mainly includes the following operations:
[0145] 201. The first SEPP device receives a first signaling message sent by a network function NF device.
[0146] In this embodiment, the NF device in the local network sends a first signaling message to the first SEPP device, and the first SEPP device can send the signaling message to other operator networks, such as the user's home operator network, through the connected IPX device.
[0147] The first signaling message may be an Http2 message, specifically an Http2 request / response, which may come from SMF.
[0148] 202. The first SEPP device obtains the message modification policy of the first IPX device.
[0149] In this embodiment, there may be multiple IPX devices connected to the first SEPP device, and these IPX devices belong to different IPX networks. The first SEPP device may determine the first IPX device on the transmission path of the first signaling message, and then obtain the message modification policy of the first IPX device.
[0150] In this embodiment, the first SEPP device and the first IPX device may negotiate the message modification policy in advance, and then both configure the message modification policy locally.
[0151] In this embodiment, the message modification policy may be referred to as a message protection policy, or simply referred to as a modification policy or a protection policy.
[0152] 203. The first SEPP device sends a first N32 message to the first IPX device, where the first N32 message carries the first signaling message and the message modification policy.
[0153] In this embodiment, the first SEPP device may generate a first N32 message according to the first signaling message and the message modification policy. The first N32 message carries the message modification policy of the first IPX device and the first signaling message.
[0154] Subsequently, the first SEPP device may perform security protection on the first N32 message, such as encryption. The first SEPP device may send the first N32 message after security protection to the first IPX device.
[0155] In this embodiment, the first N32 message may specifically be a first N32-F message.
[0156] 204. The first IPX device receives the first N32 message sent by the first SEPP device, and modifies the first N32 message.
[0157] In this embodiment, the IPX device can modify the first N32 message according to the locally configured message modification policy. The modified content is attached to the first N32 message as a modification block and signed using the private key of the first IPX device.
[0158] The IPX device can locally maintain multiple message modification policies, which are respectively for different SEPP devices. The IPX device can locally store the correspondence between the SEPP device identifier and the message modification policy, and then determine the message modification policy corresponding to the identifier of the first SEPP device after receiving the first N32 message sent by the first SEPP device.
[0159] 205. The first IPX device sends the modified first N32 message to the second SEPP device.
[0160] 206. The second SEPP device obtains the message modification policy, the modification block and the first signaling message in the modified first N32 message.
[0161] In this embodiment, after receiving the modified first N32 message sent by the first IPX device, the second SEPP device can obtain the message modification policy, modification block and first signaling message carried therein. For example, the second SEPP device decrypts the modified first N32 message to obtain the first signaling message.
[0162] 207. The second SEPP device checks the modification block in the first N32 message according to the message modification policy of the first IPX device.
[0163] In this embodiment, the second SEPP device can specifically check whether the modification block satisfies the message modification policy, for example, whether the field that cannot be modified in the message modification policy is modified by the first IPX device. If the modification block satisfies the message modification policy, the check passes. If the check fails, an error message is returned to the first IPX device, and the first N32 message is discarded.
[0164] 208. After successful verification, the second SEPP device sends the first signaling message to the network function NF device in the local network.
[0165] After successfully verifying the modification block in the first N32 message, the second SEPP device sends a first signaling message to the NF in the local network. For example, the second SEPP device sends the first signaling message to the SMF or UDM in the local core network, and the NF in the local network processes the first signaling message.
[0166] 209. The second SEPP device receives a second signaling message sent by the NF of the local network.
[0167] In this embodiment, after the NF in the local network processes the first signaling message, it may return a second signaling message to the second SEPP device, and the second signaling message may be transmitted back to the first SEPP device.
[0168] In addition, the second SEPP device can also receive signaling messages actively sent by other NFs in the local network. To distinguish the first signaling message received by the second SEPP device from the first SEPP device, the signaling messages sent by NFs in the local network and received by the second SEPP device are collectively referred to as second signaling messages.
[0169] 210. The second SEPP device obtains the message modification policy of the second IPX device.
[0170] In this embodiment, the second signaling message can be sent to the first SEPP device through the same IPX device (i.e., the first IPX device) as described above, or can be sent to the first SEPP device through an IPX device on another path (e.g., the second IPX device). The processing logic is the same. This embodiment is described by taking the second signaling message being sent to the first SEPP device through different IPX devices.
[0171] In this embodiment, the second SEPP device and the second IPX device can negotiate the message modification policy in advance, and then both configure the message modification policy locally. When the second SEPP device determines that the second signaling message needs to be sent through the second IPX device, it can obtain the message modification policy of the second IPX device from the local configuration.
[0172] 211. The second SEPP device sends a second N32 message to the second IPX device, where the second N32 message carries the second signaling message and the message modification policy.
[0173] In this embodiment, the second SEPP device may generate a second N32 message according to the second signaling message and the message modification policy. The second N32 message carries the message modification policy of the second IPX device and the second signaling message.
[0174] Subsequently, the second SEPP device may encrypt the second N32 message, and send the encrypted second N32 message to the second IPX device. The second N32 message in this embodiment may specifically be a second N32-F message.
[0175] 212. The second IPX device receives the second N32 message sent by the second SEPP device, and modifies the second N32 message.
[0176] The second IPX device can modify the second N32 message according to the locally configured message modification policy, and the modified content is attached to the second N32 message in the form of a modification block.
[0177] 213. The second IPX device sends the modified second N32 message to the first SEPP device.
[0178] 214. The first SEPP device obtains the message modification policy, the modification block and the second signaling message in the modified second N32 message.
[0179] In this embodiment, after the first SEPP device receives the modified second N32 message sent by the second IPX device, it can obtain the message modification policy, modification block and second signaling message carried therein. For example, the first SEPP device can decrypt the modified second N32 message to obtain the second signaling message carried therein.
[0180] 215. The first SEPP device checks the modification block in the second N32 message according to the message modification policy of the second IPX device.
[0181] In this embodiment, the first SEPP device can specifically check whether the modification block satisfies the message modification policy, for example, whether the field that cannot be modified in the message modification policy is modified by the second IPX device. If the modification block satisfies the message modification policy, the check passes. If the check fails, an error message is returned to the second IPX device, and the second N32 message is discarded.
[0182] 215. After successful verification, the first SEPP device sends the second signaling message to the network function NF device in the local network.
[0183] After successfully verifying the modification block in the second N32 message, the first SEPP device sends a second signaling message to the NF in the local network, for example, to the SMF or PCF in the local core network, and the NF in the local network processes the second signaling message.
[0184] In the technical solution provided in this embodiment, the first SEPP device can be used as a sending end SEPP device to send the first N32 message, and can also be used as a receiving end SEPP device to receive the second N32 message. Similarly, the second SEPP device can be used as a sending end SEPP device to send the second N32 message, and can also be used as a receiving end SEPP device to receive the first N32 message.
[0185] Both the first SEPP device and the second SEPP device can obtain the message modification policy of the IPX device connected thereto, and then send an N32 message to the IPX device, in which the message modification policy of the IPX device is carried. Thus, the IPX device can send the received N32 message to the second SEPP device or the first SEPP device. Compared with the prior art, in the secure communication method provided by this embodiment, the sending-end SEPP device does not need to negotiate the message modification policy with the receiving-end SEPP device, but negotiates the modification policy with the IPX device connected thereto, and then sends the negotiated message modification policy to the receiving-end SEPP device through the N32 message, which significantly reduces the number of message modification policies maintained on the sending-end SEPP device, saves the resources of the sending-end SEPP device, and also reduces the cost of the sending-end SEPP device.
[0186] Correspondingly, the SEPP device at the receiving end can directly obtain the message modification policy of the IPX device connected to the SEPP device at the sending end from the received N32 message. There is no need to maintain the message modification policies corresponding to different message transmission paths locally, which saves the resources of the SEPP device at the receiving end and reduces the cost of the SEPP device at the receiving end.
[0187] In a possible embodiment, the message modification policy of the IPX device may be a default policy or a wildcard policy, for example, the default policy is represented by an identifier "1" and the wildcard policy is represented by an identifier "0". This embodiment can reduce the number of policies configured on the SEPP device or IPX device.
[0188] See also Figure 3 , Figure 3 A flowchart of another secure communication method provided in an embodiment of the present application.
[0189] The secure communication method provided in this embodiment can be applied to Figure 1-C and Figure 1-EIn the described system architecture, there may be multiple transmission paths between the first SEPP device and the second SEPP device, wherein the first IPX device is connected to the first SEPP device, and the second IPX device is connected to the second SEPP device.
[0190] In this embodiment, the SEPP device and the IPX device connected thereto may negotiate a message modification policy, and then both of them configure the message modification policy locally.
[0191] The secure communication method provided in this embodiment mainly includes:
[0192] 301. The first SEPP device receives a first signaling message sent by a network function NF device.
[0193] 302. The first SEPP device obtains the message modification policy of the first IPX device.
[0194] 303. The first SEPP device sends a first N32 message to the first IPX device, where the first N32 message carries the first signaling message and a message modification policy of the first IPX device.
[0195] 304. The first IPX device receives the first N32 message sent by the first SEPP device, and performs a first modification on the first N32 message.
[0196] The implementation process of the above operations 301-304 is similar to the operations 201-204 in the above embodiment. For details, please refer to the description of the above embodiment.
[0197] 305. The first IPX device sends the first modified first N32 message to the second IPX device.
[0198] In this embodiment, the message transmission path between the first SEPP device and the second SEPP device includes two IPX devices, namely, the first IPX device and the second IPX device.
[0199] 306. The second IPX device receives the first N32 message sent by the first IPX device, and performs a second modification on the first N32 message.
[0200] In this embodiment, after receiving the first N32 message, the second IPX device can determine that the first N32 message needs to be sent to the second SEPP device, determine the message modification policy corresponding to the second SEPP device, and then use the message modification policy to modify the first N32 message for the second time. The modified content can be attached to the first N32 message as a modification block and signed using the private key of the second IPX device.
[0201] The second IPX device may determine the message modification policy corresponding to the identifier of the second SEPP device according to the correspondence between the identifier of the local SEPP device and the message modification policy.
[0202] 307. The second IPX device sends the second modified first N32 message to the second SEPP device.
[0203] In this embodiment, the first N32 message is modified by two IPX devices, and the first N32 message after the second modification includes two modification blocks, namely, the modification block of the first IPX device and the modification block of the second IPX device.
[0204] 308. The second SEPP device obtains the message modification policy of the second IPX device and the modification block of the second IPX device.
[0205] In this embodiment, the second SEPP device may obtain the message modification policy of the second IPX device locally.
[0206] After receiving the first N32 message sent by the second IPX device, the second SEPP device can perform security verification on the first N32 message. After the security verification passes, the modification block of the first IPX device, the modification block of the second IPX device, the first signaling message and the message modification policy of the first IPX device are obtained.
[0207] Subsequently, the second SEPP device verifies the modification block of the first IPX device and the modification block of the second IPX device. The second SEPP device may first verify the modification block of the first IPX device, or may also first verify the modification block of the second IPX device. In this embodiment, the modification block of the second IPX device is verified first as an example.
[0208] 309. The second SEPP device uses the message modification policy of the second IPX device to verify the modification block of the second IPX device in the first N32 message after the second modification.
[0209] In this embodiment, the second SEPP device can verify whether the modification of the first N32 message by the second IPX device (i.e., the modification block of the second IPX device) satisfies the message modification policy of the second IPX device. If so, the verification is successful, and the second SEPP device further verifies the modification block of the first IPX device in the first N32 message, and performs the following operation 310. Otherwise, the verification fails, and the second SEPP device returns a failure response to the second IPX device. The second SEPP device can discard the first N32 message.
[0210] 310. The second SEPP device uses the message modification policy of the first IPX device to check the modification block of the first IPX device in the first N32 message.
[0211] In this embodiment, the second SEPP device can verify whether the modification of the first N32 message by the first IPX device (i.e., the modification block of the first IPX device) satisfies the message modification policy of the first IPX device. If so, the verification is successful and subsequent operations are performed. Otherwise, the verification fails and the second SEPP device returns a failure response. The second SEPP device can discard the first N32 message.
[0212] 311. After successful verification, the second SEPP device sends the first signaling message to the network function NF device in the local network.
[0213] After successfully verifying the modification block of the first IPX device in the first N32 message, the second SEPP device sends a first signaling message to the NF in the local network. For example, the second SEPP device sends the first signaling message to the SMF or UDM in the local core network, and the NF in the local network processes the first signaling message.
[0214] In the technical solution provided in this embodiment, the first SEPP device can be used as a sending end SEPP device to send an N32 message, and can also be used as a receiving end SEPP device to receive an N32 message. The process of the first SEPP device processing the N32 message sent by the second SEPP device is similar to the process of the second SEPP device processing the first N32 message in the above embodiment. For example, the first SEPP device can verify the modification block in the received N32 message. The specific process refers to the above-mentioned related operations and will not be repeated here.
[0215] Correspondingly, the second SEPP device can receive the N32 message as a receiving end SEPP device, and can also send the N32 message as a sending end SEPP device. The process of the second SEPP device sending the N32 message is similar to the process of the first SEPP device sending the first N32 message in the above embodiment, for example, the message modification policy of the second IPX device is carried in the N32 message. The specific process refers to the above-mentioned related operations, which will not be repeated here.
[0216] In the technical solution provided in this embodiment, the sending-end SEPP device does not need to negotiate the message modification policy on the entire transmission path with the receiving-end SEPP device, but negotiates the message modification policy with the IPX device connected thereto, and then sends the message modification policy of the IPX device to the receiving-end SEPP device through the N32 message, which significantly reduces the number of message modification policies maintained on the SEPP device and saves the resources of the SEPP device.
[0217] In the technical solution provided in this embodiment, the message modification policy is transmitted between the first SEPP device and the second SEPP device via the N32-F message, utilizing the existing N32-F message protection mechanism, thereby enhancing the security of the message modification policy transmission and saving resources.
[0218] See also Figure 4-A , Figure 4-A A flowchart of a secure communication method provided in an embodiment of the present application.
[0219] This embodiment uses Figure 1-E The system architecture shown in FIG. 1 is used as an example to illustrate. The transmission path of the cSEPP device and the pSEPP device includes the cIPX device and the pIPX device. The cSEPP device and the cIPX device connected to it can negotiate message modification policy 1, and then both configure the message modification policy 1 locally. The pSEPP device and the pIPX device connected to it can negotiate message modification policy 2, and then both configure the message modification policy 2 locally. The above negotiation and configuration process can be performed by the operator or the SEPP device and the IPX device itself.
[0220] refer to Figure 4-A , a secure communication method in this embodiment may include:
[0221] 401. The cSEPP device receives the http2 request sent by the core network device.
[0222] In this embodiment, the core network device of the cSEPP device's own network sends an http2 request to the cSEPP device. The http2 request may carry a specific roaming signaling message, such as a roaming charging message.
[0223] 402. The cSEPP device obtains the message modification policy of the cIPX device and generates an N32 request message.
[0224] In this embodiment, the cSEPP device can determine that the http2 request message needs to be sent to the pSEPP device through the cIPX device, and then obtain the message modification policy of the cIPX device from the local. The cSEPP device can determine that the http2 request message needs to be sent to the pSEPP device through the cIPX device according to information such as the user identifier or the operator identifier in the http2 message.
[0225] In an optional embodiment, the message modification policy may specifically include allowing modification of fields in the message header and / or not allowing modification of fields in the message header. For example, allowing modification of the header value field in the message header of the N32 request message, not allowing modification of the encBlockIndex field in the message header, and allowing modification of the payload field in the message header.
[0226] In an optional embodiment, the N32 request message also carries the public key or security certificate of the cIPX device. The cSEPP device can put the public key or security certificate of the cIPX device in the message body or message header of the N32 request message and send it to the cIPX device.
[0227] 403. The cSEPP device sends an N32 request message to the cIPX device.
[0228] In this embodiment, the message header of the N32 request message may carry the identifier of the pSEPP device, such as the host name of the pSEPP device. In addition, the N32 request message may also carry the identifier of the cSEPP device, such as the host name of the cSEPP device.
[0229] 404. The cIPX device modifies the received N32 request message and performs signature authentication.
[0230] In this embodiment, the cIPX device receives the N32 request message sent by the cSEPP device, then obtains the message modification policy corresponding to the cSEPP device locally, and performs the first modification on the N32 request message according to the message modification policy. The content modified by the cIPX device is attached to the N32 message in the form of a modification block.
[0231] The cIPX device may modify the message header of the N32 request message, for example, modify the header value field in the message header of the N32 request message.
[0232] After the modification is completed, the cIPX device can use the private key to asymmetrically sign the modified block, and the signed content carries the JSON Web Signature (JWS). The final generated modification block includes the cIPX device's ID, the cIPX device's signature, and the JavaScript Object Notation (JSON) package (patch). The JSON package includes the modified content of the cIPX device.
[0233] 405. The cIPX device sends the modified N32 request message to the pIPX device.
[0234] In this embodiment, after completing the signature of the modified content, the cIPX device puts the modified block in the message body of the N32 request message and sends it to the pIPX device.
[0235] 406. The pIPX device modifies the received N32 request message and performs signature authentication.
[0236] In this embodiment, the pIPX device receives the N32 request message sent by the cIPX device, and learns that the N32 request message needs to be sent to the pSEPP device, then obtains the message modification policy corresponding to the pSEPP device from the local, and performs a second modification on the N32 request message according to the message modification policy. The content modified by the pIPX device is also attached to the message body of the N32 request message in the form of a modification block.
[0237] The pIPX device may modify the message header of the N32 request message, for example, modify the payload field in the message header of the N32 request message. The pIPX device may learn, based on the identifier of the pSEPP device carried in the message header of the N32 message, that the N32 message needs to be sent to the pSEPP device.
[0238] After the modification is completed, the pIPX device can use the private key to asymmetrically sign the modified block, and the signed content carries the JSON web signature. The final generated modification block includes the pIPX device's ID (pIPX ID), the pIPX device's signature, and the JSON package. The JSON package includes the modified content of the pIPX device.
[0239] 407. The pIPX device sends the modified N32 request message to the pSEPP device.
[0240] In this embodiment, after completing the signature of the modified content, the pIPX device puts the modified block in the message body of the N32 request message and sends it to the pSEPP device. The N32 request message at this time includes the http2 request message, the modified block of the cIPX device and the modified block of the pIPX device.
[0241] 408. The pSEPP device verifies the N32 request message.
[0242] In this embodiment, after receiving the modified N32 request message sent by the pIPX device, the pSEPP device can verify the modified block of the cIPX device and the modified block of the pIPX device. For the specific verification process, please refer to Figure 4-B .
[0243] Figure 4-B The verification process includes the following operations:
[0244] A1. The pSEPP device verifies the signature of the modification block of the cIPX device.
[0245] In this embodiment, the pSEPP device can obtain the public key of the cIPX device from the message body of the N32 message. In addition, the pSEPP device can also obtain the public key of the cIPX device locally according to the identifier of the cIPX device in the modification block.
[0246] Then, the pSEPP device uses the public key to decrypt the modification block of the cIPX device, that is, to verify whether the modification block is generated by the cIPX device. If so, operation A2 is performed, that is, to further verify whether the modification content in the modification block of the cIPX device meets the message modification policy of the cIPX device. If not, the verification fails, and the pSEPP device sends an error message to the cSEPP device. The pSEPP device can discard the received N32 request message.
[0247] A2.pSEPP device verifies whether the modification content of cIPX device satisfies the message modification policy of cIPX device.
[0248] In this embodiment, the pSEPP device can obtain the message modification policy of the cIPX device from the message body or message header of the N32 message, that is, the above-mentioned message modification policy 1. Subsequently, the pSEPP device verifies (or checks) the modified content of the cIPX device according to the obtained message modification policy of the cIPX device. For example, whether the fields that are not allowed to be modified in the message modification policy are modified by the cIPX device. If not, the verification is passed, otherwise, the verification fails, and the pSEPP device sends an error message to the cSEPP device. The pSEPP device can discard the received N32 request message.
[0249] B1. The pSEPP device verifies the signature of the modified block of the pIPX device.
[0250] In this embodiment, the pSEPP device can obtain the public key of the pIPX device locally according to the identifier of the pIPX device in the modification block.
[0251] Then, the pSEPP device uses the public key to decrypt the modification block of the pIPX device, that is, to verify whether the modification block is generated by the pIPX device. If so, operation B2 is performed, that is, to further verify whether the modification content in the modification block of the pIPX device meets the message modification policy of the pIPX device. If not, the verification fails, and the pSEPP device sends an error message to the cSEPP device. The pSEPP device can discard the received N32 request message.
[0252] B2. The pSEPP device verifies whether the modification content of the pIPX device satisfies the message modification policy of the pIPX device.
[0253] In this embodiment, the pSEPP device can obtain the message modification policy of the pIPX device locally according to the identifier of the pIPX device, that is, the message modification policy 2 mentioned above. Subsequently, the pSEPP device verifies (or checks) the modified content in the modification block of the pIPX device according to the obtained message modification policy of the pIPX device. For example, whether the field that is not allowed to be modified in the message modification policy is modified by the pIPX device. If it is not modified, the verification is passed. Otherwise, the verification fails, and the pSEPP device sends an error message to the cSEPP device. The pSEPP device can discard the received N32 request message.
[0254] After both A2 and B2 are successfully verified, the pSEPP device may send the http2 request message in the N32 message to other devices in the local network, that is, execute operation 409 .
[0255] The pSEPP device may perform the above operations A1-A2 and B1-B2 in series, or in parallel. If any of the operations is judged as negative, the pSEPP device sends an error message to the cSEPP device. The pSEPP device may discard the received N32 request message.
[0256] 409. The pSEPP device sends an http2 request message to the device on the local network.
[0257] In this embodiment, after receiving the N32 request message, the pSEPP device can use the symmetric key A to decrypt the message body of the N32 message to obtain the http2 message. After successfully verifying the modification block of the cIPX device and the modification block of the pIPX device, the pSEPP device can send the obtained http2 request message to the core network device of the local network.
[0258] In the technical solution provided in this embodiment, the cSEPP device does not need to negotiate the message modification policy on the entire transmission path with the pSEPP device, but negotiates the message modification policy with the cIPX device connected to it, and then sends the message modification policy of the cIPX device to the pSEPP device through the N32 message, thereby reducing the number of message modification policies maintained on the cSEPP device and saving the resources of the cSEPP device.
[0259] Correspondingly, the pSEPP device can directly obtain the message modification policy of the cIPX device connected to the cSEPP device from the received N32 message, without the need to locally maintain the message modification policies corresponding to different message transmission paths, thus saving the resources of the cSEPP device and reducing the cost of the cSEPP device.
[0260] In this embodiment, the cSEPP device may perform format conversion on the received http2 request to generate an N32 message. For example, the cSEPP device may encapsulate the http2 message into the message body of the N32 message. The encapsulation process may include: the cSEPP device encrypts the Http2 message using the symmetric key A and the JavaScript object signing and encryption (JOSE) algorithm to obtain an encrypted information element (IE). Subsequently, the cSEPP device may encapsulate the encrypted information element, the clear text portion, and the metadata into the message body of the N32 message. At this time, the structure of the message body of the N32 message may refer to Figure 4-C The message body of the N32 message can also be called a verification block. The plain text part of the message body can carry the message modification policy of the cIPX device. The encrypted cell carries the http2 request message, and the metadata part can carry the identifier of the next hop (such as the ID of the cIPX device). The cSEPP device can perform integrity protection on the plain text part of the message body.
[0261] In another optional embodiment, the cSEPP device may also use the symmetric key A and the JavaScript object signature and encryption JOSE algorithm to encrypt the Http2 message and the message modification policy of the cIPX device to obtain an encrypted information element IE. In this case, the encrypted information element includes the http2 request message and the message modification policy of the cIPX device. Subsequently, the cSEPP device may encapsulate the encrypted information element, the plaintext part, and the metadata into the message body of the N32 message ( Figure 4-D At this time, the plain text part carries the cIPX identifier, but does not carry the message modification policy of the cIPX device.
[0262] In another optional embodiment, the cSEPP device may also use the symmetric key A and the JavaScript object signature and encryption JOSE algorithm to encrypt the Http2 message and the message modification policy of the cIPX device respectively, and obtain two encrypted information elements. In this case, the two encrypted information elements include the http2 request message and the message modification policy of the cIPX device respectively. Subsequently, the cSEPP device may encapsulate the two encrypted information elements, the plaintext part, and the metadata into the message body of the N32 message ( Figure 4-D At this time, the plain text part carries the cIPX identifier, but does not carry the message modification policy of the cIPX device.
[0263] Some device embodiments are described below.
[0264] See also Figure 5 , a functional schematic diagram of the SEPP device provided in an embodiment of the present application.
[0265] As shown in the figure, the SEPP device 500 mainly includes a first receiving unit 510 , a first acquiring unit 520 and a first sending unit 530 .
[0266] The first receiving unit 510 is used to receive a first signaling message sent by a network function NF device;
[0267] The first acquisition unit 520 is used to acquire the message modification policy of the IP exchange service IPX device;
[0268] The first sending unit 530 is used to send a first N32 message to the IPX device, where the first N32 message carries the first signaling message and a message modification policy of the IPX device.
[0269] The SEPP device provided in this embodiment can be used in the secure communication method provided in the aforementioned method embodiment. For specific details and beneficial effects, reference can be made to the aforementioned embodiment.
[0270] The SEPP device provided in this embodiment can implement the message modification strategy of securely transmitting IPX devices between the sending SEPP device and the receiving SEPP device through the cooperation between the first receiving unit 510, the first acquiring unit 520 and the first sending unit 530, thereby improving the security of communication between the sending SEPP device and the receiving SEPP device.
[0271] In a possible embodiment, the first acquisition unit 520 in the SEPP device is further configured to acquire the security certificate of the IPX device. At this time, the first N32 message sent by the first sending unit 530 carries the security certificate of the IPX device.
[0272] In a possible embodiment, the first sending unit 530 in the SEPP device may send the first N32 message in the following manner:
[0273] The first sending unit 530 encapsulates the first signaling message and the message modification policy of the IPX device in a message body of the first N32 message and sends the message to the IPX device.
[0274] In a possible embodiment, the message modification policy of the IPX device is carried in the plain text part of the message body of the first N32 message.
[0275] In a possible embodiment, the first acquiring unit 520 may acquire the message modification policy of the IPX device from a local configuration.
[0276] In a possible embodiment, the first receiving unit 510 of the SEPP device is further configured to receive a second N32 message sent by the IPX device, where the second N32 message carries the second signaling message and the modified content of the IPX device.
[0277] Continue to refer Figure 5 The SEPP device provided in this embodiment may further include: a first verification unit 540, configured to verify the modified content of the IPX device in the second N32 message according to the message modification policy of the IPX device; further, the first sending unit 530 also sends the second signaling message to the network function NF device after the first verification unit 540 successfully verifies.
[0278] See also Figure 6 , a functional schematic diagram of the SEPP device provided in an embodiment of the present application.
[0279] As shown in the figure, the SEPP device 600 mainly includes: a second receiving unit 610 , a second checking unit 620 and a second sending unit 630 .
[0280] Among them, the second receiving unit 610 is used to receive an N32 message, which carries a signaling message and a message modification policy of an IPX device; the second verification unit 620 is used to verify the N32 message according to the message modification policy of the IPX device; the second sending unit 630 is used to send the signaling message to the network function NF device after the second verification unit 620 successfully verifies the N32 message.
[0281] The SEPP device provided in this embodiment can be used in the secure communication method provided in the aforementioned method embodiment. For specific details and beneficial effects, reference can be made to the aforementioned embodiment.
[0282] The SEPP device provided in this embodiment can implement the message modification strategy of securely transmitting IPX devices between the sending SEPP device and the receiving SEPP device through the cooperation between the second receiving unit 610, the second verification unit 620 and the second sending unit 630, thereby improving the security of communication between the sending SEPP device and the receiving SEPP device.
[0283] In a possible embodiment, the N32 message received by the second receiving unit 610 in the SEPP device also carries the security certificate of the IPX device, and the second verification unit 620 verifies the N32 message according to the message modification policy, including:
[0284] The second verification unit 620 verifies the signature of the modification block of the IPX device in the N32 message according to the security certificate of the IPX device; after the verification passes, the second verification unit 620 further verifies the modification content in the modification block of the IPX device according to the message modification policy.
[0285] Continue to refer Figure 5 The SEPP device provided in this embodiment may further include a decryption unit 640, which is used to decrypt the message body of the N32 message to obtain the message modification policy of the IPX device.
[0286] In a possible embodiment, the decryption unit 640 in the SEPP device is further configured to decrypt the message body of the N32 message to obtain the signaling message carried in the N32 message.
[0287] See also Figure 7 , a functional schematic diagram of the SEPP device provided in an embodiment of the present application.
[0288] As shown in the figure, the SEPP device 700 mainly includes: a third receiving unit 710 , a third acquiring unit 720 , a third checking unit 730 and a third sending unit 740 .
[0289] Wherein, the third receiving unit 710 is used to receive an N32 message sent by the first IPX device, wherein the N32 message carries a signaling message;
[0290] The third acquisition unit 720 is used to acquire the message modification policy of the first IPX device;
[0291] The third verification unit 730 is used to verify the N32 message according to the message modification strategy;
[0292] The third sending unit 740 is used to send the signaling message to the network function NF device after the third verification unit 730 verifies the N32 message successfully.
[0293] The SEPP device provided in this embodiment can be used in the secure communication method provided in the aforementioned method embodiment. For specific details and beneficial effects, reference can be made to the aforementioned embodiment.
[0294] The SEPP device provided in this embodiment can realize the message modification policy of the IPX device securely transmitted from the sending end SEPP device to the receiving end SEPP device through the cooperation between the third receiving unit 710, the third obtaining unit 720, the third verification unit 730 and the third sending unit 740, thereby improving the security of communication between the sending end SEPP device and the receiving end SEPP device.
[0295] In a possible embodiment, the N32 message received by the third receiving unit 710 also carries the modified content of the first IPX device, and the third verification unit 730 can verify the N32 message in the following manner: the third verification unit 730 verifies the modified content of the first IPX device in the N32 message according to the message modification policy.
[0296] In a possible embodiment, the N32 message received by the third receiving unit 710 also carries the security certificate of the second IPX device, the message modification policy of the second IPX device, and the modification block of the second IPX device. At this time, the third verification unit 730 is further used to verify the modification block of the second IPX device using the security certificate, and when the verification passes, verify the modified content in the modification block of the second IPX device using the message modification policy of the second IPX device.
[0297] In a possible embodiment, the third receiving unit 710 in the first SEPP device is further configured to receive a notification message sent by the second SEPP device, where the notification message carries the message modification policy of the second IPX device.
[0298] In one possible embodiment, the first SEPP device is a cSEPP device, and the second SEPP device is a pSEPP device. In one possible embodiment, the first SEPP device is a vSEPP device, and the second SEPP device is an hSEPP device.
[0299] See also Figure 8-9 , Figure 8 A schematic diagram of the structure of a communication device provided in an embodiment of the present application, Fig. 9 It is a schematic diagram of the interface of the single board 830 in the communication device.
[0300] As shown in the figure, the communication device mainly includes a cabinet 820 and a single board 830 installed in the cabinet. Among them, the single board is composed of chips and electronic components, and can provide communication services. The number of single boards 830 can be increased or decreased according to actual needs, and this embodiment does not limit the number of single boards 830. In addition, the cabinet 820 is also equipped with a cabinet door 821.
[0301] like Fig. 9 As shown, the single board 830 includes multiple input / output interfaces, such as a display interface 831 for an external display, a network interface 832 for connecting to a communication network, a Universal Serial Bus (USB) interface 833, and the like.
[0302] In addition, the single board 830 also includes a power interface 835 for connecting to a power source, a heat dissipation port 834 for heat dissipation, and the like.
[0303] The communication device can realize different functions by installing different boards 830, for example, it can realize the function of the SEPP device in the embodiment of the present application. The board 830 is equipped with a control element such as a general processor / control chip / logic circuit. The board 830 can also be equipped with a memory such as a memory chip. The processor and memory can cooperate with the relevant communication interface to perform part or all of the operations of any method that can be performed by the SEPP device in the embodiment of the present application.
[0304] See also Fig.10 , Fig.10 It is a hardware structure diagram of the SEPP device provided in an embodiment of the present invention.
[0305] The SEPP device provided in this embodiment may adopt general computer hardware, which includes a processor 1001 , a memory 1002 , a bus 1003 , an input device 1004 , an output device 1005 , and a network interface 1006 .
[0306] Specifically, the memory 1002 may include computer storage media in the form of volatile and / or non-volatile memory, such as read-only memory and / or random access memory. The memory 1002 may store an operating system, application programs, other program modules, executable code, and program data.
[0307] An input device 1004 may be used to input commands and information to the SEPP device, such as a keyboard or a pointing device, such as a mouse, trackball, touchpad, microphone, joystick, game pad, satellite TV antenna, scanner, or similar device. These input devices may be connected to the processor 1001 via the bus 1003.
[0308] The output device 1005 can be used for the SEPP device to output information. In addition to the monitor, the output device 1005 can also be other peripheral output devices, such as speakers and / or printing devices. These output devices can also be connected to the processor 1001 through the bus 1003.
[0309] The SEPP device can be connected to a communication network, such as a local area network (LAN), through the network interface 1006. In a networked environment, the computer executable instructions stored in the SEPP device can be stored in a remote storage device, rather than being limited to local storage.
[0310] When the processor 1001 in the SEPP device executes the executable code or application stored in the memory 1002, the SEPP device can perform the method operations on the SEPP device side in the above method embodiment, such as performing operations 201, 202, 301, 307, 401-403, etc. The specific execution process refers to the above method embodiment, which will not be repeated here.
[0311] The embodiment of the present application also provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by hardware (such as a processor), it can complete part or all of the operations of any method that can be executed by the SEPP device in the embodiment of the present application.
[0312] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer device, enables the computer device to perform part or all of the operations of any method that can be performed by a SEPP device.
[0313] In the above embodiments, it can be implemented in whole or in part by software, hardware, firmware, or any combination thereof. When implemented using software, it can be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer program instructions are loaded and executed on a computer, the process or function described in the embodiment of the present application is generated in whole or in part. The computer can be a general-purpose computer, a special-purpose computer, a computer network, or other programmable devices. 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 a website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line) or wireless (e.g., infrared, wireless, microwave, etc.) mode to another website site, computer, server or data center. The computer-readable storage medium can be any available medium that a computer can access or a data storage device such as a server or data center that contains one or more available media integration. The available medium can be a magnetic medium (e.g., a floppy disk, a hard disk, a tape), an optical medium (e.g., an optical disk), or a semiconductor medium (e.g., a solid-state hard disk), etc. In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0314] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0315] In the several embodiments provided in the present application, it should be understood that the disclosed device can also be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the units is only a logical function division, and there may be other division methods in actual implementation, for example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the indirect coupling or direct coupling or communication connection between each other shown or discussed can be through some interfaces, and the indirect coupling or communication connection of the device or unit can be electrical or other forms.
[0316] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or they may be distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0317] In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.
[0318] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or all or part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the operations of the methods described in each embodiment of the present application.
Claims
1. A secure communication method, characterized in that: include: The second security and border protection proxy SEPP device receives an N32 message from the second IP exchange service IPX device, wherein the N32 message carries the first signaling message, the modification block of the first IPX device and the modification block of the second IPX device; The second SEPP device obtains the message modification policy of the first IPX device, and verifies the modification block of the first IPX device in the N32 message according to the message modification policy of the first IPX device; The second SEPP device obtains the message modification policy of the second IPX device, and verifies the modification block of the second IPX device in the N32 message according to the message modification policy of the second IPX device; After successfully verifying the modification block of the first IPX device and the modification block of the second IPX device, the second SEPP device sends the first signaling message to a network function NF device in a local network of the second SEPP device; The second SEPP device acquires the message modification policy of the first IPX device, including: The second SEPP device receives a first notification message from the first SEPP device, where the first notification message carries a message modification policy of the first IPX device; The second SEPP device obtains the message modification policy of the first IPX device from the first notification message.
2. The method according to claim 1, characterized in that Also includes: The second SEPP device sends a second notification message to the first SEPP device, where the second notification message carries a message modification policy of the second IPX device.
3. The method according to claim 1 or 2, characterized in that The second SEPP device obtains the message modification policy of the second IPX device, including: The second SEPP device obtains the message modification policy of the second IPX device locally.
4. The method according to claim 1 or 2, characterized in that: The N32 message also carries the security certificate of the first IPX device. Before the second SEPP device verifies the modification block of the first IPX device in the N32 message according to the message modification policy of the first IPX device, the method further includes: The second SEPP device verifies the modified block of the first IPX device using the security certificate; After the verification is successful, the second SEPP device verifies that the modification block of the first IPX device in the N32 message is: The second SEPP device checks the modification content in the modification block of the first IPX device in the N32 message according to the message modification policy of the first IPX device.
5. The method according to claim 1 or 2, characterized in that: Also includes: The second SEPP device receives a second signaling message from the network function NF device, and sends the second signaling message to the second IPX device.
6. The method according to claim 1 or 2, characterized in that: Also includes: After failing to check the modification block of the first IPX device and / or the modification block of the second IPX device, the second SEPP device returns a failure response.
7. A secure communication method, characterized in that: include: The first security and border protection proxy SEPP device obtains the message modification policy of the first IP exchange service IPX device; The first SEPP device sends a first notification message to the second SEPP device, where the first notification message carries a message modification policy of the first IPX device; The first SEPP device sends an N32 message to the first IPX device, where the N32 message carries a first signaling message, so that the first IPX device modifies the N32 message according to the message modification policy to obtain a modified block, and sends an N32 message carrying the first signaling message and the modified block to the second SEPP device; The message modification strategy is used by the second SEPP device to verify the modification block carried by the N32 message, and after the modification block carried by the N32 message is successfully verified, send the first signaling message to the network function NF device of the local network of the second SEPP device.
8. The method according to claim 7, characterized in that The first SEPP device obtains the message modification policy of the first IP exchange service IPX device, including: The first SEPP device locally obtains the message modification policy of the first IPX device.
9. The method according to claim 7 or 8, characterized in that The method further comprises: The first SEPP device receives a message modification policy of the second IPX device from the second SEPP device.
10. A security and border protection proxy device, characterized in that: The security and border protection proxy device is a second security and border protection proxy SEPP device, including: a unit for receiving an N32 message from a second IP exchange service IPX device, wherein the N32 message carries the first signaling message, a modification block of the first IPX device, and a modification block of the second IPX device; a unit for acquiring a message modification policy of the first IPX device; A unit for checking a modification block of the first IPX device in the N32 message according to a message modification policy of the first IPX device; A unit for obtaining a message modification policy of the second IPX device; A unit for checking a modification block of the second IPX device in the N32 message according to a message modification policy of the second IPX device; a unit for sending the first signaling message to a network function NF device of a local network of the second SEPP device after successfully verifying the modification block of the first IPX device and verifying the modification block of the second IPX device; The unit for obtaining the message modification policy of the first IPX device is used to: receive a first notification message from a first SEPP device, the first notification message carrying the message modification policy of the first IPX device; and obtain the message modification policy of the first IPX device from the first notification message.
11. The security and border protection agent device according to claim 10, characterized in that Also includes: A unit configured to send a second notification message to the first SEPP device, wherein the second notification message carries a message modification policy of the second IPX device.
12. The security and border protection agent device according to claim 10 or 11, characterized in that: The unit for obtaining the message modification policy of the second IPX device is used to obtain the message modification policy of the second IPX device locally.
13. The security and border protection agent device according to claim 10 or 11, characterized in that: The N32 message also carries the security certificate of the first IPX device, and the security and border protection proxy device further includes: a unit for verifying a modified block of the first IPX device using the security certificate; After the verification is successful, the unit for verifying the modification block of the first IPX device in the N32 message according to the message modification policy of the first IPX device verifies the modified content in the modification block of the first IPX device in the N32 message according to the message modification policy of the first IPX device.
14. The security and border protection proxy device according to claim 10 or 11, characterized in that: The security and border protection agent device also includes: a unit for receiving a second signaling message from the network function NF device; and A unit for sending the second signaling message to the second IPX device.
15. The security and border protection agent device according to claim 10 or 11, characterized in that: The security and border protection agent device also includes: A unit for returning a failure response after failing to check the modification block of the first IPX device and / or the modification block of the second IPX device.
16. A security and border protection proxy device, characterized in that The security and border protection proxy device is a first security and border protection proxy SEPP device, including: A unit for obtaining a message modification policy of a first IP exchange service IPX device; a unit configured to send a first notification message to a second SEPP device, wherein the first notification message carries a message modification policy of the first IPX device; a unit configured to send an N32 message to the first IPX device, the N32 message carrying a first signaling message, so that the first IPX device modifies the N32 message according to the message modification policy to obtain a modification block, and sends the N32 message carrying the first signaling message and the modification block to the second SEPP device; The message modification strategy is used by the second SEPP device to verify the modification block carried by the N32 message, and after the modification block carried by the N32 message is successfully verified, send the first signaling message to the network function NF device of the local network of the second SEPP device.
17. The security and border protection proxy device of claim 16, wherein: The unit for obtaining the message modification policy of the first IP exchange service IPX device is used to: obtain the message modification policy of the first IPX device locally.
18. The security and border protection agent device according to claim 16 or 17, characterized in that Also includes: Means for receiving a message from the second IPX device of the second SEPP device to modify the policy.
19. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method according to any one of claims 1 to 9 can be implemented.
20. A security and border protection proxy SEPP device, characterized in that, include: At least one processor and a memory coupled to the processor, wherein the memory stores computer program code, and the processor calls and executes the computer program code in the memory, so that the SEPP device performs the method according to any one of claims 1 to 9.
21. A system for secure communication, characterized in that: include: a first security and border protection proxy SEPP device and a core network function device in a local network of the first SEPP device, the core network function device being configured to send a first signaling message to the first SEPP device; The first SEPP device is configured to perform the method according to any one of claims 7 to 9.
22. A system for secure communication, characterized in that: include: A first security and border protection proxy SEPP device, a second SEPP device and a core network network function device in a local network of the second SEPP device, the first SEPP device is configured to execute the method described in any one of claims 7 to 9, and the second SEPP device is configured to execute the method described in any one of claims 1 to 6.
23. A communication device, characterized in that: The communication device comprises an input interface circuit, a logic circuit and an output interface circuit, wherein the logic circuit is used to execute the method according to any one of claims 1 to 6, or the logic circuit is used to execute the method according to any one of claims 7 to 9.
Citation Information
Cited By
Secure communication method, related apparatus, and system
WO2021249512A1
