Wireless keyboard encryption transmission method and device based on Polar code

By using the unable to cloning function in the wireless keyboard to generate the unique key, perform device authentication, and combine data auto -coupling, AES encryption and Polar code coding, solve the problem of data transmission security of wireless keyboard, realize the efficient and secure transmission of data and security transmission Essence

CN119363340AActive Publication Date: 2025-01-24WUHAN PANSHENG DINGCHENG TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202411482425.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-23
Publication Date
2025-01-24
Estimated Expiration
2044-10-23

AI Technical Summary

Technical Problem

During the data transmission process of wireless keyboards, security is difficult to guarantee and is easily intercepted by malicious attackers. Unauthorized device access may threaten the security of data transmission.

Method used

Generate a unique key through an unclonable function, establish an unclonable function authentication mechanism to verify the access device, double-encrypt the interactive data through data self-coupling and lightweight AES encryption, and finally use Polar code to encrypt the encrypted data. Encoding and transmission.

Benefits of technology

Ensure the legitimacy of the device, protect the security of the keys information through multi -layer encryption, and use wireless channels for security transmission and decoding to ensure accurate transmission of users input.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119363340A_ABST
    Figure CN119363340A_ABST
Patent Text Reader

Abstract

The invention relates to a wireless keyboard encryption transmission method and device based on a Polar code, and the method comprises the steps: generating a unique key through an unclonable function when a wireless keyboard is started; establishing an unclonable function authentication mechanism according to the unique key, and verifying access equipment of the wireless keyboard; obtaining interaction data of the access device passing verification and the wireless keyboard; based on the unique key, performing dual encryption on the interaction data through data self-coupling and lightweight AES encryption; encoding the encrypted data through a Polar code, and transmitting the encoded data to the access equipment; and the access device decodes the encrypted data through AES encryption and Polar code decoding to obtain input and output data of the wireless keyboard. According to the invention, through combination of the unclonable function and the Polar code, the security of data and equipment access of the wireless keyboard is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of encrypted communication, and in particular relates to a wireless keyboard encrypted transmission method and device based on Polar code. Background Art

[0002] Security is a crucial issue in the data transmission process of wireless keyboards. Unencrypted wireless transmission can be easily intercepted by malicious attackers, resulting in the leakage of user privacy data. In addition, unauthorized device access may also pose a threat to the security of data transmission. Summary of the invention

[0003] In order to improve the security of data and access of a wireless keyboard, a first aspect of the present invention provides a wireless keyboard encryption transmission method based on a Polar code, comprising:

[0004] When the wireless keyboard is started, a unique key is generated through an unclonable function;

[0005] Establish an unclonable function authentication mechanism based on a unique key to verify the access device of the wireless keyboard;

[0006] Acquire the interaction data between the authenticated access device and the wireless keyboard; and perform double encryption on the interaction data through data self-coupling and lightweight AES encryption based on a unique key;

[0007] The encrypted data is encoded by Polar code and transmitted to the access device; the access device decodes the encrypted data through AES encryption and Polar code decoding to obtain the input and output data of the wireless keyboard.

[0008] In some embodiments of the present invention, the unclonable function authentication mechanism is established based on a unique key to verify the access device of the wireless keyboard, including: generating a corresponding response through an unclonable function in response to a random challenge input by the access device; comparing the corresponding response with a preset reference response: if the Hamming distance between the corresponding response and the reference response is not greater than a threshold, the verification is successful.

[0009] In some embodiments of the present invention, the double encryption of the interaction data based on a unique key through data self-coupling and lightweight AES encryption includes: dividing the interaction data into first key generation data and first encrypted data; encrypting the first key generation data and the first encrypted data respectively through a unique key and a coupling function; and encrypting the encrypted generation data and encrypted data using the unique key as the AES encryption key.

[0010] Furthermore, the encrypting of the key generation data and the encrypted data respectively by the unique key and the coupling function includes: XOR encrypting the first encrypted data by the unique key to obtain the second encrypted data; encrypting the first key generation data by the unique key and the coupling function to obtain the second encrypted key generation data.

