Communication method and communication device

CN121844534APending Publication Date: 2026-04-10HUAWEI TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-10-12
Publication Date
2026-04-10

AI Technical Summary

Technical Problem

The prior art has challenges in improving the reliability of wireless communication data encryption, especially in terms of security at the signal level and key sequence consistency.

Method used

By using statistical valuation technology, the first device estimates the channel state value measured by the second device, determines the key sequence, and improves the consistency rate of the key sequence determined by both parties in the communication.

Benefits of technology

It improves the reliability of data encryption, ensures the consistency of the key sequences of both parties in the communication, and thus enhances the security of wireless communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121844534A_ABST
    Figure CN121844534A_ABST
Patent Text Reader

Abstract

Provided are a communication method and a communication device, the method comprising: a first device determining a quantized value corresponding to a first channel state value according to a first estimated value corresponding to the first channel state value and probability distribution information corresponding to the channel state value, the channel information obtained by measuring the channel between the first device and the second device comprises a first channel state value, and the first estimation value is a channel state value estimated by the first device and obtained by measuring a sub-channel corresponding to the first channel state value by the second device. The first device decrypts the data from the second device according to a key sequence, the key sequence comprises quantized values corresponding to a plurality of channel state values in the channel information, and the plurality of channel state values comprise the first channel state value. The consistency rate of key sequences determined by two communication parties can be improved, so that the reliability of data encryption is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Communication method and communication device Technical Field

[0001] The present application relates to the field of communications, and more specifically, to a communication method and a communication device. Background Art

[0002] With the widespread adoption of wireless communication technology, people are placing increasing demands on the security and privacy of wireless communications. Wireless communication security encryption technology is an important means of ensuring the security of communication data, preventing unauthorized users from accessing, tampering with, or destroying communication information.

[0003] With the emergence of new applications such as positioning and perception, new requirements have been put forward for signal-level security, and the reliability of information encryption needs to be further improved.

[0004] Summary of the Invention

[0005] The present application provides a communication method and a communication device, which can improve the consistency rate of key sequences determined by communicating parties, thereby improving the reliability of data encryption.

[0006] In a first aspect, a communication method is provided. The method can be executed by a communication device or a module (such as a chip or a chip system) configured in (or used for) a communication device. The following is an example of the method being executed by the first device.

[0007] The method includes: a first device determining a quantized value corresponding to the first channel state value based on a first estimated value corresponding to the first channel state value and probability distribution information corresponding to the channel state value, wherein channel information obtained by the first device measuring a channel between the first device and a second device includes the first channel state value, and the first estimated value is a channel state value estimated by the first device and obtained by the second device measuring a sub-channel corresponding to the first channel state value. The first device decrypts data from the second device based on a key sequence, wherein the key sequence includes quantized values ​​corresponding to multiple channel state values ​​in the channel information, wherein the multiple channel state values ​​include the first channel state value.

[0008] According to the above scheme, the first device can use statistical valuation technology to estimate at least one channel state value measured by the second device to obtain an estimated value. The first device uses the estimated value to determine the key sequence, which can improve the consistency rate of the key sequences determined by the communicating parties, thereby improving the reliability of data encryption.

[0009] In combination with the first aspect, in certain implementations of the first aspect, the method further includes: the first device uses maximum a posteriori probability estimation to obtain the first estimated value based on the first channel state value and statistical parameters of the channel estimation error between the first device and the second device.

[0010] According to the above solution, the first device may specifically use the maximum a posteriori probability estimation technology to estimate the estimated value corresponding to the channel state value, so as to improve the consistency rate of the key sequences determined by the communicating parties.

[0011] In combination with the first aspect, in certain implementations of the first aspect, the probability distribution information is divided into multiple state value intervals, each state value interval corresponds to a quantization value, and adjacent partial intervals of two adjacent state value intervals in the multiple state value intervals constitute a review interval; the first device determines the quantization value corresponding to the first channel state value based on the first estimated value of the first channel state value and the probability distribution information corresponding to the channel state value, including: the first device determines the quantization value corresponding to the first channel state value based on the first estimated value and the probability distribution information when the first channel state value belongs to the review interval.

[0012] According to the above solution, specifically, within a review interval where quantization inconsistencies between communicating parties are likely to occur, the first device estimates an estimated value corresponding to the channel state value and determines the quantization value based on the estimated value. This can reduce implementation complexity, improve the efficiency of key sequence generation while increasing the consistency rate of key sequences determined by communicating parties.

[0013] In one implementation, the quantized value corresponding to the first channel state value is a quantized value corresponding to a first state value interval, and the first state value interval is a state value interval to which the first estimated value belongs among the multiple state value intervals.

[0014] In this implementation, the first device may use the quantized value corresponding to the state value interval to which the estimated value corresponding to the channel state value belongs as the quantized value corresponding to the channel state value.

[0015] In another embodiment, the method also includes: when the first estimated value and the first channel state value both belong to the first state value interval, the first device determines that the quantization value corresponding to the first channel state value is the quantization value corresponding to the first state value interval, and the multiple state value intervals include the first state value interval.

[0016] In this embodiment, when the channel state value and the estimated value corresponding to the channel state value belong to the same state value interval, the first device determines the quantized value corresponding to the channel state value as the quantized value corresponding to the state value interval to which the channel state value and the estimated value belong. By confirming whether the channel state value and the corresponding estimated value belong to the same state value interval and then determining the quantized value corresponding to the channel state value, the consistency of the key sequences determined by both communicating parties can be further improved.

[0017] In conjunction with the first aspect, in certain implementations of the first aspect, the number of channel state values ​​included in the channel information is N, the number of channel state values ​​used to determine the key sequence is M, and M<N. The method further includes: determining, by the first device, that a second channel state value in the channel information and a second estimated value do not belong to the same state value interval, the second estimated value being a channel state value estimated by the first device and obtained by the second device measuring a subchannel corresponding to the second channel state value. The first device determines, based on the number of quantized values ​​corresponding to the determined channel state values ​​in the channel information that do or do not belong to the key sequence, whether the quantized value corresponding to the second channel state belongs to the key sequence.

[0018] According to the above scheme, when the number M of quantized values ​​included in the key sequence is less than the number N of channel state values ​​included in the channel information, if the channel state value and the corresponding estimated value do not belong to the same state value interval, the first device determines whether the quantized value corresponding to the channel state value belongs to the key sequence based on whether there is a margin in the channel state value.

[0019] In combination with the first aspect, in certain implementations of the first aspect, the first device determines whether the quantization value corresponding to the second channel state belongs to the key sequence based on the number of quantization values ​​corresponding to the determined channel state values ​​in the channel information that do not belong to the key sequence, including: if K < NM, the first device determines that the quantization value corresponding to the second channel state does not belong to the key sequence, K is the number of quantization values ​​that do not belong to the key sequence among the quantization values ​​corresponding to the determined channel state values; or, if K = NM, the first device determines that the quantization value corresponding to the second channel state value belongs to the key sequence, wherein the quantization value corresponding to the second channel state value is a quantization value corresponding to a second state value interval, and the second state value interval is a state value interval to which the second channel state value or the second estimated value belongs in the multiple state value intervals.

[0020] According to the above solution, when the number M of quantized values ​​included in the key sequence is less than the number N of channel state values ​​included in the channel information, if the channel state value and the corresponding estimated value do not belong to the same state value interval and there is still a margin in the channel state value, the first device may not use the quantized value corresponding to the channel state value as an element in the key sequence, thereby reducing the probability of inconsistent elements in the key sequences determined by the communicating parties. If there is no margin in the channel state value, the first device uses the quantized value corresponding to the channel state value as an element in the key sequence, thereby improving the efficiency of key sequence generation.

[0021] In conjunction with the first aspect, in certain implementations of the first aspect, the method further includes: the first device determining that a third channel state value belongs to a third state value interval and does not belong to the review interval, the multiple state value intervals including the third state value interval; the first device determining that a quantized value corresponding to the third channel state value is a quantized value corresponding to the third state interval, and the key sequence including the quantized value corresponding to the third channel state value.

[0022] According to the above solution, if the channel state value does not fall within the review interval, the probability that the quantized values ​​determined by the first device and the second device based on the channel state value are inconsistent is low. The first device can determine that the quantized value corresponding to the channel state value is the quantized value corresponding to the state value interval to which the channel state value belongs, without having to estimate the estimated value corresponding to the channel state value. This can reduce the complexity of generating a key sequence and improve the efficiency of generating a key sequence.

