Data anomaly verification method, electronic device and storage medium

By using data abnormality calibration methods in aerosol detection equipment, the data feature vectors during the motion and detection process are collected and verified, and the problem that existing equipment cannot detect and inaccurate detection results in real time is solved, improving the accuracy of detection sex.

CN118245949BActive Publication Date: 2024-11-15CHENGDU TECH UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410505215.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Priority Date
2024-03-21
Filing Date
2024-04-25
Publication Date
2024-11-15
Estimated Expiration
2044-04-25

AI Technical Summary

Technical Problem

The existing aerosol detection equipment cannot achieve real-time detection, and the detection results are inaccurate due to abnormal detection of paper tape motion motors, so abnormal verification of the detection data is required.

Method used

The data abnormality verification method is adopted, and the data feature vectors during the motion and detection of the paper tape are collected through the counting encoder and pressure sensor, and input them to the pressure fluctuation verification module for verification to identify the abnormal state of the detected data.

Benefits of technology

It improves the real-time detection accuracy of aerosol detection equipment, ensures the accuracy of the detection data, and reduces the impact of errors caused by motor abnormalities.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118245949B_ABST
    Figure CN118245949B_ABST
Patent Text Reader

Abstract

The present invention provides a data anomaly verification method, an electronic device and a storage medium, the method comprising: determining a first feature vector according to a number of rotation durations corresponding to a counting encoder and a number of first pressure values ​​collected by a target pressure sensor in each rotation duration when a target paper tape moves a preset distance in real time, as well as a number of rotation angles collected by the counting encoder and a number of second pressure values ​​collected by the target pressure sensor in each sub-time period of a first time period; inputting the first feature vector into a pressure fluctuation verification module to obtain a pressure fluctuation verification result; if the pressure fluctuation verification result indicates that the state of the detection data of the target detection device in the first time period is abnormal, verification information is sent to the target detection device. The present invention verifies the correctness of the detection data of the target detection device according to the data characteristics collected by the target detection device in the paper feeding stage and the detection stage, so as to improve the accuracy of real-time detection of the target detection device.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] When performing detection work, the current aerosol detection equipment usually needs to spray air onto the detection tape first, and then remove the detection tape after spraying air to detect the aerosol content. It cannot perform real-time detection and has low detection efficiency. In addition, when the aerosol detection equipment performs jet detection, in order to ensure the accuracy of the test results, the detection tape must move at a constant speed. However, if the motor that controls the movement of the detection tape is abnormal, resulting in a sudden change in the motor speed, it will affect the test results. Therefore, it is necessary to perform abnormality verification on the detection data of the aerosol detection equipment. Summary of the invention

[0003] In view of the above technical problems, the technical solution adopted by the present invention is:

[0004] A data anomaly verification method is applied to a data verification system, wherein the data verification system is connected to a target detection device; the target detection device comprises a paper feeding mechanism, a negative pressure mechanism and a detection mechanism, the paper feeding mechanism comprises a counting encoder and a target pressure sensor; the paper feeding mechanism is used to control a target paper tape to perform paper feeding after the target detection device sends a paper feeding signal; the negative pressure mechanism is used to spray gas onto a target paper tape on the paper feeding mechanism after the target detection device sends a detection signal; the detection mechanism is used to detect the aerosol content on the target paper tape after spraying;

[0005] The data anomaly verification method comprises the following steps:

[0006] Step S100, in response to receiving a paper feed signal sent by a target detection device, obtaining in real time a number of rotation durations corresponding to the counting encoder and a number of first pressure values ​​collected by the target pressure sensor during each rotation duration when the target paper tape moves a preset distance; the rotation duration is the time taken by the counting encoder to rotate a preset angle during the period when the target paper tape moves a preset distance;

[0007] Step S200: when receiving a detection signal sent by the target detection device, obtaining in real time a number of rotation angles collected by the counting encoder and a number of second pressure values ​​collected by the target pressure sensor in each sub-time period of the first time period; the start time of the first time period is the time when the detection signal is received;

[0008] Step S300, determining a first feature vector corresponding to the target detection device according to a number of rotation durations, a number of first pressure values, a number of rotation angles, and a number of second pressure values;

[0009] Step S400, input the first eigenvector into a preset pressure fluctuation verification module to obtain a pressure fluctuation verification result; the pressure fluctuation verification module is determined according to a number of rotation durations, a number of rotation angles collected by the counting encoder in a historical time period and a number of pressure values ​​collected by the target pressure sensor in a historical time period;

