CN109873695B - Method and device for determining insertion point of interference waveform based on insect antenna simulation - Google Patents

Method and device for determining insertion point of interference waveform based on insect antenna simulation Download PDF

Info

Publication number
CN109873695B
CN109873695B CN201711268429.9A CN201711268429A CN109873695B CN 109873695 B CN109873695 B CN 109873695B CN 201711268429 A CN201711268429 A CN 201711268429A CN 109873695 B CN109873695 B CN 109873695B
Authority
CN
China
Prior art keywords
detection
node
waveform data
detection node
value
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.)
Active
Application number
CN201711268429.9A
Other languages
Chinese (zh)
Other versions
CN109873695A (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.)
Aisino Corp
Original Assignee
Aisino Corp
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 Aisino Corp filed Critical Aisino Corp
Priority to CN201711268429.9A priority Critical patent/CN109873695B/en
Publication of CN109873695A publication Critical patent/CN109873695A/en
Application granted granted Critical
Publication of CN109873695B publication Critical patent/CN109873695B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention relates to the technical field of encryption equipment safety, in particular to a method and a device for determining an interference waveform insertion point based on insect antenna simulation. The method comprises the following steps: setting corresponding detection step length based on waveform data, wherein the waveform data comprises acquired waveform data and reference waveform data; dividing the waveform data into a plurality of detection areas based on detection step length, respectively setting corresponding detection nodes in each detection area, and respectively setting corresponding calculation windows aiming at each detection node, wherein the calculation window of any detection node is mutually overlapped with the calculation windows of adjacent detection nodes; respectively calculating a correlation value of the waveform data in the calculation window of each detection node in the current detection area, calculating a difference value of the waveform data of a first detection node in the current detection area based on the correlation value, and determining the first detection node as an insertion point of an interference waveform when the difference value is judged to be greater than a set threshold value.

Description