[0011] In the above embodiment, encoding the encrypted data by Polar code and transmitting it to the access device includes: recursively constructing a Polar code generation matrix; randomly freezing the encrypted data; and encoding the randomly frozen data by Polar code generation matrix.

[0012] In some embodiments of the present invention, generating a unique key through an unclonable function includes: generating multiple challenge-response pairs through an unclonable function when the wireless keyboard is started or initialized; and processing the multiple challenge-response pairs through a fuzzy extractor to generate a unique key.

[0013] A second aspect of the present invention provides a wireless keyboard encryption transmission device based on Polar code, comprising:

[0014] A generation module, used for generating a unique key through an unclonable function when the wireless keyboard is started;

[0015] A verification module, used to establish an unclonable function authentication mechanism based on a unique key to verify the access device of the wireless keyboard;

[0016] An encryption module, used for acquiring the interaction data between the authenticated access device and the wireless keyboard; based on a unique key, the interaction data is double encrypted through data self-coupling and lightweight AES encryption;

[0017] The decoding module is used to encode the encrypted data through the Polar code and transmit it to the access device; the access device decodes the encrypted data through AES encryption and Polar code decoding to obtain the input and output data of the wireless keyboard.

[0018] Furthermore, the verification module includes: a generation unit, used to generate a corresponding response through an unclonable function in response to a random challenge input by the access device; a comparison unit, used to compare the corresponding response with a preset reference response: if the Hamming distance between the corresponding response and the reference response is not greater than a threshold, the verification is passed.

[0019] The third aspect of the present invention provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, when the one or more programs are executed by the one or more processors, the one or more processors implement the Polar code-based wireless keyboard encryption transmission method provided in the first aspect of the present invention.

[0020] A fourth aspect of the present invention provides a computer-readable medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the wireless keyboard encryption transmission method based on Polar code provided in the first aspect of the present invention is implemented.

[0021] The beneficial effects of the present invention are:

[0022] The present invention ensures the legitimacy of the device through PUF key generation and authentication mechanism, and then protects the security of key information through multi-layer encryption (self-coupling encryption, Polar code physical layer encryption and AES lightweight encryption). Finally, it performs secure transmission and decoding through wireless channels to ensure the accurate transmission of user input. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 It is a basic flow chart of a wireless keyboard encryption transmission method based on Polar code in some embodiments of the present invention;

[0024] Figure 2 is a schematic diagram of a specific flow chart of a double encryption method in some embodiments of the present invention;

[0025] Figure 3 It is a schematic diagram of the structure of a wireless keyboard encryption transmission device based on Polar code in some embodiments of the present invention;

[0026] Figure 4 It is a schematic diagram of the structure of an electronic device in some embodiments of the present invention. DETAILED DESCRIPTION

[0027] The principles and features of the present invention are described below in conjunction with the accompanying drawings. The examples given are only used to explain the present invention and are not used to limit the scope of the present invention.

[0028] refer to Figure 1 and Figure 2 In a first aspect of the present invention, a wireless keyboard encryption transmission method based on Polar code is provided, comprising:

[0029] S100. When the wireless keyboard is started, a unique key is generated by an unclonable function;

[0030] S200. Establish an unclonable function authentication mechanism based on a unique key to verify the access device of the wireless keyboard;

[0031] S300. Obtaining the interactive data between the verified access device and the wireless keyboard; based on a unique key, the interactive data is double encrypted by data self-coupling and lightweight AES encryption;

[0032] S400. Encode the encrypted data through the Polar code and transmit it to the access device; the access device decodes the encrypted data through AES encryption and Polar code decoding to obtain input and output data of the wireless keyboard.

[0033] It is understood that the receiving end or access device of the above wireless keyboard includes but is not limited to: Personal computer (PC): including desktop and laptop computers, which are usually connected to wireless keyboards via USB interface or Bluetooth technology; Laptop computers: many laptop computers also support pairing with wireless keyboards via Bluetooth. Tablet computers: devices running Windows, iOS or Android operating systems, connected to wireless keyboards via Bluetooth. Smart phones: now pair with wireless keyboards via Bluetooth to facilitate text input. Smart TVs and TV boxes: some smart TVs and TV boxes support Bluetooth function and can connect wireless keyboards as remote controls. Game consoles: such as PlayStation, Xbox, etc., they may support connection with wireless keyboards via wireless receivers or Bluetooth. Raspberry Pi: This microcomputer can also connect to wireless keyboards via Bluetooth or USB interfaces. Smart home devices: some smart home devices, such as smart central control systems, may support wireless keyboards as input devices. Industrial computers or corresponding host computers: such as some industrial control systems or professional audio / video equipment, they may be designed with specific wireless interfaces to receive keyboard input.

