CN111953473B - Signal processing method and device - Google Patents

Signal processing method and device Download PDF

Info

Publication number
CN111953473B
CN111953473B CN202010818336.4A CN202010818336A CN111953473B CN 111953473 B CN111953473 B CN 111953473B CN 202010818336 A CN202010818336 A CN 202010818336A CN 111953473 B CN111953473 B CN 111953473B
Authority
CN
China
Prior art keywords
chaotic
signal
target
sequence
chaotic sequence
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.)
Expired - Fee Related
Application number
CN202010818336.4A
Other languages
Chinese (zh)
Other versions
CN111953473A (en
Inventor
潘晓龙
王曦朔
张洪欣
吕瑞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing University of Posts and Telecommunications
Original Assignee
Beijing University of Posts and Telecommunications
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Beijing University of Posts and Telecommunications filed Critical Beijing University of Posts and Telecommunications
Priority to CN202010818336.4A priority Critical patent/CN111953473B/en
Publication of CN111953473A publication Critical patent/CN111953473A/en
Application granted granted Critical
Publication of CN111953473B publication Critical patent/CN111953473B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/001Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols using chaotic signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B10/00Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
    • H04B10/25Arrangements specific to fibre transmission

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Physics & Mathematics (AREA)
  • Electromagnetism (AREA)
  • Computer Security & Cryptography (AREA)
  • Compression, Expansion, Code Conversion, And Decoders (AREA)

Abstract

The embodiment of the invention provides a signal processing method and a signal processing device.A sending end can code an original signal based on a modulation order of a preset modulation mode to obtain a coded signal; generating a target chaotic sequence based on a preset chaotic equation; encrypting the coded signal based on the target chaotic sequence to obtain an encrypted signal; and modulating the encrypted signal according to a preset modulation mode to obtain a corresponding modulated signal, and transmitting the modulated signal to a receiving end. The receiving end can demodulate the modulated signal according to a preset modulation mode when receiving the modulated signal sent by the sending end to obtain an encrypted signal; generating a target chaotic sequence based on a preset chaotic equation; decrypting the encrypted signal based on the target chaotic sequence to obtain a coded signal; and decoding the coded signal to obtain an original signal. Based on the processing, on the premise of improving the safety of the signal, the receiving end can obtain the original signal.

Description

Signal processing method and device
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a signal processing method and apparatus.
Background
With the rapid development of optical fiber communication technology, the optical fiber communication technology has been widely applied to various fields. In an optical fiber communication system, in order to improve the transmission rate of signals, a transmitting end may modulate an original signal to be transmitted to obtain a corresponding modulated signal, and then the transmitting end may transmit the modulated signal to a receiving end.
However, during transmission of the modulated signal, a malicious user may intercept the modulated signal and demodulate the modulated signal to steal the original signal. In the prior art, no corresponding method is provided, which can prevent the original signal from being stolen, and further, the signal security in the prior art is low.
Disclosure of Invention
The embodiment of the invention aims to provide a signal processing method and a signal processing device so as to improve the safety of signals. The specific technical scheme is as follows:
in a first aspect, to achieve the above object, an embodiment of the present invention provides a signal processing method, where the method is applied to a sending end, and the method includes:
coding an original signal to be transmitted based on a modulation order M of a preset modulation mode to obtain a coded original signal serving as a coded signal;
generating a target chaotic sequence based on a preset one-dimensional chaotic equation; wherein the elements in the target chaotic sequence belong to [0, M-1], and the number of the elements in the target chaotic sequence is the same as the target number of the elements in the coded signal;
encrypting the coded signal based on the target chaotic sequence to obtain an encrypted coded signal serving as an encrypted signal;
and modulating the encrypted signal according to the preset modulation mode to obtain a corresponding modulated signal, and sending the modulated signal to a receiving end, so that the receiving end processes the modulated signal based on the preset modulation mode and the target chaotic sequence after receiving the modulated signal to obtain the original signal.
Optionally, the original signal is a sequence containing a plurality of binary values;
the method for coding an original signal to be transmitted based on a modulation order M of a preset modulation mode to obtain a coded original signal as a coded signal includes:
according to preset modulationThe modulation order M of the mode is used for grouping all binary numerical values in the original signal to obtain a plurality of binary numerical value groups; wherein the number of binary values in each of said sets of binary values is log2M;
Determining target values corresponding to the binary value groups according to the corresponding relation between the preset binary value groups and the target values; wherein the target value belongs to [0, M-1], and the target value is an integer;
a sequence including target values corresponding to the binary value groups is generated as an encoded signal.
Optionally, the generating a target chaotic sequence based on a preset one-dimensional chaotic equation includes:
performing iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
and rounding the elements smaller than the modulation order in the third chaotic sequence downwards, and calculating the difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence.
Optionally, the encrypting the encoded signal based on the target chaotic sequence to obtain an encrypted encoded signal, which is used as an encrypted signal, includes:
calculating the sum of each element in the target chaotic sequence and the corresponding element in the coded signal to obtain a first sequence to be processed;
subtracting the modulation order from the target element in the first sequence to be processed to obtain an encrypted coded signal as an encrypted signal, wherein the target element is larger than M-1
In a second aspect, to achieve the above object, an embodiment of the present invention provides a signal processing method, where the method is applied to a receiving end, and the method includes:
when a modulated signal sent by a sending end is received, demodulating the modulated signal according to a preset modulation mode to obtain an encrypted signal, wherein the modulated signal is obtained by modulating the encrypted signal by the sending end according to the preset modulation mode, the encrypted signal is obtained by encrypting a coded signal by the sending end based on a target chaotic sequence, and the coded signal is obtained by coding an original signal to be sent by the sending end based on a modulation order of the preset modulation mode;
generating the target chaotic sequence based on a preset one-dimensional chaotic equation; the elements in the target chaotic sequence belong to [0, M-1], the number of the elements in the target chaotic sequence is the same as the target number of the elements in the demodulation signal, and M is the modulation order of the preset modulation mode;
decrypting the encrypted signal based on the target chaotic sequence to obtain the coded signal;
and decoding the coded signal to obtain the original signal.
Optionally, the generating the target chaotic sequence based on a preset one-dimensional chaotic equation includes:
performing iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
and rounding the elements smaller than the modulation order in the third chaotic sequence downwards, and calculating the difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence.
Optionally, the decrypting the encrypted signal based on the target chaotic sequence to obtain the encoded signal includes:
calculating the difference value of each element in the encrypted signal and the corresponding element in the target chaotic sequence to obtain a second sequence to be processed;
and adding the modulation order to the element which is a negative number in the second sequence to be processed to obtain the coding signal.
Optionally, the decoding the encoded signal to obtain the original signal includes:
based on the modulation order, determining binary value groups corresponding to all target values in the coded signal according to the corresponding relation between preset binary value groups and the target values to obtain an original signal; wherein the target value belongs to [0, M-1], and the target value is an integer.
In a third aspect, to achieve the above object, an embodiment of the present invention provides a signal processing apparatus, where the apparatus is applied to a transmitting end, and the apparatus includes:
the encoding module is used for encoding an original signal to be transmitted based on a modulation order M of a preset modulation mode to obtain an encoded original signal serving as an encoded signal;
the generating module is used for generating a target chaotic sequence based on a preset one-dimensional chaotic equation; wherein the elements in the target chaotic sequence belong to [0, M-1], and the number of the elements in the target chaotic sequence is the same as the target number of the elements in the coded signal;
the encryption module is used for encrypting the coded signal based on the target chaotic sequence to obtain an encrypted coded signal as an encrypted signal;
and the modulation module is used for modulating the encrypted signal according to the preset modulation mode to obtain a corresponding modulated signal and sending the modulated signal to a receiving end, so that the receiving end processes the modulated signal based on the preset modulation mode and the target chaotic sequence after receiving the modulated signal to obtain the original signal.
Optionally, the original signal is a sequence containing a plurality of binary values;
the encoding module is specifically configured to group each binary value in the original signal according to a modulation order M of a preset modulation manner to obtain a plurality of binary value groups; wherein the number of binary values in each of said sets of binary values is log2M;
Determining target values corresponding to the binary value groups according to the corresponding relation between the preset binary value groups and the target values; wherein the target value belongs to [0, M-1], and the target value is an integer;
a sequence including target values corresponding to the binary value groups is generated as an encoded signal.
Optionally, the generating module is specifically configured to perform iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
and rounding the elements smaller than the modulation order in the third chaotic sequence downwards, and calculating the difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence.
Optionally, the encryption module is specifically configured to calculate, for each element in the target chaotic sequence, a sum of the element and a corresponding element in the encoded signal, to obtain a first sequence to be processed;
and subtracting the modulation order from the target element in the first sequence to be processed to obtain an encrypted coded signal as an encrypted signal, wherein the target element is larger than M-1.
In a fourth aspect, to achieve the above object, an embodiment of the present invention provides a signal processing apparatus, where the apparatus is applied to a receiving end, and the apparatus includes:
the demodulation module is used for demodulating the modulated signal according to a preset modulation mode when receiving the modulated signal sent by a sending end to obtain an encrypted signal, wherein the modulated signal is obtained by modulating the encrypted signal by the sending end according to the preset modulation mode, the encrypted signal is obtained by encrypting a coded signal by the sending end based on a target chaotic sequence, and the coded signal is obtained by coding an original signal to be sent by the sending end based on a modulation order of the preset modulation mode;
the generating module is used for generating the target chaotic sequence based on a preset one-dimensional chaotic equation; the elements in the target chaotic sequence belong to [0, M-1], the number of the elements in the target chaotic sequence is the same as the target number of the elements in the demodulation signal, and M is the modulation order of the preset modulation mode;
the decryption module is used for decrypting the encrypted signal based on the target chaotic sequence to obtain the coded signal;
and the decoding module is used for decoding the coded signal to obtain the original signal.
Optionally, the generating module is specifically configured to perform iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
and rounding the elements smaller than the modulation order in the third chaotic sequence downwards, and calculating the difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence.
Optionally, the decryption module is specifically configured to calculate, for each element in the encrypted signal, a difference between the element and a corresponding element in the target chaotic sequence, so as to obtain a second sequence to be processed;
and adding the modulation order to the element which is a negative number in the second sequence to be processed to obtain the coding signal.
Optionally, the decoding module is specifically configured to determine, based on the modulation order, a binary value group corresponding to each target value in the encoded signal according to a preset correspondence between the binary value group and the target value, so as to obtain an original signal; wherein the target value belongs to [0, M-1], and the target value is an integer.
The embodiment of the invention also provides electronic equipment which comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor configured to implement the steps of the signal processing method according to any one of the first aspect or the second aspect when executing the program stored in the memory.
An embodiment of the present invention further provides a computer-readable storage medium, in which a computer program is stored, and the computer program, when executed by a processor, implements the signal processing method according to any one of the first aspect or the second aspect.
Embodiments of the present invention also provide a computer program product containing instructions, which when run on a computer, cause the computer to execute the signal processing method according to any one of the first aspect or the second aspect.
In the signal processing method provided by the embodiment of the present invention, the sending end may encode the original signal based on the modulation order of the preset modulation mode to obtain the encoded original signal as the encoded signal; generating a target chaotic sequence based on a preset chaotic equation; encrypting the coded signal based on the target chaotic sequence to obtain an encrypted coded signal as an encrypted signal; and modulating the encrypted signal according to a preset modulation mode to obtain a corresponding modulated signal, and transmitting the modulated signal to a receiving end. The receiving end can demodulate the modulated signal according to a preset modulation mode when receiving the modulated signal sent by the sending end to obtain an encrypted signal; generating a target chaotic sequence based on a preset chaotic equation; decrypting the encrypted signal based on the target chaotic sequence to obtain a coded signal; and decoding the coded signal to obtain an original signal.
Based on the above processing, the transmitting end can encrypt the encoded signal after encoding the original signal, and further, can improve the security of the transmitted signal. Correspondingly, after the receiving end obtains the encrypted signal, the receiving end can decrypt the encrypted signal based on the target chaotic sequence, and further can obtain the original signal, namely, the receiving end can obtain the original signal on the premise of improving the safety of the signal.
Of course, not all of the advantages described above need to be achieved at the same time in the practice of any one product or method of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art that other embodiments can be obtained by using the drawings without creative efforts.
Fig. 1 is a block diagram of a signal processing system according to an embodiment of the present invention;
fig. 2 is a flowchart of a signal processing method according to an embodiment of the present invention;
fig. 3 is a flowchart of another signal processing method according to an embodiment of the present invention;
fig. 4 is a flowchart of another signal processing method according to an embodiment of the present invention;
fig. 5 is a flowchart of another signal processing method according to an embodiment of the present invention;
fig. 6 is a system block diagram of a method for generating a target chaotic sequence according to an embodiment of the present invention;
fig. 7 is a flowchart of a signal processing method according to an embodiment of the present invention;
fig. 8 is a flowchart of another signal processing method according to an embodiment of the present invention;
fig. 9 is a flowchart of another signal processing method according to an embodiment of the present invention;
fig. 10 is a system block diagram of a signal processing method according to an embodiment of the present invention;
fig. 11 is a structural diagram of a signal processing apparatus according to an embodiment of the present invention;
fig. 12 is a block diagram of a signal processing apparatus according to an embodiment of the present invention;
fig. 13 is a structural diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
During transmission of the modulated signal, a malicious user may intercept the modulated signal and demodulate the modulated signal to steal the original signal. In the prior art, no corresponding method is provided, which can prevent the original signal from being stolen, and further, the signal security in the prior art is low.
In order to solve the above problem, referring to fig. 1, fig. 1 is a block diagram of a signal processing system according to an embodiment of the present invention, where the signal processing system includes: a transmitting end and a receiving end. Wherein:
the transmitting end can encode an original signal to be transmitted based on a modulation order of a preset modulation mode to obtain an encoded original signal serving as an encoded signal; generating a target chaotic sequence based on a preset chaotic equation; encrypting the coded signal based on the target chaotic sequence to obtain an encrypted coded signal as an encrypted signal; and modulating the encrypted signal according to a preset modulation mode to obtain a corresponding modulated signal, and transmitting the modulated signal to a receiving end. The receiving end can demodulate the modulated signal according to a preset modulation mode when receiving the modulated signal sent by the sending end to obtain an encrypted signal; generating a target chaotic sequence based on a preset chaotic equation; decrypting the encrypted signal based on the target chaotic sequence to obtain a coded signal; and decoding the encoded and decrypted signal to obtain an original signal.
Based on the signal processing system provided by the embodiment of the invention, the sending end can encrypt the coded signal after the original signal is coded, and further, the safety of the sent signal can be improved. Correspondingly, after the receiving end obtains the encrypted signal, the receiving end can decrypt the encrypted signal based on the target chaotic sequence, and further can obtain the original signal, namely, the receiving end can obtain the original signal on the premise of improving the safety of the signal.
For other embodiments in the signal processing system, reference may be made to the following description related to method embodiments of the transmitting end and the receiving end.
Referring to fig. 2, fig. 2 is a flowchart of a signal processing method according to an embodiment of the present invention, where the method is applied to a sending end, where the sending end may be a sending end in the signal processing system, and the method may include the following steps:
s201: and coding the original signal to be transmitted based on the modulation order M of the preset modulation mode to obtain the coded original signal serving as a coded signal.
S202: and generating a target chaotic sequence based on a preset one-dimensional chaotic equation.
Wherein, the elements in the target chaotic sequence belong to [0, M-1], and the number of the elements in the target chaotic sequence is the same as the target number of the elements in the coded signal.
S203: and encrypting the coded signal based on the target chaotic sequence to obtain an encrypted coded signal serving as an encrypted signal.
S204: and modulating the encrypted signal according to a preset modulation mode to obtain a corresponding modulated signal, and transmitting the modulated signal to a receiving end, so that the receiving end processes the modulated signal based on the preset modulation mode and a target chaotic sequence after receiving the modulated signal to obtain an original signal.
Based on the signal processing method provided by the embodiment of the invention, the sending end can encrypt the coded signal after the original signal is coded, and further, the safety of the sent signal can be improved. Correspondingly, after the receiving end obtains the encrypted signal, the receiving end can decrypt the encrypted signal based on the target chaotic sequence, and further can obtain the original signal, namely, the receiving end can obtain the original signal on the premise of improving the safety of the signal.
In step S201, the preset Modulation scheme may be M-QAM (M-Quadrature Amplitude Modulation), or QPSK (Quadrature Phase Shift Keying), but is not limited thereto. It is understood that the modulation order M is a positive integer. The modulation order of the 8-QAM modulation mode is 8, the modulation order of the 16-QAM modulation mode is 16, and the modulation order of the QPSK modulation mode is 4.
In one embodiment of the present invention, the original signal may be a sequence containing a plurality of binary values, and referring to fig. 3, step S201 may include the following steps:
s2011: and according to the modulation order M of the preset modulation mode, grouping all binary values in the original signal to obtain a plurality of binary value groups.
Wherein the number of binary values in each set of binary values is log2M。
S2012: and determining the target value corresponding to each binary value group according to the preset corresponding relation between the binary value groups and the target value.
Wherein the target value belongs to [0, M-1], and the target value is an integer.
S2013: a sequence including target values corresponding to the respective binary value groups is generated as an encoded signal.
In step S2011, the transmitting end may determine a modulation order M of a preset modulation scheme, and then may follow the adjacent log2The M elements are a group, and binary values in the original signal are grouped to obtain a plurality of binary value groups.
Illustratively, the preset modulation mode is as follows: 8-QAM, then the modulation order is: 8, the original signal is: 001010001001. the sending end can be according to the adjacent log2Grouping binary values in the original signal by 8 (i.e. 3) elements, wherein the obtained multiple binary value groups comprise: 001, 010, 001, 001.
In addition, when grouping binary values in the original signal, if the number of binary values in the original signal is not log2M, the number of binary values in the original signal is log2An integer multiple of M.
For example, the modulation order is: 8, the original signal is: 0010100010011, the number of binary values in the original signal is: if 13, 13 are not integer multiples of 3, 20 s can be complemented at the end position of the original signal, and the original signal after 0 complementing is: 001010001001100, then, grouping the binary values in the original signal after being complemented by 0 according to the group of adjacent 3 elements, and obtaining a plurality of binary value groups including: 001, 010, 001, 001, 100.
In step S2012, after grouping the original signal to obtain a plurality of binary value sets, the sending end may search for a corresponding relationship between a preset binary value set and a target value, and determine a target value corresponding to each binary value set. The correspondence between the binary value set and the target value may be 8421 encoding rule, but is not limited thereto.
Illustratively, the binary values in the original signal are grouped, and the resulting set of binary values includes: 001, 010, 001, 001, 100. The sending end can search for a preset 8421 coding rule and determine that the target numerical value corresponding to 001 is as follows: 1,010 corresponds to target values of: 2,100 corresponds to target values of: further, obtaining target values corresponding to each binary value set includes: 1,2,1,1,4.
In step S2013, after the target values corresponding to the respective binary value groups are determined, a sequence including the determined target values may be determined as the encoded signal.
For the above embodiment, the target values corresponding to each binary value set include: 1, 2, 1, 1, 4, the encoded signal is: 1,2,1,1,4.
In step S202, the preset one-dimensional Chaotic equation may be a one-dimensional Logistic (lorentz) equation, or may also be a one-dimensional PWLCM (Piece Wise Linear Chaotic Map) equation, or may also be a one-dimensional Tent (Tent Map) equation, or may also be a one-dimensional icmc (Iterative Chaotic Map with Infinite folding) equation, but is not limited thereto.
In one embodiment of the present invention, referring to fig. 4, step S202 may include the steps of:
s2021: iterative computation is carried out based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence.
Wherein, the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn) (1)
Xn+1n +1 th value, X, of a chaotic variable representing a one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the number of targets; the arrangement order of the elements in the first chaotic sequence is determined according to the order in which the elements are obtained.
S2022: and selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence.
S2023: and aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence.
S2024: and rounding the elements smaller than the modulation order in the third chaotic sequence downwards, and calculating the difference value between the elements equal to the modulation order in the third chaotic sequence and the first preset numerical value to obtain the target chaotic sequence.
In step S2021, the preset one-dimensional chaotic equation is a one-dimensional Logistic equation. When n is 1, X1Is an initial value, X, of a chaotic variable of a one-dimensional Logistic equation1Belongs to (0, 1). The control parameter mu of the one-dimensional Logistic equation belongs to (3.5699, 4)]。
The sending end can select a numerical value belonging to (0, 1) as an initial value X of a chaos variable of a one-dimensional Logistic equation1And X is1As the 1 st element of the first chaotic sequence. A member (3.5699, 4) may also be selected]Is used as the control parameter mu of the one-dimensional Logistic equation. The transmitting end may then base on the selected initial value X1And a control parameter mu, and the above formula (1), calculating to obtain X2And X is2As the 2 nd element of the first chaotic sequence. The sending end may then be based on X2Mu and the above formula (1), and X is calculated3And X is3As the 3 rd element of the first chaotic sequence, and so on, until the number of iterative computations reaches the preset number of iterations L, the first chaotic sequence can be obtained as follows:X1,X2,X3,…,XL+1. The preset number of iterations L may be set by a skilled person based on experience, L being not less than the target number.
Illustratively, the target number of elements in the encoded signal is: and 3, presetting the iteration times as follows: 5, initial value X of chaos variable of one-dimensional Logistic equation1Comprises the following steps: 0.4, the control parameter mu is: 3.8. the sending end can carry out iterative computation based on the formula (1) to obtain X2Comprises the following steps: 0.912, X3Comprises the following steps: 0.305, X4Comprises the following steps: 0.806, X5Comprises the following steps: 0.594, X6Comprises the following steps: 0.916, the first chaotic sequence is: 0.4,0.912,0.305,0.806,0.594,0.916.
With respect to step S2022 and step S2023, in one implementation, if the number of elements in the first chaotic sequence is equal to the target number, the first chaotic sequence may be directly used as the second chaotic sequence.
In another implementation, if the number of elements in the first chaotic sequence is greater than the target number, the transmitting end may select, from the kth element in the first chaotic sequence, the consecutive elements of the target number from the beginning to the end as the second chaotic sequence. Where K can be set empirically by a technician.
For the above embodiment, the first chaotic sequence is: 0.4,0.912,0.305,0.806,0.594,0.916. The transmitting end may select continuous 3 elements from the 3 rd element (i.e. 0.305) in the first chaotic sequence, and obtain a second chaotic sequence as follows: 0.305,0.806,0.594. If the modulation order is 8, the product of each element in the second chaotic sequence and 8 can be calculated, and the third chaotic sequence is obtained as follows: 2.44,6.448,4.752.
In step S2024, after determining the third chaotic sequence, the transmitting end may determine elements smaller than the modulation order in the third chaotic sequence and elements identical to the modulation order. Then, the transmitting end may round the elements smaller than the modulation order downward, and calculate a difference between the elements having the same modulation order and the first preset value, so as to obtain the target chaotic sequence.
The first preset value may be set by a technician according to experience, for example, the first preset value may be 1, but is not limited thereto.
Illustratively, the third chaotic sequence is: 2.44, 6.448, and 4.752, the transmitting end may determine that the elements smaller than the modulation order in the third chaotic sequence include: 2.44, 6.448, 4.752, then, the transmitting end may round down elements smaller than the modulation order to obtain a target chaotic sequence as: 2,6,4.
In an embodiment of the present invention, the transmitting end may further determine the target chaotic sequence based on a one-dimensional PWLCM equation. Wherein, the one-dimensional PWLCM equation is as follows:
Figure BDA0002633552910000141
Yi+1value i +1, Y, of the chaotic variable representing the one-dimensional PWLCM equationiAn ith value representing a chaotic variable of a one-dimensional PWLCM equation, p represents a control parameter, i is a positive integer, and Y is a positive integer when i is 11Initial values of chaotic variables representing a one-dimensional PWLCM equation. Wherein p is (0, 0.5), Y1Belongs to (0, 1).
The sending end can select a numerical value belonging to (0, 1) as an initial value Y of a chaotic variable of a one-dimensional PWLCM equation1And selecting a numerical value belonging to (0, 0.5) as the control parameter p of the one-dimensional PWLCM equation. Then, the transmitting end may select an initial value Y based on the selected initial value1The control parameter p and the formula (2) are subjected to iterative calculation to obtain a first chaotic sequence.
And then, selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence. Because the elements in the first chaotic sequence generated based on the one-dimensional PWLCM equation may not belong to [0, 1], the elements in the second chaotic sequence may not belong to [0, 1], and the transmitting end may perform normalization processing on the elements in the second chaotic sequence to obtain a normalized second chaotic sequence, so that the elements in the normalized second chaotic sequence belong to [0, 1 ]. Furthermore, the transmitting end can generate a target chaotic sequence based on the normalized second chaotic sequence.
In step S203, after generating the target chaotic sequence, the transmitting end may encrypt the encoded signal based on the target chaotic sequence to obtain an encrypted encoded signal (i.e., an encrypted signal).
In one embodiment of the present invention, referring to fig. 5, step S203 may include the steps of:
s2031: and calculating the sum of each element in the target chaotic sequence and the corresponding element in the coded signal to obtain a first sequence to be processed.
S2032: and subtracting the modulation order from the target element in the first sequence to be processed to obtain an encrypted coded signal as an encrypted signal.
Wherein the target element is greater than M-1.
Illustratively, the modulation order is: 8, the target chaotic sequence is as follows: 2, 6, 4, 3, 5, the coded signal is: 1,2,1,1,4. The sending end can calculate that the first to-be-processed sequence is: 3,8,5,4,9. Then, the sending end may determine that the target element in the first to-be-processed sequence is: 8,9. The sending end can also calculate the difference between the target element and the modulation order, and can obtain an encrypted signal as follows: 3,0,5,4,1.
In another implementation, a technician may determine in advance a correspondence (which may be referred to as a first correspondence) between elements in the target chaotic sequence, elements in the encoded signal, and elements in the encrypted signal, and store the correspondence in the transmitting end. Subsequently, the transmitting end may determine the encrypted signal based on the locally stored first correspondence, the element in the target chaotic sequence, and the element in the encoded signal. For example, referring to table 1, table 1 is a first correspondence relationship when the modulation scheme is 8-QAM.
TABLE 1
Figure BDA0002633552910000151
In table 1, the 1 st row is the value of an element in the target chaotic sequence, and the 1 st column is the value of an element in the encoded signal. If the elements in the target chaotic sequence are: 1, the corresponding elements in the encoded signal are: based on the first correspondence shown in table 1, the corresponding elements in the encrypted signal can be obtained as: 0. if the elements in the target chaotic sequence are: 4, the corresponding elements in the coded signal are: based on the first correspondence shown in table 1, the corresponding elements in the encrypted signal can be obtained as: 2.
in step S204, after obtaining the encrypted signal, the transmitting end may map the encrypted signal to a corresponding constellation diagram according to a preset modulation manner, so as to obtain a modulated signal, and further, the transmitting end may transmit the modulated signal to the receiving end.
After receiving the modulated signal, the receiving end may process the received modulated signal to obtain an original signal. The processing method of the receiving end will be described in detail in the following embodiments.
Referring to fig. 6, fig. 6 is a system block diagram of a method for generating a target chaotic sequence according to an embodiment of the present invention.
The sending end can perform iterative computation based on a preset one-dimensional chaotic equation, an initial value of a chaotic variable of the one-dimensional chaotic equation and a control parameter to obtain a first chaotic sequence. The sending end can also carry out self-adaptive selection based on the first chaotic sequence to obtain a second chaotic sequence. The adaptive selection mode can be as follows: and selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence.
Then, the sending end can perform normalization processing on each element in the second chaotic sequence to obtain a normalized second chaotic sequence, and perform sequence amplification on the normalized second chaotic sequence to obtain a third chaotic sequence. The way of sequence amplification may be: and aiming at each element in the normalized second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence. The elements in the third chaotic sequence belong to [0, M ].
Furthermore, the transmitting end can perform sequence rounding on the third chaotic sequence to obtain a target chaotic sequence. The elements in the target chaotic sequence belong to [0, M-1 ]. The sequence rounding method can be as follows: and rounding the elements smaller than the modulation order in the third chaotic sequence downwards, and calculating the difference value between the elements equal to the modulation order in the third chaotic sequence and the first preset numerical value.
Referring to fig. 7, fig. 7 is a flowchart of a signal processing method according to an embodiment of the present invention, where the method is applied to a receiving end, where the receiving end may be a receiving end in the signal processing system, and the method may include the following steps:
s701: when receiving a modulated signal sent by a sending end, demodulating the modulated signal according to a preset modulation mode to obtain an encrypted signal.
The modulated signal is obtained by modulating an encrypted signal by a sending end according to a preset modulation mode, the encrypted signal is obtained by encrypting a coded signal by the sending end based on a target chaotic sequence, and the coded signal is obtained by coding an original signal to be sent by the sending end based on a modulation order of the preset modulation mode.
S702: and generating a target chaotic sequence based on a preset one-dimensional chaotic equation.
The elements in the target chaotic sequence belong to [0, M-1], the number of the elements in the target chaotic sequence is the same as the target number of the elements in the demodulation signal, and M is a modulation order of a preset modulation mode.
S703: and decrypting the encrypted signal based on the target chaotic sequence to obtain a coded signal.
S704: and decoding the coded signal to obtain an original signal.
Based on the signal processing method provided by the embodiment of the invention, the sending end can encrypt the coded signal after the original signal is coded, and further, the safety of the sent signal can be improved. Correspondingly, after the receiving end obtains the encrypted signal, the receiving end can decrypt the encrypted signal based on the target chaotic sequence, and further can obtain the original signal, namely, the receiving end can obtain the original signal on the premise of improving the safety of the signal.
In step S701, the transmitting end may encrypt the encoded signal after encoding the original signal to be transmitted to obtain an encrypted signal, and modulate the encrypted signal to obtain a corresponding modulated signal, and then the transmitting end may transmit the modulated signal to the receiving end. The processing method of the sending end can refer to the detailed description in the above embodiments.
Correspondingly, the receiving end may receive the modulated signal sent by the sending end, and then, the receiving end may demodulate the modulated signal according to a preset modulation manner to obtain a corresponding signal (i.e., an encrypted signal).
It can be understood that the preset modulation mode is a modulation mode in which the sending end modulates the encrypted signal. The preset modulation scheme may be M-QAM, or the preset modulation scheme may also be QPSK, but is not limited thereto. The modulation order of the 8-QAM modulation mode is 8, the modulation order of the 16-QAM modulation mode is 16, and the modulation order of the QPSK modulation mode is 4.
In step S702, the preset one-dimensional chaotic equation may be a one-dimensional Logistic equation, or may also be a one-dimensional PWLCM equation, or may also be a one-dimensional Tent equation, or may also be a one-dimensional icmc equation, but is not limited thereto.
In one embodiment of the present invention, referring to fig. 8, step S702 may include the steps of:
s7021: iterative computation is carried out based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence.
Wherein, the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing a one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the number of targets; the arrangement order of the elements in the first chaotic sequence is determined according to the order in which the elements are obtained.
S7022: and selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence.
S7023: and aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence.
S7024: and rounding the elements smaller than the modulation order in the third chaotic sequence downwards, and calculating the difference value between the elements equal to the modulation order in the third chaotic sequence and the first preset numerical value to obtain the target chaotic sequence.
The method for generating the target chaotic sequence based on the preset one-dimensional chaotic equation at the receiving end is similar to the method for generating the target chaotic sequence based on the preset one-dimensional chaotic equation at the transmitting end, and the detailed description in the foregoing embodiments can be referred to.
In step S703, after generating the target chaotic sequence, the receiving end may decrypt the encrypted signal based on the target chaotic sequence to obtain a corresponding signal (i.e., a coded signal). It can be understood that the target chaotic sequence used by the receiving end to decrypt the encrypted signal is the same as the target chaotic sequence used by the transmitting end to encrypt the encoded signal.
In one embodiment of the present invention, referring to fig. 9, step S703 may include the steps of:
s7031: and calculating the difference value of each element in the encrypted signal and the corresponding element in the target chaotic sequence to obtain a second sequence to be processed.
S7032: and adding the modulation order to the element which is negative in the second sequence to be processed to obtain a coded signal.
Illustratively, the modulation order is: 8, the target chaotic sequence is as follows: 2, 6, 4, 3, 5, the encrypted signal is: 3,0,5,4,1. The receiving end can calculate that the second to-be-processed sequence is: 1, -6,1,1, -4. Then, the receiving end may determine that the negative element in the second pending sequence includes: -6, -4. Furthermore, the receiving end can calculate the sum of the negative element and the modulation order, and obtain the encoded signal as: 1,2,1,1,4.
In another implementation manner, a technician may determine in advance a correspondence (which may be referred to as a second correspondence) between an element in the target chaotic sequence, an element in the encrypted signal, and an element in the encoded signal, and store the correspondence in the receiving end, where the second correspondence corresponds to the first correspondence. Subsequently, the receiving end may determine the encoded signal based on the second correspondence stored locally, the element in the target chaotic sequence, and the element in the encrypted signal. For example, referring to table 2, table 2 shows a second corresponding relationship when the modulation scheme is 8-QAM.
TABLE 2
Figure BDA0002633552910000191
In table 2, row 1 is the value of an element in the target chaotic sequence, and column 1 is the value of an element in the encrypted signal. If the elements in the target chaotic sequence are: 1, the corresponding elements in the encrypted signal are: based on the second correspondence shown in table 2, the corresponding elements in the encrypted signal can be obtained as follows: 6. if the elements in the target chaotic sequence are: 3, the corresponding elements in the encrypted signal are: based on the second correspondence shown in table 2, the corresponding elements in the encrypted signal can be obtained as follows: 7.
after obtaining the encoded signal, the receiving end may decode the encoded signal to obtain the original signal in step S704.
In one embodiment of the present invention, step S704 may include the following steps:
and determining the binary value group corresponding to each target value in the coded signal according to the corresponding relation between the preset binary value group and the target value on the basis of the modulation order to obtain the original signal.
Wherein the target value belongs to [0, M-1], and the target value is an integer. The correspondence between the set of binary values and the target value may be 8421 encoding rules, but is not limited thereto.
Illustratively, the encoded signal is: 1, 2, 1, 1, 5, the receiving end can search for a preset 8421 coding rule, and based on the modulation order, it is determined that the binary value group corresponding to 1 is: the set of binary values corresponding to 001, 2 is: 010, 5 corresponds to a set of binary values: 101, obtaining a binary value set corresponding to each target value includes: 001, 010, 001, 001, 101. Furthermore, the receiving end can determine that the original signal is; 001010001001101.
referring to fig. 10, fig. 10 is a system block diagram of a signal processing method according to an embodiment of the present invention.
The transmitting end can generate a target chaotic sequence based on a preset one-dimensional chaotic equation, and encode an original signal to be transmitted based on a modulation order of a preset modulation mode to obtain an encoded original signal as an encoded signal. Then, the transmitting end may encrypt the encoded signal based on the target chaotic sequence to obtain an encrypted encoded signal as an encrypted signal. Furthermore, the transmitting end can modulate the encrypted signal according to a preset modulation mode to obtain a corresponding modulated signal, and transmit the modulated signal to the receiving end, and the modulated signal is transmitted to the receiving end through an optical fiber. The receiving end can demodulate the modulated signal according to a preset modulation mode when receiving the modulated signal sent by the sending end to obtain an encrypted signal. The receiving end can also generate a target chaotic sequence based on a preset chaotic equation. Then, based on the target chaotic sequence, the encrypted signal is decrypted to obtain a coded signal, and then the coded signal is decoded to obtain an original signal.
Corresponding to the embodiment of the method in fig. 2, referring to fig. 11, fig. 11 is a structural diagram of a signal processing apparatus according to an embodiment of the present invention, where the apparatus is applied to a transmitting end, and the apparatus includes:
the encoding module 1101 is configured to encode an original signal to be transmitted based on a modulation order M of a preset modulation manner, to obtain an encoded original signal, which is used as an encoded signal;
a generating module 1102, configured to generate a target chaotic sequence based on a preset one-dimensional chaotic equation; wherein the elements in the target chaotic sequence belong to [0, M-1], and the number of the elements in the target chaotic sequence is the same as the target number of the elements in the coded signal;
an encrypting module 1103, configured to encrypt the encoded signal based on the target chaotic sequence to obtain an encrypted encoded signal, which is used as an encrypted signal;
and a modulation module 1104, configured to modulate the encrypted signal according to the preset modulation manner to obtain a corresponding modulated signal, and send the modulated signal to a receiving end, so that after the receiving end receives the modulated signal, the receiving end processes the modulated signal based on the preset modulation manner and the target chaotic sequence to obtain the original signal.
Optionally, the original signal is a sequence containing a plurality of binary values;
the encoding module 1101 is specifically configured to group each binary value in the original signal according to a modulation order M of a preset modulation manner to obtain a plurality of binary value groups; wherein the number of binary values in each of said sets of binary values is log2M;
Determining target values corresponding to the binary value groups according to the corresponding relation between the preset binary value groups and the target values; wherein the target value belongs to [0, M-1], and the target value is an integer;
a sequence including target values corresponding to the binary value groups is generated as an encoded signal.
Optionally, the generating module 1102 is specifically configured to perform iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
and rounding the elements smaller than the modulation order in the third chaotic sequence downwards, and calculating the difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence.
Optionally, the encrypting module 1103 is specifically configured to calculate, for each element in the target chaotic sequence, a sum of the element and a corresponding element in the encoded signal, to obtain a first sequence to be processed;
and subtracting the modulation order from the target element in the first sequence to be processed to obtain an encrypted coded signal as an encrypted signal, wherein the target element is larger than M-1.
Based on the signal processing device provided by the embodiment of the invention, the sending end can encrypt the coded signal after the original signal is coded, and further, the safety of the sent signal can be improved. Correspondingly, after the receiving end obtains the encrypted signal, the receiving end can decrypt the encrypted signal based on the target chaotic sequence, and further can obtain the original signal, namely, the receiving end can obtain the original signal on the premise of improving the safety of the signal.
Corresponding to the embodiment of the method in fig. 7, referring to fig. 12, fig. 12 is a block diagram of a signal processing apparatus according to an embodiment of the present invention, where the apparatus is applied to a receiving end, and the apparatus includes:
a demodulation module 1201, configured to demodulate, according to a preset modulation manner, a modulated signal sent by a sending end when the modulated signal is received, so as to obtain an encrypted signal, where the modulated signal is obtained by modulating, by the sending end, the encrypted signal according to the preset modulation manner, the encrypted signal is obtained by encrypting, by the sending end, a coded signal based on a target chaotic sequence, and the coded signal is obtained by coding, by the sending end, an original signal to be sent based on a modulation order of the preset modulation manner;
a generating module 1202, configured to generate the target chaotic sequence based on a preset one-dimensional chaotic equation; the elements in the target chaotic sequence belong to [0, M-1], the number of the elements in the target chaotic sequence is the same as the target number of the elements in the demodulation signal, and M is the modulation order of the preset modulation mode;
a decryption module 1203, configured to decrypt the encrypted signal based on the target chaotic sequence to obtain the encoded signal;
a decoding module 1204, configured to decode the encoded signal to obtain the original signal.
Optionally, the generating module 1202 is specifically configured to perform iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
and rounding the elements smaller than the modulation order in the third chaotic sequence downwards, and calculating the difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence.
Optionally, the decryption module 1203 is specifically configured to calculate, for each element in the encrypted signal, a difference between the element and a corresponding element in the target chaotic sequence, so as to obtain a second to-be-processed sequence;
and adding the modulation order to the element which is a negative number in the second sequence to be processed to obtain the coding signal.
Optionally, the decoding module 1204 is specifically configured to determine, based on the modulation order, a binary value group corresponding to each target value in the encoded signal according to a preset correspondence between the binary value group and the target value, so as to obtain an original signal; wherein the target value belongs to [0, M-1], and the target value is an integer.
Based on the signal processing device provided by the embodiment of the invention, the sending end can encrypt the coded signal after the original signal is coded, and further, the safety of the sent signal can be improved. Correspondingly, after the receiving end obtains the encrypted signal, the receiving end can decrypt the encrypted signal based on the target chaotic sequence, and further can obtain the original signal, namely, the receiving end can obtain the original signal on the premise of improving the safety of the signal.
An embodiment of the present invention further provides an electronic device, as shown in fig. 13, including a processor 1301, a communication interface 1302, a memory 1303, and a communication bus 1304, where the processor 1301, the communication interface 1302, and the memory 1303 complete mutual communication through the communication bus 1304,
a memory 1303 for storing a computer program;
the processor 1301 is configured to implement the steps of the signal processing method according to any of the foregoing embodiments when executing the program stored in the memory 1303.
The communication bus mentioned in the electronic device may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the electronic equipment and other equipment.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
Based on the electronic equipment provided by the embodiment of the invention, the sending end can encrypt the coded signal after the original signal is coded, and further, the safety of the sent signal can be improved. Correspondingly, after the receiving end obtains the encrypted signal, the receiving end can decrypt the encrypted signal based on the target chaotic sequence, and further can obtain the original signal, namely, the receiving end can obtain the original signal on the premise of improving the safety of the signal.
In yet another embodiment of the present invention, a computer-readable storage medium is further provided, in which a computer program is stored, and the computer program, when executed by a processor, implements the steps of the signal processing method described in any of the above embodiments.
In yet another embodiment, the present invention further provides a computer program product containing instructions which, when run on a computer, cause the computer to perform the signal processing method described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the apparatus, system, electronic device, computer-readable storage medium, and computer program product system embodiments, the descriptions are relatively simple because they are substantially similar to the method embodiments, and reference may be made to some descriptions of the method embodiments for related points.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (8)

