Communication method and system based on network slicing

By adopting the proxy re-encryption mechanism and SM2 encryption algorithm in the identity authentication of the space-based information network slice, the problems of low security and high consumption of computing resources in the existing technology are solved, the efficiency and security of the identity authentication are improved, and the efficiency and security of the identity authentication are improved, and the high delay is adapted to the problem. , high jitter environment.

CN117676559BActive Publication Date: 2024-10-29SPACE STAR TECH CO LTD +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311560460.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-11-21
Publication Date
2024-10-29
Estimated Expiration
2043-11-21

AI Technical Summary

Technical Problem

The existing space-based information network slice identity authentication technology has low security and high computing resource consumption when faced with attacks such as man-in-the-middle spoofing. It cannot effectively resist attacks, and cannot reduce computing resource consumption while taking into account authentication security and user privacy. It can adapt to Space-based information network environment with high latency, high jitter and limited load resources.

Method used

Adopting a communication method based on network slicing, through the proxy re-encryption mechanism and SM2 encryption algorithm, the user end encrypts the network slice identification, and through the cooperation of the space-based network end and the ground-based network end, uses the re-encryption key to update the account ciphertext to ensure Communication security and efficiency.

Benefits of technology

It improves the efficiency and security of space-based information network slice identity authentication, reduces computing resource consumption, enhances resistance to man-in-the-middle attacks, and adapts to high-latency and high-jitter environments.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117676559B_ABST
    Figure CN117676559B_ABST
Patent Text Reader

Abstract

The present invention relates to a communication method and system based on network slicing, the method comprising: the user end encrypts the network slice identifier requested by the user using an encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext; the user end sends the slice identifier ciphertext and the corresponding user's account ciphertext to the space-based network end; the space-based network end updates the account ciphertext based on the re-encryption key identifier N in the account ciphertext, and sends the updated account ciphertext and slice identifier ciphertext to the ground-based network end; the ground-based network end decrypts to obtain the network slice identifier, and returns the network slice that meets the user's request to the user end through the space-based network end. The present invention solves the problems of low communication security and large resource usage in the process of users accessing space-based information network slices due to the outdated and large computational complexity of the space-based information network slice identity authentication method, and further improves the efficiency and security level of space-based information network slice identity authentication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of network security technologies, and in particular to a communication method and system based on network slicing. Background Art

[0002] For network slice access security, the common technical guarantee means at present are various identity authentication technologies. The integrated space-ground network has gradually come into people's view, enabling people to enjoy network services anytime and anywhere. With the diversification of network service requirements, the integrated space-ground network needs to introduce network slicing technology to meet differentiated network service needs. However, in the identity authentication process of space-based information network slices based on space-ground integration, satellite-to-ground communication may be invaded by attackers, facing the risk of leakage of communication data and user personal information. Therefore, it is necessary to optimize the identity authentication technology of space-based information network slices to resist attacks. However, in the existing satellite network slicing research, there are still gaps in the mitigation solutions for common attack methods such as man-in-the-middle deception and the identity authentication research to ensure communication security. Some identity authentication technologies applicable to 5G network slicing have poor performance, and cannot reduce computing resource consumption while taking into account authentication security and user privacy. It is also impossible to adapt to the network environment of space-based information networks with high latency, high jitter, and limited payload resources.

[0003] With the rapid development of computer technology, people are more concerned about how to further realize the secure communication of important slice application information, ensure anonymous authentication of both parties in communication, resist common network attacks, and reduce the computing overhead required by traditional encryption technology in space-based information network satellites with limited payload resources.

[0004] Therefore, how to further improve the efficiency and security of identity authentication in space-based information network slices is an urgent problem to be solved. Summary of the invention

[0005] In order to solve the technical problems existing in the above-mentioned prior art, the purpose of the present invention is to provide a communication method and system based on network slicing, so as to further improve the efficiency and security of identity authentication of space-based information network slices.

[0006] To achieve the above-mentioned object of the invention, the present invention provides a communication method based on network slicing, comprising the following steps:

[0007] Step S10: The user end encrypts the network slice identifier requested by the user using an encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext;

[0008] Step S20: The user terminal sends the slice identification ciphertext and the corresponding user's account ciphertext to the space-based network terminal;

[0009] Step S30, the space-based network end updates the account ciphertext based on the re-encryption key identifier N in the account ciphertext, and sends the updated account ciphertext and the slice identifier ciphertext to the ground-based network end;

[0010] Step S40: The ground-based network terminal decrypts and obtains the network slice identifier, and returns the network slice that meets the user request to the user terminal through the space-based network terminal.

[0011] According to a technical solution of the present invention, before executing step S10, the space-based network terminal sets the communication key k of the network slice based on the security level of the user terminal and the ground-based network terminal. x , and the communication key k x Distribute to the user terminal and the ground-based network terminal so that the user terminal and the ground-based network terminal are based on the session key k x Communicate directly with the network slice.

[0012] According to a technical solution of the present invention, before executing step S10, the method further includes:

[0013] Initialize basic parameters, including the scale p of the finite field F§, elliptic curve parameters a and b, the base point G=(x, y) of the elliptic curve, and the order n of G;

[0014] The user terminal, the space-based network terminal and the ground-based network terminal are initialized based on the finite field F§ to complete the allocation of their respective public keys and private keys;

[0015] Two collision-resistant hash functions H1 and H2 are defined in the finite field F§.

[0016] According to a technical solution of the present invention, in the step S20, it specifically includes:

[0017] Step S201: the user's account information and the preset encryption key k AES Combine to get plaintext M1;

[0018] Step S202: Based on the user's public key P A Encrypt the plaintext M1 and calculate the first part of the ciphertext C A And the second part of the ciphertext h A ;

[0019] Step S203: Based on the base point G of the elliptic curve and the second part of the ciphertext h A , calculate the elliptic curve public key cryptography algorithm signature r A ;

[0020] Step S204: Based on the user's private key dA , calculate the private key signature S A ;

[0021] The plaintext M1 is:

[0022] M1=(id A ||Account||Password||k AES );

[0023] Among them, id A It is the user's identity, used to uniquely identify the user's public key, and the account and password are the user's account information;

[0024] The first part of the ciphertext C A for:

[0025]

[0026] Among them, M1 is the plaintext, H1 is the collision-resistant hash function, and id A is the user's identifier, k is a random number generated in the finite field F§, P A is the user's public key;

[0027] The second part of the ciphertext h A for:

[0028] h A =H2(K||M1||id A );

[0029] Among them, H2 is a collision-resistant hash function, K=kG=(x1, y1), k is a random number generated in the finite field F§, G is the base point of the elliptic curve, (x1, y1) is a point on the elliptic curve, M1 is the plaintext, id A Identification of the user;

[0030] The elliptic curve public key cryptography algorithm signature r A for:

[0031] r A =x1+h A ;

[0032] Among them, (x1, y1) is a point on the elliptic curve, h A is the second part of the ciphertext;

[0033] The private key signature S A for:

[0034] S A =(1+d A ) -1 (kr A d A );

[0035] Among them, d A is the user's private key, k is a random number generated in the finite field F§, r A Signature for elliptic curve public key cryptography.

[0036] According to a technical solution of the present invention, in the step S30, it specifically includes:

[0037] Step S301: The space-based network terminal obtains the re-encryption key corresponding to the user from a preset re-encryption key list based on the re-encryption key identifier;

[0038] Step S302: Encrypt the first ciphertext C based on the re-encryption key. A Re-encrypt and based on the re-encrypted first part of the ciphertext C T Updating the account ciphertext, and sending the updated account ciphertext and the slice identification ciphertext to the ground-based network end;

[0039] The first part of the ciphertext C after re-encryption T for:

[0040]

[0041] Among them, C A is the first part of the ciphertext, rk AT The re-encryption key.

[0042] According to a technical solution of the present invention, in the step S40, it specifically includes:

[0043] Step S401: The ground-based network terminal generates a second ciphertext h based on the second ciphertext h. A , the elliptic curve public key cryptographic algorithm signature r A , the private key signature S A and the user's public key to the first ciphertext C T Decrypting to obtain the preset encryption key and the account information;

[0044] Step S402: Calculate the second ciphertext h based on the account information and the user's identification information. A ' and elliptic curve public key cryptography algorithm signature r A ';

[0045] Step S403: In the second part of the ciphertext h A and the elliptic curve public key cryptographic algorithm signature r A , and the second part of the ciphertext h A ' and elliptic curve public key cryptography algorithm signature r A'When they are consistent, decrypt the slice identifier ciphertext based on the preset encryption key to obtain the network slice identifier;

[0046] Step S404: Based on the network slice identifier, the network slice that meets the user request is returned to the user terminal through the space-based network terminal.

[0047] According to a technical solution of the present invention, in the step S402, it specifically includes:

[0048] The ground-based network terminal signs r based on the elliptic curve public key cryptographic algorithm A , the private key signature S A and the user's public key P A , calculate the point K' on the elliptic curve;

[0049] Based on the point K' on the elliptic curve, the private key d T , the user's identification information id A and collision-resistant hash function H1, the first part of the re-encrypted ciphertext C T Decrypt and get the plaintext M1';

[0050] Based on the plaintext M1', calculate the second part of the ciphertext h A ' and elliptic curve public key cryptography algorithm signature r A ';

[0051] The point K' on the elliptic curve is:

[0052] K'=S A P+(r A +S A ) A ;

[0053] Among them, P is the generator of group G, G is an additive cyclic group of order n, S A Sign the private key, r A For the elliptic curve public key cryptography algorithm signature, P A is the public key of user A;

[0054] The plaintext M1' is:

[0055]

[0056] Among them, C T is the first part of the ciphertext after re-encryption, id A is the identifier of user A, H1 is the collision-resistant hash function, d T is the private key of the ground-based network, and K' is a point on the elliptic curve.

[0057] According to a technical solution of the present invention, step S404 specifically includes:

[0058] The ground-based network terminal combines multiple network slices that meet the user's request into a slice identifier array, and sends the slice identifier array to the user terminal so that the user selects one of the multiple network slices.

[0059] According to a technical solution of the present invention, the re-encryption key is generated by the following steps:

[0060] The user terminal generates a random number k generated by the user in the finite field F§, the anti-collision hash function H1, and the user's identification id A , the identification ID of the ground-based network terminal T , the user's public key P A and the public key P of the base network end T , calculate the user's re-encryption key rk AT , and the re-encryption key rk AT Sending to the space-based network terminal;

[0061] The space-based network terminal uses the re-encryption key rk AT Stored in the preset re-encryption key list, and the re-encryption key rk AT The corresponding key number N in the preset re-encryption key list is returned to the user terminal;

[0062] The re-encryption key rk AT for:

[0063]

[0064] According to one aspect of the present invention, a communication system based on network slicing is provided, comprising:

[0065] The user end is used to encrypt the network slice identifier using a preset encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext;

[0066] The space-based network end is used to update the account ciphertext based on the re-encryption key identifier N in the account ciphertext;

[0067] The user terminal is also used to send the slice identification ciphertext and the corresponding user's account ciphertext to the space-based network terminal;

[0068] The ground-based network terminal is used to decrypt and obtain the network slice identifier, and return the network slice that meets the user request to the user terminal through the space-based network terminal;

[0069] The space-based network end is also used to send the updated account ciphertext and the slice identification ciphertext to the ground-based network end.

