Communication method, device, system and computer readable storage medium

By utilizing two-way verification and key delivery in the virtualized edge network element, the problem of low security of pre-shared keys is solved, and secure communication between the first network element and the core network is realized.

CN114006696BActive Publication Date: 2024-11-29CHINA TELECOM CORP LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202111560638.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-20
Publication Date
2024-11-29
Estimated Expiration
2041-12-20

AI Technical Summary

Technical Problem

In the prior art, pre-shared keys have low security problems in virtualized edge network elements, mainly because the keys are easily leaked, resulting in low communication security.

Method used

The first gateway of the edge network generates a second key based on the second gateway verification of the core network, and uses the key to generate a third key with the virtualized first network element, transmits a trust relationship, and ensures that the first network element and the first network element are Communication security between core networks.

Benefits of technology

Through two-way verification and key transfer, a trust relationship between the first network element and the core network is established, which improves communication security, prevents key leakage, and enhances communication security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114006696B_ABST
    Figure CN114006696B_ABST
Patent Text Reader

Abstract

The present disclosure provides a communication method, device, system and computer-readable storage medium, which relate to the field of communication technology. The method includes: a first gateway of an edge network generates a second key for communicating with a second gateway of a core network based on a first key for verifying the second gateway of the core network; the first gateway generates a third key based on the second key and an identifier of a virtualized first network element of the edge network; and the first gateway sends the third key to the first network element and the second gateway, so that the second gateway verifies the first network element based on the third key, and the first network element communicates with the second network element of the core network based on the third key after the verification is passed.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of communication technology, and in particular to a communication method, device, system and computer-readable storage medium. Background Art

[0002] With the development of 5G and 6G technologies, network function virtualization (NFV) technology is also developing continuously. NFV technology can form cloud networks and has flexible network customization capabilities. It is widely used in customized private networks for enterprises. Some network elements of customized private networks are deployed in edge nodes such as cities and parks. These network elements are virtualized edge network elements.

[0003] In the related art, virtualized edge network elements access the core network using pre-shared keys. Summary of the invention

[0004] The inventors have noticed that the pre-shared key in the related art has the problem of low security. This is mainly because the pre-shared key requires pre-distribution of the key to the virtualized edge network elements, and the key is easy to leak, so the security is not high.

[0005] In order to solve the above problems, the embodiments of the present disclosure propose the following solutions.

[0006] According to an aspect of an embodiment of the present disclosure, a communication method is provided, including: a first gateway of an edge network generates a second key for communicating with a second gateway of a core network based on a first key for verifying the second gateway of the core network; the first gateway generates a third key based on the second key and an identifier of a virtualized first network element of the edge network; and the first gateway sends the third key to the first network element and the second gateway, so that the second gateway verifies the first network element based on the third key, and the first network element communicates with the second network element of the core network based on the third key after the verification is passed.

[0007] In some embodiments, the first gateway receives a second parameter generated by the second gateway based on the first parameter and the first key; the first gateway generates a third parameter and a fourth parameter based on the first parameter and the first key; and the first gateway sends the fourth parameter to the second gateway if the second parameter is consistent with the third parameter, so that the second gateway returns a verification pass message to the first gateway if the fourth parameter is consistent with a fifth parameter, wherein the fifth parameter is generated by the second gateway based on the first parameter and the first key.

[0008] In some embodiments, in response to the verification pass message, the first gateway generates the second key based on the first key.

[0009] In some embodiments, the first gateway receives second information generated by the first network element encrypting the first information based on the third key; the first gateway encrypts the second information based on the second key to generate third information; and the first gateway sends the third information to the second gateway, so that the second gateway decrypts the third information based on the second key and the third key to obtain the first information and sends the first information to the second network element.

[0010] In some embodiments, the first gateway receives fifth information generated by the second gateway encrypting fourth information based on the second key and the third key; the first gateway decrypts the fifth information based on the second key to obtain sixth information; and the first gateway sends the sixth information to the first network element, so that the first network element decrypts the sixth information based on the third key to obtain the fourth information.