[0023] In conjunction with the first aspect, in certain implementations of the first aspect, the probability that the channel state value belongs to at least two state value intervals among the multiple state value intervals is equal. The fourth channel state interval and the fifth channel state interval among the multiple state value intervals are two adjacent channel state intervals. The first review interval in the review interval is composed of a first partial state interval and a second partial state interval. The first partial state interval belongs to the fourth channel state interval, and the second partial state interval belongs to the fifth channel state interval. The first review interval is determined based on a threshold value between the fourth channel state interval and the fifth channel state interval and a statistical parameter of a channel estimation error between the first device and the second device. The probability that the channel state value belongs to the first partial state interval and the second partial state interval are equal.

[0024] In a second aspect, a communication device is provided. In one design, the device may include a module corresponding to each of the methods / operations / steps / actions described in the first aspect or any embodiment of the first aspect. The module may be a hardware circuit, software, or a combination of hardware circuit and software. In one design, the device includes a processing unit and a transceiver unit. The processing unit is configured to determine a quantized value corresponding to a first channel state value based on a first estimated value corresponding to the first channel state value and probability distribution information corresponding to the channel state value, wherein channel information obtained by measuring a channel between the first device and a second device includes the first channel state value, and the first estimated value is a channel state value estimated by the first device and obtained by the second device from measuring a sub-channel corresponding to the first channel state value; the transceiver unit is configured to transmit data to and from the second device; and the processing unit is further configured to decrypt data from the second device based on a key sequence, wherein the key sequence includes quantized values ​​corresponding to multiple channel state values ​​in the channel information, wherein the multiple channel state values ​​include the first channel state value.

[0025] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is also used to obtain the first estimated value by using maximum a posteriori probability estimation based on the first channel state value and statistical parameters of the channel estimation error between the first device and the second device.

[0026] In combination with the second aspect, in certain implementations of the second aspect, the probability distribution information is divided into multiple state value intervals, each state value interval corresponds to a quantization value, and the adjacent partial intervals of two adjacent state value intervals in the multiple state value intervals constitute a review interval; the first device determines the quantization value corresponding to the first channel state value based on the first estimated value of the first channel state value and the probability distribution information corresponding to the channel state value, including: the first device determines the quantization value corresponding to the first channel state value based on the first estimated value and the probability distribution information when the first channel state value belongs to the review interval.

[0027] In combination with the second aspect, in certain implementations of the second aspect, the quantized value corresponding to the first channel state value is a quantized value corresponding to a first state value interval, and the first state value interval is a state value interval to which the first estimated value belongs among the multiple state value intervals.

[0028] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is also used to determine, when the first estimated value and the first channel state value both belong to the first state value interval, that the quantization value corresponding to the first channel state value is the quantization value corresponding to the first state value interval, and the multiple state value intervals include the first state value interval.

[0029] In combination with the second aspect, in certain implementations of the second aspect, the number of channel state values ​​included in the channel information is N, and the number of channel state values ​​used to determine the key sequence is M, and M<N; the processing unit is also used to determine that the second channel state value in the channel information and the second estimated value do not belong to the same state value interval, and the second estimated value is the channel state value estimated by the first device and obtained by the second device measuring the sub-channel corresponding to the second channel state value; and the processing unit is also used to determine whether the quantized value corresponding to the second channel state belongs to the key sequence based on the number of quantized values ​​corresponding to the determined channel state values ​​in the channel information that belong to or do not belong to the key sequence.

[0030] In conjunction with the second aspect, in some implementations of the second aspect, the processing unit is specifically configured to:

[0031] If K<NM, the first device determines that the quantized value corresponding to the second channel state does not belong to the key sequence, where K is the number of quantized values ​​corresponding to the determined channel state values ​​that do not belong to the key sequence; or

[0032] If K=NM, the first device determines that the quantization value corresponding to the second channel state value belongs to the key sequence, wherein the quantization value corresponding to the second channel state value is the quantization value corresponding to the second state value interval, and the second state value interval is the state value interval to which the second channel state value or the second estimated value belongs among the multiple state value intervals.

[0033] In combination with the second aspect, in certain implementations of the second aspect, the processing unit is also used to determine that the third channel state value belongs to the third state value interval and does not belong to the review interval, and the multiple state value intervals include the third state value interval; the processing unit is also used to determine that the quantization value corresponding to the third channel state value is the quantization value corresponding to the third state interval, and the key sequence includes the quantization value corresponding to the third channel state value.

[0034] The processing unit is also used to ensure that the probability of the channel state value belonging to at least two state value intervals among the multiple state value intervals is equal; the fourth channel state interval and the fifth channel state interval among the multiple state value intervals are two adjacent channel state intervals, and the first review interval in the review interval is composed of a first partial state interval and a second partial state interval, the first partial state interval belongs to the fourth channel state interval, and the second partial state interval belongs to the fifth channel state interval. The first review interval is determined based on the threshold value between the fourth channel state interval and the fifth channel state interval and the statistical parameters of the channel estimation error between the first device and the second device, and the probability of the channel state value belonging to the first partial state interval and the second partial state interval are equal.

[0035] In a third aspect, a communication device is provided, comprising a processor. The processor is coupled to a memory and configured to execute instructions in the memory to implement the method of the first aspect and any possible implementation of the first aspect. Optionally, the communication device further comprises a memory. Optionally, the communication device further comprises a communication interface, the processor being coupled to the communication interface.

[0036] In one implementation, the communication apparatus is a communication device (such as a terminal or a network device). When the communication apparatus is a communication device, the communication interface may be a transceiver, or an input / output interface.

[0037] In another implementation, the communication device is a chip configured in a communication device. When the communication device is a chip configured in a communication device, the communication interface may be an input / output interface.

[0038] Optionally, the transceiver may be a transceiver circuit. Optionally, the input / output interface may be an input / output circuit.

[0039] In a fourth aspect, a processor is provided, comprising: an input circuit, an output circuit, and a processing circuit. The processing circuit is configured to receive a signal through the input circuit and transmit a signal through the output circuit, so that the processor executes the method of the first aspect and any possible implementation of the first aspect.

[0040] In a specific implementation, the processor may be one or more chips, the input circuit may be an input pin, the output circuit may be an output pin, and the processing circuit may be a transistor, a gate circuit, a trigger, or various logic circuits. The input signal received by the input circuit may be, for example, but not limited to, received and input by a receiver, and the signal output by the output circuit may be, for example, but not limited to, output to and transmitted by a transmitter. The input circuit and the output circuit may be the same circuit, which functions as an input circuit and an output circuit at different times. The embodiments of the present application do not limit the specific implementation of the processor and various circuits.

[0041] In a fifth aspect, a computer program product is provided, which includes: a computer program (also referred to as code, or instructions), which, when executed, enables a computer to execute the method in the above-mentioned first aspect and any possible implementation of the first aspect.

[0042] In the sixth aspect, a computer-readable storage medium is provided, which stores a computer program (also referred to as code, or instructions) which, when run on a computer, enables the computer to execute the method in the above-mentioned first aspect and any possible implementation of the first aspect.

[0043] In a seventh aspect, a communication system is provided, comprising the aforementioned first device and second device.

[0044] It should be understood that the beneficial effects of the features corresponding to the first aspect in the second to seventh aspects can be referred to the relevant description of the first aspect above and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] FIG1 is a schematic diagram of a communication system applicable to an embodiment of the present application;

[0046] FIG2 is a schematic flow chart of a communication method provided by the present application;

[0047] 3 to 8 are different schematic diagrams of probability distribution information provided by embodiments of the present application;

[0048] FIG9 is a schematic structural diagram of a communication device provided in an embodiment of the present application;

[0049] FIG10 is another schematic structural diagram of a communication device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] In the embodiments of this application, " / " can indicate that the objects associated with each other are in an "or" relationship. For example, A / B can mean A or B. "And / or" can be used to describe the existence of three relationships between the associated objects. For example, "A and / or B" can mean: A exists alone, A and B exists simultaneously, and B exists alone. A and B can be singular or plural. To facilitate the description of the technical solutions of the embodiments of this application, the words "first" and "second" can be used to distinguish them in the embodiments of this application. The words "first" and "second" do not limit the quantity or order of execution, and the words "first" and "second" do not necessarily mean different. In the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or explanations. Any embodiment or design described as "exemplary" or "for example" should not be construed as preferred or advantageous over other embodiments or designs. The use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete way to facilitate understanding. In the embodiments of the present application, at least one (kind) can also be described as one (kind) or multiple (kinds), and multiple (kinds) can be two (kinds), three (kinds), four (kinds) or more (kinds), and this application does not limit it.

[0051] Figure 1 is a schematic diagram illustrating a possible, non-limiting system. As shown in Figure 1 , the communication system 10 includes a radio access network (RAN) 100 and a core network (CN) 200. RAN 100 includes at least one RAN node (e.g., 110a and 110b in Figure 1 , collectively referred to as 110) and at least one terminal (e.g., 120a-120j in Figure 1 , collectively referred to as 120). RAN 100 may also include other RAN nodes, such as wireless relay equipment and / or wireless backhaul equipment (not shown in Figure 1 ). Terminal 120 is wirelessly connected to RAN node 110. RAN node 110 is wirelessly or wiredly connected to core network 200. The core network equipment in core network 200 and RAN node 110 in RAN 100 may be separate physical devices, or they may be the same physical device that integrates core network logical functions and radio access network logical functions.

[0052] The RAN 100 may be a cellular system related to the Third Generation Partnership Project (3GPP), such as a 4G or 5G mobile communication system, or a future-oriented evolutionary system (such as a 6G mobile communication system). The RAN 100 may also be an open access network (O-RAN or ORAN), a cloud radio access network (CRAN), or a wireless fidelity (WiFi) system. The RAN 100 may also be a communication system that integrates two or more of the above systems.

[0053] RAN node 110, sometimes also referred to as access network equipment, RAN entity, or access node, constitutes part of the communication system and facilitates wireless access for terminals. Multiple RAN nodes 110 in the communication system 10 can be of the same type or different types. In some scenarios, the roles of RAN node 110 and terminal 120 are relative. For example, network element 120i in Figure 1 can be a helicopter or drone, which can be configured as a mobile base station. For terminal 120j accessing RAN 100 via network element 120i, network element 120i is a base station; however, for base station 110a, network element 120i is a terminal. RAN node 110 and terminal 120 are sometimes referred to as communication devices. For example, network elements 110a and 110b in Figure 1 can be understood as communication devices with base station functionality, and network elements 120a-120j can be understood as communication devices with terminal functionality.

[0054] In one possible scenario, a RAN node may be a base station, such as an evolved NodeB (eNodeB), an access point (AP), a transmission reception point (TRP), a next generation NodeB (gNB), a next generation base station in a sixth generation (6G) mobile communication system, a base station in a future mobile communication system, or an access node in a WiFi system. A RAN node may be a macro base station (such as 110a in FIG1 ), a micro base station or an indoor station (such as 110b in FIG1 ), a relay node or a donor node, or a wireless controller in a CRAN scenario. Optionally, a RAN node may also be a server, a wearable device, a vehicle or an onboard device. For example, an access network device in vehicle to everything (V2X) technology may be a road side unit (RSU). All or part of the functions of the RAN node in this application may also be implemented by software functions running on hardware, or by virtualized functions instantiated on a platform (such as a cloud platform). The RAN node in this application may also be a logical node, logical module or software that can implement all or part of the functions of the access network device.

[0055] In another possible scenario, multiple RAN nodes collaborate to assist the terminal in achieving wireless access, and different RAN nodes respectively implement part of the functions of the base station. For example, the RAN node can be a centralized unit (CU), a distributed unit (DU), a CU-control plane (CP), a CU-user plane (UP), or a radio unit (RU). The CU and DU can be set separately, or they can be included in the same network element, such as a baseband unit (BBU). The RU can be included in a radio frequency device or radio frequency unit, such as a remote radio unit (RRU), an active antenna unit (AAU), or a remote radio head (RRH).

[0056] In different systems, CU (or CU-CP and CU-UP), DU or RU may also have different names, but those skilled in the art can understand their meanings. For example, in the ORAN system, CU may also be called O-CU (Open CU), DU may also be called O-DU, CU-CP may also be called O-CU-CP, CU-UP may also be called O-CU-UP, and RU may also be called O-RU. For the convenience of description, this application uses CU, CU-CP, CU-UP, DU and RU as examples for description. Any unit of CU (or CU-CP, CU-UP), DU and RU in this application can be implemented by a software module, a hardware module, or a combination of a software module and a hardware module.

[0057] A terminal may also be referred to as a terminal device, user equipment (UE), mobile station, or mobile terminal. A terminal can be widely used in various communication scenarios. These scenarios include, but are not limited to, at least one of the following: enhanced mobile broadband (eMBB), ultra-reliable low-latency communication (URLLC), massive machine-type communications (mMTC), D2D, V2X, machine-type communication (MTC), Internet of Things (IoT), virtual reality, augmented reality, industrial control, autonomous driving, telemedicine, smart grid, smart furniture, smart office, smart wearables, smart transportation, sensing terminals, integrated communication and sensing terminals, or smart cities. The terminal can be a mobile phone (such as 120a, 120j and 120e in Figure 1), a tablet computer, a computer with wireless transceiver function (such as 120g in Figure 1), customer-premises equipment (CPE), a smart point of sale (POS) machine, a wearable device, a vehicle (such as 120b in Figure 1), a drone, a helicopter, an airplane (such as 120i in Figure 1), a ship, a robot, a robotic arm, a sensor, a perception device, or a smart home device (such as 120h in Figure 1), etc.

[0058] The following describes the relevant technologies and terms involved in the embodiments of this application.

[0059] 1. Calculation of Bayesian Valuation

[0060] In the embodiment of the present application, a statistical method is used to calculate the posterior probability. 1,ij and the sampled value h of the second device 2,ij For example, the sampling value h 1,ij is a sampling value obtained by the first device estimating the subchannel between the antenna port i of the first device and the antenna port j of the second device. 2,ij It is the sampling value obtained by the second device to estimate the subchannel between the antenna port i of the first device and the antenna port j of the second device, 1≤i≤N1, 1≤j≤N2, N1 is the number of antenna ports for sending / receiving reference signals by the first device, and N2 is the number of antenna ports for sending / receiving reference signals by the second device.

[0061] First, define the following three probability distributions:

[0062] Prior probability:

[0063] Among them, P(h 1,ij ) is the sampling value h of the second device 2,ij The prior probability of , Θ is a constant, is a complex set, is a normal distribution.

[0064] Likelihood:

[0065] Among them, P(h 1,ij |h 2,ij ) is the assumption h 2,ij When it is established, it is observed that h 1,ij probability. The mean is h 2,ij , with variance σ 2 Gaussian distribution of σ 2 That is, the variance of the channel estimation error between the first device and the second device.

[0066] Posterior probability:

[0067] Among them, at a given h 1,ij In the case of h 2,ij The probability that the posterior probability satisfies the mean μ pos , the variance is Gaussian distribution.

[0068] For example, the mean μ can be calculated using the maximum a posteriori probability estimate pos :

[0069] From the above formula we can know that μ pos is such that P(h|h1,ij ) takes the maximum value of h.

[0070] According to the description in the specific embodiment, the communication device may use but is not limited to adopting the modulus value of the sampled value of the value || h 1,ij ||, use the sample value h 1,ij The real part Re(h 1,ij ) or the imaginary part of the sample value imag(h 1,ij ) generates a key sequence, which is explained below.

[0071] If the modulus value of the sampled value || h is used 1,ij || Generate a key sequence, then the first device measures the sub-channel between the antenna port i of the first device and the antenna port j of the second device to obtain the sample value h 2,ij Estimation can be obtained First, the first device can calculate Δh, which satisfies:

[0072] When h 1,ij When it is less than or equal to the threshold value, for:

[0073] When h 1,ij When it is greater than the threshold value, for:

[0074] If the sampling value h is used 1,ij The real part Re(h 1,ij ) or the imaginary part of the sample value imag(h 1,ij ) generates a key sequence, then device A measures h on device B a The sampling value h obtained by the corresponding sub-channel 2,ij Estimation can be obtained for

[0075] For link-level security protection, a mechanism called internalized security resources has been proposed. This mechanism means that the resources for achieving security are sourced from within the system rather than being distributed externally. This internalized security resource mechanism offers two advantages: one is that it ensures the randomness and continuous supply of security resources. The other is that it minimizes the security risks and overhead associated with external distribution.

[0076] One approach to endogenous security resources involves determining the key sequence used for security protection based on wireless channel characteristics. For two communicating parties with reciprocal channels, each can obtain channel information from a reference signal sent by the other. This channel information can include multiple channel state values. Both parties use the same quantization method to quantize the channel state values ​​in the channel information to obtain the key sequence. The transmitting end uses this key sequence to encrypt data, which is then sent to the receiving end. The receiving end then decrypts the encrypted data using the key sequence to obtain the original data.