[0010] Step S500: If the pressure fluctuation verification result indicates that the detection data state of the target detection device in the first time period is abnormal, verification information is sent to the target detection device.

[0011] In an exemplary embodiment of the present application, step S100 includes:

[0012] Step S110: In response to receiving the paper feed signal sent by the target detection device, a number of rotation durations corresponding to the counting encoder when the target paper tape moves a preset distance is obtained in real time to obtain a first rotation duration list N=(N1, N2, ..., N a ,...,N b ), wherein a=1, 2, ..., b; b is the number of preset angles that the counting encoder rotates during the period when the target paper tape moves a preset distance; N a is the time taken by the counting encoder to rotate the ath preset angle during the period when the target paper tape moves the preset distance;

[0013] Step S120: Acquire in real time a number of first pressure values ​​collected by the target pressure sensor during each rotation time, and obtain a first pressure value list set E=(E1, E2, ..., E a ,...,E b );E a =(E a1 ,E a2 ), where E a is a list of the first pressure values ​​corresponding to the target pressure sensor in the ath rotation duration; E a1 is the pressure value collected by the target pressure sensor at the start time of the period corresponding to the ath rotation duration; E a2 It is the pressure value collected by the target pressure sensor at the end time of the period corresponding to the ath rotation duration.

[0014] In an exemplary embodiment of the present application, step S200 includes:

[0015] Step S210: when receiving the detection signal sent by the target detection device, obtain in real time a number of rotation angles collected by the counting encoder in the first time period, and obtain a first rotation angle list A=(A1, A2, ..., A i ,...,A n); wherein i=1, 2, ..., n; n is the number of sub-time periods in the first time period, and the n sub-time periods are connected in sequence, and the length of each sub-time period is equal; A i is the rotation angle collected by the counting encoder in the i-th sub-time period of the first time period;

[0016] Step S220: Real-time acquisition of a plurality of second pressure values ​​collected by the target pressure sensor in each sub-time period of the first time period, and obtaining a second pressure value list set B = (B1, B2, ..., B i ,...,B n );B i =(B i1 ,B i2 ,...,B ig ,...,B if ), where B i is a list of pressure values ​​collected by the target pressure sensor in the i-th sub-time period of the first time period; g = 1, 2, ..., f; f is the number of collection moments of the sub-time period of the first time period; B ig is the pressure value collected by the target pressure sensor at the g-th collection moment in the i-th sub-time period of the first time period.

[0017] In an exemplary embodiment of the present application, step S300 includes:

[0018] Step S310: According to the first pressure value list set E, determine a number of key pressure values ​​corresponding to each rotation duration of the target pressure sensor, and obtain a key pressure value list R = (R1, R2, ..., R a ,...,R b ), where R a is the key pressure value of the target pressure sensor corresponding to the ath rotation duration; R a =(E a1 +E a2 ) / 2;

[0019] Step S320: According to the key pressure value list R and the first rotation duration list N, determine a number of pressure change rates corresponding to each rotation duration of the target pressure sensor, and obtain a pressure change rate list J = (J1, J2, ..., J a ,...,J b ), where J a are the pressure change rates of the target pressure sensor corresponding to the ath rotation time; J a =(R a -R a-1 ) / (N a -N a-1 );

[0020] Step S330: According to the second pressure value list set B, determine the pressure fluctuation value corresponding to the target pressure sensor in each sub-time period of the first time period, and obtain the first pressure fluctuation value list C = (C1, C2, ..., C i ,...,C n ), where C i is the pressure fluctuation value corresponding to the target pressure sensor in the i-th sub-time period of the first time period; C i =(∑ f g=1 (Y i -B ig ) 2 ) / f;Y i =(∑ f g=1 B ig ) / f;

[0021] Step S340: Determine the first characteristic vector H=(H1, H2) corresponding to the target detection device according to the first rotation time list N, the pressure change rate list J, the first rotation angle list A and the first pressure fluctuation value list C; H1=(H 11 ,H 12 ,...,H 1a ,...,H 1b );H 1a =(N a ,J a ); H2=(H 21 ,H 22 ,...,H 2i ,...,H 2n );H 2i =(A i ,C i ), where H1 is the first subvector of the first eigenvector H, and H2 is the second subvector of the first eigenvector H; 1a is the ath feature information in H1; H 2i is the i-th feature information in H2.

[0022] In an exemplary embodiment of the present application, the pressure fluctuation verification module performs sample training through the following steps:

[0023] Step S401, obtaining a number of historical rotation durations corresponding to the counting encoder and a number of third pressure values ​​collected by the target pressure sensor in each historical rotation duration when the target detection device sends a paper feed signal and the target paper tape performs paper feed motion within a number of historical time periods;

[0024] Step S402, obtaining a number of historical rotation angles collected by the counting encoder and a number of fourth pressure values ​​collected by the target pressure sensor when the target detection device performs detection after each historical rotation time;

[0025] Step S403, obtaining a status identifier of the detection data of the target detection device in each historical time period; if the status identifier is 1, it means that the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is normal; if the status identifier is 0, it means that the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is abnormal;

[0026] Step S404, encoding a number of historical rotation durations, a number of third pressure values, a number of historical rotation angles, a number of fourth pressure values ​​and state identifiers in each historical time period to obtain a second feature vector corresponding to each historical time period;

[0027] Step S405: input each second eigenvector into a preset initial verification module to obtain a pressure fluctuation verification module.

[0028] In an exemplary embodiment of the present application, step S400 includes:

[0029] Step S410, inputting the first characteristic vector into the pressure fluctuation verification module to obtain a verification status identifier output by the pressure fluctuation verification module;

[0030] Step S420: If the verification status identifier is 1, the normal state of the detection data is determined as the pressure fluctuation verification result; if the verification status identifier is 0, the abnormal state of the detection data is determined as the pressure fluctuation verification result.

[0031] In an exemplary embodiment of the present application, the paper feeding mechanism includes a first roller, a second roller, a first roller shaft, a second roller shaft, a tension wheel, and a counting wheel;

[0032] When the target detection device is working, one end of the target paper tape is wound on the first roller, and the other end of the target paper tape passes through the tensioning wheel, the first roller shaft, the second roller shaft, the counting wheel in sequence, and is wound on the second roller;

[0033] The first roller is driven to rotate by the first motor, and the second roller is driven to rotate by the second motor;

[0034] A target pressure sensor is provided on the tension wheel, and the target pressure sensor is used to detect the pressure value on the tension wheel;

[0035] A counting encoder is arranged on the counting wheel, and the counting encoder is used to detect the rotation angle of the counting wheel.

[0036] In an exemplary embodiment of the present application, the negative pressure mechanism is disposed above the center position of the line connecting the first roller and the second roller, and is used to spray gas onto a target paper tape placed between the first roller and the second roller.

[0037] According to one aspect of the present application, a non-transitory computer-readable storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or the at least one program is loaded and executed by a processor to implement the aforementioned data anomaly checking method.

[0038] According to one aspect of the present application, an electronic device is provided, including a processor and the aforementioned data anomaly checking method.

[0039] The present invention has at least the following beneficial effects:

[0040] The present invention determines the first characteristic vector corresponding to the target detection device according to the several rotation durations corresponding to the counting encoder and the several first pressure values ​​collected by the target pressure sensor in each rotation duration during the movement of the target paper tape over a preset distance, as well as the several rotation angles collected by the counting encoder and the several second pressure values ​​collected by the target pressure sensor in the first time period, and the first characteristic vector represents the operating state characteristics of the target detection device in the paper feeding stage. The first characteristic vector is input into the pressure fluctuation verification module to obtain the pressure fluctuation verification result. If the pressure fluctuation verification result indicates that the detection data state of the target detection device in the first time period is abnormal, it means that there is an error in the detection data of the target detection device in the first time period. According to the data characteristics collected by the target detection device in the paper feeding stage and the detection stage, the correctness of the detection data of the target detection device is verified to improve the accuracy of real-time detection of the target detection device. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0042] Figure 1 A flowchart of a data anomaly checking method provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0043] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.

[0044] A data anomaly verification method is applied to a data verification system, wherein the data verification system is connected to a target detection device.

[0045] The target detection device includes a paper feeding mechanism, a negative pressure mechanism and a detection mechanism.