Method and device for determining insertion point of interference waveform based on insect antenna simulation
Technical Field
The invention relates to the technical field of encryption equipment safety, in particular to a method and a device for determining an interference waveform insertion point based on insect antenna simulation.
Background
At present, in the detection of the security device against side channel attack, because a sampling starting point is shifted, or an internal clock is shifted, or random scrambling operation is added during internal operation, most of side channel data obtained by sampling needs to be aligned in a time domain, and subsequent detection work can be continued.
When aligning side channel data, there are three main cases: the first case is that the sampling starting point is shifted, namely the side channel data obtained by sampling is subjected to rigid shift on the whole; the second case is internal clock drift, i.e. some time domain pulling or compression occurs in the sampled side channel data; the third case is the insertion of an interference waveform, that is, the side channel data obtained by sampling is inserted with an interference waveform, which causes the side channel data to be shifted, and between the two interference waveforms, the side channel data is normal and is rigid in characteristic, but the normal waveform after the interference waveform also has a certain characteristic of flexible shift due to the randomness of the interference waveform to some extent.
At present, when aligning side channel data that is shifted due to interference waveform insertion, it is necessary to accurately locate an interference waveform insertion point, accurately determine an interference waveform insertion position, accurately remove an interference waveform, and then perform subsequent alignment operation, where in the prior art, a method for locating an side channel interference waveform insertion point is as follows: firstly, aligning reference data and a side channel data starting point needing to be aligned; then, a window value W and a correlation threshold value E are taken, the correlation is calculated by the window W along the data of two side channels which are aligned at the starting point, the calculated correlation is compared with the threshold value E, and in the process of carrying out correlation calculation by moving the window backwards, if the correlation calculation result of a certain position is found to be smaller than the threshold value E, the position is judged to be the position of the interference waveform insertion point.
However, due to the presence of noise, etc., a too high correlation threshold E and a too small window W cannot be selected, and for fault tolerance, a somewhat lower correlation threshold and a somewhat larger window W are selected, which may then lead to an inaccurate position of the determined insertion point of the interference waveform.
In view of the above, a new method and device for determining an insertion point of an interference waveform based on insect antenna simulation are needed to overcome the defects and shortcomings in the prior art.
Disclosure of Invention
The embodiment of the invention aims to provide an interference waveform insertion point determining method and device based on insect antenna simulation, which are used for solving the problem of inaccurate positioning of side channel interference waveform insertion points in the prior art.
The specific technical scheme provided in the embodiment of the invention is as follows:
a method for determining an insertion point of an interference waveform based on insect antenna simulation comprises the following steps:
setting a corresponding detection step length based on waveform data, wherein the waveform data comprises acquired waveform data and reference waveform data;
dividing the waveform data into a plurality of detection regions based on the detection step length, respectively setting corresponding detection nodes in each detection region, and respectively setting corresponding calculation windows for each detection node, wherein the calculation window of any detection node is mutually overlapped with the calculation windows of adjacent detection nodes;
respectively calculating a correlation value of waveform data in a calculation window of each detection node in a current detection area, calculating a difference value of the waveform data of a first detection node in the current detection area based on the correlation value, and determining the first detection node as an insertion point of an interference waveform when the difference value is judged to be greater than a set threshold value.
Preferably, based on the waveform data, setting a corresponding detection step size specifically includes:
acquiring the wavelength of an interference waveform and the wavelength of a normal waveform in waveform data;
and setting corresponding detection step length based on the wavelength of the interference waveform and the wavelength of the normal waveform.
Preferably, the setting of the corresponding detection node in each detection region and the setting of the corresponding calculation window for each detection node respectively specifically include: respectively executing the following operations for each detection area:
taking a starting point of one detection region as a first detection node of the one detection region, taking an end point of the one detection region as a last detection node of the one detection region, and uniformly arranging at least one detection node between the first detection node and the last detection node, wherein the distance between any two adjacent detection nodes is the same;
and respectively setting the size of a corresponding calculation window for each detection node in the detection area, wherein the sizes of the calculation windows from the first detection node to the last detection node are reduced in an equal proportion.
Preferably, calculating a difference value of the waveform data of the first detection node in the current detection region based on the correlation value specifically includes:
if the current detection area is the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure BDA0001495053290000032
wherein P is a difference value of one probe node, Q is a correlation value of the one probe node,s is the distance value from the detection node to the first detection node;
and taking the sum of the difference values of the other detection nodes as the difference value of the first detection node.
Preferably, calculating a difference value of the waveform data of the first detection node in the current detection region based on the correlation value specifically includes:
if the current detection area is other than the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure BDA0001495053290000031
wherein, P is a difference value of a detection node, Q is a relevance value of the detection node, and S is a distance value from the detection node to a first detection node;
calculating the sum of difference values of the other detection nodes;
and taking the product of the sum of the difference values and the difference value of the first detection node in the previous detection area as the difference value of the first detection node in the current detection area.
An interference waveform insertion point determining device based on insect antenna simulation comprises:
the device comprises a first setting unit, a second setting unit and a third setting unit, wherein the first setting unit is used for setting corresponding detection step length based on waveform data, and the waveform data comprises acquired waveform data and reference waveform data;
a second setting unit, configured to divide the waveform data into a plurality of detection regions based on the detection step length, set a corresponding detection node in each detection region, and set a corresponding calculation window for each detection node, where the calculation window of any detection node overlaps with the calculation windows of adjacent detection nodes;
the calculation unit is used for calculating a correlation value of the waveform data in the calculation window of each detection node in the current detection area, calculating a difference value of the waveform data of a first detection node in the current detection area based on the correlation value, and determining the first detection node as an insertion point of an interference waveform when the difference value is judged to be larger than a set threshold value.
Preferably, when setting the corresponding detection step length based on the waveform data, the first setting unit is specifically configured to:
acquiring the wavelength of an interference waveform and the wavelength of a normal waveform in waveform data;
and setting a corresponding detection step length based on the wavelength of the interference waveform and the wavelength of the normal waveform.
Preferably, when the corresponding detection nodes are respectively set in each detection region, and the corresponding calculation windows are respectively set for each detection node, the second setting unit is specifically configured to:
respectively executing the following operations for each detection area:
taking a starting point of one detection region as a first detection node of the one detection region, taking an end point of the one detection region as a last detection node of the one detection region, and uniformly arranging at least one detection node between the first detection node and the last detection node, wherein the distance between any two adjacent detection nodes is the same;
and respectively setting the size of a corresponding calculation window for each detection node in the detection area, wherein the sizes of the calculation windows from the first detection node to the last detection node are reduced in an equal proportion.
Preferably, when calculating the difference value of the waveform data of the first detection node in the current detection region based on the correlation value, the calculation unit is specifically configured to:
if the current detection area is the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure BDA0001495053290000052
wherein, P is a difference value of a detection node, Q is a relevance value of the detection node, and S is a distance value from the detection node to a first detection node;
and taking the sum of the difference values of the other detection nodes as the difference value of the first detection node.
Preferably, when calculating the difference value of the waveform data of the first detection node in the current detection region based on the correlation value, the calculation unit is specifically configured to:
if the current detection area is other than the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure BDA0001495053290000051
wherein, P is a difference value of a detection node, Q is a relevance value of the detection node, and S is a distance value from the detection node to a first detection node;
calculating the sum of difference values of the other detection nodes;
and taking the product of the sum of the difference values and the difference value of the first detection node in the previous detection area as the difference value of the first detection node in the current detection area.
The invention has the following beneficial effects:
in summary, in the embodiment of the present invention, in the process of determining the insertion point of the interference waveform based on the insect antenna simulation, a corresponding detection step length is set based on waveform data, where the waveform data includes the acquired waveform data and reference waveform data; dividing the waveform data into a plurality of detection regions based on the detection step length, respectively setting corresponding detection nodes in each detection region, and respectively setting corresponding calculation windows for each detection node, wherein the calculation window of any detection node is mutually overlapped with the calculation windows of adjacent detection nodes; respectively calculating a correlation value of waveform data in a calculation window of each detection node in a current detection area, calculating a difference value of the waveform data of a first detection node in the current detection area based on the correlation value, and determining the first detection node as an insertion point of an interference waveform when the difference value is judged to be greater than a set threshold value.
By adopting the method, the insertion point position of the side channel interference waveform can be accurately acted, the phenomenon of misjudgment caused by the existence of noise and the like is avoided, the alignment effect and efficiency are improved, the quantity of side channel data required by detection is reduced, and the detection efficiency is improved.
Drawings
FIG. 1 is a detailed flowchart of a method for determining an insertion point of an interference waveform based on insect antenna simulation according to an embodiment of the present invention;
FIG. 2 is a detailed flowchart of another method for determining an insertion point of an interference waveform based on insect antenna simulation according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an interference waveform insertion point determining device based on insect antenna simulation according to an embodiment of the present invention.
Detailed Description
In order to solve the problem of inaccurate positioning of side channel interference waveform insertion points in the prior art, the embodiment of the invention provides a novel method and a device for determining interference waveform insertion points based on insect antenna simulation, wherein the method comprises the following steps: setting a corresponding detection step length based on waveform data, wherein the waveform data comprises acquired waveform data and reference waveform data; dividing the waveform data into a plurality of detection regions based on the detection step length, respectively setting corresponding detection nodes in each detection region, and respectively setting corresponding calculation windows for each detection node, wherein the calculation window of any detection node is mutually overlapped with the calculation windows of adjacent detection nodes; respectively calculating a correlation value of waveform data in a calculation window of each detection node in a current detection area, calculating a difference value of the waveform data of a first detection node in the current detection area based on the correlation value, and determining the first detection node as an insertion point of an interference waveform when the difference value is judged to be greater than a set threshold value.
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.
The scheme of the present invention will be described in detail by way of specific examples, but the present invention is not limited to the following examples.
Referring to fig. 1, in an embodiment of the present invention, a detailed process of an interference waveform insertion point determination method based on insect antenna simulation is as follows:
step 100: and setting a corresponding detection step length based on waveform data, wherein the waveform data comprises the acquired waveform data and reference waveform data.
In practical applications, an interference signal may be inserted into the collected side channel data, and then, when the side channel interference waveform insertion point determination scheme is implemented, the waveform data at least includes the collected side channel data and reference data, where the reference data is the side channel data into which the interference waveform is not inserted.
In the embodiment of the present invention, when step 100 is executed, the wavelength of the interference waveform and the wavelength of the normal waveform in the waveform data are obtained, and a corresponding detection step length is set based on the wavelength of the interference waveform and the wavelength of the normal waveform.
For example, if it is determined that the wavelength of the interference waveform is a and the wavelength of the normal waveform is B by observing the waveform data, the detection step length L can be determined according to the wavelength of the interference waveform a and the wavelength of the normal waveform B, and preferably, the detection step length L is set as: l ═ a + B)/2, which may be adjusted according to different application scenarios and/or different user requirements, and is not limited in this embodiment of the present invention.
Step 110: dividing the waveform data into a plurality of detection regions based on the detection step length, respectively setting corresponding detection nodes in each detection region, and respectively setting corresponding calculation windows for each detection node, wherein the calculation window of any detection node is mutually overlapped with the calculation windows of adjacent detection nodes.
In the embodiment of the present invention, since the detection step length is set, the waveform data can be divided into a plurality of detection regions from the start point of the waveform data according to the detection step length, and the length of each detection region is the length of the detection step length. The calculation window is a minimum calculation unit in calculating a correlation value between two waveforms in the waveform data, and the correlation between two pieces of associated waveform data in one calculation window is calculated in units of calculation windows.
Further, in step 110, the following operations are respectively performed for each of the detection regions:
first, a start point of one detection region is set as a first detection node (i.e., a detection start point) of the one detection region, an end point of the one detection region is set as a last detection node (i.e., a detection end point) of the one detection region, and at least one detection node is uniformly disposed between the first detection node and the last detection node.
For example, if the detection region X is a detection region with a length of one detection step (L), the starting point of the detection region X is a, and the end point of the detection region X is D, then a is used as the first detection node of the detection region X, D is used as the last detection node of the detection region X, and the size of the calculation window a of a and the size of the calculation window D of D are determined according to the size of the detection step, where the calculation window a is larger than the calculation window D, and then B C are selected between a and D as detection nodes, where the distances between AB, BC, and CD are equal.
In the embodiment of the invention, the distances between any two adjacent detection nodes in any detection region are the same, and the number of the detection nodes needs to be set correspondingly according to actual conditions, so that when a calculation window is set for each detection node in the following process, the calculation windows of any two adjacent nodes in one detection region can be overlapped with each other, that is, all waveform data in one detection region can be covered by calculating the correlation value of the waveform data in each calculation window in one detection region.
Then, the size of a corresponding calculation window is set for each detection node in the detection area, wherein the calculation window of any detection node is overlapped with the calculation window of an adjacent node, and the sizes of the calculation windows from the first detection node to the last detection node are decreased in an equal proportion.
For example, if the detection region X includes four detection nodes a, B, C, and D, a corresponds to the calculation window a, B corresponds to the calculation window B, C corresponds to the calculation window C, and D corresponds to the calculation window D, and the size of the calculation window a is 8 and the size of the calculation window D is 2, the size of the calculation window B may be set to 6, and the size of the calculation window C may be set to 4.
Step 120: respectively calculating a correlation value of waveform data in a calculation window of each detection node in a current detection area, calculating a difference value of the waveform data of a first detection node in the current detection area based on the correlation value, and determining the first detection node as an insertion point of an interference waveform when the difference value is judged to be larger than a set threshold value.
In the embodiment of the present invention, first, for a current detection region (i.e. a current calculated detection region), correlation values of waveform data in calculation windows in the current detection region are respectively calculated, and a difference value of each calculation window is calculated according to the calculated correlation values of each calculation window, where a calculation formula is as follows:
Figure BDA0001495053290000091
wherein, P is a difference value of a detection node, Q is a correlation value of the detection node, and S is a distance value from the detection node to a first detection node;
then, calculating a difference value of waveform data of a first detection node of the current detection area according to the calculated difference value of each calculation window;
and finally, judging whether the difference value of the waveform data of the first detection node of the current detection area is greater than a set threshold, if so, judging the first detection node of the current detection area as an interference waveform insertion point, and if not, continuing to calculate the next detection area of the current detection area vector.
In the embodiment of the invention, the relevance value of one detection node refers to the relevance value between waveform data in a calculation window corresponding to the detection node; the difference value of the one detecting node refers to a difference value between waveform data in the calculation window corresponding to the one detecting node.
In the embodiment of the present invention, when the difference value of the waveform data of the first detection node in the current detection area is calculated according to the calculated difference value of each calculation window, two different situations are specifically adopted:
the first case is: and if the current detection area is the first detection area, directly taking the sum of the difference values of the other detection nodes as the difference value corresponding to the first detection node of the current detection area.
The second case is: if the current detection area is other detection areas except the first detection area, after the sum of the difference values of the other detection nodes is calculated, the product of the sum of the difference values and the difference value corresponding to the first detection node in the previous detection area is used as the difference value corresponding to the first detection node in the current detection area.
In the following, the above embodiment is further described in detail by using a specific application scenario, and referring to fig. 2, in the embodiment of the present invention, a specific flow of the interference waveform insertion point determination method based on insect antenna simulation is as follows:
step 200: the detection length is selected and the respective detection area is determined.
Specifically, the simulated insect antenna length (i.e., the detection length) is selected by observing the waveform data, and preferably, the intermediate value between the wavelength of the interference waveform and the wavelength of the normal waveform is used as the simulated insect antenna length.
Step 201: the size of the calculation window for the detection start and detection tip in each detection zone is determined.
Specifically, the sensitivity at the detection start point (the size of the window for performing the correlation calculation) and the sensitivity at the detection tip are selected, wherein the sensitivity at the detection start point is larger than the sensitivity at the detection tip.
Step 202: the probe node spacing in the probe region is selected.
Specifically, the appropriate distance between the detection nodes, that is, the number of the detection nodes corresponding to the appropriate number, may be selected according to the detection step length, the sensitivity at the detection starting point, and the sensitivity at the detection end, and the selection is based on the fact that the calculation window of each detection node and the calculation window of the adjacent detection node are overlapped with each other.
Step 203: and calculating the size of a calculation window of each detection node according to an equal proportional decreasing rule.
Specifically, the calculation window at the detection starting point is the largest, the calculation window at the detection end is the smallest, and each detection node between the detection starting point and the detection end is decreased in a linear equal ratio.
Step 204: and calculating the correlation value between the waveform data in the calculation window respectively corresponding to each detection node in the current detection area.
Step 205: and calculating difference values among the waveform data in the calculation windows respectively corresponding to other detection nodes except the detection starting point in the current detection region.
Specifically, for one detection node, (1-correlation value) is divided by the distance from the one detection node to the detection starting point to obtain the attenuated difference value.
Step 206: and accumulating the attenuated difference values corresponding to the detection nodes respectively to obtain an accumulated sum.
Step 207: judging whether the current detection area is the first detection area, if so, executing step 280; otherwise, step 290 is performed.
Step 208: and taking the accumulated sum as a difference value of the detection starting points in the current detection area.
Step 209: the product of the accumulated sum and the difference value of the detected starting point in the previous detection region is taken as the difference value of the detected starting point in the current detection region.
Step 210: and judging whether the difference value exceeds a threshold value, if so, executing step 211, otherwise, executing step 204 to step 210 for the next detection area.
Step 211: and taking the detection starting point of the current detection area as an interference waveform insertion point.
Based on the above-mentioned embodiments, referring to fig. 3, in an embodiment of the present invention, a disturbance waveform insertion point determination device based on insect antenna simulation comprises at least a first setting unit 30, a second setting unit 31 and a calculation unit 32, wherein,
a first setting unit 30, configured to set a corresponding detection step based on waveform data, where the waveform data includes acquired waveform data and reference waveform data;
a second setting unit 31, configured to divide the waveform data into a plurality of detection regions based on the detection step, set a corresponding detection node in each detection region, and set a corresponding calculation window for each detection node, where the calculation window of any detection node overlaps with the calculation windows of adjacent detection nodes;
the calculating unit 32 is configured to calculate a correlation value of the waveform data in the calculation window of each detection node in the current detection area, calculate a difference value of the waveform data of a first detection node in the current detection area based on the correlation value, and determine the first detection node as an insertion point of the interference waveform when it is determined that the difference value is greater than a set threshold.
Preferably, when setting the corresponding detection step length based on the waveform data, the first setting unit 30 is specifically configured to:
acquiring the wavelength of an interference waveform and the wavelength of a normal waveform in waveform data;
and setting a corresponding detection step length based on the wavelength of the interference waveform and the wavelength of the normal waveform.
Preferably, when the corresponding detection node is respectively set in each detection region, and the corresponding calculation window is respectively set for each detection node, the second setting unit 31 is specifically configured to:
respectively executing the following operations for each detection area:
taking a starting point of one detection region as a first detection node of the one detection region, taking an end point of the one detection region as a last detection node of the one detection region, and uniformly arranging at least one detection node between the first detection node and the last detection node, wherein the distance between any two adjacent detection nodes is the same;
and respectively setting the size of a corresponding calculation window for each detection node in the detection area, wherein the sizes of the calculation windows from the first detection node to the last detection node are decreased in an equal proportion.
Preferably, when calculating the difference value of the waveform data of the first detection node in the current detection region based on the correlation value, the calculating unit 32 is specifically configured to:
if the current detection area is the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure BDA0001495053290000121
wherein P is the difference of one probe nodeThe value Q is the relevance value of the detection node, and S is the distance value from the detection node to the first detection node;
and taking the sum of the difference values of the other detection nodes as the difference value of the first detection node.
Preferably, when calculating the difference value of the waveform data of the first detection node in the current detection region based on the correlation value, the calculating unit 32 is specifically configured to:
if the current detection area is other than the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure BDA0001495053290000122
wherein, P is a difference value of a detection node, Q is a relevance value of the detection node, and S is a distance value from the detection node to a first detection node;
calculating the sum of difference values of the other detection nodes;
and taking the product of the sum of the difference values and the difference value of the first detection node in the previous detection area as the difference value of the first detection node in the current detection area.
In the embodiment of the invention, the position with the obvious correlation response is probed in advance by simulating the length of the insect antenna, and the length of the insect antenna can be selected to be half of the sum of the wavelength of the interference waveform and the wavelength of the normal waveform, and can be adjusted, so that the influence of the strong signal of the position with the obvious correlation response can be advanced to the front correct interference position, and the error misjudgment caused by the strength of the position calculation result with the obvious correlation response as the correct error can be reduced.
By simulating that the tip of the insect antenna is thin and sensitive, the base of the antenna is thick and numb, namely the correlation calculation window at the position of the detection starting point is large, and the window is linearly reduced towards the direction of the detection tip along the antenna, so that the sensitivity of the detection node close to the detection starting point to noise is not strong, and the error of misjudging the interference caused by the noise into the interference caused by the interference waveform can be reduced.
The attenuation of the signal sensed by the simulated insect antenna in the transmission process is that when the signal is transmitted to the control center after each part of the insect antenna senses the signal, an attenuation process is carried out, and the farther the detection node is away from the detection starting point, the more the attenuation of the correlation calculation result in the summation operation is.
By amplifying the calculation result of the current detection starting point with the unamplified result of the previous detection starting point, the calculation result of the weak difference is more obvious than the calculation result of the previous noise due to the amplification effect when the detection starting point moves to the position of the weak difference.
In summary, in the embodiment of the present invention, in the process of determining the insertion point of the interference waveform based on the insect antenna simulation, a corresponding detection step length is set based on waveform data, where the waveform data includes the acquired waveform data and reference waveform data; dividing the waveform data into a plurality of detection regions based on the detection step length, respectively setting corresponding detection nodes in each detection region, and respectively setting corresponding calculation windows for each detection node, wherein the calculation window of any detection node is mutually overlapped with the calculation windows of adjacent detection nodes; respectively calculating a correlation value of waveform data in a calculation window of each detection node in a current detection area, calculating a difference value of the waveform data of a first detection node in the current detection area based on the correlation value, and determining the first detection node as an insertion point of an interference waveform when the difference value is judged to be greater than a set threshold value.
By adopting the method, the insertion point position of the side channel interference waveform can be accurately acted, the phenomenon of misjudgment caused by the existence of noise and the like is avoided, the alignment effect and efficiency are improved, the quantity of side channel data required by detection is reduced, and the detection efficiency is improved.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (6)