[0077] The communicating parties can use a single threshold quantization method to quantize the channel information. Both communicating parties use the same quantization threshold value. Channel state values ​​greater than the threshold value can be quantized to 1, and channel state values ​​less than or equal to the threshold value can be quantized to 0, or vice versa.

[0078] However, in a time-division duplexing (TDD) system with channel reciprocity, the communicating parties cannot simultaneously transmit reference signals. The time difference between the reference signals sent by the two parties can cause channel variations, leading to inconsistent key sequences generated by the two parties after quantization. Furthermore, inconsistencies in the transmission period and RF channel characteristics, as well as noise, can also disrupt channel reciprocity, resulting in inconsistent keys derived from channel information quantization. Therefore, a dual-threshold quantization scheme has been proposed to address the issue of inconsistent quantization between the communicating parties in single-threshold quantization schemes, where quantization values ​​near the threshold are prone to quantization. To address this issue, the dual-threshold quantization scheme adds guard intervals at both ends of the single-threshold quantization value. When the channel state value falls within the guard interval, the channel state value is not used to generate the key sequence. While the dual-threshold quantization scheme improves key consistency to a certain extent, the possibility of inconsistent key sequences determined by the communicating parties remains. Furthermore, the channel state values ​​within the guard interval must be discarded, resulting in lower key generation efficiency.

[0079] In response to the problem of inconsistency between the key sequences determined by the communicating parties based on channel information due to non-ideal reciprocity of the channel, the present application proposes that the first device can use statistical valuation technology to estimate at least one channel state value measured by the second device to obtain an estimated value, and use the estimated value to determine the key sequence, which can improve the consistency rate of the key sequences determined by the communicating parties, thereby improving the reliability of data encryption.

[0080] Figure 2 is a schematic flow chart of a communication method 200 provided in an embodiment of the present application. The method 200 may include but is not limited to the following S201 and S202.

[0081] S201, the first device determines a quantization value corresponding to the first channel state value based on a first estimation value corresponding to the first channel state value and probability distribution information corresponding to the channel state value, the channel information obtained by measuring the channel between the first device and the second device includes the first channel state value, and the first estimation value is a channel state value estimated by the first device and obtained by measuring the sub-channel corresponding to the first channel state value by the second device.

[0082] The first device and the second device can perform channel estimation based on the reference signal sent by the other device to obtain channel information. In the case of non-ideal reciprocity of the channel, the relationship between the channel information obtained by the first device and the second device through channel estimation can be expressed as: H1 = H2 + E,

[0083] Wherein, H1 is the channel information estimated by the first device, and H2 is the channel information estimated by the second device. H1 and H2 include N=N1×N2 sampling values, N1 is the number of antenna ports for transmitting / receiving reference signals by the first device, N2 is the number of antenna ports for transmitting / receiving reference signals by the second device, and E is the estimated error information between the channel information obtained by the first device and the second device, and E includes N1×N2 error values. H1 includes the sampling value h 1,ij , the sampling value h 1,ij It is the sampling value obtained by the first device estimating the subchannel between the antenna port i of the first device and the antenna port j of the second device. 2,ij , the sampling value h 2,ij It is a sampling value obtained by the second device estimating the subchannel between the antenna port i of the first device and the antenna port j of the second device, 1≤i≤N1, 1≤j≤N2.

[0084] Specifically, the sampling value h in the channel information r,ij is a complex number, which can be expressed as h r,ij =a r,ij +jb r,ij ,

[0085] Where r is 1 or 2.

[0086] In the present application, the channel state value included in the channel information may be the modulus value ‖h‖ of the sampled value, the real part Re(h) of the sampled value, or the imaginary part imag(h) of the sampled value. The channel information includes N channel state values. The first device determines a key sequence based on the channel state values ​​in the channel information. The key sequence includes quantized values ​​corresponding to multiple channel state values ​​determined based on the channel state values ​​in the channel information. The key sequence is used by the first device to encrypt and / or decrypt data between the first device and the second device.

[0087] The key sequence includes a quantized value corresponding to a first channel state value. The quantized value corresponding to the first channel state value is determined by the first device based on a first estimated value corresponding to the first channel state value and probability distribution information corresponding to the channel state value. The first estimated value is an estimated value obtained by the first device based on a channel state value obtained by the second device when measuring a subchannel corresponding to the first channel state value. In other words, the first estimated value is an estimated channel state value obtained by the first device based on the subchannel corresponding to the first channel state value measured by the second device.

[0088] That is, at least one quantized value included in the key sequence is determined based on an estimated value corresponding to the channel state value. The following first describes how the first apparatus determines a quantized value corresponding to the first channel state value based on a first estimated value corresponding to the first channel state value. This includes but is not limited to the following implementations: Implementation 1, Implementation 2, and Implementation 3.

[0089] In the first embodiment, the channel state value is the modulus ‖h‖ of the sampling value, and the probability distribution information corresponding to the channel state value may be the probability distribution of the modulus of the sampling value, which satisfies the Rayleigh distribution.

[0090] Specifically, the probability distribution information may be divided into a plurality of state value intervals, and each state value interval corresponds to a quantized value.

[0091] Example 1: When the first device adopts 1-bit quantization, that is, when the quantization value corresponding to the channel state value is 1 bit, the probability distribution information can be divided into 2 state value intervals, which are the state value interval corresponding to the quantization value 0 and the state value interval corresponding to the quantization value 1.

[0092] Specifically, the probability distribution information can be divided into two state value intervals by setting a threshold value δ, and the threshold value δ satisfies: P(‖h‖≤δ)=P(‖h‖>δ)=0.5.

[0093] That is, the probability that the channel state value ‖h‖ belongs to ‖h‖≤δ and the probability that it belongs to ‖h‖>δ are both 0.5. Figure 3 shows the probability distribution of the modulus value of the sampled values, where the probability of ‖h‖≤δ and ‖h‖>δ are both 0.5. The quantization value corresponding to the state value interval of the channel state value ‖h‖ belonging to ‖h‖≤δ is 0, and the quantization value corresponding to the state value interval of the channel state value ‖h‖ belonging to ‖h‖>δ is 1.

[0094] The first channel state value in the channel information measured by the first device is recorded as ||h 1,kl ||, 1≤k≤N1, 1≤l≤N2. The first channel state value h 1,klThe corresponding subchannel is the subchannel between the antenna port k of the first device and the antenna port l of the second device. The channel state value || h obtained by the first device measuring the subchannel for the second device is 2,kl ||Estimate and get the first estimate

[0095] Optionally, the first device obtains the first estimated value by using maximum a posteriori probability estimation based on the first channel state value and a statistical parameter of a channel estimation error between the first device and the second device.

[0096] That is, the first estimate It can be the first channel state value || h 1,kl Bayesian estimate of ||. When h 1,ij When it is less than or equal to the threshold value, It can be obtained by using the formula (1) introduced above. 1,ij When it is greater than the threshold value, It can be obtained by using the formula (2) introduced above. The statistical parameter of the channel estimation error between the first device and the second device is the variance σ of the channel estimation error 2 , which is used to determine the mean μ of the posterior probability pos and Δh.

[0097] In mode 1, the first device may estimate an estimated value corresponding to each channel state value in the channel information, and determine a quantized value corresponding to the channel state value based on the estimated value corresponding to the channel state value. The first device may determine, based on the first estimated value and probability distribution information, that the quantized value corresponding to the first channel state value is a quantized value corresponding to a first state value interval to which the first estimated value belongs.

[0098] That is, in this optional manner, the quantized values ​​included in the key sequence are all determined based on the estimated values ​​corresponding to the corresponding channel state values.

[0099] For example, in the example shown in FIG3, if the first estimated value belongs to the state value interval of ‖h‖≤δ, that is, the first state value interval is the state value interval of ‖h‖≤δ, then the quantization value corresponding to the first channel state value is 0. If the first estimated value Belonging to the state value interval of ‖h‖>δ, that is, the first state value interval is the state value interval of ‖h‖>δ, then the quantization value corresponding to the first channel state value is 1.

[0100] In mode 2, adjacent portions of two adjacent state value intervals in the multiple state value intervals constitute a review interval CI. When the first channel state value falls within the review interval, the first device determines a quantized value corresponding to the first channel state value based on the first estimated value and the probability distribution information. For channel state values ​​that do not fall within the review interval CI, the first device determines a quantized value corresponding to the channel state value based on the channel state value and the probability distribution information.

