CN118741506A - Information transmission method, device, related equipment and storage medium - Google Patents
Information transmission method, device, related equipment and storage medium Download PDFInfo
- Publication number
- CN118741506A CN118741506A CN202310324250.XA CN202310324250A CN118741506A CN 118741506 A CN118741506 A CN 118741506A CN 202310324250 A CN202310324250 A CN 202310324250A CN 118741506 A CN118741506 A CN 118741506A
- Authority
- CN
- China
- Prior art keywords
- information
- reconciliation
- message
- key
- capability information
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Pending
Links
- 238000000034 method Methods 0.000 title claims abstract description 221
- 230000005540 biological transmission Effects 0.000 title claims abstract description 65
- 238000001514 detection method Methods 0.000 claims description 184
- 230000004044 response Effects 0.000 claims description 56
- 230000015654 memory Effects 0.000 claims description 37
- 230000006854 communication Effects 0.000 claims description 34
- 238000004891 communication Methods 0.000 claims description 33
- 238000004590 computer program Methods 0.000 claims description 22
- 230000002452 interceptive effect Effects 0.000 claims description 10
- 230000000717 retained effect Effects 0.000 claims description 7
- 238000012795 verification Methods 0.000 claims description 5
- 230000008569 process Effects 0.000 description 52
- 238000010586 diagram Methods 0.000 description 32
- 230000003993 interaction Effects 0.000 description 31
- 238000012545 processing Methods 0.000 description 22
- 238000005516 engineering process Methods 0.000 description 20
- 230000007246 mechanism Effects 0.000 description 17
- 239000000523 sample Substances 0.000 description 10
- 238000013139 quantization Methods 0.000 description 7
- 238000012937 correction Methods 0.000 description 5
- 238000003672 processing method Methods 0.000 description 5
- 230000001360 synchronised effect Effects 0.000 description 5
- 235000019800 disodium phosphate Nutrition 0.000 description 4
- 230000005291 magnetic effect Effects 0.000 description 4
- 230000011664 signaling Effects 0.000 description 4
- 101100012902 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) FIG2 gene Proteins 0.000 description 3
- 101100233916 Saccharomyces cerevisiae (strain ATCC 204508 / S288c) KAR5 gene Proteins 0.000 description 3
- 230000001413 cellular effect Effects 0.000 description 3
- 239000008186 active pharmaceutical agent Substances 0.000 description 2
- 230000003321 amplification Effects 0.000 description 2
- 238000005562 fading Methods 0.000 description 2
- 238000005259 measurement Methods 0.000 description 2
- 238000010295 mobile communication Methods 0.000 description 2
- 238000003199 nucleic acid amplification method Methods 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000011160 research Methods 0.000 description 2
- 230000003068 static effect Effects 0.000 description 2
- 101001121408 Homo sapiens L-amino-acid oxidase Proteins 0.000 description 1
- 101000827703 Homo sapiens Polyphosphoinositide phosphatase Proteins 0.000 description 1
- 102100026388 L-amino-acid oxidase Human genes 0.000 description 1
- 108700026140 MAC combination Proteins 0.000 description 1
- 102100023591 Polyphosphoinositide phosphatase Human genes 0.000 description 1
- 238000004458 analytical method Methods 0.000 description 1
- 230000002457 bidirectional effect Effects 0.000 description 1
- 230000008859 change Effects 0.000 description 1
- 125000004122 cyclic group Chemical group 0.000 description 1
- 230000005294 ferromagnetic effect Effects 0.000 description 1
- 230000006872 improvement Effects 0.000 description 1
- 230000010354 integration Effects 0.000 description 1
- 238000002156 mixing Methods 0.000 description 1
- 238000004549 pulsed laser deposition Methods 0.000 description 1
- 238000011002 quantification Methods 0.000 description 1
- 230000002441 reversible effect Effects 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W12/00—Security arrangements; Authentication; Protecting privacy or anonymity
- H04W12/04—Key management, e.g. using generic bootstrapping architecture [GBA]
- H04W12/043—Key management, e.g. using generic bootstrapping architecture [GBA] using a trusted network node as an anchor
- H04W12/0431—Key distribution or pre-distribution; Key agreement
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W8/00—Network data management
- H04W8/22—Processing or transfer of terminal data, e.g. status or physical capabilities
- H04W8/24—Transfer of terminal data
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Databases & Information Systems (AREA)
- Computer Security & Cryptography (AREA)
- Information Transfer Between Computers (AREA)
- Computer And Data Communications (AREA)
Abstract
本申请公开了一种信息传输方法、装置、第一设备、第二设备及存储介质。其中,方法包括:向第二设备发送第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;接收所述第二设备发送的第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容。
The present application discloses an information transmission method, apparatus, first device, second device and storage medium. The method includes: sending a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device; receiving a second message sent by the second device; the second message includes first capability information, the first capability information is the key consistency reconciliation capability information selected by the second device; or the second message includes a key consistency reconciliation result; or the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
Description
技术领域Technical Field
本申请涉及通信技术领域,尤其涉及一种信息传输方法、装置、相关设备及存储介质。The present application relates to the field of communication technology, and in particular to an information transmission method, apparatus, related equipment and storage medium.
背景技术Background Art
信息协调是无线物理层密钥生成的关键步骤,从相关技术来看,当前物理层进行密钥一致性调和时,需要基站为终端分配专用密钥协商信道,耗费了大量通信资源。同时,该技术的主要研究点在于使通信双方基于时变无线信道生成一致对称密钥的信息调和算法,并未说明如何传输一致性调和所需的信息,因此密钥一致性调和技术不能在实际通信系统中有效实现,无法生成一致的对称无线密钥。针对单向密钥一致性调和机制中的信息传输问题,目前尚无有效解决方案。Information coordination is a key step in wireless physical layer key generation. From the perspective of related technologies, when the current physical layer performs key consistency reconciliation, the base station needs to allocate a dedicated key negotiation channel for the terminal, which consumes a lot of communication resources. At the same time, the main research point of this technology is to enable the communicating parties to generate consistent symmetric keys based on time-varying wireless channels. It does not explain how to transmit the information required for consistency reconciliation. Therefore, the key consistency reconciliation technology cannot be effectively implemented in actual communication systems, and consistent symmetric wireless keys cannot be generated. There is currently no effective solution to the information transmission problem in the one-way key consistency reconciliation mechanism.
发明内容Summary of the invention
为解决相关技术问题,本申请实施例提供一种信息传输方法、装置、相关设备及存储介质。To solve related technical problems, the embodiments of the present application provide an information transmission method, apparatus, related equipment and storage medium.
本申请实施例的技术方案是这样实现的:The technical solution of the embodiment of the present application is implemented as follows:
本申请实施例提供了一种信息传输方法,应用于第一设备,包括:The embodiment of the present application provides an information transmission method, which is applied to a first device, including:
向第二设备发送第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;Sending a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
接收所述第二设备发送的第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容。Receive a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes the key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
上述方案中,所述第一能力信息包括:密钥一致性调和方案信息和/或第一间隔信息;其中,所述第一间隔信息包括交互密钥一致性调和信息的间隔信息。In the above scheme, the first capability information includes: key consistency reconciliation scheme information and/or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
上述方案中,在第一字段携带所述密钥一致性调和能力信息时,所述第一字段还携带其他密钥一致性调和的相关信息,所述相关信息包括所述其他密钥一致性调和所需的编码信息和/或密钥比特序列的校验值。In the above scheme, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the coding information required for the other key consistency reconciliation and/or the check value of the key bit sequence.
上述方案中,所述方法还包括:In the above solution, the method further comprises:
基于所述第二设备发送的信道探测响应信息确定所述第一设备进行信道探测的状态信息;Determine, based on the channel detection response information sent by the second device, state information of the channel detection performed by the first device;
根据所述状态信息生成第一原始密钥比特序列。A first original key bit sequence is generated according to the state information.
上述方案中,所述方法还包括:In the above solution, the method further comprises:
根据所述第二消息中的第一能力信息,确定第一间隔信息;Determining first interval information according to the first capability information in the second message;
在所述第一间隔信息满足预设间隔信息的情况下,根据所述第一能力信息向所述第二设备发送第三消息;所述第三消息用于传输所述第二设备根据所述第一能力信息对第二原始密钥比特序列进行信息调和的相关信息;所述第二原始密钥比特序列基于所述第二设备进行信道探测生成。When the first interval information meets the preset interval information, a third message is sent to the second device according to the first capability information; the third message is used to transmit relevant information that the second device reconciles the second original key bit sequence according to the first capability information; the second original key bit sequence is generated based on the channel detection performed by the second device.
上述方案中,所述根据所述第二消息中第一能力信息,确定第一间隔信息,In the above solution, the first interval information is determined according to the first capability information in the second message,
包括:include:
所述第一能力信息包括第一间隔信息,根据第二消息中第一能力信息里包括的第一间隔信息,确定第一间隔信息;The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message;
或,or,
所述第一能力信息不包括第一间隔信息,根据第二消息中的第一能力信息以及本地配置,确定第一间隔信息。The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
上述方案中,所述第三消息包括以下至少之一:In the above solution, the third message includes at least one of the following:
调和所述第二原始密钥比特序列所需的编码信息;encoding information required to reconcile the second original key bit sequence;
调和所述第二原始密钥比特序列所需的校验值。A check value required to reconcile the second original key bit sequence.
上述方案中,所述方法还包括:In the above solution, the method further comprises:
接收所述第二设备发送的第四消息;所述第四消息表征所述第二设备根据所述第一能力信息对所述第一原始密钥比特序列进行信息调和的结果。Receive a fourth message sent by the second device; the fourth message represents a result of information reconciliation performed by the second device on the first original key bit sequence according to the first capability information.
上述方案中,所述方法还包括:In the above solution, the method further comprises:
在所述第四消息表征所述第二设备调和失败的情况下,丢弃所述第一原始密钥比特序列。In the case where the fourth message indicates that the second device reconciliation fails, the first original key bit sequence is discarded.
本申请实施例还提供了一种信息传输方法,应用于第二设备,包括:The embodiment of the present application further provides an information transmission method, which is applied to a second device, including:
接收第一设备发送的第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;Receiving a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
根据所述第一字段确定第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容;Determine a second message according to the first field; the second message includes first capability information, and the first capability information is key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device;
向所述第一设备发送所述第二消息。The second message is sent to the first device.
上述方案中,所述第一能力信息包括:密钥一致性调和方案信息和/或第一间隔信息;其中,所述第一间隔信息包括交互密钥一致性调和信息的间隔信息。In the above scheme, the first capability information includes: key consistency reconciliation scheme information and/or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
上述方案中,在第一字段携带所述密钥一致性调和能力信息时,所述第一字段还携带其他密钥一致性调和的相关信息,所述相关信息包括所述其他密钥一致性调和所需的编码信息和/或密钥比特序列的校验值。In the above scheme, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the coding information required for the other key consistency reconciliation and/or the check value of the key bit sequence.
上述方案中,所述方法还包括:In the above solution, the method further comprises:
基于所述第一设备发送的信道探测请求信息确定所述第二设备进行信道探测的状态信息;Determining, based on the channel detection request information sent by the first device, state information of the channel detection performed by the second device;
根据所述状态信息生成第二原始密钥比特序列。A second original key bit sequence is generated according to the state information.
上述方案中,所述方法还包括:In the above solution, the method further comprises:
根据所述第二消息中的第一能力信息,确定第一间隔信息;Determining first interval information according to the first capability information in the second message;
在所述第一间隔信息满足预设间隔信息的情况下,接收所述第一设备发送的第三消息;When the first interval information meets the preset interval information, receiving a third message sent by the first device;
基于所述第三消息,所述第二设备根据所述第一能力信息对所述第二原始密钥比特序列进行信息调和。Based on the third message, the second device reconciles the second original key bit sequence according to the first capability information.
上述方案中,所述根据所述第二消息中第一能力信息,确定第一间隔信息,包括:In the above solution, determining the first interval information according to the first capability information in the second message includes:
所述第一能力信息包括第一间隔信息,根据第二消息中第一能力信息里包括的第一间隔信息,确定第一间隔信息;The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message;
或,or,
所述第一能力信息不包括第一间隔信息,根据第二消息中的第一能力信息以及本地配置,确定第一间隔信息。The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
上述方案中,所述第三消息包括以下至少之一:In the above solution, the third message includes at least one of the following:
调和所述第二原始密钥比特序列所需的编码信息;encoding information required to reconcile the second original key bit sequence;
调和所述第二原始密钥比特序列所需的校验值。A check value required to reconcile the second original key bit sequence.
上述方案中,所述方法还包括:In the above solution, the method further comprises:
向所述第一设备发送第四消息;述第四消息表征所述第二设备根据所述第一能力信息和所述第三消息包含的相关调和信息对所述第二原始密钥比特序列进行信息调和的结果。Sending a fourth message to the first device; the fourth message represents a result of information reconciliation performed by the second device on the second original key bit sequence according to the first capability information and related reconciliation information included in the third message.
上述方案中,所述方法还包括:In the above solution, the method further comprises:
在所述第四消息表征所述第二设备调和成功的情况下,保留所述第二原始密钥比特序列。In the case where the fourth message indicates that the reconciliation of the second device is successful, the second original key bit sequence is retained.
本申请实施例还提供了一种信息传输装置,设置在第一设备上,包括:The embodiment of the present application further provides an information transmission device, which is arranged on a first device and includes:
第一发送单元,用于向第二设备发送第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;A first sending unit, configured to send a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
第一接收单元,用于接收所述第二设备发送的第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容。A first receiving unit is used to receive a second message sent by the second device; the second message includes first capability information, and the first capability information is key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
本申请实施例还提供了一种信息传输装置,设置在第二设备上,包括:The embodiment of the present application further provides an information transmission device, which is arranged on a second device and includes:
第二接收单元,用于接收第一设备发送的第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;A second receiving unit, configured to receive a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
第一确定单元,用于根据所述第一字段确定第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容;a first determining unit, configured to determine a second message according to the first field; the second message includes first capability information, the first capability information being key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content supporting the key consistency reconciliation capability information selected by the first device or content not supporting the key consistency reconciliation capability information selected by the first device;
第二发送单元,用于向所述第一设备发送所述第二消息。The second sending unit is configured to send the second message to the first device.
本申请实施例还提供了一种第一设备,包括:第一处理器和用于存储能够在处理器上运行的计算机程序的第一存储器,The embodiment of the present application further provides a first device, comprising: a first processor and a first memory for storing a computer program that can be run on the processor,
其中,所述第一处理器用于运行所述计算机程序时,执行上述第一设备侧任一方法的步骤。Wherein, when the first processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the first device side.
本申请实施例还提供了一种第二设备,包括:第二处理器和用于存储能够在处理器上运行的计算机程序的第二存储器,The embodiment of the present application further provides a second device, comprising: a second processor and a second memory for storing a computer program that can be run on the processor,
其中,所述第二处理器用于运行所述计算机程序时,执行上述第二设备侧任一方法的步骤。Wherein, when the second processor is used to run the computer program, it executes the steps of any one of the above-mentioned methods on the second device side.
本申请实施例还提供了一种存储介质,其上存储有计算机程序,所述计算机程序被处理器执行时实现上述第一设备侧任一方法的步骤,或者实现上述第二设备侧任一方法的步骤。An embodiment of the present application also provides a storage medium on which a computer program is stored. When the computer program is executed by a processor, the computer program implements the steps of any method on the first device side mentioned above, or implements the steps of any method on the second device side mentioned above.
本申请实施例提供的信息传输方法、装置、相关设备及存储介质,第一设备向第二设备发送第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;接收所述第二设备发送的第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容;相应地,第二设备接收第一设备发送的第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;根据所述第一字段确定第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容;向所述第一设备发送所述第二消息;采用本申请的技术方案,通过第一消息、第二消息的交互,所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息,实现了一致性调和所需传输的信息在通信双方之间有效交互,从而使通信双方能够将基于无线信道时变特性产生的原始密钥序列中不一致的比特对齐,使它们获得协调一致的无线密钥。The information transmission method, apparatus, related equipment and storage medium provided in the embodiments of the present application, the first device sends a first message to the second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device; receives a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or the second message includes a key consistency reconciliation result; or the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device; accordingly, the second device receives the first message sent by the first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability selected by the first device power information; determine the second message according to the first field; the second message includes the first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes the key consistency reconciliation result; or, the second message includes the content that supports the key consistency reconciliation capability information selected by the first device or does not support the key consistency reconciliation capability information selected by the first device; send the second message to the first device; adopt the technical solution of the present application, through the interaction of the first message and the second message, the first message includes the first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, and the second message includes the first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device, so as to realize the effective interaction of the information required to be transmitted for consistency reconciliation between the communicating parties, so that the communicating parties can align the inconsistent bits in the original key sequence generated based on the time-varying characteristics of the wireless channel, so that they can obtain a coordinated and consistent wireless key.
附图说明BRIEF DESCRIPTION OF THE DRAWINGS
图1为相关技术中无线物理层密钥生成原理的示意图;FIG1 is a schematic diagram of a wireless physical layer key generation principle in the related art;
图2为本申请一种信息传输方法的流程示意图;FIG2 is a schematic diagram of a flow chart of an information transmission method of the present application;
图3为本申请实施例一种信息传输方法的又一种流程示意图;FIG3 is another schematic diagram of a flow chart of an information transmission method according to an embodiment of the present application;
图4为信道探测请求消息的示意图;FIG4 is a schematic diagram of a channel probe request message;
图5为信道探测响应消息的示意图;FIG5 is a schematic diagram of a channel probe response message;
图6为信道探测请求及响应消息实现的示意图;FIG6 is a schematic diagram of the implementation of channel probe request and response messages;
图7为信道探测请求及响应消息实现的又一种示意图;FIG7 is another schematic diagram of a channel probe request and response message implementation;
图8为本申请实施例中改进的信道探测请求消息的示意图;FIG8 is a schematic diagram of an improved channel detection request message in an embodiment of the present application;
图9为本申请实施例中改进的信道探测响应消息的示意图;FIG9 is a schematic diagram of an improved channel detection response message in an embodiment of the present application;
图10为本申请实施例一种单向密钥一致性调和方法的信息传输的流程示意图;FIG10 is a schematic diagram of a flow chart of information transmission of a one-way key consistency reconciliation method according to an embodiment of the present application;
图11为本申请实施例另一种单向密钥一致性调和方法的信息传输的流程示意图;FIG11 is a schematic diagram of a flow chart of information transmission of another one-way key consistency reconciliation method according to an embodiment of the present application;
图12为本申请实施例一种信息传输装置结构示意图;FIG12 is a schematic diagram of the structure of an information transmission device according to an embodiment of the present application;
图13为本申请实施例另一种信息传输装置结构示意图;FIG13 is a schematic diagram of the structure of another information transmission device according to an embodiment of the present application;
图14为本申请实施例第一设备结构示意图;FIG14 is a schematic diagram of the structure of the first device according to an embodiment of the present application;
图15为本申请实施例第二设备结构示意图;FIG15 is a schematic diagram of the structure of the second device according to an embodiment of the present application;
图16为本申请实施例信息传输系统结构示意图。FIG. 16 is a schematic diagram of the structure of the information transmission system according to an embodiment of the present application.
具体实施方式DETAILED DESCRIPTION
下面结合附图及实施例对本申请再作进一步详细的描述。The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.
无线物理层密钥生成技术,即利用无线信道的短时互易性、空间去相关性和时变性,在通信双方的接收信号中提取无线信道特征,进而通过算法处理生成物理层密钥。该技术通常包括信道探测、量化、信息协调和隐私放大四个阶段,可以结合图1进行理解。图1为相关技术中无线物理层密钥生成原理的示意图。Wireless physical layer key generation technology uses the short-term reciprocity, spatial decorrelation and time-varying properties of wireless channels to extract wireless channel features from the received signals of both communicating parties, and then generates physical layer keys through algorithm processing. This technology usually includes four stages: channel detection, quantization, information coordination and privacy amplification, which can be understood in conjunction with Figure 1. Figure 1 is a schematic diagram of the principle of wireless physical layer key generation in related technologies.
用户Alice和Bob在多径衰落信道工作,他们双方首先互相发送已知的导频信号帧进行信道探测。在相干时间内,双方发送的信号经过相同的信道衰落到达对方。接收方用接收到的导频信号帧与已知导频信号帧进行计算,估计这段时间内的信道,获得信道状态信息。由于信道探测的过程是双向的,通过信道估计可分别获得信道测量结果XA和XB。然后,他们将测量结果XA和XB转换成二进制数字,即和完成量化。得到和之后,由于和之间可能存在不匹配的比特,因此必须采用信息协调来调整这种不匹配的比特,随后Alice和Bob将分别获得匹配一致的与最后,采用隐私放大,合法用户获得密钥KA与KB。Users Alice and Bob work in a multipath fading channel. They first send each other known pilot signal frames for channel detection. During the coherence time, the signals sent by both parties reach each other after the same channel fading. The receiver uses the received pilot signal frame and the known pilot signal frame to calculate and estimate the channel during this period to obtain channel state information. Since the channel detection process is bidirectional, the channel measurement results X A and X B can be obtained respectively through channel estimation. Then, they convert the measurement results X A and X B into binary numbers, that is, and Complete quantification. and Afterwards, due to and There may be mismatched bits between them, so information coordination must be used to adjust the mismatched bits. Then Alice and Bob will each get a matching and Finally, by using privacy amplification, the legitimate user obtains the keys K A and K B .
在密钥生成过程中,由于受到硬件设备的干扰、系统噪声以及量化区间的划分等因素影响会导致初始密钥比特序列可能存在不一致的现象,因此,在尽可能不泄露密钥信息的前提下,引入信息调和技术即密钥一致性调和技术纠正错误比特是十分必要的。During the key generation process, the initial key bit sequence may be inconsistent due to factors such as interference from hardware devices, system noise, and division of quantization intervals. Therefore, it is necessary to introduce information reconciliation technology, namely key consistency reconciliation technology, to correct erroneous bits while minimizing the leakage of key information.
相关技术中,大多在于研究使通信双方协商形成一致的对称密钥的算法。例如,利用基站为终端分配专用密钥协商信道,并通过Hash运算及对称加解密技术进行密钥协商,获取一致的无线密钥。另外,还有将量化得到的第二比特位流基于k-grams算法进行一致性协商,达到对双方原始密钥比特序列检错纠错的目的。In the related technologies, most of them are aimed at studying algorithms that enable the two communicating parties to negotiate and form a consistent symmetric key. For example, a base station is used to allocate a dedicated key negotiation channel for the terminal, and key negotiation is performed through hash operations and symmetric encryption and decryption technology to obtain a consistent wireless key. In addition, the second bit stream obtained by quantization is negotiated for consistency based on the k-grams algorithm to achieve the purpose of error detection and correction of the original key bit sequence of both parties.
经过以上分析可知,相关技术中无线密钥一致性调和技术在于研究消除原始对称密钥流中差异数据比特的算法,而对于双方完成一致性调和所需要交互的信息没有给出有效的传输方案,因此无线信道密钥生成机制尚不能在实际通信系统中应用实现。From the above analysis, it can be seen that the wireless key consistency reconciliation technology in the relevant technology is to study the algorithm for eliminating the difference data bits in the original symmetric key stream, but no effective transmission scheme is given for the information that needs to be exchanged between the two parties to complete the consistency reconciliation. Therefore, the wireless channel key generation mechanism cannot be applied and implemented in the actual communication system.
另外,信息协调是无线物理层密钥生成的关键步骤,从相关技术来看,当前物理层进行密钥一致性校验时,需要基站为终端分配专用密钥协商信道,耗费大量通信资源。同时,该技术的主要研究点在于使通信双方基于时变无线信道生成一致对称密钥的信息调和算法,并未说明如何传输一致性调和所需的信息,因此相关技术不能在实际通信系统中有效实现密钥的一致性校验,无法生成一致的对称无线密钥。In addition, information coordination is a key step in wireless physical layer key generation. From the perspective of related technologies, when the current physical layer performs key consistency verification, the base station needs to allocate a dedicated key negotiation channel for the terminal, which consumes a lot of communication resources. At the same time, the main research point of this technology is to enable the communicating parties to generate consistent symmetric keys based on time-varying wireless channels. It does not explain how to transmit the information required for consistency reconciliation. Therefore, the related technology cannot effectively implement key consistency verification in actual communication systems and cannot generate consistent symmetric wireless keys.
基于此,在本申请的各种实施例中,通过引入一种新的密钥一致性调和信息的传输方法,在尽可能不影响现有通信系统工作机制的基础上,在通信双方之间实现密钥一致性调和信息的交互,从而实现无线物理层密钥生成。Based on this, in various embodiments of the present application, by introducing a new method for transmitting key consistency and reconciliation information, the interaction of key consistency and reconciliation information is realized between the communicating parties without affecting the working mechanism of the existing communication system as much as possible, thereby realizing wireless physical layer key generation.
本申请实施例提供一种信息传输方法,应用于第一设备,图2为本申请一种信息传输方法的流程示意图;如图2所示,该方法包括:The embodiment of the present application provides an information transmission method, which is applied to a first device. FIG2 is a flow chart of an information transmission method of the present application; as shown in FIG2 , the method includes:
步骤201:向第二设备发送第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息。Step 201: Send a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries key consistency reconciliation capability information selected by the first device.
步骤202:接收所述第二设备发送的第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容。Step 202: Receive a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes the key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
本实施例中,所述第一设备可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一设备可以是在信道探测过程中发送信道探测请求消息的设备,也可以是信道探测过程中发送信道探测响应消息的设备。优选地,第一设备为信道探测过程中发送信道探测请求消息的设备,从而避免后续的密钥一致性调和过程发生混乱。在实际应用中,所述第一设备可以称为节点设备A。In this embodiment, the first device can be determined according to actual conditions, and is not limited here. As an example, the first device can be a device that sends a channel detection request message during the channel detection process, or a device that sends a channel detection response message during the channel detection process. Preferably, the first device is a device that sends a channel detection request message during the channel detection process, so as to avoid confusion in the subsequent key consistency reconciliation process. In practical applications, the first device can be called node device A.
所述第二设备可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第二设备可以是在信道探测过程中发送信道探测请求消息的设备,也可以是信道探测过程中发送信道探测响应消息的设备。优选地,第二设备为信道探测过程中发送信道探测响应消息的设备,从而避免后续的密钥一致性调和过程发生混乱。在实际应用中,所述第二设备可以称为节点设备B。The second device can be determined according to actual conditions, and is not limited here. As an example, the second device can be a device that sends a channel detection request message during the channel detection process, or a device that sends a channel detection response message during the channel detection process. Preferably, the second device is a device that sends a channel detection response message during the channel detection process, so as to avoid confusion in the subsequent key consistency reconciliation process. In practical applications, the second device can be called node device B.
在步骤201中,所述第一消息包括第一字段;所述第一字段可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一字段可以是密钥一致性信息(Key AgreementInformation,KAI)字段。In step 201, the first message includes a first field; the first field can be determined according to actual conditions and is not limited here. As an example, the first field can be a key consistency information (Key Agreement Information, KAI) field.
所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息;其中,所述密钥一致性调和能力信息可以用于表示怎么样进行密钥一致性调和,例如支持何种密钥一致性调和方法,再例如每种密钥一致性调和方法涉及的参数等。在实际应用中,不同的密钥一致性调和方法或方案可能有不同的策略信息。该不同的策略信息可以是每个调和方案对应一个策略信息,也可能是多个调和方案对应一个策略。The first field carries at least one key consistency reconciliation capability information supported by the first device; wherein the key consistency reconciliation capability information can be used to indicate how to perform key consistency reconciliation, such as which key consistency reconciliation methods are supported, and the parameters involved in each key consistency reconciliation method. In practical applications, different key consistency reconciliation methods or schemes may have different policy information. The different policy information may be one policy information for each reconciliation scheme, or one policy for multiple reconciliation schemes.
所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;其中,所述第一设备选定过程可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一设备选定的密钥一致性调和能力信息可以为密钥一致性调和方法、每种密钥一致性调和方法涉及的参数等。所述密钥一致性调和能力信息可以用于表示怎么样进行密钥一致性调和,例如支持何种密钥一致性调和方法,再例如每种密钥一致性调和方法涉及的参数等。在实际应用中,不同的密钥一致性调和方法或方案可能有不同的策略信息。该不同的策略信息可以是每个调和方案对应一个策略信息,也可能是多个调和方案对应一个策略。The first field carries the key consistency reconciliation capability information selected by the first device; wherein, the first device selection process can be determined according to actual conditions, which is not limited here. As an example, the key consistency reconciliation capability information selected by the first device can be a key consistency reconciliation method, parameters involved in each key consistency reconciliation method, etc. The key consistency reconciliation capability information can be used to indicate how to perform key consistency reconciliation, such as which key consistency reconciliation methods are supported, and the parameters involved in each key consistency reconciliation method. In actual applications, different key consistency reconciliation methods or schemes may have different policy information. The different policy information can be one policy information for each reconciliation scheme, or one policy for multiple reconciliation schemes.
向第二设备发送第一消息可以理解为第一设备向第二设备发送第一消息,作为一种示例,节点设备A向节点设备B发送第一消息,其中,所述第一消息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一消息可以是密钥一致性调和能力信息。Sending a first message to a second device can be understood as the first device sending a first message to the second device. As an example, node device A sends a first message to node device B, wherein the first message can be determined based on actual conditions and is not limited here. As an example, the first message can be key consistency reconciliation capability information.
在步骤202中,所述第二消息包括第一能力信息;所述第一能力信息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一能力信息可以理解为所述第一设备支持的至少一种密钥一致性调和能力信息中的任一种。在实际应用中,所述第二消息可以基于所述第一字段进行确定。In step 202, the second message includes first capability information; the first capability information can be determined according to actual conditions, and is not limited here. As an example, the first capability information can be understood as any one of at least one key consistency reconciliation capability information supported by the first device. In actual applications, the second message can be determined based on the first field.
所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息可以理解为在至少一种密钥一致性调和能力信息中选择出适合的一种密钥一致性调和能力信息,即第一能力信息。The first capability information being the key consistency and reconciliation capability information selected by the second device can be understood as selecting a suitable key consistency and reconciliation capability information from at least one type of key consistency and reconciliation capability information, namely, the first capability information.
所述第二消息包括密钥一致性调和结果;其中,所述密钥一致性调和结果可以根据实际情况进行确定,在此不做限定,作为一种示例,所述密钥一致性调和结果可以为密钥调和成功、失败等信息。The second message includes a key consistency reconciliation result; wherein, the key consistency reconciliation result can be determined based on actual conditions and is not limited here. As an example, the key consistency reconciliation result can be information such as key reconciliation success or failure.
所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容;其中,支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容均可以根据实际情况进行确定,在此不做限定,作为一种示例,所述支持所述第一设备选定的密钥一致性调和能力信息的内容可以理解为支持何种密钥一致性调和方法,每种密钥一致性调和方法涉及的参数等;所述不支持第一设备选定的密钥一致性调和能力信息的内容可以理解为不支持何种密钥一致性调和方法等。The second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device; wherein, the content that supports the key consistency reconciliation capability information selected by the first device or the content that does not support the key consistency reconciliation capability information selected by the first device can be determined based on actual conditions and is not limited here. As an example, the content that supports the key consistency reconciliation capability information selected by the first device can be understood as what kind of key consistency reconciliation method is supported, the parameters involved in each key consistency reconciliation method, etc.; the content that does not support the key consistency reconciliation capability information selected by the first device can be understood as what kind of key consistency reconciliation method is not supported, etc.
接收所述第二设备发送的第二消息可以理解为第一设备接收所述第二设备发送的第二消息,作为一种示例,节点设备A接收节点设备B发送的第二消息,其中,所述第二消息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第二消息可以是密钥一致性调和能力响应信息。Receiving the second message sent by the second device can be understood as the first device receiving the second message sent by the second device. As an example, node device A receives the second message sent by node device B, wherein the second message can be determined based on actual conditions and is not limited here. As an example, the second message can be key consistency reconciliation capability response information.
本申请实施例,通过第一消息、第二消息的交互,所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息,实现了一致性调和所需传输的信息在通信双方之间有效交互,从而使通信双方能够将基于无线信道时变特性产生的原始密钥序列中不一致的比特对齐,使它们获得协调一致的无线密钥。。In the embodiment of the present application, through the interaction of the first message and the second message, the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, and the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device, so that the information required for consistency reconciliation is effectively interacted between the communicating parties, so that the communicating parties can align the inconsistent bits in the original key sequence generated based on the time-varying characteristics of the wireless channel, so that they can obtain a coordinated and consistent wireless key. .
在一实施例中,所述第一能力信息包括:密钥一致性调和方案信息和/或第一间隔信息;其中,所述第一间隔信息包括交互密钥一致性调和信息的间隔信息。In one embodiment, the first capability information includes: key consistency reconciliation scheme information and/or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
本实施例中,所述密钥一致性调和方案信息、所述第一间隔信息均可以根据实际情况进行确定,在此不做限定,作为一种示例,所述密钥一致性调和方案信息可以理解为密钥一致性调和所需信息;所述第一间隔信息可以为交互密钥一致性调和信息的间隔信息。In this embodiment, the key consistency reconciliation scheme information and the first interval information can be determined according to actual conditions and are not limited here. As an example, the key consistency reconciliation scheme information can be understood as the information required for key consistency reconciliation; the first interval information can be the interval information of the interactive key consistency reconciliation information.
在实际应用中,这里交互的密钥一致性调和信息以及间隔信息其实质是规定了相邻两次执行密钥一致性调和操作(例如,执行一次密钥一致性调和操作包括:第一设备与第二设备互相发送密钥一致性调和信息)的间隔,间隔信息可以有多种实现方式:例如,间隔信息可以为相邻两次执行密钥一致性调和操作的时间间隔,再例如相邻两次执行密钥一致性调和操作之间执行信道探测的次数。In practical applications, the key consistency reconciliation information and interval information exchanged here actually specify the interval between two consecutive key consistency reconciliation operations (for example, performing a key consistency reconciliation operation includes: the first device and the second device sending key consistency reconciliation information to each other). The interval information can be implemented in multiple ways: for example, the interval information can be the time interval between two consecutive key consistency reconciliation operations, and another example is the number of channel detections performed between two consecutive key consistency reconciliation operations.
在实际应用中,示例第一设备为节点设备A,可以简记为A;第二设备为节点设备B,可以简记为B;节点设备A发送信道探测请求消息,通过该消息的KAI字段将自身密钥一致性调和能力信息告知节点设备B,包括设备A所支持的一致性调和方法以及每一方法对应的信息交互间隔。其中,是否携带信息交互间隔具有可选性。例如,若设备A选择不携带,则表示在每次信道探测完成之后都需要进行密钥一致性调和,或者由设备A根据本地密钥生成的情况动态决定何时进行密钥一致性调和。否则,后续信道探测消息根据约定的间隔次数传输相关信息。例如,对于基于BCH码的一致性调和处理方法,A可以向B发送如下信息(BCH),表明每次无线信道探测之后,或者由A动态确定何时传输一致性调和所需信息。对于基于Turbo码的一致性调和处理方法,A可以向B发送如下信息(Turbo,1/4),以表明每4次无线信道探测后对所生成的原始密钥进行1次一致性调和信息的交互。In practical applications, the first device is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; node device A sends a channel detection request message, and informs node device B of its own key consistency reconciliation capability information through the KAI field of the message, including the consistency reconciliation methods supported by device A and the information interaction interval corresponding to each method. Among them, whether to carry the information interaction interval is optional. For example, if device A chooses not to carry, it means that key consistency reconciliation is required after each channel detection is completed, or device A dynamically determines when to perform key consistency reconciliation according to the local key generation situation. Otherwise, subsequent channel detection messages transmit relevant information according to the agreed number of intervals. For example, for a consistency reconciliation processing method based on BCH code, A can send the following information (BCH) to B, indicating that after each wireless channel detection, or A dynamically determines when to transmit the information required for consistency reconciliation. For a consistency reconciliation processing method based on Turbo code, A can send the following information to B (Turbo, 1/4) to indicate that the generated original key is interacted with once after every 4 wireless channel detections.
在一实施例中,在第一字段携带所述密钥一致性调和能力信息时,所述第一字段还携带其他密钥一致性调和的相关信息,所述相关信息包括所述其他密钥一致性调和所需的编码信息和/或密钥比特序列的校验值。In one embodiment, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the encoding information required for the other key consistency reconciliation and/or the check value of the key bit sequence.
本实施例中,所述密钥一致性调和所需的编码信息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述密钥一致性调和所需的编码信息可以为双方密钥比特序列对齐所需的编码信息。In this embodiment, the coding information required for the key consistency reconciliation can be determined according to actual conditions and is not limited here. As an example, the coding information required for the key consistency reconciliation can be the coding information required for aligning the key bit sequences of both parties.
所述密钥比特序列的校验值可以根据实际情况进行确定,在此不做限定,作为一种示例,所述密钥比特序列的校验值可以为:密钥比特序列的校验值,例如,密钥比特序列经奇偶校验、循环冗余校核(Cyclic Redundancy Check,CRC)、散列(Hash)等方法得到的计算值。The check value of the key bit sequence can be determined according to actual conditions and is not limited here. As an example, the check value of the key bit sequence can be: the check value of the key bit sequence, for example, the calculated value of the key bit sequence obtained by methods such as parity check, cyclic redundancy check (CRC), hashing, etc.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
基于所述第二设备发送的信道探测响应信息确定所述第一设备进行信道探测的状态信息;Determine, based on the channel detection response information sent by the second device, state information of the channel detection performed by the first device;
根据所述状态信息生成第一原始密钥比特序列。A first original key bit sequence is generated according to the state information.
本实施例中,所述状态信息可以根据实际情况进行确定,在此不做限定。作为一种示例,所述状态信息可以包括信道状态信息(Channel State Information,CSI)、接收信号的强度指示(Received Signal Strength Indicator,RSSI)等。In this embodiment, the state information may be determined according to actual conditions and is not limited here. As an example, the state information may include channel state information (CSI), received signal strength indicator (RSSI), and the like.
所述第一原始密钥比特序列可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一原始密钥比特序列可以理解为节点设备A进行信道探测生成的原始密钥比特序列。The first original key bit sequence can be determined according to actual conditions and is not limited here. As an example, the first original key bit sequence can be understood as the original key bit sequence generated by node device A during channel detection.
根据所述状态信息生成第一原始密钥比特序列可以理解为对所述状态信息进行量化,生成第一原始密钥比特序列。Generating the first original key bit sequence according to the state information can be understood as quantizing the state information to generate the first original key bit sequence.
在实际应用中,基于本次信道探测响应消息传输所获取的无线信道状态信息(例如,CSI、RSSI等),通信双方将无线信道的状态参量量化,产生二进制比特序列,作为原始生成的密钥,即原始密钥比特序列。In practical applications, based on the wireless channel state information (e.g., CSI, RSSI, etc.) obtained by the transmission of this channel detection response message, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key, i.e., the original key bit sequence.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
根据所述第二消息中的第一能力信息,确定第一间隔信息;Determining first interval information according to the first capability information in the second message;
在所述第一间隔信息满足预设间隔信息的情况下,根据所述第一能力信息向所述第二设备发送第三消息;所述第三消息用于传输所述第二设备根据所述第一能力信息对第二原始密钥比特序列进行信息调和的相关信息;所述第二原始密钥比特序列基于所述第二设备进行信道探测生成本实施例中,所述根据所述第二消息中的第一能力信息,确定第一间隔信息可以理解为根据所述第一能力信息中间隔次数传输相关信息,确定第一间隔信息。作为一种示例,所述第一能力信息中间隔次数传输相关信息可以为Turbo码。In the case where the first interval information satisfies the preset interval information, a third message is sent to the second device according to the first capability information; the third message is used to transmit relevant information of the second device performing information reconciliation on the second original key bit sequence according to the first capability information; the second original key bit sequence is generated based on the second device performing channel detection. In this embodiment, the determination of the first interval information according to the first capability information in the second message can be understood as determining the first interval information according to the relevant information of the number of interval transmissions in the first capability information. As an example, the relevant information of the number of interval transmissions in the first capability information can be a Turbo code.
在所述第一间隔信息满足预设间隔信息的情况下,根据所述第一能力信息向所述第二设备发送第三消息;其中,所述预设间隔信息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述预设间隔信息可以为预设的信息交互间隔。When the first interval information satisfies the preset interval information, a third message is sent to the second device according to the first capability information; wherein the preset interval information can be determined according to actual conditions and is not limited here. As an example, the preset interval information can be a preset information interaction interval.
所述第三消息用于传输所述第二设备根据所述第一能力信息对所述第一原始密钥比特序列进行信息调和的相关信息;其中,所述第三消息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第三消息可以是传输一致性调和所需信息。在实际应用中,所述第三消息可以包括CSI、RSSI等。The third message is used to transmit relevant information that the second device performs information reconciliation on the first original key bit sequence according to the first capability information; wherein the third message can be determined according to actual conditions, and is not limited here. As an example, the third message can be information required for transmission consistency reconciliation. In practical applications, the third message can include CSI, RSSI, etc.
向所述第二设备发送第三消息可以理解为第一设备向第二设备发送第三消息,作为一种示例,节点设备A向节点设备B发送第三消息。Sending the third message to the second device can be understood as the first device sending the third message to the second device. As an example, node device A sends the third message to node device B.
在实际应用中,对于基于Turbo码的一致性调和处理方法,A可以向B发送如下信息(Turbo,1/4),以表明每4次无线信道探测后对所生成的原始密钥进行1次一致性调和信息的交互。In practical applications, for the consistency reconciliation processing method based on Turbo codes, A can send the following information (Turbo, 1/4) to B to indicate that the generated original key is exchanged once for consistency reconciliation information after every 4 wireless channel detections.
在一实施例中,所述根据所述第二消息中第一能力信息,确定第一间隔信息,包括:In one embodiment, determining the first interval information according to the first capability information in the second message includes:
所述第一能力信息包括第一间隔信息,根据第二消息中第一能力信息里包括的第一间隔信息,确定第一间隔信息;The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message;
或,or,
所述第一能力信息不包括第一间隔信息,根据第二消息中的第一能力信息以及本地配置,确定第一间隔信息。The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
本实施例中,第一间隔信息可以是携带在第一消息和第二消息中,是第一设备与第二设备协商得到的。也可以是,在第一设备与第二设备的协商中不携带第一间隔信息,第一消息携带第一设备支持的所有密钥一致性调和方案信息,第二消息携带第二设备选择的密钥一致性调和方案信息。第一设备根据第二设备选的方案,根据第一设备本地配置的方案与第一间隔信息的对应关系,确定后续要采用的第一间隔信息。In this embodiment, the first interval information may be carried in the first message and the second message, and is obtained through negotiation between the first device and the second device. Alternatively, the first interval information is not carried in the negotiation between the first device and the second device, the first message carries all key consistency reconciliation scheme information supported by the first device, and the second message carries the key consistency reconciliation scheme information selected by the second device. The first device determines the first interval information to be subsequently adopted based on the scheme selected by the second device and the correspondence between the scheme locally configured by the first device and the first interval information.
在实际应用中,示例第一设备为节点设备A,可以简记为A;第二设备为节点设备B,可以简记为B;设备B通过信道探测响应消息将选择结果反馈至节点设备A,使A与B采用相同的一致性调和机制进行后续处理。设备A收到信道探测响应消息后,对无线信道进行探测,获取无线信道状态信息,再根据B发来的消息确认后续信息调和的方法和信息交互的间隔,从而完成密钥一致性调和机制的协商。基于本次信道探测请求以及信道探测响应消息传输所获取的无线信道状态信息,通信双方将无线信道的状态参量量化,产生二进制比特序列,作为原始生成的密钥,即原始密钥比特序列。In practical applications, the first device in the example is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; device B feeds back the selection result to node device A through a channel detection response message, so that A and B use the same consistency reconciliation mechanism for subsequent processing. After receiving the channel detection response message, device A detects the wireless channel and obtains the wireless channel state information, and then confirms the subsequent information reconciliation method and the interval of information interaction according to the message sent by B, thereby completing the negotiation of the key consistency reconciliation mechanism. Based on the wireless channel state information obtained by this channel detection request and the channel detection response message transmission, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key, that is, the original key bit sequence.
在一实施例中,所述第三消息包括以下至少之一:In one embodiment, the third message includes at least one of the following:
调和所述第二原始密钥比特序列所需的编码信息;encoding information required to reconcile the second original key bit sequence;
调和所述第二原始密钥比特序列所需的校验值。A check value required to reconcile the second original key bit sequence.
需要说明的是,所述调和所述第二原始密钥比特序列所需的编码信息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述调和所述第二原始密钥比特序列所需的编码信息具体可以为调和双方密钥比特序列对齐所需的编码信息。It should be noted that the coding information required to reconcile the second original key bit sequence can be determined based on actual conditions and is not limited here. As an example, the coding information required to reconcile the second original key bit sequence can specifically be the coding information required to align the key bit sequences of both parties.
所述调和所述第二原始密钥比特序列所需的校验值可以根据实际情况进行确定,在此不做限定,作为一种示例,所述调和所述第二原始密钥比特序列所需的校验值可以为:密钥比特序列的校验值,例如,密钥比特序列经奇偶校验、CRC、Hash等方法得到的计算值。The check value required to reconcile the second original key bit sequence can be determined based on actual conditions and is not limited here. As an example, the check value required to reconcile the second original key bit sequence can be: the check value of the key bit sequence, for example, the calculated value of the key bit sequence obtained by methods such as parity check, CRC, and Hash.
在实际应用中,示例第一设备为节点设备A,可以简记为A;第二设备为节点设备B,可以简记为B;节点设备A再次发送信道探测请求以便生成无线密钥。在发送请求消息之前,首先判断是否达到KAI信息交互间隔。若是,则利用约定的调和方法对之前几次信道探测所生成的原始密钥计算对应的编码信息,同时计算原始密钥比特序列的校验值,然后将它们在信道探测请求消息的KAI字段中携带传输。若否,则此次发送的信道探测请求消息不携带任何密钥一致性调和信息。由此可见KAI相关信息在信道探测请求消息中为可选携带。In practical applications, the first device in the example is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; node device A sends a channel detection request again to generate a wireless key. Before sending the request message, first determine whether the KAI information interaction interval is reached. If so, the agreed reconciliation method is used to calculate the corresponding encoding information for the original key generated by the previous channel detections, and at the same time calculate the check value of the original key bit sequence, and then carry them in the KAI field of the channel detection request message for transmission. If not, the channel detection request message sent this time does not carry any key consistency reconciliation information. It can be seen that KAI related information is optional in the channel detection request message.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
接收所述第二设备发送的第四消息;所述第四消息表征所述第二设备根据所述第一能力信息和所述第三消息包含的相关调和信息对所述第二原始密钥比特序列进行信息调和的结果。Receive a fourth message sent by the second device; the fourth message represents a result of information reconciliation performed by the second device on the second original key bit sequence according to the first capability information and related reconciliation information included in the third message.
需要说明的是,接收所述第二设备发送的第四消息可以为第一设备接收所述第二设备发送的第四消息;其中,所述第四消息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第四消息可以为信道探测响应消息。It should be noted that receiving the fourth message sent by the second device may be that the first device receives the fourth message sent by the second device; wherein, the fourth message can be determined based on actual conditions and is not limited here. As an example, the fourth message may be a channel detection response message.
所述第四消息表征所述第二设备根据所述第一能力信息对所述第二原始密钥比特序列进行信息调和的结果可以理解为第二设备基于接收到的KAI信息执行密钥一致性协调之后,通过该消息向第一设备告知密钥一致性协调的结果。The fourth message represents the result of the second device reconciling the second original key bit sequence according to the first capability information, which can be understood as the second device performing key consistency coordination based on the received KAI information and informing the first device of the result of the key consistency coordination through the message.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
在所述第四消息表征所述第二设备调和成功的情况下,保留所述第一原始密钥比特序列。In the case where the fourth message indicates that the reconciliation of the second device is successful, the first original key bit sequence is retained.
本实施例中,在所述第四消息表征所述第二设备调和成功的情况下,保留所述第一原始密钥比特序列可以理解为双方一致性协调成功,第一设备保留所生成的密钥,即第一原始密钥比特序列。In this embodiment, when the fourth message indicates that the second device has successfully reconciled, retaining the first original key bit sequence can be understood as successful consistency coordination between the two parties, and the first device retains the generated key, that is, the first original key bit sequence.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
在所述第四消息表征所述第二设备调和失败的情况下,丢弃所述第一原始密钥比特序列。In the case where the fourth message indicates that the reconciliation of the second device fails, the first original key bit sequence is discarded.
本实施例中,所述在所述第四消息表征所述第二设备调和失败的情况下,丢弃所述第一原始密钥比特序列可以理解为双方一致性协调失败,第一设备丢弃所生成的密钥,即第一原始密钥比特序列。In this embodiment, when the fourth message indicates that the second device fails to reconcile, discarding the first original key bit sequence can be understood as a failure in the consistency coordination between the two parties, and the first device discards the generated key, that is, the first original key bit sequence.
在实际应用中,示例第一设备为节点设备A,节点设备A收到信道探测响应消息后,执行信道探测,获取新的无线信道状态信息,再根据消息中携带KAI信息的情况确定本次密钥一致性协商的结果,并决定保留或丢弃此次调和的密钥比特序列。若一致性协调成功,节点A保留所生成的密钥,否则丢弃所生成的密钥。In practical applications, the first device is node device A. After receiving the channel detection response message, node device A performs channel detection to obtain new wireless channel status information, and then determines the result of this key consistency negotiation based on the KAI information carried in the message, and decides to retain or discard the reconciled key bit sequence. If the consistency coordination is successful, node A retains the generated key, otherwise it discards the generated key.
相应地,本申请实施例还提供一种信息传输方法,图3为本申请实施例一种信息传输方法的又一种流程示意图,如图3所示;应用于第二设备,包括:Accordingly, an embodiment of the present application further provides an information transmission method. FIG3 is another flow chart of an information transmission method according to an embodiment of the present application, as shown in FIG3; applied to a second device, comprising:
步骤301:接收第一设备发送的第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息。Step 301: Receive a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries key consistency reconciliation capability information selected by the first device.
步骤302:根据所述第一字段确定第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容。Step 302: Determine a second message based on the first field; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
步骤303:向所述第一设备发送所述第二消息。Step 303: Send the second message to the first device.
本实施例中,本实施例中,所述第一设备可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一设备可以是在信道探测过程中发送信道探测请求消息的设备,也可以是信道探测过程中发送信道探测响应消息的设备。优选地,第一设备为信道探测过程中发送信道探测请求消息的设备,从而避免后续的密钥一致性调和过程发生混乱。在实际应用中,所述第一设备可以称为节点设备A。In this embodiment, in this embodiment, the first device can be determined according to actual conditions, and is not limited here. As an example, the first device can be a device that sends a channel detection request message during the channel detection process, or a device that sends a channel detection response message during the channel detection process. Preferably, the first device is a device that sends a channel detection request message during the channel detection process, so as to avoid confusion in the subsequent key consistency reconciliation process. In practical applications, the first device can be called node device A.
所述第二设备可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第二设备可以是在信道探测过程中发送信道探测请求消息的设备,也可以是信道探测过程中发送信道探测响应消息的设备。优选地,第二设备为信道探测过程中发送信道探测响应消息的设备,从而避免后续的密钥一致性调和过程发生混乱。在实际应用中,所述第二设备可以称为节点设备B。The second device can be determined according to actual conditions, and is not limited here. As an example, the second device can be a device that sends a channel detection request message during the channel detection process, or a device that sends a channel detection response message during the channel detection process. Preferably, the second device is a device that sends a channel detection response message during the channel detection process, so as to avoid confusion in the subsequent key consistency reconciliation process. In practical applications, the second device can be called node device B.
在步骤301中,所述第一消息包括第一字段;所述第一字段可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一字段可以是KAI字段。In step 301, the first message includes a first field; the first field can be determined according to actual conditions and is not limited here. As an example, the first field can be a KAI field.
所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息;其中,所述密钥一致性调和能力信息可以用于表示怎么样进行密钥一致性调和,例如支持何种密钥一致性调和方法,再例如每种密钥一致性调和方法涉及的参数等。在实际应用中,不同的密钥一致性调和方法或方案可能有不同的策略信息。该不同的策略信息可以是每个调和方案对应一个策略信息,也可能是多个调和方案对应一个策略。The first field carries at least one key consistency reconciliation capability information supported by the first device; wherein the key consistency reconciliation capability information can be used to indicate how to perform key consistency reconciliation, such as which key consistency reconciliation methods are supported, and the parameters involved in each key consistency reconciliation method. In practical applications, different key consistency reconciliation methods or schemes may have different policy information. The different policy information may be one policy information for each reconciliation scheme, or one policy for multiple reconciliation schemes.
所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;其中,所述第一设备选定过程可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一设备选定的密钥一致性调和能力信息可以为密钥一致性调和所需的编码信息和/或密钥比特序列的校验值。所述密钥一致性调和能力信息可以用于表示怎么样进行密钥一致性调和,例如支持何种密钥一致性调和方法,再例如每种密钥一致性调和方法涉及的参数等。在实际应用中,不同的密钥一致性调和方法或方案可能有不同的策略信息。该不同的策略信息可以是每个调和方案对应一个策略信息,也可能是多个调和方案对应一个策略。The first field carries the key consistency reconciliation capability information selected by the first device; wherein, the first device selection process can be determined according to actual conditions, which is not limited here. As an example, the key consistency reconciliation capability information selected by the first device can be the encoding information required for key consistency reconciliation and/or the verification value of the key bit sequence. The key consistency reconciliation capability information can be used to indicate how to perform key consistency reconciliation, such as which key consistency reconciliation methods are supported, and the parameters involved in each key consistency reconciliation method. In actual applications, different key consistency reconciliation methods or schemes may have different policy information. The different policy information can be one policy information for each reconciliation scheme, or one policy for multiple reconciliation schemes.
接收第一设备发送的第一消息可以理解为第二设备接收第一设备发送的第一消息,作为一种示例,节点设备B接收节点设备A发送的第一消息,其中,所述第一消息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一消息可以是密钥一致性调和能力信息。Receiving the first message sent by the first device can be understood as the second device receiving the first message sent by the first device. As an example, node device B receives the first message sent by node device A, wherein the first message can be determined based on actual conditions and is not limited here. As an example, the first message can be key consistency reconciliation capability information.
在步骤302中,所述第二消息包括第一能力信息;所述第一能力信息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第一能力信息可以理解为所述第一设备支持的至少一种密钥一致性调和能力信息中的任一种。在实际应用中,所述第二消息可以基于所述第一字段进行确定。In step 302, the second message includes first capability information; the first capability information can be determined according to actual conditions, and is not limited here. As an example, the first capability information can be understood as any one of at least one key consistency reconciliation capability information supported by the first device. In actual applications, the second message can be determined based on the first field.
所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息可以理解为在至少一种密钥一致性调和能力信息中选择出适合的一种密钥一致性调和能力信息,即第一能力信息。The first capability information being the key consistency and reconciliation capability information selected by the second device can be understood as selecting a suitable key consistency and reconciliation capability information from at least one type of key consistency and reconciliation capability information, namely, the first capability information.
所述第二消息包括密钥一致性调和结果;其中,所述密钥一致性调和结果可以根据实际情况进行确定,在此不做限定,作为一种示例,所述密钥一致性调和结果可以为密钥调和成功、失败等信息。The second message includes a key consistency reconciliation result; wherein, the key consistency reconciliation result can be determined based on actual conditions, which is not limited here. As an example, the key consistency reconciliation result can be information such as key reconciliation success or failure.
所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容;其中,支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容均可以根据实际情况进行确定,在此不做限定,作为一种示例,所述支持所述第一设备选定的密钥一致性调和能力信息的内容可以理解为支持何种密钥一致性调和方法,每种密钥一致性调和方法涉及的参数等;所述不支持第一设备选定的密钥一致性调和能力信息的内容可以理解为不支持何种密钥一致性调和方法等。The second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device; wherein, the content that supports the key consistency reconciliation capability information selected by the first device or the content that does not support the key consistency reconciliation capability information selected by the first device can be determined based on actual conditions and is not limited here. As an example, the content that supports the key consistency reconciliation capability information selected by the first device can be understood as what kind of key consistency reconciliation method is supported, the parameters involved in each key consistency reconciliation method, etc.; the content that does not support the key consistency reconciliation capability information selected by the first device can be understood as what kind of key consistency reconciliation method is not supported, etc.
根据所述第一字段确定第二消息可以理解为所述第一字段中携带第二消息。Determining the second message according to the first field can be understood as carrying the second message in the first field.
在步骤303中,向所述第一设备发送所述第二消息可以理解为第二设备向所述第一设备发送第二消息,作为一种示例,节点设备B向节点设备A发送第二消息,其中,所述第二消息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第二消息可以是密钥一致性调和能力响应信息。In step 303, sending the second message to the first device can be understood as the second device sending the second message to the first device. As an example, node device B sends the second message to node device A, wherein the second message can be determined based on actual conditions and is not limited here. As an example, the second message can be a key consistency reconciliation capability response information.
本申请的实施例,通过第一消息、第二消息的交互,所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息,实现了一致性调和所需传输的信息在通信双方之间有效交互,从而使通信双方能够将基于无线信道时变特性产生的原始密钥序列中不一致的比特对齐,使它们获得协调一致的无线密钥。In an embodiment of the present application, through the interaction of a first message and a second message, the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, and the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device, thereby realizing effective interaction of information required to be transmitted for consistency reconciliation between the communicating parties, thereby enabling the communicating parties to align inconsistent bits in the original key sequence generated based on the time-varying characteristics of the wireless channel, so that they can obtain coordinated and consistent wireless keys.
在一实施例中,所述第一能力信息包括:密钥一致性调和方案信息和/或第一间隔信息;其中,所述第一间隔信息包括交互密钥一致性调和信息的间隔信息。In one embodiment, the first capability information includes: key consistency reconciliation scheme information and/or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
本实施例中,所述密钥一致性调和方案信息、所述第一间隔信息均可以根据实际情况进行确定,在此不做限定,作为一种示例,所述密钥一致性调和方案信息可以理解为密钥一致性调和所需信息;所述第一间隔信息可以为交互密钥一致性调和信息的间隔信息。In this embodiment, the key consistency reconciliation scheme information and the first interval information can be determined according to actual conditions and are not limited here. As an example, the key consistency reconciliation scheme information can be understood as the information required for key consistency reconciliation; the first interval information can be the interval information of the interactive key consistency reconciliation information.
在实际应用中,这里交互的密钥一致性调和信息以及间隔信息其实质是规定了相邻两次执行密钥一致性调和操作(例如,执行一次密钥一致性调和操作包括:第一设备与第二设备互相发送密钥一致性调和信息)的间隔,间隔信息可以有多种实现方式:例如,间隔信息可以为相邻两次执行密钥一致性调和操作的时间间隔,再例如相邻两次执行密钥一致性调和操作之间执行信道探测的次数。In practical applications, the key consistency reconciliation information and interval information exchanged here actually specify the interval between two consecutive key consistency reconciliation operations (for example, performing a key consistency reconciliation operation includes: the first device and the second device sending key consistency reconciliation information to each other). The interval information can be implemented in multiple ways: for example, the interval information can be the time interval between two consecutive key consistency reconciliation operations, and another example is the number of channel detections performed between two consecutive key consistency reconciliation operations.
在实际应用中,示例第一设备为节点设备A,可以简记为A;第二设备为节点设备B,可以简记为B;节点设备B收到信道探测请求消息后,节点设备B对无线信道进行探测,获取无线信道状态信息,然后根据设备A的能力以及自身能力,选择合适的密钥一致性调和方法(例如,双方均支持的某种方法)及信息交互间隔。In practical applications, the first device is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; after node device B receives the channel detection request message, node device B detects the wireless channel, obtains the wireless channel status information, and then selects the appropriate key consistency reconciliation method (for example, a method supported by both parties) and information interaction interval based on the capabilities of device A and its own capabilities.
在一实施例中,在第一字段携带所述密钥一致性调和能力信息时,所述第一字段还携带其他密钥一致性调和的相关信息,所述相关信息包括所述其他密钥一致性调和所需的编码信息和/或密钥比特序列的校验值。In one embodiment, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the encoding information required for the other key consistency reconciliation and/or the check value of the key bit sequence.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
基于所述第一设备发送的信道探测请求信息确定所述第二设备进行信道探测的状态信息;Determining, based on the channel detection request information sent by the first device, state information of the channel detection performed by the second device;
根据所述状态信息生成第二原始密钥比特序列。A second original key bit sequence is generated according to the state information.
本实施例中,所述状态信息可以根据实际情况进行确定,在此不做限定。作为一种示例,所述状态信息可以包括CSI、RSSI等。In this embodiment, the state information may be determined according to actual conditions and is not limited here. As an example, the state information may include CSI, RSSI, etc.
所述第二原始密钥比特序列可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第二原始密钥比特序列可以理解为节点设备B进行信道探测生成的原始密钥比特序列。The second original key bit sequence can be determined according to actual conditions and is not limited here. As an example, the second original key bit sequence can be understood as the original key bit sequence generated by node device B during channel detection.
根据所述状态信息生成第二原始密钥比特序列可以理解为对所述状态信息进行量化,生成第二原始密钥比特序列。Generating the second original key bit sequence according to the state information can be understood as quantizing the state information to generate the second original key bit sequence.
在实际应用中,基于本次信道探测请求消息传输所获取的无线信道状态信息(例如,CSI、RSSI等),通信双方将无线信道的状态参量量化,产生二进制比特序列,作为原始生成的密钥,即原始密钥比特序列。In practical applications, based on the wireless channel state information (e.g., CSI, RSSI, etc.) obtained by the transmission of this channel detection request message, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key, i.e., the original key bit sequence.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
根据所述第二消息中的第一能力信息,确定第一间隔信息;Determining first interval information according to the first capability information in the second message;
在所述第一间隔信息满足预设间隔信息的情况下,接收所述第一设备发送的第三消息;When the first interval information meets the preset interval information, receiving a third message sent by the first device;
基于所述第三消息,所述第二设备根据所述第一能力信息对所述第二原始密钥比特序列进行信息调和。Based on the third message, the second device reconciles the second original key bit sequence according to the first capability information.
本实施例中,所述根据所述第二消息中的第一能力信息,确定第一间隔信息可以理解为根据所述第一能力信息中间隔次数传输相关信息,确定第一间隔信息。作为一种示例,所述第一能力信息中间隔次数传输相关信息可以为Turbo码。In this embodiment, determining the first interval information according to the first capability information in the second message can be understood as determining the first interval information according to the interval transmission related information in the first capability information. As an example, the interval transmission related information in the first capability information can be a Turbo code.
在所述第一间隔信息满足预设间隔信息的情况下,接收所述第一设备发送的第三消息;其中,所述预设间隔信息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述预设间隔信息可以为预设的信息交互间隔。When the first interval information satisfies the preset interval information, a third message sent by the first device is received; wherein the preset interval information can be determined according to actual conditions and is not limited here. As an example, the preset interval information can be a preset information interaction interval.
所述第三消息用于传输所述第二设备根据所述第一能力信息对所述第一原始密钥比特序列进行信息调和的相关信息;其中,所述第三消息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第三消息可以是传输一致性调和所需信息。在实际应用中,所述第三消息可以包括CSI、RSSI。The third message is used to transmit relevant information about the information reconciliation performed by the second device on the first original key bit sequence according to the first capability information; wherein the third message can be determined according to actual conditions, and is not limited here. As an example, the third message can be information required for transmission consistency reconciliation. In practical applications, the third message can include CSI and RSSI.
接收所述第一设备发送的第三消息可以理解为第二设备接收第一设备发送的第三消息,作为一种示例,节点设备B向节点设备A发送第三消息。Receiving the third message sent by the first device can be understood as the second device receiving the third message sent by the first device. As an example, node device B sends the third message to node device A.
在实际应用中,节点设备B接收到信息探测请求后,首先进行信道探测,获取新的信道状态信息,再确认该消息是否携带了一致性调和的相关信息。若未携带,则只执行信道探测,而不进行一致性调和相关的任何处理。否则,设备B根据KAI字段携带的编码信息完成密钥比特序列的一致性调和处理,以纠正与A不一致的密钥比特。In actual applications, after receiving the information detection request, node device B first performs channel detection to obtain new channel state information, and then confirms whether the message carries relevant information for consistency reconciliation. If not, only channel detection is performed without any processing related to consistency reconciliation. Otherwise, device B completes the consistency reconciliation of the key bit sequence according to the coded information carried by the KAI field to correct the key bits that are inconsistent with A.
在一实施例中,在第一字段携带所述第一设备选定的密钥一致性调和能力信息时,所述第一字段还携带密钥一致性调和所需的编码信息和/或密钥比特序列的校验值。In one embodiment, when the first field carries the key consistency reconciliation capability information selected by the first device, the first field also carries the encoding information required for key consistency reconciliation and/or the check value of the key bit sequence.
本实施例中,所述密钥一致性调和所需的编码信息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述密钥一致性调和所需的编码信息可以为双方密钥比特序列对齐所需的编码信息。In this embodiment, the coding information required for the key consistency reconciliation can be determined according to actual conditions and is not limited here. As an example, the coding information required for the key consistency reconciliation can be the coding information required for aligning the key bit sequences of both parties.
所述密钥比特序列的校验值可以根据实际情况进行确定,在此不做限定,作为一种示例,所述密钥比特序列的校验值可以为:密钥比特序列的校验值,例如,密钥比特序列经奇偶校验、CRC、Hash等方法得到的计算值。The check value of the key bit sequence can be determined according to actual conditions and is not limited here. As an example, the check value of the key bit sequence can be: the check value of the key bit sequence, for example, the calculated value of the key bit sequence obtained by methods such as parity check, CRC, and Hash.
在一实施例中,所述根据所述第二消息中第一能力信息,确定第一间隔信息,包括:In one embodiment, determining the first interval information according to the first capability information in the second message includes:
所述第一能力信息包括第一间隔信息,根据第二消息中第一能力信息里包括的第一间隔信息,确定第一间隔信息;The first capability information includes first interval information, and the first interval information is determined according to the first interval information included in the first capability information in the second message;
或,or,
所述第一能力信息不包括第一间隔信息,根据第二消息中的第一能力信息以及本地配置,确定第一间隔信息。The first capability information does not include first interval information, and the first interval information is determined according to the first capability information in the second message and local configuration.
本实施例中,第一间隔信息可以是携带在第一消息和第二消息中,是第一设备与第二设备协商得到的。也可以是,在第一设备与第二设备的协商中不携带第一间隔信息,第一消息携带第一设备支持的所有密钥一致性调和方案信息,第二消息携带第二设备选择的密钥一致性调和方案信息。第一设备根据第二设备选的方案,根据第一设备本地配置的方案与第一间隔信息的对应关系,确定后续要采用的第一间隔信息。In this embodiment, the first interval information may be carried in the first message and the second message, and is obtained through negotiation between the first device and the second device. Alternatively, the first interval information is not carried in the negotiation between the first device and the second device, the first message carries all key consistency reconciliation scheme information supported by the first device, and the second message carries the key consistency reconciliation scheme information selected by the second device. The first device determines the first interval information to be subsequently adopted based on the scheme selected by the second device and the correspondence between the scheme locally configured by the first device and the first interval information.
在实际应用中,示例第一设备为节点设备A,可以简记为A;第二设备为节点设备B,可以简记为B;设备B通过信道探测响应消息将选择结果反馈至节点设备A,使A与B采用相同的一致性调和机制进行后续处理。In practical applications, the first device is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; device B feeds back the selection result to node device A through a channel detection response message, so that A and B use the same consistency reconciliation mechanism for subsequent processing.
在一实施例中,所述第三消息包括以下至少之一:In one embodiment, the third message includes at least one of the following:
调和所述第二原始密钥比特序列所需的编码信息;encoding information required to reconcile the second original key bit sequence;
调和所述第二原始密钥比特序列所需的校验值。A check value required to reconcile the second original key bit sequence.
需要说明的是,所述调和所述第一原始密钥比特序列所需的编码信息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述调和所述第一原始密钥比特序列所需的编码信息具体可以为调和双方密钥比特序列对齐所需的编码信息。It should be noted that the coding information required to reconcile the first original key bit sequence can be determined based on actual conditions and is not limited here. As an example, the coding information required to reconcile the first original key bit sequence can specifically be the coding information required to align the key bit sequences of both parties.
所述调和所述第一原始密钥比特序列所需的校验值可以根据实际情况进行确定,在此不做限定,作为一种示例,所述调和所述第一原始密钥比特序列所需的校验值可以为:密钥比特序列的校验值,例如,密钥比特序列经奇偶校验、CRC、Hash等方法得到的计算值。The check value required to reconcile the first original key bit sequence can be determined based on actual conditions and is not limited here. As an example, the check value required to reconcile the first original key bit sequence can be: the check value of the key bit sequence, for example, the calculated value of the key bit sequence obtained by methods such as parity check, CRC, and Hash.
在实际应用中,示例第一设备为节点设备A,可以简记为A;第二设备为节点设备B,可以简记为B;节点设备B接收到信息探测请求后,首先进行信道探测,获取新的信道状态信息,再确认该消息是否携带了一致性调和的相关信息。若未携带,则只执行信道探测,而不进行一致性调和相关的任何处理。否则,设备B根据KAI字段携带的编码信息完成密钥比特序列的一致性调和处理,以纠正与A不一致的密钥比特。In practical applications, the first device is node device A, which can be abbreviated as A; the second device is node device B, which can be abbreviated as B; after receiving the information detection request, node device B first performs channel detection to obtain new channel state information, and then confirms whether the message carries relevant information for consistency reconciliation. If not, only channel detection is performed without any processing related to consistency reconciliation. Otherwise, device B completes the consistency reconciliation of the key bit sequence according to the encoded information carried by the KAI field to correct the key bits that are inconsistent with A.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
向所述第一设备发送第四消息;所述第四消息表征所述第二设备根据所述第一能力信息和所述第三消息包含的相关调和信息对所述第二原始密钥比特序列进行信息调和的结果。A fourth message is sent to the first device; the fourth message represents a result of information reconciliation performed by the second device on the second original key bit sequence according to the first capability information and related reconciliation information included in the third message.
需要说明的是,向所述第一设备发送第四消息可以为第二设备向所述第一设备发送第四消息;其中,所述第四消息可以根据实际情况进行确定,在此不做限定,作为一种示例,所述第四消息可以为信道探测响应消息。It should be noted that sending the fourth message to the first device may be that the second device sends the fourth message to the first device; wherein, the fourth message can be determined based on actual conditions and is not limited here. As an example, the fourth message may be a channel detection response message.
所述第四消息表征所述第二设备根据所述第一能力信息对所述第二原始密钥比特序列进行信息调和的结果可以理解为第二设备基于接收到的KAI信息执行密钥一致性协调之后,通过该消息向第一设备告知密钥一致性协调的结果。The fourth message represents the result of the second device reconciling the second original key bit sequence according to the first capability information. It can be understood that after the second device performs key consistency coordination based on the received KAI information, it informs the first device of the result of the key consistency coordination through the message.
在实际应用中,节点设备B返回信道探测响应消息,并且基于接收到的KAI信息执行密钥一致性协调之后,通过该消息向节点A告知密钥一致性协调的结果。具体告知方法可例如,1.不携带KAI任何一致性调和信息,以默认方式表明密钥一致性调和的成功或者失败;2.携带KAI,其中包含密钥一致性调和的结果,以显示方式告知密钥一致性调和的成功或者失败。In actual applications, node device B returns a channel detection response message, and after performing key consistency coordination based on the received KAI information, it informs node A of the result of key consistency coordination through this message. The specific notification method can be, for example, 1. Not carrying any consistency coordination information of KAI, indicating the success or failure of key consistency coordination in a default manner; 2. Carrying KAI, which contains the result of key consistency coordination, to inform the success or failure of key consistency coordination in an explicit manner.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
在所述第四消息表征所述第二设备调和成功的情况下,保留所述第二原始密钥比特序列。In the case where the fourth message indicates that the reconciliation of the second device is successful, the second original key bit sequence is retained.
本实施例中,在所述第四消息表征所述第二设备调和成功的情况下,保留所述第二原始密钥比特序列可以理解为双方一致性协调成功,第二设备保留所生成的密钥,即第二原始密钥比特序列。In this embodiment, when the fourth message indicates that the second device has been successfully reconciled, retaining the second original key bit sequence can be understood as successful consistency coordination between the two parties, and the second device retains the generated key, that is, the second original key bit sequence.
在一实施例中,所述方法还包括:In one embodiment, the method further comprises:
在所述第四消息表征所述第二设备调和失败的情况下,丢弃所述第二原始密钥比特序列。In the case where the fourth message indicates that the second device reconciliation fails, the second original key bit sequence is discarded.
本实施例中,所述在所述第四消息表征所述第二设备调和失败的情况下,丢弃所述第一原始密钥比特序列可以理解为双方一致性协调失败,第二设备丢弃所生成的密钥,即第二原始密钥比特序列。In this embodiment, when the fourth message indicates that the second device fails to reconcile, discarding the first original key bit sequence can be understood as a failure in the consistency coordination between the two parties, and the second device discards the generated key, that is, the second original key bit sequence.
在实际应用中,示例第一设备为节点设备A,第二设备为节点设备B;节点设备B返回信道探测响应消息,并且基于接收到的KAI信息执行密钥一致性协调之后,通过该消息向节点A告知密钥一致性协调的结果。具体告知方法可例如,1.不携带KAI任何一致性调和信息,以默认方式表明密钥一致性调和的成功或者失败;2.携带KAI,其中包含密钥一致性调和的结果,以显示方式告知密钥一致性调和的成功或者失败。若成功,则认为双方经一致性调和后的密钥达成一致,节点A和节点B分别保留协调一致的密钥,否则认为双方经一致性调和后的密钥仍未达成一致,双方丢弃所生成的密钥。In practical applications, the first device is node device A, and the second device is node device B; node device B returns a channel detection response message, and after performing key consistency coordination based on the received KAI information, it informs node A of the result of key consistency coordination through the message. The specific notification method may be, for example, 1. Not carrying any consistency coordination information of KAI, indicating the success or failure of key consistency coordination in a default manner; 2. Carrying KAI, which contains the result of key consistency coordination, to inform the success or failure of key consistency coordination in an explicit manner. If successful, it is considered that the keys after consistency coordination between the two parties are consistent, and node A and node B respectively retain the coordinated keys. Otherwise, it is considered that the keys after consistency coordination between the two parties are still inconsistent, and both parties discard the generated keys.
为了方便理解本申请,前面实施例均可参照下面相关技术进行解释和说明。In order to facilitate the understanding of the present application, the above embodiments can be explained and illustrated with reference to the following related technologies.
1.无线物理层密钥生成技术描述。1. Description of wireless physical layer key generation technology.
由于无线信道的开放性,无线通信系统传输的信息容易遭受窃听、仿冒、篡改等恶意攻击,无线通信的安全性成为一个备受关注的问题。为此,无线通信系统通常采用密码学的方法来对所传输的数据信息进行加密保护,以确保通信的安全性。然而,现有的密码安全机制在应用时面临着密钥随机性不足、密钥分发困难等方面问题,难以满足未来无线通信较高的安全应用需求。Due to the openness of wireless channels, the information transmitted by wireless communication systems is vulnerable to malicious attacks such as eavesdropping, counterfeiting, and tampering. The security of wireless communication has become a matter of great concern. To this end, wireless communication systems usually use cryptographic methods to encrypt and protect the transmitted data information to ensure the security of communication. However, the existing cryptographic security mechanism faces problems such as insufficient key randomness and difficulty in key distribution when applied, which makes it difficult to meet the higher security application requirements of future wireless communications.
为了增强无线通信系统的安全性,近年来从信息论安全理论出发,提出了利用无线信道的安全特性实现物理层安全的方法。其中,无线物理层密钥生成技术利用无线信道天然的随机性、互易性和空间去相关特性,使收发双方从无线信道中提取出相似的信道特征并生成一致的密钥,从而实现密码安全通信。因此,它是保障通信安全,实现安全与通信一体化的关键手段。In order to enhance the security of wireless communication systems, in recent years, starting from the information theory security theory, a method of using the security characteristics of wireless channels to achieve physical layer security has been proposed. Among them, the wireless physical layer key generation technology uses the natural randomness, reciprocity and spatial decorrelation characteristics of the wireless channel to enable the sender and receiver to extract similar channel characteristics from the wireless channel and generate consistent keys, thereby achieving cryptographically secure communication. Therefore, it is a key means to ensure communication security and achieve the integration of security and communication.
2.WLAN系统MAC帧格式。2. WLAN system MAC frame format.
为了能够在WLAN系统中实现有效的无线信道探测,它在WLAN MAC层定义了专用的信道探测请求、信道探测响应MAC帧,用于无线信道探测,具体格式如图4所示,图4为信道探测请求消息的示意图。In order to implement effective wireless channel detection in the WLAN system, it defines dedicated channel detection request and channel detection response MAC frames in the WLAN MAC layer for wireless channel detection. The specific format is shown in Figure 4, which is a schematic diagram of the channel detection request message.
(1)信道探测请求。(1) Channel probe request.
它包括Frame Control(帧控制)、Duration(持续时间)、RA(Receiver Address,接收端地址)、TA(Transmitter Address,发送端地址)、FCS(Frame Check Sequence,帧检验序列)信息。Duration为可选。It includes Frame Control, Duration, RA (Receiver Address), TA (Transmitter Address), and FCS (Frame Check Sequence). Duration is optional.
(2)信道探测响应。(2) Channel Probe Response.
该内容可以结合图5进行理解,图5为信道探测响应消息的示意图。This content can be understood in conjunction with FIG5 , which is a schematic diagram of a channel detection response message.
它包括Frame Control(帧控制)、Duration(持续时间)、RA(Receiver Address,接收端地址)、FCS(Frame Check Sequence,帧检验序列)信息。Duration为可选。It includes Frame Control, Duration, RA (Receiver Address), and FCS (Frame Check Sequence). Duration is optional.
信道探测请求和信道探测响应MAC帧可采用如下方式实现:The channel probe request and channel probe response MAC frames can be implemented in the following ways:
1.新的MAC帧类型。1. New MAC frame type.
在现有MAC协议中,Type=11为保留的帧类型。利用此保留值,可定义新的无线信道探测MAC帧。例如,Type=11表示探测帧,其中的子类型Subtype=0000表示信道探测请求,Subtype=0001表示信道探测响应,Subtype=0010~1111,保留。该内容可以结合图6进行理解,图6为信道探测请求及响应消息实现的示意图。In the existing MAC protocol, Type = 11 is a reserved frame type. Using this reserved value, a new wireless channel detection MAC frame can be defined. For example, Type = 11 represents a detection frame, where Subtype = 0000 represents a channel detection request, Subtype = 0001 represents a channel detection response, and Subtype = 0010 to 1111 are reserved. This content can be understood in conjunction with Figure 6, which is a schematic diagram of the implementation of a channel detection request and response message.
2.新的MAC帧子类型。2. New MAC frame subtype.
在当前管理、控制、数据MAC帧中均有Subtype保留值未用,利用此保留值定义新的无线信道探测MAC帧。例如,定义信道探测请求和信道探测响应为控制帧的一种,Type=01,Subtype=1000表示信道探测请求;Type=01,Subtype=1001表示信道探测响应。该内容可以结合图7进行理解,图7为信道探测请求及响应消息实现的又一种示意图。In the current management, control, and data MAC frames, there are reserved values of Subtype that are not used. This reserved value is used to define a new wireless channel detection MAC frame. For example, a channel detection request and a channel detection response are defined as a type of control frame. Type = 01, Subtype = 1000 indicates a channel detection request; Type = 01, Subtype = 1001 indicates a channel detection response. This content can be understood in conjunction with Figure 7, which is another schematic diagram of the implementation of a channel detection request and response message.
本申请示例信息传输方法具体为无线物理层密钥一致性调和信息传输方法。The example information transmission method of the present application is specifically a wireless physical layer key consistency coordination information transmission method.
为了提高密钥生成率,密钥一致性调和机制通常使用基于双向密钥协商协议或单向纠错编码的信息调和方法,来纠正基于无线信道所生成原始密钥序列的不一致比特。前者以BBBSS、Cascade和Winnow等协议为基础,通过交换校验码完成信息调和。后者利用具有前向纠错能力的信道编码技术实现密钥协商,前向纠错码(Forward Error Correction,FEC)码族包括BCH编码、Reed-Solomon编码、Golay编码、Turbo编码、Polar编码以及LDPC编码等,均可用于密钥的一致性调和。In order to improve the key generation rate, the key consistency reconciliation mechanism usually uses an information reconciliation method based on a two-way key negotiation protocol or a one-way error correction coding to correct the inconsistent bits of the original key sequence generated based on the wireless channel. The former is based on protocols such as BBBSS, Cascade, and Winnow, and completes information reconciliation by exchanging check codes. The latter uses channel coding technology with forward error correction capabilities to achieve key negotiation. The forward error correction code (FEC) code family includes BCH coding, Reed-Solomon coding, Golay coding, Turbo coding, Polar coding, and LDPC coding, which can all be used for key consistency reconciliation.
本申请针对单向的无线密钥一致性调和机制提出了一种信息传输方法,它能够将基于单向纠错编码进行一致性调和所需传输的信息在通信双方之间有效交互,从而使通信双方能够将基于无线信道时变特性产生的原始密钥序列中不一致的比特对齐,使它们获得协调一致的无线密钥。The present application proposes an information transmission method for a one-way wireless key consistency reconciliation mechanism, which can effectively exchange the information required for consistency reconciliation based on one-way error correction coding between the communicating parties, so that the communicating parties can align the inconsistent bits in the original key sequence generated based on the time-varying characteristics of the wireless channel, so that they can obtain a coordinated and consistent wireless key.
在实际通信过程中,设备物理层可能会执行多次无线信道探测过程生成密钥,从而获得足够长的可用密钥。因此,本申请所提一致性调和信息交互流程及方法能够与单次或多次无线信道探测及密钥生成过程相适配,即能够在每次信道探测完成之后对所获得的原始密钥进行一致性调和,或者在多次信道探测完成之后,对累积获取的更多原始密钥一起进行一致性调和。In the actual communication process, the physical layer of the device may perform multiple wireless channel detection processes to generate keys, thereby obtaining a sufficiently long usable key. Therefore, the consistency reconciliation information interaction process and method proposed in this application can be adapted to a single or multiple wireless channel detection and key generation process, that is, it can reconcile the original key obtained after each channel detection is completed, or after multiple channel detections are completed, reconcile more original keys accumulated together.
为了避免一致性协调所需信息的交互引入额外的消息传输开销,本申请对已提出的WLAN MAC层信道探测请求、信道探测响应消息做进一步改进,使其能够在完成无线信道探测的同时,实现密钥一致性调和信息的交互。具体方案如下:In order to avoid introducing additional message transmission overhead for the interaction of information required for consistency coordination, this application further improves the proposed WLAN MAC layer channel detection request and channel detection response messages, so that it can achieve the interaction of key consistency coordination information while completing wireless channel detection. The specific solution is as follows:
1、改进的信道探测请求。1. Improved channel detection request.
本申请在已有的信道探测请求MAC帧中,增加密钥一致性信息,以实现无线密钥一致性调和信息的上行/正向/前向传输。具体格式可以结合图8进行理解,图8为本申请实施例中改进的信道探测请求消息的示意图。其中KAI为新增内容。The present application adds key consistency information to the existing channel detection request MAC frame to realize the uplink/forward/forward transmission of wireless key consistency reconciliation information. The specific format can be understood in conjunction with Figure 8, which is a schematic diagram of the improved channel detection request message in the embodiment of the present application. KAI is the newly added content.
2、改进的信道探测响应。2. Improved channel detection response.
本申请在已有的信道探测响应MAC帧中,增加密钥一致性信息,以实现无线密钥一致性调和信息的下行/反向/后向传输。具体格式可以结合图9进行理解,图9为本申请实施例中改进的信道探测响应消息的示意图。The present application adds key consistency information to the existing channel detection response MAC frame to realize downlink/reverse/backward transmission of wireless key consistency reconciliation information. The specific format can be understood in conjunction with Figure 9, which is a schematic diagram of an improved channel detection response message in an embodiment of the present application.
上述MAC帧通过增加新的字段KAI(Key Agreement Information,密钥一致性信息)传输密钥一致性调和信息,该字段可包括:设备所支持的信息调和方法或算法或机制(即,所支持的一致性调和能力)、交互密钥一致性调和信息的间隔信息(即,每经过XX次信道探测后交互一次调和信息)、将双方原始密钥比特序列对齐所需的编码信息、密钥比特序列的校验值(如,密钥比特序列经奇偶校验、CRC、Hash散列等方法得到的计算值)、密钥一致性调和的结果(如,密钥调和成功、失败)等信息。The above-mentioned MAC frame transmits key consistency reconciliation information by adding a new field KAI (Key Agreement Information), which may include: the information reconciliation method, algorithm or mechanism supported by the device (that is, the supported consistency reconciliation capability), the interval information of the exchange of key consistency reconciliation information (that is, the reconciliation information is exchanged once every XX channel detections), the coding information required to align the original key bit sequences of both parties, the check value of the key bit sequence (such as the calculated value of the key bit sequence obtained by parity check, CRC, Hash hashing, etc.), the result of key consistency reconciliation (such as key reconciliation success, failure) and other information.
3、一致性调和信息传输流程。3. Consistency coordinates the information transmission process.
为高效传输密钥一致性调和所需信息,WLAN两节点设备在发送信道探测请求和信道探测响应消息的过程中携带一致性调和信息,并根据消息携带信息内容的不同,可有两种信息传输流程,如图10、图11所示;图10为本申请实施例一种单向密钥一致性调和方法的信息传输的流程示意图,图11为本申请实施例另一种单向密钥一致性调和方法的信息传输的流程示意图。其中,WLAN节点设备A、B可以是AP,也可以是STA。In order to efficiently transmit the information required for key consistency reconciliation, the two WLAN node devices carry consistency reconciliation information in the process of sending channel detection request and channel detection response messages, and there are two information transmission processes according to the different information contents carried by the messages, as shown in Figures 10 and 11; Figure 10 is a schematic diagram of the information transmission process of a one-way key consistency reconciliation method in an embodiment of the present application, and Figure 11 is a schematic diagram of the information transmission process of another one-way key consistency reconciliation method in an embodiment of the present application. Among them, WLAN node devices A and B can be APs or STAs.
(1)单向密钥一致性调和方法的信息传输流程。(1) Information transmission process of the one-way key consistency reconciliation method.
上述信道探测消息的KAI字段可选携带密钥一致性调和的相关信息。例如,进行首次信道探测时,通过携带设备A的一致性调和能力信息,与节点设备B协商后续一致性调和处理所采用的方法、信息交互间隔等。协商完毕后,除非系统要求更换信息调和方法,否则后续的信道探测消息只需携带包括编码信息、密钥比特序列的校验值、调和结果等一致性调和信息即可。具体交互流程如下:The KAI field of the above channel detection message can optionally carry relevant information about key consistency reconciliation. For example, when performing the first channel detection, by carrying the consistency reconciliation capability information of device A, negotiate with node device B on the method used for subsequent consistency reconciliation processing, information exchange interval, etc. After the negotiation is completed, unless the system requires a change in the information reconciliation method, subsequent channel detection messages only need to carry consistency reconciliation information including coding information, check value of the key bit sequence, reconciliation results, etc. The specific interaction process is as follows:
1a.节点设备A发送信道探测请求消息,通过该消息的KAI字段将自身密钥一致性调和能力信息告知节点设备B,包括设备A所支持的一致性调和方法以及每一方法对应的信息交互间隔。其中,是否携带信息交互间隔具有可选性。例如,若设备A选择不携带,则表示在每次信道探测完成之后都需要进行密钥一致性调和,或者由设备A根据本地密钥生成的情况动态决定何时进行密钥一致性调和。否则,后续信道探测消息根据约定的间隔次数传输相关信息。例如,对于基于BCH码的一致性调和处理方法,A可以向B发送如下信息(BCH),表明每次无线信道探测之后,或者由A动态确定何时传输一致性调和所需信息。对于基于Turbo码的一致性调和处理方法,A可以向B发送如下信息(Turbo,1/4),以表明每4次无线信道探测后对所生成的原始密钥进行1次一致性调和信息的交互。1a. Node device A sends a channel detection request message, and informs node device B of its own key consistency reconciliation capability information through the KAI field of the message, including the consistency reconciliation methods supported by device A and the information exchange interval corresponding to each method. Among them, whether to carry the information exchange interval is optional. For example, if device A chooses not to carry it, it means that key consistency reconciliation is required after each channel detection is completed, or device A dynamically determines when to perform key consistency reconciliation based on the local key generation situation. Otherwise, subsequent channel detection messages transmit relevant information according to the agreed number of intervals. For example, for a consistency reconciliation processing method based on BCH code, A can send the following information (BCH) to B, indicating that after each wireless channel detection, or when A dynamically determines when to transmit the information required for consistency reconciliation. For a consistency reconciliation processing method based on Turbo code, A can send the following information to B (Turbo, 1/4) to indicate that the generated original key is exchanged once after every 4 wireless channel detections.
1b.收到信道探测请求消息后,节点设备B对无线信道进行探测,获取无线信道状态信息,然后根据设备A的能力以及自身能力,选择合适的密钥一致性调和方法(例如,双方均支持的某种方法)及信息交互间隔。1b. After receiving the channel detection request message, node device B detects the wireless channel, obtains the wireless channel status information, and then selects an appropriate key consistency reconciliation method (for example, a method supported by both parties) and information exchange interval based on the capabilities of device A and its own capabilities.
1c.设备B通过信道探测响应消息将选择结果反馈至节点设备A,使A与B采用相同的一致性调和机制进行后续处理。同步骤1a,信息交互间隔的信息可选是否携带,例如,当B选择采用Turbo码进行一致性调和之后,B向A返回(Turbo,1/4),确认采用此种方法进行一致性调和。1c. Device B feeds back the selection result to node device A through a channel detection response message, so that A and B use the same consistency reconciliation mechanism for subsequent processing. As in step 1a, the information of the information exchange interval can be carried or not. For example, when B chooses to use Turbo code for consistency reconciliation, B returns (Turbo, 1/4) to A to confirm that this method is used for consistency reconciliation.
1d.设备A收到信道探测响应消息后,对无线信道进行探测,获取无线信道状态信息,再根据B发来的消息确认后续信息调和的方法和信息交互的间隔,从而完成密钥一致性调和机制的协商。1d. After receiving the channel detection response message, device A detects the wireless channel to obtain the wireless channel status information, and then confirms the subsequent information reconciliation method and information exchange interval according to the message sent by B, thereby completing the negotiation of the key consistency reconciliation mechanism.
1e.基于本次信道探测请求以及信道探测响应消息传输所获取的无线信道状态信息(CSI、RSSI等),通信双方将无线信道的状态参量量化,产生二进制比特序列,作为原始生成的密钥,即原始密钥比特序列。1e. Based on the wireless channel state information (CSI, RSSI, etc.) obtained from the transmission of the channel detection request and the channel detection response message, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key, i.e., the original key bit sequence.
至此,通信系统完成首次信道探测和原始密钥生成过程,接下来根据协商的KAI信息交互间隔执行“信道探测-量化”过程。在达到信息交互间隔时对原始的密钥比特序列进行信息调和,以使双方能够产生相同密钥比特,该过程与后续的信道探测过程融合在一起,密钥一致性调和信息在信道探测请求和信道探测响应消息中以捎带的方式完成传输,以降低系统消息开销,提高效率。At this point, the communication system completes the first channel detection and original key generation process, and then performs the "channel detection-quantization" process according to the negotiated KAI information exchange interval. When the information exchange interval is reached, the original key bit sequence is reconciled so that both parties can generate the same key bit. This process is integrated with the subsequent channel detection process, and the key consistency reconciliation information is transmitted in a piggyback manner in the channel detection request and channel detection response messages to reduce system message overhead and improve efficiency.
2a.节点设备A再次发送信道探测请求以便生成无线密钥。在发送请求消息之前,首先判断是否达到KAI信息交互间隔。若是,则利用约定的调和方法对之前几次信道探测所生成的原始密钥计算对应的编码信息,同时计算原始密钥比特序列的校验值,然后将它们在信道探测请求消息的KAI字段中携带传输。若否,则此次发送的信道探测请求消息不携带任何密钥一致性调和信息。由此可见KAI相关信息在信道探测请求消息中为可选携带。2a. Node device A sends a channel detection request again to generate a wireless key. Before sending the request message, first determine whether the KAI information interaction interval has been reached. If so, the agreed reconciliation method is used to calculate the corresponding encoding information for the original key generated by the previous channel detections, and the check value of the original key bit sequence is calculated at the same time, and then they are carried and transmitted in the KAI field of the channel detection request message. If not, the channel detection request message sent this time does not carry any key consistency reconciliation information. It can be seen that KAI related information is optional in the channel detection request message.
2b.节点设备B接收到信息探测请求后,首先进行信道探测,获取新的信道状态信息,再确认该消息是否携带了一致性调和的相关信息。若未携带,则只执行信道探测,而不进行一致性调和相关的任何处理。否则,设备B根据KAI字段携带的编码信息完成密钥比特序列的一致性调和处理,以纠正与A不一致的密钥比特。然后计算调和后密钥比特序列的校验值,并与接收到的校验值进行对比。若一致,则保留此密钥比特序列。若不一致,则丢弃。2b. After receiving the information detection request, node device B first performs channel detection to obtain new channel state information, and then confirms whether the message carries relevant information for consistency reconciliation. If not, only channel detection is performed without any processing related to consistency reconciliation. Otherwise, device B completes the consistency reconciliation of the key bit sequence according to the encoded information carried by the KAI field to correct the key bits that are inconsistent with A. Then calculate the check value of the reconciled key bit sequence and compare it with the received check value. If consistent, retain this key bit sequence. If inconsistent, discard it.
2c.节点设备B返回信道探测响应消息,并且基于接收到的KAI信息执行密钥一致性协调之后,通过该消息向节点A告知密钥一致性协调的结果。具体告知方法可例如,1.不携带KAI任何一致性调和信息,以默认方式表明密钥一致性调和的成功或者失败;2.携带KAI,其中包含密钥一致性调和的结果,以显示方式告知密钥一致性调和的成功或者失败。若成功,则认为双方经一致性调和后的密钥达成一致,节点B保留所生成的密钥,否则认为双方经一致性调和后的密钥仍未达成一致,节点B丢弃所生成的密钥。2c. Node device B returns a channel detection response message, and after performing key consistency coordination based on the received KAI information, it informs node A of the result of key consistency coordination through this message. The specific notification method may be, for example, 1. Not carrying any consistency coordination information of KAI, indicating the success or failure of key consistency coordination in a default manner; 2. Carrying KAI, which contains the result of key consistency coordination, to inform the success or failure of key consistency coordination in an explicit manner. If successful, it is considered that the keys after consistency coordination between the two parties are consistent, and node B retains the generated key. Otherwise, it is considered that the keys after consistency coordination between the two parties are still inconsistent, and node B discards the generated key.
2d.节点设备A收到信道探测响应消息后,执行信道探测,获取新的无线信道状态信息,再根据消息中携带KAI信息的情况确定本次密钥一致性协商的结果,并决定保留或丢弃此次调和的密钥比特序列。若一致性协调成功,节点A保留所生成的密钥,否则丢弃所生成的密钥。2d. After receiving the channel detection response message, node device A performs channel detection to obtain new wireless channel status information, and then determines the result of this key consistency negotiation based on the KAI information carried in the message, and decides to retain or discard the reconciled key bit sequence. If the consistency coordination is successful, node A retains the generated key, otherwise it discards the generated key.
2e.基于本次信道探测请求以及信道探测响应消息传输所获取的无线信道状态信息(CSI、RSSI等),节点A、B将新获得的无线信道的状态参量量化,产生新的二进制比特序列,即原始密钥比特序列。若本轮信道探测过程未同时进行信息调和处理(即,2a~2d步骤未交互KAI相关信息,协调密钥的一致性),则将此次信道探测所产生的原始密钥与之前几次信道探测累积产生的密钥比特序列合并,待达到一致性协调处理间隔之后一起进行KAI信息计算,并完成KAI交互及密钥协调处理。2e. Based on the wireless channel state information (CSI, RSSI, etc.) obtained by the transmission of the channel detection request and the channel detection response message, nodes A and B quantize the newly obtained state parameters of the wireless channel to generate a new binary bit sequence, i.e., the original key bit sequence. If the information reconciliation process is not performed simultaneously during this round of channel detection (i.e., steps 2a to 2d do not exchange KAI related information to coordinate the consistency of the key), the original key generated by this channel detection is merged with the key bit sequences accumulated by the previous channel detections, and the KAI information is calculated together after the consistency coordination processing interval is reached, and the KAI interaction and key coordination processing are completed.
节点A与节点B可以根据密钥产生的需要,不断重复执行上述过程,以生成满足用户使用需求的密钥。Node A and node B can repeat the above process according to the need of key generation to generate a key that meets the user's needs.
(2)单向密钥一致性调和方法的信息传输流程。(2) Information transmission process of the one-way key consistency reconciliation method.
图11与图10相比,该流程在首次达到信息交互间隔时协商后续一致性调和处理所采用的方法,同时传输一致性调和所需信息。除非设备A与设备B未就调和方法达成一致,需重新协商,或者系统要求更换新的密钥一致性调和方法,否则后续的信道探测消息只需携带包括编码信息、密钥比特序列的校验值、调和结果等一致性调和信息即可。具体交互流程如图11所示。Compared with Figure 10, Figure 11 negotiates the method used for subsequent consistency reconciliation when the information exchange interval is first reached, and transmits the information required for consistency reconciliation. Unless device A and device B do not agree on the reconciliation method and need to renegotiate, or the system requires a new key consistency reconciliation method, the subsequent channel detection message only needs to carry consistency reconciliation information including coding information, check value of key bit sequence, reconciliation result, etc. The specific interaction process is shown in Figure 11.
1a.节点设备A发送信道探测请求消息。1a. Node device A sends a channel detection request message.
1b.接收到信道探测请求消息后,节点设备B执行信道探测,获取信道状态信息(CSI、RSSI等)。1b. After receiving the channel detection request message, node device B performs channel detection and obtains channel status information (CSI, RSSI, etc.).
1c.节点设备B返回信道探测响应消息。1c. Node device B returns a channel detection response message.
1d.收到信道探测响应消息后,节点设备A进行信道探测,获取信道状态信息。1d. After receiving the channel detection response message, node device A performs channel detection to obtain channel status information.
1e.基于本次信道探测获取的无线信道状态信息,通信双方将无线信道的状态参量量化,产生二进制比特序列,作为原始生成的密钥,即原始密钥比特序列。1e. Based on the wireless channel state information obtained by this channel detection, the communicating parties quantize the state parameters of the wireless channel and generate a binary bit sequence as the originally generated key, that is, the original key bit sequence.
至此,通信系统完成首次信道探测和原始密钥生成过程,接下来依据KAI信息交互间隔执行“信道探测-量化”过程。在达到信息交互间隔时对原始的密钥比特序列进行信息调和,以使双方能够产生相同的密钥比特,该过程与后续的信道探测过程融合在一起,密钥一致性调和信息在信道探测请求和信道探测响应消息中以捎带的方式完成传输,以降低系统消息开销,提高效率。At this point, the communication system completes the first channel detection and original key generation process, and then performs the "channel detection-quantization" process according to the KAI information exchange interval. When the information exchange interval is reached, the original key bit sequence is reconciled so that both parties can generate the same key bit. This process is integrated with the subsequent channel detection process, and the key consistency reconciliation information is transmitted in a piggyback manner in the channel detection request and channel detection response messages to reduce system message overhead and improve efficiency.
2a.节点设备A再次发送信道探测请求以便生成无线密钥。首先设备A根据自身密钥一致性调和能力选择调和方法和信息交互的间隔,并且在发送信道探测请求消息前,判断是否已经达到KAI信息交互间隔。若是,则计算原始密钥比特序列的校验值,同时利用选择的调和方法对之前几次信道探测所生成的原始密钥计算对应的编码信息,然后将它们与选定的密钥一致性调和能力信息一同发送至节点设备B。若否,此次发送的信道探测请求消息不携带任何密钥一致性调和信息。与第一种传输流程的步骤1a相同,该消息是否携带信息交互间隔具有可选性。2a. Node device A sends a channel detection request again to generate a wireless key. First, device A selects the reconciliation method and the information exchange interval according to its own key consistency reconciliation capability, and determines whether the KAI information exchange interval has been reached before sending the channel detection request message. If so, the check value of the original key bit sequence is calculated, and the corresponding encoding information is calculated for the original key generated by the previous channel detections using the selected reconciliation method, and then they are sent to node device B together with the selected key consistency reconciliation capability information. If not, the channel detection request message sent this time does not carry any key consistency reconciliation information. Similar to step 1a of the first transmission process, whether the message carries the information exchange interval is optional.
2b.接收到信道探测请求后,节点设备B首先执行信道探测,获取新的无线信道状态信息,再确认该消息是否携带了密钥一致性调和的相关信息。若未携带,则不进行密钥一致性调和相关的任何处理。否则,节点B根据消息中携带的KAI信息判断是否支持A所选用的调和方法。若不支持,则通过信道探测响应消息告知节点A一致性调和方法协商失败。若支持,则根据编码信息调和自身原始密钥比特序列,然后计算调和后密钥比特序列的校验值,并与设备A发送的校验值进行对比。若一致,则保留此密钥比特序列。若不一致,则丢弃。2b. After receiving the channel detection request, node device B first performs channel detection to obtain new wireless channel status information, and then confirms whether the message carries relevant information for key consistency reconciliation. If not, no processing related to key consistency reconciliation is performed. Otherwise, node B determines whether it supports the reconciliation method selected by A based on the KAI information carried in the message. If not, node A is informed of the failure of the consistency reconciliation method negotiation through a channel detection response message. If supported, its original key bit sequence is reconciled according to the encoded information, and then the check value of the reconciled key bit sequence is calculated and compared with the check value sent by device A. If consistent, this key bit sequence is retained. If inconsistent, it is discarded.
2c.节点设备B返回信道探测响应消息,并且基于接收到的KAI信息执行密钥一致性协调之后,通过该消息向节点A告知密钥一致性协调的结果。具体告知方法可例如,1.不携带KAI任何一致性调和信息,以默认方式表明密钥一致性调和的成功或者失败;2.携带KAI,其中包含密钥一致性调和的结果,以显示方式告知密钥一致性调和的成功或者失败。若成功,则认为双方经一致性调和后的密钥达成一致,节点B保留所生成的密钥,否则认为双方经一致性调和后的密钥仍未达成一致,节点B丢弃所生成的密钥。2c. Node device B returns a channel detection response message, and after performing key consistency coordination based on the received KAI information, it informs node A of the result of key consistency coordination through this message. The specific notification method may be, for example, 1. Not carrying any consistency coordination information of KAI, indicating the success or failure of key consistency coordination in a default manner; 2. Carrying KAI, which contains the result of key consistency coordination, to inform the success or failure of key consistency coordination in an explicit manner. If successful, it is considered that the keys after consistency coordination between the two parties are consistent, and node B retains the generated key. Otherwise, it is considered that the keys after consistency coordination between the two parties are still inconsistent, and node B discards the generated key.
2d.节点设备A收到信道探测响应消息后,进行信道探测,获取新的无线信道状态信息,然后根据消息中携带KAI信息的情况做进一步处理:若调和结果显示设备B不支持所选择的调和算法,则可在之后的信道探测过程中协商更换其他算法,直至协商成功。此时,还可定义协商调和方法的最大次数,若达到最大协商次数时仍未协商一致,则双方终止一致性调和过程,丢弃之前生成的原始密钥比特序列。若调和结果显示设备B支持所选择的调和算法且双方密钥一致,则保留此密钥比特序列。若调和结果显示设备B支持所选择的调和算法但双方密钥不一致,则终止调和过程,丢弃不一致的密钥比特序列。2d. After receiving the channel detection response message, node device A performs channel detection to obtain new wireless channel status information, and then performs further processing according to the KAI information carried in the message: If the reconciliation result shows that device B does not support the selected reconciliation algorithm, other algorithms can be negotiated to be replaced in the subsequent channel detection process until the negotiation is successful. At this time, the maximum number of negotiation and reconciliation methods can also be defined. If no consensus is reached when the maximum number of negotiations is reached, the two parties terminate the consistency reconciliation process and discard the original key bit sequence generated previously. If the reconciliation result shows that device B supports the selected reconciliation algorithm and the keys of both parties are consistent, this key bit sequence is retained. If the reconciliation result shows that device B supports the selected reconciliation algorithm but the keys of both parties are inconsistent, the reconciliation process is terminated and the inconsistent key bit sequence is discarded.
2e.基于本次信道探测请求以及信道探测响应消息传输所获取的无线信道状态信息(CSI、RSSI等),节点A、B将新获得的无线信道的状态参量量化,产生新的二进制比特序列。若本轮信道探测过程未同时进行信息调和处理(即,2a~2d步骤未交互KAI相关信息,协调密钥的一致性),则将此次信道探测所产生的原始密钥与之前几次信道探测累积产生的密钥比特序列合并,待达到一致性协调处理间隔之后一起进行KAI信息计算,并完成KAI交互及密钥协调处理。2e. Based on the wireless channel state information (CSI, RSSI, etc.) obtained by the transmission of the channel detection request and the channel detection response message, nodes A and B quantize the newly obtained state parameters of the wireless channel to generate a new binary bit sequence. If the information reconciliation process is not performed simultaneously in this round of channel detection (i.e., steps 2a to 2d do not exchange KAI related information and coordinate the consistency of the key), the original key generated by this channel detection is combined with the key bit sequence accumulated by the previous channel detections, and the KAI information is calculated together after the consistency coordination processing interval is reached, and the KAI interaction and key coordination processing are completed.
节点A与节点B可以根据密钥产生的需要,不断重复执行上述过程,以生成满足用户使用需求的密钥。Node A and node B can repeat the above process according to the need of key generation to generate a key that meets the user's needs.
本申请给出的实施例是以在信道探测请求及信道探测响应MAC帧中增加KAI字段为例进行说明的,实际上本发明所提方案也可与现有信令/消息/帧相结合,实现密钥的一致性协商。例如,可以在4G/5G/6G蜂窝系统现有信令中增加KAI,也可以在WLAN系统RTS、CTS、ACK等控制帧中增加KAI,也可以在Beacon、Probe Request、Probe Response等管理帧中增加KAI,也可以在To DS、From DS等数据帧中增加KAI,并与它们的消息交互机制相结合,达到同样目的。以类似机制在无线密钥生成节点A与B之间传输密钥一致性调和信息或其他所需交互信息的方法,均在本申请的保护范围之内。The embodiment given in this application is explained by taking the example of adding the KAI field in the channel detection request and channel detection response MAC frames. In fact, the scheme proposed in the present invention can also be combined with existing signaling/messages/frames to achieve key consistency negotiation. For example, KAI can be added to the existing signaling of the 4G/5G/6G cellular system, or to the control frames such as RTS, CTS, ACK of the WLAN system, or to the management frames such as Beacon, Probe Request, Probe Response, or to the data frames such as To DS and From DS, and combined with their message interaction mechanisms to achieve the same purpose. Methods for transmitting key consistency reconciliation information or other required interaction information between wireless key generation nodes A and B using similar mechanisms are all within the protection scope of this application.
需要说明的是,在信道探测过程中是否执行信息调和是可控的,可定义一致性调和信息交互间隔使得通信系统在完成若干次无线信道探测后,执行一次一致性调和,即执行若干次信道探测-量化过程,累积一定量的原始密钥之后,传输一次密钥一致性调和信息KAI。其中,信息交互间隔可以以MAC层消息交互次数为基准,也可以以一致性调和所需原始密钥比特序列的长度为基准动态调整(即,原始密钥比特序列长度不足时,不进行一致性调和,直至所积累的原始密钥长度达到或超过设置的门限)。这样可以增强通信系统对信息调和过程的可控性,同时,可节省更多信息传输所需的资源。It should be noted that whether to perform information reconciliation during the channel detection process is controllable, and the consistency reconciliation information interaction interval can be defined so that the communication system performs a consistency reconciliation after completing several wireless channel detections, that is, performs several channel detection-quantization processes, and after accumulating a certain amount of original keys, transmits a key consistency reconciliation information KAI. Among them, the information interaction interval can be based on the number of MAC layer message interactions, or it can be dynamically adjusted based on the length of the original key bit sequence required for consistency reconciliation (that is, when the length of the original key bit sequence is insufficient, consistency reconciliation is not performed until the accumulated original key length reaches or exceeds the set threshold). This can enhance the controllability of the communication system over the information reconciliation process, and at the same time, it can save more resources required for information transmission.
还需要说明的是,本申请所提出的KAI是密钥一致性调和相关消息的统称,包含机制/算法能力、交互间隔、编码、校验值、调和结果等多方面内容。具体实施时,可以按照本申请已给出的实施方法,在MAC层消息中增加一个KAI信息单元来包含这些内容(可以在MACHeader增加,也可以在消息的其他信息单元(如数据帧的数据域)增加),也可以在MAC层消息中为每一个信息内容定义一个信息单元实现该内容的承载,或者将这两种方式结合。无论怎样都属于本申请的保护范围。It should also be noted that the KAI proposed in this application is a general term for key consistency and reconciliation related messages, including mechanism/algorithm capabilities, interaction intervals, encoding, check values, reconciliation results and other aspects. In specific implementation, according to the implementation method given in this application, a KAI information unit can be added to the MAC layer message to include these contents (it can be added to the MACHeader, or to other information units of the message (such as the data field of the data frame)), or an information unit can be defined for each information content in the MAC layer message to realize the carrying of the content, or these two methods can be combined. In any case, it belongs to the protection scope of this application.
无线密钥生成,也可以称为无线物理层密钥生成、无线信道密钥生成、无线资源密钥生成等等,总之是指利用无线传播环境的时变特性,通过提取无线信道的瞬时特征使通信双方生成对称密钥的方法。Wireless key generation, which can also be called wireless physical layer key generation, wireless channel key generation, wireless resource key generation, etc., refers to a method of utilizing the time-varying characteristics of the wireless propagation environment and extracting the instantaneous characteristics of the wireless channel to enable the communicating parties to generate symmetric keys.
密钥一致性调和,也可以称为一致性调和、信息调和、信息协调、密钥一致性校验、密钥一致性协商、密钥一致性协调等等,总之是在无线密钥生成过程中,为消除量化后得到的原始密钥中不一致的密钥比特所执行的处理。Key consistency reconciliation, which can also be called consistency reconciliation, information reconciliation, information coordination, key consistency check, key consistency negotiation, key consistency coordination, etc., is the processing performed during the wireless key generation process to eliminate inconsistent key bits in the original key obtained after quantization.
本申请所提出的技术方法能够与任何单向无线密钥一致性调和机制或算法相兼容。该传输方法可与现有WLAN系统MAC层现有无线信道探测机制相结合,降低网络信息交互的开销,实现信息调和过程,从而有效支撑WLAN系统无线物理层密钥的生成。同时,本申请所提出的技术方法可以经改进后应用于4G/5G/6G等基于蜂窝网络的移动通信系统。此类系统可以在L2(层2)(如MAC子层、RLC子层、PDCP子层)、L3(层3)(如RRC层)定义新的信令,或在已有信令中新增KAI字段承载一致性调和所需信息,在基站与终端之间实现无线密钥的一致性协调,包括,完成密钥一致性协调方法的协商、一致性调和信息交互间隔的协商、密钥一致性协调编码信息的交互、密钥比特序列校验信息的交互、密钥一致性协调结果的传输,从而使基于蜂窝的移动通信网络具有无线密钥生成的能力。The technical method proposed in this application is compatible with any one-way wireless key consistency reconciliation mechanism or algorithm. The transmission method can be combined with the existing wireless channel detection mechanism of the MAC layer of the existing WLAN system to reduce the overhead of network information interaction and realize the information reconciliation process, thereby effectively supporting the generation of wireless physical layer keys of the WLAN system. At the same time, the technical method proposed in this application can be applied to 4G/5G/6G and other mobile communication systems based on cellular networks after improvement. Such systems can define new signaling at L2 (layer 2) (such as MAC sublayer, RLC sublayer, PDCP sublayer), L3 (layer 3) (such as RRC layer), or add a new KAI field to the existing signaling to carry the information required for consistency reconciliation, and realize the consistency coordination of wireless keys between the base station and the terminal, including completing the negotiation of the key consistency coordination method, the negotiation of the consistency reconciliation information interaction interval, the interaction of key consistency coordination coding information, the interaction of key bit sequence check information, and the transmission of key consistency coordination results, so that the cellular-based mobile communication network has the ability to generate wireless keys.
为了实现本申请实施例的方法,本申请实施例还提供了一种信息传输装置,设置在第一设备上,图12为本申请实施例一种信息传输装置结构示意图;如图12所示,该装置1200包括:In order to implement the method of the embodiment of the present application, the embodiment of the present application further provides an information transmission device, which is arranged on the first device. FIG. 12 is a schematic diagram of the structure of an information transmission device of the embodiment of the present application; as shown in FIG. 12, the device 1200 includes:
第一发送单元1201,用于向第二设备发送第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;The first sending unit 1201 is configured to send a first message to a second device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, and the first field carries the key consistency reconciliation capability information selected by the first device;
第一接收单元1202,用于接收所述第二设备发送的第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容。The first receiving unit 1202 is used to receive a second message sent by the second device; the second message includes first capability information, and the first capability information is the key consistency reconciliation capability information selected by the second device; or, the second message includes the key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device.
在一实施例中,所述第一能力信息包括:密钥一致性调和方案信息和/或第一间隔信息;其中,所述第一间隔信息包括交互密钥一致性调和信息的间隔信息。In one embodiment, the first capability information includes: key consistency reconciliation scheme information and/or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
在一实施例中,在第一字段携带所述密钥一致性调和能力信息时,所述第一字段还携带其他密钥一致性调和的相关信息,所述相关信息包括所述其他密钥一致性调和所需的编码信息和/或密钥比特序列的校验值。In one embodiment, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the encoding information required for the other key consistency reconciliation and/or the check value of the key bit sequence.
在一实施例中,所述装置1200还包括确定单元和生成单元;其中,In one embodiment, the apparatus 1200 further includes a determining unit and a generating unit; wherein,
所述确定单元,用于基于所述第二设备发送的信道探测响应信息确定所述第一设备进行信道探测的状态信息;The determining unit is configured to determine state information of the channel detection performed by the first device based on the channel detection response information sent by the second device;
所述生成单元,用于根据所述状态信息生成第一原始密钥比特序列。The generating unit is used to generate a first original key bit sequence according to the state information.
在一实施例中,所述确定单元,还用于根据所述第二消息中的第一能力信息,确定第一间隔信息;In one embodiment, the determining unit is further configured to determine the first interval information according to the first capability information in the second message;
所述第一发送单元1201,还用于在所述第一间隔信息满足预设间隔信息的情况下,根据所述第一能力信息向所述第二设备发送第三消息;所述第三消息用于传输所述第二设备根据所述第一能力信息对第二原始密钥比特序列进行信息调和的相关信息;所述第二原始密钥比特序列基于所述第二设备进行信道探测生成。The first sending unit 1201 is also used to send a third message to the second device according to the first capability information when the first interval information meets the preset interval information; the third message is used to transmit relevant information that the second device reconciles the second original key bit sequence according to the first capability information; the second original key bit sequence is generated based on the channel detection performed by the second device.
在一实施例中,所述确定单元,还用于所述第一能力信息包括第一间隔信息,根据第二消息中第一能力信息里包括的第一间隔信息,确定第一间隔信息;或,所述第一能力信息不包括第一间隔信息,根据第二消息中的第一能力信息以及本地配置,确定第一间隔信息。In one embodiment, the determination unit is also used to, when the first capability information includes first interval information, determine the first interval information according to the first interval information included in the first capability information in the second message; or, when the first capability information does not include the first interval information, determine the first interval information according to the first capability information in the second message and local configuration.
在一实施例中,所述第一发送单元1201,还用于向所述第二设备发送第三消息;所述第三消息用于传输所述第二设备根据所述第一能力信息对所述第一原始密钥比特序列进行信息调和的相关信息。In one embodiment, the first sending unit 1201 is further used to send a third message to the second device; the third message is used to transmit relevant information that the second device reconciles the first original key bit sequence according to the first capability information.
在一实施例中,所述第三消息包括以下至少之一:In one embodiment, the third message includes at least one of the following:
调和所述第二原始密钥比特序列所需的编码信息;encoding information required to reconcile the second original key bit sequence;
调和所述第二原始密钥比特序列所需的校验值。A check value required to reconcile the second original key bit sequence.
在一实施例中,所述第一接收单元1202,还用于接收所述第二设备发送的第四消息;所述第四消息表征所述第二设备根据所述第一能力信息和所述第三消息包含的相关调和信息对所述第二原始密钥比特序列进行信息调和的结果。In one embodiment, the first receiving unit 1202 is further used to receive a fourth message sent by the second device; the fourth message represents the result of the second device reconciling the second original key bit sequence according to the first capability information and the relevant reconciliation information included in the third message.
在一实施例中,所述装置1200还包括第一保留单元,用于在所述第四消息表征所述第二设备调和成功的情况下,保留所述第一原始密钥比特序列。In one embodiment, the apparatus 1200 further includes a first retaining unit, configured to retain the first original key bit sequence when the fourth message indicates that the reconciliation of the second device is successful.
在一实施例中,所述装置1200还包括第一丢弃单元,用于在所述第四消息表征所述第二设备调和失败的情况下,丢弃所述第一原始密钥比特序列。In one embodiment, the apparatus 1200 further includes a first discarding unit, configured to discard the first original key bit sequence when the fourth message indicates that the second device reconciliation fails.
为了实现本申请实施例第二设备侧的方法,本申请实施例还提供了一种信息传输装置,设置在第二设备上,图13为本申请实施例另一种信息传输装置结构示意图;如图13所示,该装置1300包括:In order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application further provides an information transmission device, which is arranged on the second device. FIG. 13 is a schematic diagram of the structure of another information transmission device in the embodiment of the present application; as shown in FIG. 13 , the device 1300 includes:
第二接收单元1301,用于接收第一设备发送的第一消息;所述第一消息包括第一字段;所述第一字段携带所述第一设备支持的至少一种密钥一致性调和能力信息,或,所述第一字段携带所述第一设备选定的密钥一致性调和能力信息;The second receiving unit 1301 is configured to receive a first message sent by a first device; the first message includes a first field; the first field carries at least one key consistency reconciliation capability information supported by the first device, or the first field carries the key consistency reconciliation capability information selected by the first device;
第一确定单元1302,用于根据所述第一字段确定第二消息;所述第二消息包括第一能力信息,所述第一能力信息为所述第二设备选择的密钥一致性调和能力信息;或,所述第二消息包括密钥一致性调和结果;或,所述第二消息包括支持所述第一设备选定的密钥一致性调和能力信息的内容或不支持第一设备选定的密钥一致性调和能力信息的内容;A first determining unit 1302 is configured to determine a second message according to the first field; the second message includes first capability information, and the first capability information is key consistency reconciliation capability information selected by the second device; or, the second message includes a key consistency reconciliation result; or, the second message includes content that supports the key consistency reconciliation capability information selected by the first device or content that does not support the key consistency reconciliation capability information selected by the first device;
第二发送单元1303,用于向所述第一设备发送所述第二消息。The second sending unit 1303 is configured to send the second message to the first device.
在一实施例中,所述第一能力信息包括:密钥一致性调和方案信息和/或第一间隔信息;其中,所述第一间隔信息包括交互密钥一致性调和信息的间隔信息。In one embodiment, the first capability information includes: key consistency reconciliation scheme information and/or first interval information; wherein the first interval information includes interval information of interactive key consistency reconciliation information.
在一实施例中,在第一字段携带所述密钥一致性调和能力信息时,所述第一字段还携带其他密钥一致性调和的相关信息,所述相关信息包括所述其他密钥一致性调和所需的编码信息和/或密钥比特序列的校验值。In one embodiment, when the first field carries the key consistency reconciliation capability information, the first field also carries other key consistency reconciliation related information, and the related information includes the encoding information required for the other key consistency reconciliation and/or the check value of the key bit sequence.
在一实施例中,所述装置1300还包括生成单元;其中,In one embodiment, the apparatus 1300 further includes a generating unit; wherein,
所述第一确定单元1302,还用于基于所述第一设备发送的信道探测请求信息确定所述第二设备进行信道探测的状态信息;The first determining unit 1302 is further configured to determine state information of channel detection performed by the second device based on the channel detection request information sent by the first device;
所述生成单元,还用于根据所述状态信息生成第二原始密钥比特序列。The generating unit is further configured to generate a second original key bit sequence according to the state information.
在一实施例中,所述装置1300还包括第二获取单元和第二调和单元;其中,In one embodiment, the device 1300 further includes a second acquisition unit and a second blending unit; wherein,
所述第一确定单元1302,还用于根据所述第二消息中的第一能力信息,确定第一间隔信息;The first determining unit 1302 is further configured to determine first interval information according to the first capability information in the second message;
所述第二接收单元1301,还用于在所述第一间隔信息满足预设间隔信息的情况下,接收所述第一设备发送的第三消息;所述第二调和单元,用于基于所述第三消息,所述第二设备根据所述第一能力信息对所述第二原始密钥比特序列进行信息调和。The second receiving unit 1301 is further used to receive a third message sent by the first device when the first interval information meets the preset interval information; the second reconciliation unit is used to, based on the third message, perform information reconciliation on the second original key bit sequence by the second device according to the first capability information.
在一实施例中,所述第一确定单元1302,还用于所述第一能力信息包括第一间隔信息,根据第二消息中第一能力信息里包括的第一间隔信息,确定第一间隔信息;或,所述第一能力信息不包括第一间隔信息,根据第二消息中的第一能力信息以及本地配置,确定第一间隔信息。In one embodiment, the first determination unit 1302 is further used to, when the first capability information includes first interval information, determine the first interval information according to the first interval information included in the first capability information in the second message; or, when the first capability information does not include the first interval information, determine the first interval information according to the first capability information in the second message and local configuration.
在一实施例中,所述第三消息包括以下至少之一:In one embodiment, the third message includes at least one of the following:
调和所述第二原始密钥比特序列所需的编码信息;encoding information required to reconcile the second original key bit sequence;
调和所述第二原始密钥比特序列所需的校验值。A check value required to reconcile the second original key bit sequence.
在一实施例中,所述第二发送单元1303,还用于向所述第一设备发送第四消息;述第四消息表征所述第二设备根据所述第一能力信息和所述第三消息包含的相关调和信息对所述第二原始密钥比特序列进行信息调和的结果。In one embodiment, the second sending unit 1303 is further used to send a fourth message to the first device; the fourth message represents the result of the second device reconciling the second original key bit sequence according to the first capability information and the relevant reconciliation information included in the third message.
在一实施例中,所述装置1300还包括第二保留单元,用于在所述第四消息表征所述第二设备调和成功的情况下,保留所述第二原始密钥比特序列。In one embodiment, the apparatus 1300 further includes a second retaining unit, configured to retain the second original key bit sequence when the fourth message indicates that the reconciliation of the second device is successful.
在一实施例中,所述装置1300还包括第二丢弃单元,用于在所述第四消息表征所述第二设备调和失败的情况下,丢弃所述第二原始密钥比特序列。In one embodiment, the apparatus 1300 further includes a second discarding unit, configured to discard the second original key bit sequence when the fourth message indicates that the second device reconciliation fails.
需要说明的是:上述实施例提供的信息传输方法装置在进行信息传输方法时,仅以上述各程序模块的划分进行举例说明,实际应用中,可以根据需要而将上述处理分配由不同的程序模块完成,即将装置的内部结构划分成不同的程序模块,以完成以上描述的全部或者部分处理。另外,上述实施例提供的信息传输方法装置与信息传输方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the information transmission method device provided in the above embodiment only uses the division of the above program modules as an example when performing the information transmission method. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the processing described above. In addition, the information transmission method device provided in the above embodiment and the information transmission method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.
基于上述程序模块的硬件实现,且为了实现本申请实施例第二设备侧的方法,本申请实施例还提供了一种第一设备,图14为本申请实施例第一设备结构示意图;如图14所示,该第一设备1400包括:Based on the hardware implementation of the above program module, and in order to implement the method on the second device side of the embodiment of the present application, the embodiment of the present application further provides a first device. FIG. 14 is a schematic diagram of the structure of the first device of the embodiment of the present application; as shown in FIG. 14, the first device 1400 includes:
第一通信接口1401,能够与第一设备进行信息交互;The first communication interface 1401 is capable of exchanging information with the first device;
第一处理器1402,与所述第一通信接口1401连接,以实现与第一设备进行信息交互,用于运行计算机程序时,执行上述第二设备侧一个或多个技术方案提供的方法。而所述计算机程序存储在第一存储器1403上。The first processor 1402 is connected to the first communication interface 1401 to implement information exchange with the first device, and is used to execute the method provided by one or more technical solutions on the second device side when running a computer program. The computer program is stored in the first memory 1403.
需要说明的是:第一处理器1402和第一通信接口1401的具体处理过程可参照上述方法理解。It should be noted that the specific processing process of the first processor 1402 and the first communication interface 1401 can be understood by referring to the above method.
当然,实际应用时,第一设备1400中的各个组件通过总线系统1404耦合在一起。可理解,总线系统1404用于实现这些组件之间的连接通信。总线系统1404除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图14中将各种总线都标为总线系统1404。Of course, in actual application, the various components in the first device 1400 are coupled together through the bus system 1404. It can be understood that the bus system 1404 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1404 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked as the bus system 1404 in Figure 14.
本申请实施例中的第一存储器1403用于存储各种类型的数据以支持第一设备1400的操作。这些数据的示例包括:用于在第一设备1400上操作的任何计算机程序。The first memory 1403 in the embodiment of the present application is used to store various types of data to support the operation of the first device 1400. Examples of such data include: any computer program used to operate on the first device 1400.
上述本申请实施例揭示的方法可以应用于所述第一处理器1402中,或者由所述第一处理器1402实现。所述第一处理器1402可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第一处理器1402中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第一处理器1402可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第一处理器1402可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第一存储器1403,所述第一处理器1402读取第一存储器1403中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the above embodiment of the present application can be applied to the first processor 1402, or implemented by the first processor 1402. The first processor 1402 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the first processor 1402. The above-mentioned first processor 1402 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 1402 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 1403, and the first processor 1402 reads the information in the first memory 1403 and completes the steps of the above method in combination with its hardware.
在示例性实施例中,第一设备1400可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,ProgrammableLogic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、现场可编程门阵列(FPGA,Field-Programmable Gate Array)、通用处理器、控制器、微控制器(MCU,Micro Controller Unit)、微处理器(Microprocessor)、或者其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the first device 1400 can be implemented by one or more application specific integrated circuits (ASIC), DSP, programmable logic device (PLD), complex programmable logic device (CPLD), field programmable gate array (FPGA), general processor, controller, microcontroller (MCU), microprocessor, or other electronic components to execute the aforementioned method.
基于上述程序模块的硬件实现,且为了实现本申请实施例第一设备侧的方法,本申请实施例还提供了一种第二设备,图15为本申请实施例第二设备结构示意图;如图15所示,该第二设备1500包括:Based on the hardware implementation of the above program module, and in order to implement the method on the first device side of the embodiment of the present application, the embodiment of the present application further provides a second device. FIG. 15 is a schematic diagram of the structure of the second device of the embodiment of the present application; as shown in FIG. 15, the second device 1500 includes:
第二通信接口1501,能够与第二设备进行信息交互;The second communication interface 1501 is capable of exchanging information with the second device;
第二处理器1502,与所述第二通信接口1501连接,以实现与第二设备进行信息交互,用于运行计算机程序时,执行上述第一设备侧一个或多个技术方案提供的方法。而所述计算机程序存储在第二存储器1503上。The second processor 1502 is connected to the second communication interface 1501 to implement information exchange with the second device, and is used to execute the method provided by one or more technical solutions on the first device side when running a computer program. The computer program is stored in the second memory 1503.
需要说明的是:第二通信接口1501和第二处理器1502的具体处理过程可参照上述方法理解。It should be noted that the specific processing process of the second communication interface 1501 and the second processor 1502 can be understood by referring to the above method.
当然,实际应用时,第二设备1400中的各个组件通过总线系统1504耦合在一起。可理解,总线系统1504用于实现这些组件之间的连接通信。总线系统1504除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图15中将各种总线都标为总线系统1504。Of course, in actual application, the various components in the second device 1400 are coupled together through the bus system 1504. It can be understood that the bus system 1504 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1504 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, various buses are marked as bus system 1504 in Figure 15.
本申请实施例中的第二存储器1503用于存储各种类型的数据以支持接第二设备1500操作。这些数据的示例包括:用于在第二设备1500上操作的任何计算机程序。The second memory 1503 in the embodiment of the present application is used to store various types of data to support the operation of the second device 1500. Examples of such data include: any computer program used to operate on the second device 1500.
上述本申请实施例揭示的方法可以应用于所述第二处理器1502中,或者由所述第二处理器1502实现。所述第二处理器1502可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过所述第二处理器1502中的硬件的集成逻辑电路或者软件形式的指令完成。上述的所述第二处理器1502可以是通用处理器、DSP,或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。所述第二处理器1502可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于第二存储器1503,所述第二处理器1502读取第二存储器1503中的信息,结合其硬件完成前述方法的步骤。The method disclosed in the above embodiment of the present application can be applied to the second processor 1502, or implemented by the second processor 1502. The second processor 1502 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 1502. The above-mentioned second processor 1502 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 1502 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 1503, and the second processor 1502 reads the information in the second memory 1503 and completes the steps of the above method in combination with its hardware.
在示例性实施例中,第二设备1500可以被一个或多个ASIC、DSP、PLD、CPLD、FPGA、通用处理器、控制器、MCU、Microprocessor、或其他电子元件实现,用于执行前述方法。In an exemplary embodiment, the second device 1500 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.
可以理解,本申请实施例的存储器(第一存储器1403、第二存储器1503)可以是易失性存储器或者非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(ROM,Read Only Memory)、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,ErasableProgrammable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,ElectricallyErasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagneticrandom access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,SynchronousStatic Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random AccessMemory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random AccessMemory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data RateSynchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器旨在包括但不限于这些和任意其它适合类型的存储器。It can be understood that the memory (first memory 1403, second memory 1503) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), synchronous static random access memory (SSRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM), direct memory bus random access memory (DRRAM). The memory described in the embodiments of the present application is intended to include but is not limited to these and any other suitable types of memory.
为了实现本申请实施例提供的方法,本申请实施例还提供了一种信息传输系统,图16为本申请实施例信息传输系统结构示意图;如图16所示,该系统包括:第一设备1601及第二设备1602。In order to implement the method provided in the embodiment of the present application, the embodiment of the present application also provides an information transmission system. Figure 16 is a schematic diagram of the structure of the information transmission system of the embodiment of the present application; as shown in Figure 16, the system includes: a first device 1601 and a second device 1602.
这里,需要说明的是:所述第一设备1601和第二设备1602的具体处理过程已在上文详述,这里不再赘述。Here, it should be noted that the specific processing process of the first device 1601 and the second device 1602 has been described in detail above and will not be repeated here.
在示例性实施例中,本申请实施例还提供了一种存储介质,即计算机存储介质,具体为计算机可读存储介质,例如包括存储计算机程序的第一存储器1403,上述计算机程序可由第一设备1400的第一处理器1402执行,以完成前述第一设备侧方法所述步骤。再比如包括存储计算机程序的第二存储器1503,上述计算机程序可由第二设备1500的第二处理器1502执行,以完成前述第二设备侧方法所述步骤。计算机可读存储介质可以是FRAM、ROM、PROM、EPROM、EEPROM、Flash Memory、磁表面存储器、光盘、或CD-ROM等存储器。In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 1403 storing a computer program, and the computer program can be executed by the first processor 1402 of the first device 1400 to complete the steps of the aforementioned first device side method. For another example, a second memory 1503 storing a computer program can be executed by the second processor 1502 of the second device 1500 to complete the steps of the aforementioned second device side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface storage, optical disk, or CD-ROM.
需要说明的是:“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.
另外,本申请实施例所记载的技术方案之间,在不冲突的情况下,可以任意组合。In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围。The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.
Claims (27)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310324250.XA CN118741506A (en) | 2023-03-29 | 2023-03-29 | Information transmission method, device, related equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310324250.XA CN118741506A (en) | 2023-03-29 | 2023-03-29 | Information transmission method, device, related equipment and storage medium |
Publications (1)
Publication Number | Publication Date |
---|---|
CN118741506A true CN118741506A (en) | 2024-10-01 |
Family
ID=92857575
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310324250.XA Pending CN118741506A (en) | 2023-03-29 | 2023-03-29 | Information transmission method, device, related equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN118741506A (en) |
-
2023
- 2023-03-29 CN CN202310324250.XA patent/CN118741506A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US11071116B2 (en) | Coding/decoding method, apparatus, and device | |
CN104640110B (en) | A kind of Symmetric key generation method based on the characteristic of channel in terminal direct connection communication | |
EP3066813B1 (en) | Apparatus and methods for mac header compression | |
WO2011023129A1 (en) | Method and equipment for ensuring communication security | |
CN112202511B (en) | Physical layer key generation method and system based on channel characteristics | |
JP5598018B2 (en) | System and method for reducing overhead in a wireless network | |
US20100177789A1 (en) | Device and Method for Reducing Overhead in a Wireless Network | |
EP2782281A1 (en) | Data transmission using rateless coding | |
CN107360568A (en) | The method that symmetric cryptography guarantee wireless data safe transmission is realized using fountain codes | |
CN112715016A (en) | Key encapsulation protocol | |
TW201815136A (en) | Method for transmitting data, receiving equipment, and sending equipment | |
WO2018098691A1 (en) | Control channel generation method, control channel detection method, and related apparatus | |
Tao et al. | Wire: Security bootstrapping for wireless device-to-device communication | |
CN100571124C (en) | Prevent the method for Replay Attack and guarantee the unduplicated method of message SN | |
CN101242274B (en) | Method for guaranteeing non-duplicate message SN and preventing from re-play attack and mobile terminal | |
WO2021102843A1 (en) | Short-range communication method and device with anti-interference capability | |
WO2007000100A1 (en) | A method for identifying playback management message | |
CN116017423A (en) | Wireless ad hoc network safe transmission method based on USRP | |
WO2020063634A1 (en) | Data transmission method and device and storage medium | |
KR101571728B1 (en) | Data transmission and reception method using random linear coding | |
JP2012257248A (en) | Method for generating shared key for wireless communication system | |
CN118741506A (en) | Information transmission method, device, related equipment and storage medium | |
WO2016082230A1 (en) | Virtual carrier sensing method and device | |
CN118741505A (en) | Information transmission method, device, related equipment and storage medium | |
CN112437432B (en) | Physical layer secret key distribution method and communication equipment |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination |