Disclosure of Invention
The invention aims to solve the technical problem of providing a method and a system for resisting interception communication aiming at the defects of the prior art.
In order to solve the above technical problem, an embodiment of the present invention provides an anti-interception communication method, including:
the coding controller generates numbering information once every time the original information is received, and selects a corresponding coder from the coder group according to the numbering information; selecting corresponding codebook elements from a codebook space according to the number information, and performing parameter setting on the selected encoder by using the codebook elements; the set encoder encodes the received original information to obtain encoded information;
and the decoding controller acquires the number information in a preset mode, selects and configures the decoder according to the mode of selecting and configuring the encoder, and then decodes the received encoded information to obtain the original information.
The invention has the beneficial effects that: the coding controller generates the number information once every time the original information is received, and the coder is selected and configured according to the generated number information, namely the selected coder and the configuration parameters of the coder jump in real time, even if an illegal user can intercept the coding information flow, the coding information is difficult to be correctly decoded through the accumulated coding information in a short time, so that the difficulty of the illegal user in intercepting and cracking the complete information is increased, and the interception resistance of a communication system is greatly improved.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the codebook space Ω ═ { C ═ Cm,p,q,rI M is in the middle of M, P is in the middle of P, Q is in the middle of Q, R is in the middle of R, wherein M is {1,. and M }, P is in the middle of 1,. and P }, Q is in the middle of 1,. and Q, and R is in the middle of R,. and R }, wherein R is in the middle of R, M, P, Q and R are positive integers; any one codebook element C in codebook spacem,p,q,rCorresponding to a group of configuration parameters consisting of code pattern, code length, code rate and coding rule;
the encoders/decoders in the encoder/decoder groups are indexed by (m, p, q, r) or (m, p, q, r) mapped numbers as encoder indices/decoder indices; codebook element C in the codebook spacem,p,q,rThe number (m, p, q, r) or the number mapped by (m, p, q, r) is taken as the codebook element index.
The method has the advantages that the codebook space is constructed, the index of the codebook element in the codebook space is established, and the indexes of the encoder and the decoder are established; the coding controller generates the number information when receiving the original information every time, can quickly determine the corresponding coder/decoder and codebook elements according to the number information and the index information, realizes the selection and the configuration of the coder/decoder, namely realizes the real-time jump of the coder and the codebook elements, even if an illegal user can intercept and intercept the coding information stream, the coding information is difficult to be correctly decoded through the accumulated coding information in a short time, thereby increasing the difficulty of the illegal user in intercepting and cracking the complete information, and greatly improving the anti-interception performance of the communication system.
Further, the selecting a corresponding encoder from an encoder group according to the number information, selecting a corresponding codebook element from a codebook space according to the number information, and performing parameter setting on the selected encoder by using the codebook element includes: searching matched encoder indexes from the encoder groups according to the number information, and selecting corresponding encoders according to the matched encoder indexes; and searching the matched codebook element index from the codebook space according to the number information, selecting the corresponding codebook element according to the matched codebook element index, and performing parameter configuration on the selected encoder according to the selected codebook element.
The method has the advantages that the corresponding encoder and codebook elements are quickly determined according to the number information and the index information, the selection and the configuration of the encoder are realized, namely, the real-time jumping of the encoder and the codebook elements is realized, even if an illegal user can intercept and intercept the encoded information stream, the correct decoding through the accumulated encoded information is difficult to realize in a short time, so that the difficulty of intercepting and cracking complete information by the illegal user is increased, and the interception resistance of a communication system is greatly improved.
Further, the generating, by the encoding controller, numbering information once every time the original information is received includes: the encoding controller generates one or more random numbers each time the original information is received; or, each time the original information is received, the encoding controller generates one or more preset numbers;
the decoding controller obtains the number information in a preset mode, and the method comprises the following steps: if the number information generated by the coding controller is a random number, the random number is transmitted between the coding controller and the decoding controller through a channel, so that coding and decoding synchronization is realized; and if the number information generated by the coding controller is a preset number, the coding controller and the decoding controller are synchronous to a clock reference, and the number information is generated by a number generator with the same algorithm to realize coding and decoding synchronization.
The further scheme has the advantages that the coding controller can generate random numbers or preset numbers every time the original information is received; when the random number is generated, the random number is transmitted through a channel, so that coding and decoding synchronization is realized; when a preset number is generated, the coding controller and the decoding controller are synchronous to a clock reference, and number information is generated through a number generator with the same algorithm to realize coding and decoding synchronization; the number information is generated and synchronized in multiple modes, the difficulty of eavesdropping and cracking complete information by an illegal user is increased, and the interception resistance of the communication system is greatly improved.
Further, the random number is transmitted between the coding controller and the decoding controller through a channel to realize coding and decoding synchronization, including: the coding controller inserts a synchronous frame header with the number information into the front end of the coding information, and the coding controller identifies and acquires the number information in the synchronous frame header to realize coding and decoding synchronization; or the coding controller and the decoding controller transmit the number information through independent secret channels to realize coding and decoding synchronization; or the coding controller hides the number information in the coding information by a preset information processing method, and the coding controller extracts the number information by a corresponding information processing method to realize coding and decoding synchronization.
The beneficial effect of adopting the above further scheme is that when the random number is transmitted through the channel, a synchronous frame header with the number information can be inserted into the front end of the coding information, or the number information is hidden in the coding information, or the number information is transmitted through an independent secret channel; the random number can be transmitted to the decoding controller in various modes, so that the difficulty of an illegal user in eavesdropping and cracking complete information is increased, and the interception resistance of the communication system is greatly improved.
In order to solve the above technical problem, an embodiment of the present invention further provides an anti-interception communication system, including an encoder group input module, an encoder group including a plurality of encoders, an encoder group output module, a decoder group input module, an encoder group including a plurality of decoders, a decoder group output module, an encoding controller, and a decoding controller;
the encoder group input module is used for receiving original information sent by the information sending equipment; the coding controller is used for generating numbering information once when receiving the original information once and selecting a corresponding coder from the coder group according to the numbering information; selecting corresponding codebook elements from a codebook space according to the number information, and performing parameter setting on the selected encoder by using the codebook elements; the set encoder encodes the received original information to obtain encoded information; the encoder group output module is used for integrating the encoding information and sending the encoding information to the decoder group input module through an information transmission channel; the decoding controller is used for acquiring the number information in a preset mode, selecting and configuring a decoder according to the mode of selecting and configuring the encoder, and further decoding the received encoded information to obtain original information; and the decoder group output module is used for sending the original information obtained by decoding to the information receiving equipment.
The invention has the beneficial effects that: the coding controller generates the number information once every time the original information is received, and the coder is selected and configured according to the generated number information, namely the selected coder and the configuration parameters of the coder jump in real time, even if an illegal user can intercept the coding information flow, the coding information is difficult to be correctly decoded through the accumulated coding information in a short time, so that the difficulty of the illegal user in intercepting and cracking the complete information is increased, and the interception resistance of a communication system is greatly improved.
On the basis of the technical scheme, the invention can be further improved as follows.
Further, the codebook space Ω ═ { C ═ Cm,p,q,rI M is in the middle of M, P is in the middle of P, Q is in the middle of Q, R is in the middle of R, wherein M is {1,. and M }, P is in the middle of 1,. and P }, Q is in the middle of 1,. and Q, and R is in the middle of R,. and R }, wherein R is in the middle of R, M, P, Q and R are positive integers; any one codebook element C in codebook spacem,p,q,rCorresponding to a group consisting of code pattern, code length, code rate and coding ruleConfiguring parameters;
a decoder in an encoder/decoder group in the encoder group takes the number (m, p, q, r) or the number mapped by (m, p, q, r) as an encoder index/decoder index; codebook element C in the codebook spacem,p,q,rThe number (m, p, q, r) or the number mapped by (m, p, q, r) is taken as the codebook element index.
Further, the encoder group input module, the encoder group output module, the decoder group input module and the decoder group output module comprise two functional modes of serial-parallel-serial conversion and multi-channel switching; if a multi-channel switching mode is selected, the encoding controller generates a random number or a preset number every time the original information is received, and the encoding controller/the decoding controller selects an encoder/decoder from the encoder group/decoder group according to the random number or the preset number; if the serial-parallel-serial conversion mode is selected, the encoding controller generates a plurality of random numbers or preset numbers every time the original information is received, and the encoding controller/decoding controller selects a plurality of encoders/decoders from the encoder group according to the plurality of random numbers or preset numbers.
Further, the encoding controller generates one or more random numbers each time the encoding controller receives the original information; or, generating one or more predetermined numbers; if the number information generated by the coding controller is a random number, the random number is transmitted between the coding controller and the decoding controller through a channel, so that coding and decoding synchronization is realized; and if the number information generated by the coding controller is a preset number, the coding controller and the decoding controller are synchronous to a clock reference, and the number information is generated by a number generator with the same algorithm to realize coding and decoding synchronization.
Further, the random number is transmitted between the coding controller and the decoding controller through a channel to realize coding and decoding synchronization, including: the coding controller inserts a synchronous frame header with the number information into the front end of the coding information, and the coding controller identifies and acquires the number information in the synchronous frame header to realize coding and decoding synchronization; or the coding controller and the decoding controller transmit the number information through independent secret channels to realize coding and decoding synchronization; or the coding controller hides the number information in the coding information by a preset information processing method, and the coding controller extracts the number information by a corresponding information processing method to realize coding and decoding synchronization.
Detailed Description
The principles and features of this invention are described below in conjunction with the following drawings, which are set forth by way of illustration only and are not intended to limit the scope of the invention.
Referring to fig. 1, the encoder group includes a plurality of encoders, which are respectively labeled as a first encoder and an nth encoder of the second encoder … …, where N is a positive integer, and the decoder group includes a plurality of decoders.
The embodiment of the invention provides an anti-interception communication method, which comprises the following steps: the coding controller generates numbering information once every time the original information is received, and selects a corresponding coder from the coder group according to the numbering information; selecting corresponding codebook elements from a codebook space according to the number information, and performing parameter setting on the selected encoder by using the codebook elements; the set encoder encodes the received original information to obtain encoded information; and the decoding controller acquires the number information in a preset mode, selects and configures the decoder according to the mode of selecting and configuring the encoder, and then decodes the encoded information to obtain the original information. Namely, the decoding controller selects a corresponding decoder from the decoder group according to the number information; and selecting corresponding codebook elements from a codebook space according to the number information, performing parameter setting on the selected decoder by using the codebook elements, and decoding the received coding information by the set decoder.
In the above embodiment, the encoding controller generates the number information once every time the original information is received, and selects and configures the encoder according to the generated number information, that is, the selected encoder and the encoder configuration parameters jump in real time, so that even if an illegal user can intercept an encoded information stream, the encoding information stream is difficult to be decoded correctly through the accumulated encoded information in a short time, thereby increasing the difficulty of the illegal user in intercepting and cracking complete information, and greatly improving the interception resistance of the communication system.
Optionally, the codebook space Ω ═ { C ═ Cm,p,q,rI M is in the middle of M, P is in the middle of P, Q is in the middle of Q, R is in the middle of R, wherein M is {1,. and M }, P is in the middle of 1,. and P }, Q is in the middle of 1,. and Q, and R is in the middle of R, M, P, Q and R are positive integers; any one codebook element C in codebook spacem,p,q,rCorresponding to a set of configuration parameters consisting of code pattern, code length, code rate and coding rule.
The encoders/decoders in the encoder/decoder groups are indexed by (m, p, q, r) or (m, p, q, r) mapped numbers as encoder indices/decoder indices; codebook element C in the codebook spacem,p,q,rThe number (m, p, q, r) or the number mapped by (m, p, q, r) is taken as the codebook element index.
In particular, there may be multiple memory locations in the memory of the encoder and decoder.
If the first encoder has 9 storage units, the storage addresses of the 9 storage units are 1111H, 1112H, 1113H, and 1114H … … 1119H, respectively, the 9 storage addresses may be directly the encoder index of the first encoder, or the 9 storage addresses may be mapped to numbers 1, 2, 3, and 4 … … 9 as encoder indexes, respectively; likewise, these 9 memory addresses can be directly used as codebook element C1,1,1,1、C1,1,1,2、C1,1,1,3、C1,1,1,4……C1,1,1,9The 9 storage addresses may be mapped to numbers 1, 2, 3, and 4 … … 9 as the indices of the codebook elements. The decoders in the decoder group establish indexes in the same way as the encoders in the encoder group.
If the second encoder has 9 storage units, and the storage addresses of the 9 storage units are 1121H, 1122H, 1123H, 1124H … … 1129H, respectively, then the 9 storage addresses can be directly used as the encoder index of the second encoder, or the 9 storage addresses can be mapped to numbers 10, 11, 12, 13 … … 18 as the second encoder indexLeading; likewise, these 9 memory addresses can be directly used as codebook element C1,1,2,1、C1,1,2,2、C1,1,2,3、C1,1,2,4、……C1,1,2,9The 9 storage addresses may be respectively mapped to numbers 10, 11, 12, and 13 … … 18 as the indices of the codebook elements.
If the ninth encoder has 9 storage units, and the storage addresses of the 9 storage units are 1191H, 1192H, 1193H, and 1194H … … 1199H, respectively, then the 9 storage addresses may be directly used as the encoder index of the second encoder, or the 9 storage addresses may be mapped to numbers 73, 74, 75, and 76 … … 81 as the second encoder index; likewise, these 9 memory addresses can be directly used as codebook element C1,1,9,1、C1,1,9,2、C1,1,9,3、C1,1,9,4、……C1,1,9,9The 9 storage addresses may be mapped to numbers 73, 74, 75, and 76 … … 81 as the indices of the codebook elements.
In the above embodiment, a codebook space is formed according to parameters of M code patterns, P code lengths, Q code rates, and R coding rules in the encoder group, and codebook element C in the codebook spacem,p,q,rTaking the number (m, p, q, r) or the number mapped by (m, p, q, r) as a codebook element index; the encoders/decoders in the encoder/decoder group are indexed by the encoder index/decoder with the number (m, p, q, r) or the number mapped by (m, p, q, r).
The method comprises the steps of establishing a codebook space, establishing indexes of codebook elements in the codebook space and indexes of an encoder and a decoder; the coding controller generates the number information when receiving the original information every time, can quickly determine the corresponding coder/decoder and codebook elements according to the number information and the index information, realizes the selection and the configuration of the coder/decoder, namely realizes the real-time jump of the coder and the codebook elements, even if an illegal user can intercept and intercept the coding information stream, the coding information is difficult to be correctly decoded through the accumulated coding information in a short time, thereby increasing the difficulty of the illegal user in intercepting and cracking the complete information, and greatly improving the anti-interception performance of the communication system.
Optionally, selecting a corresponding encoder/decoder from the encoder group/decoder group according to the number information, further selecting a corresponding codebook element from a codebook space according to the number information, and performing parameter setting on the selected encoder/decoder by using the codebook element includes: searching matched encoder indexes/decoder indexes from the encoder groups/decoder groups according to the number information, and selecting corresponding encoders/decoders according to the matched encoder indexes/decoder indexes; and searching the matched codebook element index from the codebook space according to the number information, selecting the corresponding codebook element according to the matched codebook element index, and performing parameter configuration on the selected coder/decoder according to the selected codebook element.
For example, the code controller generates number 1116, the first encoder and the first decoder may be selected according to the encoder index and the decoder index, and the codebook element C in the codebook space may be selected1,1,1,6And configuring parameters of the first encoder and the first decoder. Or, if the code controller generates the number 6, the first encoder and the first decoder may be determined and selected according to the encoder index and the decoder index, and the codebook element C in the codebook space is selected1,1,1,6And configuring parameters of the first encoder and the first decoder.
For another example, if the code controller generates the number 1185, the eighth encoder and the eighth decoder may be determined to be selected according to the encoder index and the decoder index, and the codebook element C in the codebook space is selected1,1,8,5And configuring parameters of the eighth encoder and the eighth decoder. Alternatively, the code controller generates the number 68, and may select the eighth encoder and the eighth decoder according to the encoder index and the decoder index, and select the codebook element C in the codebook space1,1,8,5And configuring parameters of the eighth encoder and the eighth decoder.
In the above embodiment, the corresponding encoder/decoder and codebook element are quickly determined according to the number information and the index information, so as to realize selection and configuration of the encoder/decoder, that is, real-time hopping of the encoder and codebook element is realized, and even if an illegal user can intercept and intercept a coded information stream, the correct decoding through the accumulated coded information is difficult to be performed in a short time, so that the difficulty of intercepting and cracking complete information by the illegal user is increased, and the interception resistance of a communication system is greatly improved.
Further, the generating, by the encoding controller, numbering information once every time the original information is received includes: the encoding controller generates one or more random numbers each time the original information is received; alternatively, the encoding controller generates one or more predetermined numbers each time the original information is received.
The decoding controller obtains the number information in a preset mode, and the method comprises the following steps: if the number information generated by the coding controller is a random number, the random number is transmitted between the coding controller and the decoding controller through a channel, so that coding and decoding synchronization is realized; and if the number information generated by the coding controller is a preset number, the coding controller and the decoding controller are synchronous to a clock reference, and the number information is generated by a number generator with the same algorithm to realize coding and decoding synchronization.
In the above embodiment, each time the original information is received, the encoding controller may generate a random number or a predetermined number; when the random number is generated, the random number is transmitted through a channel, so that coding and decoding synchronization is realized; when a preset number is generated, the coding controller and the decoding controller are synchronous to a clock reference, and number information is generated through a number generator with the same algorithm to realize coding and decoding synchronization; real-time hopping of serial coding and parallel coding modes is realized by selecting one or more encoders; even if an illegal user can intercept and intercept the coded information stream, the information is difficult to be correctly decoded through the accumulated coded information in a short time, so that the difficulty of intercepting and cracking complete information by the illegal user is increased, and the interception resistance performance of a communication system is greatly improved.
Optionally, the transmitting the random number between the encoding controller and the decoding controller through a channel to achieve encoding and decoding synchronization includes: the coding controller inserts a synchronous frame header with the number information into the front end of the coding information, and the coding controller identifies and acquires the number information in the synchronous frame header to realize coding and decoding synchronization; or the coding controller and the decoding controller transmit the number information through independent secret channels to realize coding and decoding synchronization; or the coding controller hides the number information in the coding information by a preset information processing method, and the coding controller extracts the number information by a corresponding information processing method to realize coding and decoding synchronization.
In the above embodiment, when the random number is transmitted through the channel, a synchronization frame header with the number information may be inserted into the front end of the encoded information, or the number information may be hidden in the encoded information, or the number information may be transmitted through an independent secure channel; the random number can be transmitted to the decoding controller in various modes, so that the difficulty of an illegal user in eavesdropping and cracking complete information is increased, and the interception resistance of the communication system is greatly improved.
The embodiment of the invention also provides an anti-interception communication system which comprises an encoder group input module, an encoder group consisting of a plurality of encoders, an encoder group output module, a decoder group input module, an encoder group consisting of a plurality of decoders, a decoder group output module, an encoding controller and a decoding controller.
The encoder group input module is used for receiving original information sent by the information sending equipment; the coding controller is used for generating numbering information once when receiving the original information once and selecting a corresponding coder from the coder group according to the numbering information; selecting corresponding codebook elements from a codebook space according to the number information, and performing parameter setting on the selected encoder by using the coding elements; the set encoder encodes the received original information to obtain encoded information; the encoder group output module is used for integrating the encoding information and sending the encoding information to the decoder group input module through an information transmission channel; the decoding controller is used for acquiring the number information in a preset mode, selecting and configuring a decoder according to the mode of selecting and configuring the encoder, and further decoding the received encoded information to obtain original information; and the decoder group output module is used for sending the original information obtained by decoding to the information receiving equipment.
It can be understood that the encoder group input module, the encoder group output module, the decoder group input module, and the decoder group output module may be physical components, such as an RS232 interface, an RJ45 interface, or a GPIB interface, or virtual components, such as functions and methods, which can achieve the purpose of transmitting information, and are not limited specifically herein.
In the above embodiment, the encoding controller generates the number information once every time the original information is received, and selects and configures the encoder according to the generated number information, that is, the selected encoder and the encoder configuration parameters jump in real time, so that even if an illegal user can intercept an encoded information stream, the encoding information stream is difficult to be decoded correctly through the accumulated encoded information in a short time, thereby increasing the difficulty of the illegal user in intercepting and cracking complete information, and greatly improving the interception resistance of the communication system.
Optionally, the codebook space Ω ═ { C ═ Cm,p,q,rI M is in the middle of M, P is in the middle of P, Q is in the middle of Q, R is in the middle of R, wherein M is {1,. and M }, P is in the middle of 1,. and P }, Q is in the middle of 1,. and Q, and R is in the middle of R,. and R }, wherein R is in the middle of R, M, P, Q and R are positive integers; any one codebook element C in codebook spacem,p,q,rCorresponding to a group of configuration parameters consisting of code pattern, code length, code rate and coding rule;
a decoder in an encoder/decoder group in the encoder group takes the number (m, p, q, r) or the number mapped by (m, p, q, r) as an encoder index/decoder index; codebook element C in the codebook spacem,p,q,rThe number (m, p, q, r) or the number mapped by (m, p, q, r) is taken as the codebook element index.
Optionally, the encoder group input module, the encoder group output module, the decoder group input module and the decoder group output module include two functional modes of serial-parallel-serial conversion and multi-channel switching; if a multi-channel switching mode is selected, the encoding controller generates a random number or a preset number every time the original information is received, and the encoding controller/the decoding controller selects an encoder/decoder from the encoder group/decoder group according to the random number or the preset number; if the serial-parallel-serial conversion mode is selected, the encoding controller generates a plurality of random numbers or preset numbers every time the original information is received, and the encoding controller/decoding controller selects a plurality of encoders/decoders from the encoder group according to the plurality of random numbers or preset numbers.
In the above embodiment, if the multi-path switching mode is selected, serial encoding of the original information is implemented by using one selected encoder; if the serial-parallel mode is selected, the parallel coding of the original information is realized through the selected multiple encoders; jump is implemented through various coding modes, the difficulty of eavesdropping and cracking complete information by an illegal user is further increased, and the interception resistance of the communication system is greatly improved.
Optionally, the encoding controller generates one or more random numbers each time it receives the original information; or, generating one or more predetermined numbers; if the number information generated by the coding controller is a random number, the random number is transmitted between the coding controller and the decoding controller through a channel, so that coding and decoding synchronization is realized; and if the number information generated by the coding controller is a preset number, the coding controller and the decoding controller are synchronous to a clock reference, and the number information is generated by a number generator with the same algorithm to realize coding and decoding synchronization.
Optionally, the transmitting the random number between the encoding controller and the decoding controller through a channel to achieve encoding and decoding synchronization includes: the coding controller inserts a synchronous frame header with the number information into the front end of the coding information, and the coding controller identifies and acquires the number information in the synchronous frame header to realize coding and decoding synchronization; or the coding controller and the decoding controller transmit the number information through independent secret channels to realize coding and decoding synchronization; or the coding controller hides the number information in the coding information by a preset information processing method, and the coding controller extracts the number information by a corresponding information processing method to realize coding and decoding synchronization.
In the description herein, references to the description of the term "one embodiment," "some embodiments," "an example," "a specific example," or "some examples," etc., mean that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the invention. In this specification, the schematic representations of the terms used above are not necessarily intended to refer to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Furthermore, various embodiments or examples and features of different embodiments or examples described in this specification can be combined and combined by one skilled in the art without contradiction.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.