[0046] The paper feeding mechanism is used to control the target paper tape to feed after the target detection device sends a paper feeding signal. The paper feeding mechanism includes a first roller, a second roller, a first roller shaft, a second roller shaft, a tensioning wheel, and a counting wheel; the first roller is driven to rotate by a first motor, and the second roller is driven to rotate by a second motor; a target pressure sensor is provided on the tensioning wheel, and the target pressure sensor is used to detect the pressure value on the tensioning wheel; a counting encoder is provided on the counting wheel, and the counting encoder is used to detect the rotation angle of the counting wheel.

[0047] The negative pressure mechanism is arranged above the center position of the line connecting the first roller and the second roller, and is used for spraying gas onto the target paper tape placed between the first roller and the second roller.

[0048] The detection mechanism is used to detect the aerosol content on the target paper tape after spraying.

[0049] When the target detection device is working, one end of the target paper tape is wound on the first roller, and the other end of the target paper tape passes through the tensioning wheel, the first roller, the second roller, the counting wheel in sequence, and is wound on the second roller.

[0050] like Figure 1 As shown, the data anomaly verification method described in this application includes the following steps:

[0051] Step S100, in response to receiving a paper feed signal sent by a target detection device, obtaining in real time a number of rotation durations corresponding to a counting encoder and a number of first pressure values ​​collected by a target pressure sensor in each rotation duration when the target paper tape moves a preset distance;

[0052] The rotation duration is the duration used by the counting encoder to rotate a preset angle during a period in which the target paper tape moves a preset distance.

[0053] Further, step S100 includes steps S110 to S120:

[0054] Step S110: In response to receiving the paper feed signal sent by the target detection device, a number of rotation durations corresponding to the counting encoder when the target paper tape moves a preset distance is obtained in real time to obtain a first rotation duration list N=(N1, N2, ..., N a ,...,N b ), wherein a=1, 2, ..., b; b is the number of preset angles that the counting encoder rotates during the period when the target paper tape moves a preset distance; N a is the time taken by the counting encoder to rotate the ath preset angle during the period when the target paper tape moves the preset distance;

[0055] Step S120: Acquire in real time a number of first pressure values ​​collected by the target pressure sensor during each rotation time, and obtain a first pressure value list set E=(E1, E2, ..., E a ,...,E b );E a =(E a1 ,E a2 ), where E a is a list of the first pressure values ​​corresponding to the target pressure sensor in the ath rotation duration; E a1 is the pressure value collected by the target pressure sensor at the start time of the period corresponding to the ath rotation duration; E a2 It is the pressure value collected by the target pressure sensor at the end time of the period corresponding to the ath rotation duration.

[0056] Step S200: when receiving a detection signal sent by the target detection device, obtaining in real time a number of rotation angles collected by the counting encoder and a number of second pressure values ​​collected by the target pressure sensor in each sub-time period of the first time period; the start time of the first time period is the time when the detection signal is received;

[0057] Further, step S200 includes steps S210 to S220:

[0058] Step S210: when receiving the detection signal sent by the target detection device, obtain in real time a number of rotation angles collected by the counting encoder in the first time period, and obtain a first rotation angle list A=(A1, A2, ..., A i ,...,A n ); wherein i=1, 2, ..., n; n is the number of sub-time periods in the first time period, and the n sub-time periods are connected in sequence, and the length of each sub-time period is equal; A i is the rotation angle collected by the counting encoder in the i-th sub-time period of the first time period;

[0059] The rotation angle collected by the counting encoder is used to determine the number of rotations of the counting wheel and the paper feeding distance of the paper tape.

[0060] Step S220: Real-time acquisition of a plurality of second pressure values ​​collected by the target pressure sensor in each sub-time period of the first time period, and obtaining a second pressure value list set B = (B1, B2, ..., B i ,...,B n );B i =(B i1 ,B i2 ,...,B ig ,...,B if ), where B i is a list of pressure values ​​collected by the target pressure sensor in the i-th sub-time period of the first time period; g = 1, 2, ..., f; f is the number of collection moments of the sub-time period of the first time period; B ig is the pressure value collected by the target pressure sensor at the g-th collection moment in the i-th sub-time period of the first time period.

[0061] Step S300, determining a first feature vector corresponding to the target detection device according to a number of rotation durations, a number of first pressure values, a number of rotation angles, and a number of second pressure values;

[0062] Further, step S300 includes steps S310 to S340:

[0063] Step S310: According to the first pressure value list set E, determine a number of key pressure values ​​corresponding to each rotation duration of the target pressure sensor, and obtain a key pressure value list R = (R1, R2, ..., R a ,...,R b ), where R a is the key pressure value of the target pressure sensor corresponding to the ath rotation duration;