[0101] For example, in the probability distribution information shown in FIG4, the review interval is (CI L ,CI R ), the review interval consists of two parts, namely the partial state interval (CI L ,δ) and some state intervals (δ,CI R ) constitutes the review interval (CI L ,CI R ).

[0102] The review interval (CI L ,CI R )'s right boundary CI R It can be determined based on the following formula: CI R =δ+βσ

[0103] Where δ is the threshold value of the state interval, and σ is the standard deviation of the channel estimation error between the first device and the second device. The coefficient β can be determined by the first device or by signaling interaction between the first and second devices. For example, the value of β can be between 2 and 3.

[0104] For the left boundary CI of the review interval L The value of P(‖h‖) needs to ensure that it is within the interval (CI L ,δ) and in the interval (δ,CI R ) is equal, that is, the channel state value belongs to the interval (CI L ,δ) and the probability of belonging to the interval (δ,CI R ) have equal probability. CI L satisfy:

[0105] When the channel state value belongs to the verification interval CI, the first device estimates the first channel state value || h 1,kl The first estimate of the corresponding The first device determines a quantized value corresponding to the first channel state value according to the first estimated value and probability distribution information of the first channel state value.

[0106] For example, in the example shown in FIG4 , the first channel state value || h 1,kl|| belongs to the verification interval CI, the first device estimates the first estimated value If the first estimate belongs to the state value interval of ‖h‖≤δ, then the quantization value corresponding to the first channel state value is 0. If the state value belongs to the state value interval of ‖h‖>δ, the quantization value corresponding to the first channel state value is 1.

[0107] In this method, if the first device determines that the third channel state value does not belong to the review interval CI, the first device determines a quantized value corresponding to the third channel state value based on the third channel state value. If the third channel state value belongs to the state value interval where ‖h‖≤δ, the quantized value corresponding to the first channel state value is 0. If the third channel state value belongs to the state value interval where ‖h‖>δ, the quantized value corresponding to the first channel state value is 1.

[0108] According to the above solution, if the channel state value does not fall within the review interval, the probability that the quantized values ​​determined by the first device and the second device based on the channel state value are inconsistent is low. The first device can determine that the quantized value corresponding to the channel state value is the quantized value corresponding to the state value interval to which the channel state value belongs, without having to estimate the estimated value corresponding to the channel state value. This can reduce the complexity of generating a key sequence and improve the efficiency of generating a key sequence.

[0109] In the above two methods, it is described that the first device can estimate the estimated value of each channel state value and determine the quantized value corresponding to each channel state value based on the estimated value. Alternatively, when the channel state value falls within the review interval, the first device determines the quantized value corresponding to the channel state value based on the estimated value corresponding to the channel state value; when the channel state value does not fall within the review interval, the first device determines the quantized value corresponding to the channel state value based on the channel state value.

[0110] Specifically, the channel information may include N channel state values, and the key sequence determined by the first device and the second device may include M quantization values, where M≤N. If M<N, the M channel state values ​​may be channel state values ​​at predefined positions among the N channel state values, such as N channel state values ​​forming an N1×N2 matrix, and the M channel state values ​​may be channel state values ​​on the diagonal of the matrix, or channel state values ​​at even or odd positions among the N channel state values, etc., which is not limited in this application. Alternatively, the M channel state values ​​may be determined by the first device and the second device through signaling interaction. The second device may determine that the quantization value corresponding to each channel state value among the M channel state values ​​is the quantization value corresponding to the state value interval to which the channel state value belongs, and the key sequence determined by the second device includes the quantization values ​​corresponding to the M channel state values. This can improve the consistency rate of the key sequences determined by the communicating parties, thereby improving the reliability of data encryption.

[0111] In mode 3, when the first device determines that the first estimated value and the first channel state value both belong to the first state value interval, the first device determines that the quantized value corresponding to the first channel state value is the quantized value corresponding to the first state value interval. In other words, when the first estimated value and the first channel state value belong to the same state value interval, the quantized value corresponding to the first channel state value is the quantized value corresponding to the state value interval to which the first estimated value and the first channel state value belong.

[0112] For example, in the example shown in FIG3, if the first estimated value and the first channel state value ||h 1,kl || all belong to the state value interval of ‖h‖≤δ, then the quantization value corresponding to the first channel state value is 0. and the first channel state value ||h 1,kl || all belong to the state value interval of ‖h‖>δ, that is, the first state value interval is the state value interval of ‖h‖>δ, and the quantization value corresponding to the first channel state value is 1.

[0113] For example, in the example shown in FIG4 , the first channel state value belongs to the verification interval CI. If the first estimated value and the first channel state value ||h 1,kl || all belong to the state value interval of ‖h‖≤δ, then the quantization value corresponding to the first channel state value is 0. and the first channel state value ||h 1,kl || all belong to the state value interval of ‖h‖>δ, that is, the first state value interval is the state value interval of ‖h‖>δ, and the quantization value corresponding to the first channel state value is 1.

[0114] In this manner, the number of channel state values ​​included in the channel information is N, the number of channel state values ​​used to determine the key sequence is M, and M<N. That is, the first device can select M channel state values ​​from the N channel state values ​​included in the channel information, and determine the key sequence based on the M channel state values, that is, the key sequence includes the quantized values ​​corresponding to the M channel state values. Therefore, if a channel state value (such as a second channel state value) and the estimated value corresponding to the second channel state value (that is, the second estimated value) do not belong to the same state value interval, that is, the second channel state value and the second estimated value are respectively located on both sides of the threshold value δ, then the first device can determine whether the quantized value corresponding to the channel state value belongs to the key sequence based on the number of quantized values ​​that belong or do not belong to the key sequence among the quantized values ​​corresponding to the channel state value determined in the channel information.

[0115] Specifically, the number of quantized values ​​that do not belong to the key sequence among the quantized values ​​corresponding to the channel state values ​​determined by the first device is K, then:

[0116] If K<NM, the first device determines that the quantized value corresponding to the second channel state value does not belong to the key sequence;

[0117] That is, if there is still a margin of the channel state value in the channel information, the second channel state value may not be used to generate the key sequence, and the key sequence does not include the quantized value corresponding to the second channel state value. The first device may discard the second channel state value.

[0118] If K=NM, the first device determines that the quantization value corresponding to the second channel state value belongs to the key sequence, wherein the quantization value corresponding to the second channel state value is the quantization value corresponding to the second state value interval, and the second state value interval is the state value interval to which the second channel state value or the second estimated value belongs in multiple state value intervals.

[0119] That is, when there is no margin for the channel state value in the channel information, the first device needs to use the second channel state value to generate a key sequence, where the key sequence includes a quantized value corresponding to the second channel state value. In one embodiment, the first device can use the quantized value corresponding to the channel state interval to which the second channel state value belongs as the quantized value corresponding to the second channel state value. In another embodiment, the first device can use the quantized value corresponding to the channel state interval to which the second estimated value belongs as the quantized value corresponding to the second channel state value.

[0120] In this approach, the key sequence determined by the first device includes quantized values ​​corresponding to M channel state values ​​in the channel information. The first device can notify the second device via signaling to specifically determine which subchannels the M channel state values ​​in the key sequence correspond to. For example, the signaling may include identifiers of the M channel state values, or identifiers of the M subchannels corresponding to the M channel state values. This allows the second device to determine the key sequence based on the channel state values ​​obtained by measuring the M subchannels based on the signaling, thereby reaching a consensus between the first and second devices.

[0121] Example 2: When the first device adopts multi-bit quantization, taking the quantization value corresponding to the channel state value as 2 bits as an example, three threshold values ​​δ1, δ2 and δ3 can be set. The probability distribution information can be divided into 4 state value intervals, and the 4 state value intervals are the state value intervals corresponding to the quantization values ​​00, 01, 10, and 11 (i.e., 0, 1, 2, and 3) in sequence. The three threshold values ​​satisfy: P(‖h‖≤δ1)=P(δ1<‖h‖≤δ2)=P(δ2<‖h‖≤δ3)=P(‖h‖>δ3)=0.25

[0122] The probability that the channel state value ‖h‖ belongs to the state value interval ‖h‖≤δ1, the probability that it belongs to the state value interval δ1<‖h‖≤δ2, the probability that it belongs to the state value interval δ2<‖h‖≤δ3, and the probability that it belongs to the state value interval ‖h‖>δ3 are all 0.25. Figure 5 shows the probability distribution of the modulus value of the sampled value.