[0011] In some embodiments, the first key is from a user identification card.

[0012] In some embodiments, the user identification card is pluggably connected to the first gateway; before generating the second key, the first gateway sends a sixth parameter obtained based on the identifier of the first gateway and the identifier of the user identification card to the second gateway, so that the second gateway determines whether the identifier of the first gateway and the identifier of the user identification card are consistent with pre-configured binding information based on the sixth parameter.

[0013] In some embodiments, the subscriber identification card includes at least one of a Universal Subscriber Identity Module (USIM) and an embedded SIM card (eSIM).

[0014] In some embodiments, before generating the second key, the first gateway authenticates the first network element.

[0015] In some embodiments, the first gateway authenticates the first network element using at least one of a pre-shared key, a certificate authority certificate, and an authentication and key agreement protocol.

[0016] According to another aspect of an embodiment of the present disclosure, a communication device is provided, including: a generating module, configured to generate a second key for communicating with a second gateway of a core network based on a first key for verifying the second gateway of the second network, and to generate a third key based on the second key and an identifier of a virtualized first network element of an edge network; a sending module, configured to send the third key to the first network element and the second gateway, so that the second gateway verifies the first network element based on the third key, and the first network element communicates with the second network element of the core network based on the third key after the verification is passed.

[0017] According to another aspect of an embodiment of the present disclosure, a communication device is provided, including: a memory; and a processor coupled to the memory, wherein the processor is configured to execute the method described in any one of the above embodiments based on instructions stored in the memory.

[0018] According to another aspect of an embodiment of the present disclosure, a communication system is provided, including: a first gateway of an edge network, including the communication device described in any one of the above embodiments; a second network element of a core network; a virtualized first network element of the edge network, configured to communicate with the second network element based on a third key after verification; and the second gateway of the core network, configured to verify the first network element based on the third key.

[0019] According to another aspect of an embodiment of the present disclosure, a computer-readable storage medium is provided, comprising computer program instructions, wherein when the computer program instructions are executed by a processor, the method described in any one of the above embodiments is implemented.

[0020] According to another aspect of the embodiments of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, any one of the methods described above is implemented.

[0021] In the disclosed embodiment, the first gateway of the edge network establishes a trust relationship with the core network based on the first key; then generates a second key based on the first key, thereby transferring the trust relationship to the second key; finally, generates a third key based on the second key and the identifier of the first network element, so that the first gateway transfers the trust relationship to the first network element through the third key, thereby establishing a trust relationship between the first network element and the core network, and ensuring the communication security between the first network element and the core network.

[0022] The technical solution of the present disclosure is further described in detail below through the accompanying drawings and embodiments. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

[0024] Figure 1 is a flow chart of a communication method according to some embodiments of the present disclosure;

[0025] Figure 2 is a flow chart of a verification method according to some embodiments of the present disclosure;

[0026] Figure 3 is a flow chart of a communication process between a first network element and a second network element according to some embodiments of the present disclosure;

[0027] Figure 4 is a flow chart of a communication process between a first network element and a second network element according to some other embodiments of the present disclosure;

[0028] Figure 5 is a schematic diagram of the structure of a communication device according to some embodiments of the present disclosure;

[0029] Figure 6 is a schematic diagram of the structure of a communication device according to other embodiments of the present disclosure;

[0030] Figure 7 is a schematic diagram of the structure of a communication system according to some embodiments of the present disclosure;

[0031] Figure 8 It is a structural diagram of a communication system according to some other embodiments of the present disclosure. DETAILED DESCRIPTION

[0032] The following will be combined with the drawings in the embodiments of the present disclosure to clearly and completely describe the technical solutions in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present disclosure.

[0033] Unless specifically stated otherwise, the relative arrangement of components and steps, the numerical expressions and numerical values ​​set forth in these embodiments do not limit the scope of the present disclosure.

