WO2024092838A1 - 一种数据传输方法及装置 - Google Patents
一种数据传输方法及装置 Download PDFInfo
- Publication number
- WO2024092838A1 WO2024092838A1 PCT/CN2022/130147 CN2022130147W WO2024092838A1 WO 2024092838 A1 WO2024092838 A1 WO 2024092838A1 CN 2022130147 W CN2022130147 W CN 2022130147W WO 2024092838 A1 WO2024092838 A1 WO 2024092838A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- key
- entropy
- information
- approximation
- ciphertext
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/08—Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
- H04L9/0861—Generation of secret information including derivation or calculation of cryptographic keys or passwords
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L2209/00—Additional information or applications relating to cryptographic mechanisms or cryptographic arrangements for secret or secure communication H04L9/00
- H04L2209/80—Wireless
Definitions
- the embodiments of the present application relate to the field of wireless communications, and in particular, to a data transmission method and device.
- the key indicator for measuring the security of high-level encryption algorithms is security strength. If the security strength is k, it means that the computational complexity of cracking the key is 2k , or in other words: the best attack algorithm requires 2k calculations to crack the key, where k is a positive integer.
- the key indicators for measuring physical layer security technology mainly include privacy capacity and bit error rate (BER).
- privacy capacity is used to describe the maximum rate that can be safely transmitted.
- this indicator is an information theory measure and cannot be measured or estimated in practice.
- BER describes the error platform introduced by the physical layer security solution at the non-target receiving end. This indicator is easy to analyze, calculate and measure, but the relationship between this indicator and security is not clear and cannot correspond to security.
- the present application provides a data transmission method and device for implementing data transmission according to defined performance indicators for evaluating various types of secure communication schemes.
- the present application provides a data transmission method, the method comprising: a first device generates a first random bit sequence, and determines a total amount of key entropy based on the length of the first random bit sequence; the first device determines a key entropy N required to encrypt the information entropy based on the information entropy of the first information bit sequence and a first approximation, wherein the first approximation is the ratio of the key entropy required to encrypt the information entropy to the information entropy, and N is a positive integer; when the key entropy N required to encrypt the information entropy is less than or equal to the total amount of key entropy, the first device encrypts the information entropy based on N bits in the total amount of key entropy to obtain a ciphertext; the first device sends the ciphertext to a second device.
- the first device determines the key entropy required to encrypt the information entropy based on the information entropy of the first information bit sequence and the first approximation, and further determines whether the key entropy required to encrypt the information entropy is less than or equal to the total amount of key entropy generated. If the key entropy required to encrypt the information entropy is less than or equal to the total amount of key entropy generated, the information entropy is encrypted based on N bits in the total amount of key entropy to obtain a ciphertext.
- the first approximation is introduced into the communication system as a general indicator measurement of the secure communication scheme, and data transmission that meets specific security performance can be achieved through the above process.
- the first device encrypts the information entropy based on N bits in the total key entropy to obtain a ciphertext, which may be specifically implemented in but not limited to the following manner: the first device generates a key stream based on the N bits and the encryption key using a preset encryption algorithm, XORs the key stream with the information entropy to obtain the ciphertext, and the encryption key is determined based on a root key; or, the first device generates a key stream based on the N bits and preset parameters using a preset encryption algorithm, XORs the key stream with the information entropy to obtain the ciphertext; or, the first device obtains the ciphertext using a preset encryption algorithm based on the N bits and the information entropy.
- the number of bits included in the key stream is the same as the number of bits included in the information entropy.
- the preset encryption algorithm is a symmetric encryption algorithm.
- the first device and the second device determine at least one of the first approximation degree, a key generation algorithm, and a width of a key generation time window.
- the communicating parties can determine the first degree of approximation, the key generation algorithm and the width of the key generation time window through signaling interaction.
- the first device and the second device redetermine at least one of the first approximation, the key generation algorithm or the width of the key generation time window.
- the communicating parties can redetermine the first approximation degree, the key generation algorithm and the width of the key generation time window through signaling interaction, so that the key entropy required to encrypt the information entropy is less than or equal to the total amount of key entropy generated.
- a first information bit group is composed of the first information bit sequence, and the first information bit group is any one of at least one information bit group to be sent; after the first device encrypts the information entropy based on N bits in the total key entropy to obtain a ciphertext, if the remaining key entropy in the total key entropy is less than N bits and there is an unencrypted information bit group in the at least one information bit group to be sent, the first device generates a second random bit sequence.
- the first device can generate a second random bit sequence to encrypt the unencrypted information bit group.
- the first device is a network device and the second device is a terminal device, or the first device is a terminal device and the second device is a network device.
- the present application provides a data transmission method, the method comprising:
- the first device generates a random bit sequence in a first time length, and determines a total key entropy according to the length of the random bit sequence, wherein the first time length is determined according to a first approximation, a second approximation and a key update period, the first approximation is the ratio of the key entropy required for encrypting information entropy to the information entropy, and the second approximation is the ratio of the key entropy extracted per unit time to the information entropy transmitted per unit time; the first device determines the information entropy to be transmitted within a second time length according to the first approximation and the total key entropy, wherein the sum of the first time length and the second time length is the key update period; the first device encrypts the information entropy to be transmitted according to the total key entropy to obtain a ciphertext; the first device sends the ciphertext to the second device.
- the total amount of key entropy generated by the first device in the first time period can be used to transmit the information entropy determined by the total amount of key entropy and the first approximation within the second time period.
- the first approximation and the second approximation are introduced into the communication system as universal indicator measurements of the secure communication scheme, the frame structure is redesigned, and the first time period and the second time period are determined by the first approximation, the second approximation and the key update period.
- the Said T wherein T represents the key update period, D 0 represents the first approximation degree, and d 0 represents the second approximation degree.
- the first device encrypts the information entropy to be transmitted according to the total amount of key entropy, and the ciphertext can be obtained specifically in the following manner but not limited to: the first device generates a key stream according to the total amount of key entropy and the encryption key using a preset encryption algorithm, and XORs the key stream with the information entropy to be transmitted to obtain the ciphertext; or, the first device generates a key stream according to the total amount of key entropy and preset parameters using a preset encryption algorithm, and XORs the key stream with the information entropy to be transmitted to obtain the ciphertext.
- the first device obtains the ciphertext using a preset encryption algorithm according to the total amount of key entropy and the information entropy to be transmitted.
- the number of bits included in the key stream is the same as the number of bits of the information entropy that needs to be transmitted.
- the preset encryption algorithm is a symmetric encryption algorithm.
- the first device and the second device determine at least one of the first approximation, the second approximation, a key generation algorithm, and the key update period.
- the first device is a network device and the second device is a terminal device, or the first device is a terminal device and the second device is a network device.
- the present application provides a data transmission device, the device comprising: a processing module and a transceiver module;
- the processing module is used to generate a first random bit sequence and determine the total amount of key entropy according to the length of the first random bit sequence; determine the key entropy N required to encrypt the information entropy according to the information entropy of the first information bit sequence and a first approximation, wherein the first approximation is the ratio of the key entropy required to encrypt the information entropy to the information entropy, and N is a positive integer; when the key entropy N required to encrypt the information entropy is less than or equal to the total amount of key entropy, encrypt the information entropy based on N bits in the total amount of key entropy to obtain a ciphertext; the transceiver module is used to send the ciphertext to the second device.
- the processing module is used to encrypt the information entropy based on N bits in the total key entropy to obtain a ciphertext, generate a key stream using a preset encryption algorithm according to the N bits and the encryption key, XOR the key stream with the information entropy to obtain the ciphertext, and the encryption key is determined based on a root key; or, generate a key stream using a preset encryption algorithm according to the N bits and preset parameters, XOR the key stream with the information entropy to obtain the ciphertext; or, obtain the ciphertext using a preset encryption algorithm according to the N bits and the information entropy.
- the processing module calls the transceiver module to execute: before generating a first random bit sequence, determining at least one of the first approximation degree, the key generation algorithm, and the width of the key generation time window with the second device.
- the processing module calls the transceiver module to execute: when the key entropy N required to encrypt the information entropy is greater than the total key entropy, redetermine with the second device at least one of the first approximation degree, the key generation algorithm or the width of the key generation time window.
- the first information bit group is composed of the first information bit sequence, and the first information bit group is any one of at least one information bit group to be sent; the processing module is used to generate a second random bit sequence after the first device encrypts the information entropy based on N bits in the total key entropy to obtain a ciphertext, if the remaining key entropy in the total key entropy is less than N bits and there is an unencrypted information bit group in the at least one information bit group to be sent.
- the first device is a network device and the second device is a terminal device, or the first device is a terminal device and the second device is a network device.
- the present application provides a data transmission device, the device comprising: a processing module and a transceiver module;
- the processing module is used to generate a random bit sequence in a first time length, and determine the total amount of key entropy according to the length of the random bit sequence, wherein the first time length is determined according to a first approximation, a second approximation and a key update period, the first approximation is the ratio of the key entropy required for encrypting information entropy to the information entropy, and the second approximation is the ratio of the key entropy extracted per unit time to the information entropy transmitted per unit time; determine the information entropy to be transmitted in a second time length according to the first approximation and the total amount of key entropy, wherein the sum of the first time length and the second time length is the key update period; encrypt the information entropy to be transmitted according to the total amount of key entropy to obtain a ciphertext;
- the transceiver module is used to send the ciphertext to the second device.
- the Said T wherein T represents the key update period, D 0 represents the first approximation degree, and d 0 represents the second approximation degree.
- the processing module is used to encrypt the information entropy to be transmitted according to the total key entropy to obtain the ciphertext, generate a key stream according to the total key entropy and the encryption key using a preset encryption algorithm, and XOR the key stream with the information entropy to be transmitted to obtain the ciphertext; or, generate a key stream according to the total key entropy and preset parameters using a preset encryption algorithm, and XOR the key stream with the information entropy to be transmitted to obtain the ciphertext; or, obtain the ciphertext according to the total key entropy and the information entropy to be transmitted using a preset encryption algorithm.
- the processing module calls the transceiver module to execute: before the first device generates a random bit sequence, determine at least one of the first approximation, the second approximation, the key generation algorithm and the key update period with the second device.
- the apparatus is a network device and the second device is a terminal device, or the apparatus is a terminal device and the second device is a network device.
- the technical effects that can be achieved by the above-mentioned third aspect or any possible implementation thereof can refer to the technical effects that can be achieved by the above-mentioned first aspect or any possible implementation thereof.
- the technical effects that can be achieved by the above-mentioned fourth aspect or any possible implementation thereof can refer to the description of the technical effects that can be achieved by the above-mentioned second aspect or any possible implementation thereof, and they will not be repeated here.
- a communication device in an embodiment of the present application, the device comprising: at least one processor and an interface circuit; the interface circuit is used to provide input and/or output of programs or instructions for the at least one processor; the at least one processor is used to execute the program or instructions so that the communication device can implement the method provided in the above-mentioned first aspect or any possible implementation manner thereof, or execute the program or instructions so that the communication device can implement the method provided in the above-mentioned second aspect or any possible implementation manner thereof.
- a computer storage medium in an embodiment of the present application, in which a software program is stored.
- the software program is read and executed by one or more processors, the method provided by the first aspect or any possible implementation thereof can be implemented, or the method provided by the second aspect or any possible implementation thereof can be implemented.
- an embodiment of the present application provides a computer program product comprising instructions, which, when executed on a computer, enables the computer to execute the method provided in the first aspect or any possible implementation manner thereof, or enables the computer to execute the method provided in the second aspect or any possible implementation manner thereof.
- a chip system in an embodiment of the present application, wherein the chip system includes a processor for supporting a device to implement the functions involved in the above-mentioned first aspect, or for supporting a device to implement the functions involved in the above-mentioned second aspect.
- the chip system further includes a memory, and the memory is used to store necessary program instructions and data.
- the chip system can be composed of a chip, or can include a chip and other discrete devices.
- an embodiment of the present application also provides a chip system, which includes a processor and an interface, wherein the interface is used to obtain a program or instruction, and the processor is used to call the program or instruction to implement or support the device to implement the function involved in the first aspect, or the processor is used to call the program or instruction to implement or support the device to implement the function involved in the second aspect.
- the chip system also includes a memory, and the memory is used to store necessary program instructions and data of the terminal device.
- the chip system can be composed of a chip, or can include a chip and other discrete devices.
- a communication system comprising a first device and a second device, wherein the first device executes the method provided by the first aspect or any possible design thereof, or the first device executes the method provided by the second aspect or any possible design thereof.
- FIG1 is a schematic diagram of the architecture of a mobile communication system used in an embodiment of the present application.
- FIG2A is a schematic diagram of a key generation algorithm based on channel reciprocity applied in an embodiment of the present application
- FIG2B is a schematic diagram of a key generation algorithm based on noise entropy (or terminal entropy) applied in an embodiment of the present application;
- FIG3 is a flowchart of a data transmission method in the present application.
- FIG4A is a schematic diagram of a first device encrypting information entropy of a first information bit sequence based on N bits in the total amount of key entropy in the present application;
- FIG4B is a second schematic diagram of information entropy of a first information bit sequence encrypted by a first device based on N bits in a total amount of key entropy in the present application;
- FIG4C is a third schematic diagram of information entropy of a first information bit sequence encrypted by a first device based on N bits in a total amount of key entropy in the present application;
- FIG5 is a flowchart of another data transmission method in the present application.
- FIG6 is a schematic diagram of the structure of a data frame in the present application.
- FIG7 is a schematic diagram of a structure of a communication device in the present application.
- FIG8 is a second schematic diagram of the structure of a communication device in the present application.
- At least one of a, b, or c can mean: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple.
- GSM Global System of Mobile communication
- CDMA Code Division Multiple Access
- WCDMA Wideband Code Division Multiple Access
- GPRS General Packet Radio Service
- LTE Long Term Evolution
- FDR LTE frequency division duplex
- FDD FDD
- LTE time division duplex TDD
- UMTS universal mobile telecommunication system
- WiMAX worldwide interoperability for microwave access
- 5G mobile communication system can be non-standalone (NSA) or standalone (SA).
- the technical solution provided in the present application can also be applied to machine type communication (MTC), long term evolution-machine (LTE-M), device-to-device (D2D) network, machine-to-machine (M2M) network, Internet of Things (IoT) network or other networks.
- IoT network can include vehicle networking, for example.
- vehicle to X, V2X, X can represent anything
- the V2X can include: vehicle to vehicle (V2V) communication, vehicle to infrastructure (V2I) communication, vehicle to pedestrian (V2P) communication or vehicle to network (V2N) communication, etc.
- the network elements involved in this application include network devices and terminal devices.
- the method provided in the embodiment of this application can be implemented by program code in a memory, wherein the method applied to the network device side can be run in a processing chip in the network device or any device with communication, computing, or storage functions, or any processing device installed on the network device side; the method applied to the terminal device side runs in a built-in processing chip of the terminal device or any device with communication, computing, or storage functions.
- the network device involved in the present application may be a device in a wireless network.
- the network device may be a device deployed in a wireless access network to provide wireless communication functions for terminal devices.
- the network device may be a radio access network (RAN) node that connects the terminal device to the wireless network, which may also be referred to as an access network device.
- RAN radio access network
- the device for implementing the function of the network device may be a network device; it may be a module or unit that can be applied to the network device; or it may be a device that can support the network device to implement the function, such as a chip system, which may be installed in the network device or used in combination with the network device.
- the network equipment includes, but is not limited to, evolved Node B (eNB), radio network controller (RNC), Node B (NB), base station controller (BSC), base transceiver station (BTS), home base station (e.g., home evolved NodeB, or home Node B, HNB), baseband unit (BBU), access point (AP) in wireless fidelity (WIFI) system, wireless relay node, wireless backhaul node, transmission point (TP) or transmission and reception point (TRP), etc. It can also be network equipment in 5G mobile communication system.
- eNB evolved Node B
- RNC radio network controller
- NB Node B
- BSC base station controller
- BTS base transceiver station
- home base station e.g., home evolved NodeB, or home Node B, HNB
- BBU baseband unit
- AP access point
- WIFI wireless fidelity
- TP transmission point
- TRP transmission and reception point
- gNB next generation NodeB
- TRP transmission reception point
- TP in an NR system
- the network device may also be a network node constituting a gNB or a transmission point, for example, a BBU or a distributed unit (DU).
- DU distributed unit
- the gNB may include a centralized unit (CU) and a DU.
- the gNB may also include an active antenna unit (AAU).
- the CU implements some functions of the gNB, and the DU implements some functions of the gNB.
- the CU is responsible for processing non-real-time protocols and services, and implements the functions of the radio resource control (RRC) and packet data convergence protocol (PDCP) layers.
- the DU is responsible for processing physical layer protocols and real-time services, and implements the functions of the radio link control (RLC) layer, the MAC layer, and the physical (PHY) layer.
- the AAU implements some physical layer processing functions, RF processing, and related functions of active antennas.
- the network device can be a device including one or more of a CU node, a DU node, and an AAU node.
- the CU can be divided into a network device in the RAN, or the CU can be divided into a network device in the core network (CN), which is not limited in this application.
- the terminal device involved in the present application may be a wireless terminal device capable of receiving network device scheduling and indication information.
- the terminal device may be a device that provides voice and/or data connectivity to a user, or a handheld device with a wireless connection function, or other processing device connected to a wireless modem.
- the device for realizing the function of the terminal device may be a terminal device; may be a module or unit that can be applied to the terminal device; or may be a device that can support the terminal device to realize the function, such as a chip system, which may be installed in the terminal device or used in combination with the terminal device.
- Terminal equipment also known as user equipment (UE), mobile station (MS), mobile terminal (MT), etc.
- Terminal equipment is a device that includes wireless communication functions (providing voice/data connectivity to users).
- handheld devices with wireless connection functions or vehicle-mounted devices, etc.
- some examples of terminal equipment are: mobile phones, tablet computers, laptops, PDAs, mobile internet devices (MID), wearable devices, virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in Internet of Vehicles, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, or wireless terminals in smart homes, etc.
- wireless terminals in the Internet of Vehicles can be vehicle-mounted equipment, vehicle equipment, vehicle-mounted modules, vehicles, etc.
- Wireless terminals in industrial control can be cameras, robots, etc.
- Wireless terminals in smart homes can be TVs, air conditioners, sweepers, speakers, set-top boxes, etc.
- FIG1 is a schematic diagram of the architecture of a communication system 100 applicable to an embodiment of the present application.
- the communication system 100 may include at least one network device, such as the network device 110 shown in FIG1 ; the communication system 100 may also include at least one terminal device, such as the terminal device 120 shown in FIG1 .
- the network device 110 and the terminal device 120 may communicate via a wireless link.
- Each communication device, such as the network device 110 or the terminal device 120 may be configured with multiple antennas.
- the configured multiple antennas may include at least one transmitting antenna for transmitting signals and at least one receiving antenna for receiving signals. Therefore, the communication devices in the communication system and the network device 110 and the terminal device 120 may communicate via multi-antenna technology.
- FIG. 1 is only a simplified schematic diagram for ease of understanding, and the communication system may also include other network devices or other terminal devices, which are not shown in FIG. 1 .
- the communication system 100 shown in Figure 1 is only an example of an application scenario of an embodiment of the present application.
- the present application can also be applied to communication between any two devices, for example, communication between terminal devices, and communication between network devices.
- the ultimate goal of communication security is perfect security, which can be achieved through a one-time pad security scheme.
- the one-time pad security scheme requires that the length of the random bit sequence is the same as the length of the information bit sequence to be encrypted.
- the information bit sequence to be encrypted and the random bit sequence are XORed bit by bit.
- the random bit sequence needs to be composed of truly random symbols.
- the random bit sequence is only used once.
- the one-time pad security scheme is a theoretically provable unbreakable security scheme, but the implementation cost of this scheme is extremely high.
- the present application provides two new general performance indicators for evaluating various types of secure communication schemes, namely the first approximation and the second approximation.
- the first approximation also known as the one-time pad approximation
- the first approximation can be described as the approximation of the security of the current secure communication scheme to the security of the one-time pad security scheme, or the gap between the security of the current secure communication scheme and the security of the one-time pad security scheme.
- the first approximation is a ratio of a key entropy required to encrypt information entropy to the information entropy.
- Step A Generate a random bit sequence and calculate the key entropy based on the length of the random bit sequence.
- the random bit sequence can be distributed by the high-level network, for example, the random bit sequence can be distributed according to the root key.
- the random bit sequence can also be generated based on the randomness extracted from the channel or hardware device, as shown in Figures 2A and 2B.
- the random bit sequence can also be generated by using the BER introduced at the non-target receiving end using physical layer security technology. It is understandable that the present application does not limit the algorithm for generating the random bit sequence. It should be noted that in the present application, the algorithm for generating the random bit sequence can also be referred to as the key generation algorithm.
- the minimum entropy H K of each bit in the random bit sequence can be evaluated using the National Institute of Standards and Technology (NIST) SP800-90B or other methods, and the key entropy E K can be obtained by multiplying the length of the random bit sequence by H K .
- Step B Calculate the information entropy EM according to the distribution of the symbols sent by the information source in the communication system and the length of the information bit sequence.
- the distribution of symbols sent by the information source will affect the information entropy of the generated information bit sequence. For example, assuming that the symbols generated by the information source have two possibilities, 0 and 1, if the probability of generating 0 and 1 is equal, then the entropy of the binary symbols generated by the information source is 1 bit/symbol, but if the probability of generating 0 and 1 is not equal, then the entropy of the binary symbols generated by the information source will be less than 1 bit/symbol.
- Step C Calculate the first approximation degree according to formula (1).
- the inverse of the first approximation degree represents the information entropy that can be protected by each bit of key entropy, or the number of information bits that can be protected by each bit of key entropy.
- the root key when the root key remains unchanged for a long time, the freshness of the key is low. For example, the root key is updated once a day, that is, the same root key is used every day, so the freshness of the key is low.
- the security of high-level encryption algorithms depends entirely on the complexity of the algorithm. For high-level encryption algorithms, the first approximation is close to 0.
- the root key refers to the key stored in the universal subscriber identity module (USIM) card of the terminal device when the terminal device is registered before accessing the network.
- USIM universal subscriber identity module
- the encryption algorithm of the one-time pad security scheme is relatively simple, that is, bit-by-bit XOR, so the security of the one-time pad security scheme depends on the freshness of the key.
- the first approximation is 1.
- the first approximation is also a measure of the security strength of the communication system. The higher the first approximation, the higher the security strength.
- the higher the first approximation the greater the key entropy, and thus the more difficult it is to crack the key; on the other hand, for a given numerator, the higher the first approximation, the less information entropy is protected by each bit of key entropy, and thus the amount of information leaked due to key theft is also less.
- the second approximation degree can also be called one-time one-secret synchronization approximation degree.
- the second approximation degree is a ratio of key entropy extracted per unit time to information entropy transmitted per unit time.
- Step a Generate a random bit sequence, and calculate the key entropy extracted per unit time according to the generation rate of the random bit sequence.
- the generation process of the random bit sequence and the minimum entropy per bit H K can refer to the relevant description in the above step A. Furthermore, by multiplying the generation rate of the random bit sequence by H K , the key entropy R K extracted per unit time can be obtained, and the key entropy R K extracted per unit time can also be called the generation rate of the key entropy.
- the generation rate of the random bit sequence is related to the algorithm used to generate the random bit sequence (ie, the key generation algorithm), and for details, please refer to the relevant descriptions about the following FIG. 2A and FIG. 2B .
- Step b By measuring or estimating the information entropy R M transmitted per unit time, the information entropy transmitted per unit time can also be called the information transmission rate, or the information bit sequence transmission rate.
- Step c Calculate the second approximation degree according to formula (2).
- the second approximation is a measure of the ability to approximate the one-time pad security scheme. Under the premise of a given information transmission rate, the higher the first approximation, the higher the rate at which the communication system generates key entropy, that is, the communication system has a stronger ability to achieve high security that matches the information transmission rate.
- the second approximation can also be used to describe the efficiency of the approximate one-time pad security scheme.
- first approximation i.e., a given security strength requirement
- the higher the second approximation the higher the ratio of the information bit sequence transmission time to the key entropy generation time, which means that the additional time overhead introduced to achieve the first approximation is less, that is, the required key entropy generation time is shorter.
- the key entropy contained in the random bit sequence is m1
- the time length for generating the random bit sequence (also known as the key entropy generation time) is t1
- the key entropy generation rate is m1/t1
- the length of the information bit sequence used for encryption by the random bit sequence is m2
- the time length for transmitting the information bit sequence (also known as the information bit sequence transmission time) is t2
- the information bit sequence transmission rate is m2/t2
- the second approximation is equal to (m1/m2)*(t2/t1), therefore, when m1/m2 is given, the higher the second approximation, the larger t2/t1, that is, the larger the ratio of the information bit sequence transmission time to the key entropy generation time.
- m1 is less than or equal to m2.
- the explicit encryption security scheme refers to: firstly generating a random bit sequence using wireless environment and/or device characteristics, and then encrypting the plaintext using a one-time pad encryption algorithm or a symmetric encryption algorithm (such as the Advanced Encryption Standard (AES)).
- the algorithm for generating a random bit sequence in the explicit encryption security scheme may include a key generation algorithm based on channel reciprocity and a key generation algorithm based on noise entropy (or terminal entropy).
- FIG2A is a schematic diagram of a key generation algorithm based on channel reciprocity.
- the key generation algorithm shown in FIG2A there are four main steps: channel measurement, quantization, information reconciliation, and privacy amplification.
- the communicating parties such as UE and gNB
- This step needs to be achieved through interaction between the communicating parties, and there is a risk of information leakage.
- the communicating parties can send information reconciliation packets to each other.
- the role of privacy amplification is to remove the amount of leaked information through entropy compression to ensure that the key bits finally generated meet the privacy requirements.
- FIG2B is a schematic diagram of a key generation algorithm based on noise entropy (or terminal entropy).
- the communicating parties e.g., UE and gNB
- the UE and the gNB send interaction error indication field packets to each other, wherein the interaction error indication field packet sent by the UE to the gNB indicates the content of the transmission error in the local noise entropy sent by the gNB, and the interaction error indication field packet sent by the gNB to the UE indicates the content of the transmission error in the local noise entropy sent by the UE.
- the UE generates a random bit sequence based on the content of the local noise entropy of the gNB except the content of the gNB transmission error and the content of the local noise entropy of the UE except the content of the UE transmission error.
- the gNB generates a random bit sequence based on the content of the local noise entropy of the gNB except the content of the gNB transmission error and the content of the local noise entropy of the UE except the content of the UE transmission error.
- the following description is made by taking the calculation of the second approximation by the first device as an example.
- the second device may calculate the second approximation with reference to the above content, which will not be described in detail here.
- Step 1 The first device sends a first message to the second device, where the first message is used to instruct the first device to start key generation.
- the second device also sends a second message to the first device, and the second message is used to instruct the second device to start key generation.
- the startup key generation process may be specifically referred to in Figures 2A and 2B.
- the order in which the first device and the second device initiate the startup key generation is not limited here.
- Step 2 The first device sends information related to the first device for generating a random bit sequence to the second device; and receives information related to the second device for generating a random bit sequence from the second device.
- the information related to the first device and used to generate the random bit sequence may include multiple information, and the multiple information may be sent separately or together. In the following FIG. 2A and FIG. 2B , the multiple information is sent separately.
- the information related to the first device for generating a random bit sequence may include a channel sounding data packet sent by the UE to the gNB and an information reconciliation data packet sent by the UE to the gNB.
- the information related to the second device for generating a random bit sequence may include a channel sounding data packet sent by the gNB to the UE and an information reconciliation data packet sent by the gNB to the UE.
- the information related to the first device for generating a random bit sequence may include the local noise entropy of the UE and the interactive error indication field data packet sent by the UE to the gNB.
- the information related to the second device for generating a random bit sequence may include the local noise entropy of the gNB and the interactive error indication field data packet sent by the gNB to the UE.
- Step 3 The first device generates a random bit sequence according to the information related to the first device for generating a random bit sequence and the information related to the second device for generating a random bit sequence.
- Step 4 The first device sends a third message to the second device, where the third message is used to indicate that key generation of the first device is completed.
- the second device also sends a fourth message to the first device, where the fourth message is used to indicate that key generation of the second device is completed.
- the key generation end process in Figures 2A and 2B may be specifically referred to.
- the order in which the key generation of the first device and the key generation of the second device are ended is not limited here.
- Step 5 The first device determines the generation rate of the random bit sequence based on the length of the random bit sequence and the first time length; wherein the first time length is the total time length required to generate the random bit sequence, and the first time length is determined based on the sending time of the first message and the sending time of the third message.
- the random bit sequence generation rate r K is equal to the length of the random bit sequence divided by the first duration T, wherein the specific calculation method of the first duration T is related to the key generation algorithm.
- the first duration T is the duration of the entire random bit sequence generation process.
- the starting position of the first duration T is the start of key generation
- the ending position of the first duration T is the end of key generation.
- the time when the party initiating key generation sends a message to the other party for instructing the start of key generation is used as the timing start time
- the time when the party sending the message to the other party for indicating the end of key generation is used as the timing end time.
- the first duration T mainly includes the transmission time of the channel sounding data packet dedicated to key generation and the transmission time of the information reconciliation data packet.
- the channel sounding data packet dedicated to key generation refers to a data packet sent additionally for key generation in addition to the channel sounding data packet required for normal channel estimation in the communication system. It should be noted that when calculating T, the transmission time of the channel sounding data packet required for normal channel estimation needs to be subtracted.
- the first duration T mainly includes the transmission time of the local noise entropy bidirectional security interaction data packet and the transmission time of the interaction error indication field data packet.
- Step 6 The first device calculates the key entropy extracted per unit time according to the generation rate of the random bit sequence.
- the minimum entropy H K of each bit in the random bit sequence can be evaluated using NIST SP800-90B or other methods, and the key entropy R K extracted per unit time can be obtained by multiplying the random bit sequence generation rate r K by H K.
- Step 8 The first device determines the information entropy transmitted per unit time
- the information entropy RM transmitted per unit time is measured or estimated.
- Step 9 The first device determines a second approximation degree according to the key entropy extracted per unit time and the information entropy transmitted per unit time.
- the generation rate of the random bit sequence does not have a very clear practical meaning. For example, for system A, assuming that the generation rate of the random bit sequence is 1Mbps and the information entropy transmitted per unit time is also 1Mbps, the system can achieve a one-time pad that matches the information entropy transmitted per unit time; while for system B, assuming that the rate of the random bit sequence is also 1Mbps, but the information entropy transmitted per unit time is 1Gbps, the system cannot achieve a one-time pad that matches the information entropy transmitted per unit time. Therefore, the second approximation considers both the generation rate of the random bit sequence and the information entropy transmitted per unit time, and the evaluation of the key generation algorithm is more valuable and instructive.
- the present application proposes a general indicator measurement for evaluating various types of security communication schemes, namely the first approximation and the second approximation, which can measure the security performance of different security communication schemes and make a unified performance evaluation.
- it can also evaluate the gap between the security that can be achieved by different security communication schemes and the security that can be achieved by the one-time pad security scheme.
- the present application provides a data transmission method.
- the first device may be a network device
- the second device may be a terminal device
- the first device may be a terminal device
- the second device may be a network device.
- the method may be applicable to but not limited to the communication system architecture of Figure 1, and the method may be executed by a transceiver and/or processor of a terminal device (which may also be a network device), or by a chip corresponding to the transceiver and/or processor.
- this embodiment may also be implemented by a controller or control device to which the terminal device (which may also be a network device) is connected, and the controller or control device is used to manage at least one device including the terminal device (which may also be a network device).
- the present application does not specifically limit the specific form of the communication device that executes this embodiment.
- FIG3 shows a data transmission method, which includes:
- the first device generates a first random bit sequence, and determines a total amount of key entropy according to a length of the first random bit sequence.
- the first device may use any one of the two key generation algorithms shown in FIG. 2A and FIG. 2B to generate the first random bit sequence.
- the first device may also use other key generation algorithms to generate the first random bit sequence, which is not limited in the present application.
- the first device may determine at least one of a first approximation degree, a key generation algorithm, and a width of a key generation time window with the second device.
- the key generation algorithm can be any one of the two key generation algorithms shown in Figures 2A and 2B above, or other key generation algorithms, which are not limited in this application.
- the width of the key generation time window refers to the duration of generating a random bit sequence.
- the first device and the second device may configure a list of first approximation, wherein the list of first approximation includes a plurality of values of the first approximation.
- the first device may send a first value of the first approximation to the second device, and if the second device can satisfy that the first approximation is the first value, a notification message may be sent to the second device, where the notification message is used to indicate that the second device agrees that the first approximation is the first value. If the second device cannot satisfy that the first approximation is the first value, a second value of the first approximation may be sent to the second device, where the second value is lower than the first value. If the first device can satisfy that the first approximation is the second value, a notification message may be sent to the first device, where the notification message is used to indicate that the first device agrees that the first approximation is the second value.
- the first device and the second device may configure a list of key generation algorithms and/or a list of key generation time window widths, and determine the key generation algorithm and the key generation time window width in a manner similar to the above.
- the first device and the second device may configure a list of correspondences between at least two parameters among the first approximation degree, the key generation algorithm, and the width of the key generation time window, and determine the first approximation degree, the key generation algorithm, and the width of the key generation time window in a manner similar to the above.
- the first device determines the key entropy N required to encrypt the information entropy based on the information entropy of the first information bit sequence and the first approximation, wherein the first approximation is the ratio of the key entropy required to encrypt the information entropy to the information entropy, and N is a positive integer.
- the first device may divide all information bits to be sent into at least one information bit group to be sent, or may also be referred to as at least one data group, or at least one data group to be sent, wherein each information bit group includes an information bit sequence, and an information bit sequence includes at least one information bit.
- the first information bit group in at least one information bit group to be sent includes a first information bit sequence, or is described as, the first information bit group is composed of the first information bit sequence, and the first information bit group is any one of the at least one information bit group to be sent.
- the network device can determine at least one information bit group to be sent and the information entropy of each information bit group based on the time-frequency resources and modulation and coding scheme (MCS) allocated to the terminal device, wherein the first information bit sequence constitutes any one of the at least one information bit group to be sent.
- MCS modulation and coding scheme
- the first approximation is the ratio of the key entropy required to encrypt the information entropy to the information entropy
- the first approximation can be expressed as the ratio of the information entropy of the first information bit sequence to the key entropy required to encrypt the information entropy.
- the first device can multiply the two to obtain the key entropy required to encrypt the information entropy.
- M is a positive integer
- D 0 is greater than zero.
- the first device encrypts the information entropy of the first information bit sequence based on N bits in the total key entropy to obtain a ciphertext.
- the ciphertext is the encrypted first information bit sequence, that is, the ciphertext here is the ciphertext corresponding to the first information bit sequence.
- the first device can take out any N bits from the total key entropy, or take out N bits from the total key entropy according to a preset order. This application does not limit the specific method in which the first device determines N bits from the total key entropy.
- the first device may obtain the ciphertext in the following manners, but not limited to:
- Mode 1 The first device generates a key stream using a preset encryption algorithm according to N bits and an encryption key, and XORs the key stream with the information entropy of the first information bit sequence to obtain a ciphertext, wherein the encryption key is determined according to a root key, and illustratively, the encryption key is a key derived layer by layer from the root key, as shown in FIG4A .
- Method 2 The first device generates a key stream using a preset encryption algorithm according to N bits and preset parameters, and XORs the key stream with the information entropy of the first information bit sequence to obtain a ciphertext, as shown in FIG4B .
- the preset parameters may refer to parameters that change regularly, such as a packet data convergence protocol (PDCP) packet counter, a key stream length, a bearer identifier, an uplink or downlink direction, etc.
- PDCP packet data convergence protocol
- the number of bits included in the key stream is the same as the number of bits included in the information entropy of the first information bit sequence.
- Method 3 The first device uses a preset encryption algorithm to obtain a ciphertext according to the information entropy of N bits and the first information bit sequence, as shown in FIG4C .
- the preset encryption algorithm is a symmetric encryption algorithm or other encryption algorithm, which is not limited in this application.
- the first device and the second device need to redetermine at least one of the first approximation degree, the key generation algorithm or the width of the key generation time window.
- the first device and the second device can reduce the first approximation degree through signaling interaction, so that the key entropy N required for the encrypted information entropy is reduced, thereby making it easier to meet the requirement that the key entropy required for the encrypted information entropy is less than the total key entropy.
- the first device and the second device can replace the key generation algorithm through signaling interaction, so that the total amount of key entropy generated by the replaced key generation algorithm increases, thereby making it easier to meet the key entropy required for the encrypted information entropy to be less than the total amount of key entropy.
- the first device and the second device can increase the width of the key generation time window through signaling interaction, so that the length of the generated random bit sequence increases, thereby increasing the total amount of key entropy, making it easier to meet the requirement that the key entropy required for the encrypted information entropy is less than the total amount of key entropy.
- the key entropy required for encrypting information entropy is less than the total key entropy.
- the first device when it is necessary to encrypt information entropies corresponding to multiple information bit groups to be sent, that is, the first information bit sequence constitutes any one of the multiple information bit groups to be sent, after obtaining the ciphertext corresponding to the first information bit sequence (that is, after S320), the first device further needs to perform the following judgment:
- each information bit group includes the same number of bits, that is, the information entropy of each information bit group is the same, so for the same first approximation degree, the key entropy required to encrypt each information bit group is the same.
- the first device When there are unencrypted information bit groups and the remaining key entropy in the total key entropy is greater than or equal to N bits, the first device encrypts the information entropy of the unencrypted information bit groups based on N bits of the remaining key entropy in the total key entropy until encryption of all information bit groups is completed.
- the first device When there is an unencrypted information bit group and the remaining key entropy in the total key entropy is less than N bits, the first device generates a second random bit sequence.
- the remaining key entropy in the total key entropy being less than N bits may include a situation where the remaining key entropy in the total key entropy is 0 bits (ie, all the key entropy is used up).
- the second random bit sequence is a new random bit sequence, which is different from the first random bit sequence.
- the key generation algorithm used to generate the second random bit sequence may be the same as or different from the key generation algorithm used to generate the first random bit sequence, which is not limited in this application.
- the first device may re-determine a time length with the second device, and generate the second random bit sequence according to the time length using the same key generation algorithm as that used to generate the first random bit sequence.
- the first device can determine the total amount of key entropy corresponding to the second bit sequence according to the length of the second random bit sequence.
- the key entropy N required to encrypt the information entropy corresponding to an unencrypted information bit group is less than or equal to the total amount of key entropy corresponding to the second bit sequence
- the first device encrypts the information entropy corresponding to the unencrypted information bit group based on N bits in the total amount of key entropy corresponding to the second bit sequence to obtain the corresponding ciphertext.
- the first device If there are other unencrypted information bit groups and the remaining key entropy in the total key entropy corresponding to the second bit sequence is less than N bits, the first device generates a third random bit sequence and repeats the above process until all information bit groups are encrypted.
- the first device sends a ciphertext to the second device.
- the first approximation degree is introduced into the communication system as a universal indicator measurement of the secure communication scheme, and data transmission that meets specific security performance can be achieved through the above process.
- FIG5 shows another data transmission method, which includes:
- the first device generates a random bit sequence in a first time period, and determines a total amount of key entropy according to a length of the random bit sequence.
- the first device may use any one of the two key generation algorithms shown in FIG. 2A and FIG. 2B to generate a random bit sequence.
- the first device may also use other key generation algorithms to generate a random bit sequence, which is not limited in the present application.
- the first device and the second device determine at least one of a first approximation, a second approximation, a key generation algorithm, and a key update period.
- the first device determines information entropy that needs to be transmitted within a second time period according to the first approximation degree and the total amount of key entropy.
- the first duration and the second duration are both determined according to the first approximation, the second approximation and the key update period, wherein the sum of the first duration and the second duration is the key update period.
- the definitions of the first approximation and the second approximation can refer to the above related descriptions and will not be repeated here.
- the first duration ⁇ T
- the second duration (1- ⁇ )T
- N key entropy
- M information entropy
- T the key update period
- D 0 represents the first approximation
- d 0 represents the second approximation
- N/( ⁇ T) represents the key entropy extracted per unit time
- M/(1- ⁇ )T represents the information entropy transmitted per unit time.
- the key entropy required to encrypt the information entropy that needs to be transmitted is the total key entropy. Therefore, there will be no situation where the information entropy that needs to be transmitted cannot be encrypted due to insufficient total key entropy.
- the total amount of key entropy obtained by the first durations in different frames may be the same or different.
- the information entropy to be transmitted determined according to the first approximation degree is also different.
- the number of information bits transmitted for the second durations of different frames may be the same or different.
- the first device encrypts the information entropy to be transmitted according to the total amount of key entropy to obtain a ciphertext.
- S520 can refer to the three encryption methods in S320, which will not be repeated here.
- S530 The first device sends a ciphertext to the second device.
- the first approximation degree and the second approximation degree are introduced into the communication system as universal indicator measurements of the secure communication scheme.
- data transmission can be achieved under the premise of given security performance requirements and system security capabilities.
- FIG7 shows a possible exemplary block diagram of a communication device involved in an embodiment of the present application, wherein the device 700 includes: a transceiver module 720 and a processing module 710, wherein the transceiver module 720 may include a receiving unit and a sending unit.
- the processing module 710 is used to control and manage the actions of the device 700.
- the transceiver module 720 is used to support the communication between the device 700 and other network entities.
- the device 700 may also include a storage unit, wherein the storage unit is used to store program codes and data of the device 700.
- each module in the device 700 may be implemented by software.
- the processing module 710 may be a processor or a controller, for example, a general-purpose central processing unit (CPU), a general-purpose processor, a digital signal processing (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It may implement or execute various exemplary logic blocks, modules and circuits described in conjunction with the disclosure of the embodiments of the present application.
- the processor may also be a combination that implements a computing function, for example, a combination of one or more microprocessors, a combination of a DSP and a microprocessor, and the like.
- the transceiver module 720 may be a communication interface, a transceiver or a transceiver circuit, etc., wherein the communication interface is a general term.
- the communication interface may include multiple interfaces, and the storage unit may be a memory.
- the processing module 710 in the apparatus 700 can support the apparatus 700 to execute the actions of the first device in the above method examples, for example, it can support the apparatus 700 to execute S300, S310, S320 in FIG. 3 , or S500, S510, S520 in FIG. 5 .
- the transceiver module 720 may support the apparatus 700 to communicate with the second device.
- the transceiver module 720 may support the apparatus 700 to execute S330 in FIG. 3 or S530 in FIG. 5 .
- the processing module 710 is used to generate a first random bit sequence, and determine the total amount of key entropy according to the length of the first random bit sequence; determine the key entropy N required to encrypt the information entropy according to the information entropy of the first information bit sequence and a first approximation, wherein the first approximation is the ratio of the key entropy required to encrypt the information entropy to the information entropy, and N is a positive integer; when the key entropy N required to encrypt the information entropy is less than or equal to the total amount of key entropy, encrypt the information entropy based on N bits in the total amount of key entropy to obtain a ciphertext;
- the transceiver module 720 is used to send the ciphertext to the second device.
- the processing module 710 is used to encrypt the information entropy based on N bits in the total key entropy to obtain a ciphertext, generate a key stream using a preset encryption algorithm according to the N bits and the encryption key, XOR the key stream with the information entropy to obtain the ciphertext, and the encryption key is determined based on a root key; or, generate a key stream using a preset encryption algorithm according to the N bits and preset parameters, XOR the key stream with the information entropy to obtain the ciphertext; or, obtain the ciphertext using a preset encryption algorithm according to the N bits and the information entropy.
- the processing module 710 calls the transceiver module 720 to execute: before generating a first random bit sequence, determine at least one of the first approximation degree, the key generation algorithm, and the width of the key generation time window with the second device.
- the processing module 710 calls the transceiver module 720 to execute: when the key entropy N required to encrypt the information entropy is greater than the total key entropy, redetermine with the second device at least one of the first approximation degree, the key generation algorithm or the width of the key generation time window.
- the first information bit group is composed of the first information bit sequence, and the first information bit group is any one of at least one information bit group to be sent; the processing module 710 is used to generate a second random bit sequence when the first device encrypts the information entropy based on N bits in the total key entropy to obtain a ciphertext, and when the remaining key entropy in the total key entropy is less than N bits and there is an unencrypted information bit group in the at least one information bit group to be sent.
- the first device is a network device and the second device is a terminal device, or the first device is a terminal device and the second device is a network device.
- the processing module 710 is used to generate a random bit sequence in a first time length, and determine the total amount of key entropy according to the length of the random bit sequence, wherein the first time length is determined according to a first approximation, a second approximation and a key update period, the first approximation is the ratio of the key entropy required for encrypting information entropy to the information entropy, and the second approximation is the ratio of the key entropy extracted per unit time to the information entropy transmitted per unit time; determine the information entropy to be transmitted in a second time length according to the first approximation and the total amount of key entropy, wherein the sum of the first time length and the second time length is the key update period; encrypt the information entropy to be transmitted according to the total amount of key entropy to obtain a ciphertext;
- the transceiver module 720 is used to send the ciphertext to the second device.
- T represents the key update period
- D 0 represents the first approximation degree
- d 0 represents the second approximation degree
- the processing module 710 is used to encrypt the information entropy to be transmitted according to the total key entropy to obtain the ciphertext, generate a key stream according to the total key entropy and the encryption key using a preset encryption algorithm, XOR the key stream with the information entropy to be transmitted, and obtain the ciphertext; or, generate a key stream according to the total key entropy and preset parameters using a preset encryption algorithm, XOR the key stream with the information entropy to be transmitted, and obtain the ciphertext; or, obtain the ciphertext using a preset encryption algorithm according to the total key entropy and preset parameters.
- the processing module 710 calls the transceiver module 720 to execute: before the first device generates a random bit sequence, determine at least one of the first approximation, the second approximation, the key generation algorithm and the key update period with the second device.
- the apparatus is a network device and the second device is a terminal device, or the apparatus is a terminal device and the second device is a network device.
- the device 700 may correspond to the first device in the aforementioned method embodiment, and the operations and/or functions of the various modules in the device 700 are respectively for implementing the corresponding steps of the method of the first device in the aforementioned method embodiment, and therefore the beneficial effects in the aforementioned method embodiment can also be achieved.
- the beneficial effects in the aforementioned method embodiment can also be achieved.
- they are not elaborated here.
- Fig. 8 shows a schematic structural diagram of a communication device 800 according to an embodiment of the present application.
- the device 800 includes: a processor 801 .
- the processor 801 when the processor 801 is used to call an interface to perform the following actions: generate a first random bit sequence, and determine the total amount of key entropy according to the length of the first random bit sequence; determine the key entropy N required to encrypt the information entropy according to the information entropy of the first information bit sequence and a first approximation, wherein the first approximation is the ratio of the key entropy required to encrypt the information entropy to the information entropy, and N is a positive integer; when the key entropy N required to encrypt the information entropy is less than or equal to the total amount of key entropy, encrypt the information entropy based on N bits in the total amount of key entropy to obtain a ciphertext; and send the ciphertext to the second device.
- the processor 801 when the processor 801 is used to call an interface to perform the following actions: generate a random bit sequence in a first time length, and determine the total amount of key entropy based on the length of the random bit sequence, wherein the first time length is determined based on a first approximation, a second approximation and a key update period, the first approximation is the ratio of the key entropy required to encrypt information entropy to the information entropy, and the second approximation is the ratio of the key entropy extracted per unit time to the information entropy transmitted per unit time; determine the information entropy that needs to be transmitted within a second time length based on the first approximation and the total amount of key entropy, wherein the sum of the first time length and the second time length is the key update period; encrypt the information entropy that needs to be transmitted based on the total amount of key entropy to obtain a ciphertext; and send the cip
- the device 800 can also be used to execute other steps and/or operations of the first device in the above embodiment, which are not described here for the sake of brevity.
- the processor 801 can call an interface to perform the above-mentioned transceiver action, wherein the called interface can be a logical interface or a physical interface, which is not limited.
- the physical interface can be implemented by a transceiver.
- the device 800 also includes a transceiver 803.
- the device 800 further includes a memory 802 , in which the program code in the above method embodiment can be stored, so as to be called by the processor 801 .
- the device 800 includes a processor 801, a memory 802, and a transceiver 803, the processor 801, the memory 802, and the transceiver 803 communicate with each other through an internal connection path to transmit control and/or data signals.
- the processor 801, the memory 802, and the transceiver 803 can be implemented by a chip, and the processor 801, the memory 802, and the transceiver 803 can be implemented in the same chip, or they can be implemented in different chips, or any two of the functions can be combined and implemented in one chip.
- the memory 802 can store program code, and the processor 801 calls the program code stored in the memory 802 to implement the corresponding functions of the device 800.
- the present application also provides a communication system, which includes a first device and a second device, wherein the first device is used to execute the steps and/or operations on the first device side of the previous embodiment, and the second device is used to execute the steps and/or operations on the second device side of the previous embodiment.
- the method disclosed in the above embodiment of the present application can be applied to a processor or implemented by a processor.
- the processor may be an integrated circuit chip with signal processing capabilities.
- each step of the above method embodiment can be completed by an integrated logic circuit of hardware in the processor or an instruction in the form of software.
- the above processor can be a general processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), a field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, and can also be a system chip (system on chip, SoC), a central processing unit (central processor unit, CPU), a network processor (network processor, NP), a digital signal processing circuit (digital signal processor, DSP), a microcontroller (micro controller unit, MCU), a programmable logic device (programmable logic device, PLD) or other integrated chips.
- SoC system on chip
- SoC system on chip
- CPU central processing unit
- CPU central processor unit, CPU
- network processor network processor
- NP digital signal processing circuit
- microcontroller micro controller unit, MCU
- programmable logic device programmable logic device, PLD
- the general processor may be a microprocessor or the processor may be any conventional processor, etc.
- the steps of the method disclosed in the embodiment of the present application may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in the decoding processor.
- the software module may be located in a mature storage medium in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc.
- the storage medium is located in a memory, and the processor reads the information in the memory and completes the steps of the above method in combination with its hardware.
- the memory in the embodiments of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories.
- the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory.
- the volatile memory can be a random access memory (RAM), which is used as an external cache.
- RAM random access memory
- SRAM static RAM
- DRAM dynamic RAM
- SDRAM synchronous DRAM
- DDR SDRAM double data rate SDRAM
- ESDRAM enhanced SDRAM
- SLDRAM synchlink DRAM
- DR RAM direct rambus RAM
- An embodiment of the present application further provides a computer-readable storage medium, which stores a computer program.
- the computer program runs on a computer, the computer executes the methods shown in the above embodiments.
- the computer program product includes one or more computer instructions.
- the computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device or other programmable device.
- the computer instructions may be stored in a computer-readable storage medium, or transmitted from one computer-readable storage medium to another computer-readable storage medium.
- the computer instructions may be transmitted from one website site, computer, server or data center to another website site, computer, server or data center by wired (e.g., coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.) means.
- the computer-readable storage medium may be any available medium that can be accessed by a computer or a data storage device such as a server or data center that includes one or more available media integrated.
- the available medium may be a magnetic medium (e.g., a floppy disk, a hard disk, a magnetic tape), an optical medium (e.g., a digital video disc (DVD)), or a semiconductor medium (e.g., a solid state drive (SSD)), etc.
- a magnetic medium e.g., a floppy disk, a hard disk, a magnetic tape
- an optical medium e.g., a digital video disc (DVD)
- DVD digital video disc
- SSD solid state drive
Landscapes
- Engineering & Computer Science (AREA)
- Computer Security & Cryptography (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
Description
Claims (26)
- 一种数据传输方法,其特征在于,该方法包括:第一设备生成第一随机比特序列,并根据所述第一随机比特序列的长度确定密钥熵总量;所述第一设备根据第一信息比特序列的信息熵和第一逼近度确定加密所述信息熵所需的密钥熵N,其中,所述第一逼近度为加密信息熵所需的密钥熵与该信息熵之比,N为正整数;在加密所述信息熵所需的密钥熵N小于或等于所述密钥熵总量的情况下,所述第一设备基于所述密钥熵总量中的N比特加密所述信息熵,获得密文;所述第一设备向第二设备发送所述密文。
- 如权利要求1所述的方法,其特征在于,所述第一设备基于所述密钥熵总量中的N比特加密所述信息熵,获得密文,包括:所述第一设备根据所述N比特和加密密钥采用预设加密算法生成密钥流,将所述密钥流与所述信息熵异或,获得所述密文,所述加密密钥是根据根密钥确定的;或者,所述第一设备根据所述N比特和预设参数采用预设加密算法生成密钥流,将所述密钥流与所述信息熵异或,获得所述密文;或者,所述第一设备根据所述N比特和所述信息熵采用预设加密算法获得所述密文。
- 如权利要求1或2所述的方法,其特征在于,在第一设备生成第一随机比特序列之前,还包括:所述第一设备与所述第二设备确定所述第一逼近度、密钥生成算法和密钥生成时间窗口的宽度中的至少一个。
- 如权利要求3所述的方法,其特征在于,还包括:在加密所述信息熵所需的密钥熵N大于所述密钥熵总量的情况下,所述第一设备与所述第二设备重新确定所述第一逼近度,所述密钥生成算法或所述密钥生成时间窗口的宽度中的至少一个。
- 如权利要求1-4任一项所述的方法,其特征在于,第一信息比特组由所述第一信息比特序列构成,所述第一信息比特组为至少一个待发送的信息比特组中的任意一个;在所述第一设备基于所述密钥熵总量中的N比特加密所述信息熵,获得密文之后,还包括:在所述密钥熵总量中的剩余密钥熵小于N比特且所述至少一个待发送的信息比特组中存在未加密的信息比特组的情况下,所述第一设备生成第二随机比特序列。
- 如权利要求1-5任一项所述的方法,其特征在于,所述第一设备为网络设备,所述第二设备为终端设备,或者,所述第一设备为终端设备,所述第二设备为网络设备。
- 一种数据传输方法,其特征在于,该方法包括:第一设备在第一时长生成随机比特序列,并根据所述随机比特序列的长度确定密钥熵总量,其中,所述第一时长是根据第一逼近度、第二逼近度和密钥更新周期确定的,所述第一逼近度为加密信息熵所需的密钥熵与该信息熵之比,所述第二逼近度为单位时间提取的密钥熵与单位时间传输的信息熵之比;所述第一设备根据所述第一逼近度和所述密钥熵总量确定在第二时长内需要传输的 信息熵,其中,所述第一时长和所述第二时长之和为所述密钥更新周期;所述第一设备根据所述密钥熵总量加密所述需要传输的信息熵,获得密文;所述第一设备向所述第二设备发送所述密文。
- 如权利要求7或8所述的方法,其特征在于,所述第一设备根据所述密钥熵总量加密所述需要传输的信息熵,获得密文,包括:所述第一设备根据所述密钥熵总量和加密密钥采用预设加密算法生成密钥流,将所述密钥流与所述需要传输的信息熵异或,获得所述密文;或者,所述第一设备根据所述密钥熵总量和预设参数采用预设加密算法生成密钥流,将所述密钥流与所述需要传输的信息熵异或,获得所述密文;或者,所述第一设备根据所述密钥熵总量和所述需要传输的信息熵采用预设加密算法获得所述密文。
- 如权利要求7-9任一项所述的方法,其特征在于,在第一设备生成随机比特序列之前,还包括:所述第一设备与所述第二设备确定所述第一逼近度、所述第二逼近度、密钥生成算法和所述密钥更新周期中的至少一个。
- 如权利要求7-10任一项所述的方法,其特征在于,所述第一设备为网络设备,所述第二设备为终端设备,或者,所述第一设备为终端设备,所述第二设备为网络设备。
- 一种数据传输装置,其特征在于,该装置包括:处理模块和收发模块;所述处理模块,用于生成第一随机比特序列,并根据所述第一随机比特序列的长度确定密钥熵总量;根据第一信息比特序列的信息熵和第一逼近度确定加密所述信息熵所需的密钥熵N,其中,所述第一逼近度为加密信息熵所需的密钥熵与该信息熵之比,N为正整数;在加密所述信息熵所需的密钥熵N小于或等于所述密钥熵总量的情况下,基于所述密钥熵总量中的N比特加密所述信息熵,获得密文;所述收发模块,用于向第二设备发送所述密文。
- 如权利要求12所述的装置,其特征在于,所述处理模块,用于在基于所述密钥熵总量中的N比特加密所述信息熵,获得密文时,根据所述N比特和加密密钥采用预设加密算法生成密钥流,将所述密钥流与所述信息熵异或,获得所述密文,所述加密密钥是根据根密钥确定的;或者,根据所述N比特和预设参数采用预设加密算法生成密钥流,将所述密钥流与所述信息熵异或,获得所述密文;或者,根据所述N比特和所述信息熵采用预设加密算法获得所述密文。
- 如权利要求12或13所述的装置,其特征在于,所述处理模块调用所述收发模块执行:在生成第一随机比特序列之前,与所述第二设备确定所述第一逼近度、密钥生成算法和密钥生成时间窗口的宽度中的至少一个。
- 如权利要求14所述的装置,其特征在于,所述处理模块调用所述收发模块执行:在加密所述信息熵所需的密钥熵N大于所述密钥熵总量的情况下,与所述第二设备重新确定所述第一逼近度,所述密钥生成算法或所述密钥生成时间窗口的宽度中的至少一个。
- 如权利要求12-15任一项所述的装置,其特征在于,第一信息比特组由所述第一信 息比特序列构成,所述第一信息比特组为至少一个待发送的信息比特组中的任意一个;所述处理模块,用于在所述第一设备基于所述密钥熵总量中的N比特加密所述信息熵,获得密文之后,在所述密钥熵总量中的剩余密钥熵小于N比特且所述至少一个待发送的信息比特组中存在未加密的信息比特组的情况下,生成第二随机比特序列。
- 如权利要求12-16任一项所述的装置,其特征在于,所述装置为网络设备,所述第二设备为终端设备,或者,所述装置为终端设备,所述第二设备为网络设备。
- 一种数据传输装置,其特征在于,该装置包括:处理模块和收发模块;所述处理模块,用于在第一时长生成随机比特序列,并根据所述随机比特序列的长度确定密钥熵总量,其中,所述第一时长是根据第一逼近度、第二逼近度和密钥更新周期确定的,所述第一逼近度为加密信息熵所需的密钥熵与该信息熵之比,所述第二逼近度为单位时间提取的密钥熵与单位时间传输的信息熵之比;根据所述第一逼近度和所述密钥熵总量确定在第二时长内需要传输的信息熵,其中,所述第一时长和所述第二时长之和为所述密钥更新周期;根据所述密钥熵总量加密所述需要传输的信息熵,获得密文;所述收发模块,用于向所述第二设备发送所述密文。
- 如权利要求18或19所述的装置,其特征在于,所述处理模块,用于在根据所述密钥熵总量加密所述需要传输的信息熵,获得密文时,根据所述密钥熵总量和加密密钥采用预设加密算法生成密钥流,将所述密钥流与所述需要传输的信息熵异或,获得所述密文;或者,根据所述密钥熵总量和预设参数采用预设加密算法生成密钥流,将所述密钥流与所述需要传输的信息熵异或,获得所述密文;或者,根据所述密钥熵总量和所述需要传输的信息熵采用预设加密算法获得所述密文。
- 如权利要求18-20任一项所述的装置,其特征在于,所述处理模块调用所述收发模块执行:在第一设备生成随机比特序列之前,与所述第二设备确定所述第一逼近度、所述第二逼近度、密钥生成算法和所述密钥更新周期中的至少一个。
- 如权利要求18-21任一项所述的装置,其特征在于,所述装置为网络设备,所述第二设备为终端设备,或者,所述装置为终端设备,所述第二设备为网络设备。
- 一种通信装置,其特征在于,包括用于执行如权利要求1至6中任一项所述方法的单元或模块,或者包括用于执行如权利要求7至11中任一项所述方法的单元或模块。
- 一种通信装置,其特征在于,所述通信装置包括处理器和存储介质,所述存储介质存储有指令,所述指令被所述处理器运行时,使得如权利要求1至6任一项所述的方法被实现,或者使得如权利要求7至11任一项所述的方法被实现。
- 一种通信装置,其特征在于,包括处理器和接口电路;所述接口电路,用于接收代码指令并传输至所述处理器;所述处理器运行所述代码指令以执行如权利要求1至11任一项所述的方法。
- 一种可读存储介质,其特征在于,所述可读存储介质用于存储指令,当所述指令被执行时,使如权利要求1至11中任一项所述的方法被实现。
Priority Applications (3)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202280100979.2A CN120077607A (zh) | 2022-11-04 | 2022-11-04 | 一种数据传输方法及装置 |
| PCT/CN2022/130147 WO2024092838A1 (zh) | 2022-11-04 | 2022-11-04 | 一种数据传输方法及装置 |
| EP22964139.4A EP4607841A4 (en) | 2022-11-04 | 2022-11-04 | METHOD AND APPARATUS FOR DATA TRANSMISSION |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| PCT/CN2022/130147 WO2024092838A1 (zh) | 2022-11-04 | 2022-11-04 | 一种数据传输方法及装置 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024092838A1 true WO2024092838A1 (zh) | 2024-05-10 |
Family
ID=90929527
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2022/130147 Ceased WO2024092838A1 (zh) | 2022-11-04 | 2022-11-04 | 一种数据传输方法及装置 |
Country Status (3)
| Country | Link |
|---|---|
| EP (1) | EP4607841A4 (zh) |
| CN (1) | CN120077607A (zh) |
| WO (1) | WO2024092838A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118972038A (zh) * | 2024-09-13 | 2024-11-15 | 上海市大数据中心 | 一种基于通信安全的加密管理系统及方法 |
| CN119515372A (zh) * | 2025-01-20 | 2025-02-25 | 金邦达有限公司 | 智能卡中继攻击防范方法、装置、存储介质及计算机设备 |
| CN119626500A (zh) * | 2024-11-20 | 2025-03-14 | 广州腾方科技有限公司 | 分诊屏远程智能管理系统及其方法 |
| CN119940386A (zh) * | 2025-04-07 | 2025-05-06 | 北京捷润科技有限公司 | 基于动态加密的防伪二维码生成方法 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100195829A1 (en) * | 2007-04-30 | 2010-08-05 | Rolf Blom | Method for establishing a random number for security and encryption, and a communications apparatus |
| CN104954124A (zh) * | 2014-03-28 | 2015-09-30 | 华为技术有限公司 | 加密和解密数据处理方法、装置和系统 |
| CN110401627A (zh) * | 2019-01-31 | 2019-11-01 | 中国科学院软件研究所 | 一种适用于分组密码算法感染防护的抗差分故障攻击安全性评估方法和系统 |
| CN111722831A (zh) * | 2020-05-07 | 2020-09-29 | 中山大学 | 一种加密系统及其实现方法 |
| CN115174212A (zh) * | 2022-07-05 | 2022-10-11 | 北京威努特技术有限公司 | 一种利用熵技术甄别网络数据传输是否加密的方法 |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US8189778B2 (en) * | 2008-07-07 | 2012-05-29 | General Instrument Corporation | Adaptive generation of a pseudo random number generator seed |
| IL213497A0 (en) * | 2011-06-12 | 2011-08-31 | Eliphaz Hibshoosh | Light public key cryptography |
| US20150117636A1 (en) * | 2013-10-30 | 2015-04-30 | Apriva, Llc | System and method for performing a secure cryptographic operation on a mobile device |
-
2022
- 2022-11-04 WO PCT/CN2022/130147 patent/WO2024092838A1/zh not_active Ceased
- 2022-11-04 CN CN202280100979.2A patent/CN120077607A/zh active Pending
- 2022-11-04 EP EP22964139.4A patent/EP4607841A4/en active Pending
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20100195829A1 (en) * | 2007-04-30 | 2010-08-05 | Rolf Blom | Method for establishing a random number for security and encryption, and a communications apparatus |
| CN104954124A (zh) * | 2014-03-28 | 2015-09-30 | 华为技术有限公司 | 加密和解密数据处理方法、装置和系统 |
| CN110401627A (zh) * | 2019-01-31 | 2019-11-01 | 中国科学院软件研究所 | 一种适用于分组密码算法感染防护的抗差分故障攻击安全性评估方法和系统 |
| CN111722831A (zh) * | 2020-05-07 | 2020-09-29 | 中山大学 | 一种加密系统及其实现方法 |
| CN115174212A (zh) * | 2022-07-05 | 2022-10-11 | 北京威努特技术有限公司 | 一种利用熵技术甄别网络数据传输是否加密的方法 |
Non-Patent Citations (1)
| Title |
|---|
| See also references of EP4607841A4 * |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN118972038A (zh) * | 2024-09-13 | 2024-11-15 | 上海市大数据中心 | 一种基于通信安全的加密管理系统及方法 |
| CN119626500A (zh) * | 2024-11-20 | 2025-03-14 | 广州腾方科技有限公司 | 分诊屏远程智能管理系统及其方法 |
| CN119515372A (zh) * | 2025-01-20 | 2025-02-25 | 金邦达有限公司 | 智能卡中继攻击防范方法、装置、存储介质及计算机设备 |
| CN119940386A (zh) * | 2025-04-07 | 2025-05-06 | 北京捷润科技有限公司 | 基于动态加密的防伪二维码生成方法 |
Also Published As
| Publication number | Publication date |
|---|---|
| EP4607841A4 (en) | 2025-12-03 |
| CN120077607A (zh) | 2025-05-30 |
| EP4607841A1 (en) | 2025-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2024092838A1 (zh) | 一种数据传输方法及装置 | |
| JP7127689B2 (ja) | コアネットワーク装置、通信端末、及び通信方法 | |
| CA2810661C (en) | Method and apparatus of cipher communication for management frame using quality of service mechanism in wireless local area network system | |
| CN113347621B (zh) | 一种用于组切换的方法和装置 | |
| US9967229B2 (en) | Apparatus, system and method of protecting a service identifier | |
| CN108347420A (zh) | 一种网络密钥处理的方法、相关设备及系统 | |
| US9491621B2 (en) | Systems and methods for fast initial link setup security optimizations for PSK and SAE security modes | |
| CN108605225B (zh) | 一种安全处理方法及相关设备 | |
| CN114731501B (zh) | 一种具有抗干扰能力的短距离通信方法和装置 | |
| WO2023055342A1 (en) | Enabling distributed non-access stratum terminations | |
| US10122438B2 (en) | Systems, methods and devices for modifying relay operation of a wireless device | |
| US20080069067A1 (en) | Apparatus, systems, and methods for mobile client secure session parameter updates | |
| CN111465007B (zh) | 一种认证方法、装置和系统 | |
| CN118339865A (zh) | 用于无线通信系统中的物理层保护的秘密密钥提取 | |
| EP4608011A1 (en) | Communication method, and apparatus | |
| CN118694614A (zh) | 通信网络安全管理方法及系统 | |
| US20260019846A1 (en) | Wireless communication method and communication device | |
| US20250260985A1 (en) | Broadcast message protection method and related apparatus | |
| WO2025098294A1 (en) | Task-level homomorphic encryption management method and apparatus | |
| CN114450989B (zh) | 设备会话密钥标识字段的填充方法及相关产品 | |
| WO2024077597A1 (zh) | 无线物理层安全通信的方法和通信装置 | |
| WO2025098263A1 (zh) | 一种信道密钥确定方法及装置 | |
| WO2026036250A1 (zh) | 用于无线通信的方法和通信设备 | |
| WO2025139617A1 (zh) | 一种通信方法及装置 | |
| WO2026012245A1 (zh) | 通信方法、装置及系统 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 22964139 Country of ref document: EP Kind code of ref document: A1 |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 202280100979.2 Country of ref document: CN |
|
| WWE | Wipo information: entry into national phase |
Ref document number: 2022964139 Country of ref document: EP |
|
| ENP | Entry into the national phase |
Ref document number: 2022964139 Country of ref document: EP Effective date: 20250520 |
|
| WWP | Wipo information: published in national office |
Ref document number: 202280100979.2 Country of ref document: CN |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| WWP | Wipo information: published in national office |
Ref document number: 2022964139 Country of ref document: EP |