[0123] The first device may determine the quantized value corresponding to the channel state value using the above-described method 1. For example, the first device may estimate the estimated value corresponding to each channel state value in the channel information, and determine, based on the state value interval to which the estimated value corresponding to the channel state value belongs, that the quantized value corresponding to the channel state value is the quantized value corresponding to the state value interval to which the estimated value corresponding to the channel state value belongs.

[0124] The first device can use the above-mentioned method 2 to determine the quantized value corresponding to the channel state value. The adjacent partial intervals of two adjacent state value intervals in the multiple channel state values ​​constitute a review interval CI. When the channel state value falls within the review interval, the first device determines that the quantized value corresponding to the channel state value is the quantized value corresponding to the state value interval to which the estimated value corresponding to the channel state value belongs. For channel state values ​​that do not fall within the review interval CI, the first device determines the quantized value corresponding to the channel state value based on the channel state value and probability distribution information.

[0125] As shown in FIG6 , the state value interval ‖h‖≤δ1 and the adjacent partial interval of the state value interval δ1<‖h‖≤δ2 constitute a review interval CI1, the state value interval δ1<‖h‖≤δ2 and the adjacent partial interval of the state value interval δ2<‖h‖≤δ3 constitute a review interval CI2, and the state value interval δ2<‖h‖≤δ3 and the adjacent partial interval of the state value interval ‖h‖>δ3 constitute a review interval CI3. If the channel state value belongs to any of the review intervals CI1, CI2, or CI3, the first device estimates the estimated value corresponding to the channel state value and determines the quantized value corresponding to the channel state value based on the state value interval to which the estimated value belongs. If the channel state value does not belong to the review intervals CI1, CI2, or CI3, the first device determines the quantized value corresponding to the channel state value based on the state value interval to which the channel state value belongs.

[0126] The specific method for the first device to determine each review interval can refer to the above description, based on each threshold value δ i (i is 1, 2 or 3) and the coefficient β determine the right boundary, and then determine the left boundary based on equal probability, which will not be repeated here.

[0127] The first device can use the above-mentioned method 3 to determine the quantization value corresponding to the channel state value. The number of channel state values ​​included in the channel information is N, the number of channel state values ​​used to determine the key sequence is M, and M<N. When the first device determines that the first estimated value and the first channel state value both belong to the first state value interval, it determines that the quantization value corresponding to the first channel state value is the quantization value corresponding to the first state value interval. If a channel state value (such as a second channel state value) and the estimated value corresponding to the second channel state value (i.e., the second estimated value) do not belong to the same state value interval, that is, the second channel state value and the second estimated value are respectively within the threshold value δ i On both sides of the channel state value, the first device may determine whether the quantized value corresponding to the channel state value determined in the channel information belongs to the key sequence based on the number of quantized values ​​that belong to or do not belong to the key sequence among the quantized values ​​corresponding to the channel state value determined in the channel information. For details, please refer to the above description and will not be repeated here.

[0128] Accordingly, the second device can determine the M channel state values ​​used to generate the key sequence based on a predefined method or through signaling interaction with the first device, thereby determining that the quantized value corresponding to each of the M channel state values ​​is the quantized value corresponding to one of the four state value intervals to which the channel state value belongs. This can improve the consistency rate of the key sequences determined by the communicating parties, thereby improving the reliability of data encryption.

[0129] In the second embodiment, the channel state value is the real part Re(h) of the sampling value, and the probability distribution information corresponding to the channel state value may be the probability distribution of the modulus value of the sampling value, which satisfies the Gaussian distribution.

[0130] Optionally, the first device uses maximum a posteriori probability estimation based on the channel state value and statistical parameters of the channel estimation error between the first device and the second device to obtain an estimated value corresponding to the channel state value.

[0131] That is, the estimated value corresponding to the channel state can be a Bayesian estimate of the channel state value, and the Bayesian estimate can be obtained using the above formula (3). The statistical parameter of the channel estimation error between the first device and the second device is the variance σ of the channel estimation error 2 , which is used to determine the mean of the posterior probability.

[0132] In one example, the first device may use 1-bit quantization, as shown in FIG7 , and may divide the probability distribution information into two state value intervals by setting a threshold value δ. The quantization values ​​corresponding to the two state value intervals are 0 and 1, respectively. The first device may determine the quantization value corresponding to the channel state value based on one of the above-mentioned methods 1, 2, and 3, thereby determining the key sequence. For the specific implementation, reference may be made to the description above, which will not be repeated here for the sake of brevity.

[0133] In another example, the first device may use multi-bit quantization, such as a 2-bit quantization value corresponding to the channel state value. The probability distribution information may be divided into four state value intervals by setting three threshold values ​​δ1, δ2, and δ3, as shown in FIG8 . The first device may determine the quantization value corresponding to the channel state value based on one of the above-described methods 1, 2, and 3, thereby determining the key sequence.

[0134] In a third embodiment, the channel state value is the imaginary part imag(h) of the sampling value, and the probability distribution information corresponding to the channel state value may be the probability distribution of the modulus value of the sampling value, which satisfies the Gaussian distribution.

[0135] Optionally, the first device uses maximum a posteriori probability estimation based on the channel state value and statistical parameters of the channel estimation error between the first device and the second device to obtain an estimated value corresponding to the channel state value.

[0136] That is, the estimated value corresponding to the channel state can be a Bayesian estimate of the channel state value, and the Bayesian estimate can be obtained using the above formula (3). The statistical parameter of the channel estimation error between the first device and the second device is the variance σ of the channel estimation error 2 , which is used to determine the mean of the posterior probability.

[0137] The first device may use 1-bit quantization or multi-bit quantization, and the first device may determine the quantization value corresponding to the channel state value based on one of the above-mentioned methods 1, 2, and 3, thereby determining the key sequence. For the specific implementation, reference may be made to the description above, which will not be repeated here for the sake of brevity.

[0138] The above example describes how the first device and the second device can use the modulus value of the sampled value || h 1,ij ||, sampling value h 1,ij The real part Re(h 1,ij ) or the imaginary part of the sample value imag(h 1,ij ) generates a key sequence. It should be understood that the present application is not limited to this. The first device and the second device can also use the eigenvalues ​​or other parameter values ​​of the sampling value matrix corresponding to the channel information to generate a key sequence. If the first device and the second device use the same parameter type to generate the key sequence, the solution provided by the present application can be used to improve the consistency of the key sequences determined by the first device and the second device.

[0139] S202: The first device decrypts data from the second device according to a key sequence, where the key sequence includes quantized values ​​corresponding to multiple channel state values ​​in the channel information, where the multiple channel state values ​​include the first channel state value.

[0140] As described above, the first and second devices can determine a key sequence based on the measured channel information, such that the key sequence determined by the first and second devices is consistent. The first and second devices can use the key sequence to encrypt and protect data transmitted between the first and second devices.

[0141] In one implementation, the first device may use the key sequence to decrypt encrypted data received from the second device, thereby obtaining decrypted data.

[0142] In this method, the second device acts as the transmitter of data and determines a key sequence based on the state value interval to which the channel state value in the measured channel information belongs. The first device acts as the receiver of data, and at least one quantization value in the key sequence determined by the first device is obtained based on the estimated value corresponding to the channel state value. This allows the key sequences determined by the first device and the second device to reach an agreement. The second device uses the key sequence to encrypt the data to obtain encrypted data, and sends the encrypted data to the first device. After receiving the encrypted data from the second device, the first device uses the key sequence to decrypt the encrypted data to obtain decrypted data. That is, in this method, when the receiver of data determines the key sequence, the quantization value corresponding to at least one channel state value is determined based on the state value interval to which the estimated value corresponding to the channel state value belongs. The transmitter of data determines the quantization value corresponding to the channel state value based on the state value interval to which the measured channel state value belongs.

[0143] It should be understood that the present application is not limited to this. In a specific implementation, one of the communicating parties may determine a key sequence based on the state value interval to which the measured channel state value belongs, and the other communicating party may determine a key sequence based on the state value interval to which the estimated value corresponding to the channel state value belongs. The communicating parties use the key sequence to encrypt data sent to the other end and decrypt data from the other end.

[0144] According to the above-mentioned scheme provided in the present application, the first device can use statistical valuation technology to estimate at least one channel state value measured by the second device to obtain an estimated value, and use the estimated value to determine the key sequence, which can improve the consistency rate of the key sequences determined by the communicating parties, thereby improving the reliability of data encryption.