[0034] At the same time, it should be understood that for the convenience of description, the sizes of the various parts shown in the drawings are not drawn according to the actual proportional relationship.

[0035] Technologies, methods, and apparatus known to ordinary technicians in the relevant field may not be discussed in detail, but where appropriate, such technologies, methods, and apparatus should be considered part of the authorization specification.

[0036] In all examples shown and discussed herein, any specific values ​​should be interpreted as merely exemplary and not as limiting. Therefore, other examples of the exemplary embodiments may have different values.

[0037] It should be noted that like reference numerals and letters refer to similar items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.

[0038] Figure 1 is a flow chart of a communication method according to some embodiments of the present disclosure.

[0039] In step 102, the first gateway of the edge network generates a second key for communicating with the second gateway based on the first key for authenticating the second gateway of the core network.

[0040] In some embodiments, the first key is a key used by the second gateway to authenticate the first gateway. The authentication method between the first gateway and the second gateway will be described below in conjunction with some embodiments.

[0041] According to some embodiments, the second key may be generated during the verification process or after the verification, which will be described below in conjunction with different embodiments.

[0042] In step 104, the first gateway generates a third key based on the second key and an identifier of a virtualized first network element of the edge network.

[0043] According to some embodiments, the identifier of each first network element is different from the identifiers of other first network elements. In this case, the third keys generated for different first network elements are also different.

[0044] According to some embodiments, the first gateway generates a third key using a key derivation function (KDF) based on the second key and the identifier of the first network element. The identifier of the first network element includes, for example, at least one of a name, a number, and an IP address of the first network element.

[0045] In step 106, the first gateway sends the third key to the first network element and the second gateway, so that the second gateway verifies the first network element based on the third key, and enables the first network element to communicate with the second network element of the core network based on the third key after the verification is passed.

[0046] According to some embodiments, the authentication method used by the second gateway to authenticate the first network element is the same as the authentication method used by the first gateway to authenticate the second gateway.

[0047] According to some embodiments, the second gateway of the core network and the second network element of the core network trust each other, and the multiple second network elements of the core network also trust each other, and no verification is required.

[0048] The communication process between the first network element and the second network element will be described below in conjunction with some embodiments.

[0049] In the above embodiment, the first gateway of the edge network establishes a trust relationship with the core network based on the first key; then generates a second key based on the first key, thereby transferring the trust relationship to the second key; finally, generates a third key based on the second key and the identifier of the first network element, so that the first gateway transfers the trust relationship to the first network element through the third key, thereby establishing a trust relationship between the first network element and the core network, thereby ensuring the communication security between the first network element and the core network.

[0050] Figure 2 is a flowchart of a verification method according to some embodiments of the present disclosure.

[0051] In step 202, the first gateway receives a second parameter generated by the second gateway based on the first parameter and the first key.

[0052] According to some embodiments, the first gateway and the second gateway respectively store the same first key,

[0053] According to some embodiments, the second gateway generates a random number R, and sends the random number R as a first parameter to the first gateway.

[0054] According to some embodiments, the second gateway calculates the second parameter AUTN and the fifth parameter XRES based on the first key and the first parameter R using two methods (eg, two functions), and sends the second parameter AUTN to the first gateway.

[0055] In step 204, the first gateway generates a third parameter and a fourth parameter based on the first parameter and the first key.

[0056] According to some embodiments, the first gateway calculates the third parameter AUTN-UE and the fourth parameter RES based on the first key and the first parameter R using two methods (eg, two functions).

[0057] In step 206, the first gateway sends the fourth parameter to the second gateway when the second parameter is consistent with the third parameter, so that the second gateway returns a verification success message to the first gateway when the fourth parameter is consistent with the fifth parameter, wherein the fifth parameter is generated by the second gateway based on the first parameter and the first key.

