Key generation method and device, related equipment and storage medium
By selecting the relay node that has successfully generated the physical layer key with the AP as the agent, and using its physical layer key and radio frequency fingerprint with the STA to generate a symmetric key between the AP and the STA, the encryption problem caused by slow changes in the wireless channel is solved. It solves the difficulty of key generation and ensures the security of communication between AP and STA.
Patent Information
- Application Number
- CN202311063277.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-08-22
- Publication Date
- 2024-10-22
AI Technical Summary
When the wireless channel changes slowly, the physical layer key generation technology (PKG) may not be able to generate the physical layer key between the AP and STA in time, causing communication security to be threatened.
By selecting a relay node that has successfully generated a physical layer key with the AP as a proxy, the physical layer key between the relay node and the STA and the STA's identity are used to generate a symmetric key between the AP and the STA. Ensure communication security between AP and STA.
When the wireless channel changes slowly, the physical layer key between the AP and STA is quickly generated through a controllable and trusted relay agent, which effectively ensures the security of communication between the AP and STA and avoids relay nodes from stealing communications. Information Risks.
Smart Images

Figure CN118828481A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of wireless security technology, and in particular to a key generation method, device, related equipment and storage medium. Background Art
[0002] In the Wireless Fidelity (WiFi) communication system, the access point (AP) and the station (STA) can use the physical-layer secret key generation (PKG) technology to achieve secure communication; in other words, the communicating parties (i.e., AP and STA) can measure the characteristics of the wireless channel, use the short-term reciprocity, spatial decorrelation and randomness of the wireless channel, and use a specific algorithm to process the measured wireless channel characteristics into a symmetric key to achieve the purpose of protecting the security of the wireless air interface.
[0003] However, in some specific cases, when AP and STA need to communicate using physical layer keys, the PKG technology may not be able to generate the physical layer keys between AP and STA in time. At this time, how to effectively ensure the communication security between AP and STA becomes an urgent problem to be solved. Summary of the invention
[0004] In order to solve the related technical problems, the embodiments of the present application provide a key generation method, apparatus, related equipment and storage medium.
[0005] The technical solution of the embodiment of the present application is implemented as follows:
[0006] The present application embodiment provides a key generation method, which is applied to an AP, including:
[0007] In a case where a physical layer key between the AP and the STA is not successfully generated, selecting a relay node that satisfies a first condition for the STA, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0008] Acquire a first key from the relay node, where the first key is a physical layer key between the relay node and the STA;
[0009] A second key is determined by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0010] In the above solution, the obtaining the first key from the relay node includes:
[0011] Sending first information to the relay node, and sending second information to the STA, wherein the first information indicates that the relay node negotiates a physical layer key with the STA, and the second information indicates that the STA negotiates a physical layer key with the relay node;
[0012] Receive third information sent by the relay node, where the third information at least includes the first key.
[0013] In the above scheme, the first identifier includes the radio frequency fingerprint of the STA; the third information further includes the second identifier of the STA, and the second identifier includes the media access control (MAC, Media Access Control) address of the STA; the method also includes:
[0014] Sending fourth information to the first device, where the fourth information is used to query the first identifier of the STA, and the fourth information at least includes the second identifier of the STA;
[0015] Receive fifth information sent by the first device, where the fifth information at least includes the first identifier of the STA.
[0016] In the above scheme, the method further comprises:
[0017] Communicate with the STA using the second key.
[0018] The embodiment of the present application also provides a key generation method, which is applied to a STA, including:
[0019] In a case where a physical layer key between the STA and the AP is not successfully generated, receiving second information sent by the AP, where the second information indicates that the STA negotiates a physical layer key with a relay node, where the relay node is selected by the AP for the STA, and where the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0020] Determine a first key by negotiation with the relay node, where the first key is a physical layer key between the relay node and the STA;
[0021] A second key is determined by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0022] In the above solution, the first identifier includes the radio frequency fingerprint of the STA.
[0023] In the above scheme, the method further comprises:
[0024] Communicate with the AP using the second key.
[0025] The embodiment of the present application also provides a key generation method, which is applied to a relay node, including:
[0026] receiving first information sent by an AP, where the first information indicates that the relay node negotiates a physical layer key with the STA, the AP fails to successfully generate a physical layer key between the AP and the STA, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0027] Determine a first key by negotiation with the STA, where the first key is a physical layer key between the relay node and the STA;
[0028] Sending third information to the AP, where the third information at least includes the first key, so that the AP uses the first key and the first identifier of the STA to determine a second key, where the second key is used for secure communication between the AP and the STA.
[0029] In the above scheme, the first identifier includes the radio frequency fingerprint of the STA; the third information also includes the second identifier of the STA, and the second identifier includes the MAC address of the STA; the second identifier of the STA is used for the AP to query the first device for the first identifier of the STA.
[0030] The present application also provides a key generation device, including:
[0031] A selection unit, configured to select, for the STA, a relay node that satisfies a first condition when a physical layer key between the AP and the STA is not successfully generated, wherein the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0032] an acquiring unit, configured to acquire a first key from the relay node, where the first key is a physical layer key between the relay node and the STA;
[0033] The first generating unit is used to determine a second key by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0034] The present application also provides a key generation device, including:
[0035] A first receiving unit, configured to receive, when a physical layer key between the STA and the AP is not successfully generated, second information sent by the AP, wherein the second information indicates that the STA negotiates a physical layer key with a relay node, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, wherein the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0036] A second generating unit, configured to determine a first key through negotiation with the relay node, where the first key is a physical layer key between the relay node and the STA;
[0037] The third generating unit is used to determine a second key by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0038] The present application also provides a key generation device, including:
[0039] A second receiving unit is configured to receive first information sent by an AP, where the first information indicates that a relay node negotiates a physical layer key with a STA, the AP fails to successfully generate a physical layer key between the AP and the STA, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0040] a fourth generating unit, configured to determine a first key through negotiation with the STA, where the first key is a physical layer key between the relay node and the STA;
[0041] The first sending unit is used to send third information to the AP, where the third information at least includes the first key, so that the AP uses the first key and the first identifier of the STA to determine a second key, where the second key is used for secure communication between the AP and the STA.
[0042] The embodiment of the present application also provides an AP, comprising: a first communication interface and a first processor; wherein,
[0043] The first processor is configured to:
[0044] In a case where a physical layer key between the AP and the STA is not successfully generated, selecting a relay node that satisfies a first condition for the STA, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0045] Acquire a first key from the relay node through the first communication interface, where the first key is a physical layer key between the relay node and the STA;
[0046] A second key is determined by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0047] The embodiment of the present application further provides a STA, comprising: a second communication interface and a second processor; wherein:
[0048] The second processor is configured to:
[0049] In a case where a physical layer key between the STA and the AP is not successfully generated, receiving, through the second communication interface, second information sent by the AP, where the second information indicates that the STA negotiates a physical layer key with a relay node, where the relay node is selected by the AP for the STA, and where the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0050] Determine a first key by negotiation with the relay node, where the first key is a physical layer key between the relay node and the STA;
[0051] A second key is determined by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0052] The embodiment of the present application further provides a relay node, including: a third communication interface and a third processor; wherein,
[0053] The third processor is configured to:
[0054] receiving, through the third communication interface, first information sent by the AP, where the first information indicates that the relay node negotiates a physical layer key with the STA, the AP fails to successfully generate a physical layer key between the AP and the STA, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0055] Determine a first key by negotiation with the STA, where the first key is a physical layer key between the relay node and the STA;
[0056] The third information is sent to the AP through the third communication interface, and the third information at least includes the first key, so that the AP can use the first key and the first identifier of the STA to determine the second key, and the second key is used for secure communication between the AP and the STA.
[0057] The embodiment of the present application further provides an AP, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,
[0058] The first processor is used to execute the steps of any of the above-mentioned AP side methods when running the computer program.
[0059] The embodiment of the present application further provides a STA, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,
[0060] The second processor is used to execute the steps of any one of the above-mentioned STA side methods when running the computer program.
[0061] The embodiment of the present application further provides a relay node, comprising: a third processor and a third memory for storing a computer program that can be run on the processor,
[0062] The third processor is used to execute the steps of any one of the above-mentioned methods on the relay node side when running the computer program.
[0063] An embodiment of the present application also provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any of the above-mentioned methods on the AP side are implemented, or the steps of any of the above-mentioned methods on the STA side are implemented, or the steps of any of the above-mentioned methods on the relay node side are implemented.
[0064] The key generation method, apparatus, related equipment and storage medium provided in the embodiments of the present application, when the AP fails to successfully generate a physical layer key between the AP and the STA, the AP selects a relay node that satisfies a first condition for the STA, wherein the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; obtains a first key from the relay node, wherein the first key is the physical layer key between the relay node and the STA; and determines a second key using the first key and a first identifier of the STA, wherein the second key is used for secure communication between the AP and the STA. According to the solution provided by the embodiment of the present application, when the physical layer key between the AP and the STA is not successfully generated, the AP selects a relay node that has successfully generated the physical layer key between the AP and the STA for the STA, and the relay node acts as the agent of the AP to negotiate the physical layer key with the STA. The AP then uses the physical layer key between the relay node and the STA (i.e., the first key) and the identifier of the STA (i.e., the first identifier) to generate a symmetric key between the AP and the STA (i.e., the second key) for secure communication between the AP and the STA. Since the relay node has successfully generated the physical layer key between the AP and the AP, the relay node can be regarded as a controllable and trusted third-party relay agent extended from the AP for the AP. In this way, the WiFi relay technology, i.e., the relay agent capability of the WiFi communication system, can be used to enable the AP to generate the physical layer key between the AP and the STA in a timely manner through a controllable and trusted third-party relay agent (i.e., the relay node that meets the first condition) when the physical layer key between the AP and the STA is not successfully generated using the PKG technology, thereby effectively ensuring the communication security between the AP and the STA. BRIEF DESCRIPTION OF THE DRAWINGS
[0065] Figure 1 A schematic diagram of the main steps of wireless channel key negotiation in the related art;
[0066] Figure 2 A schematic diagram of the steps of generating a physical layer key using PKG technology in the related art;
[0067] Figure 3 It is a schematic diagram of the WiFi relay technology architecture in the related technology;
[0068] Figure 4 A schematic diagram of a key generation method according to an embodiment of the present application;
[0069] Figure 5 A schematic diagram of another key generation method according to an embodiment of the present application;
[0070] Figure 6 This is a flow chart of the third key generation method according to an embodiment of the present application;
[0071] Figure 7 This is a schematic diagram of the controllable relay agent solution principle for this application example;
[0072] Figure 8 This is a logic diagram of the business processing of the controllable relay agent solution for this application example;
[0073] Fig. 9 This is a schematic diagram of the core business process of the controllable relay agent solution for this application example;
[0074] Fig.10 This is a schematic diagram of the structure of a key generation device according to an embodiment of the present application;
[0075] Fig.11 This is a schematic diagram of the structure of another key generation device according to an embodiment of the present application;
[0076] Fig.12 This is a schematic diagram of the structure of the third key generation device in the embodiment of the present application;
[0077] Fig.13 This is a schematic diagram of the AP structure of an embodiment of the present application;
[0078] Fig.14 This is a schematic diagram of the STA structure of an embodiment of the present application;
[0079] Fig.15 This is a schematic diagram of the structure of a relay node in an embodiment of the present application;
[0080] Fig.16 This is a schematic diagram of the key generation system structure of an embodiment of the present application. DETAILED DESCRIPTION
[0081] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
[0082] like Figure 1 As shown in Figure 1, wireless channel feature technology mainly negotiates keys through steps such as channel measurement, channel estimation, quantization coding, and information coordination (i.e., reconciliation). In the research on physical layer security of wireless communications, the communicating parties (e.g. Figure 1The channels of Alice and Bob shown in the figure have good short-term reciprocity, and similar channel features can be extracted from the wireless channel to generate a unique identifier; this technology can use the natural randomness of the wireless channel to generate a symmetric key for the wireless communication system in real time to achieve unique identification between the two communicating users. Among them, the wireless channel key technology is different from the traditional key generation method that relies on complex mathematical algorithms. This technology extracts the unique channel feature information of the two communicating parties as the data source of the key, and at the same time uses the volatile characteristics of the wireless channel features to replace the key in a short time, and even realizes the "one-time one-key" function; in other words, compared with the traditional key generation method, the wireless channel key technology has higher security, which increases the difficulty of cracking the key. In addition, in the communication system, since the wireless channel within the coherence time has short-term reciprocity, the wireless signals sent by the two communicating parties experience the same channel fading, so the measured channel features are extremely similar, and it is highly feasible to extract channel state information from the channel features and then generate a symmetric key; the wireless signal monitored by the third-party eavesdropper experiences a different channel attenuation from when the symmetric key is generated, so it is impossible to extract the same channel features as the legitimate receiver, which further increases the difficulty of cracking the key.
[0083] like Figure 2 As shown in Figure 1, the process of generating physical layer keys using PKG technology includes the following four stages: channel detection, quantization, information coordination, and privacy amplification. Figure 2 Alice and Bob first need to perform a two-way channel detection process and obtain measurement results X A and X B ; Afterwards, the two communicating parties will respectively send the measurement results X A and X B Converting to binary, we get and because and There may be mismatched bits between them, so the communicating parties need to use information coordination to adjust the mismatched bits to obtain a consistent match. and Finally, in order to prevent attackers from using the information exchanged by the two communicating parties through the public channel in the information coordination step to deduce the key, the two communicating parties need to use privacy amplification technology to match the same and Processing to obtain the almost completely confidential symmetric key K A and K B .
[0084] From the above description, it can be seen that the PKG method in the related art is heavily dependent on the change of the wireless channel. Therefore, in an environment where the wireless channel changes slowly, there may be problems such as low key generation rate and low key randomness; for example, in the case of low user mobility, the Doppler frequency is low, and it may take a long time to establish a sufficiently long key. In addition, the user's mobility and the dynamic changes of surrounding objects, as well as the maximum Doppler frequency are usually unknown. Therefore, there is always an inevitable and unknown time correlation between adjacent channel samples, resulting in a large proportion of repeated bit segments in the quantized bit sequence. Although these bit segments can be permuted by some permutation or interleaving techniques, since the permutation information is public, the security of the final generated key is still threatened.
[0085] For the above-mentioned problems that may exist in generating physical layer keys in an environment where the wireless channel changes slowly, the relevant technology proposes the following three solutions:
[0086] Solution 1: Increase the richness of channel sampling features by increasing the variability of channel features between communicating parties; for example, channel responses from multiple orthogonal frequency division multiplexing (OFDM) subcarriers can be used to provide fine-grained channel information; for another example, multi-antenna diversity can be used to increase the key generation rate to several times that of a single-antenna system;
[0087] Solution 2: Use mobile relay devices to increase channel state characteristics. In other words, by moving the relay devices, the relay devices can provide more diverse channel characteristics to both parties. That is, the relay devices can assist both parties in generating physical layer keys to increase the key generation rate.
[0088] Solution 3 solves the problem of unclear channel changes by adding integrated passive reconfigurable smart surface (also known as smart metasurface or smart reflective surface, etc., which can be expressed in English as Reconfigurable Intelligent Surface, abbreviated as RIS) devices (which can also be understood as RIS devices for lattice control), thereby achieving a higher key generation rate in a static environment.
[0089] However, in practical applications, the above three solutions may not be able to effectively improve the key generation rate and may also introduce some additional problems.
[0090] Among them, for the above-mentioned scheme 1, when the spatial environment of the communicating parties is relatively fixed, the status of various subcarriers or multi-antenna channels may not change significantly (which can also be understood as the difference is not obvious); in other words, this scheme still requires a dynamic environment to provide channel state information for continuously generating physical layer keys.
[0091] For the above-mentioned solution 2, the key generation rate depends on the movement of the relay device, and it is impractical to control the relay device to maintain a state of continuous movement; in addition, the controllability of the relay device needs to be solved, and making the relay device always available, controllable and trustworthy is also relatively complex to implement.
[0092] For the above solution 3, although there is no problem of availability, controllability and trustworthiness of RIS devices, deploying RIS devices in the key generation system will increase the complexity of hardware deployment and increase additional hardware overhead (ie, the overhead of RIS devices).
[0093] In summary, in the related art, for a slowly changing channel environment, that is, when the wireless channel changes slowly, since the change in the wireless channel state is not obvious, the communicating parties (such as AP and STA) cannot collect sufficient channel state information, which may cause problems such as the inability to generate physical layer keys, or the low rate of generating physical layer keys and the inability to use physical layer keys in time. In other words, in some specific cases (such as when the wireless channel changes slowly, etc.), when the AP and the STA need to communicate using physical layer keys, such as when the STA requests physical layer encrypted communication with the AP, the wireless channel state between the AP and the STA may not support the generation of physical layer keys or the rate of generating physical layer keys is low, that is, the physical layer keys between the AP and the STA may not be generated in time using the PKG technology.
[0094] For the above scenario, in order to generate the physical layer key between AP and STA in a fast and secure manner, the embodiment of the present application generates the physical layer key between AP and STA based on the existing WiFi relay technology (S1G Relay in English). Figure 3As shown, this technology is a mechanism for extending the coverage area of AP in WiFi technology. In this architecture, AP is called root AP, and relay nodes (also called S1G relays) include relay APs (S1G relay APs in English) and relay STAs (S1G relay STAs in English). Relay nodes forward data frames transmitted between STAs associated with the relay AP included in the relay node and APs associated with the relay STA included in the relay node. When AP and STA need to communicate using physical layer keys, such as when STA requests physical layer encrypted communication with AP, the use of WiFi relay technology can ensure that AP can select a relay node that is around the STA and has established a connection with AP (it can also be understood as a relay node that has successfully generated a physical layer key with AP), that is, it can ensure that AP can select a controllable and trustworthy relay node.
[0095] In addition, in order to further improve the security of the physical layer key between the AP and the STA and avoid the risk of information leakage that may be caused by directly applying the physical layer key between the relay node and the STA to the communication between the STA and the AP, such as "the relay node steals the communication information between the STA and the AP based on the physical layer key generated by itself through the physical layer key", in the embodiment of the present application, the AP uses the physical layer key between the relay node and the STA and the identifier of the STA to generate the physical layer key between the AP and the STA.
[0096] Among them, the identification of the STA may include the RF fingerprint of the STA (which can be expressed as Radio Frequency Fingerprinting in English). RF fingerprint recognition technology refers to extracting the RF fingerprint of the device by analyzing the communication signal of the wireless device and using the RF fingerprint to identify different wireless devices. It is a physical layer method to protect the security of the communication system. RF fingerprint is the essential feature of the physical layer of wireless communication devices and is difficult to tamper with. Just like different people have different fingerprints, different wireless devices also have different RF fingerprints, which can be used for identity recognition and access authentication of wireless devices.
[0097] Specifically, in the past decade or so, the RF fingerprint extraction and identification method of wireless communication devices has received widespread attention at home and abroad. This method extracts the RF fingerprint of the device by analyzing the communication signal of the wireless device. Just as each person has a different fingerprint, each wireless device also has a different RF fingerprint - that is, the difference in hardware. This hardware difference will be reflected in the communication signal. By analyzing the received RF signal, the feature can be extracted. This method of extracting the hardware features of the device based on the communication signal is called RF fingerprint extraction, and the method of using RF fingerprints to identify different wireless devices is called RF fingerprint identification. The RF fingerprint extraction and identification method of wireless communication devices works at the physical layer, so this method can operate alone or assist and enhance the traditional wireless network identification mechanism, thereby providing higher security performance for the wireless network.
[0098] The mechanism of RF fingerprint generation is: the baseband signal enters the analog circuit part after digital signal processing. The tolerance of this part of analog devices is the main source of the transmitter's RF fingerprint. Whether it is an integrated circuit or a non-integrated circuit, it is essentially composed of electronic components. The tolerance of electronic components leads to tolerance effects in the final device. The tolerance of electronic components can be divided into two parts: manufacturing tolerance and drift tolerance. Among them, manufacturing tolerance refers to the fact that during the production of components, due to the material and processing errors of the equipment, the electrical parameters of the electronic components have a certain tolerance with the nominal value. The commonly used tolerances are ±1%, ±5%, ±10%, etc. The smaller the tolerance value, the higher the production cost. The drift tolerance mainly refers to the degradation and aging effect of device parameters caused by time accumulation; in addition, it also includes changes in the working environment of the equipment, such as changes in temperature, humidity and other factors, which lead to changes in component parameter values during the operation of the equipment. In addition to the tolerance of components inside integrated circuits and non-integrated circuits, the tolerance factors that cause RF fingerprints also include the material and routing of printed circuit boards, which are collectively referred to as the tolerance effect of circuits. The tolerance effect causes differences in the actual hardware parameters of wireless communication devices even if they are from the same manufacturer, the same model, the same series, or even the same batch. These include the frequency deviation and phase noise of the oscillator, the modulation error of the modulator, the nonlinear distortion of the power amplifier, the distortion of the power ramp-up, and the distortion of filters such as the intermediate frequency and RF filters. These hardware tolerances are the material basis for generating RF fingerprints.
[0099] As for the identifiable features of RF fingerprint, since RF fingerprint identification is to extract RF fingerprints by analyzing the communication signals of wireless communication devices to identify devices, in theory, all wireless communication devices can be identified by extracting RF fingerprints. In addition, since the RF fingerprints of wireless communication devices that comply with different standards mainly come from the tolerance of the analog circuit part, and relatively complex wireless communication devices such as long-term evolution (LTE) devices are difficult to extract specific device tolerances, the overall circuit tolerance is usually used as the RF fingerprint. Since the communication signals of wireless communication devices comply with various standards, the RF fingerprint can be extracted by intercepting a section of the signal, and this intercepted signal is defined as an identifiable signal. Generally, the identifiable signal can include transient signals (such as duration, fractal dimension, spectral characteristics, time domain envelope, wavelet coefficients, etc.) or steady-state signals (such as frequency offset, modulation domain characteristics, spectral characteristics, time domain envelope, wavelet coefficients, etc.); in other words, the RF fingerprint of a wireless communication device is a collection of one or more features extracted from the identifiable signal to identify the emission source.
[0100] In actual application, RF fingerprint has the following characteristics:
[0101] Feature 1: Universality. Specifically, universality includes two aspects. On the one hand, it refers to the universality of RF fingerprints for transmitters, that is, the same type of devices can use this method to extract RF fingerprints that meet the requirements; on the other hand, it refers to the universality of receivers, that is, the RF fingerprint does not change with the change of the receiver in the RF fingerprint system, and the RF fingerprint only contains the features related to the wireless transmitter to be identified to the maximum extent;
[0102] Feature 2: Uniqueness, that is, the RF signals sent by different wireless devices are also different; although the sampling and quantization in the digital reception process blur the differences between the received signals to a certain extent, the RF fingerprint extracted from the identifiable signal is still unique, so that the devices can be accurately distinguished;
[0103] Feature 3: Short-term invariance. Due to the aging of devices, long-term accumulation will cause the degradation / aging effect of device parameters, resulting in differences between the RF fingerprint extracted in real time and the RF fingerprint initially registered. However, the short-term invariance of RF fingerprints can ensure that the RF fingerprints remain consistent within a specific time range, so that the classification and recognition performance of the device remains stable.
[0104] Feature 4: Independence. Independence means that the RF fingerprint extracted from the signal segment carrying data should be independent of the digital information carried and only related to the hardware characteristics of the device. In other words, the device fingerprint extracted from the signal of the same device sending different data is the same.
[0105] Feature 5, robustness. Robustness refers to the consistency of the RF fingerprint in combating time-varying wireless multipath channels, changes in transceiver distance, changes in antenna polarization direction, voltage changes, temperature changes, power changes, noise and interference. In other words, the extracted RF fingerprint is independent of changes in the communication environment of the device and changes in the device's working environment.
[0106] Based on this, in various embodiments of the present application, when the physical layer key between the AP and the STA is not successfully generated, the AP selects a relay node that has successfully generated a physical layer key between the AP and the STA for the STA, and the relay node acts as the AP's agent to negotiate the physical layer key with the STA. The AP then uses the physical layer key between the relay node and the STA and the STA's identifier to generate a symmetric key between the AP and the STA for secure communication between the AP and the STA; wherein, since the above-mentioned relay node has successfully generated the physical layer key between the AP and the AP, the relay node can be regarded as a controllable and trusted third-party relay agent extended from the AP for the AP. In this way, the WiFi relay technology, that is, the relay agent capability of the WiFi communication system, can be utilized to enable the AP to generate the physical layer key between the AP and the STA in a timely manner through a controllable and trusted third-party relay agent when the physical layer key between the AP and the STA is not successfully generated using the PKG technology, thereby effectively ensuring the communication security between the AP and the STA.
[0107] In addition, in various embodiments of the present application, the identification of the STA may include the radio frequency fingerprint of the STA. Since the radio frequency fingerprint is difficult to be tampered with, the security of the physical layer key generated using the identification of the STA can be further improved, and the physical layer key between the relay node and the STA can be directly applied to the communication between the STA and the AP, which may cause "the relay node steals the communication information between the STA and the AP generated based on the physical layer key through the physical layer key generated by itself", thereby further ensuring the communication security between the AP and the STA.
[0108] The present application embodiment provides a key generation method, which is applied to an AP, such as Figure 4 As shown, the method includes:
[0109] Step 401: In a case where a physical layer key between the AP and the station STA is not successfully generated, selecting a relay node that meets a first condition for the STA, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0110] Step 402: Acquire a first key from the relay node, where the first key is a physical layer key between the relay node and the STA;
[0111] Step 403: Determine a second key using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0112] Here, it can be understood that the second key is a physical layer key between the AP and the STA.
[0113] In actual application, the failure to successfully generate the physical layer key between the AP and the STA means that in some specific circumstances (such as when the wireless channel changes slowly, etc.), when the AP and the STA need to use the physical layer key to communicate, such as when the STA requests physical layer encrypted communication with the AP, the wireless channel state between the AP and the STA does not support the generation of the physical layer key or the rate of generating the physical layer key is low (such as lower than a preset threshold), that is, the AP cannot generate the physical layer key between the AP and the STA in time using the PKG technology.
[0114] In actual application, the AP may also be called a root AP, the STA may also be called a terminal or a STA terminal, and the relay node may also be called an S1G relay, a relay device, etc. The names of the AP, STA, and relay node are not limited in the embodiment of the present application, as long as their functions are realized. In addition, the relay node may include a relay AP and a relay STA, and the relay node may forward data frames transmitted between the STA associated with the relay AP and the AP associated with the relay STA.
[0115] In actual application, the specific manifestation of the first condition and the specific manner in which the AP selects the relay node that satisfies the first condition for the STA can be combined with Figure 3 The architecture and system deployment requirements shown in the figure are set, and the embodiments of the present application do not limit this. It can be understood that the use of WiFi relay technology can ensure that the AP can select a relay node that is around the STA and has established a connection with the AP (it can also be understood as a relay node that has successfully generated a physical layer key between the AP); in other words, it can ensure that the AP can select a relay node that meets the first condition and is available, controllable and trustworthy.
[0116] In actual application, for example, the specific implementation of step 401 may include: the STA requests to perform physical layer encrypted communication with the AP, and performs the core steps of the PKG technology (i.e., Figure 2After the channel detection, quantization, information coordination and privacy amplification shown in the figure, it is determined whether the physical layer key between the STA and the AP is successfully generated; if the physical layer key between the STA and the AP is successfully generated, the STA and the AP can use the generated physical layer key to communicate securely; if the physical layer key between the STA and the AP is not successfully generated, the STA can wait for further instructions from the AP. Correspondingly, while the STA determines whether the physical layer key between the STA and the AP is successfully generated, the AP also determines whether the physical layer key between the AP and the STA is successfully generated after receiving the request for physical layer encrypted communication sent by the STA and executing the core steps of the PKG technology according to the wireless channel state information between the AP and the STA; if the physical layer key between the AP and the STA is successfully generated, the AP and the STA can use the generated physical layer key to communicate securely; if the physical layer key between the AP and the STA is not successfully generated, the AP can select a relay node around the STA that has generated a physical layer key with the AP according to the location information of the STA, that is, the AP can select a relay node that meets the first condition for the STA according to the location information of the STA; when there are multiple relay nodes around the STA that meet the first condition, the AP can use a preset specific algorithm and / or specific strategy to select a relay node that meets the first condition, such as selecting a relay node with the best signal quality that meets the first condition.
[0117] In actual application, in order to obtain the first key from the relay node, the AP needs to instruct the relay node to negotiate a physical layer key with the STA, and instruct the STA to negotiate a physical layer key with the relay node.
[0118] Based on this, in one embodiment, obtaining the first key from the relay node may include:
[0119] Sending first information to the relay node, and sending second information to the STA, wherein the first information indicates that the relay node negotiates a physical layer key with the STA, and the second information indicates that the STA negotiates a physical layer key with the relay node;
[0120] Receive third information sent by the relay node, where the third information at least includes the first key.
[0121] After receiving the first information sent by the AP, the relay node may negotiate with the STA to generate a physical layer key between the STA, that is, determine the first key, and may send the third information to the AP. After receiving the second information, the STA may negotiate with the relay node to generate a physical layer key between the relay node, that is, determine the first key, and may determine the second key using the first key and the first identifier of the STA.
[0122] In actual application, the specific content, expression form and transmission method of the first information and the second information can be set according to the requirements, and the embodiments of the present application are not limited to this, as long as the functions are realized. In addition, the order in which the AP sends the first information and the second information can also be set according to the requirements, that is, the AP can first send the first information to the relay node, and then send the second information to the STA; or, the AP can first send the second information to the STA, and then send the first information to the relay node; or, the AP can send the second information to the STA at the same time as sending the first information to the relay node.
[0123] In actual application, exemplarily, the specific implementation of step 402 may include: after selecting a relay node that meets the first condition for the STA, the AP sends an indication (i.e., the first information) to the relay node to negotiate a physical layer key with the STA, and sends an indication (i.e., the second information) to the STA to negotiate a physical layer key with the relay node; the relay node receives the indication and performs the core steps of the PKG technology (i.e., the wireless channel state information between the relay node and the STA) according to the wireless channel state information between the relay node and the STA. Figure 2After the channel detection, quantization, information coordination and privacy amplification shown in the figure, it is determined whether the physical layer key (i.e., the first key) between the relay node and the STA is successfully generated; if the physical layer key between the relay node and the STA is not successfully generated, the relay node can return sixth information to the AP, and the sixth information indicates that the relay node and the STA have failed to generate the physical layer key. The specific content, expression form and transmission method of the sixth information can be set according to requirements. The embodiments of the present application are not limited to this, as long as its function is realized; if the physical layer key between the relay node and the STA is successfully generated, the relay node can return the generated physical layer key to the AP, that is, return the third information containing at least the first key to the AP. Correspondingly, after receiving the instruction and executing the core steps of the PKG technology according to the wireless channel status information between the STA and the relay node, the STA determines whether the physical layer key (i.e., the first key) between the STA and the relay node is successfully generated; if the physical layer key between the STA and the relay node is not successfully generated, the STA can return the seventh information to the AP, and the seventh information indicates that the STA and the relay node have failed to generate the physical layer key. The specific content, expression form and transmission method of the seventh information can be set according to the needs. The embodiments of the present application are not limited to this, as long as its function is realized; if the STA is successfully generated The STA may return the generated physical layer key to the STA, that is, a logic module of the STA (the module may be used to execute the core steps of the PKG technology according to the wireless channel status information between the STA and the relay node, and determine whether the physical layer key between the STA and the relay node is successfully generated) may return the physical layer key between the STA and the relay node to another logic module of the STA (the module may be used to generate the physical layer key between the STA and the AP), or it may be understood that the STA may cache the physical layer key between the STA and the relay node. Accordingly, after receiving the sixth information and / or the seventh information, the AP may re-execute the core steps of the PKG technology according to the wireless channel status information between the AP and the STA; after the STA returns the seventh information to the AP, it may re-execute the core steps of the PKG technology according to the wireless channel status information between the STA and the AP.
[0124] In actual application, the specific form of the first identifier can be set according to the needs; illustratively, the first identifier can include relevant information of the STA, such as the radio frequency fingerprint of the STA. The first identifier can be associated with the MAC address of the STA, and the association relationship can be stored on the first device; when the relay node returns the first key to the AP, it can also return the MAC address of the STA to the AP, and the AP can query the first identifier of the STA from the first device according to the MAC address of the STA.
[0125] Based on this, in one embodiment, the first identifier may include a radio frequency fingerprint of the STA; the third information may also include a second identifier of the STA, and the second identifier includes a MAC address of the STA; the method may also include:
[0126] Sending fourth information to the first device, where the fourth information is used to query the first identifier of the STA, and the fourth information at least includes the second identifier of the STA;
[0127] Receive fifth information sent by the first device, where the fifth information at least includes the first identifier of the STA.
[0128] Among them, the first device can be understood as a third-party device used to store the association relationship between the first identifier and the second identifier of the STA, such as a server; after the first device receives the fourth information, it can query the first identifier of the STA from the association relationship data between the first identifier and the second identifier of the STA stored in itself according to the second identifier of the STA, and send the fifth information to the AP.
[0129] In actual application, the fourth information and the fifth information may also include other information, such as other relevant information of the STA in addition to the first identifier and the second identifier. The specific form of expression, transmission mode and specific content of other information that may be included in the fourth information and the fifth information may be set according to requirements, and the embodiments of the present application are not limited to this, as long as their functions are realized.
[0130] In actual application, in step 403, the specific method in which the AP determines the second key using the first key and the first identifier can be set according to requirements; illustratively, the AP can obtain the second key by performing an XOR operation on the first key and the first identifier. In addition, it can be understood that the STA needs to use the same method as the AP to determine the second key using the first key and the first identifier, so that the STA and the AP can communicate using the second key.
[0131] Based on this, in one embodiment, the method may further include:
[0132] Communicate with the STA using the second key.
[0133] Accordingly, the embodiment of the present application also provides a key generation method, which is applied to STA, such as Figure 5 As shown, the method includes:
[0134] Step 501: In a case where a physical layer key between the STA and the AP is not successfully generated, receiving second information sent by the AP, wherein the second information indicates that the STA negotiates a physical layer key with a relay node, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, wherein the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0135] Step 502: Determine a first key through negotiation with the relay node, where the first key is a physical layer key between the relay node and the STA;
[0136] Step 503: Determine a second key using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0137] In one embodiment, the method may further include:
[0138] Communicate with the AP using the second key.
[0139] Accordingly, the embodiment of the present application also provides a key generation method, which is applied to a relay node, such as Figure 6 As shown, the method includes:
[0140] Step 601: receiving first information sent by an AP, where the first information indicates that the relay node negotiates a physical layer key with a STA, the AP fails to successfully generate a physical layer key between the AP and the STA, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0141] Step 602: Determine a first key through negotiation with the STA, where the first key is a physical layer key between the relay node and the STA;
[0142] Step 603: Send third information to the AP, where the third information at least includes the first key, so that the AP can use the first key and the first identifier of the STA to determine a second key, where the second key is used for secure communication between the AP and the STA.
[0143] The key generation method provided in the embodiment of the present application is that, when the AP fails to successfully generate a physical layer key between the AP and the STA, the AP selects a relay node that meets a first condition for the STA, wherein the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; obtains a first key from the relay node, wherein the first key is the physical layer key between the relay node and the STA; and determines a second key using the first key and a first identifier of the STA, wherein the second key is used for secure communication between the AP and the STA. According to the solution provided by the embodiment of the present application, when the physical layer key between the AP and the STA is not successfully generated, the AP selects a relay node that has successfully generated the physical layer key between the AP and the STA for the STA, and the relay node acts as the agent of the AP to negotiate the physical layer key with the STA. The AP then uses the physical layer key between the relay node and the STA (i.e., the first key) and the identifier of the STA (i.e., the first identifier) to generate a symmetric key between the AP and the STA (i.e., the second key) for secure communication between the AP and the STA. Since the relay node has successfully generated the physical layer key between the AP and the AP, the relay node can be regarded as a controllable and trusted third-party relay agent extended from the AP for the AP. In this way, the WiFi relay technology, i.e., the relay agent capability of the WiFi communication system, can be used to enable the AP to generate the physical layer key between the AP and the STA in a timely manner through a controllable and trusted third-party relay agent (i.e., the relay node that meets the first condition) when the physical layer key between the AP and the STA is not successfully generated using the PKG technology, thereby effectively ensuring the communication security between the AP and the STA.
[0144] In addition, in the solution provided in the embodiment of the present application, the first identifier may include the radio frequency fingerprint of the STA. Since the radio frequency fingerprint is difficult to tamper with, the security of the second key can be further improved, avoiding the risk of information leakage that may be caused by directly applying the first key between the relay node and the STA to the communication between the STA and the AP, such as "the relay node steals the communication information between the STA and the AP generated based on the physical layer key through the physical layer key generated by itself", thereby further ensuring the communication security between the AP and the STA.
[0145] The present application is described in further detail below in conjunction with application examples.
[0146] In this application example, the relay node is referred to as a relay device. Figure 7 As shown, by utilizing the relay agent capability of the WiFi communication system, an AP and a relay device having the channel state information required to generate a physical layer key (i.e., the relay node satisfying the first condition) are used as a controllable intermediate agent, and the controllable relay device is used with a STA that currently does not have the channel state information required to generate a physical layer key with the AP, and in combination with the relay channel state information between the STA and the relay device, a physical layer key PKsr (i.e., the first key generated by the STA) is generated between the STA and the relay device on the STA side based on the PKG technology, and a physical layer key PKrs (i.e., the first key generated by the relay node) is generated between the relay device and the STA on the relay device side; and the generated physical layer key PKrs between the relay device and the STA is transmitted back to the AP through the controllable relay device, and the AP and the STA respectively use PKrs, PKsr and the user identification information of the STA device itself (e.g., the radio frequency fingerprint information of the STA, i.e., the first identification) to calculate (e.g., XOR calculation method, etc.) as the physical layer key between the STA and the AP for secure communication.
[0147] The scheme of generating physical layer keys through a controllable relay agent proposed in this application example is significantly different from the above scheme 2. Specifically, in the above scheme 2, the relay device is a third-party device that is uncontrollable, untrustworthy, and not necessarily available. The relay device needs to be kept in a state of continuous movement in order to provide continuous channel state information that is different from both the STA and the AP. However, it is impractical to persuade (also understood as controlling) the uncontrollable third-party device to keep moving to maintain a high degree of different channel state information from both sides. This application example is based on the existing relay agent capability of the WiFi communication system, and utilizes a relay device that has the channel state information required to generate a physical layer key with the AP as a third party. The controllable relay device has generated a physical layer key with the AP based on the PKG technology, that is, the communication between the controllable relay device and the AP can be protected based on the physical layer key; at the same time, since the controllable relay device has been connected to the AP, it can be considered as a controllable, trusted and available relay agent extended from the AP. The channel state between the controllable relay device and the AP can provide sufficient information to generate a physical layer key. Then, relative to a STA that cannot provide sufficient channel state information to generate a physical layer key, the channel state between the controllable relay device and the STA can usually also provide sufficient channel state information to generate a physical layer key.
[0148] In addition, in order to prevent the controllable relay device from stealing the communication information between the STA and the AP generated based on the physical layer key through the generated physical layer key, in this application example, the physical layer key (i.e., the above-mentioned first key) generated by the controllable relay device and the STA is not directly applied between the STA and the AP. Instead, after the physical layer key is returned to the AP, it is calculated (such as XOR, etc.) on the STA and the AP based on the user identification information of the access STA itself (such as the STA radio frequency fingerprint information) before communication protection is performed, thereby avoiding the risk of information leakage when the AP and the STA directly use the physical layer key generated between the STA and the relay device.
[0149] From the above description, it can be seen that the service processing logic and process of the controllable relay agent solution proposed in this application example mainly involve three parties: AP, STA that has pre-generated physical layer keys with AP, and relay device that has generated physical layer keys with AP. Figure 8 As shown, the core business process of the controllable relay agent solution is as follows Fig. 9 As shown below. Figure 8 and Fig. 9 The process of generating physical layer keys through a controllable relay agent is described in detail.
[0150] like Figure 8 and Fig. 9 As shown, the STA that pre-generates the physical layer key with the AP (i.e., the STA that requests physical layer encrypted communication with the AP) executes the core steps of the PKG technology (i.e., Figure 2 After the channel detection, quantization, information coordination and privacy amplification shown in the figure), the STA determines whether a physical layer key is generated between the STA and the AP; if the physical layer key is successfully generated, the STA and the AP use the generated physical layer encryption key PK for secure communication; if the physical layer key generation fails, the STA waits for further instructions from the AP side. While the STA determines whether a physical layer key is generated between the STA and the AP, the AP side also determines whether a physical layer key is generated between the AP and the STA; if the physical layer key is successfully generated, the AP and the STA use the generated physical layer encryption key PK for secure communication; if the physical layer key generation fails, the AP selects a relay device (i.e., the relay node that meets the first condition) around the STA that has generated a physical layer key with the AP according to the location information of the STA, and sends an instruction to negotiate the physical layer key with the relay device (i.e., the second information) to the STA and an instruction to negotiate the physical layer key with the STA to the relay device (i.e., the first information) respectively.
[0151] After receiving the instruction from AP to negotiate the physical layer key with the relay device, STA performs the core steps of PKG technology (i.e. Figure 2 After performing the channel detection, quantization, information coordination and privacy amplification shown in the figure, it is determined whether a physical layer key is generated between the STA and the relay device; if the STA determines that a physical layer key is not generated between the STA and the relay device, it returns a message to the AP indicating that the physical layer key generation with the relay device has failed (i.e., the seventh message mentioned above), and at the same time, the core steps of the PKG technology are performed again with the AP based on the wireless channel status information (i.e., Figure 2 The AP receives the message returned by the STA that the physical layer key generation with the relay device has failed, and then re-executes the core steps of the PKG technology based on the wireless channel status information with the STA (i.e. Figure 2 Channel detection, quantization, information coordination and privacy amplification shown in the figure); if STA determines that the physical layer key is successfully generated between the STA and the relay device, the generated physical layer key PKsr (that is, the above-mentioned first key generated by the STA) is returned. The return here can be understood as a logical module of the STA returning PKsr to another logical module of the STA, or it can be understood as the STA caching PKsr.
[0152] The relay device receives the instruction sent by the AP to negotiate the physical layer key with the STA, and performs the core steps of the PKG technology (i.e. Figure 2 After performing the channel detection, quantization, information coordination and privacy amplification shown in the figure, it is determined whether a physical layer key is generated between the relay device and the STA; if the relay device determines that a physical layer key is not generated between the relay device and the STA, it returns a message of failure to generate a physical layer key with the STA (i.e., the sixth message mentioned above) to the AP; after receiving the message of failure to generate a physical layer key with the STA returned by the relay device, the AP side re-executes the core steps of the PKG technology based on the wireless channel status information with the STA (i.e., Figure 2 The relay device performs channel detection, quantization, information coordination and privacy amplification as shown); if the relay device determines that the physical layer key is successfully generated between the relay device and the STA, it returns the generated physical layer key PKrs (that is, the above-mentioned first key generated by the relay node) and the MAC address of the STA (that is, the above-mentioned second identifier) to the AP. In other words, the relay device sends a third message to the AP, and the third message includes the first key and the second identifier of the STA; the AP queries the device identification information of the STA (such as the STA radio frequency fingerprint information, that is, the above-mentioned first identifier) according to the MAC address of the STA returned by the relay device.
[0153] Finally, STA uses the physical layer key PKsr (i.e., the above-mentioned first key generated by STA) and the physical layer key PKrs (i.e., the above-mentioned first key generated by the relay node) returned by the relay device using AP, and the STA's own device identification information (i.e., the above-mentioned first identification) to calculate the encryption key PK between STA and AP (i.e., the above-mentioned second key). After calculating the symmetric key PK respectively, STA and AP use the encryption key PK for secure communication.
[0154] In this application example, the STA's device identification information (i.e., the first identification) is information known only to the STA and the AP, such as the RF fingerprint information of the STA device. In the WiFi scenario, the STA and the AP do not both store the STA's unique identification information (i.e., the device identification information). Therefore, Fig. 9 As shown, after the relay device generates the physical layer key PKrs with the STA (i.e., the first key generated by the relay node), it is also necessary to return the MAC information of the STA (i.e., the second identifier) to the AP side, and the AP sends the MAC information to the third-party device (i.e., the MAC information of the STA) that stores the device identification information unique to the STA itself. Fig. 9 The AAA Server shown in the figure, that is, the first device mentioned above) queries the device identification information of the STA, so that both the STA and the AP side have the device identification information of the STA; in other words, the AP needs to send a request message (that is, the fourth information) to query the device identification information of the STA to the AAA Server, and the request message carries the MAC address of the STA (that is, the second identification); after receiving the request message, the AAA Server needs to return a response message (that is, the fifth information) to the AP for querying the device identification information of the STA, and the response message carries the device identification information of the STA (that is, the first identification).
[0155] The solution provided by this application example makes full use of the existing relay agent capabilities of the WiFi communication system. When the channel state information between the STA and the AP is insufficient to generate the physical layer key in time, the relay device (i.e., the relay node that meets the first condition above) with the channel state information required to generate the physical layer key is detected, and the STA to be connected and the relay device measure the wireless channel state information. Based on the wireless channel state information between the STA and the relay device and the STA identity information (such as the STA's radio frequency fingerprint), it is further processed (such as XOR processing) and used as the physical layer key for accessing the STA and the AP. The solution provided by this application example has at least the following advantages:
[0156] 1) A usable physical layer key is still generated based on the channel state information between the two communicating ends, thereby solving the problem of complex calculation of the physical layer key generated by using multiple segments of channel state information in related technologies (such as the above-mentioned solution 1);
[0157] 2) Based on WiFi relay technology, that is, using the existing relay agent capabilities of the WiFi communication system, it can solve the controllability, credibility and availability issues of the relay device that needs to move continuously in related technologies (such as the above solution 2), so as to simply, quickly and securely generate the physical layer key between the AP and the STA; at the same time, it can solve the problem of additional overhead required for system deployment in related technologies (such as the above solution 3);
[0158] 3) It can solve the core problem of insufficient channel state information and inability to generate physical layer keys in a slow-changing environment (physical layer keys cannot be generated or the generation rate of physical layer keys is low) through a third-party relay agent that is more equipped with the channel state information required to generate physical layer keys;
[0159] 4) Since the encryption key PK between AP and STA (i.e., the above-mentioned second key) is calculated based on the physical layer key between the relay device and STA (i.e., the above-mentioned first key) and the device identification information of STA (i.e., the above-mentioned first identification) and then applied to the encrypted information transmission between STA and AP, it can prevent the physical layer key between STA and relay device from being directly applied to the relay device between STA and AP, causing the relay device to obtain the risk of leakage of confidential information between STA and AP.
[0160] In order to implement the method on the AP side of the embodiment of the present application, the embodiment of the present application also provides a key generation device, which is set on the AP, such as Fig.10 As shown, the device comprises:
[0161] A selecting unit 1001 is configured to select, for the STA, a relay node that satisfies a first condition when a physical layer key between the AP and the STA is not successfully generated, wherein the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0162] An acquiring unit 1002 is configured to acquire a first key from the relay node, where the first key is a physical layer key between the relay node and the STA;
[0163] The first generating unit 1003 is used to determine a second key by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0164] In one embodiment, the acquisition unit 1002 is specifically used to:
[0165] Sending first information to the relay node, and sending second information to the STA, wherein the first information indicates that the relay node negotiates a physical layer key with the STA, and the second information indicates that the STA negotiates a physical layer key with the relay node;
[0166] Receive third information sent by the relay node, where the third information at least includes the first key.
[0167] In one embodiment, the first identifier includes a radio frequency fingerprint of the STA; the third information further includes a second identifier of the STA, and the second identifier includes a MAC address of the STA; Fig.10 As shown, the device may also include:
[0168] The second sending unit 1004 is configured to send fourth information to the first device, where the fourth information is used to query the first identifier of the STA, and the fourth information at least includes the second identifier of the STA;
[0169] The third receiving unit 1005 is used to receive fifth information sent by the first device, where the fifth information at least includes the first identifier of the STA.
[0170] In one embodiment, if Fig.10 As shown, the device may further include a first communication unit 1006, configured to communicate with the STA using the second key.
[0171] In actual application, the selection unit 1001 and the first generation unit 1003 can be implemented by a processor in the key generation device; the second sending unit 1004 and the third receiving unit 1005 can be implemented by a communication interface in the key generation device; the acquisition unit 1002 and the first communication unit 1006 can be implemented by a processor in the key generation device combined with a communication interface.
[0172] In order to implement the method on the STA side of the embodiment of the present application, the embodiment of the present application also provides a key generation device, which is set on the STA, such as Fig.11 As shown, the device comprises:
[0173] The first receiving unit 1101 is configured to receive, when a physical layer key between the STA and the AP is not successfully generated, second information sent by the AP, where the second information indicates that the STA negotiates a physical layer key with a relay node, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0174] The second generating unit 1102 is configured to determine a first key through negotiation with the relay node, where the first key is a physical layer key between the relay node and the STA;
[0175] The third generating unit 1103 is used to determine a second key by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
[0176] In one embodiment, if Fig.11 As shown, the apparatus may further include a second communication unit 1104, configured to communicate with the AP using the second key.
[0177] In actual application, the first receiving unit 1101 can be implemented by a communication interface in the key generating device; the third generating unit 1103 can be implemented by a processor in the key generating device; the second generating unit 1102 and the second communication unit 1104 can be implemented by a processor in the key generating device combined with a communication interface.
[0178] In order to implement the method on the relay node side in the embodiment of the present application, the embodiment of the present application also provides a key generation device, which is set on the relay node, such as Fig.12 As shown, the device comprises:
[0179] The second receiving unit 1201 is configured to receive first information sent by an AP, where the first information indicates that a relay node negotiates a physical layer key with a STA, the AP fails to successfully generate a physical layer key between the AP and the STA, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0180] The fourth generating unit 1202 is configured to determine a first key through negotiation with the STA, where the first key is a physical layer key between the relay node and the STA;
[0181] The first sending unit 1203 is used to send third information to the AP, where the third information at least includes the first key, so that the AP uses the first key and the first identifier of the STA to determine a second key, and the second key is used for secure communication between the AP and the STA.
[0182] In actual application, the second receiving unit 1201 and the first sending unit 1203 can be implemented by a communication interface in the key generating device; the fourth generating unit 1202 can be implemented by a processor in the key generating device in combination with a communication interface.
[0183] It should be noted that: the key generation device provided in the above embodiment only uses the division of the above program modules as an example to illustrate when generating a key. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the key generation device provided in the above embodiment and the key generation method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
[0184] Based on the hardware implementation of the above program modules, and in order to implement the method of the AP side of the embodiment of the present application, the embodiment of the present application also provides an AP, such as Fig.13 As shown, the AP 1300 includes:
[0185] The first communication interface 1301 is capable of exchanging information with other electronic devices (such as at least one of the electronic devices such as the STA, the relay node, and the first device);
[0186] A first processor 1302 is connected to the first communication interface 1301 to implement information interaction with other electronic devices, and is used to execute the method provided by one or more technical solutions of the AP side when running a computer program;
[0187] A first memory 1303 , on which the computer program is stored.
[0188] Specifically, the first processor 1302 is configured to:
[0189] In a case where a physical layer key between the AP 1300 and the STA is not successfully generated, selecting a relay node that satisfies a first condition for the STA, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP 1300;
[0190] Acquire a first key from the relay node through the first communication interface 1301, where the first key is a physical layer key between the relay node and the STA;
[0191] A second key is determined using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP 1300 and the STA.
[0192] In one embodiment, the first processor 1302 is further configured to:
[0193] Sending first information to the relay node through the first communication interface 1301, and sending second information to the STA through the first communication interface 1301, wherein the first information indicates that the relay node negotiates a physical layer key with the STA, and the second information indicates that the STA negotiates a physical layer key with the relay node;
[0194] The third information sent by the relay node is received through the first communication interface 1301, where the third information at least includes the first key.
[0195] In one embodiment, the first identifier includes a radio frequency fingerprint of the STA; the third information further includes a second identifier of the STA, and the second identifier includes a MAC address of the STA; the first processor 1302 is further configured to:
[0196] Sending fourth information to the first device through the first communication interface 1301, where the fourth information is used to query the first identifier of the STA, and the fourth information at least includes the second identifier of the STA;
[0197] The fifth information sent by the first device is received through the first communication interface 1301, where the fifth information at least includes the first identifier of the STA.
[0198] In one embodiment, the first processor 1302 is further configured to communicate with the STA through the first communication interface 1301 using the second key.
[0199] It should be noted that the specific processing process of the first processor 1302 can be understood by referring to the above method, which will not be repeated here.
[0200] Of course, in actual application, the various components in AP 1300 are coupled together through bus system 1304. It is understood that bus system 1304 is used to realize the connection and communication between these components. Bus system 1304 includes not only a data bus, but also a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.13 Various buses are labeled as bus system 1304.
[0201] The first memory 1303 in the embodiment of the present application is used to store various types of data to support the operation of the AP 1300. Examples of such data include: any computer program used to operate on the AP 1300.
[0202] The method disclosed in the above embodiment of the present application can be applied to the first processor 1302, or implemented by the first processor 1302. The first processor 1302 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 1302. The above-mentioned first processor 1302 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 1302 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 1303, and the first processor 1302 reads the information in the first memory 1303 and completes the steps of the above method in combination with its hardware.
[0203] In an exemplary embodiment, AP 1300 may be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
[0204] Based on the hardware implementation of the above program modules, and in order to implement the method of the STA side of the embodiment of the present application, the embodiment of the present application also provides a STA, such as Fig.14 As shown, the STA 1400 includes:
[0205] The second communication interface 1401 is capable of exchanging information with other electronic devices (such as APs and / or relay nodes);
[0206] The second processor 1402 is connected to the second communication interface 1401 to implement information interaction with other electronic devices, and is used to execute the method provided by one or more technical solutions of the STA side when running the computer program;
[0207] A second memory 1403 , on which the computer program is stored.
[0208] Specifically, the second processor 1402 is configured to:
[0209] In a case where a physical layer key between the STA 1400 and the AP is not successfully generated, receiving second information sent by the AP through the second communication interface 1401, wherein the second information indicates that the STA 1400 negotiates a physical layer key with a relay node, the relay node is selected by the AP for the STA 1400, and the relay node satisfies a first condition, wherein the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP;
[0210] Determine a first key by negotiation with the relay node, where the first key is a physical layer key between the relay node and the STA 1400;
[0211] A second key is determined using the first key and the first identifier of the STA 1400 , where the second key is used for secure communication between the AP and the STA 1400 .
[0212] In one embodiment, the second processor 1402 is further configured to communicate with the AP through the second communication interface 1401 using the second key.
[0213] It should be noted that the specific processing process of the second processor 1402 can be understood by referring to the above method, which will not be repeated here.
[0214] Of course, in actual application, the various components in STA 1400 are coupled together through bus system 1404. It is understandable that bus system 1404 is used to realize the connection and communication between these components. In addition to the data bus, bus system 1404 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.14 Various buses are labeled as bus system 1404.
[0215] The second memory 1403 in the embodiment of the present application is used to store various types of data to support the operation of the STA 1400. Examples of such data include: any computer program used to operate on the STA 1400.
[0216] The method disclosed in the above embodiment of the present application can be applied to the second processor 1402, or implemented by the second processor 1402. The second processor 1402 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 1402. The above second processor 1402 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 1402 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 1403, and the second processor 1402 reads the information in the second memory 1403 and completes the steps of the above method in combination with its hardware.
[0217] In an exemplary embodiment, STA 1400 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
[0218] Based on the hardware implementation of the above program modules, and in order to implement the method on the relay node side of the embodiment of the present application, the embodiment of the present application also provides a relay node, such as Fig.15 As shown, the relay node 1500 includes:
[0219] The third communication interface 1501 is capable of exchanging information with other electronic devices (such as AP and / or STA);
[0220] A third processor 1502 is connected to the third communication interface 1501 to implement information interaction with other electronic devices, and is used to execute the method provided by one or more technical solutions of the relay node side when running a computer program;
[0221] A third memory 1503 , on which the computer program is stored.
[0222] Specifically, the third processor 1502 is configured to:
[0223] Receiving, through the third communication interface 1501, first information sent by the AP, where the first information indicates that the relay node 1500 negotiates a physical layer key with the STA, the AP fails to successfully generate a physical layer key between the AP and the STA, the relay node 1500 is selected by the AP for the STA, and the relay node 1500 satisfies a first condition, where the first condition indicates that the relay node 1500 has successfully generated a physical layer key between the relay node 1500 and the AP;
[0224] Determine a first key by negotiation with the STA, where the first key is a physical layer key between the relay node 1500 and the STA;
[0225] The third information is sent to the AP through the third communication interface 1501, and the third information at least includes the first key, so that the AP can use the first key and the first identifier of the STA to determine the second key, and the second key is used for secure communication between the AP and the STA.
[0226] It should be noted that the specific processing process of the third processor 1502 can be understood by referring to the above method, which will not be repeated here.
[0227] Of course, in actual application, the various components in the relay node 1500 are coupled together through the bus system 1504. It can be understood that the bus system 1504 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1504 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.15 Various buses are labeled as bus system 1504.
[0228] The third memory 1503 in the embodiment of the present application is used to store various types of data to support the operation of the relay node 1500. Examples of such data include: any computer program used to operate on the relay node 1500.
[0229] The method disclosed in the above embodiment of the present application can be applied to the third processor 1502, or implemented by the third processor 1502. The third processor 1502 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the third processor 1502. The above third processor 1502 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The third processor 1502 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the third memory 1503, and the third processor 1502 reads the information in the third memory 1503 and completes the steps of the above method in combination with its hardware.
[0230] In an exemplary embodiment, the relay node 1500 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
[0231] It can be understood that the memory (first memory 1303, second memory 1403, third memory 1503) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, 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), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache.By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.
[0232] In order to implement the method provided in the embodiment of the present application, the embodiment of the present application also provides a key generation system, such as Fig.16 As shown, the system includes: AP 1601, STA 1602 and relay node 1603.
[0233] Here, it should be noted that the specific processing procedures of the AP 1601, STA 1602 and relay node 1603 have been described in detail above and will not be repeated here.
[0234] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 1303 storing a computer program, and the computer program can be executed by the first processor 1302 of the AP 1300 to complete the steps of the AP side method described above. For another example, including a second memory 1403 storing a computer program, the computer program can be executed by the second processor 1402 of the STA 1400 to complete the steps of the STA side method described above. For another example, including a third memory 1503 storing a computer program, the computer program can be executed by the third processor 1502 of the relay node 1500 to complete the steps of the relay node side method described above. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.
[0235] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
[0236] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
[0237] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims
1. A key generation method, characterized in that: Applicable to access points AP, including: In a case where a physical layer key between the AP and the station STA is not successfully generated, selecting a relay node that satisfies a first condition for the STA, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; Acquire a first key from the relay node, where the first key is a physical layer key between the relay node and the STA; A second key is determined by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
2. The method according to claim 1, characterized in that The obtaining the first key from the relay node comprises: Sending first information to the relay node, and sending second information to the STA, wherein the first information indicates that the relay node negotiates a physical layer key with the STA, and the second information indicates that the STA negotiates a physical layer key with the relay node; Receive third information sent by the relay node, where the third information at least includes the first key.
3. The method according to claim 2, characterized in that The first identifier includes a radio frequency fingerprint of the STA; the third information further includes a second identifier of the STA, and the second identifier includes a media access control MAC address of the STA; the method further includes: Sending fourth information to the first device, where the fourth information is used to query the first identifier of the STA, and the fourth information at least includes the second identifier of the STA; Receive fifth information sent by the first device, where the fifth information at least includes the first identifier of the STA.
4. The method according to any one of claims 1 to 3, characterized in that: The method further comprises: Communicate with the STA using the second key.
5. A key generation method, characterized in that: Applicable to STA, including: In a case where a physical layer key between the STA and the AP is not successfully generated, receiving second information sent by the AP, where the second information indicates that the STA negotiates a physical layer key with a relay node, where the relay node is selected by the AP for the STA, and where the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; Determine a first key by negotiation with the relay node, where the first key is a physical layer key between the relay node and the STA; A second key is determined by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
6. The method according to claim 5, characterized in that The first identifier includes a radio frequency fingerprint of the STA.
7. The method according to claim 5 or 6, characterized in that: The method further comprises: Communicate with the AP using the second key.
8. A key generation method, characterized in that: Applicable to relay nodes, including: receiving first information sent by an AP, where the first information indicates that the relay node negotiates a physical layer key with the STA, the AP fails to successfully generate a physical layer key between the AP and the STA, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; Determine a first key by negotiation with the STA, where the first key is a physical layer key between the relay node and the STA; Sending third information to the AP, where the third information at least includes the first key, so that the AP uses the first key and the first identifier of the STA to determine a second key, where the second key is used for secure communication between the AP and the STA.
9. The method according to claim 8, characterized in that The first identifier includes the radio frequency fingerprint of the STA; the third information also includes the second identifier of the STA, and the second identifier includes the MAC address of the STA; the second identifier of the STA is used for the AP to query the first device for the first identifier of the STA.
10. A key generation device, characterized in that: include: A selection unit, configured to select, for the STA, a relay node that satisfies a first condition when a physical layer key between the AP and the STA is not successfully generated, wherein the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; an acquiring unit, configured to acquire a first key from the relay node, where the first key is a physical layer key between the relay node and the STA; The first generating unit is used to determine a second key by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
11. A key generation device, characterized in that: include: A first receiving unit, configured to receive, when a physical layer key between the STA and the AP is not successfully generated, second information sent by the AP, wherein the second information indicates that the STA negotiates a physical layer key with a relay node, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, wherein the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; A second generating unit, configured to determine a first key through negotiation with the relay node, where the first key is a physical layer key between the relay node and the STA; The third generating unit is used to determine a second key by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
12. A key generation device, characterized in that: include: A second receiving unit is configured to receive first information sent by an AP, where the first information indicates that a relay node negotiates a physical layer key with a STA, the AP fails to successfully generate a physical layer key between the AP and the STA, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; a fourth generating unit, configured to determine a first key through negotiation with the STA, where the first key is a physical layer key between the relay node and the STA; The first sending unit is used to send third information to the AP, where the third information at least includes the first key, so that the AP uses the first key and the first identifier of the STA to determine a second key, where the second key is used for secure communication between the AP and the STA.
13. An AP, characterized in that: include: a first communication interface and a first processor; wherein, The first processor is configured to: In a case where a physical layer key between the AP and the STA is not successfully generated, selecting a relay node that satisfies a first condition for the STA, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; Acquire a first key from the relay node through the first communication interface, where the first key is a physical layer key between the relay node and the STA; A second key is determined by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
14. A STA, characterized in that: include: A second communication interface and a second processor; wherein, The second processor is configured to: In a case where a physical layer key between the STA and the AP is not successfully generated, receiving, through the second communication interface, second information sent by the AP, where the second information indicates that the STA negotiates a physical layer key with a relay node, where the relay node is selected by the AP for the STA, and where the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; Determine a first key by negotiation with the relay node, where the first key is a physical layer key between the relay node and the STA; A second key is determined by using the first key and the first identifier of the STA, where the second key is used for secure communication between the AP and the STA.
15. A relay node, characterized in that: include: A third communication interface and a third processor; wherein, The third processor is configured to: receiving, through the third communication interface, first information sent by the AP, where the first information indicates that the relay node negotiates a physical layer key with the STA, the AP fails to successfully generate a physical layer key between the AP and the STA, the relay node is selected by the AP for the STA, and the relay node satisfies a first condition, where the first condition indicates that the relay node has successfully generated a physical layer key between the relay node and the AP; Determine a first key by negotiation with the STA, where the first key is a physical layer key between the relay node and the STA; The third information is sent to the AP through the third communication interface, and the third information at least includes the first key, so that the AP can use the first key and the first identifier of the STA to determine the second key, and the second key is used for secure communication between the AP and the STA.
16. An AP, characterized in that: include: a first processor and a first memory for storing a computer program executable on the processor, Wherein, when the first processor is used to run the computer program, the steps of the method described in any one of claims 1 to 4 are executed.
17. A STA, characterized in that: include: a second processor and a second memory for storing a computer program executable on the processor, Wherein, when the second processor is used to run the computer program, the steps of the method described in any one of claims 5 to 7 are executed.
18. A relay node, characterized in that: include: a third processor and a third memory for storing a computer program executable on the processor, Wherein, the third processor is used to execute the steps of the method described in claim 8 or 9 when running the computer program.
19. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, it implements the steps of the method described in any one of claims 1 to 4, or implements the steps of the method described in any one of claims 5 to 7, or implements the steps of the method described in claim 8 or 9.
