Disclosure of Invention
The present invention is directed to a self-storage sensor-based information recording and checking system to solve the above-mentioned problems.
In order to achieve the aim, the self-storage type sensor detection information recording and checking system comprises a sensing unit, a data acquisition unit, a data storage unit, a data analysis unit, a grade judgment unit, a warning unit and a data transmission unit;
the sensing unit adopts a sensor to collect external data and transmits the collected data to the data collection unit and the data storage unit;
the data acquisition unit is used for acquiring data acquired by a sensor in the sensing unit and identifying and checking the acquired data;
the data storage unit is used for storing data acquired by the sensor in the sensing unit and deleting the data regularly;
the data analysis unit is used for analyzing the data checked by the data acquisition unit and classifying the data which exceeds the set limit and does not exceed the set limit;
the grade judging unit is used for grading the data which are classified by the data analyzing unit and exceed the set limit, and determining the grade of the warning;
the warning unit is used for warning according to the grade divided by the grade judging unit;
the data transmission unit is used for transmitting the condition warned by the warning unit.
As a further improvement of the technical scheme, the data acquisition unit comprises a data category identification module, a data division module, a data check module and a database data extraction module;
the data type identification module is used for classifying the types of the data transmitted by the sensing unit and identifying the types of the data sensed by the sensors of different types;
the data classification module is used for classifying different positions of the data installation sensor which is classified by the data classification identification module, and determining the position of data transmission;
the database data extraction module is used for extracting data stored in the data storage unit;
the data checking module is used for comparing the data divided by the data dividing module with the data extracted by the database data extracting module.
As a further improvement of the technical solution, the data storage unit includes a data storage module, a qualified data comparison module and a data deletion module;
the data storage module is used for storing data sensed by the sensors in the sensing units;
the qualified data comparison module adopts a Jaro-Winkler algorithm to compare qualified data, and selects the compared data;
the data deleting module is used for deleting qualified data regularly compared with the data selected by the comparing module, so that the interference of the qualified data on the whole data is reduced.
As a further improvement of the technical scheme, the data storage unit further comprises a data extraction and display module, and the data extraction and display module is used for extracting the data stored in the data storage module by a worker and displaying the data in the sensing unit.
As a further improvement of the technical scheme, the data analysis unit comprises a sensing data boundary setting module, a data analysis and judgment module and a data classification module;
the sensing data limit setting module is used for setting data limits sensed by sensors at different positions;
the data analysis and judgment module is used for analyzing the checked data of the data acquisition unit according to the limit value set by the sensing data limit setting module and judging qualified data and unqualified data;
and the data classification module is used for classifying the judged qualified data and the judged unqualified data.
As a further improvement of the technical solution, the data classification module transmits the qualified data gathered together to the qualified data comparison module for data comparison.
As a further improvement of the technical solution, the level determination unit includes a level setting module, a data comparison module, and a level setting module;
the level setting module is used for setting the warning levels of the sensors at different positions;
the data comparison module adopts a Bayes classification algorithm to compare unqualified data classified by the data analysis and judgment module, and determines the level range of what warning the data is in;
the grade setting module is used for dividing the grade of the warning according to the grade range of the data compared by the data comparison module.
As a further improvement of the technical solution, the Bayes classification algorithm has a formula:
where x is the feature vector, c is the range of the rank,
is the probability that the data belongs to the class range c under the condition of the feature vector x,
to be the probability of belonging to the class range c,
to determine the probability that the rank range c is conditional.
As a further improvement of the technical scheme, the warning unit comprises a stage number receiving module, a warning response module and a warning module;
the level receiving module is used for receiving the level levels divided by the level setting module;
the warning response module is used for carrying out corresponding warning response according to the grade number received by the grade number receiving module;
the warning module warns according to the warning response of the warning response module.
As a further improvement of the technical solution, the data transmission unit receives the warning grade responded by the warning response module, and transmits the warning grade and the data sensed by the sensor in a long distance.
Compared with the prior art, the invention has the beneficial effects that:
1. in the self-storage type sensor detection information record checking system, the data type is identified and divided through the data acquisition unit, and the data is checked by extracting the data stored in the data storage unit, so that the correctness of the data is ensured, the judgment of the system is correct, and the trouble of overhauling workers is reduced.
2. In the self-storage type sensor detection information record checking system, the data sensed by the sensor is classified by the arranged data analysis unit, so that unqualified data and qualified data are separated, the qualified data is transmitted to the data storage unit, so that the qualified data is periodically deleted by the data deletion module, the space occupied by qualified data is reduced, the trouble of searching fault data by a worker is reduced, and the speed of searching data by the worker is increased.
3. In the self-storage type sensor detection information record checking system, the warning grades are divided through unqualified data, so that the working personnel can make corresponding emergency measures according to different warning grades to ensure that the quick fault of the working personnel is treated.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
In the description of the present invention, it is to be understood that the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "upper", "lower", "front", "rear", "left", "right", "vertical", "horizontal", "top", "bottom", "inner", "outer", "clockwise", "counterclockwise", and the like, indicate orientations and positional relationships based on those shown in the drawings, and are used only for convenience of description and simplicity of description, and do not indicate or imply that the equipment or element being referred to must have a particular orientation, be constructed and operated in a particular orientation, and thus, should not be considered as limiting the present invention.
Example 1
Referring to fig. 1 to 6, the present embodiment provides a self-storage sensor detection information recording and checking system, which includes a sensing unit 1, a data acquisition unit 2, a data storage unit 3, a data analysis unit 4, a grade determination unit 5, a warning unit 6 and a data transmission unit 7;
the sensing unit 1 adopts a sensor to collect external data and transmits the collected data to the data collection unit 2 and the data storage unit 3, so that the data collection unit 2 and the data storage unit 3 can process the data collected by the sensor conveniently;
the data acquisition unit 2 is used for acquiring data acquired by the sensor in the sensing unit 1, and identifying and checking the acquired data to determine the accuracy of the acquired data and prevent misjudgment of the system caused by data acquisition errors;
the data acquisition unit 2 comprises a data category identification module 21, a data division module 22, a data check module 23 and a database data extraction module 24;
the data type identification module 21 is used for classifying the types of the data transmitted by the sensing unit 1 and identifying the types of the data sensed by the sensors of different types, so as to facilitate later data comparison and prevent error warning of the system caused by error in data comparison;
the data dividing module 22 is configured to divide different positions of the sensor installation for data installation classified by the data classification identifying module 21, and determine a data transmission position, so as to compare a correct result in later data comparison;
the database data extraction module 24 is configured to extract data stored in the data storage unit 3;
the data checking module 23 is configured to compare the data divided by the data dividing module 22 with the data extracted by the database data extracting module 24, determine accuracy of the extracted data, ensure correctness of the acquired data, and prevent erroneous judgment of the post-processing data.
The data storage unit 3 is used for storing the data acquired by the sensor in the sensing unit 1 and deleting the data regularly to ensure that excessive redundant data cannot be stored in the data storage unit 3, so that a person watching the data can clearly find the abnormal data;
the data storage unit 3 comprises a data storage module 31, a qualified data comparison module 32 and a data deletion module 33;
the data storage module 31 is used for storing data sensed by the sensor in the sensing unit 1 so as to facilitate the data acquisition unit 2 to extract and check the data;
the qualified data comparison module 32 adopts a Jaro-Winkler algorithm to compare qualified data, and selects the compared data;
the formula of data comparison of the Jaro-Winkler algorithm is as follows:
wherein the content of the first and second substances,
is the distance between two groups of comparison data character strings, L is the length of common prefix possessed by the two groups of data character strings, p is the range factor of the prefix, when
The larger the similarity, the larger the similarity of the two data is, otherwise, the smaller the similarity of the two data is;
the data deleting module 33 is used for periodically deleting qualified data from the data selected by the comparing module 32, so that interference of qualified data on the whole data is reduced, a worker can conveniently search the data, the trouble of searching the unqualified data for the worker by the qualified data is avoided, and the speed of searching the unqualified data by the worker is increased;
the data storage unit 3 further includes a data extraction and display module 34, and the data extraction and display module 34 is used for the staff to extract the data stored inside the data storage module 31 and display the data in the sensing unit 1, so that the staff can select and extract the data conveniently.
The data analysis unit 4 is used for analyzing the data checked by the data acquisition unit 2 and classifying the data exceeding the set limit and the data not exceeding the set limit so as to process the data exceeding the set limit at the later stage, reduce the workload of data processing and accelerate the speed of data processing;
the data analysis unit 4 comprises a sensing data limit setting module 41, a data analysis and judgment module 42 and a data classification module 43;
the sensing data boundary setting module 41 is configured to set data boundaries sensed by the sensors at different positions, so as to improve flexibility of boundary setting, so as to set different sensing data boundaries according to different positions, and achieve a corresponding sensing effect;
the data analysis and judgment module 42 is used for analyzing the checked data of the data acquisition unit 2 according to the limit value set by the sensing data limit setting module 41, and judging qualified data and unqualified data so as to select qualified data and unqualified data;
the data classification module 43 is configured to classify the determined qualified data and the determined unqualified data, so that the qualified data and the unqualified data are gathered together, so as to facilitate the processing of the qualified data and the unqualified data in a later period;
the data classification module 43 transmits the qualified data gathered together to the qualified data comparison module 32 for data comparison.
The grade judging unit 5 is used for carrying out grade division on the data which are classified by the data analyzing unit 4 and exceed the set limit, and determining the grade of the warning, so that the system can send out warning sound according to the grade of the warning;
the grade determination unit 5 includes a grade setting module 51, a data comparison module 52, and a grade setting module 53;
the level setting module 51 is used for setting the warning levels of the sensors at different positions, so that the system can perform warning at different levels according to the size of the data of the sensor exceeding the limit set by the sensing data limit setting module 41, and a worker can perform corresponding processing according to different warning levels conveniently;
the data comparison module 52 compares the unqualified data classified by the data analysis and judgment module 42 by adopting a Bayes classification algorithm, and determines the level range of what warning the data is in so as to facilitate the level judgment of the later data;
the Bayes classification algorithm has the formula:
where x is the feature vector, c is the range of the rank,
is the probability that the data belongs to the class range c under the condition of the feature vector x,
to be the probability of belonging to the class range c,
to determine the probability that the rank range c is conditional
The closer the data of (1) is to 1, the higher the probability of the data sensed by the sensor in the c-level range is, and on the contrary, the smaller the probability is;
the grade setting module 53 is configured to divide the grade of the warning within the grade range of the warning according to the data compared by the data comparing module 52, so that the system can perform different grades of warning according to the grade set by the grade setting module 53, and the staff can perform corresponding processing according to different warning grades.
The warning unit 6 is used for warning according to the grades divided by the grade judging unit 5 so as to remind workers that the article data sensed by the sensor is incorrect and enable the workers to process the article data in time;
the warning unit 6 comprises a stage receiving module 61, a warning response module 62 and a warning module 63;
the level receiving module 61 is configured to receive the level levels divided by the level setting module 53;
the warning response module 62 is configured to perform a corresponding warning response according to the grade received by the grade receiving module 61;
the warning module 63 warns according to the warning response of the warning response module 62, so that the worker can know the condition, and the worker can timely process the sensor which responds and the object sensed by the sensor.
The data transmission unit 7 is used for transmitting the condition of warning of the warning unit 6 so that the personnel who carry out remote monitoring can obtain the condition of the sensor sensing data, the data transmission unit 7 receives the warning grade responded by the warning response module 62 and carries out remote transmission on the warning grade and the sensor sensing data, and the off-site management end can timely learn the condition so as to carry out off-site timely processing.
When the embodiment is used, the sensor in the sensing unit 1 senses data and transmits the data to the data acquisition unit 2 and the data storage unit 3, the data type identification module 21 identifies the type of the data transmitted by the sensing unit 1, judges the type of the transmitted data, and determines the sensor at the corresponding position of the data through the data dividing module 22, the data storage module 31 stores the data transmitted by the sensing unit 1, the database data extraction module 24 extracts the data just stored in the data storage module 31, the data extracted by the database data extraction module 24 and the data divided by the data dividing module 22 are checked through the data checking module 23 to determine the accuracy of the data acquired by the data acquisition unit 2, after the check is completed, the data is transmitted to the data analysis and judgment module 42, and a worker sets the data boundary of the module 41 through the sensing data boundary, the data is judged by the data analyzing and judging module 42 to determine whether the data is qualified data, after the data analyzing and judging module 42 finishes the judgment, the data classifying module 43 classifies the result of the data judgment, the data classifying module 43 transmits the classified qualified data to the qualified data comparing module 32, transmits the unqualified data to the data comparing module 52, the qualified data comparing module 32 compares the qualified data, selects the qualified data and deletes the qualified data by the data deleting module 33 to avoid the accumulation of the qualified data and influence the searching of the data by the working personnel, the grade judging unit 5 sets the grade of the alarm and transmits the set grade to the alarm unit 6, the alarm unit 6 alarms at different degrees according to the grade set by the grade judging unit 5 to facilitate the working personnel to process correspondingly according to the grade of the alarm, meanwhile, the data transmission unit 7 acquires and transmits the warning grade of the warning unit 6, so that external personnel can know the condition.
The foregoing shows and describes the general principles, essential features, and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the embodiments described above, and the preferred embodiments of the present invention are described in the above embodiments and the description, and are not intended to limit the present invention. The scope of the invention is defined by the appended claims and equivalents thereof.