[0064] R a =(E a1 +E a2 ) / 2.

[0065] Step S320: According to the key pressure value list R and the first rotation duration list N, determine a number of pressure change rates corresponding to each rotation duration of the target pressure sensor, and obtain a pressure change rate list J = (J1, J2, ..., J a ,...,J b ), where J a are the pressure change rates of the target pressure sensor corresponding to the ath rotation duration;

[0066] J a =(R a-R a-1 ) / (N a -N a-1 ), the pressure change rate is the curvature of the pressure change of the target pressure sensor in each rotation time. According to several pressure values ​​of the target pressure sensor in each rotation time, a pressure value curve is drawn. The curvature of each node in the pressure value curve represents the corresponding pressure change rate.

[0067] Step S330: According to the second pressure value list set B, determine the pressure fluctuation value corresponding to the target pressure sensor in each sub-time period of the first time period, and obtain the first pressure fluctuation value list C = (C1, C2, ..., C i ,...,C n ), where C i is the pressure fluctuation value corresponding to the target pressure sensor in the i-th sub-time period of the first time period;

[0068] C i =(∑ f g=1 (Y i -B ig ) 2 ) / f;Y i =(∑ f g=1 B ig ) / f. The pressure fluctuation value indicates the fluctuation of the pressure value received by the tension wheel in the first time period. The pressure values ​​received by the tension wheel in the first time period can be plotted into a pressure value curve in chronological order. The smaller the overall curvature, the smaller the pressure fluctuation value. Conversely, the larger the overall curvature, the larger the pressure fluctuation value.

[0069] The operating status of the tension wheel in the first time period can be judged by the pressure fluctuation value. If the tension wheel vibrates or is affected by other external forces, the pressure of the tension wheel will change, affecting the size of the pressure fluctuation value.

[0070] Step S340: Determine the first characteristic vector H=(H1, H2) corresponding to the target detection device according to the first rotation time list N, the pressure change rate list J, the first rotation angle list A and the first pressure fluctuation value list C; H1=(H 11 ,H 12 ,...,H 1a ,...,H 1b );H 1a =(N a ,J a ); H2=(H 21 ,H 22 ,...,H 2i ,...,H 2n );H2i =(A i ,C i ), where H1 is the first subvector of the first eigenvector H, and H2 is the second subvector of the first eigenvector H; 1a is the ath feature information in H1; H 2i is the i-th feature information in H2.

[0071] Step S400, input the first eigenvector into a preset pressure fluctuation verification module to obtain a pressure fluctuation verification result; the pressure fluctuation verification module is determined according to a number of rotation durations, a number of rotation angles collected by the counting encoder in a historical time period and a number of pressure values ​​collected by the target pressure sensor in a historical time period;

[0072] The pressure fluctuation verification module performs sample training through steps S401 to S405:

[0073] Step S401, obtaining a number of historical rotation durations corresponding to the counting encoder and a number of third pressure values ​​collected by the target pressure sensor in each historical rotation duration when the target detection device sends a paper feed signal and the target paper tape performs paper feed motion within a number of historical time periods;

[0074] Step S402, obtaining a number of historical rotation angles collected by the counting encoder and a number of fourth pressure values ​​collected by the target pressure sensor when the target detection device performs detection after each historical rotation time;

[0075] Step S403, obtaining a status identifier of the detection data of the target detection device in each historical time period; if the status identifier is 1, it means that the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is normal; if the status identifier is 0, it means that the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is abnormal;

[0076] Step S404, encoding a number of historical rotation durations, a number of third pressure values, a number of historical rotation angles, a number of fourth pressure values ​​and state identifiers in each historical time period to obtain a second feature vector corresponding to each historical time period;

[0077] Step S405: input each second eigenvector into a preset initial verification module to obtain a pressure fluctuation verification module.

[0078] Further, step S400 includes step S410-step S420:

[0079] Step S410, inputting the first characteristic vector into the pressure fluctuation verification module to obtain a verification status identifier output by the pressure fluctuation verification module;

[0080] Step S420: If the verification status identifier is 1, the normal state of the detection data is determined as the pressure fluctuation verification result; if the verification status identifier is 0, the abnormal state of the detection data is determined as the pressure fluctuation verification result.

