Security authentication method and related equipment for 5G mobile edge computing
By adopting a group authentication method based on secret sharing and one-to-one two-way authentication in the 5G mobile edge computing environment, the problems of low efficiency and insufficient security in the existing solutions are solved, and efficient, low-overhead security authentication and Privacy protection.
Patent Information
- Application Number
- CN202310816168.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-04
- Publication Date
- 2024-10-01
- Estimated Expiration
- 2043-07-04
AI Technical Summary
The existing security authentication scheme in the 5G mobile edge computing environment is inefficient, not secure enough, cannot provide sufficient privacy protection and data integrity confidentiality, and has problems such as asynchronous release, multiple tests, and replay attacks.
Adopting a group authentication method based on secret sharing, the group key and private key are distributed through the key generation center. The node device obtains the token and performs cumulative judgment, and iteratively reduces the group by two, combined with one-to-one identity-based two-way authentication. Ensure security and privacy.
It improves the efficiency and privacy of security authentication, reduces overhead, and avoids problems such as asynchronous release, multiple trials, and replay attacks, and is suitable for edge devices with limited resources.
Smart Images

Figure CN117221883B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of 5G communication technology, and in particular to a security authentication method and related equipment for 5G mobile edge computing. Background Art
[0002] 5G Mobile Edge Computing (MEC) emerges as a new distributed computing paradigm based on mobile communication networks, which is a further extension of the traditional cloud computing network architecture. 5G mobile edge computing is promoting the integration of cloud computing platforms in traditional centralized data centers with mobile networks. Edge computing servers with certain computing and storage capabilities will be deployed close to data sources or users to provide services to users. Users can access through network media such as radio access networks (RAN). In this way, mobile edge computing can optimize network bandwidth, real-time services, data security and privacy in traditional cloud computing architectures, and further improve the network's quality of service (QoS). Mobile edge computing allows applications to be executed at a location closer to the service requester to reduce the communication delay between user terminal data and cloud servers for uploading and downloading, providing faster response and real-time performance.
[0003] At present, security authentication schemes in the 5G mobile edge computing environment have problems such as low efficiency and insufficient security. For example, they cannot provide sufficient security guarantees (including forward security, resistance to common attacks, etc.), cannot provide sufficient privacy protection (such as user anonymity, untraceability, etc.), and do not guarantee data integrity and confidentiality. Summary of the invention
[0004] In view of this, the purpose of this application is to propose a security authentication method and related equipment for 5G mobile edge computing.
[0005] Based on the above objectives, this application provides a security authentication method for 5G mobile edge computing, including:
[0006] The node device sends a registration request to the key generation center; the registration request carries a pseudonym of the node device; the node device includes a terminal device and an edge server;
[0007] The key generation center receives the registration request sent by the node device, and sends the group key, the corresponding private key and the corresponding secret share to the node device; the key generation center assigns the node device to a group; each group includes an edge server and multiple terminal devices, and all multicast messages in each group can be accessed by all node devices;
[0008] Each node device in the group obtains the tokens of all node devices in the group; and determines whether the accumulated value of the tokens of all node devices conforms to the first formula;
[0009] In response to determining that the judgment result is not in compliance, iteratively reducing the number of node devices in the group by binary division, and iteratively determining whether the accumulated value of the tokens of the reduced node devices complies with the first formula;
[0010] In response to determining that the iterative judgment result is in compliance, the authentication of the group reduced by iterative binary division is passed; or in response to determining that the number of node devices in the reduced group is less than the threshold value of the number of node devices, a one-to-one identity-based two-way authentication is performed between the edge server and the terminal device in the reduced group.
[0011] In some embodiments, the reduction is a binary reduction; the iterative binary reduction of the number of node devices in the group includes:
[0012] The number of all node devices in each iteration group is 1 / 2 of the previous iteration time, and is rounded up to obtain a group with a reduced number of node devices, until the iteration judgment result of the group with a reduced number of node devices is in compliance; or until the number of node devices in the reduced group is less than the threshold value of the number of node devices.
[0013] The first formula is Where m is the number of node devices in the group; token is the token; token is obtained by Calculate; where, is the Lagrangian component, f(x i ) is the secret share of node device i, x i h2(PID i ), h2 is a one-way collision-free hash function, PID i is the pseudonym of node device i; r is the group key of the group, v i is the first random number; P is the generator of the cyclic additive group of the key generation center; Q=k0P, k0 is a secret.
[0014] In some embodiments, the edge server and the terminal device perform one-to-one identity-based two-way authentication including:
[0015] The terminal device sends an authentication message to the edge server, wherein the authentication message includes encryption information, a signature value, and a timestamp;
[0016] In response to the edge server determining that the timestamp is within the validity period, the edge server decrypts the encrypted information with a private key and verifies the correctness of the signature value. In response to the verification result being correct, the authentication is passed.
[0017] In some embodiments, the method further comprises:
[0018] In response to determining that the key generation center receives a registration request from a newly added node device; the key generation center sends the group private key, the corresponding private key and the corresponding secret share to the node device; or
[0019] In response to determining that there is a terminal device that needs to be deleted in the group, the key generation center adds an increment to the secret and distributes the increment to all node devices in the group except the terminal device that needs to be deleted; or
[0020] In response to determining that the pseudonym of the node device is expired or exposed, the node device selects a new pseudonym to re-register with the edge server in the group.
[0021] In some embodiments, obtaining the tokens and random numbers of all node devices in the group includes:
[0022] Each node device is based on the corresponding secret share and x i Calculate the Lagrangian component; the secret share is calculated by dividing h2(PID d ) is substituted as a variable value into the secret distribution polynomial f to obtain; the secret distribution polynomial f is f(x)=k0+k1x 1 +…+k t-1 x t-1 ; Where f(x) is a polynomial and k0 is a secret;
[0023] Each node device randomly selects a first random number and a second random number, both of which are prime numbers; each node device calculates the coordinates of the first point according to the first random number, and calculates the coordinates of the second point according to the second random number; each node device calculates a token according to the Lagrangian component and the first random number, and publishes the coordinates of the first point, the coordinates of the second point, x through a multicast message i , token and current timestamp.
[0024] In some embodiments, before judging whether the sum of the accumulation of the tokens of all node devices and the accumulation of the random numbers meets the first formula, the process further includes:
[0025] If the time difference between the timestamp of the node device's token and random number and the current time is greater than a first threshold, discard the node device's token and random number;
[0026] In some of the embodiments, the terminal device is further used to determine an edge server in the authenticated group, and the terminal device and the edge server are further used to establish a session key.
[0027] The embodiment of the present application also provides a security authentication system for 5G mobile edge computing, including a node device and a key generation center; wherein the node device includes a terminal device and an edge server:
[0028] The terminal device is used to send a registration request to the key generation center; the registration request carries a pseudonym of the terminal device;
[0029] The edge server is used to send a registration request to the key generation center; the registration request carries a pseudonym of the edge server;
[0030] The key generation center is used for the registration request sent by the terminal device or edge server, and sends the group key, the corresponding private key and the corresponding secret share to the terminal device or edge server;
[0031] Each of the terminal devices or the edge server is further used to obtain the tokens of all the node devices in the group, and to determine whether the accumulated value of the tokens of all the node devices conforms to the first formula;
[0032] In response to determining that the judgment result is not in compliance, the key center is further used to iteratively divide and reduce the number of node devices in the group, and the node devices in the group are further used to iteratively judge whether the accumulated value of the tokens of the reduced node devices complies with the first formula;
[0033] In response to determining that the iterative judgment result is in compliance, the authentication of the group reduced by iterative binary division is passed; or in response to determining that the number of node devices in the reduced group is less than the threshold value of the number of node devices, the edge server and the terminal device in the reduced group are also used for one-to-one identity-based two-way authentication.
[0034] An embodiment of the present application also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable a computer to execute any of the methods described above.
[0035] An embodiment of the present application further provides a computer program product, comprising computer program instructions, which, when executed on a computer, enable the computer to execute any of the methods described above.
[0036] From the above, it can be seen that the security authentication method for 5G mobile edge computing provided by this application has higher efficiency and security privacy through group authentication based on secret sharing, can ensure security and privacy with lower overhead, and can avoid problems such as asynchronous release, multiple trials and replay attacks existing in existing solutions. BRIEF DESCRIPTION OF THE DRAWINGS
[0037] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0038] Figure 1 A schematic diagram of a security authentication system for 5G mobile edge computing according to an embodiment of the present application;
[0039] Figure 2 A schematic diagram of the KGC architecture of an embodiment of the present application;
[0040] Figure 3 A schematic diagram of a flow chart of a security authentication method for 5G mobile edge computing according to an embodiment of the present application;
[0041] Figure 4 A schematic diagram of the registration process of a terminal device according to an embodiment of the present application;
[0042] Figure 5 A schematic diagram of the registration process of the edge server of an embodiment of the present application;
[0043] Figure 6 A schematic diagram of the group authentication process of an embodiment of the present application;
[0044] Figure 7 A schematic diagram of a process for performing one-to-one bidirectional authentication between an edge server and a terminal device in an embodiment of the present application;
[0045] Figure 8 This is a schematic diagram of the program execution in Verification Example 1;
[0046] Fig. 9 This is a schematic diagram of the results output by the verification program in Verification Example 1;
[0047] Fig.10 This is a schematic diagram of the hardware structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0048] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.
[0049] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but may include electrical connections, whether direct or indirect.
[0050] Authentication Protocol is an important research direction in cryptography and network security. Specifically, authentication protocol refers to a series of interactive steps taken by two or more participant entities, using cryptographic knowledge (including elliptic curves, bilinear pairings, hash functions, XOR operations, etc.) to prove the legitimacy of their identities to the communicating party entity, so as to achieve a certain security guarantee between communications. Mutual security authentication between entities is the first step to ensure privacy and communication security in edge computing environments. By only allowing authenticated and trusted devices to join the network, it can ensure that the network is a trusted security domain and resist a series of attacks on communications by malicious attackers. Not only do edge devices need to authenticate their identities to the cloud, but they also need to provide two-way authentication services for massive IoT terminals. The key to security authentication technology in the 5G mobile edge computing environment lies in the advantages of scalability in a distributed manner and the need for efficient control in a secure manner.
[0051] Due to the characteristics of the 5G mobile edge computing architecture, edge devices have many security risks. How to design a security authentication scheme that can better handle the following problems is the main challenge at present: (1) Since edge devices are mostly small devices with limited storage capacity such as wireless sensors, they cannot frequently perform complex security calculations (such as cryptography based on bilinear pairings), which brings them more vulnerabilities. (2) All edge devices have common characteristics (such as low-cost design, high privacy requirements, high availability and high trust-related issues). In the edge computing environment, the number of terminals is large, the mobility is strong, the hierarchy is complex, multiple security domains coexist, and the data is multi-source and heterogeneous. It is difficult to achieve self-security protection, and the traditional security framework is no longer applicable. (3) Due to the openness of wireless networks, this makes messages transmitted through the channel more vulnerable to a large number of attacks, such as identity deception, message eavesdropping, message tampering and other security issues. (4) Since the edge server is close to the terminal device, the protection of the privacy of the terminal user (such as data and location) is another key issue that arises in the edge computing paradigm. For example, some service applications are hosted at the edge of the network (such as location-aware services), making the terminal device vulnerable to location-based attacks. (5) The access networks where edge nodes are deployed are heterogeneous and may belong to different standards and be managed by different operators. It is difficult to implement a unified security authentication scheme, and the access security level may be inconsistent. (6) The computing power of edge servers is not as good as that of cloud centers, and they are unattended, making them easy to be hacked by malicious attackers, causing privacy leaks, or malicious tampering. (7) In the absence of a stable power supply, the energy consumption of edge devices and edge servers also needs to be considered.
[0052] At present, the security authentication schemes in the 5G mobile edge computing environment mainly include security authentication schemes based on public key infrastructure (PKI), identity-based security authentication schemes, and group authentication schemes based on secret sharing.
[0053] The security authentication scheme based on public key infrastructure is the most traditional identity authentication technology. In this type of authentication scheme, the identity of the edge device and the legitimacy of the public key information are protected by digital certificates, which are generated by a trusted third-party certificate authority (CA). All edge devices have the public key of the certificate authority, so the digital signature of the certificate issued by it can be verified to ensure the credibility of the certificate. The edge device needs to send a request to the certificate authority, which then issues a mutually bound certificate and public key to the legitimate edge device. The edge device stores a large number of digital certificates of other devices, and attaches its own digital certificate when it needs to send a message, so that the recipient of the message can ensure the legitimacy of the identity and public key through the digital certificate. This certificate-based security authentication scheme requires a large amount of storage space to store digital certificates because edge devices cannot interact securely with the certificate authority at any time; and the frequent broadcast of digital certificates will occupy channel bandwidth, thereby affecting system efficiency. Therefore, certificate-based security authentication schemes require public key infrastructure, have high certificate storage overhead, high certificate management communication overhead, high certificate verification computation overhead, and high maintenance pressure on revocation lists due to frequent device entry and exit. They are not suitable for 5G mobile edge computing environments with a large number of resource-constrained devices.
[0054] In the identity-based security authentication scheme, the user's identity information can be used as the user's public key (more precisely, the user's public key can be calculated from the user's identity information). However, this identity-based security authentication scheme is a one-to-one scheme. When multiple terminal devices simultaneously initiate security authentication requests to the edge server, a large number of request data packets will cause network congestion and affect service quality. As a centralized authentication center, the edge server will become a bottleneck in the scheme and is prone to single point failures, causing service unavailability. Therefore, the identity-based security authentication scheme has large computational and communication overheads and is not suitable for the 5G mobile edge computing environment with a large number of resource-constrained devices.
[0055] In the group authentication scheme based on secret sharing, there is a trusted third party that first distributes the shares of the secret value to each participant. After each participant collects all the tokens generated according to the shares, the Lagrange interpolation method is used to restore the secret value. If the secret is successfully restored, it means that all members in the group are legal and the authentication is successful. Due to the limitations of the Shamir secret sharing principle, this group authentication scheme based on secret sharing cannot restore the secret when there are illegal participants, and its calculation, storage efficiency and security also have certain defects. Therefore, this scheme cannot complete the authentication of legal participants in the group in the presence of illegal participants.
[0056] In addition, existing solutions for identifying cheater identification in group authentication are generally based on methods such as brute force traversal, which cannot efficiently complete the authentication of legitimate members, are difficult to meet the real-time requirements of edge computing, and are not suitable for 5G mobile edge computing environments.
[0057] Therefore, the current security authentication schemes in the 5G mobile edge computing environment have more or less problems such as insufficient efficiency and insufficient security. For example, they cannot provide sufficient security guarantees (including forward security, resistance to common attacks, etc.), cannot provide sufficient privacy protection (such as user anonymity, untraceability, etc.), and do not guarantee data integrity and confidentiality.
[0058] Based on this, the embodiment of the present application provides a security authentication method and related equipment for 5G mobile edge computing, which organically combines group authentication and identity-based authentication schemes and adopts a two-stage security authentication scheme with key negotiation and key refresh. It can solve the problems of low efficiency and insufficient security of security authentication schemes in the 5G mobile edge computing environment to a certain extent.
[0059] The security authentication method for 5G mobile edge computing provided in the embodiment of the present application relies on a system architecture that mainly includes four types of nodes: a key generation center (KGC), a cloud server (CS), an edge server (ES), and an end device (ED). Figure 1 As shown in Figure 1, the multi-level mobile edge computing architecture can be simplified to a cloud-edge-end architecture with only three layers. The cloud server is located at the far end, the terminal device is the underlying device of the above three-level cloud-edge-end network, and the edge server is located at the near end close to the terminal device.
[0060] Among them, the key generation center is a trusted third party and adopts a hierarchical architecture. Figure 2 As shown in the figure, the KGC architecture can include a root KGC deployed in the cloud and several secondary KGCs deployed at the edge level. Through this design, KGC can respond to edge and terminal devices more quickly, and facilitate key refresh, revocation and management. KGC is only responsible for the registration of edge servers and terminal devices, does not participate in the mutual authentication process between edge servers and terminal devices, and can be placed on the cloud server.
[0061] Among them, the cloud server is a large node deployed in the remote network, with extremely strong computing and storage capabilities, and is the top node in the system architecture of this application. Service providers can deploy a variety of application services in the cloud server. The security authentication scheme under 5G mobile edge computing described in this application does not involve the authentication of the cloud server.
[0062] Among them, the edge server is a device with certain storage and computing capabilities deployed on a network node close to the terminal device. It can provide intelligent services for edge terminal devices and mobile devices, and can be flexibly deployed according to different networks. Edge nodes with high computing power can be deployed according to the number of edge terminal devices, or they can be deployed in a distributed manner, with multiple edge node servers collaborating to form a cluster service. Cloud service providers can configure corresponding application service software on edge node servers to provide real-time response and location-sensitive high-speed local intelligent services. At the same time, the edge server can act as a relay node, responsible for pre-processing the data of the terminal device and uploading it to the cloud center (such as a cloud server), providing a wide range of services.
[0063] Among them, the terminal device can be a resource-constrained device, including sensors, monitoring, etc. The terminal device accesses the edge computing network through a wireless network, such as WLAN, cellular mobile network, etc. Multiple terminal devices can form a group with an edge server to achieve batch authentication.
[0064] Figure 3 A flowchart of a security authentication method for 5G mobile edge computing according to an embodiment of the present application is shown.
[0065] like Figure 3 As shown, the security authentication method for 5G mobile edge computing provided in the embodiment of the present application includes:
[0066] S100, the node device sends a registration request to the key generation center; the registration request carries a pseudonym of the node device; the node device includes a terminal device and an edge server;
[0067] S200, the key generation center receives a registration request sent by a node device, and sends a group key, a corresponding private key and a corresponding secret share to the node device; the key generation center assigns the node device to a group; wherein each group includes an edge server and multiple terminal devices, and all multicast messages in each group can be accessed by all node devices;
[0068] S300, each node device in the group obtains the tokens of all node devices in the group; and determines whether the accumulated value of the tokens of all node devices conforms to the first formula;
[0069] S400, in response to determining that the judgment result is not in compliance, iteratively reducing the number of node devices in the group by binary division, and iteratively determining whether the accumulated value of the tokens of the reduced node devices complies with the first formula;
[0070] S500, in response to determining that the iterative judgment result is in compliance, the authentication of the group after iterative binary reduction is passed; or in response to determining that the number of node devices in the reduced group is less than the threshold value of the number of node devices, a one-to-one identity-based two-way authentication is performed between the edge server and the terminal device in the reduced group.
[0071] The security authentication method for 5G mobile edge computing provided in the embodiment of the present application has higher efficiency and security privacy by performing group authentication based on secret sharing, can ensure security and privacy with lower overhead, and can avoid problems such as asynchronous release, multiple trials and replay attacks that exist in existing solutions.
[0072] In some embodiments, before step S100, the step further includes: initializing all system parameters required in the key generation center protocol. Generally, the step of initializing all system parameters required in the key generation center protocol may include:
[0073] (1) KGC selects a cyclic additive group G of order q on a non-singular elliptic curve E / Fp, with a generator P. Both p and q are prime numbers.
[0074] (2) KGC randomly selects s∈Zq*, r∈Zq*, and calculates Ppub=sP, R=rP, where s is the primary key, r is the group key, and Zq* represents the finite field obtained by removing zeros from the finite prime field Zq={0,1,…,q-1}.
[0075] (3) KGC selects 6 secure one-way collision-free hash functions h1, h2, h3, h4, h5 and h6. Among them, h1: {0,1}*→Zq*, h2: {0,1}*→Zq*, h3: {0,1}*×G×{0,1}*→Zq*, h4: {0,1}*×{0,1}*×G×G×{0,1}*→Zq*, h5: G×{0,1}*×{0,1}*×G×G→{0,1}*, h6: G→Zq*×G. Among them, {0,1}* represents a set of binary sequences of arbitrary bit length, and Zq* represents a finite field obtained by removing zeros from a finite prime field Zq={0,1,…,q-1}.
[0076] (4) KGC randomly selects a t-1 order polynomial f(x) = k0 + k1x 1 +…+k t-1 x t-1, where k0 is the secret (i.e., the recovery target of the node device), and Q = k0P is calculated. Q is the point where the secret value k0 is mapped on the elliptic curve E / Fp, which is used for verification after the secret recovery is completed.
[0077] (5) KGC estimates a time window Tw based on the network bandwidth and congestion. The time window device can be used to determine the time interval between any two group authentications. In the relevant judgment, by determining that the time interval between any two group authentications is greater than Tw, replay attacks can be prevented.
[0078] (6) KGC discloses the system parameters (t, G, P, Ppub, R, Q, h1, h2, h3, h4, h5, Tw) and securely stores the master key s as the long-term master key, the group key r as the short-term key, and the polynomial f(x) and k0 as the secrets for group authentication.
[0079] In some of these embodiments, reference Figure 4 or Figure 5 As shown, in step S100, the node device (i.e., edge server or terminal device) first sends a registration request to the root KGC. For example, its pseudonym PIDd can be sent to the key generation center through a secure channel as a registration request. Among them, all communications between the node device and the key generation center during the registration phase can be through a secure channel. The registration logic of the terminal device and the edge server is the same.
[0080] In some of these embodiments, continue to refer to Figure 4 or Figure 5 In step S200, the key generation center may include a root key generation center and several secondary key generation centers deployed at the edge level. The root KGC returns the address of the secondary KGC to which it belongs or in the adjacent area to the edge server or terminal device. Subsequent key distribution and management are the responsibility of the secondary KGC of each node device, including the distribution of secret shares and public-private key pairs through a secure channel according to the identity of the terminal device, timely key refresh and revocation, etc. In this way, the KGC can respond to edge and terminal devices more quickly, and facilitate key refresh, revocation and management. In this way, the registration of the node device is realized.
[0081] The secondary KGC can initialize the master key in the system parameters and the private key of the hash function calculation node device. i =sh1(PID i ) calculation. For example, the private key corresponding to the node device is calculated by formula (1) or formula (2). d =sh1(PID d )(1). SID es =sh1(PID es)(2). Among them, SID d PID d The private key corresponding to the node device (such as a terminal device); SID es PID es The private key corresponding to the node device (such as the edge server); s is the primary key, h1 and h2 are the one-way collision-free hash functions selected by KGC. In addition, the secondary KGC can also use h2 (PID d ) is substituted into the secret distribution polynomial f in the initialized system parameters as a variable value, and the pseudonym PID is obtained. d The secret share f(h2(PID d )). The secondary KGC can also use h2(PID es ) is substituted into the secret distribution polynomial f in the initialized system parameters as a variable value, and the pseudonym PID is obtained. es The secret share f(h2(PID es )). The secondary key generation center can use a secure channel to send the group key r and the corresponding private key SID i (For example, SID d or SID es ), and the secret share f(h2(PID i ))(For example, f(h2(PID d ) or f(h2(PID es )) is sent back to the terminal device.
[0082] In some of the embodiments, the secondary key generation center can divide the nodes (including an edge server and several terminal devices) in the same edge domain into a group according to the areas of the edge server and the terminal devices, and use the same polynomial to distribute secrets to them. That is, all node devices in the group are in the same vicinity and have a powerful short-range communication protocol, such as WLAN, cellular network, etc., in which all multicast messages can be accessed by all participant nodes. A group authenticated at one time must contain one and only one edge server (that is, the corresponding server in the edge domain). It should be noted that an edge server often manages a large number of terminal devices, and the same edge server can also belong to different authentication groups.
[0083] In some embodiments, in step S300, obtaining tokens of all node devices in the group may include:
[0084] Each node device calculates the Lagrangian component based on the corresponding secret share and xi. The secret share is calculated by h2(PID i) is substituted as the variable value into the secret distribution polynomial f to obtain; the secret distribution polynomial is as described above, f is f(x) = k0 + k1x 1 +…+k t-1 x t-1 ; where f(x) is a polynomial and k0 is a secret. The Lagrangian component can be obtained by Calculate, where x i h2(PID i ), x r h2(PID r ) is the identity information of the authentication participant. h2 is a one-way collision-free hash function, PID i is the pseudonym of node device i. m is the number of node devices in the group.
[0085] Each node device randomly selects a first random number and a second random number, both of which are prime numbers; each node device calculates the coordinates of the first point according to the first random number, and calculates the coordinates of the second point according to the second random number; each node device calculates a token according to the Lagrangian component and the first random number, and publishes the coordinates of the first point, the coordinates of the second point, x through a multicast message i , token and current timestamp. The first point coordinates are the point coordinates of the point on the non-singular elliptic curve in the parameters after the system is initialized; the second point coordinates are the point coordinates of the point on the non-singular elliptic curve in the parameters after the system is initialized.
[0086] In practical applications, the public message can be (x i ,V i ,A i ,token,T i ) in the form of. The first random number and the second random number can be v i and a i Among them, v i ∈Zq*,a i ∈Zq*. The coordinates of the first point can be calculated according to the first random number by using formula (3). The coordinates of the second point can be calculated according to the second random number by using formula (4). i =v i P(3)A i =a i P(4). Among them, V i is a point on the non-singular elliptic curve E / Fp in the parameters after system initialization, in the form of point coordinates, A i is a point on the non-singular elliptic curve E / Fp in the parameters after system initialization, in the form of point coordinates. The token can be calculated according to the Lagrangian component and the first random number by using formula (5). Where token is a token. f(x i ) is the secret share of node device i, x i h2(PID i ), h2 is a one-way collision-free hash function, PID i is the pseudonym of node device i; r is the group key of the group, v i is a random number; P is the generator of the cyclic addition group of the key generation center; Q is the point on the elliptic curve where the secret value k0 is mapped, which is used for verification after the secret recovery is completed. Q = k0P, k0 is the secret.
[0087] Among them, the first formula is Where m is the number of node devices in the group; token is the token; token is obtained by Calculate; where, is the Lagrangian component, f(x i ) is the secret share of node device i, x i is h2(PIDi), h2 is a one-way collision-free hash function, PID i is the pseudonym of node device i; r is the group key of the group, v i is a random number; P is the generator of the cyclic additive group of the key generation center; Q=k0P, k0 is a secret.
[0088] Judging whether the sum of the accumulated tokens of all node devices and the accumulated random numbers conforms to the first formula can be understood as:
[0089] Accumulate the tokens of all node devices in the group to obtain the token accumulation value;
[0090] Determine whether the token cumulative value is the same as the sum of the Q in the system parameter and the calculated cumulative value of the first point coordinate. That is, verify whether the following formula is true. If the formula is true, it is determined that all device nodes in the group are legally authenticated devices. At this point, the authentication of the group is achieved. If the formula is not true, go to step S400.
[0091]
[0092] In some embodiments, before accumulating the tokens of all node devices in the group, the method may further include calculating the time difference between the timestamp of the node device's token and random number and the current time, and if the time difference is greater than a first threshold, discarding the node device's token and random number. In this way, replay attacks can be prevented.
[0093] In some of the embodiments, after the authentication of the group is achieved, the edge server in the group is determined, and a session key between the terminal device and the edge server is established.
[0094] Specifically, the terminal device i can use the identity information x of each node device in the authenticated group j Determine the edge server in the group; terminal device i uses its own random number a i and received A es (That is, the A of the edge server j ) Calculate the session key SK with the edge server ES, for example, by the formula SK = a i A es =a i a es P calculation. The edge server, as a group authentication participant, can also use the formula SK = a es A i =a es a i P calculates the session key SK for the other m-1 participants. When the session key SK calculated by the terminal device i is the same as the session key SK calculated by the edge server, the session key between the terminal device in the group and the edge server is established.
[0095] In step S400, the iterative binary reduction of the number of node devices in the group may include:
[0096] The number of all node devices in each iteration group is 1 / 2 of the previous iteration time, and is rounded up to obtain a group with a reduced number of node devices, until the iteration judgment result of the group with a reduced number of node devices is in compliance; or until the number of node devices in the reduced group is less than the threshold value of the number of node devices.
[0097] It can be understood that when a single group authentication fails, a binary search authentication is performed. By continuously reducing the group size by binary search, the group that has not been successfully authenticated can be further subdivided for group authentication until the number of group members is less than the threshold value t and group authentication cannot be continued. In this way, group authentication can be used as much as possible to complete the identity authentication of legal participants and reduce the scope of illegal participants. The illegal participant identification algorithm implemented by this scheme is highly efficient. In the best case, the computational complexity can be close to O(logn), and the worst case is not likely to occur, avoiding the scheme complexity from degenerating to O(n 2 ), so that the computational complexity can be reduced exponentially. And it has the effect of using as few one-to-one identity authentication as possible to complete the authentication of the remaining device nodes in the group.
[0098] In practical applications, such as Figure 6As shown in the figure, assume that there are 10 device nodes in the group (No. 1-10, No. 5 is a malicious node, that is, m is 10), and set the threshold value t to 3 (that is, secret sharing uses a 2nd-order polynomial). Then, first authenticate the 10 device nodes, that is, ① authenticate members No. 1-10 of the group, and the result is authentication failure. ② Reduce the size of the device node m in the group to 10 / 2=5, first authenticate the group No. 1-5, and the authentication result is failure; then authenticate the group No. 6-10, and the authentication result is success. ③ For the group that failed to authenticate again, that is, for the group with members No. 1-5, reduce the number of group members to 5 / 2=3. First authenticate the group with members No. 1-3, and the authentication result is success. ④ For the group with members No. 4-5, it is determined that the number of group members is less than 3, and then go to the next step, directly entering the edge server and the terminal device for one-to-one two-way authentication.
[0099] Compared with existing schemes based on brute force methods such as traversal, this method based on binary search authentication can approach the complexity of O(logn) when there are fewer illegal participants, significantly improve the authentication efficiency of legal participants, and locate illegal participants.
[0100] In some embodiments, such as Figure 7 As shown, in step S500, the edge server and the terminal device perform one-to-one two-way authentication including:
[0101] The terminal device sends an authentication message to the edge server, wherein the authentication message includes encryption information, signature value and timestamp. The encryption information can be expressed as N=h6(V)⊕(h1(PID d )||X). Where h6 and h1 are the one-way collision-free hash functions selected by KGC. V=vPpub, V is the encrypted random number. v is the random number selected by the terminal device in the finite field Zq*, and Ppub is the primary public key. ⊕ represents the XOR operation. PIDd is the pseudonym of the terminal device. X is the public key. X=xP, where x is the random number selected in the finite field Zq*. The signature value can be expressed as σ=SID d +xh3(h1(PID d )||X||T d ). Among them, SID d PID d The private key corresponding to the terminal device. d Is the current timestamp.
[0102] In response to the edge server determining that the timestamp is within the validity period, the edge server decrypts the encrypted message with the private key and verifies the correctness of the signature value. In response to the verification result being correct, the authentication is passed. Specifically, the edge server can decrypt the encrypted message according to its own private key and determine whether the calculated decrypted random number is the same as the encrypted random number. Specifically, the formula V'=s·h1(PID es )·h1(PID es ) -1 ·v·P=svP=vPpub=V Determine that the decryption random number is the same as the encryption random number. Among them, V' is the decryption random number, V'=SID es M, where SID es is the private key of the edge server, M is the modulo inverse of the pseudonymous hash value of the edge server, M = vh1(PID es ) -1 P. can be obtained by decrypting message N, for example, through h1(PID d )'||X'=h6(V')⊕N. h1 is the one-way collision-free hash function selected by KGC. When the calculated V'=s·h1(PID es )·h1(PID es ) -1 If v·P=svP=vPpub=V, then both the authentication message and the edge server are legal.
[0103] In this application, the one-to-one two-way authentication scheme between the edge server and the terminal device does not involve time-consuming bilinear pairing operations. Only one round of interaction is required to complete identity authentication and key negotiation. It can ensure security and privacy with low overhead and avoid attacks such as impersonation and computational efficiency problems existing in existing schemes.
[0104] In some embodiments, verifying the correctness of the signature value may include: the edge server calculates PK d =h1(PID d )'Ppub, by judging σP=PK d +h3(h1(PID d )'||X'||Td)X' is established, determine whether the verification is successful. If the calculated P = SID d ·P+xh3(h1(PID d )||X||T d )·P=s·h1(SID d )·P+h3(h1(PID d )||X||T d )·x·P=h1(PID d )Ppub+h3(h1(PID d)||X||T d )Ppub=PK d +h3(h1(PID d )||X||T d )Ppub, the equation holds true and the verification is successful. If the verification is successful, key negotiation begins. If the equation does not hold true, the edge server discards the authentication request and ends the process.
[0105] In some embodiments, key negotiation may include the edge server calculating the session key and sending a negotiation message including the session key information, the public key and the timestamp to the terminal device. Specifically, the edge server sends the negotiation message (t, Y, Tes) to the terminal device. Where t = h4(h1(PID d )'||h1(PID es )||X'||Y||T es ), where T es is the current timestamp. es-d =ytX'+SID es PK d y is a random number selected by the edge server, Y is the public key, Y = yP. Session key SK es-d =h5(K es -d||h1(PID d )'||h1(PID es )||X'||Y).
[0106] After the terminal device verifies that the timestamp in the received negotiation message is valid, it calculates the session key. In response to determining that the session key calculated by the terminal device is the same as the session key in the negotiation message, the session key is established. Specifically, when the terminal device calculates K d-es Equal to xtyP+SID d h1(PID es )·s·P=ytX+SID d SID es P=ytX+SID es PK d =K es-d Then we get K d-es =xtY+SID d h1(PID es )·Ppub, then it can be considered that the verification result t is equal to h4(h1(PID d )||h1(PID es )||X||Y||T es ). In this way, the session key SK calculated by the edge device d-es =h5(K d - es||h1(PID d )||h1(PID es )||X||Y) is equal to SK es-d , that is, the two parties successfully negotiate an equal session key, the session is successfully established, and the authentication process ends.
[0107] In some of the embodiments, the security authentication method for 5G mobile edge computing in the embodiments of the present application may also include:
[0108] In response to determining that the key generation center receives a registration request from a newly added node device; the key generation center sends the group private key, the corresponding private key and the corresponding secret share to the node device; or
[0109] In response to determining that there is a terminal device that needs to be deleted in the group, the key generation center adds an increment to the secret and distributes the increment to all node devices in the group except the terminal device that needs to be deleted; or
[0110] In response to determining that the pseudonym of the node device is expired or exposed, the node device selects a new pseudonym to re-register with the edge server in the group.
[0111] It should be understood that since the security authentication method for 5G mobile edge computing in the embodiment takes a short time, it can be considered that the number and serial numbers of devices remain static during the authentication process, that is, the addition, departure or revocation of devices only occurs during the non-authentication period.
[0112] Specifically, the process of a terminal device joining a group can be as follows: the newly joined terminal device registers with the KGC, obtains the distributed secret share and private key SID i , and the group private key v. The revocation process of a terminal device leaving the group or an illegal node can be: KGC randomly selects an increment Δk0∈Zq*, adds the increment Δk0 to the secret k0, and sends Δk0 to all group members except the revoked device. Each group member adds the increment Δk0 to its own secret share to obtain an updated secret share. The re-registration process of the terminal device can be: if the PID expires or is exposed, the node can select a new PID to re-register with the KGC in the physical domain.
[0113] Compared with the security authentication scheme based on public key infrastructure, the method of the embodiment of the present application is more suitable for the 5G mobile edge computing environment, and can provide efficient and fast identity authentication for massive resource-constrained edge devices. Since the method of the embodiment of the present application does not require certificate management, it significantly reduces the computing, storage and communication overhead of the device, which helps to promote real-time performance and low power consumption.
[0114] Compared with the identity-based security authentication scheme, the method of the embodiment of the present application uses group authentication as the first stage of authentication, which can avoid the network congestion and bottleneck problems existing in the traditional centralized scheme, and complete the identity authentication of legal participants in a distributed batch manner. In addition, the method of the embodiment of the present application does not use complex cryptographic operations (such as bilinear mapping, etc.), and the calculation and communication efficiency is extremely high.
[0115] Compared with other group authentication schemes based on secret sharing, the method of the embodiment of the present application proposes a novel binary search illegal participant identification algorithm. In the presence of illegal participants, the existing scheme will degenerate into performing one-to-one authentication in sequence, while the present scheme can complete batch authentication as much as possible, reduce the number of one-to-one authentications, and significantly improve the computing and communication efficiency.
[0116] Verification Example 1
[0117] Verifpal is used to analyze the security of the scheme and the verification results are given.
[0118] The output of the verification program execution is long, so only part of it is intercepted. Figure 8 As shown, the software performs phased and hierarchical reasoning and analysis on the program, traversing all possible attack scenarios, such as the program attempting to decrypt or replay messages sent by the entity.
[0119] The output is as follows Fig. 9 As shown in the figure, the verification program gives the result "All queries pass", which means that all defined security property requirements have been met and the solution has achieved the security design goals.
[0120] Verification Example 2
[0121] Taking Harn's first group authentication scheme as an example, the operation is based on a finite field Zp modulo p. When each edge device calculates the Lagrangian component in the secret disclosure phase, it first converts m-1 numbers -x r (where r!=i) as the numerator, and then m-1 numbers (x i -x r )(where r!=i) are multiplied and then inverted as the denominator, and then the share, numerator and denominator are multiplied to form a token. This step totals (2(m-1)+2) modular multiplications and 1 modular inverse operation.
[0122] In the subsequent secret recovery phase, each edge device accumulates the m tokens of all participants to recover the secret, and finally hashes the recovered secret to verify the result. This step involves a total of (m-1) modular addition operations and 1 hash operation.
[0123] Therefore, the total number of operations is: (2(m-1)+2) modular p multiplication + 1 modular p inverse + (m-1) modular p addition + 1 hash. The total computing time is approximately analogous to (82m+9758) modular q multiplication operations.
[0124] Other schemes also use the same calculation method and similar standards. The calculation and comparison results are shown in Table 1:
[0125] Table 1 Comparison of terminal device calculation overhead in step S300
[0126]
[0127] It can be seen that the method of this embodiment does not use time-consuming Map-to-Point hash operations and bilinear pairing operations. According to estimates, the amount of calculation is less than Harn's GAS2 and GAS3, and much less than Chien's solution. Although the amount of calculation of this solution is slightly greater than Aydin's solution, this solution provides additional security protection, namely, the ability to defend against asynchronous public attacks. This solution requires only a small amount of calculation on the terminal device, so it is more lightweight and more suitable for fast edge computing IoMT environments.
[0128] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.
[0129] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.
[0130] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a security authentication system for 5G mobile edge computing.
[0131] refer to Figure 1 , the security authentication system for 5G mobile edge computing includes a node device and a key generation center; wherein the node device includes a terminal device and an edge server:
[0132] The terminal device is used to send a registration request to the key generation center; the registration request carries a pseudonym of the terminal device;
[0133] The edge server is used to send a registration request to the key generation center; the registration request carries a pseudonym of the edge server;
[0134] The key generation center is used for receiving a registration request sent by a terminal device or an edge server, and sending a group key, a corresponding private key and a corresponding secret share to the terminal device or the edge server; and assigning node devices to groups;
[0135] Each of the terminal devices or the edge server is further used to obtain the tokens of all the node devices in the group, and to determine whether the accumulated value of the tokens of all the node devices conforms to the first formula;
[0136] In response to determining that the judgment result is not in compliance, the key center is further used to iteratively divide and reduce the number of node devices in the group, and the node devices in the group are further used to iteratively judge whether the accumulated value of the tokens of the reduced node devices complies with the first formula;
[0137] In response to determining that the iterative judgment result is in compliance, the authentication of the group reduced by iterative binary division is passed; or in response to determining that the number of node devices in the reduced group is less than the threshold value of the number of node devices, the edge server and the terminal device in the reduced group are also used for one-to-one identity-based two-way authentication.
[0138] In some embodiments, the reduction is a binary reduction; the iterative binary reduction of the number of node devices in the group includes:
[0139] The number of all node devices in each iteration group is 1 / 2 of the previous iteration time, and is rounded up to obtain a group with a reduced number of node devices, until the iteration judgment result of the group with a reduced number of node devices is in compliance; or until the number of node devices in the reduced group is less than the threshold value of the number of node devices.
[0140] The first formula is Where m is the number of node devices in the group; token is the token; token is obtained by Calculate; where, is the Lagrangian component, f(x i ) is the secret share of node device i, x i h2(PID i ), h2 is a one-way collision-free hash function, PID i is the pseudonym of node device i; r is the group key of the group, V i is the coordinate of the first point, vi is the first random number; P is the generator of the cyclic addition group of the key generation center; Q = k0P, k0 is the secret. Q is the point where the secret value k0 is mapped on the elliptic curve E / Fp, which is used for verification after the secret recovery is completed.
[0141] In some embodiments, the edge server and the terminal device perform one-to-one two-way authentication including:
[0142] The terminal device sends an authentication message to the edge server, wherein the authentication message includes encryption information, a signature value, and a timestamp;
[0143] In response to the edge server determining that the timestamp is within the validity period, the edge server decrypts the encrypted message using a private key and verifies the correctness of the signature value. In response to the verification result being correct, the authentication is passed.
[0144] In some embodiments, the method further comprises:
[0145] In response to determining that the key generation center receives a registration request from a newly added node device; the key generation center sends the group private key, the corresponding private key and the corresponding secret share to the node device; or
[0146] In response to determining that there is a terminal device that needs to be deleted in the group, the key generation center adds an increment to the secret and distributes the increment to all node devices in the group except the terminal device that needs to be deleted; or
[0147] In response to determining that the pseudonym of the node device is expired or exposed, the node device selects a new pseudonym to re-register with the edge server in the group.
[0148] In some embodiments, obtaining the tokens and random numbers of all node devices in the group includes:
[0149] Each node device is based on the corresponding secret share and x i Calculate the Lagrangian component; the secret share is calculated by dividing h2(PID d ) is substituted as a variable value into the secret distribution polynomial f to obtain; the secret distribution polynomial f is f(x)=k0+k1x 1 +…+k t-1 x t-1 ; Where f(x) is a polynomial and k0 is a secret;
[0150] Each node device randomly selects a first random number and a second random number, both of which are prime numbers; each node device calculates the coordinates of a first point according to the first random number, and calculates the coordinates of a second point according to the second random number; each node device calculates a token according to a Lagrangian component and the first random number, and publicly discloses the coordinates of the first point, the coordinates of the second point, identity information xi, the token and the current timestamp through a multicast message.
[0151] In some embodiments, before judging whether the sum of the accumulation of the tokens of all node devices and the accumulation of the random numbers meets the first formula, the process further includes:
[0152] If the time difference between the timestamp of the node device's token and random number and the current time is greater than a first threshold, discard the node device's token and random number;
[0153] In some of the embodiments, the terminal device is further used to determine an edge server in the authenticated group, and the terminal device and the edge server are further used to establish a session key.
[0154] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.
[0155] The device of the above-mentioned embodiment is used to implement the corresponding security authentication method for 5G mobile edge computing in any of the aforementioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0156] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the security authentication method for 5G mobile edge computing described in any of the above embodiments is implemented.
[0157] Fig.10 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.
[0158] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.
[0159] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.
[0160] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.
[0161] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through a wired mode (such as USB, network cable, etc.) or a wireless mode (such as mobile network, WIFI, Bluetooth, etc.).
[0162] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).
[0163] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.
[0164] The electronic device of the above-mentioned embodiment is used to implement the corresponding security authentication method for 5G mobile edge computing in any of the aforementioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0165] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the security authentication method for 5G mobile edge computing as described in any of the above embodiments.
[0166] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.
[0167] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the security authentication method for 5G mobile edge computing as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0168] Based on the same inventive concept, corresponding to the security authentication method for 5G mobile edge computing described in any of the above embodiments, the present disclosure also provides a computer program product, which includes computer program instructions. In some embodiments, the computer program instructions can be executed by one or more processors of a computer so that the computer and / or the processor executes the security authentication method for 5G mobile edge computing. Corresponding to the execution subject corresponding to each step in each embodiment of the security authentication method for 5G mobile edge computing, the processor that executes the corresponding step may belong to the corresponding execution subject.
[0169] The computer program product of the above-mentioned embodiment is used to enable the computer and / or the processor to execute the security authentication method for 5G mobile edge computing as described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.
[0170] Those skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.
[0171] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power supply / ground connection with the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device can be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform to be implemented in the embodiments of the present application (that is, these details should be fully within the scope of understanding of those skilled in the art). In the case of elaborating specific details (e.g., circuits) to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or when these specific details are changed. Therefore, these descriptions should be considered to be illustrative rather than restrictive.
[0172] Although the present application has been described in conjunction with specific embodiments of the present application, many replacements, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the embodiments discussed.
[0173] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.
Claims
1. A security authentication method for 5G mobile edge computing, characterized in that: include: The node device sends a registration request to the key generation center; The registration request carries a pseudonym of a node device; the node device includes a terminal device and an edge server; The key generation center receives the registration request sent by the node device, and sends the group key, the corresponding private key and the corresponding secret share to the node device; The key generation center assigns node devices to groups; each group includes an edge server and multiple terminal devices, and all multicast messages in each group can be accessed by all node devices; Each node device in the group obtains the tokens of all node devices in the group; and determines whether the accumulated value of the tokens of all node devices conforms to the first formula; In response to determining that the judgment result is not in compliance, iteratively reducing the number of node devices in the group by binary division, and iteratively determining whether the accumulated value of the tokens of the reduced node devices complies with the first formula; In response to determining that the iterative judgment result is in compliance, the iteratively reduced group authentication is passed; or in response to determining that the number of node devices in the reduced group is less than the threshold value of the number of node devices, the edge server and the terminal device in the reduced group perform a one-to-one identity-based two-way authentication; Among them, the first formula is Where m is the number of node devices in the group; token is the token; token is obtained by Calculate; where, is the Lagrangian component, f(x i ) is the secret share of node device i, x i h2(PID i ), h2 is a one-way collision-free hash function, PID i is the pseudonym of node device i; r is the group key of the group, v i is the first random number; P is the generator of the cyclic additive group of the key generation center; Q=k0P, k0 is a secret.
2. The security authentication method for 5G mobile edge computing according to claim 1 is characterized in that: The iterative binary division to reduce the number of node devices in the group includes: The number of all node devices in each iteration group is 1 / 2 of the previous iteration time, and is rounded up to obtain a group with a reduced number of node devices, until the iteration judgment result of the group with a reduced number of node devices is in compliance; or until the number of node devices in the reduced group is less than the threshold value of the number of node devices.
3. The security authentication method for 5G mobile edge computing according to claim 1, characterized in that: The edge server and the terminal device perform one-to-one identity-based two-way authentication including: The terminal device sends an authentication message to the edge server, wherein the authentication message includes encryption information, a signature value, and a timestamp; In response to the edge server determining that the timestamp is within the validity period, the edge server decrypts the encrypted information with a private key and verifies the correctness of the signature value. In response to the verification result being correct, the authentication is passed.
4. The security authentication method for 5G mobile edge computing according to claim 1, characterized in that: The method further comprises: In response to determining that the key generation center receives a registration request from a newly added node device; the key generation center sends the group private key, the corresponding private key and the corresponding secret share to the node device; or In response to determining that there is a terminal device that needs to be deleted in the group, the key generation center adds an increment to the secret and distributes the increment to all node devices in the group except the terminal device that needs to be deleted; or In response to determining that the pseudonym of the node device is expired or exposed, the node device selects a new pseudonym to re-register with the edge server in the group.
5. The security authentication method for 5G mobile edge computing according to claim 1, characterized in that: The step of obtaining the tokens and random numbers of all node devices in the group includes: Each node device is based on the corresponding secret share and x i Calculate the Lagrangian component; the secret share is calculated by dividing h2(PID d ) is substituted as a variable value into the secret distribution polynomial f to obtain; the secret distribution polynomial f is f(x)=k0+k1x 1 +…+k t-1 x t-1 ; Where f(x) is a polynomial and k0 is a secret; Each node device randomly selects a first random number and a second random number, both of which are prime numbers; each node device calculates the coordinates of a first point according to the first random number, and calculates the coordinates of a second point according to the second random number; each node device calculates a token according to a Lagrangian component and the first random number, and publicly discloses the coordinates of the first point, the coordinates of the second point, identity information, the token and the current timestamp through a multicast message.
6. The security authentication method for 5G mobile edge computing according to claim 1 or 3, characterized in that: Before judging whether the sum of the accumulated tokens of all node devices and the accumulated random numbers conforms to the first formula, the method further includes: If the time difference between the timestamp of the node device's token and random number and the current time is greater than a first threshold, discard the node device's token and random number; The method further comprises: after the authentication is passed, determining the edge server in the authenticated group, and establishing a session key between the terminal device and the edge server.
7. A security authentication system for 5G mobile edge computing, characterized in that: It includes node devices and key generation centers; wherein the node devices include terminal devices and edge servers: The terminal device is used to send a registration request to the key generation center; the registration request carries a pseudonym of the terminal device; The edge server is used to send a registration request to the key generation center; the registration request carries a pseudonym of the edge server; The key generation center is used to receive a registration request sent by a terminal device or an edge server, and send a group key, a corresponding private key and a corresponding secret share to the terminal device or the edge server; and allocate node devices to a group; Each of the terminal devices or the edge server is further used to obtain the tokens of all the node devices in the group, and to determine whether the accumulated value of the tokens of all the node devices conforms to the first formula; In response to determining that the judgment result is not in compliance, the key center is further used to iteratively divide and reduce the number of node devices in the group, and the node devices in the group are further used to iteratively judge whether the accumulated value of the tokens of the reduced node devices complies with the first formula; In response to determining that the iterative judgment result is in compliance, the authentication of the group reduced by iterative binary division is passed; or in response to determining that the number of node devices in the reduced group is less than the threshold value of the number of node devices, the edge server and the terminal device in the reduced group are also used to perform one-to-one identity-based two-way authentication; Among them, the first formula is Where m is the number of node devices in the group; token is the token; token is obtained by Calculate; where, is the Lagrangian component, f(x i ) is the secret share of node device i, x i h2(PID i ), h2 is a one-way collision-free hash function, PID i is the pseudonym of node device i; r is the group key of the group, v i is the first random number; P is the generator of the cyclic additive group of the key generation center; Q=k0P, k0 is a secret.
8. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 6 when executing the program.
9. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 6.
