Nothing Special   »   [go: up one dir, main page]

CN107332849A - A kind of sensing data analysis method and device - Google Patents

A kind of sensing data analysis method and device Download PDF

Info

Publication number
CN107332849A
CN107332849A CN201710547807.0A CN201710547807A CN107332849A CN 107332849 A CN107332849 A CN 107332849A CN 201710547807 A CN201710547807 A CN 201710547807A CN 107332849 A CN107332849 A CN 107332849A
Authority
CN
China
Prior art keywords
data
sensor
parsing
template
type
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.)
Pending
Application number
CN201710547807.0A
Other languages
Chinese (zh)
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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201710547807.0A priority Critical patent/CN107332849A/en
Publication of CN107332849A publication Critical patent/CN107332849A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/18Multiprotocol handlers, e.g. single devices capable of handling multiple protocols
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L69/00Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
    • H04L69/22Parsing or analysis of headers

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Stored Programmes (AREA)

Abstract

The present invention relates to technical field of data processing, it is proposed that a kind of sensing data analysis method and device, methods described includes:The sensing data that sensor is gathered in real time is obtained, the sensing data includes the sensor identification information and sensor status data of the sensor;The sensor type of the sensor is determined according to the sensor identification information, and corresponding data parsing template is searched according to the sensor type;And the sensor status data is parsed using data parsing template.By the present invention in that the mode for parsing template with data can support different type, the access of different manufacturers sensor type, and can fast and efficiently it realize to different type, the parsing of the data of different manufacturers sensor.

Description