1. A signal processing method, applied to a transmitting end, the method comprising:
coding an original signal to be transmitted based on a modulation order M of a preset modulation mode to obtain a coded original signal serving as a coded signal;
generating a target chaotic sequence based on a preset one-dimensional chaotic equation, wherein the generation process comprises the following steps:
performing iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
rounding down elements smaller than the modulation order in the third chaotic sequence, and calculating a difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence;
wherein the elements in the target chaotic sequence belong to [0, M-1], and the number of the elements in the target chaotic sequence is the same as the target number of the elements in the coded signal;
encrypting the coded signal based on the target chaotic sequence to obtain an encrypted coded signal serving as an encrypted signal;
and modulating the encrypted signal according to the preset modulation mode to obtain a corresponding modulated signal, and sending the modulated signal to a receiving end, so that the receiving end processes the modulated signal based on the preset modulation mode and the target chaotic sequence after receiving the modulated signal to obtain the original signal.
2. The method of claim 1, wherein the original signal is a sequence comprising a plurality of binary values;
the method for coding an original signal to be transmitted based on a modulation order M of a preset modulation mode to obtain a coded original signal as a coded signal includes:
grouping each binary value in the original signal according to a modulation order M of a preset modulation mode to obtain a plurality of binary value groups; wherein each of saidThe number of binary values in the set of binary values is log2M;
Determining target values corresponding to the binary value groups according to the corresponding relation between the preset binary value groups and the target values; wherein the target value belongs to [0, M-1], and the target value is an integer;
a sequence including target values corresponding to the binary value groups is generated as an encoded signal.
3. The method according to claim 1, wherein the encrypting the encoded signal based on the target chaotic sequence to obtain an encrypted encoded signal as an encrypted signal comprises:
calculating the sum of each element in the target chaotic sequence and the corresponding element in the coded signal to obtain a first sequence to be processed;
and subtracting the modulation order from the target element in the first sequence to be processed to obtain an encrypted coded signal as an encrypted signal, wherein the target element is larger than M-1.
4. A signal processing method, applied to a receiving end, the method comprising:
when a modulated signal sent by a sending end is received, demodulating the modulated signal according to a preset modulation mode to obtain an encrypted signal, wherein the modulated signal is obtained by modulating the encrypted signal by the sending end according to the preset modulation mode, the encrypted signal is obtained by encrypting a coded signal by the sending end based on a target chaotic sequence, and the coded signal is obtained by coding an original signal to be sent by the sending end based on a modulation order of the preset modulation mode;
generating the target chaotic sequence based on a preset one-dimensional chaotic equation, wherein the generation process comprises the following steps:
performing iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
rounding down elements smaller than the modulation order in the third chaotic sequence, and calculating a difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence;
the elements in the target chaotic sequence belong to [0, M-1], the number of the elements in the target chaotic sequence is the same as the target number of the elements in the demodulation signal, and M is the modulation order of the preset modulation mode;
decrypting the encrypted signal based on the target chaotic sequence to obtain the coded signal;
and decoding the coded signal to obtain the original signal.
5. The method of claim 4, wherein decrypting the encrypted signal based on the target chaotic sequence to obtain the encoded signal comprises:
calculating the difference value of each element in the encrypted signal and the corresponding element in the target chaotic sequence to obtain a second sequence to be processed;
and adding the modulation order to the element which is a negative number in the second sequence to be processed to obtain the coding signal.
6. The method of claim 4, wherein said decoding the encoded signal to obtain the original signal comprises:
based on the modulation order, determining binary value groups corresponding to all target values in the coded signal according to the corresponding relation between preset binary value groups and the target values to obtain an original signal; wherein the target value belongs to [0, M-1], and the target value is an integer.
7. A signal processing apparatus, wherein the apparatus is applied to a transmitting end, the apparatus comprising:
the encoding module is used for encoding an original signal to be transmitted based on a modulation order M of a preset modulation mode to obtain an encoded original signal serving as an encoded signal;
the generating module is used for generating a target chaotic sequence based on a preset one-dimensional chaotic equation, and comprises:
performing iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
rounding down elements smaller than the modulation order in the third chaotic sequence, and calculating a difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence; wherein the elements in the target chaotic sequence belong to [0, M-1], and the number of the elements in the target chaotic sequence is the same as the target number of the elements in the coded signal;
the encryption module is used for encrypting the coded signal based on the target chaotic sequence to obtain an encrypted coded signal as an encrypted signal;
and the modulation module is used for modulating the encrypted signal according to the preset modulation mode to obtain a corresponding modulated signal and sending the modulated signal to a receiving end, so that the receiving end processes the modulated signal based on the preset modulation mode and the target chaotic sequence after receiving the modulated signal to obtain the original signal.
8. A signal processing apparatus, wherein the apparatus is applied to a receiving end, the apparatus comprising:
the demodulation module is used for demodulating the modulated signal according to a preset modulation mode when receiving the modulated signal sent by a sending end to obtain an encrypted signal, wherein the modulated signal is obtained by modulating the encrypted signal by the sending end according to the preset modulation mode, the encrypted signal is obtained by encrypting a coded signal by the sending end based on a target chaotic sequence, and the coded signal is obtained by coding an original signal to be sent by the sending end based on a modulation order of the preset modulation mode;
a generating module, configured to generate the target chaotic sequence based on a preset one-dimensional chaotic equation, including:
performing iterative computation based on a preset one-dimensional chaotic equation to obtain a first chaotic sequence; wherein the one-dimensional chaotic equation is as follows:
Xn+1=μXn(1-Xn)
Xn+1n +1 th value, X, of a chaotic variable representing the one-dimensional chaotic equationnExpressing the nth value of the chaotic variable of the one-dimensional chaotic equation, wherein mu expresses a control parameter, and n is a positive integer;
the first chaotic sequence comprises 1 st value to L +1 st value of chaotic variables of the one-dimensional chaotic equation, L represents the number of times of iterative computation, and L is not less than the target number; the arrangement sequence of each element in the first chaotic sequence is determined according to the sequence of obtaining each element;
selecting continuous elements with the target number from the first chaotic sequence to obtain a second chaotic sequence;
aiming at each element in the second chaotic sequence, calculating the product of the element and the modulation order to obtain a third chaotic sequence;
rounding down elements smaller than the modulation order in the third chaotic sequence, and calculating a difference value between the elements equal to the modulation order in the third chaotic sequence and a first preset numerical value to obtain a target chaotic sequence; the elements in the target chaotic sequence belong to [0, M-1], the number of the elements in the target chaotic sequence is the same as the target number of the elements in the demodulation signal, and M is the modulation order of the preset modulation mode;
the decryption module is used for decrypting the encrypted signal based on the target chaotic sequence to obtain the coded signal;
and the decoding module is used for decoding the coded signal to obtain the original signal.
CN202010818336.4A 2020-08-14 2020-08-14 Signal processing method and device Expired - Fee Related CN111953473B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010818336.4A CN111953473B (en) 2020-08-14 2020-08-14 Signal processing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010818336.4A CN111953473B (en) 2020-08-14 2020-08-14 Signal processing method and device