[0081] Step S500: If the pressure fluctuation verification result indicates that the detection data state of the target detection device in the first time period is abnormal, verification information is sent to the target detection device.

[0082] The present invention determines the first characteristic vector corresponding to the target detection device according to the several rotation durations corresponding to the counting encoder and the several first pressure values ​​collected by the target pressure sensor in each rotation duration during the movement of the target paper tape over a preset distance, as well as the several rotation angles collected by the counting encoder and the several second pressure values ​​collected by the target pressure sensor in the first time period, and the first characteristic vector represents the operating state characteristics of the target detection device in the paper feeding stage. The first characteristic vector is input into the pressure fluctuation verification module to obtain the pressure fluctuation verification result. If the pressure fluctuation verification result indicates that the detection data state of the target detection device in the first time period is abnormal, it means that there is an error in the detection data of the target detection device in the first time period. According to the data characteristics collected by the target detection device in the paper feeding stage and the detection stage, the correctness of the detection data of the target detection device is verified to improve the accuracy of real-time detection of the target detection device.

[0083] An embodiment of the present invention further provides a computer program product, which includes program code. When the program product is run on an electronic device, the program code is used to enable the electronic device to execute the steps of the method according to various exemplary embodiments of the present invention described above in this specification.

[0084] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.

[0085] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0086] In an exemplary embodiment of the present disclosure, an electronic device capable of implementing the above method is also provided.

[0087] It will be appreciated by those skilled in the art that various aspects of the present invention may be implemented as a system, method or program product. Therefore, various aspects of the present invention may be specifically implemented in the following forms, namely: a complete hardware implementation, a complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as a "circuit", "module" or "system".

[0088] The electronic device according to this embodiment of the present invention is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present invention.

[0089] The electronic device is presented in the form of a general-purpose computing device. The components of the electronic device may include, but are not limited to: the at least one processor mentioned above, the at least one storage device mentioned above, and a bus connecting different system components (including storage devices and processors).

[0090] The storage stores program codes, which can be executed by the processor, so that the processor executes the steps according to various exemplary embodiments of the present invention described in the above “Exemplary Method” section of this specification.

[0091] The memory may include readable media in the form of volatile memory, such as random access memory (RAM) and / or cache memory, and may further include read only memory (ROM).

[0092] The storage may also include a program / utility having a set (at least one) of program modules, such program modules including but not limited to: an operating system, one or more application programs, other program modules and program data, each of which or some combination may include the implementation of a network environment.

[0093] The bus may represent one or more of several types of bus structures including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.

[0094] The electronic device can also communicate with one or more external devices (such as keyboards, pointing devices, Bluetooth devices, etc.), and can also communicate with one or more devices that enable users to interact with the electronic device, and / or communicate with any device (such as routers, modems, etc.) that enables the electronic device to communicate with one or more other computing devices. This communication can be carried out through an input / output (I / O) interface. In addition, the electronic device can also communicate with one or more networks (such as local area networks (LANs), wide area networks (WANs) and / or public networks, such as the Internet) through a network adapter. As shown in the figure, the network adapter communicates with other modules of the electronic device through a bus. It should be understood that, although not shown in the figure, other hardware and / or software modules can be used in conjunction with the electronic device, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.

[0095] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.

[0096] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, on which a program product capable of implementing the above method of the present specification is stored. In some possible implementations, various aspects of the present invention can also be implemented in the form of a program product, which includes a program code, and when the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary embodiments of the present invention described in the above "Exemplary Method" section of the present specification.

[0097] The program product may use any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. The readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above.

[0098] Computer readable signal media may include data signals propagated in baseband or as part of a carrier wave, in which readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Readable signal media may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.

[0099] The program code embodied on the readable medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.

[0100] Program code for performing the operations of the present invention may be written in any combination of one or more programming languages, including object-oriented programming languages ​​such as Java, C++, etc., and conventional procedural programming languages ​​such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In cases involving a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., through the Internet using an Internet service provider).

[0101] In addition, the above-mentioned figures are only schematic illustrations of the processes included in the method according to an exemplary embodiment of the present invention, and are not intended to be limiting. It is easy to understand that the processes shown in the above-mentioned figures do not indicate or limit the time sequence of these processes. In addition, it is also easy to understand that these processes can be performed synchronously or asynchronously, for example, in multiple modules.

[0102] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.