[0145] It is understood that in order to implement the functions in the above embodiments, the network devices and terminals include hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily appreciate that, in conjunction with the units and method steps of each example described in the embodiments disclosed in this application, the present application can be implemented in the form of hardware or a combination of hardware and computer software. Whether a function is executed in hardware or in a manner driven by computer software depends on the specific application scenario and design constraints of the technical solution.

[0146] Figures 9 and 10 are schematic diagrams of the structures of possible communication devices provided in the embodiments of the present application. These communication devices can be used to implement the functions of the first device or the second device in the above method embodiments, and thus can also achieve the beneficial effects possessed by the above method embodiments. In the embodiments of the present application, the communication device can be one of the terminals 120a-120j as shown in Figure 1, or it can be the network device 110a or 110b as shown in Figure 1, or it can be a module (such as a chip or chip system) applied to a terminal or network device.

[0147] The communication device 900 includes a transceiver unit 920, which can be used to receive or send information. The communication device 900 can also include a processing unit 910, which can be used to process instructions or data to implement corresponding operations.

[0148] It should be understood that when the communication device 900 is a chip configured in (or used in) a communication device, the transceiver unit 920 in the communication device 900 can be the input / output interface or circuit of the chip, and the processing unit 910 in the communication device 900 can be the processor in the chip.

[0149] Optionally, the communication device 900 may further include a storage unit, which may be used to store instructions or data. The processing unit 910 may execute the instructions or data stored in the storage unit to enable the communication device to perform corresponding operations.

[0150] The communication device 900 can be used to implement the functions of the terminal or network device in the method embodiment shown in FIG. 2 .

[0151] When the communication device 900 is used to implement the function of the first device in the method embodiment shown in Figure 3: the processing unit 910 is used to determine the quantization value corresponding to the first channel state value based on the first estimation value corresponding to the first channel state value and the probability distribution information corresponding to the channel state value, the channel information obtained by the first device measuring the channel between the first device and the second device includes the first channel state value, and the first estimation value is the channel state value estimated by the first device and obtained by the second device measuring the sub-channel corresponding to the first channel state value; the transceiver unit 920 is used to transmit data between the first device and the second device; the processing unit 910 is also used to encrypt or decrypt data transmitted between the second device according to a key sequence, the key sequence including quantization values ​​corresponding to multiple channel state values ​​in the channel information, and the multiple channel state values ​​include the first channel state value.

[0152] For a more detailed description of the processing unit 910 and the transceiver unit 920 , reference may be made to the relevant description in the method embodiment shown in FIG. 3 .

[0153] It should be understood that the transceiver unit 920 in the communication device 900 can be implemented through a communication interface (such as a transceiver, a transceiver circuit, an input / output interface, or a pin, etc.). When the communication interface is a transceiver, the transceiver can be composed of a receiver and / or a transmitter. The processing unit 910 in the communication device 900 can be implemented by at least one processor. The processing unit 910 in the communication device 900 can also be implemented by at least one logic circuit. Optionally, the communication device 900 also includes a storage unit, which can be implemented by a memory.

[0154] As shown in Figure 10, communication device 1000 includes a processor 1010 and an interface circuit 1020. Processor 1010 and interface circuit 1020 are coupled to each other. It will be appreciated that interface circuit 1020 may be a transceiver or an input / output interface. Optionally, communication device 1000 may further include a memory 1030 for storing instructions executed by processor 1010, input data required by processor 1010 to execute instructions, or data generated by processor 1010 after executing instructions.

[0155] In one implementation, the memory 1030 may also be integrated into the processor 1010 or independent of the processor 1010 .

[0156] When the communication device 1000 is used to implement the method shown in FIG. 2 , the processor 1010 is used to implement the functions of the processing unit 910 , and the interface circuit 1020 is used to implement the functions of the transceiver unit 920 .

[0157] When the above-mentioned communication device is a chip applied to a terminal device, the terminal device chip can implement the terminal functions in the above-mentioned method embodiments. The terminal device chip receives information from other modules (such as a radio frequency module or antenna) in the terminal device, and the information is sent to the terminal device by other communication devices (such as network devices or other terminal devices); or the terminal device chip sends information to other modules (such as a radio frequency module or antenna) in the terminal device, and the information is sent by the terminal device to other communication devices.

[0158] When the above-mentioned communication device is a module applied to a network device, the network device module can implement the functions of the network device in the above-mentioned method embodiment. The network device module receives information from other modules in the network device (such as a radio frequency module or antenna), and the information is sent to the network device by other communication devices (such as terminal devices or other network devices); or, the network device module sends information to other modules in the network device (such as a radio frequency module or antenna), and the information is sent by the network device to other communication devices. The network device module here can be a baseband chip of the network device, or it can be a DU or other module. The DU here can be a DU under the open radio access network (O-RAN) architecture.

[0159] It is understood that the processor in the embodiments of the present application may be a central processing unit (CPU), or may be other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field programmable gate arrays (FPGA), or other programmable logic devices, transistor logic devices, hardware components, or any combination thereof. The general-purpose processor may be a microprocessor or any conventional processor.

[0160] The method steps in the embodiments of the present application can be implemented in hardware or in software instructions that can be executed by a processor. The software instructions can be composed of corresponding software modules, and the software modules can be stored in random access memory, flash memory, read-only memory, programmable read-only memory, erasable programmable read-only memory, electrically erasable programmable read-only memory, registers, hard disk, mobile hard disk, CD-ROM or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and write information to the storage medium. The storage medium can also be an integral part of the processor. The processor and storage medium can be located in an ASIC. In addition, the ASIC can be located in an access network device or a terminal device. The processor and storage medium can also exist in the access network device or the terminal device as discrete components.

[0161] According to the method provided in the embodiment of the application, the embodiment of the present application also provides a computer program product, which includes: computer program code, when the computer program code is executed by one or more processors, it enables the device including the processor to execute the method shown in Figure 2.

[0162] In the above embodiments, all or part of the embodiments may be implemented using software, hardware, firmware, or any combination thereof. When implemented using software, all or part of the embodiments may be implemented in the form of a computer program product. The computer program product includes one or more computer programs or instructions. When the computer program or instructions are loaded and executed on a computer, the processes or functions described in the embodiments of the present application are performed in whole or in part. The computer may be a general-purpose computer, a special-purpose computer, a computer network, a network device, a user device, or other programmable device.

[0163] According to the method provided in an embodiment of the present application, an embodiment of the present application also provides a computer-readable storage medium, which stores the above-mentioned computer program or instructions. When the computer program or instructions are executed by one or more processors, the device including the processor executes the method shown in Figure 2.

[0164] As described above, the computer program or instructions can be stored in a computer-readable storage medium or transmitted from one computer-readable storage medium to another. For example, the computer program or instructions can be transmitted from one website, computer, server, or data center to another website, computer, server, or data center via wired or wireless means. The computer-readable storage medium can be any available medium that can be accessed by a computer, or a data storage device such as a server or data center that integrates one or more available media. The available medium can be a magnetic medium, such as a floppy disk, hard disk, or magnetic tape; an optical medium, such as a digital video disk; or a semiconductor medium, such as a solid-state drive. The computer-readable storage medium can be a volatile or non-volatile storage medium, or can include both volatile and non-volatile types of storage media.

[0165] According to the method provided in the embodiment of the present application, the embodiment of the present application also provides a communication system, including one or more first devices as described above. The system may further include one or more second devices as described above.

[0166] In the several embodiments provided in this application, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the devices described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the coupling or direct coupling or communication connection between each other shown or discussed can be through some interface, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0167] The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed across multiple network units. Some or all of these units may be selected to achieve the purpose of this solution based on actual needs.

[0168] In the various embodiments of the present application, unless otherwise specified or there is a logical conflict, the terms and / or descriptions between different embodiments are consistent and can be referenced by each other. The technical features in different embodiments can be combined to form new embodiments according to their inherent logical relationships.

[0169] The above description is merely a specific embodiment of the present application, but the scope of protection of the present application is not limited thereto. Any changes or substitutions that can be easily conceived by a person skilled in the art within the technical scope disclosed in this application should be included in the scope of protection of this application. Therefore, the scope of protection of this application should be based on the scope of protection of the claims.

Claims

1. A communication method, characterized in that: include: The first device determines a quantized value corresponding to the first channel state value according to a first estimated value corresponding to the first channel state value and probability distribution information corresponding to the channel state value, wherein the channel information obtained by measuring a channel between the first device and the second device includes the first channel state value, and the first estimated value is a channel state value estimated by the first device and obtained by measuring a subchannel corresponding to the first channel state value by the second device; The first device decrypts the data from the second device according to a key sequence, wherein the key sequence includes quantized values ​​corresponding to multiple channel state values ​​in the channel information, and the multiple channel state values ​​include the first channel state value.