[0058] According to some embodiments, the first gateway compares whether the second parameter AUTN and the third parameter AUTN-UE are consistent. When they are consistent, it means that the second gateway is trustworthy. At this time, the first gateway sends the fourth parameter RES to the second gateway; the second gateway compares whether the second parameter XRES and the fifth parameter RES are consistent. When they are consistent, it means that the first gateway is trustworthy. At this time, the second gateway returns a verification pass message to the first gateway, thereby realizing two-way verification.

[0059] It should be understood that the verification method may further include other steps, such as generating a encryption key (CK), an integrity key (IK), an anchor key (Kseaf) or a Kamf key.

[0060] According to some embodiments, the verification method includes an authentication and key agreement protocol (AKA). For example, AKA includes 5G-AKA, Extensible Authentication Protocol-Authentication and Key Agreement Protocol (EAP-AKA'), and Internet Key Exchange Protocol Version 2-Using Extensible Authentication Protocol-Authentication and Key Agreement Protocol (IKEv2 EAP AKA), etc.

[0061] In the above embodiment, implementing bidirectional verification between the first gateway and the second gateway is beneficial for the first gateway and the second gateway to confirm whether the other party is trustworthy, thereby ensuring the security of communication between the gateways.

[0062] Some embodiments of the method for generating the second key are introduced below.

[0063] According to some embodiments, in response to the verification pass message, the first gateway generates a second key based on the first key.

[0064] As some implementations, the first gateway generates a second key based on the first key and a key derivation function (KDF), for example, using CK and IK generated based on the first key during the verification process to generate the second key K2, for example, K2 = KDF (CK + IK + R), R is a random number. KDF can use a hash function, such as SM3 or SHA256 algorithms.

[0065] According to some other embodiments, the first gateway uses the key generated in the verification process as the second key, for example, uses Kseaf or Kamf as the second key.

[0066] According to some embodiments, before generating the second key, the first gateway authenticates the first network element, for example, the first gateway authenticates the first network element using at least one of a pre-shared key, a certificate authority certificate, and AKA.

[0067] In the above embodiment, verifying the first network element through the first gateway is helpful to confirm whether the first network element is trustworthy, thereby ensuring the security of communication.

[0068] Figure 3 It is a flowchart of a communication process between a first network element and a second network element according to some embodiments of the present disclosure.

[0069] In step 302, the first gateway receives second information generated by the first network element encrypting the first information based on the third key.

[0070] In step 304, the first gateway encrypts the second information based on the second key to generate third information.

[0071] In step 306, the first gateway sends the third information to the second gateway, so that the second gateway decrypts the third information based on the second key and the third key to obtain the first information and sends the first information to the second network element.

[0072] Figure 4 It is a flowchart of the communication process between the first network element and the second network element according to some other embodiments of the present disclosure.

[0073] In step 402, the first gateway receives fifth information generated by encrypting fourth information by the second gateway based on the second key and the third key.

[0074] In step 404, the first gateway decrypts the fifth information based on the second key to obtain sixth information.

[0075] In step 406, the first gateway sends the sixth information to the first network element, so that the first network element decrypts the sixth information based on the third key to obtain the fourth information.

[0076] exist Figure 3 and Figure 4 In an embodiment, the network layer data (ie, the second information) between the first gateway and the second gateway is encrypted using the second key, and the transport layer data (ie, the first information) between the first network element and the second network element is encrypted using the third key.

[0077] According to some embodiments, the second gateway and the second network element trust each other, so verification is not required. According to other embodiments, verification is also required between the second gateway and the second network element. For example, verification is performed using the AKA verification method. Further, after the verification is passed, the second gateway and the second network element communicate based on a key generated during or after the verification process.

[0078] According to some embodiments, the communication between the first network element and the second network element is implemented using a network domain / IP (NDS / IP) mechanism. In some implementations, the communication between the first gateway and the second gateway is implemented using Internet Security Protocol (IPsec). For example, IPsec is implemented using Encapsulating Security Payload (ESP) and tunnel mode.

[0079] In the above embodiment, the communication between the first network element and the second network element is encrypted, which is conducive to ensuring communication security.

[0080] The source of the first key is explained below in conjunction with some embodiments.

[0081] According to some embodiments, the first key comes from a user identification card. For example, the user identification card includes at least one of a USIM and an eSIM. The first key is stored in a USIM card or an eSIM card, which has high security and low cost.

[0082] In the above embodiment, multiple virtualized edge network elements share hardware resources and have the characteristics of dynamic loading and elastic scaling, that is, they can be started or stopped according to business needs. For the virtualized first network element with dynamic loading and elastic scaling characteristics, when the first network element is started or stopped as needed, the third key will also be generated or invalidated accordingly. This key generation method is easy to manage.

[0083] According to some embodiments, the subscriber identity card is built into the first gateway. In some implementations, the subscriber identity card and the second network element store the first key respectively.

[0084] According to some other embodiments, the user identification card is pluggably connected to the first gateway, for example, the user identification card is inserted into the USB port of the first gateway through a card reader having a USB interface. In this case, before generating the second key, the first gateway sends a sixth parameter obtained based on the identifier of the first gateway and the identifier of the user identification card to the second gateway, so that the second gateway determines whether the identifier of the first gateway and the identifier of the user identification card are consistent with the pre-configured binding information based on the sixth parameter. In some implementations, the user identification card and the second gateway store the first key respectively.

[0085] According to some embodiments, the first gateway may submit the identifier of the first gateway and the identifier of the user identification card to the second gateway in advance to configure the binding information between the two identifiers. The identifier of the first gateway, for example, includes the device fingerprint of the first gateway, and the identifier of the user identification card, for example, includes the International Mobile Subscriber Identity (IMSI) or the User Permanent Identifier (SUPI) code number. In some embodiments, network access information may also be submitted to the second gateway, and the network access information may include, for example, the port information of the first gateway.

[0086] According to some embodiments, before the first gateway authenticates the second gateway or during the authentication process between the first gateway and the second gateway, the first gateway sends a sixth parameter obtained based on the identifier of the first gateway and the identifier of the user identification card to the second gateway, and the second gateway confirms whether the identifier of the first gateway and the identifier of the user identification card are consistent with the binding information based on the sixth parameter. When the consistency is confirmed, the authentication between the first gateway and the second gateway can be successful.

[0087] In the above embodiment, binding the first gateway with the user identification card can effectively prevent the user identification card from being misappropriated, which is beneficial to ensuring communication security.

[0088] Each embodiment in this specification is described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the embodiments can be referred to each other. For the device embodiment, since it basically corresponds to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0089] Figure 5 is a schematic diagram of the structure of a communication device according to some embodiments of the present disclosure.