[0103] The above is only a specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any changes or substitutions that can be easily thought of by a person skilled in the art within the technical scope disclosed by the present invention should be included in the protection scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims

1. A data anomaly checking method, characterized in that: Applied to a data verification system, the data verification system is connected to a target detection device; the target detection device includes a paper feeding mechanism, a negative pressure mechanism and a detection mechanism, the paper feeding mechanism includes a counting encoder and a target pressure sensor; the paper feeding mechanism is used to control the target paper tape to perform paper feeding after the target detection device sends a paper feeding signal; the negative pressure mechanism is used to spray gas onto the target paper tape on the paper feeding mechanism after the target detection device sends a detection signal; the detection mechanism is used to detect the aerosol content on the target paper tape after spraying; The method comprises the following steps: Step S100, in response to receiving the paper feed signal sent by the target detection device, real-time acquisition of a number of rotation durations corresponding to the counting encoder and a number of first pressure values ​​collected by the target pressure sensor during each rotation duration when the target paper tape moves a preset distance; the rotation duration is the duration taken by the counting encoder to rotate a preset angle during the period when the target paper tape moves a preset distance; Step S200, when receiving the detection signal sent by the target detection device, real-time acquisition of a number of rotation angles collected by the counting encoder and a number of second pressure values ​​collected by the target pressure sensor in each sub-time period of the first time period; the start time of the first time period is the time when the detection signal is received; Step S300, determining a first feature vector corresponding to the target detection device according to a number of rotation durations, a number of first pressure values, a number of rotation angles, and a number of second pressure values; Step S400, inputting the first characteristic vector into a pressure fluctuation verification module to obtain a verification status identifier output by the pressure fluctuation verification module, and if the verification status identifier is 1, determining that the detection data status is normal as a pressure fluctuation verification result; If the verification status indicator is 0, the abnormal state of the detection data is determined as a pressure fluctuation verification result; The pressure fluctuation verification module is determined according to a number of rotation durations and a number of rotation angles collected by the counting encoder in a historical time period and a number of pressure values ​​collected by the target pressure sensor in a historical time period; The pressure fluctuation verification module performs sample training through the following steps: Step S401, obtaining, in several historical time periods, a paper feed signal sent by the target detection device, a number of historical rotation durations corresponding to the counting encoder when the target paper tape is performing paper feed motion, and a number of third pressure values ​​collected by the target pressure sensor in each of the historical rotation durations; Step S402, obtaining a number of historical rotation angles collected by the counting encoder and a number of fourth pressure values ​​collected by the target pressure sensor when the target detection device performs detection after each of the historical rotation durations; Step S403, obtaining a status identifier of the detection data of the target detection device in each of the historical time periods; if the status identifier is 1, it indicates that the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is normal; if the status identifier is 0, it indicates that the status of the detection data of the target detection device in the historical time period corresponding to the status identifier is abnormal; Step S404, encoding a number of historical rotation durations, a number of third pressure values, a number of historical rotation angles, a number of fourth pressure values ​​and state identifiers in each historical time period to obtain a second feature vector corresponding to each historical time period; Step S405: input each of the second characteristic vectors into a preset initial verification module to obtain the pressure fluctuation verification module.

2. The method according to claim 1, characterized in that The step S100 includes: Step S110: in response to receiving the paper feed signal sent by the target detection device, obtaining in real time a number of rotation durations corresponding to the counting encoder when the target paper tape moves a preset distance, and obtaining a first rotation duration list N=(N1, N2, ..., N a ,...,N b ); wherein a=1, 2, ..., b; b is the number of preset angles that the counting encoder rotates during the period in which the target paper tape moves a preset distance; N a is the time taken by the counting encoder to rotate the ath preset angle within the period during which the target paper tape moves a preset distance; Step S120: acquiring in real time a plurality of first pressure values ​​collected by the target pressure sensor during each rotation time, and obtaining a first pressure value list set E=(E1, E2, ..., E a ,...,E b );E a =(E a1 ,E a2 ), where E a is a list of first pressure values ​​corresponding to the target pressure sensor within the ath rotation duration; E a1 is the pressure value collected by the target pressure sensor at the start time of the period corresponding to the ath rotation duration; E a2 It is the pressure value collected by the target pressure sensor at the end time of the time period corresponding to the ath rotation duration.