[0070] According to one aspect of the present invention, an electronic device is provided, comprising: one or more processors, one or more memories, and one or more computer programs; wherein the processor is connected to the memory, and the one or more computer programs are stored in the memory, and when the electronic device is running, the processor executes the one or more computer programs stored in the memory so that the electronic device performs a communication method based on network slicing as described in any one of the above technical solutions.

[0071] According to one aspect of the present invention, a computer-readable storage medium is provided for storing computer instructions. When the computer instructions are executed by a processor, a communication method based on network slicing as described in any one of the above technical solutions is implemented.

[0072] Compared with the prior art, the present invention has the following beneficial effects:

[0073] The present invention proposes a communication method and system based on network slicing. Through a proxy re-encryption mechanism and a slice identity authentication process, it solves the problems of low communication security and large resource usage in the process of users accessing space-based information network slices due to the outdated and computationally intensive space-based information network slice identity authentication method, and further improves the space-based information network slice identity authentication efficiency and security level. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0075] Figure 1 A flowchart of a communication method based on network slicing provided by the present invention is schematically shown;

[0076] Figure 2 A schematic diagram schematically showing an implementation framework provided by the present invention;

[0077] Figure 3 A schematic diagram schematically showing the combination of SM2 and proxy re-encryption provided by the present invention;

[0078] Figure 4 A schematic diagram schematically showing the identity authentication process of a space-based information network slice provided by the present invention;

[0079] Figure 5A schematic diagram of the structure of a communication system based on network slicing provided by the present invention is schematically shown;

[0080] Figure 6 A schematic diagram schematically shows a hardware structure of an electronic device provided by the present invention;

[0081] Figure 7 The schematic diagram schematically shows the structure of a computer-readable storage medium provided by the present invention. DETAILED DESCRIPTION

[0082] In order to enable those skilled in the art to better understand the solution of the present application, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present application.

[0083] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0084] According to an embodiment of the present application, a method embodiment of a communication method based on network slicing is provided. It should be noted that the steps shown in the flowchart of the accompanying drawings can be executed in a computer system such as a set of computer executable instructions, and although the logical order is shown in the flowchart, in some cases, the steps shown or described can be executed in an order different from that shown here.

[0085] This embodiment uses proxy re-encryption technology and slice identity framework to design a space-based information network slice identity authentication technology based on trusted ciphertext conversion. The slice identity authentication process draws on the slice application process in the ground 5G network, and the trusted ciphertext conversion is implemented by combining proxy re-encryption and SM2 encryption algorithm.

[0086] See also Figure 1 , Figure 1A flow chart of a communication method based on network slicing provided by the present invention, such as Figure 1 As shown, the following steps are included:

[0087] Step S100 includes: the user end encrypts the network slice identifier requested by the user using a preset encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext;

[0088] It should be noted that this embodiment is based on the trusted ciphertext conversion of the space-based information network slice identity authentication used for the environmental background space-based information network communication, see Figure 2 , Figure 2 A schematic diagram of an implementation framework provided by the present invention, in Figure 2 It includes the user end, the space-based information network satellite (also known as the space-based network end) and the ground core network end (also known as the ground-based network end).

[0089] It is understandable that the above-mentioned preset encryption algorithm can be an encryption algorithm agreed upon by the user end and the ground-based network end when the system is initialized, and the encryption algorithm includes but is not limited to AES.

[0090] Furthermore, the above-mentioned preset encryption key is the key of the above-mentioned preset encryption algorithm, which is used to encrypt the network slice identifier sent by the user terminal to the ground-based network terminal.

[0091] Furthermore, the network slice identifier M2 can be set to NSSAI, where the encrypted slice identifier ciphertext C AES The steps include using the preset encryption key k AES Symmetrically encrypt the plaintext of the network slice identifier M2:

[0092] C AES = EnC AES (M2, k AES ). (1)

[0093] Step S20, the user terminal sends the slice identification ciphertext and the corresponding user account ciphertext to the space-based network terminal, including: the user terminal sends the slice identification ciphertext and the corresponding user account ciphertext to the space-based network terminal;

[0094] It is understandable that the account information of the above-mentioned user can be obtained by sending the user identity ID and password to the above-mentioned ground-based network terminal for registration when the above-mentioned user accesses the network for the first time, or by sending the user identity ID and password to the above-mentioned ground-based network terminal for registration when the above-mentioned user starts each network session. The above-mentioned account information includes the account number and password.

[0095] Furthermore, the above step of obtaining the account ciphertext also includes:

[0096] Step S201: User A's account information and preset encryption key k AES Combine to get plaintext M1;

[0097] It can be understood that the above plain text M1 is:

[0098] M1=(id A ||Account||Password||k AES );

[0099] Among them, M1 is the plaintext, H1 is the collision-resistant hash function, and id A is the identifier of user A, k is a random number generated in the finite field F§, P A is the public key of user A.

[0100] Step S202: Based on user A's public key P A Encrypt the plaintext M1 and calculate the first part of the ciphertext C A And the second part of the ciphertext h A ;

[0101] It is understandable that the first part of the ciphertext C A for:

[0102]

[0103] Among them, M1 is the plaintext, H1 is the collision-resistant hash function, and id A is the identifier of user A, k is a random number generated in the finite field F§, P A is the public key of user A;

[0104] It is understandable that the second part of the ciphertext h A for:

[0105] h A =H2(K||M1||id A ); (3)

[0106] Among them, H2 is a collision-resistant hash function, K=kG=(x1, y1), k is a random number generated in the finite field F§, G is the base point of the elliptic curve, (x1, y1) is a point on the elliptic curve, M1 is the plaintext, id A The ID of user A.

[0107] Step S203: Based on the base point G of the elliptic curve and the second part of the ciphertext h A , calculate the elliptic curve public key cryptography algorithm signature r A ;