[0090] like Figure 5 As shown, the communication device 500 includes a generating module 501 and a sending module 502 .

[0091] The generation module 501 is configured to generate a second key for communicating with the second gateway based on a first key for authenticating the second gateway of the core network, and to generate a third key based on the second key and an identifier of a virtualized first network element of the edge network.

[0092] The sending module 502 is configured to send the third key to the first network element and the second gateway, so that the second gateway verifies the first network element based on the third key, and enables the first network element to communicate with the second network element of the core network based on the third key after the verification is passed.

[0093] Figure 6 It is a schematic diagram of the structure of a communication device according to some other embodiments of the present disclosure.

[0094] like Figure 6 As shown, the communication device 600 includes a memory 601 and a processor 602 coupled to the memory 601 , and the processor 602 is configured to execute the method of any one of the aforementioned embodiments based on the instructions stored in the memory 601 .

[0095] The memory 601 may include, for example, a system memory, a fixed non-volatile storage medium, etc. The system memory may store, for example, an operating system, an application program, a boot loader, and other programs.

[0096] The communication device 600 may also include an input / output interface 603, a network interface 604, a storage interface 605, etc. These interfaces 603, 604, 605, and the memory 601 and the processor 602 may be connected, for example, via a bus 606. The input / output interface 603 provides a connection interface for input / output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 604 provides a connection interface for various networked devices. The storage interface 605 provides a connection interface for external storage devices such as an SD card and a USB flash drive.