3. The method according to claim 2, characterized in that The step S200 includes: Step S210: when receiving the detection signal sent by the target detection device, obtain in real time a number of rotation angles collected by the counting encoder in the first time period to obtain a first rotation angle list A=(A1, A2, ..., A i ,...,A n ); wherein i=1,2,...,n; n is the number of sub-time periods in the first time period, and the n sub-time periods are connected in sequence, and the length of each sub-time period is equal; A i is the rotation angle collected by the counting encoder in the i-th sub-time period of the first time period; Step S220: Real-time acquisition of a plurality of second pressure values ​​collected by the target pressure sensor in each sub-time period of the first time period, and obtaining a second pressure value list set B=(B1, B2, ..., B i ,...,B n );B i =(B i1 ,B i2 ,...,B ig ,...,B if ), where B i is a list of pressure values ​​collected by the target pressure sensor in the i-th sub-time period of the first time period; g=1,2,...,f; f is the number of collection moments of the sub-time period of the first time period; B ig It is the pressure value collected by the target pressure sensor at the g-th collection moment in the i-th sub-time period of the first time period.

4. The method according to claim 3, characterized in that The step S300 includes: Step S310: According to the first pressure value list set E, determine a number of key pressure values ​​corresponding to each rotation duration of the target pressure sensor, and obtain a key pressure value list R=(R1, R2, ..., R a ,...,R b ), where R a is the key pressure value of the target pressure sensor corresponding to the ath rotation duration; R a =(E a1 +E a2 ) / 2; Step S320: According to the key pressure value list R and the first rotation duration list N, determine a number of pressure change rates corresponding to each rotation duration of the target pressure sensor, and obtain a pressure change rate list J=(J1, J2, ..., J a ,...,J b ), where J a J is a number of pressure change rates of the target pressure sensor corresponding to the ath rotation time; a =(R a -R a-1 ) / (N a -N a-1 ); Step S330: Determine the pressure fluctuation value corresponding to the target pressure sensor in each sub-time period of the first time period according to the second pressure value list set B, and obtain the first pressure fluctuation value list C=(C1, C2, ..., C i ,...,C n ), where C i is the pressure fluctuation value corresponding to the target pressure sensor in the i-th sub-time period of the first time period; C i =(∑ f g=1 (Y i -B ig ) 2 ) / f;Y i =(∑ f g=1 B ig ) / f; Step S340: Determine the first characteristic vector H=(H1, H2) corresponding to the target detection device according to the first rotation time list N, the pressure change rate list J, the first rotation angle list A and the first pressure fluctuation value list C; H1=(H 11 ,H 12 ,...,H 1a ,...,H 1b );H 1a =(N a ,J a ); H2=(H 21 ,H 22 ,...,H 2i ,...,H 2n );H 2i =(A i ,C i ), where H1 is the first subvector of the first eigenvector H, and H2 is the second subvector of the first eigenvector H; 1a is the ath feature information in H1; H 2i is the i-th feature information in H2.

5. The method according to claim 4, characterized in that After step S400, the method further includes: Step S500: If the pressure fluctuation verification result indicates that the detection data state of the target detection device in the first time period is abnormal, verification information is sent to the target detection device.

6. The method according to claim 5, characterized in that The paper feeding mechanism comprises a first roller, a second roller, a first roller shaft, a second roller shaft, a tension wheel, and a counting wheel; When the target detection device is working, one end of the target paper tape is wound around the first roller, and the other end of the target paper tape passes through the tensioning wheel, the first roller shaft, the second roller shaft, the counting wheel in sequence, and is wound around the second roller; The first roller is driven to rotate by a first motor, and the second roller is driven to rotate by a second motor; The tension wheel is provided with the target pressure sensor, and the target pressure sensor is used to detect the pressure value exerted on the tension wheel; The counting wheel is provided with the counting encoder, and the counting encoder is used to detect the rotation angle of the counting wheel.

7. The method according to claim 6, characterized in that The negative pressure mechanism is disposed above the center position of the line connecting the first roller and the second roller, and is used for spraying gas onto a target paper tape placed between the first roller and the second roller.

8. A non-transitory computer-readable storage medium, wherein at least one instruction or at least one program is stored in the storage medium, characterized in that: The at least one instruction or the at least one program is loaded and executed by the processor to implement the method according to any one of claims 1 to 7.

9. An electronic device, characterized in that: The invention comprises a processor and the non-transitory computer-readable storage medium as claimed in claim 8.