[0108] It is understandable that the elliptic curve public key cryptography algorithm signature r A for:

[0109] r A =x1+h A ;

[0110] Among them, (x1, y1) is a point on the elliptic curve, h A The second part of the ciphertext.

[0111] Step S204: Based on user A's private key d A , calculate the private key signature S A .

[0112] It is understandable that the private key signature S A for:

[0113] S A =(1 + d A ) -1 (k - r A d A ); (4)

[0114] Among them, d A is the private key of user A, k is a random number generated in the finite field F§, r A Signature for elliptic curve public key cryptography.

[0115] Furthermore, the above account ciphertext C=(C A , N, h A , r A ,s A ).

[0116] Step S30 includes: Step S301, the space-based network terminal obtains a re-encryption key corresponding to the user from a preset re-encryption key list based on the re-encryption key identifier;

[0117] It can be understood that the above-mentioned re-encryption key list is a list stored in the memory of the above-mentioned space-based network terminal, and the above-mentioned list includes a re-encryption key identifier and a re-encryption key. The above-mentioned re-encryption key identifier can be used to uniquely identify the re-encryption keys of different users. The above-mentioned re-encryption key can be generated by the user of the user terminal through calculation, and the generated re-encryption key is sent to the above-mentioned space-based network terminal, and the space-based network terminal returns a unique re-encryption key identifier to the user terminal.

[0118] Step S302: encrypt the first part of the ciphertext C based on the re-encryption key A Re-encrypt and based on the re-encrypted first part of the ciphertext C T Update the account ciphertext, and send the updated account ciphertext and slice identification ciphertext to the ground network end;

[0119] In the specific implementation, after receiving the message sent by the user end, the space-based network end performs a re-encryption of the first ciphertext C in the account ciphertext according to the re-encryption key identifier in the account ciphertext C. A Re-encrypt to get the first ciphertext C T .

[0120] Furthermore, the first ciphertext C T for:

[0121]

[0122] Among them, C A is the first part of the ciphertext before re-encryption, rk AT The re-encryption key.

[0123] Furthermore, the updated account ciphertext is C′=(C T , N, h A , r A ,s A ).

[0124] Step S40, the ground-based network terminal decrypts to obtain a network slice identifier, and returns the network slice that meets the user's request to the user terminal through the space-based network terminal, including:

[0125] Step S401: The ground-based network end generates a second ciphertext h based on the second ciphertext h. A , Elliptic Curve Public Key Cryptography Algorithm Signature A , private key signature S A and the user's public key to the first part of the ciphertext C T Decrypt and obtain the preset encryption key and account information;

[0126] Step S402: Calculate the second part of the ciphertext h based on the account information and the user's identification information A ' and elliptic curve public key cryptography algorithm signature r A ';

[0127] In the specific implementation, after receiving the updated account ciphertext and slice identification ciphertext sent by the space-based network end, the ground-based network end first decrypts the first ciphertext in the account ciphertext to obtain the account information and the preset encryption key, and then recalculates the second part of the ciphertext h according to the account information and the user's representation information. A ' and elliptic curve public key cryptography algorithm signature r A '.

[0128] Furthermore, the above calculation of the second part of the ciphertext h A ' and elliptic curve public key cryptography algorithm signature r A The steps include:

[0129] Step S402a: The ground-based network terminal signs r based on the elliptic curve public key cryptography algorithm A , private key signature S A and the user's public key P A , calculate the point K' on the elliptic curve;

[0130] The point K' on the elliptic curve is:

[0131] K'=S A P+(r A +S A ) A ; (6)

[0132] Among them, P is the generator of group G, G is an additive cyclic group of order n, S A Sign the private key, r A For the elliptic curve public key cryptography algorithm signature, P A is the public key of user A.

[0133] Step S402b, based on the point K' on the elliptic curve, the private key d T , user identification information id A And collision-resistant hash function H1, for the first ciphertext C T Decrypt and get the plaintext M1';

[0134] The plain text M1' is:

[0135]

[0136] Among them, C T is the first ciphertext after re-encryption, id A is the identifier of user A, H1 is the collision-resistant hash function, d T is the private key of the ground-based network, and K' is a point on the elliptic curve.

[0137] Step S402c: Based on the plaintext M1', calculate the second part of the ciphertext h A ' and elliptic curve public key cryptography algorithm signature r A '.

[0138] Step S403: In the second part of the ciphertext h A and elliptic curve public key cryptography algorithm signature r A , and the second part of the ciphertext h A ' and elliptic curve public key cryptography algorithm signature r A 'When they are consistent, the slice identifier ciphertext is decrypted based on the preset encryption key to obtain the network slice identifier;

[0139] In the specific implementation, the ground-based network determines (h′ A ,r′ A) and (h A ,s A ) are consistent, if they are equal, accept the message M'1, otherwise refuse to receive it.

[0140] Step S403: Based on the network slice identifier, the network slice that meets the user's request is returned to the user terminal through the space-based network terminal;

[0141] Furthermore, the above-mentioned returning the network slice that meets the user's request to the user terminal through the space-based network terminal includes:

[0142] The ground-based network terminal combines multiple network slices that meet the user's request into a slice identifier array, and sends the slice identifier array to the user terminal so that the user can select one of the multiple network slices.

[0143] In the specific implementation, the ground-based network end provides several NSSAIs that roughly meet the user's application requirements, assembles them into a slice identifier array NSSAIS, and packages them to send to the corresponding user, so that the user can select the desired slice;

[0144] Where M1=(id T ||k AES ), M2 = NSSAIS, substitute M1 into formula (2), (3), (4) to calculate the ciphertext C T , select AES key k AES And use it to encrypt M2 to get C AES , combined into the final ciphertext C = (C T , C AES , N, h T , r T ,s T ).