2. The method according to claim 1, characterized in that The method also includes: the first device obtains the first estimation value by using maximum a posteriori probability estimation according to the first channel state value and the statistical parameters of the channel estimation error between the first device and the second device.

3. The method according to claim 1 or 2, characterized in that: The probability distribution information is divided into a plurality of state value intervals, each of the state value intervals corresponds to a quantized value, and adjacent partial intervals of two adjacent state value intervals in the plurality of state value intervals constitute a review interval; The first device determines a quantized value corresponding to the first channel state value according to a first estimated value of the first channel state value and probability distribution information corresponding to the channel state value, including: The first device determines a quantized value corresponding to the first channel state value according to the first estimated value and the probability distribution information when the first channel state value belongs to the review interval.

4. The method according to claim 3, characterized in that The quantized value corresponding to the first channel state value is a quantized value corresponding to a first state value interval, and the first state value interval is a state value interval to which the first estimated value belongs among the multiple state value intervals.

5. The method according to claim 3, characterized in that: The method further comprises: The first device determines, when the first estimated value and the first channel state value both belong to a first state value interval, that a quantized value corresponding to the first channel state value is a quantized value corresponding to the first state value interval, and the multiple state value intervals include the first state value interval.

6. The method according to any one of claims 3 to 5, characterized in that The number of channel state values ​​included in the channel information is N, the number of channel state values ​​used to determine the key sequence is M, and M<N, and the method further includes: The first device determines that a second channel state value in the channel information and a second estimated value do not belong to the same state value interval, and the second estimated value is a channel state value estimated by the first device and obtained by the second device measuring a subchannel corresponding to the second channel state value; The first device determines whether the quantized value corresponding to the second channel state belongs to the key sequence according to the number of quantized values ​​that belong to or do not belong to the key sequence among the quantized values ​​corresponding to the determined channel state values ​​in the channel information.

7. The method according to claim 6, characterized in that The first device determines whether the quantized value corresponding to the second channel state belongs to the key sequence according to the number of quantized values ​​corresponding to the determined channel state values ​​in the channel information that do not belong to the key sequence, including: If K<NM, the first device determines that the quantized value corresponding to the second channel state does not belong to the key sequence, and K is the number of quantized values ​​corresponding to the determined channel state values ​​that do not belong to the key sequence; or, If K=NM, the first device determines that the quantization value corresponding to the second channel state value belongs to the key sequence, wherein the quantization value corresponding to the second channel state value is the quantization value corresponding to the second state value interval, and the second state value interval is the state value interval to which the second channel state value or the second estimated value belongs in the multiple state value intervals.

8. The method according to any one of claims 3 to 7, characterized in that The method further comprises: The first device determines that a third channel state value belongs to a third state value interval and does not belong to the review interval, and the plurality of state value intervals include the third state value interval; The first device determines that the quantized value corresponding to the third channel state value is the quantized value corresponding to the third state interval, and the key sequence includes the quantized value corresponding to the third channel state value.

9. The method according to any one of claims 3 to 8, characterized in that The probability that the channel state value belongs to at least two state value intervals among the multiple state value intervals is equal; The fourth channel state interval and the fifth channel state interval in the plurality of state value intervals are two adjacent channel state intervals, The first review interval in the review interval is composed of a first partial state interval and a second partial state interval, the first partial state interval belongs to the fourth channel state interval, and the second partial state interval belongs to the fifth channel state interval, The first review interval is determined based on a threshold value between the fourth channel state interval and the fifth channel state interval and a statistical parameter of a channel estimation error between the first device and the second device, and the probability that a channel state value belongs to the first part of the state interval and belongs to the second part of the state interval is equal.

10. A communication device, characterized in that: include: a processing unit, configured to determine a quantized value corresponding to the first channel state value according to a first estimated value corresponding to the first channel state value and probability distribution information corresponding to the channel state value, wherein the channel information obtained by measuring the channel between the first device and the second device includes the first channel state value, and the first estimated value is a channel state value estimated by the first device and obtained by measuring the subchannel corresponding to the first channel state value by the second device; a transceiver unit, used for transmitting data to and from a second device; The processing unit is further configured to decrypt data from the second device according to a key sequence, wherein the key sequence includes quantized values ​​corresponding to a plurality of channel state values ​​in the channel information, wherein the plurality of channel state values ​​includes the first channel state value.

11. The device according to claim 10, characterized in that The processing unit is further configured to obtain the first estimation value by using maximum a posteriori probability estimation according to the first channel state value and a statistical parameter of a channel estimation error between the first device and the second device.

12. The device according to claim 10 or 11, characterized in that The probability distribution information is divided into a plurality of state value intervals, each of the state value intervals corresponds to a quantized value, and adjacent partial intervals of two adjacent state value intervals in the plurality of state value intervals constitute a review interval; The first device determines a quantized value corresponding to the first channel state value according to a first estimated value of the first channel state value and probability distribution information corresponding to the channel state value, including: The first device determines a quantized value corresponding to the first channel state value according to the first estimated value and the probability distribution information when the first channel state value belongs to the review interval.

13. The device according to claim 12, characterized in that The quantized value corresponding to the first channel state value is a quantized value corresponding to a first state value interval, and the first state value interval is a state value interval to which the first estimated value belongs among the multiple state value intervals.

14. The device according to claim 12, characterized in that The processing unit is further configured to determine, when both the first estimated value and the first channel state value belong to a first state value interval, that the quantized value corresponding to the first channel state value is the quantized value corresponding to the first state value interval, and the multiple state value intervals include the first state value interval.

15. The device according to any one of claims 12 to 14, characterized in that The number of channel state values ​​included in the channel information is N, and the number of channel state values ​​used to determine the key sequence is M, and M<N; the processing unit is further used to: determining that a second channel state value and a second estimated value in the channel information do not belong to the same state value interval, the second estimated value being a channel state value estimated by the first device and obtained by the second device measuring a subchannel corresponding to the second channel state value; Whether the quantized value corresponding to the second channel state belongs to the key sequence is determined according to the number of quantized values ​​that belong to or do not belong to the key sequence among the quantized values ​​corresponding to the determined channel state values ​​in the channel information.

16. The device according to claim 15, characterized in that The processing unit is specifically used for: If K<NM, the first device determines that the quantized value corresponding to the second channel state does not belong to the key sequence, and K is the number of quantized values ​​corresponding to the determined channel state values ​​that do not belong to the key sequence; or, If K=NM, the first device determines that the quantization value corresponding to the second channel state value belongs to the key sequence, wherein the quantization value corresponding to the second channel state value is the quantization value corresponding to the second state value interval, and the second state value interval is the state value interval to which the second channel state value or the second estimated value belongs in the multiple state value intervals.

17. The device according to any one of claims 12 to 16, characterized in that The processing unit is also used for: determining that a third channel state value belongs to a third state value interval and does not belong to the review interval, the plurality of state value intervals including the third state value interval; Determine that the quantized value corresponding to the third channel state value is the quantized value corresponding to the third state interval, and the key sequence includes The quantized value corresponding to the third channel state value is included.

18. The device according to any one of claims 12 to 17, characterized in that The probability that the channel state value belongs to at least two state value intervals among the multiple state value intervals is equal; The fourth channel state interval and the fifth channel state interval in the multiple state value intervals are two adjacent channel state intervals, the first review interval in the review interval is composed of a first partial state interval and a second partial state interval, the first partial state interval belongs to the fourth channel state interval, and the second partial state interval belongs to the fifth channel state interval, The first review interval is determined based on a threshold value between the fourth channel state interval and the fifth channel state interval and a statistical parameter of a channel estimation error between the first device and the second device, and the probability that a channel state value belongs to the first part of the state interval and belongs to the second part of the state interval is equal.

19. A communication device, characterized in that: comprising at least one processor coupled to the memory; The memory is used to store programs or instructions; The at least one processor is configured to execute the program or instruction so that the apparatus implements the method according to any one of claims 1 to 18.

20. A computer-readable storage medium comprising a computer program, which, when executed by one or more processors, causes an apparatus comprising the processor to perform the method according to any one of claims 1 to 18.

21. A computer program product, characterized in that The computer program product comprises: a computer program, which enables a computer to perform the method according to any one of claims 1 to 18 when the computer program is executed.