A kind of sensing data analysis method and device
Technical field
The present invention relates to technical field of data processing, more particularly to a kind of sensing data analysis method and device.
Background technology
Sensor is a kind of signal, physical condition (such as light, heat, humidity) that can be detected, gather the external world, and transmits collection The physical unit of the information arrived, is widely used in the systems such as Internet of Things, smart city, smart home, wisdom agricultural, medical treatment & health In.
In the prior art, sensor is packaged usually using privately owned sensor agreement to the metadata collected, And the primary data for obtaining encapsulation is sent to system terminal;The primary data received is transparent to by system terminal accordingly should Use system.Application system carries out protocol adaptation to the primary data received, and corresponding protocol analysis is carried out according to protocol type, To extract metadata from primary data.
In process of the present invention is realized, inventor has found that existing sensing data analytic method at least has problems with:
Because the different types of sensor that different sensor manufacturers is produced has each privately owned sensor agreement, because This, sensor protocol type is various, generally include thousands of kinds of proprietary protocols, and application system can not identification sensor in advance Protocol type, thus need in development and application system, the various sensor agreements that application system is supported are pre-defined, and answering With being implanted into corresponding protocol resolving program in system, if there is new sensor access, need according to the sensor agreement, again Corresponding protocol resolving program is implanted into application system, complex operation causes system not realize quickly to different sensors The data parsing of type.
The content of the invention
In view of the above problems, the present invention proposes a kind of sensing data analysis method and device, can be fast and efficiently real Now the data to different sensors type are parsed, and support the access of different sensors type.
One aspect of the present invention there is provided a kind of sensing data analytic method, including:
The sensing data that sensor is gathered in real time is obtained, the sensing data includes the sensor identification of the sensor Information and sensor status data;
The sensor type of the sensor is determined according to the sensor identification information, and according to the sensor type Search corresponding data parsing template;And
The sensor status data is parsed using data parsing template.
Alternatively, after use data parsing template is parsed to the sensor status data, institute Stating method also includes:
The data after parsing are filtered according to default data filtering rule, the data filtering rule is met Sensor of interest status data;
Corresponding data monitoring template is searched according to the sensor type;And
Monitoring and early warning, the number in real time are carried out to the sensor of interest status data using the data monitoring template Early warning is carried out to the abnormality of the sensing data by the pattern style and/or color pre-set according to monitoring standard module.
Alternatively, the sensor type that the sensor is determined according to the sensor identification information, according to described Sensor type searches corresponding data parsing template, including:
According to the default mapping relations of sensor identification information searching, to obtain the sensor identification information correspondence Include the correspondence pass between sensor identification information and sensor type in the sensor type of sensor, the mapping relations System;
The corresponding parsing type of the sensor status data is judged according to the sensor type, the parsing type is extremely Include expression parsing, parsing class parsing less;
According to the corresponding data parsing template of the parsing type search.
Alternatively, when the parsing type is expression parsing, the data parsing template is expression parsing function;
It is described that the sensor status data is parsed using data parsing template, including:According to the table The sensor status data is parsed up to formula analytical function.
Alternatively, the sensor status data according to the expression parsing function pair is parsed, including:
Regular expression in the expression parsing function extracts corresponding from the sensor status data Variable data;
The expression parsing function is parsed, to obtain the description configured information added in the expression parsing function, The description configured information is used for the data processing method for describing the variable data;
Data processing is carried out to the variable data according to the description configured information.
Alternatively, when the parsing type is parsing class parsing, the data parsing template is parsing class;
It is described that the sensor status data is parsed using data parsing template, including:According to the solution Analysis class is parsed to the sensor status data.
Another aspect of the present invention there is provided a kind of sensing data resolver, including:
Data acquisition module, for obtaining the sensing data that sensor is gathered in real time, the sensing data includes described The sensor identification information and sensor status data of sensor;
First template searching modul, the sensor class for determining the sensor according to the sensor identification information Type, and corresponding data parsing template is searched according to the sensor type;
Data resolution module, for being parsed using data parsing template to the sensor status data.
Alternatively, described device also includes:
Data filtering module, for parsing template to the sensor shape using the data in the data resolution module After state data are parsed, the data after parsing are filtered according to default data filtering rule, are met described The sensor of interest status data of data filtering rule;
Second template searching modul, for searching corresponding data monitoring template according to the sensor type;
Data disaply moudle, it is real-time for being carried out using the data monitoring template to the sensor of interest status data Monitoring and early warning, the data monitoring template is by the pattern style and/or color that pre-set to the different of the sensing data Normal state carries out early warning.
Alternatively, the first template searching modul, is specifically included:
Acquisition submodule, for according to the default mapping relations of sensor identification information searching, to obtain the biography The sensor type of sensor identification information respective sensor, wherein, include in the mapping relations sensor identification information and Corresponding relation between sensor type;
Decision sub-module, for judging the corresponding parsing class of the sensor status data according to the sensor type Type, the parsing type at least includes expression parsing, parsing class parsing;
Submodule is searched, for parsing template according to the corresponding data of the parsing type search.
Alternatively, when the parsing type is expression parsing, the data parsing template is expression parsing function, The data resolution module, is parsed specifically for the sensor status data according to the expression parsing function pair;
When the parsing type is parsing class parsing, the data parsing template is parsing class, and the data parse mould Block, specifically for being parsed according to the parsing class to the sensor status data.
Sensing data analysis method and device provided in an embodiment of the present invention, the mode for parsing template by using data can With support different type, different manufacturers sensor type access, and sensing data analysis protocol have upgrading or change when, It can be modified just for the data parsing template for defined parameters variable, without changing the journey for being used for realizing logical process Sequence source code, without recompilating, you can realize that data are parsed, realize definition and the separation of logical process, and then can be fast Speed, efficiently realize to the parsing of the data of different sensors type.
Described above is only the general introduction of technical solution of the present invention, in order to better understand the technological means of the present invention, And can be practiced according to the content of specification, and in order to allow above and other objects of the present invention, feature and advantage can Become apparent, below especially exemplified by the embodiment of the present invention.
Brief description of the drawings
By reading the detailed description of hereafter preferred embodiment, various other advantages and benefit is common for this area Technical staff will be clear understanding.Accompanying drawing is only used for showing the purpose of preferred embodiment, and is not considered as to the present invention Limitation.And in whole accompanying drawing, identical part is denoted by the same reference numerals.In the accompanying drawings:
Fig. 1 is a kind of flow chart for sensing data analytic method that the embodiment of the present invention is proposed;
Fig. 2 is the flow chart for another sensing data analytic method that the embodiment of the present invention is proposed;
Fig. 3 is the specific workflow figure for realizing sensing data parsing in the embodiment of the present invention;
The subdivision flow chart that Fig. 4 is step S14 in a kind of sensing data analytic method that the embodiment of the present invention is proposed;
Fig. 5 is a kind of structured flowchart for sensing data resolver that the embodiment of the present invention is proposed;
Fig. 6 is a kind of structured flowchart for sensing data resolver that the embodiment of the present invention is proposed.
Embodiment
The exemplary embodiment of the disclosure is more fully described below with reference to accompanying drawings.Although showing the disclosure in accompanying drawing Exemplary embodiment, it being understood, however, that may be realized in various forms the disclosure without should be by embodiments set forth here Limited.On the contrary, these embodiments are provided to facilitate a more thoroughly understanding of the present invention, and can be by the scope of the present disclosure Complete conveys to those skilled in the art.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " one " used herein, " one It is individual ", " described " and "the" may also comprise plural form.It is to be further understood that what is used in the specification of the present invention arranges Diction " comprising " refer to there is the feature, integer, step, operation, element and/or component, but it is not excluded that in the presence of or addition Other one or more features, integer, step, operation, element, component and/or their group.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, all terms used herein (including technology art Language and scientific terminology), with the general understanding identical meaning with the those of ordinary skill in art of the present invention.Should also Understand, those terms defined in such as general dictionary, it should be understood that with the context with prior art The consistent meaning of meaning, and unless by specific definitions, otherwise will not be explained with idealization or excessively formal implication.
Fig. 1 diagrammatically illustrates the flow chart of the sensing data analytic method of one embodiment of the invention.This method is set again The sensing data resolver put in system terminal realizes that reference picture 1, the sensing data analytic method of the embodiment of the present invention has Body comprises the following steps:
The sensing data that S11, acquisition sensor are gathered in real time, the sensing data includes the sensor of the sensor Identification information and sensor status data.
Wherein, the sensor identification information can be sensor number.
In a specific example, sensing data resolver receives the sensing data that sensor is gathered and uploaded in real time, The data packet format of the sensing data is as shown in Table 1:
The data packet format of the sensing data of table one
Sensor number Sensor status data
24 bytes N byte
Wherein, N size is configured with specific reference to the form and data volume of sensor gathered data, the present invention to this not It is specifically limited.
S12, the sensor type for determining according to the sensor identification information sensor, and according to the sensor The corresponding data parsing template of type search.
In actual applications, the corresponding relation included between sensor identification information and sensor type can be pre-established Mapping relations, the default mapping of the sensor identification information searching of the sensor then included according to sensing data closes System, with the sensor type of the quick obtaining sensor.
S13, using the data parsing template sensor status data is parsed.
In the embodiment of the present invention, define corresponding data previously according to sensor type and parse template, when sensor is the bottom of from Layer is collected after sensing data in real time, and the data of template parsing collection are parsed by transferring corresponding data.
Sensing data analytic method provided in an embodiment of the present invention, the mode for parsing template by using data can be supported The access of different type, different manufacturers sensor type, and when sensing data analysis protocol has upgrading or changed, can be only It is modified for the data parsing template for defined parameters variable, without changing the program source generation for being used for realizing logical process Code, without recompilating, you can realize that data are parsed, realizes definition and the separation of logical process, and then can quickly, efficiently Ground is realized to be parsed to the data of different sensors type.
Fig. 2 diagrammatically illustrates the flow chart of the sensing data analytic method of another embodiment of the present invention.Reference picture 2, The sensing data analytic method of the embodiment of the present invention specifically includes following steps:
The sensing data that S11, acquisition sensor are gathered in real time, the sensing data includes the sensor of the sensor Identification information and sensor status data.
S12, the sensor type for determining according to the sensor identification information sensor, and according to the sensor The corresponding data parsing template of type search.
S13, using the data parsing template sensor status data is parsed.
S14, according to default data filtering rule the data after parsing are filtered, be met the data filtering The sensor of interest status data of rule.
Wherein, described filtering rule can be by User Defined.In addition, being also preset with most basic filtering rule in system Then, including illegal value filtering, initial value filtering, such as most freshly harvested data and last data compare not to be reached without variation or variation The base rules such as the threshold value to setting.
S15, corresponding data monitoring template searched according to the sensor type.
S16, using the data monitoring template to the sensor of interest status data carry out in real time monitoring and early warning, institute Data monitoring template is stated to carry out in advance the abnormality of the sensing data by the pattern style and/or color pre-set It is alert.
In the embodiment of the present invention, sensor is responsible for the collection of bottom sensing data, and the sensing data of collection is uploaded and sensed Data analysis device, sensing data resolver parses template sum to the corresponding data set previously according to sensor type It is managed and stores according to monitoring standard module, calls corresponding data parsing template to carry out data according to the sensor type of sensor Parsing;And the data after parsing are filtered using default filtering rule, correspondence number is then called according to sensor type Real-time exhibition is carried out according to the monitoring standard module state current to sensor.In addition, sensing data resolver is also realized to after filtering Data stored.
The embodiment of the present invention can not only fast and efficiently realize the data parsing to different sensors type, Er Qietong Cross the setting of filtering rule and data monitoring standard module, can more accurately parse the required data of user, and according to Family demand is shown to it, lifts Consumer's Experience.
In the embodiment of the present invention, the sensor type that the sensor is determined according to the sensor identification information, Corresponding data parsing template is searched according to the sensor type, specifically included:
According to the default mapping relations of sensor identification information searching, to obtain the sensor identification information correspondence The sensor type of sensor;Include the correspondence pass between sensor identification information and sensor type in the mapping relations System.The embodiment of the present invention, can be quickly and accurately true according to sensor identification information by way of pre-establishing mapping relations Determine the sensor type of sensor, lifting system overall performance.
The corresponding parsing type of the sensor status data is judged according to the sensor type, the parsing type is extremely Include expression parsing, parsing class parsing less.
According to the corresponding data parsing template of the parsing type search.
Specifically, when the parsing type is parsing class parsing, the data parsing template is parsing class.Correspondingly, It is described that the sensor status data is parsed using data parsing template, including:According to the parsing class to institute Sensor status data is stated to be parsed.
When the parsing type is expression parsing, the data parsing template is expression parsing function.Correspondingly, It is described that the sensor status data is parsed using data parsing template, specifically include:According to the expression formula Analytical function is parsed to the sensor status data.
In actual applications, sensing data resolver realizes the as shown in Figure 3 with workflow of data parsing.Referring to Fig. 3, gets sensor status data first, then parses the corresponding sensor number of sensor, and according to the sensor Numbering obtains respective sensor type, then inquires about the corresponding parsing type of the type, and parsing type is mainly supported:Expression formula solution Analysis, parsing class parsing (support java, groovy and C# language), if parsing type is expression parsing type, are called pair The expression parsing function library answered carries out data parsing, if parsing Class Type, then calls corresponding parsing class to carry out data Parsing, obtains the data of json forms after being parsed, data filtering is carried out so as to follow-up.
Further, as shown in figure 4, the sensor status data according to the expression parsing function pair is carried out Parsing, specifically includes following steps:
S141, the regular expression in the expression parsing function are extracted pair from the sensor status data The variable data answered;
S142, the parsing expression parsing function, are indicated with obtaining the description added in the expression parsing function Information, the description configured information is used for the data processing method for describing the variable data;
S143, according to it is described description configured information to the variable data carry out data processing.
It is every by being extended on the basis of the data extraction method based on regular expression in the embodiment of the present invention One expression parsing function adds the description configured information of the data processing method for describing the variable data, for pair Data are changed.For example, the data parsing template of a certain Temperature Humidity Sensor is:\d{2}(<V0{Convert.ToInt16 (V0)/10.0}>\d{4})\d{2}(<V1{Convert.ToInt16(V0)/100.0}>\d{4})\d{2}(<V2>\d {4});The character string that data parsing template representation sensor is received has 20, and resolver is by the data of the 3 to 6th Parse, and be converted to integer divided by 10, result is then assigned to variable V 0;Resolver parses the data of the 9 to 12nd Go out, and be converted to integer divided by 100, result is then assigned to variable V 1;Resolver parses the data of the 15 to 18th, It is assigned to variable V 2.
According to above analytic method, if the data of input are 100358001310000020, need what is parsed Variable data is 0358,1310 and 0020, carries out data processing to the variable data according to the description configured information, then Parsing template can resolve to data V0=35.8, V1=13.10, V2=0020 more than.
It should be noted that for simple data type conversion and value computing, correspondence development language can be directly invoked Support built-in function;For some of complex operation, it can be write by developer according to user's request and parse class accordingly, be transported Calculate.
The embodiment of the present invention is by adding the data for describing the variable data for each expression parsing function The description configured information of processing method, in that context it may be convenient to data parsing, conversion are carried out to the sensor with labyrinth and is opened up Show;And can carry out various data parsings to each design parameter using regular expression, can be applicable it is various not Same analytic method and a variety of analysis protocols, highly versatile.The embodiment of the present invention can quickly support different sensings The access of device type, the parsing and preservation to data are realized on backstage.
For embodiment of the method, in order to be briefly described, therefore it is all expressed as to a series of combination of actions, but this area Technical staff should know that the embodiment of the present invention is not limited by described sequence of movement, because according to present invention implementation Example, some steps can be carried out sequentially or simultaneously using other.Secondly, those skilled in the art should also know, specification Described in embodiment belong to necessary to preferred embodiment, the involved action not necessarily embodiment of the present invention.
Fig. 5 diagrammatically illustrates the structured flowchart of the sensing data resolver of one embodiment of the invention.Reference picture 5, The sensing data resolver of the embodiment of the present invention specifically include data acquisition module 501, the first template searching modul 502 and Data resolution module 503, wherein:Described data acquisition module 501, for obtaining the sensing data that sensor is gathered in real time, The sensing data includes the sensor identification information and sensor status data of the sensor;The first described template is looked into Module 502 is looked for, the sensor type for determining the sensor according to the sensor identification information, and according to the sensing The corresponding data parsing template of device type search;Described data resolution module 503, for parsing template pair using the data The sensor status data is parsed.
Sensing data resolver provided in an embodiment of the present invention, the mode for parsing template by using data can be supported The access of different type, different manufacturers sensor type, and when sensing data analysis protocol has upgrading or changed, can be only It is modified for the data parsing template for defined parameters variable, without changing the program source generation for being used for realizing logical process Code, without recompilating, you can realize that data are parsed, realizes definition and the separation of logical process, and then can quickly, efficiently Ground is realized to be parsed to the data of different sensors type.
In an alternate embodiment of the present invention where, as shown in fig. 6, described device also includes data filtering module 504, the Two template searching moduls 505 and data disaply moudle 506, wherein:Described data filtering module 504, in the data After parsing module is parsed using data parsing template to the sensor status data, according to default data mistake Filter rule is filtered to the data after parsing, is met the sensor of interest status data of the data filtering rule;Institute The the second template searching modul 505 stated, for searching corresponding data monitoring template according to the sensor type;Described number According to display module 506, for using the data monitoring template sensor of interest status data is carried out monitoring in real time and Early warning, the data monitoring template passes through the abnormality of the pattern style and/or color that pre-set to the sensing data Carry out early warning.
In the embodiment of the present invention, the first template searching modul 502 specifically includes acquisition submodule, decision sub-module With search submodule, wherein:
Described acquisition submodule, for according to the default mapping relations of sensor identification information searching, to obtain The sensor type of the sensor identification information respective sensor, wherein, include sensor identification in the mapping relations Corresponding relation between information and sensor type;Described decision sub-module, for judging institute according to the sensor type The corresponding parsing type of sensor status data is stated, the parsing type at least includes expression parsing, parsing class parsing;It is described Lookup submodule, for parsing template according to the corresponding data of the parsing type search.
Specifically, when the parsing type is parsing class parsing, the data parsing template is parsing class.Accordingly, The data resolution module 503, specifically for being parsed according to the parsing class to the sensor status data.
Specifically, when the parsing type is expression parsing, the data parsing template is expression parsing function. Accordingly, the data resolution module 503, specifically for the sensor status data according to the expression parsing function pair Parsed.Further, data resolution module 503, specifically for the regular expressions in the expression parsing function Formula extracts corresponding variable data from the sensor status data;The expression parsing function is parsed, it is described to obtain The description configured information added in expression parsing function, the description configured information is used for the data for describing the variable data Processing method;Data processing is carried out to the variable data according to the description configured information.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related Part illustrates referring to the part of embodiment of the method.
In addition, another embodiment of the present invention additionally provides a kind of electronic equipment, the electronic equipment includes:Housing, processing Device, memory, circuit board and power circuit, wherein, the circuit board is placed in the interior volume that the housing is surrounded, the place Reason device and the memory are arranged on the circuit board;The power circuit, for each circuit for the electronic equipment Or device is powered;The memory is used to store executable program code;The processor is deposited by reading in the memory The executable program code of storage runs program corresponding with executable program code, for performing following steps:Obtain and pass The sensing data that sensor is gathered in real time, the sensing data includes the sensor identification information and sensor shape of the sensor State data;The sensor type of the sensor is determined according to the sensor identification information;Looked into according to the sensor type Look for corresponding data parsing template;And the sensor status data is parsed using data parsing template.
Sensing data analysis method and device provided in an embodiment of the present invention, the mode for parsing template by using data can With support different type, different manufacturers sensor type access, and sensing data analysis protocol have upgrading or change when, It can be modified just for the data parsing template for defined parameters variable, without changing the journey for being used for realizing logical process Sequence source code, without recompilating, you can realize that data are parsed, realize definition and the separation of logical process, and then can be fast Speed, efficiently realize to the parsing of the data of different sensors type.
Device embodiment described above is only schematical, wherein the unit illustrated as separating component can To be or may not be physically separate, the part shown as unit can be or may not be physics list Member, you can with positioned at a place, or can also be distributed on multiple NEs.It can be selected according to the actual needs In some or all of module realize the purpose of this embodiment scheme.Those of ordinary skill in the art are not paying creativeness Work in the case of, you can to understand and implement.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can Realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware.Understood based on such, on The part that technical scheme substantially in other words contributes to prior art is stated to embody in the form of software product, should Computer software product can be stored in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including some fingers Order is to cause a computer equipment (can be personal computer, server, or network equipment etc.) to perform each implementation Method described in some parts of example or embodiment.
Although in addition, it will be appreciated by those of skill in the art that some embodiments in this include institute in other embodiments Including some features rather than further feature, but not the combination of the feature of be the same as Example mean be in the scope of the present invention Within and form different embodiments.For example, in the following claims, embodiment claimed it is any it One mode can use in any combination.
Finally it should be noted that:The above embodiments are merely illustrative of the technical solutions of the present invention, rather than its limitations;Although The present invention is described in detail with reference to the foregoing embodiments, it will be understood by those within the art that:It still may be used To be modified to the technical scheme described in foregoing embodiments, or equivalent substitution is carried out to which part technical characteristic; And these modification or replace, do not make appropriate technical solution essence depart from various embodiments of the present invention technical scheme spirit and Scope.

Claims (10)

1. a kind of sensing data analytic method, it is characterised in that including:
The sensing data that sensor is gathered in real time is obtained, the sensing data includes the sensor identification information of the sensor And sensor status data;
The sensor type of the sensor is determined according to the sensor identification information, and is searched according to the sensor type Corresponding data parse template;And
The sensor status data is parsed using data parsing template.
2. according to the method described in claim 1, it is characterised in that use the data to parse template to the sensing described After device status data is parsed, methods described also includes:
The data after parsing are filtered according to default data filtering rule, the mesh of the data filtering rule is met Mark sensor status data;
Corresponding data monitoring template is searched according to the sensor type;And
Monitoring and early warning in real time, the data prison are carried out to the sensor of interest status data using the data monitoring template Survey template and early warning is carried out to the abnormality of the sensing data by the pattern style and/or color pre-set.
3. method according to claim 1 or 2, it is characterised in that described that institute is determined according to the sensor identification information The sensor type of sensor is stated, searching corresponding data according to the sensor type parses template, including:
According to the default mapping relations of sensor identification information searching, to obtain the sensor identification information to inductive sensing Include the corresponding relation between sensor identification information and sensor type in the sensor type of device, the mapping relations;
The corresponding parsing type of the sensor status data is judged according to the sensor type, the parsing type is at least wrapped Include expression parsing, parsing class parsing;
According to the corresponding data parsing template of the parsing type search.
4. method according to claim 3, it is characterised in that when the parsing type is expression parsing, the number It is expression parsing function according to parsing template;
It is described that the sensor status data is parsed using data parsing template, including:According to the expression formula Analytical function is parsed to the sensor status data.
5. method according to claim 4, it is characterised in that described to be sensed according to the expression parsing function pair Device status data is parsed, including:
Regular expression in the expression parsing function extracts corresponding variable from the sensor status data Data;
The expression parsing function is parsed, it is described to obtain the description configured information added in the expression parsing function Description configured information is used for the data processing method for describing the variable data;
Data processing is carried out to the variable data according to the description configured information.
6. method according to claim 3, it is characterised in that when the parsing type is parsing class parsing, the number It is parsing class according to parsing template;
It is described that the sensor status data is parsed using data parsing template, including:According to the parsing class The sensor status data is parsed.
7. a kind of sensing data resolver, it is characterised in that including:
Data acquisition module, for obtaining the sensing data that sensor is gathered in real time, the sensing data includes the sensing The sensor identification information and sensor status data of device;
First template searching modul, the sensor type for determining the sensor according to the sensor identification information, and Corresponding data parsing template is searched according to the sensor type;
Data resolution module, for being parsed using data parsing template to the sensor status data.
8. device according to claim 7, it is characterised in that described device also includes:
Data filtering module, for parsing template to the sensor states number using the data in the data resolution module After being parsed, the data after parsing are filtered according to default data filtering rule, the data are met The sensor of interest status data of filtering rule;
Second template searching modul, for searching corresponding data monitoring template according to the sensor type;
Data disaply moudle, for being monitored in real time to the sensor of interest status data using the data monitoring template And early warning, the data monitoring template passes through the abnormal shape of the pattern style and/or color that pre-set to the sensing data State carries out early warning.
9. the device according to claim 7 or 8, it is characterised in that the first template searching modul, is specifically included:
Acquisition submodule, for according to the default mapping relations of sensor identification information searching, to obtain the sensor The sensor type of identification information respective sensor, wherein, sensor identification information and sensing are included in the mapping relations Corresponding relation between device type;
Decision sub-module, for judging the corresponding parsing type of the sensor status data, institute according to the sensor type Stating parsing type at least includes expression parsing, parsing class parsing;
Submodule is searched, for parsing template according to the corresponding data of the parsing type search.
10. device according to claim 9, it is characterised in that
When the parsing type is expression parsing, the data parsing template is expression parsing function, the data solution Module is analysed, is parsed specifically for the sensor status data according to the expression parsing function pair;
When the parsing type is parsing class parsing, the data parsing template is parsing class, the data resolution module, tool Body is used to parse the sensor status data according to the parsing class.
CN201710547807.0A 2017-07-06 2017-07-06 A kind of sensing data analysis method and device Pending CN107332849A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710547807.0A CN107332849A (en) 2017-07-06 2017-07-06 A kind of sensing data analysis method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710547807.0A CN107332849A (en) 2017-07-06 2017-07-06 A kind of sensing data analysis method and device

Publications (1)

Publication Number Publication Date
CN107332849A true CN107332849A (en) 2017-11-07

Family

ID=60196991

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710547807.0A Pending CN107332849A (en) 2017-07-06 2017-07-06 A kind of sensing data analysis method and device

Country Status (1)

Country Link
CN (1) CN107332849A (en)

Cited By (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108667805A (en) * 2018-04-08 2018-10-16 贵州云通曙光技术服务有限公司 The analytic method and its device and computer readable storage medium of data
CN109032608A (en) * 2018-07-30 2018-12-18 北京博大光通物联科技股份有限公司 The system and method for multi-sensor data analytic uniform
CN109767599A (en) * 2019-03-12 2019-05-17 北京隆普智能科技有限公司 A kind of intelligent alarm method and its system
CN109933039A (en) * 2017-12-15 2019-06-25 郑州宇通客车股份有限公司 A kind of sensor model number adaptive approach and a kind of electric machine controller
CN110351315A (en) * 2018-04-03 2019-10-18 中兴通讯股份有限公司 Method, system and storage medium, the electronic device of data processing
CN110417734A (en) * 2019-06-24 2019-11-05 广州迈峰网络科技有限公司 Remote device data acquisition method, device and system
CN110933146A (en) * 2019-11-14 2020-03-27 厦门网宿有限公司 Data conversion method and device and server
CN111262812A (en) * 2018-11-30 2020-06-09 比亚迪股份有限公司 Data packet screening method and device
CN112486479A (en) * 2020-11-30 2021-03-12 浙江中控技术股份有限公司 Data acquisition method and device
CN113836369A (en) * 2021-09-01 2021-12-24 上汽通用五菱汽车股份有限公司 Environment monitoring method, system, terminal and computer readable storage medium

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202093A (en) * 2011-05-12 2011-09-28 南京中兴新软件有限责任公司 Method for realizing sensor adaption and system thereof
CN103095854A (en) * 2013-02-27 2013-05-08 南京理工大学常熟研究院有限公司 Wireless sensor network isomerism information fusion decision-making system
CN103410551A (en) * 2013-08-31 2013-11-27 山西潞安环保能源开发股份有限公司常村煤矿 Data analysis system for ventilation safety
CN104348921A (en) * 2014-10-30 2015-02-11 江苏博大光通物联科技有限公司 Multi-sensor unified access method and system
CN104511205A (en) * 2013-10-02 2015-04-15 杜也兵 Data transmission method for monitoring device of water purifier and household electrical appliance with remote terminal
CN105897925A (en) * 2016-05-31 2016-08-24 成都九十度工业产品设计有限公司 Mobile remote electric power monitoring system based on 4G network and monitoring method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102202093A (en) * 2011-05-12 2011-09-28 南京中兴新软件有限责任公司 Method for realizing sensor adaption and system thereof
CN103095854A (en) * 2013-02-27 2013-05-08 南京理工大学常熟研究院有限公司 Wireless sensor network isomerism information fusion decision-making system
CN103410551A (en) * 2013-08-31 2013-11-27 山西潞安环保能源开发股份有限公司常村煤矿 Data analysis system for ventilation safety
CN104511205A (en) * 2013-10-02 2015-04-15 杜也兵 Data transmission method for monitoring device of water purifier and household electrical appliance with remote terminal
CN104348921A (en) * 2014-10-30 2015-02-11 江苏博大光通物联科技有限公司 Multi-sensor unified access method and system
CN105897925A (en) * 2016-05-31 2016-08-24 成都九十度工业产品设计有限公司 Mobile remote electric power monitoring system based on 4G network and monitoring method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
张军: ""开放式可重构远程监控机制的研究"", 《中国优秀硕士学位论文全文数据库(电子期刊)》 *

Cited By (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109933039A (en) * 2017-12-15 2019-06-25 郑州宇通客车股份有限公司 A kind of sensor model number adaptive approach and a kind of electric machine controller
CN110351315A (en) * 2018-04-03 2019-10-18 中兴通讯股份有限公司 Method, system and storage medium, the electronic device of data processing
CN108667805A (en) * 2018-04-08 2018-10-16 贵州云通曙光技术服务有限公司 The analytic method and its device and computer readable storage medium of data
CN109032608A (en) * 2018-07-30 2018-12-18 北京博大光通物联科技股份有限公司 The system and method for multi-sensor data analytic uniform
CN111262812A (en) * 2018-11-30 2020-06-09 比亚迪股份有限公司 Data packet screening method and device
CN109767599A (en) * 2019-03-12 2019-05-17 北京隆普智能科技有限公司 A kind of intelligent alarm method and its system
CN110417734A (en) * 2019-06-24 2019-11-05 广州迈峰网络科技有限公司 Remote device data acquisition method, device and system
CN110933146A (en) * 2019-11-14 2020-03-27 厦门网宿有限公司 Data conversion method and device and server
CN110933146B (en) * 2019-11-14 2022-09-16 厦门网宿有限公司 Data conversion method and device and server
CN112486479A (en) * 2020-11-30 2021-03-12 浙江中控技术股份有限公司 Data acquisition method and device
CN113836369A (en) * 2021-09-01 2021-12-24 上汽通用五菱汽车股份有限公司 Environment monitoring method, system, terminal and computer readable storage medium

Similar Documents

Publication Publication Date Title
CN107332849A (en) A kind of sensing data analysis method and device
CN109962789B (en) Method and device for constructing Internet of things application label system based on network data
KR101582601B1 (en) Method for detecting malignant code of android by activity string analysis
CN113704094B (en) Test case knowledge base construction method and device, electronic equipment and storage medium
JP2019110513A (en) Anomaly detection method, learning method, anomaly detection device, and learning device
CN112800427A (en) Webshell detection method and device, electronic equipment and storage medium
CN109144964A (en) log analysis method and device based on machine learning
CN111368289A (en) Malicious software detection method and device
CN111800404A (en) Method and device for identifying malicious domain name and storage medium
CN105210044B (en) Programmed Analysis Unit and program analysis method
CN109285024B (en) Online feature determination method and device, electronic equipment and storage medium
CN107451280B (en) Data communication method and device and electronic equipment
CN109064067B (en) Financial risk operation subject determination method and device based on Internet
US11556819B2 (en) Collection apparatus, collection method, and collection program
CN113537248B (en) Image recognition method and device, electronic equipment and storage medium
CN110263226A (en) For the database update method, apparatus and electronic device of drug
CN107463578B (en) Application download amount statistical data deduplication method and device and terminal equipment
CN107103060A (en) The storage method and system of a kind of sensing data
CN113255766A (en) Image classification method, device, equipment and storage medium
CN111460448B (en) Malicious software family detection method and device
CN112241262A (en) Software-defined satellite-oriented reusable code extracting, analyzing and retrieving method and device
CN105353306B (en) Motor fault diagnosis method and device and electric appliance
CN116956853A (en) Method and device for acquiring configuration template and electronic equipment
CN113516200B (en) Model training scheme generation method and device, electronic equipment and storage medium
CN111580856A (en) Internet of things equipment component version information extraction method for MIPS framework

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20171107

RJ01 Rejection of invention patent application after publication