[0145] Furthermore, the space-based network end re-encrypts the above ciphertext C using formula (5) and outputs a new ciphertext C'=(C A , N, h T , r T ,s T ); and send the new ciphertext C' to the user end.

[0146] Furthermore, the user end will C A Substitute into formula (6), (7) and (1) to decrypt and get M'1, and use the key k AES Decrypt M'2 to obtain the slice characteristic identification information NSSAIS allocated by the core network to the user. Use M'1 to calculate the partial ciphertext h according to formula (3): T ′=H2(K′||M′1||id T ), calculate the partial signature r′ T =x′1+h′ T , judge (h′T ,r′ T ) and (h T ,s T ) are consistent, if they are equal, accept the message M'1, otherwise refuse to receive it.

[0147] Furthermore, the user end transmits packets by matching slices. If only one slice's characteristic value succeeds, the user end uses that slice. In the case of failure to fully match the NSSAI, as many slices as possible that meet the conditions are selected. The selected slices are fed back to the ground-based network end for service authentication.

[0148] The communication method based on network slicing also includes: before executing step S10, the space-based network terminal sets the communication key k of the network slice based on the security level of the user terminal and the ground-based network terminal. x , and the communication key k x Distribute to the user end and the ground-based network end so that the user end and the ground-based network end are based on the session key k x Communicate directly with the network slice.

[0149] In the specific implementation, after the space-based network end determines the space-based information network slice service on the user end and the ground-based network end, it selects a key k that meets the security level requirements for both communicating parties. x , M = k x This key will be used as the direct call key for users to enjoy the space-based information network slice service.

[0150] Furthermore, the space-based network terminal selects a random number k in the finite field F§, and encrypts the key k by the public key and private key of the space-based network terminal. x The key is sent to the user end and the ground-based network end so that the user end and the ground-based network end can decrypt and accept the key after authentication.

[0151] It can be understood that based on the defects in the background technology, the embodiment of the present invention proposes a communication method based on network slicing. The method includes: the user end encrypts the network slice identifier requested by the user using a preset encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext; the user's account information and the preset encryption key are encrypted using the user's public key and private key to obtain an account ciphertext, and the account ciphertext includes a first part of the ciphertext C A , re-encryption key identifier N, second part ciphertext h A , Elliptic Curve Public Key Cryptography Algorithm Signature A And private key signature S A ; Send the slice identification ciphertext and account ciphertext to the space-based network end; The space-based network end obtains the user's corresponding re-encryption key from the preset re-encryption key list based on the re-encryption key identification; Based on the re-encryption key, the first part of the ciphertext C ARe-encrypt and based on the re-encrypted first part of the ciphertext C T Update the account ciphertext and send the updated account ciphertext and slice identifier ciphertext to the ground-based network end; the ground-based network end sends the updated account ciphertext and slice identifier ciphertext to the ground-based network end based on the second part of the ciphertext h A , Elliptic Curve Public Key Cryptography Algorithm Signature A , private key signature S A and the user's public key to the first part of the ciphertext C T Decrypt to obtain the preset encryption key and account information; calculate the second part of the ciphertext h based on the account information and the user's identification information A ' and elliptic curve public key cryptography algorithm signature r A '; In the second part of the ciphertext h A and elliptic curve public key cryptography algorithm signature r A , and the second part of the ciphertext h A ' and elliptic curve public key cryptography algorithm signature r A 'When they are consistent, the slice identification ciphertext is decrypted based on the preset encryption key to obtain the network slice identification; based on the network slice identification, the network slice that meets the user's request is returned to the user end through the space-based network end; the space-based network end sets the communication key k of the network slice based on the security level of the user end and the ground-based network end x , and the communication key k x Distribute to the user end and the ground-based network end so that the user end and the ground-based network end are based on the session key k x Communicate directly with the network slice.

[0152] The present invention, through a proxy re-encryption mechanism and a slice identity authentication process, solves the problems of low communication security and large resource usage in the process of users accessing space-based information network slices due to the outdated and computationally intensive space-based information network slice identity authentication method, and further improves the efficiency and security level of space-based information network slice identity authentication.

[0153] In a possible implementation manner, before the step of encrypting the network slice identifier requested by the user using a preset encryption key and a preset encryption algorithm to obtain the slice identifier ciphertext, the step includes: a parameter initialization step;

[0154] Step S001, initializing basic parameters, including the scale p of the finite field F§, elliptic curve parameters a and b, the base point G=(x,y) of the elliptic curve and the order n of G;

[0155] Step S002: The user of the user end, the space-based network end and the ground-based network end are initialized based on the finite field F§ to complete the distribution of their respective public keys and private keys;

[0156] Step S003: define two collision-resistant hash functions H1 and H2 in the finite field F§.

[0157] In the specific implementation, the basic parameters of the SM2 encryption algorithm are selected, the scale p of the finite field F§, the elliptic curve parameters a, b, the base point G=(x,y) of the elliptic curve, and the order n of G;

[0158] Furthermore, the user side, the space-based network side, and the ground-based network side each select their own 32-byte private key within the finite field F§ and keep their own private key secret. The user private keys are marked as d A , d B ......d F , where the target user is A, and the private keys of the access network and the core network are marked as d S , d T Each party uses its own private key to calculate the corresponding public key, marks the corresponding private key, and the user public keys are P A , P B ......P F , the public keys of the space-based network and the ground-based network are P S , P T .

[0159] Furthermore, two collision-resistant hash functions in a finite field are defined: H1: {0,1} 64 ×G->F§, H2: {0,1} 64 ×{0,1} 64 ×G->F§.

[0160] In a possible embodiment, before the step of the space-based network end acquiring the re-encryption key corresponding to the user from the preset re-encryption key list based on the re-encryption key identifier, the step includes: a step of updating the re-encryption key list;