Publications (2)

Publication Number Publication Date
CN111953473A CN111953473A (en) 2020-11-17
CN111953473B true CN111953473B (en) 2022-02-15

Family

ID=73342328

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010818336.4A Expired - Fee Related CN111953473B (en) 2020-08-14 2020-08-14 Signal processing method and device

Country Status (1)

Country Link
CN (1) CN111953473B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116796354B (en) * 2023-08-16 2023-11-07 莱芜职业技术学院 Information security enhancement method for computer system

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6704420B1 (en) * 1998-06-02 2004-03-09 France Telecom Device for sending or receiving a signal encrypted using deterministic chaos
US7072469B1 (en) * 1999-07-23 2006-07-04 France Telecom Devices for emitting or receiving signals encrypted by deterministic chaos, and a transmission system, in particular a radio transmission system, including such devices
CN105577359A (en) * 2016-03-18 2016-05-11 杭州电子科技大学 OOFDM (Optical Orthogonal Frequency Division Multiplexing) encryption system based on chaos sequence pilot frequency mapping
CN109889338A (en) * 2019-04-22 2019-06-14 苏州大学 Quantum encryption method based on chaos sequence
CN110418220A (en) * 2019-07-22 2019-11-05 北京邮电大学 The generation method and device of a kind of broad sense Frequency Division Multiplexing system, fiber-optic signal
CN111294196A (en) * 2018-12-07 2020-06-16 中国移动通信集团陕西有限公司 Signal sending and receiving method and device, electronic equipment and storage medium
CN111314048A (en) * 2020-03-04 2020-06-19 广东工业大学 Chaotic secret optical communication system based on double random phase codes
CN111447054A (en) * 2020-05-28 2020-07-24 北京邮电大学 FBMC passive optical network physical layer encryption method and device based on five-dimensional hyperchaos

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US6704420B1 (en) * 1998-06-02 2004-03-09 France Telecom Device for sending or receiving a signal encrypted using deterministic chaos
US7072469B1 (en) * 1999-07-23 2006-07-04 France Telecom Devices for emitting or receiving signals encrypted by deterministic chaos, and a transmission system, in particular a radio transmission system, including such devices
CN105577359A (en) * 2016-03-18 2016-05-11 杭州电子科技大学 OOFDM (Optical Orthogonal Frequency Division Multiplexing) encryption system based on chaos sequence pilot frequency mapping
CN111294196A (en) * 2018-12-07 2020-06-16 中国移动通信集团陕西有限公司 Signal sending and receiving method and device, electronic equipment and storage medium
CN109889338A (en) * 2019-04-22 2019-06-14 苏州大学 Quantum encryption method based on chaos sequence
CN110418220A (en) * 2019-07-22 2019-11-05 北京邮电大学 The generation method and device of a kind of broad sense Frequency Division Multiplexing system, fiber-optic signal
CN111314048A (en) * 2020-03-04 2020-06-19 广东工业大学 Chaotic secret optical communication system based on double random phase codes
CN111447054A (en) * 2020-05-28 2020-07-24 北京邮电大学 FBMC passive optical network physical layer encryption method and device based on five-dimensional hyperchaos