[0034] It should be noted that the Physical Unclonable Function (PUF) is a security technology based on the physical characteristics of hardware, which is used to extract random and unique keys from the physical properties of the device itself. PUF relies on the inevitable tiny differences in the device manufacturing process, which manifest as randomness in the integrated circuit, generating a unique response, so that each device can generate a different key.

[0035] PUF works by receiving an input challenge and outputting a corresponding response. The input challenge is usually a bit sequence. After receiving the challenge, PUF generates a corresponding response based on the physical characteristics of the device. Since these physical characteristics are determined by tiny random differences in the manufacturing process, even devices of the same model will have different PUF responses. This feature allows PUF to be used as a hardware security primitive for encryption key generation and identity authentication.

[0036] A typical PUF structure can be expressed as: Let the challenge be C, whose length is n bits, representing the input challenge sequence. Let the response be R, whose length is m bits, representing the corresponding response sequence.

[0037] The mapping relationship of PUF can be described as:

[0038] R=PUF(C)

[0039] The PUF function maps the challenge C to the response R.

[0040] In step S100 of some embodiments of the present invention, generating a unique key by using an unclonable function includes:

[0041] S101. When the wireless keyboard is started or initialized, multiple challenge-response pairs are generated by an unclonable function;

[0042] Specifically, during the device startup or manufacturing process, a device-unique key is first generated through a physically unclonable function (PUF). PUF uses physical characteristics in the device (such as transistor differences) to generate a unique response. Each time an input challenge is received, PUF generates a unique key.

[0043] The generation process is as follows: When the device is started or initialized, it will generate multiple challenge-response pairs (CRPs) through PUF, such as CRP = {(C 1 ,R 1 ),(C 2 ,R 2 ),(C k .R k )}, where C k For the challenge, R k is the corresponding PUF response.

[0044] S102. Process the multiple challenge-response pairs through a fuzzy extractor to generate a unique key.

[0045] Since the PUF response may be affected by noise, the fuzzy extractor is used to process the PUF response to generate a stable key K and auxiliary data P to ensure the stability of the key:

[0046] (K,P)=Gen(R)

[0047] Where K is the unique key of the device, and P is auxiliary data used for subsequent authentication and key reconstruction. Before the wireless keyboard attempts to establish a connection with the receiver, the PUF authentication mechanism is used for identity authentication to ensure that only legitimate devices can access the system. The system will store the device's challenge-response pair to verify the uniqueness of the device.

[0048] Therefore, in step S200 of some embodiments of the present invention, the establishment of an unclonable function authentication mechanism according to a unique key to verify the access device of the wireless keyboard includes:

[0049] S201. In response to a random challenge input by the access device, a corresponding response is generated by an unclonable function;

[0050] Specifically, the system sends a random challenge C to the wireless keyboard device R', and the device uses PUF to generate a corresponding response.

[0051] S202. Compare the corresponding response with a preset reference response: if the Hamming distance between the corresponding response and the reference response is not greater than a threshold, the verification is successful.

[0052] Specifically, the response R' is compared with the stored reference response R. If the Hamming distance d H (R, R') then the authentication is passed:

[0053]

[0054] Without loss of generality, since the PUF response may be affected by environmental factors (such as temperature and voltage), there may be some differences in the responses generated at different times. Therefore, it is necessary to perform stability testing on the generated responses to ensure their consistency in different environments. This is usually achieved by repeatedly generating responses and calculating the Hamming distance between the responses.

[0055] Suppose the response generated under different environmental conditions is Where j represents different environmental conditions and i represents the i-th challenge. The response stability can be calculated by the Hamming distance as follows:

[0056]

[0057] Among them, d H represents the average Hamming distance, and k represents the number of bits of data. H If the error is less than the preset threshold δ, the response is considered stable. Otherwise, error correction measures need to be taken to ensure the reliability of the key.