1. A method for determining an insertion point of an interference waveform based on insect antenna simulation is characterized by comprising the following steps:
setting a corresponding detection step length based on waveform data, wherein the waveform data comprises acquired waveform data and reference waveform data;
dividing the waveform data into a plurality of detection regions based on the detection step length, respectively setting corresponding detection nodes in each detection region, and respectively setting corresponding calculation windows for each detection node, wherein the calculation window of any detection node is mutually overlapped with the calculation windows of adjacent detection nodes;
respectively calculating a correlation value of waveform data in a calculation window of each detection node in a current detection area, calculating a difference value of the waveform data of a first detection node in the current detection area based on the correlation value, and determining the first detection node as an insertion point of an interference waveform when the difference value is judged to be greater than a set threshold value;
calculating a difference value of waveform data of a first detection node in the current detection region based on the correlation value, specifically including:
if the current detection area is the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure 561840DEST_PATH_IMAGE002
wherein, in the step (A),
Figure 478981DEST_PATH_IMAGE004
is the difference value of one probe node,
Figure 258718DEST_PATH_IMAGE006
the relevance value of the one detection node is the distance value from the one detection node to the first detection node;
taking the sum of the difference values of the other detection nodes as the difference value of the first detection node;
calculating a difference value of the waveform data of the first detection node in the current detection region based on the correlation value, specifically including:
if the current detection area is other than the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure 653927DEST_PATH_IMAGE002
wherein, in the process,
Figure 468299DEST_PATH_IMAGE004
is the difference value of one probe node,
Figure 228445DEST_PATH_IMAGE006
for the relevance value of said one probe node, S is said one probe node to the firstA distance value of a probe node;
calculating the sum of the difference values of the other detection nodes;
and taking the product of the sum of the difference values and the difference value of the first detection node in the previous detection area as the difference value of the first detection node in the current detection area.
2. The method of claim 1, wherein setting the corresponding detection step size based on the waveform data comprises:
acquiring the wavelength of an interference waveform and the wavelength of a normal waveform in waveform data;
and setting a corresponding detection step length based on the wavelength of the interference waveform and the wavelength of the normal waveform.
3. The method according to claim 1 or 2, wherein the step of setting a corresponding detection node in each detection region and setting a corresponding calculation window for each detection node comprises:
respectively executing the following operations for each detection area:
taking a starting point of one detection region as a first detection node of the one detection region, taking an end point of the one detection region as a last detection node of the one detection region, and uniformly arranging at least one detection node between the first detection node and the last detection node, wherein the distance between any two adjacent detection nodes is the same;
and respectively setting the size of a corresponding calculation window for each detection node in the detection area, wherein the sizes of the calculation windows from the first detection node to the last detection node are reduced in an equal proportion.
4. An interference waveform insertion point determining device based on insect antenna simulation is characterized by comprising:
the device comprises a first setting unit, a second setting unit and a third setting unit, wherein the first setting unit is used for setting corresponding detection step length based on waveform data, and the waveform data comprises acquired waveform data and reference waveform data;
a second setting unit, configured to divide the waveform data into a plurality of detection regions based on the detection step length, set a corresponding detection node in each detection region, and set a corresponding calculation window for each detection node, where the calculation window of any detection node overlaps with the calculation windows of adjacent detection nodes;
a calculating unit, configured to calculate a correlation value of waveform data in a calculation window of each detection node in a current detection region, calculate a difference value of waveform data of a first detection node in the current detection region based on the correlation value, and determine the first detection node as an insertion point of an interference waveform when it is determined that the difference value is greater than a set threshold;
the device is further configured to, when calculating a difference value of the waveform data of the first detection node in the current detection region based on the correlation value, the calculation unit is specifically configured to:
if the current detection area is the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure 495478DEST_PATH_IMAGE002
wherein, in the step (A),
Figure 694378DEST_PATH_IMAGE004
is the difference value of one probe node,
Figure 363257DEST_PATH_IMAGE006
the relevance value of the one detection node is the distance value from the one detection node to the first detection node;
taking the sum of the difference values of the other detection nodes as the difference value of the first detection node;
when calculating a difference value of the waveform data of the first detection node in the current detection region based on the correlation value, the calculation unit is specifically configured to:
if the current detection area is other than the first detection area, respectively calculating difference values of other detection nodes except the first detection node based on the calculated relevance value of the waveform data in the calculation window of each detection node in the current detection area, wherein the calculation formula is as follows:
Figure 356621DEST_PATH_IMAGE002
wherein, in the step (A),
Figure 110950DEST_PATH_IMAGE004
is the difference value of one probe node,
Figure 847962DEST_PATH_IMAGE006
the relevance value of the one detection node is the distance value from the one detection node to the first detection node;
calculating the sum of difference values of the other detection nodes;
and taking the product of the sum of the difference values and the difference value of the first detection node in the previous detection area as the difference value of the first detection node in the current detection area.
5. The apparatus according to claim 4, wherein, in setting the corresponding detection step size based on the waveform data, the first setting unit is specifically configured to:
acquiring the wavelength of an interference waveform and the wavelength of a normal waveform in waveform data;
and setting a corresponding detection step length based on the wavelength of the interference waveform and the wavelength of the normal waveform.
6. The apparatus according to claim 4 or 5, wherein when a corresponding probe node is respectively disposed in each probe region, and a corresponding calculation window is respectively disposed for each probe node, the second setting unit is specifically configured to:
respectively executing the following operations for each detection area:
taking a starting point of one detection region as a first detection node of the one detection region, taking an end point of the one detection region as a last detection node of the one detection region, and uniformly arranging at least one detection node between the first detection node and the last detection node, wherein the distance between any two adjacent detection nodes is the same;
and respectively setting the size of a corresponding calculation window for each detection node in the detection area, wherein the sizes of the calculation windows from the first detection node to the last detection node are reduced in an equal proportion.
CN201711268429.9A 2017-12-05 2017-12-05 Method and device for determining insertion point of interference waveform based on insect antenna simulation Active CN109873695B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711268429.9A CN109873695B (en) 2017-12-05 2017-12-05 Method and device for determining insertion point of interference waveform based on insect antenna simulation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711268429.9A CN109873695B (en) 2017-12-05 2017-12-05 Method and device for determining insertion point of interference waveform based on insect antenna simulation