Non-Patent Citations (4)

* Cited by examiner, † Cited by third party
Title
A satellite communication system transmission scheme based on probabilistic shaping;Wei Zhang,etc;《IEEE》;20191031;全文 *
Physical-Enhanced Secure Strategy for OFDMA-PON Using Chaos and Deoxyribonucleic Acid Encoding;Chongfu Zhang,etc;《IEEE》;20180104;全文 *
一种适用于概率成形光传输系统的调制格式识别方法;李志沛等;《北京邮电大学学报》;20190624;全文 *
双随机相位编码与AES结合的图像加密方案;王勇等;《微电子学与计算机》;20200705;全文 *

Also Published As

Publication number Publication date
CN111953473A (en) 2020-11-17

Similar Documents

Publication Publication Date Title
Sharifzadeh et al. Adaptive batch size image merging steganography and quantized Gaussian image steganography
CN110663215B (en) Elliptic curve point multiplication device and method in white-box scene
CN111447054B (en) FBMC passive optical network physical layer encryption method and device based on five-dimensional hyperchaos
CN112347498B (en) Encryption method, encryption device, electronic equipment and readable storage medium
CN113239391B (en) Third-party-free logistic regression federal learning model training system and method
CN113904808B (en) Private key distribution and decryption method, device, equipment and medium
CN114465708B (en) Privacy data processing method, device, system, electronic equipment and storage medium
CN112383523B (en) Image encryption method, related device and storage medium
CN111953473B (en) Signal processing method and device
CN115580396A (en) System and method for inquiring hiding trace
CN111478752B (en) Information coding method and device
CN112398646B (en) Identity-based encryption method and system with short public parameters on ideal lattice
CN110688092B (en) Random number generation method, device, equipment and storage medium
CN107294705B (en) Method, device and system for generating and verifying key
CN117278210A (en) Random careless transmission expansion method based on trusted execution environment and related device
CN115062299B (en) Security detection method and device for data leakage and electronic equipment
CN115412365A (en) Data privacy protection method based on multilayer encryption
CN115189865A (en) Method and device for obtaining effective quantum key
CN113806775A (en) Block chain message processing method and device based on convolution optimization
CN108075889B (en) Data transmission method and system for reducing complexity of encryption and decryption operation time
KR101026647B1 (en) Communication security system and method of the same with key derivation cryptographic algorithm
Zeng et al. Cryptographic enhancement of image data security through quantum-classical hybrid encryption with parameterized pixel ratios
CN110990650A (en) Method and system for judging maximum value in private data held by multiple data terminals
CN113037669B (en) Method and device for coding small blocks in satellite internet
US20240163075A1 (en) Privacy computing method based on homomorphic encryption

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
GR01 Patent grant
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20220215