[0161] Step S004: The user terminal generates a random number k based on the user in the finite field F§, the anti-collision hash function H1, and the user's identification id. A , the identification id of the ground-based network end T 、The user's public key P A and the public key P of the ground-based network T , calculate the user's re-encryption key rk AT , and the re-encryption key rk AT Send to the space-based network terminal;

[0162] Step S005: The space-based network end re-encrypts the key rk AT Store it in the preset re-encryption key list and set the re-encryption key rk AT The corresponding key number N in the preset re-encryption key list is returned to the user end;

[0163] Re-encryption key rkAT for:

[0164]

[0165] In a specific implementation, the user terminal transmits the re-encryption key to the satellite S in the space-based network terminal. The satellite saves the re-encryption key, numbers these keys, and returns the number N to the user terminal.

[0166] In a possible implementation manner, the network slicing-based communication method provided in this embodiment further includes a step in which a user accesses a ground-based network terminal through a user terminal;

[0167] In the above steps of accessing the ground-based network terminal, user A first sends a registration application to the ground-based network terminal to register an account that can access the network, wherein the plain text of the transmitted information includes the identity ID and password of user A, M = (id A || password).

[0168] Before the above information is transmitted, the user needs to encrypt the plaintext M using the user's public key and private key using formulas (2), (3) and (4), and output the ciphertext C for transmission = (C A , N, h A , r A ,s A ).

[0169] After receiving the ciphertext C, the satellite on the space-based network selects a re-encryption key based on N in the plaintext C, and uses the re-encryption key to encrypt C. A Re-encrypt based on formula (5), and output ciphertext C' = (C T , N, h A , r A ,s A ).

[0170] The ground-based network end, after receiving the ciphertext C', decrypts the ciphertext based on formula (6) and formula (7), and recalculates (h' A ,r′ A ), in (h′ A ,r′ A ) and (h A ,s A ) are consistent, account information and password are assigned to user A, and the account information and password are sent back to user A through the above channels.

[0171] In this embodiment, by using a re-encryption mechanism for the user registration process, the security of the user registration process based on space-based network communication is greatly improved, and the efficiency of identity authentication is improved.

[0172] In one possible embodiment, see Figure 3 , Figure 3 A schematic diagram of the combination of SM2 and proxy re-encryption provided by the present invention, in Figure 3 The SM2 encryption algorithm with high password complexity and low computing resource consumption is combined with the proxy re-encryption technology to achieve fast and reliable communication suitable for the space-based information network. The identity authentication process is shown in Figure 4 , Figure 4 A schematic diagram of the space-based information network slice identity authentication process based on the method provided by the present invention.

[0173] Among them, set the message sender to user A and id to id A , the message recipient is user T, id is id T , id is the user ID, which can uniquely determine the user's public key (excluding the user's real identity and address). Set the finite field where the algorithm is located to F§, the order of the finite field to p, and the base point on the finite field to G. Select two secure cryptographic hash functions (usually SM3): H1, H2. Both AT and AT generate a random number d A ∈F§,d T ∈F§, the random number is used as the private key of each AT. Then calculate the public key P of both parties A =d A G, P T =d T G.

[0174] User A generates a random number k in a finite field, calculates K=kG=(x1, y1), and encrypts the plaintext M. The second part of the ciphertext h A =H2(K||M||id A );Calculate the SM2 partial signature r A =x1+h A ; Calculate partial signature s A =(1+d A ) -1 (kr A d A ); get the final ciphertext information C = (C A , id A ,h A , r A ,s A ).

[0175] User A calculates the re-encryption key rk AT . A's public key P A and T's public key P T Combined processing, generate a re-encryption key, calculated based on the existing information and T's public key

[0176] After the calculation is completed, user A sends the ciphertext C and the re-encryption key rk through the user terminal. AT The satellite at the space-based network end converts the ciphertext according to the re-encryption key and outputs a new ciphertext C' = (C T , id A ,h A , r A ,s A ). And send the new ciphertext C' to the ground-based network end.

[0177] The ground-based network end decrypts the ciphertext C' to obtain the plaintext and verifies the authenticity of the plaintext. A ,r′ A ) and (h A ,s A ) are consistent, receive the message.

[0178] In this embodiment, the proxy re-encryption mechanism and slice authentication process are used to solve the problems of low communication security and large resource usage in the process of users accessing the space-based information network slices due to the outdated and computationally intensive space-based information network slice authentication method, thereby further improving the efficiency and security level of space-based information network slice authentication.

[0179] See also Figure 5 , Figure 5 A schematic diagram of a communication system structure based on network slicing provided by an embodiment of the present invention is as follows: Figure 5 As shown, a communication system based on network slicing includes a user terminal 100, a space-based network terminal 200 and a ground-based network terminal 300.

[0180] The user terminal 100 is used to encrypt the network slice identifier using a preset encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext;

[0181] The space-based network terminal 200 is used to update the account ciphertext based on the re-encryption key identifier N in the account ciphertext;

[0182] The user terminal 100 is also used to send the slice identification ciphertext and the corresponding user's account ciphertext to the space-based network terminal 200;

[0183] The ground-based network terminal 300 is used to decrypt and obtain a network slice identifier, and return the network slice that meets the user's request to the user terminal 100 through the space-based network terminal;

[0184] The space-based network terminal 200 is also used to send the updated account ciphertext and slice identification ciphertext to the ground-based network terminal 300.

[0185] More specifically, the user terminal 100 is used to encrypt the network slice identifier requested by the user using a preset encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext; encrypt the user's account information and the preset encryption key using the user's public key and private key to obtain an account ciphertext, and the account ciphertext includes a first part of the ciphertext C A , re-encryption key identifier N, second part ciphertext h A , Elliptic Curve Public Key Cryptography Algorithm Signature A And private key signature S A ; Send the slice identification ciphertext and account ciphertext to the space-based network end;

[0186] The space-based network terminal 200 is used to obtain the re-encryption key corresponding to the user from the preset re-encryption key list based on the re-encryption key identifier; based on the re-encryption key, the first part of the ciphertext C A Re-encrypt and based on the re-encrypted first part of the ciphertext C T Update the account ciphertext and send the updated account ciphertext and slice identification ciphertext to the ground-based network end; set the communication key k of the network slice based on the security level of the user end and the ground-based network end x , and the communication key k x Distribute to the user end and the ground-based network end so that the user end and the ground-based network end are based on the session key k x Communicate directly with network slices;

[0187] The ground-based network terminal 300 is used to A , Elliptic Curve Public Key Cryptography Algorithm Signature A , private key signature S A and the user's public key to the first part of the ciphertext C T Decrypt to obtain the preset encryption key and account information; calculate the second part of the ciphertext h based on the account information and the user's identification information A ' and elliptic curve public key cryptography algorithm signature r A '; In the second part of the ciphertext h A and elliptic curve public key cryptography algorithm signature r A , and the second part of the ciphertext h A ' and elliptic curve public key cryptography algorithm signature r A 'When they are consistent, the slice identification ciphertext is decrypted based on the preset encryption key to obtain the network slice identification; based on the network slice identification, the network slice that meets the user's request is returned to the user end through the space-based network end.

[0188] It can be understood that the network slicing-based communication system provided by the present invention corresponds to the network slicing-based communication method provided in the aforementioned embodiments. The relevant technical features of the network slicing-based communication system can refer to the relevant technical features of the network slicing-based communication method, which will not be repeated here.

[0189] See also Figure 6 , Figure 6 Schematic diagram of an electronic device provided by an embodiment of the present invention. Figure 6 As shown, an embodiment of the present invention provides an electronic device, including a memory 1310, a processor 1320, and a computer program 1311 stored in the memory 1310 and executable on the processor 1320. When the processor 1320 executes the computer program 1311, a network slicing-based communication method as described in any one of the above technical solutions is implemented.

[0190] See also Figure 7 , Figure 7 Schematic diagram of an embodiment of a computer-readable storage medium provided by the present invention. Figure 7 As shown, this embodiment provides a computer-readable storage medium 1400, on which a computer program 1411 is stored. When the computer program 1411 is executed by a processor, it implements a network slicing-based communication method as any one of the above technical solutions.

[0191] Computer-readable storage media may include any medium capable of storing or transmitting information. Examples of computer-readable storage media include electronic circuits, semiconductor memory devices, ROM, flash memory, erasable ROM (EROM), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. Code segments may be downloaded via computer networks such as the Internet, intranets, etc.

[0192] The present invention provides a communication method and system based on network slicing, and the communication method includes: step S10, the user end encrypts the network slice identifier requested by the user using an encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext; step S20, the user end sends the slice identifier ciphertext and the corresponding user's account ciphertext to the space-based network end; step S30, the space-based network end updates the account ciphertext based on the re-encryption key identifier N in the account ciphertext, and sends the updated account ciphertext and slice identifier ciphertext to the ground-based network end; step S40, the ground-based network end decrypts to obtain the network slice identifier, and returns the network slice that meets the user's request to the user end through the space-based network end. Through the proxy re-encryption mechanism and the slice identity authentication process, the problems of low communication security and large resource usage in the process of users accessing the space-based information network slice due to the outdated and large computational complexity of the space-based information network slice identity authentication method are solved, and the space-based information network slice identity authentication efficiency and security level are further improved.

[0193] In addition, it should be noted that the present invention can be provided as a method, an apparatus or a computer program product. Therefore, the embodiments of the present invention can take the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the embodiments of the present invention can take the form of a computer program product implemented on one or more computer-usable storage media containing computer-usable program code.

[0194] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. 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.

[0195] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device, so that a series of operation steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, so that the instructions executed on the computer or other programmable terminal device provide for implementing the process in 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.

[0196] It should also be noted that, in this article, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0197] Finally, it should be noted that the above is a preferred embodiment of the present invention. It should be pointed out that although the preferred embodiment of the present invention has been described, for those skilled in the art, once the basic creative concept of the present invention is known, several improvements and modifications can be made without departing from the principles of the present invention, and these improvements and modifications should also be regarded as the protection scope of the present invention. Therefore, the attached claims are intended to be interpreted as including the preferred embodiment and all changes and modifications that fall within the scope of the embodiments of the present invention.

Claims

1. A communication method based on network slicing, characterized in that: The following steps are involved: Step S10: The user end encrypts the network slice identifier requested by the user using an encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext; Step S20: The user terminal sends the slice identification ciphertext and the corresponding user's account ciphertext to the space-based network terminal; Step S30, the space-based network end updates the account ciphertext based on the re-encryption key identifier N in the account ciphertext, and sends the updated account ciphertext and the slice identifier ciphertext to the ground-based network end; Step S40: The ground-based network terminal decrypts to obtain the network slice identifier, and returns the network slice that meets the user request to the user terminal through the space-based network terminal; The ground-based network terminal combines a plurality of network slices that meet the user request into a slice identifier array, and sends the slice identifier array to the user terminal, so that the user selects one of the plurality of network slices; In the step S30, it specifically includes: Step S301: The space-based network terminal obtains the re-encryption key corresponding to the user from a preset re-encryption key list based on the re-encryption key identifier; Step S302: Based on the re-encryption key, the first part of the ciphertext C A Re-encrypt and based on the re-encrypted first part of the ciphertext C T Updating the account ciphertext, and sending the updated account ciphertext and the slice identification ciphertext to the ground-based network end; The first part of the ciphertext C after re-encryption T for: C T =C A ⊕rk AT ; Among them, C A is the first part of the ciphertext, rk AT The re-encryption key.