Publications (2)

Publication Number Publication Date
CN109873695A CN109873695A (en) 2019-06-11
CN109873695B true CN109873695B (en) 2022-05-06

Family

ID=66916481

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711268429.9A Active CN109873695B (en) 2017-12-05 2017-12-05 Method and device for determining insertion point of interference waveform based on insect antenna simulation

Country Status (1)

Country Link
CN (1) CN109873695B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115664633B (en) * 2022-12-27 2023-03-21 飞腾信息技术有限公司 Waveform processing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110060570A (en) * 2009-11-30 2011-06-08 한국전자통신연구원 Analysis method of side-chnnel analyzer
CN106908769A (en) * 2017-05-03 2017-06-30 安徽省瑞鼎电子技术有限公司 A kind of multifunction radar detects Waveform generation method
CN106936561A (en) * 2015-12-29 2017-07-07 航天信息股份有限公司 A kind of side-channel attack protective capacities appraisal procedure and system

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7822154B2 (en) * 2001-04-27 2010-10-26 The Directv Group, Inc. Signal, interference and noise power measurement

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20110060570A (en) * 2009-11-30 2011-06-08 한국전자통신연구원 Analysis method of side-chnnel analyzer
CN106936561A (en) * 2015-12-29 2017-07-07 航天信息股份有限公司 A kind of side-channel attack protective capacities appraisal procedure and system
CN106908769A (en) * 2017-05-03 2017-06-30 安徽省瑞鼎电子技术有限公司 A kind of multifunction radar detects Waveform generation method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
RSA时间信道滑动窗口攻击方法及量化分析;毛保磊等;《西安电子科技大学学报》;20170413;全文 *