[0058] This step completes the authentication of the device, ensuring that only legitimate devices can send encrypted keyboard data. Optionally, a distance comparison response difference, such as Euclidean distance, geomagnetic distance, etc., which represents the data difference, can also be used.

[0059] In step S300 of some embodiments of the present invention, the double encryption of the interactive data by data self-coupling and lightweight AES encryption based on the unique key includes:

[0060] S301. Divide the interactive data into first key generation data and first encrypted data;

[0061] Specifically, the user inputs through the wireless keyboard. At this time, the wireless keyboard collects the user's input data (such as key information) and generates an original data bit sequence. This stage involves the interaction between the user and the device, and the key information is recorded as a digital signal by the sensor.

[0062] User input generation: Assume that the user input key information is encoded as a bit sequence M = {m 1 , m 2 ,…,m k}, which will become the original data for the subsequent encryption process.

[0063] S302. Encrypt the first key generation data and the first encrypted data respectively by using a unique key and a coupling function;

[0064] The user's input data M is divided into two parts: M 1 (Key generation part) and M 2 (encrypted data part). Use the key K generated by PUF to M 2 Perform XOR encryption:

[0065] C 1= M 2 ⊕K

[0066] Then use: M 1 and K to generate a new encryption key K′:

[0067] K′=g(M 1 , K)

[0068] Where g represents the coupling function.

[0069] S303. Use the unique key as the AES encryption key to encrypt the encrypted generated data and encrypted data.

[0070] Specifically, lightweight encryption algorithms such as AES are used to encrypt data, making it more difficult for attackers to recover the original information. The encryption process is as follows:

[0071] C 2 =AES k (C 1 )

[0072] After the data encryption is completed, the device will send the encrypted data to the receiving end through wireless transmission. At the receiving end, the data will be restored to its original state through decoding and decryption.

[0073] In step S400 of some embodiments of the present invention, encoding the encrypted data by using the Polar code and transmitting the encoded data to the access device includes:

[0074] S401. Recursively construct a Polar code generator matrix;

[0075] Specifically, the Polar code generation matrix G is recursively constructed N ,in

[0076] S402. Randomly freeze the encrypted data; and encode the randomly frozen data by generating a matrix using a Polar code.

[0077] Specifically, some bits in the data are set to frozen bits (usually 0) and these bits are randomized to further enhance the encryption effect. i Randomized to:

[0078] f i ~Uniform(0,1)

[0079] Then, the data is encoded by generating the matrix:

[0080] x=uG N

[0081] where u=[u 1 ,u 2 ,…,u N ]Includes information bits and frozen bits.

[0082] In particular, during encoding, it is possible to dynamically select which channels are used to transmit information, rather than fixedly using the most reliable channel for information transmission. This random mapping is expressed as:

[0083] π:{1,2,…,K}→{1,2,…,N}

[0084] Among them, π is a random mapping function that maps information bits to different sub-channels, thereby enhancing encryption.

[0085] Furthermore, the security of the physical layer can be further improved by dynamically generating a frozen bit key, which can be determined based on a session key or a dynamic key generated by the PUF.

[0086] Assume that the dynamic key generated by PUF is K PUF , the frozen bit key can be generated by a cryptographic hash function:

[0087] f=H(K PUF )

[0088] Among them, H is a hash function that maps the key generated by PUF to a frozen bit sequence of length. In this way, the frozen bit sequence is different each time data is transmitted, which improves the security of encryption.

[0089] It is understandable that through randomization of frozen bits and dynamic key generation, Polar codes can enhance the encryption effect of the physical layer and increase the difficulty for attackers to eavesdrop. Compared with other complex encryption algorithms, the encoding and decoding process of Polar codes is relatively simple and suitable for resource-constrained devices; Polar codes themselves have good error correction performance, which can improve the reliability of data transmission and maintain a low bit error rate even in a noisy environment.

[0090] In particular, in applications that require higher encryption strength and dynamic key management, such as high-security wireless devices, Turbo-Polar codes are used to puncture data multiple times and scramble information bits, which increases the complexity of encryption and improves the security of data protection. PUF technology is used to generate dynamic keys, and different keys are used for encryption before each data transmission to prevent security risks caused by long-term use of the same key. The optimized Turbo-Polar code decoding algorithm is used at the receiving end to reduce the complexity and power consumption of decoding.

[0091] S403. The access device decodes the encrypted data through AES encryption and Polar code decoding to obtain the input and output data of the wireless keyboard;

[0092] Specifically, after receiving the encrypted data, the receiver decrypts and decodes it in sequence to restore the original key information: first, use the same PUF key K as the sender to perform AES decryption to restore the data encrypted by the Polar code:

[0093] C 1 =AES k -1 (C 2 )

[0094] The receiving end uses the Polar code successive elimination decoding algorithm (SCD) to decode the data and recover the information bit u and the frozen bit f; finally, the decryption key K′ and M 1 Restore original data 2 , thereby obtaining the original user input.

[0095] Example 2

[0096] refer to Figure 3 In a second aspect of the present invention, a wireless keyboard encryption transmission device 1 based on Polar code is provided, comprising:

[0097] A generating module 11, used to generate a unique key through an unclonable function when the wireless keyboard is started;

[0098] The verification module 12 is used to establish an unclonable function authentication mechanism according to a unique key to verify the access device of the wireless keyboard;

[0099] The encryption module 13 is used to obtain the interaction data between the authenticated access device and the wireless keyboard; based on the unique key, the interaction data is double-encrypted through data self-coupling and lightweight AES encryption;

[0100] The decoding module 14 is used to encode the encrypted data through Polar code and transmit it to the access device; the access device decodes the encrypted data through AES encryption and Polar code decoding to obtain the input and output data of the wireless keyboard.

[0101] Furthermore, the verification module 12 includes: a generation unit, used to generate a corresponding response through an unclonable function in response to a random challenge input by the access device; a comparison unit, used to compare the corresponding response with a preset reference response: if the Hamming distance between the corresponding response and the reference response is not greater than a threshold, the verification is passed.

[0102] Example 3

[0103] refer to Figure 4 According to the third aspect of the present invention, an electronic device is provided, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors implement the wireless keyboard encryption transmission method based on Polar code in the first aspect of the present invention.

[0104] The electronic device 500 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 501, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 502 or a program loaded from a storage device 508 into a random access memory (RAM) 503. In the RAM 503, various programs and data required for the operation of the electronic device 500 are also stored. The processing device 501, the ROM 502, and the RAM 503 are connected to each other via a bus 504. An input / output (I / O) interface 505 is also connected to the bus 504.

[0105] Typically, the following devices may be connected to the I / O interface 505: an input device 506 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; an output device 507 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; a storage device 508 including, for example, a hard disk, etc.; and a communication device 509. The communication device 509 may allow the electronic device 500 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 4 The electronic device 500 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead. Figure 4 Each block shown in the figure may represent one device, or may represent multiple devices as required.

[0106] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through a communication device 509, or installed from a storage device 508, or installed from a ROM 502. When the computer program is executed by the processing device 501, the above functions defined in the method of the embodiment of the present disclosure are executed. It should be noted that the computer-readable medium described in the embodiment of the present disclosure can be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium can be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection with one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In an embodiment of the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, an apparatus, or a device. In an embodiment of the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium, which may send, propagate, or transmit a program for use by or in combination with an instruction execution system, an apparatus, or a device. The program code embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the foregoing.

[0107] The computer-readable medium may be included in the electronic device, or may exist independently without being installed in the electronic device. The computer-readable medium carries one or more computer programs. When the one or more programs are executed by the electronic device, the electronic device:

[0108] Computer program code for performing the operations of embodiments of the present disclosure may be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages, such as Java, Smalltalk, C++, Python, and conventional procedural programming languages, such as "C" or similar programming languages. The program code may be executed entirely on a user's computer, partially on a user's computer, as a separate software package, partially on a user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving a remote computer, the remote computer may be connected to the user's computer via any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0109] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should be noted that each box in the block diagram and / or flow chart, and the combination of the boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0110] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims

1. A wireless keyboard encryption transmission method based on Polar code, characterized in that: include: When the wireless keyboard is started, a unique key is generated through an unclonable function; Establish an unclonable function authentication mechanism based on a unique key to verify the access device of the wireless keyboard; Obtaining the interaction data between the authenticated access device and the wireless keyboard; Based on a unique key, the interactive data is double encrypted through data self-coupling and lightweight AES encryption; The encrypted data is encoded using Polar code and transmitted to the access device; The access device decodes the encrypted data through AES encryption and Polar code decoding to obtain the input and output data of the wireless keyboard.

2. According to claim 1, the wireless keyboard encryption transmission method based on Polar code is characterized in that: The method of establishing an unclonable function authentication mechanism based on a unique key to verify the access device of the wireless keyboard includes: In response to a random challenge input by the access device, a corresponding response is generated through an unclonable function; The corresponding response is compared with a preset reference response: if the Hamming distance between the corresponding response and the reference response is not greater than a threshold, the verification is successful.

3. The wireless keyboard encryption transmission method based on Polar code according to claim 1 is characterized in that: The double encryption of the interactive data based on the unique key through data self-coupling and lightweight AES encryption includes: dividing the interactive data into first key generation data and first encrypted data; Encrypting the first key generation data and the first encrypted data respectively by using a unique key and a coupling function; The unique key is used as the AES encryption key to encrypt the generated data and the encrypted data.

4. The wireless keyboard encryption transmission method based on Polar code according to claim 3 is characterized in that: The step of encrypting the key generation data and the encryption data respectively by using the unique key and the coupling function comprises: XOR-encrypting the first encrypted data using a unique key to obtain second encrypted data; The first key generation data is encrypted by using a unique key and a coupling function to obtain the second key generation data.

5. The wireless keyboard encryption transmission method based on Polar code according to claim 1, characterized in that: The step of encoding the encrypted data by using the Polar code and transmitting the encoded data to the access device includes: The Polar code generation matrix is ​​constructed recursively; Randomly freeze the encrypted data; The randomly frozen data is encoded by generating a matrix using the Polar code.

6. The wireless keyboard encryption transmission method based on Polar code according to claim 1, characterized in that: The generating of a unique key by using an unclonable function comprises: When the wireless keyboard is started or initialized, multiple challenge-response pairs are generated through an unclonable function; The plurality of challenge-response pairs are processed by a fuzzy extractor to generate a unique key.

7. A wireless keyboard encryption transmission device based on Polar code, characterized in that: include: A generation module, used for generating a unique key through an unclonable function when the wireless keyboard is started; A verification module, used to establish an unclonable function authentication mechanism based on a unique key to verify the access device of the wireless keyboard; An encryption module, used to obtain the interaction data between the authenticated access device and the wireless keyboard; Based on a unique key, the interactive data is double encrypted through data self-coupling and lightweight AES encryption; The decoding module is used to encode the encrypted data using the Polar code and transmit it to the access device; The access device decodes the encrypted data through AES encryption and Polar code decoding to obtain the input and output data of the wireless keyboard.

8. The wireless keyboard encryption transmission device based on Polar code according to claim 7, characterized in that: The verification module comprises: A generating unit, configured to generate a corresponding response by using an unclonable function in response to a random challenge input by an access device; The comparison unit is used to compare the corresponding response with a preset reference response: if the Hamming distance between the corresponding response and the reference response is not greater than a threshold, the verification is passed.

9. An electronic device, comprising: one or more processors; A storage device for storing one or more programs. When the one or more programs are executed by the one or more processors, the one or more processors implement the wireless keyboard encryption transmission method based on Polar code as described in any one of claims 1 to 6.

10. A computer readable medium having a computer program stored thereon, wherein: When the computer program is executed by the processor, the wireless keyboard encryption transmission method based on Polar code as described in any one of claims 1 to 6 is implemented.

Citation Information

Patent Citations

  • Physical unclonable function response error correcting circuit based on SRAM type memory

    CN106301786A

  • Embedded system encryption protection device and method based on AES algorithm and PUF technology

    CN111082925A

  • Lightweight industrial sensor data flow integrity verification method based on physical unclonable function

    CN116094719A

  • derivation of a session key with access to a physically unclonable function

    DE102015214427A1