2. The communication method based on network slicing according to claim 1, characterized in that: Before executing step S10, the space-based network terminal sets the communication key k of the network slice based on the security level of the user terminal and the ground-based network terminal. x , and the communication key k x Distribute to the user terminal and the ground-based network terminal so that the user terminal and the ground-based network terminal are based on the communication key k x Communicate directly with the network slice.

3. The communication method based on network slicing according to claim 1, characterized in that: Before executing step S10, the method further includes: Initialize basic parameters, including the scale p of the finite field F§, elliptic curve parameters a and b, the base point G=(x, y) of the elliptic curve, and the order n of G; The user terminal, the space-based network terminal and the ground-based network terminal are initialized based on the finite field F§ to complete the allocation of their respective public keys and private keys; Two collision-resistant hash functions H1 and H2 are defined in the finite field F§.

4. The network slicing-based communication method according to claim 3, characterized in that: In the step S20, specifically including: Step S201: the user's account information and the preset encryption key k AES Combine to get plaintext M1; Step S202: Based on the user's public key P A Encrypt the plaintext M1 and calculate the first part of the ciphertext C A And the second part of the ciphertext h A ; Step S203: Based on the base point G of the elliptic curve and the second part of the ciphertext h A , calculate the elliptic curve public key cryptography algorithm signature r A ; Step S204: Based on the user's private key d A , calculate the private key signature S A ; The plaintext M1 is: M1=(id A ||Account||Password||k AES ); Among them, id A It is the user's identity, used to uniquely identify the user's public key, and the account and password are the user's account information; The first part of the ciphertext C A for: C A =M1⊕H1(id A ||kP A ); Among them, M1 is the plaintext, H1 is the collision-resistant hash function, k is the random number generated in the finite field F§, P A is the user's public key; The second part of the ciphertext h A for: h A =H2(K||M1||id A ); Wherein, H2 is a collision-resistant hash function, K=kG=(x1, y1), G is the base point of the elliptic curve, and (x1, y1) is a point on the elliptic curve; The elliptic curve public key cryptography algorithm signature r A for: r A =x1+h A ; The private key signature S A for: S A =(1+d A ) -1 (k-r A d A )。 5. The network slicing-based communication method according to claim 4, characterized in that: In the step S40, it specifically includes: Step S401: The ground-based network terminal generates a second ciphertext h based on the second ciphertext h. A , the elliptic curve public key cryptographic algorithm signature r A , the private key signature S A and the user's public key to the first ciphertext C T Decrypting to obtain the preset encryption key and the account information; Step S402: Calculate the second ciphertext h based on the account information and the user's identification information. A ' and elliptic curve public key cryptography algorithm signature r A '; Step S403: In the second part of the ciphertext h A and the elliptic curve public key cryptographic algorithm signature r A , and the second part of the ciphertext h A ' and elliptic curve public key cryptography algorithm signature r A 'When they are consistent, decrypt the slice identifier ciphertext based on the preset encryption key to obtain the network slice identifier; Step S404: Based on the network slice identifier, the network slice that meets the user request is returned to the user terminal through the space-based network terminal.

6. The communication method based on network slicing according to claim 5, characterized in that: In the step S402, it specifically includes: The ground-based network terminal signs r based on the elliptic curve public key cryptographic algorithm A , the private key signature S A and the user's public key P A , calculate the point K' on the elliptic curve; Based on the point K' on the elliptic curve, the private key d of the ground-based network end T , the user's identification information id A and collision-resistant hash function H1, the first part of the re-encrypted ciphertext C T Decrypt and get the plaintext M1'; Based on the plaintext M1', calculate the second part of the ciphertext h A ' and elliptic curve public key cryptography algorithm signature r A '; The point K' on the elliptic curve is: K'=S A P+(r A +S A )P A ; Among them, P is the generator of group G, G is an additive cyclic group of order n, S A Sign the private key, r A For the elliptic curve public key cryptography algorithm signature, P A is the public key of user A; The plaintext M1' is: Among them, C T is the first part of the ciphertext after re-encryption, id A is the identifier of user A, H1 is the collision-resistant hash function, d T is the private key of the ground-based network, and K' is a point on the elliptic curve.

7. The communication method based on network slicing according to claim 6, characterized in that: The re-encryption key is generated using the following steps: The user terminal generates a random number k generated by the user in the finite field F§, the anti-collision hash function H1, and the user's identification id A , the identification ID of the ground-based network terminal T , the user's public key P A and the public key P of the base network end T , calculate the user's re-encryption key rk AT , and the re-encryption key rk AT Sending to the space-based network terminal; The space-based network terminal uses the re-encryption key rk AT Stored in the preset re-encryption key list, and the re-encryption key rk AT The corresponding re-encryption key identifier N in the preset re-encryption key list is returned to the user terminal; The re-encryption key rk AT for: rk AT =H1(id A ||kP A )⊕H1(id T ||kP T )。 8. A network slicing-based communication system for implementing the communication method according to any one of claims 1 to 7, characterized in that: include: The user end is used to encrypt the network slice identifier using a preset encryption key and a preset encryption algorithm to obtain a slice identifier ciphertext; The space-based network end is used to update the account ciphertext based on the re-encryption key identifier N in the account ciphertext; The user terminal is also used to send the slice identification ciphertext and the account ciphertext of the corresponding user to the space-based network terminal; The ground-based network terminal is used to decrypt and obtain the network slice identifier, and return the network slice that meets the user request to the user terminal through the space-based network terminal; The space-based network end is also used to send the updated account ciphertext and the slice identification ciphertext to the ground-based network end.

Citation Information

Patent Citations

  • Encryption method, slice management method, terminal and access and mobility management entity

    CN111787533A