Also Published As

Publication number Publication date
CN109873695A (en) 2019-06-11

Similar Documents

Publication Publication Date Title
CN106657057B (en) Anti-crawler system and method
CN104360144B (en) Determine the method and system of AC signal zero crossing point
US20190064130A1 (en) Peak detection method and data processing device
KR101271430B1 (en) Method and apparatus for detecting received signal in wireless communication systems
KR20120031834A (en) Apparatus and method for instrumentation
CN104850493A (en) Method and device for detecting loophole of source code
CN104991687A (en) Method and system for acquiring curve operating track of touch-screen device
CN107728192B (en) The nuclide identifier system and method for multi-detector
JP2018136170A5 (en)
CN109873695B (en) Method and device for determining insertion point of interference waveform based on insect antenna simulation
CN107193732A (en) A kind of verification function locating method compared based on path
RU2014124392A (en) ELECTRIC ARC DETECTION METHOD AND DEVICE
CN105354913A (en) Method and device of banknote detection
CN105069701A (en) Monte Carlo method based risk evaluation method for power transmission system
CN106297124A (en) A kind of anti-interference processing method of fiber optic intrusion warning system
CN106302347B (en) A kind of network attack treating method and apparatus
CN104155636A (en) Optimization method based on constant false alarm target detection
JP7304783B2 (en) Power system monitoring apparatus and method
CN109873822B (en) Device and method for detecting firewall rule change based on Beidou subnanosecond high-precision time service
CN108243126B (en) Method and device for determining beat fault site
JP2014235524A5 (en)
US9739893B2 (en) Method for detecting a moving radioactive source and associated device
CN104819382A (en) Self-adaptive constant false alarm rate vibration source detection method for optical fiber early warning system
KR101508522B1 (en) Device and method for calculating synchronization error
CN103687046A (en) Detection method and apparatus of random access preamble sequence

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