[0097] Figure 7 is a structural diagram of a communication system according to some embodiments of the present disclosure.

[0098] like Figure 7 As shown, the communication system 700 includes a first gateway 710 of an edge network, a virtualized first network element 720 of the edge network, a second network element 730 of a core network, and a second gateway 740 of the core network. The first gateway 710 of the edge network may include a communication device as described in any of the above embodiments, such as the communication device 500 or the communication device 600. The virtualized first network element 720 of the edge network is configured to communicate with the second network element based on a third key after verification. The second gateway 740 of the core network is configured to verify the first network element based on the third key.

[0099] Figure 8 It is a structural diagram of a communication system according to some other embodiments of the present disclosure.

[0100] like Figure 8 As shown, the communication system 800 includes a first gateway 710 of an edge network, a virtualized first network element 720 of the edge network, a second network element 730 of a core network, and a second gateway 740 of the core network.

[0101] The first gateway 710 of the edge network includes a secure access module 711, an Authentication Authorization Accounting (AAA) authentication module 712, and an internal verification module 713. The internal verification module 713 is configured to verify the virtualized first network element 720 of the edge network.

[0102] The second gateway 740 includes a security access module 741 and an AAA server 742. The security access module 741 on the core network side is configured to cooperate with the security access module 711 on the edge network side to implement communication encryption between the first gateway 710 and the second gateway 740. The AAA server 742 is configured to cooperate with the AAA authentication module 712 to implement the first gateway 710 to authenticate the second gateway 740, and to implement the second gateway 740 to authenticate the first network element 720.

[0103] According to some embodiments, the second network element 730 includes a key management network element (not shown in the figure), which is configured to store the first key. For example, the key management network element is a unified data management function (UDM) network element. According to some embodiments, the second network element 730 includes an authentication server function (AUSF) network element, which is configured to implement authentication between the second network element 730 of the core network and the second gateway 740 of the core network.

[0104] The embodiments of the present disclosure further provide a computer-readable storage medium, comprising computer program instructions, which implement the method of any one of the above embodiments when executed by a processor.

[0105] The embodiment of the present disclosure further provides a computer program product, including a computer program, wherein when the computer program is executed by a processor, any one of the above-mentioned methods is implemented.

[0106] So far, various embodiments of the present disclosure have been described in detail. In order to avoid obscuring the concept of the present disclosure, some details known in the art are not described. Based on the above description, those skilled in the art can fully understand how to implement the technical solution disclosed here.

[0107] Those skilled in the art will appreciate that the embodiments of the present disclosure may be provided as methods, systems, or computer program products. Therefore, the present disclosure may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present disclosure may take the form of a computer program product implemented on one or more computer-usable non-transient storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0108] The present disclosure is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present disclosure. It should be understood that the functions specified in one or more processes in the flowchart and / or one or more blocks in the block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the functions specified in the flowchart. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0111] Although some specific embodiments of the present disclosure have been described in detail by way of examples, it should be understood by those skilled in the art that the above examples are for illustration only and are not intended to limit the scope of the present disclosure. It should be understood by those skilled in the art that the above embodiments may be modified or some technical features may be replaced by equivalents without departing from the scope and spirit of the present disclosure. The scope of the present disclosure is defined by the appended claims.

Claims

1. A communication method, comprising: The first gateway of the edge network generates a second key for communicating with the second gateway of the core network based on a first key for authenticating the second gateway of the core network, including: The first gateway receives a second parameter generated by the second gateway based on the first parameter and the first key; The first gateway generates a third parameter and a fourth parameter based on the first parameter and the first key; The first gateway sends the fourth parameter to the second gateway when the second parameter is consistent with the third parameter, so that the second gateway returns a verification success message to the first gateway when the fourth parameter is consistent with a fifth parameter, wherein the fifth parameter is generated by the second gateway based on the first parameter and the first key; and In response to the verification success message, the first gateway generates the second key based on the first key; The first gateway generates a third key based on the second key and an identifier of a virtualized first network element of the edge network; and The first gateway sends the third key to the first network element and the second gateway, so that the second gateway verifies the first network element based on the third key, and enables the first network element to communicate with the second network element of the core network based on the third key after the verification is passed.

2. The method according to claim 1, wherein: The first network element communicating with the second network element of the core network based on the third key after verification includes: The first gateway receives second information generated by the first network element encrypting the first information based on the third key; The first gateway encrypts the second information based on the second key to generate third information; and The first gateway sends the third information to the second gateway, so that the second gateway decrypts the third information based on the second key and the third key to obtain the first information and sends the first information to the second network element.

3. The method according to claim 1, wherein: The first network element communicating with the second network element of the core network based on the third key after verification includes: The first gateway receives fifth information generated by encrypting fourth information by the second gateway based on the second key and the third key; The first gateway decrypts the fifth information based on the second key to obtain sixth information; and The first gateway sends the sixth information to the first network element, so that the first network element decrypts the sixth information based on the third key to obtain the fourth information.

4. The method according to any one of claims 1 to 3, wherein: The first key comes from a user identification card.

5. The method according to claim 4, wherein: The user identification card is pluggably connected to the first gateway; The method also includes: before generating the second key, the first gateway sending a sixth parameter obtained based on the identifier of the first gateway and the identifier of the user identification card to the second gateway, so that the second gateway determines whether the identifier of the first gateway and the identifier of the user identification card are consistent with pre-configured binding information based on the sixth parameter.

6. The method according to claim 4, wherein: The user identification card includes at least one of a USIM card and an eSIM card.

7. The method according to any one of claims 1 to 3, further comprising: Before generating the second key, the first gateway authenticates the first network element.

8. The method according to claim 7, wherein: The first gateway verifying the first network element includes: The first gateway authenticates the first network element using at least one of a pre-shared key, a certificate authority certificate, and an authentication and key agreement protocol.

9. A communication device, comprising: A generating module configured to generate a second key for communicating with the second gateway based on a first key for authenticating the second gateway of the core network, and to generate a third key based on the second key and an identifier of a virtualized first network element of the edge network; a sending module, configured to send the third key to the first network element and the second gateway, so that the second gateway verifies the first network element based on the third key, and enables the first network element to communicate with the second network element of the core network based on the third key after the verification is passed; Wherein, the generating module is configured as follows: receiving a second parameter generated by the second gateway based on the first parameter and the first key; Generate a third parameter and a fourth parameter based on the first parameter and the first key; When the second parameter is consistent with the third parameter, sending the fourth parameter to the second gateway, so that the second gateway returns a verification success message to the first gateway when the fourth parameter is consistent with a fifth parameter, wherein the fifth parameter is generated by the second gateway based on the first parameter and the first key; and In response to the verification pass message, the second key is generated based on the first key.

10. A communication device, comprising: Memory; as well as A processor coupled to the memory is configured to execute the method according to any one of claims 1 to 8 based on instructions stored in the memory.

11. A communication system comprising: A first gateway of an edge network, comprising the communication device according to claim 9 or 10; The second network element of the core network; A virtualized first network element of the edge network is configured to communicate with the second network element based on a third key after verification; as well as The second gateway of the core network is configured to verify the first network element based on the third key.

12. A computer-readable storage medium comprising computer program instructions, wherein: When the computer program instructions are executed by a processor, the method according to any one of claims 1 to 8 is implemented.

13. A computer program product comprising a computer program, wherein: When the computer program is executed by a processor, the method according to any one of claims 1 to 8 is implemented.

Citation Information

Patent Citations

  • End-to-end security guarantee method facing communication sensor network and edge server

    CN113630244A