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

CN112235326B - Internet of things equipment data analysis method and device and electronic equipment - Google Patents

Internet of things equipment data analysis method and device and electronic equipment Download PDF

Info

Publication number
CN112235326B
CN112235326B CN202011468561.6A CN202011468561A CN112235326B CN 112235326 B CN112235326 B CN 112235326B CN 202011468561 A CN202011468561 A CN 202011468561A CN 112235326 B CN112235326 B CN 112235326B
Authority
CN
China
Prior art keywords
equipment
internet
attribute
things
data
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011468561.6A
Other languages
Chinese (zh)
Other versions
CN112235326A (en
Inventor
纪宇
张万松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Changsha Rootcloud Technology Co ltd
Rootcloud Technology Co Ltd
Original Assignee
Changsha Rootcloud Technology Co ltd
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 Changsha Rootcloud Technology Co ltd filed Critical Changsha Rootcloud Technology Co ltd
Priority to CN202011468561.6A priority Critical patent/CN112235326B/en
Publication of CN112235326A publication Critical patent/CN112235326A/en
Application granted granted Critical
Publication of CN112235326B publication Critical patent/CN112235326B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

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/22Parsing or analysis of headers
    • GPHYSICS
    • G16INFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR SPECIFIC APPLICATION FIELDS
    • G16YINFORMATION AND COMMUNICATION TECHNOLOGY SPECIALLY ADAPTED FOR THE INTERNET OF THINGS [IoT]
    • G16Y20/00Information sensed or collected by the things
    • G16Y20/20Information sensed or collected by the things relating to the thing itself
    • 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

Landscapes

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

Abstract

The invention provides an analysis method and device for equipment data of the Internet of things and electronic equipment, and relates to the technical field of the Internet of things, and the method comprises the following steps: acquiring device data of Internet of things equipment accessed to a cloud; wherein the device data includes: industry attribute and equipment attribute to be analyzed; determining a corresponding cloud equipment object model for the Internet of things equipment based on the industry attribute; the Internet of things devices with the same industry attribute correspond to the same cloud device model; and analyzing the equipment data by utilizing a rule matching template library of the cloud equipment object model to obtain the equipment attribute of the Internet of things equipment. In the method, the Internet of things devices with the same industry attribute correspond to the same cloud device object model, and the rule matching template library of the cloud device object model realizes one-to-many analysis of the Internet of things device data by the cloud device object model, so that the repetitive work of research and development personnel is reduced, and the work efficiency is effectively improved.

Description

Internet of things equipment data analysis method and device and electronic equipment
Technical Field
The invention relates to the technical field of Internet of things, in particular to a method and a device for analyzing equipment data of the Internet of things and electronic equipment.
Background
At present, along with the rapid development of industry 4.0, in order to better serve enterprises in enterprise manufacturing, capacity and quality are improved, and more accurate intellectualization is realized, entity equipment in the space of the internet of things is generally digitalized, a data model of the entity equipment is constructed at the cloud end, an equipment model is obtained, the equipment model is a data model for transmitting equipment data by a sensor, but the equipment attributes produced by each manufacturing enterprise are not uniform, one set of data model is redeveloped to butt joint the equipment data transmitted by the sensor when the cloud end is accessed into the internet of things equipment every time, so that research and development repeatability work is large, and the working efficiency is low.
Disclosure of Invention
The invention aims to provide an analysis method and device for equipment data of the Internet of things and electronic equipment, so that repeated work of research personnel is reduced, and the work efficiency is effectively improved.
In a first aspect, the present invention provides an analysis method for internet of things device data, including: acquiring device data of Internet of things equipment accessed to a cloud; wherein the device data comprises: industry attribute and equipment attribute to be analyzed; determining a corresponding cloud equipment model for the Internet of things equipment based on the industry attribute; the Internet of things devices with the same industry attribute correspond to the same cloud device model; and analyzing the equipment data by utilizing a rule matching template library of the cloud equipment object model to obtain the equipment attribute of the Internet of things equipment.
In an optional implementation manner, obtaining device data of the internet of things device accessing to the cloud includes: acquiring a data transmission protocol of the Internet of things equipment; and analyzing the data packet sent by the Internet of things equipment based on the data transmission protocol to obtain the equipment data of the Internet of things equipment.
In an alternative embodiment, the method further comprises: judging whether the parameter value of the target equipment attribute is in a preset value range or not; the target equipment attribute is any one of the equipment attributes of the equipment of the Internet of things; if the parameter value of the target equipment attribute is not in the preset value range, judging whether the equipment attribute identification of the Internet of things equipment is completely matched with the data identification in the rule matching template library; if the data are not matched completely, the equipment data are discarded and abnormal data reception is fed back; and if the matching is complete, determining that the Internet of things equipment is in an abnormal state.
In an alternative embodiment, the method further comprises: obtaining an individualized calculation model; wherein the personalized calculation model is a model for performing preset operations on parameter values of the device attributes; and calculating the parameter values of the equipment attributes by using the personalized calculation model to obtain a personalized statistical result.
In an alternative embodiment, the method further comprises: recording the calling times of each cloud equipment object model; and determining the distribution of the Internet of things equipment accessed to the cloud based on the calling times.
In an alternative embodiment, the method further comprises: acquiring a device attribute template of the Internet of things device accessed to the cloud; wherein, the device attribute template comprises: the corresponding relation between the equipment attribute and the equipment attribute identification; establishing a mapping relation between each equipment attribute identification and a data identification in a cloud equipment model based on the equipment attribute template; the cloud equipment model is an equipment model which is stored in advance by a cloud and has the same industrial attribute as the Internet of things equipment; and storing the mapping relation into a rule matching template library of the cloud equipment object model.
In a second aspect, the present invention provides an analysis apparatus for data of an internet of things device, including: the first acquisition module is used for acquiring the equipment data of the Internet of things equipment accessed to the cloud; wherein the device data comprises: industry attribute and equipment attribute to be analyzed; the first determining module is used for determining a corresponding cloud equipment model for the Internet of things equipment based on the industry attribute; the Internet of things devices with the same industry attribute correspond to the same cloud device model; and the analysis module is used for analyzing the equipment data by utilizing a rule matching template library of the cloud equipment object model to obtain the equipment attribute of the Internet of things equipment.
In an optional implementation manner, obtaining device data of the internet of things device accessing to the cloud includes: the obtaining unit is used for obtaining a data transmission protocol of the Internet of things equipment; and the analysis unit is used for analyzing the data packet sent by the Internet of things equipment based on the data transmission protocol to obtain the equipment data of the Internet of things equipment.
In a third aspect, the present invention provides an electronic device, comprising a memory and a processor, wherein the memory stores a computer program operable on the processor, and the processor executes the computer program to implement the steps of the method according to any of the foregoing embodiments.
In a fourth aspect, the invention provides a computer readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method of any of the preceding embodiments.
The invention provides an analysis method of Internet of things equipment data, which comprises the following steps: acquiring device data of Internet of things equipment accessed to a cloud; wherein the device data includes: industry attribute and equipment attribute to be analyzed; determining a corresponding cloud equipment object model for the Internet of things equipment based on the industry attribute; the Internet of things devices with the same industry attribute correspond to the same cloud device model; and analyzing the equipment data by utilizing a rule matching template library of the cloud equipment object model to obtain the equipment attribute of the Internet of things equipment.
In the prior art, before the cloud analyzes the data of the internet of things, a set of corresponding equipment object model needs to be developed for each piece of internet of things equipment, so that the research and development repeatability is high, and the work efficiency is low. According to the method for analyzing the Internet of things equipment data, after the equipment data of the Internet of things equipment accessing to the cloud are obtained, the corresponding cloud equipment object model is determined for the Internet of things equipment according to the industry attribute of the Internet of things equipment, and then the equipment data are analyzed by utilizing the rule matching template library of the cloud equipment object model, so that the equipment attribute of the Internet of things equipment is obtained. In the method, the Internet of things devices with the same industry attribute correspond to the same cloud device object model, and the rule matching template library of the cloud device object model realizes one-to-many analysis of the Internet of things device data by the cloud device object model, so that the repetitive work of research and development personnel is reduced, and the work efficiency is effectively improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a flowchart of an analysis method for internet of things device data according to an embodiment of the present invention;
fig. 2 is a flowchart of an optional method for analyzing data of an internet of things device according to an embodiment of the present invention;
fig. 3 is a logic diagram illustrating a cloud device object model invoked through an API interface according to an embodiment of the present invention;
fig. 4 is a functional block diagram of an apparatus for analyzing data of an internet of things device according to an embodiment of the present invention;
fig. 5 is a schematic diagram of an electronic device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, 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 some, but not all, embodiments of the present invention. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. 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.
Some embodiments of the invention are described in detail below with reference to the accompanying drawings. The embodiments described below and the features of the embodiments can be combined with each other without conflict.
Along with the rapid development of thing networking, generally with the entity thing networking device digitalize in the thing networking space in the enterprise's manufacturing production, and then make thing networking device management more accurate more intelligent, in order to realize this purpose, the research and development personnel need construct rather than corresponding equipment thing model for the entity equipment in the high in the clouds, and equipment thing model is a data model of sensor transmission equipment data, and for example, the equipment attribute of X lathe has: ws represents the water temperature value, wy represents the pressure value, that is, for the X machine tool, the equipment attribute mark corresponding to the (equipment attribute) water temperature value is ws; the device attribute identifier corresponding to the (device attribute) pressure value is wy, after the sensor on the X machine tool detects the device attribute, for example, ws =50, wy =80, the data is packed and uploaded to the cloud, and after the cloud receives the device data, in order to accurately analyze the device attribute, a set of data model needs to be developed for the X machine tool in advance to dock the device data transmitted by the sensor. However, because the attributes of the devices produced by each manufacturing enterprise are not uniform, a set of data model needs to be redeveloped to connect the device data transmitted by the sensor every time the cloud accesses one piece of internet of things device, so that the research and development repeatability is large, and the working efficiency is low. In view of the above, embodiments of the present invention provide a method for analyzing data of an internet of things device, so as to alleviate the technical problems mentioned above.
Example one
Fig. 1 is a flowchart of an analysis method for internet of things device data according to an embodiment of the present invention, and as shown in fig. 1, the method specifically includes the following steps:
step S102, obtaining device data of the Internet of things device accessed to the cloud.
Specifically, before analyzing the internet of things device data, the device data of the internet of things device accessing the cloud end is firstly acquired, wherein the device data includes: industry attribute and equipment attribute to be analyzed; the industry attribute can be understood as industry information of the internet of things device, for example, if the internet of things device is an excavator, the cloud can determine that the received device data is excavator data according to the device data sent by the internet of things device. The cloud-accessed device data is data represented by device attribute marks designed by a device manufacturer and corresponding device attributes, and the device attributes cannot be accurately analyzed under the condition that the meaning of each mark is uncertain.
For example, the equipment attributes of an excavator manufactured by company a are: jws for water temperature values, jwy for pressure values; the equipment attributes of the excavator produced by company B are as follows: wwa represents the water temperature value; wwy represents pressure values; jws, jwy, wwa and wwy all represent device attribute identifications, the device data received by the cloud are only jws =30, jwy =100, wwa =60 and wwy =80, and when the device data transmitted by the sensor is docked, the cloud cannot resolve the device attributes if the meaning of the device identifications is not clear.
The above-mentioned equipment data is generally that after each sensor on the internet of things equipment detects corresponding equipment attribute, the rethread is preset the transmission path and is unified to be sent to the high in the clouds, and the high in the clouds can be understood as the server that carries out data processing to the equipment data of internet of things equipment.
And S104, determining a corresponding cloud equipment model for the Internet of things equipment based on the industry attribute.
In the embodiment of the invention, the cloud end embeds system model libraries of some industries according to the accumulated information of the Internet of things industry, namely, embeds equipment models of a plurality of industries, wherein the Internet of things equipment with the same industry attribute corresponds to the same cloud end equipment model; and a unique ID may be set for each cloud device model. Therefore, after receiving the device data of the internet of things device, the cloud determines a cloud device object model required to be used for data analysis by using the industry attribute of the cloud.
For example, when excavator devices manufactured by all manufacturers are connected to the cloud, the same equipment model is used for analyzing data, only one data identifier is provided for each equipment attribute in the equipment model, for example, in a cloud equipment model corresponding to the excavator industry, AAA (data identifier) represents a water temperature value (equipment attribute), although jws represents the water temperature value in the equipment attribute of the excavator manufactured by company a and wwa represents the water temperature value in the equipment attribute of the excavator manufactured by company B, after the cloud is connected to the cloud, the cloud does not need to respectively develop equipment models for company a and company B, but enables AAA and jws to form a mapping relationship, AAA and wwa form a mapping relationship, so that a new equipment model does not need to be developed for each excavator device, but the same equipment model is shared by relying on the one-to-many mapping relationships, thereby reducing the workload of research and development, the working efficiency is improved.
And S106, analyzing the equipment data by utilizing a rule matching template library of the cloud equipment object model to obtain the equipment attribute of the Internet of things equipment.
In the embodiment of the invention, when the cloud equipment model analyzes the equipment data, a rule matching template library of the equipment model is specifically used for matching the equipment data, wherein the rule matching template library stores mapping relations of each data identifier of the cloud equipment model and equipment attribute identifiers of a plurality of pieces of internet-of-things equipment in the industry to which the cloud equipment model belongs, such as the mapping relations of AAA and jws and the mapping relations of AAA and wwa. Therefore, when the received device data includes jws =30, the cloud can obtain the water temperature value of the currently-accessed excavator as 30 according to the mapping relationship. The method is applied to the rule mapping engine of the equipment model, and the rule mapping engine has the advantages of high data processing speed and stability.
In the prior art, before the cloud analyzes the data of the internet of things, a set of corresponding equipment object model needs to be developed for each piece of internet of things equipment, so that the research and development repeatability is high, and the work efficiency is low. According to the method for analyzing the Internet of things equipment data, after the equipment data of the Internet of things equipment accessing to the cloud are obtained, the corresponding cloud equipment object model is determined for the Internet of things equipment according to the industry attribute of the Internet of things equipment, and then the equipment data are analyzed by utilizing the rule matching template library of the cloud equipment object model, so that the equipment attribute of the Internet of things equipment is obtained. In the method, the Internet of things devices with the same industry attribute correspond to the same cloud device object model, and the rule matching template library of the cloud device object model realizes one-to-many analysis of the Internet of things device data by the cloud device object model, so that the repetitive work of research and development personnel is reduced, and the work efficiency is effectively improved.
The method for analyzing the data of the internet of things device provided by the embodiment of the invention is described above, and the optional implementation of some steps and other functions developed on the basis of the method of the invention are introduced one by one.
In an optional implementation manner, in step S102, the device data of the internet of things device accessing the cloud is obtained, which specifically includes the following contents:
acquiring a data transmission protocol of the Internet of things equipment; and analyzing the data packet sent by the equipment of the Internet of things based on a data transmission protocol to obtain the equipment data of the equipment of the Internet of things.
Specifically, the cloud in the embodiment of the present invention is compatible with multiple communication protocols of the internet of things, for example, CoAP (Constrained Application Protocol), MQTT (Message Queuing Telemetry Transport), JMS (Java Message Service), and the like, each piece of internet of things equipment uses a data transmission Protocol supported by the internet of things equipment to package device data and then sends the device data to the cloud, so that in order to accurately acquire the device data of the internet of things equipment, the cloud first needs to acquire which transmission Protocol is specifically used by the internet of things equipment, and then accurately analyzes the received data package by using the data transmission Protocol, so as to acquire the device data of the internet of things equipment.
After the cloud analyzes the device data sent by the internet of things device by using the device object model, some operation state information of the internet of things device, such as a temperature value, a pressure value, a working time, an operation time and the like, can be obtained, and in an optional embodiment, as shown in fig. 2, the method further includes the following steps:
and step S107, judging whether the parameter value of the target equipment attribute is in a preset value range.
After the numerical parameter information sent by the sensor is analyzed by the cloud, the numerical parameter information can be dynamically checked to check the accuracy of the parameter values of all the equipment attributes, and specifically, whether the parameter values of the target equipment attributes are within a preset value range is judged, wherein the target equipment attributes are any one of the equipment attributes of the internet of things equipment; each numerical device attribute should be set to a corresponding value range, which needs to be set according to the actual needs of the user, for example, if it is known that the water temperature range of some internet of things device should be 60 ℃ to 100 ℃ during normal operation, the preset value range corresponding to the device attribute of the water temperature value can be set to 60 ℃ to 100 ℃.
If the parameter value of the target device attribute is not within the preset value range, executing step S108; and if the parameter value of the target equipment attribute is in the preset value range, recording and storing the parameter value of the target equipment attribute.
And S108, judging whether the equipment attribute identification of the Internet of things equipment is completely matched with the data identification in the rule matching template library.
If not, go to step S109; if the match is complete, go to step S110.
Step S109, discard the device data and feed back a data reception abnormality.
And step S110, determining that the Internet of things equipment is in an abnormal state.
Specifically, if it is determined that the parameter value of the target device attribute exceeds the corresponding preset value range, it is further determined whether the device attribute identifier of the internet of things device is completely matched with the data identifier in the rule matching template library, and if the data is analyzed under the condition of incomplete matching, it is determined that the analyzed data cannot correctly reflect the operation information of the internet of things device, so that the device data is selected to be discarded, and abnormal data reception is fed back; if the parameter value of the target equipment attribute exceeds the corresponding preset value range and the equipment attribute identification of the Internet of things equipment is confirmed to be completely matched with the data identification in the rule matching template library, the data analysis is correct, and the Internet of things equipment is in an abnormal state. If a display connected with the cloud is arranged, the analyzed data can be displayed, and a data verification result is displayed.
When checking the accessed device data, a time window mode can be selected to extract a piece of device data, and then the extracted piece of device data is checked, for example, a piece of device data is randomly extracted from a plurality of pieces of device data received every 5 minutes and checked; or a plurality of pieces of equipment data can be collected in batches, then the plurality of pieces of equipment data are compared, the attributes of each piece of equipment data are compared, and the similarities and differences are found out, wherein the basic principle is as follows: m samples (M < N) are extracted from N samples with equal probability, and the samples are simulated by an array and extracted with equal probability directly. The method comprises the following steps: randomly taking a number between 0, N-1 (assuming the first sample is labeled 0) each time, comparing the number with the previous number, and if the number is the same as the last number taken, continuing the random drawing until a number different from all the previous numbers is taken; if not, the random number is added into the result set, and random extraction is continued until the number in the result set is M.
In an alternative embodiment, the method of the present invention further comprises the steps of:
step S21, obtaining a personalized calculation model; the personalized calculation model is a model for executing preset operation on parameter values of equipment attributes.
And step S22, calculating the parameter values of the equipment attributes by using the personalized calculation model to obtain personalized statistical results.
In the embodiment of the invention, after the rule mapping engine analyzes the device attribute of the internet of things device, a user can select some personalized model libraries built in the cloud according to actual requirements, a plurality of personalized calculation models are stored in the personalized model libraries, the personalized calculation models are models capable of executing preset operation on the parameter values of the device attribute, if the user selects one or more personalized calculation models when analyzing the device data of the internet of things device by using the device model at the cloud, one or more personalized statistical results can be obtained while outputting the data analysis result, and further the operation state of the internet of things device is deeply analyzed. For example, the device attributes of the operating duration and the operating duration are preset in the device model, the device attribute of the device on-time rate is defined in the personalized calculation model, and the device on-time rate = the operating duration/the operating duration, so that after the cloud device model analyzes the device data, the specific parameter value of the device on-time rate can be further obtained by using the personalized calculation model. The personalized model library provides a plurality of selectable calculation models for a user, and the user can train the application and the use range of the model library after selecting and using.
In an alternative embodiment, the method of the present invention further comprises the steps of:
step S31, recording the calling times of each cloud equipment object model;
and step S32, determining the distribution of the Internet of things equipment accessed to the cloud based on the calling times.
In the embodiment of the invention, after the rule mapping engine is used for calling the cloud equipment model to analyze the equipment data, the called times of each cloud equipment model can be recorded, and the distribution of the Internet of things equipment accessed to the cloud is further determined according to the called times.
In the above, a detailed description is given of how to use the cloud equipment model to analyze the equipment data transmitted by the internet of things equipment, and a description is given below of a process of constructing the cloud equipment model for data analysis.
In an alternative embodiment, the method of the present invention further comprises the steps of:
step S41, acquiring a device attribute template of the Internet of things device accessed to the cloud; wherein, the device attribute template comprises: and the corresponding relation between the equipment attribute and the equipment attribute identification.
Firstly, to analyze device data of the internet of things device, the rule mapping engine first acquires a device attribute template of the internet of things device accessing the cloud, where the device attribute template includes a correspondence between a device attribute and a device attribute identifier, for example, jws described above represents a water temperature value, where jws is the device attribute identifier, the water temperature value is the device attribute, and the two have a unique correspondence. The device attribute template user can perform custom configuration on the web page, or can directly upload a standard template (such as an excel-format document) of the device attribute, and complete the configuration of the device attribute template through batch import, or select from preset attribute templates provided by the web page, wherein the preset attribute templates can be sorted according to the calling times of all cloud device models.
Step S42, establishing a mapping relation between each equipment attribute identification and the data identification in the cloud equipment object model based on the equipment attribute template; the cloud equipment model is an equipment model which is stored in advance by the cloud and has the same industry attribute as the Internet of things equipment.
In the embodiment of the invention, the internet of things devices with the same industry attribute use the same device model in a unified manner at the cloud, so after the device attribute template of the internet of things device is obtained, the corresponding cloud device model is determined according to the industry attribute, and then the mapping relationship between each device attribute identifier of the internet of things device and the data identifier in the cloud device model is established, for example, in the cloud device model corresponding to the excavator industry, AAA (data identifier) represents a water temperature value (device attribute), and jws represents a water temperature value in the device attribute of the excavator produced by company a configured by a user, at this time, the mapping relationship between AAA and jws needs to be established, and so on, and the mapping relationship between all the data identifiers in the cloud device model is completed.
And step S43, storing the mapping relation into a rule matching template library of the cloud equipment object model.
And finally, storing the mapping relation into a rule matching template library of the cloud equipment object model, and when the rule mapping engine calls the cloud equipment object model, performing data analysis by using the mapping relation in the rule matching template library corresponding to the equipment object model.
The establishment of the cloud equipment model can realize streaming data processing, calculation, summarization and historical data presentation based on the cloud equipment model, and the client can call the equipment model in a manner of adopting an Http request API interface (RPC modification of a TCP protocol can be carried out, so that the access performance and the access speed are improved). For processing based on the device data dimension, fig. 3 is a logic diagram for calling the cloud device object model through the API interface according to the embodiment of the present invention.
In the method for analyzing the internet of things equipment data, the multiple internet of things equipment with the same industry attribute correspond to the same equipment model at the cloud end, namely, one equipment model can deal with multiple kinds of equipment, the technical problem that the bottom layer attributes of the equipment are inconsistent and cannot be unified is not concerned, the equipment model is standardized, the equipment data of the internet of things equipment can be analyzed by establishing the mapping relation between the equipment attribute identification of the internet of things equipment and the data identification of the equipment model, the technical problem that the operation flow of analyzing the internet of things equipment data in the internet of things industry is complex at present is solved, the repetitive work of research and development personnel is reduced, and the work efficiency is effectively improved. The device model can be subjected to secondary evolution and derived to obtain multiple models; the user can also customize common addition, subtraction, multiplication and division (selecting an individualized calculation model) to calculate the desired service data, and aiming at the condition that the equipment attributes are too much and the user cannot identify, the method can be used for quickly and simply filtering out the required equipment attributes, and the filtered data is simpler, easier to understand and more humanized.
Example two
The embodiment of the invention also provides an analysis device for the data of the internet of things equipment, which is mainly used for executing the analysis method for the data of the internet of things equipment provided by the first embodiment of the invention.
Fig. 4 is a functional block diagram of an analysis apparatus for internet of things device data according to an embodiment of the present invention, and as shown in fig. 4, the apparatus mainly includes: a first obtaining module 10, a first determining module 20, and a parsing module 30, wherein:
the first obtaining module 10 is configured to obtain device data of an internet of things device accessing a cloud; wherein the device data includes: industry attributes and device attributes to be parsed.
The first determining module 20 is configured to determine a corresponding cloud device model for the internet of things device based on the industry attribute; the Internet of things equipment with the same industry attribute corresponds to the same cloud equipment model.
The analysis module 30 is configured to analyze the device data by using the rule matching template library of the cloud device model to obtain a device attribute of the internet of things device.
In the prior art, before the cloud analyzes the data of the internet of things, a set of corresponding equipment object model needs to be developed for each piece of internet of things equipment, so that the research and development repeatability is high, and the work efficiency is low. According to the device for analyzing the internet of things equipment data, after the equipment data of the internet of things equipment accessing the cloud are obtained, the corresponding cloud equipment object model is determined for the internet of things equipment according to the industry attribute of the internet of things equipment, and then the equipment data are analyzed by utilizing the rule matching template library of the cloud equipment object model, so that the equipment attribute of the internet of things equipment is obtained. In the embodiment of the invention, the internet of things devices with the same industry attribute correspond to the same cloud device object model, and the rule matching template library of the cloud device object model realizes one-to-many analysis of the internet of things device data by the cloud device object model, so that the repetitive work of research and development personnel is reduced, and the work efficiency is effectively improved.
Optionally, the first obtaining module 10 includes:
and the acquisition unit is used for acquiring a data transmission protocol of the Internet of things equipment.
And the analysis unit is used for analyzing the data packet sent by the Internet of things equipment based on the data transmission protocol to obtain the equipment data of the Internet of things equipment.
Optionally, the apparatus further comprises:
the first judgment module is used for judging whether the parameter value of the target equipment attribute is in a preset value range or not; the target equipment attribute is any one of the equipment attributes of the equipment of the Internet of things.
And the second judgment module is used for judging whether the equipment attribute identifier of the Internet of things equipment is completely matched with the data identifier in the rule matching template library or not if the parameter value of the target equipment attribute is not in the preset value range.
And the second determining module discards the equipment data and feeds back data receiving abnormity if the equipment data are not completely matched.
And the third determining module is used for determining that the Internet of things equipment is in an abnormal state if the Internet of things equipment is completely matched with the Internet of things equipment.
Optionally, the apparatus further comprises:
the second acquisition module is used for acquiring the personalized calculation model; the personalized calculation model is a model for executing preset operation on parameter values of equipment attributes.
And the operation module is used for operating the parameter values of the equipment attributes by utilizing the personalized calculation model to obtain a personalized statistical result.
Optionally, the apparatus further comprises:
and the recording module is used for recording the calling times of each cloud equipment object model.
And the fourth determining module is used for determining the distribution of the Internet of things equipment accessed to the cloud based on the calling times.
Optionally, the apparatus further comprises:
the third acquisition module is used for acquiring a device attribute template of the Internet of things device accessed to the cloud; wherein, the device attribute template comprises: and the corresponding relation between the equipment attribute and the equipment attribute identification.
The establishing module is used for establishing a mapping relation between each equipment attribute identification and the data identification in the cloud equipment object model based on the equipment attribute template; the cloud equipment model is an equipment model which is stored in advance by the cloud and has the same industry attribute as the Internet of things equipment.
And the storage module is used for storing the mapping relation into a rule matching template library of the cloud equipment object model.
EXAMPLE III
Referring to fig. 5, an embodiment of the present invention provides an electronic device, including: a processor 60, a memory 61, a bus 62 and a communication interface 63, wherein the processor 60, the communication interface 63 and the memory 61 are connected through the bus 62; the processor 60 is arranged to execute executable modules, such as computer programs, stored in the memory 61.
The memory 61 may include a high-speed Random Access Memory (RAM) and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory. The communication connection between the network element of the system and at least one other network element is realized through at least one communication interface 63 (which may be wired or wireless), and the internet, a wide area network, a local network, a metropolitan area network, and the like can be used.
The bus 62 may be an ISA bus, PCI bus, EISA bus, or the like. The bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one double-headed arrow is shown in FIG. 5, but this does not indicate only one bus or one type of bus.
The memory 61 is used for storing a program, the processor 60 executes the program after receiving an execution instruction, and the method executed by the apparatus defined by the flow process disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 60, or implemented by the processor 60.
The processor 60 may be an integrated circuit chip having signal processing capabilities. In implementation, the steps of the above method may be performed by integrated logic circuits of hardware or instructions in the form of software in the processor 60. The Processor 60 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the device can also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like. The steps of the method disclosed in connection with the embodiments of the present invention may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor. The software module may be located in ram, flash memory, rom, prom, or eprom, registers, etc. storage media as is well known in the art. The storage medium is located in a memory 61, and the processor 60 reads the information in the memory 61 and, in combination with its hardware, performs the steps of the above method.
The method and the device for analyzing the data of the internet of things equipment and the computer program product of the electronic equipment provided by the embodiments of the present invention include a computer-readable storage medium storing a nonvolatile program code executable by a processor, where instructions included in the program code may be used to execute the method described in the foregoing method embodiments, and specific implementation may refer to the method embodiments, and will not be described herein again.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The functions, if implemented in the form of software functional units and sold or used as a stand-alone product, may be stored in a non-volatile computer-readable storage medium executable by a processor. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes.
Finally, it should be noted that: the above embodiments are only used to illustrate the technical solution of the present invention, and not to limit the same; while the invention has been described in detail and with reference to the foregoing embodiments, it will be understood by those skilled in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some or all of the technical features may be equivalently replaced; and the modifications or the substitutions do not make the essence of the corresponding technical solutions depart from the scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. An analysis method for Internet of things equipment data is characterized by comprising the following steps:
acquiring device data of Internet of things equipment accessed to a cloud; wherein the device data comprises: industry attribute and equipment attribute to be analyzed; the industry attribute represents industry information of the Internet of things equipment;
determining a corresponding cloud equipment model for the Internet of things equipment based on the industry attribute; the Internet of things devices with the same industry attribute correspond to the same cloud device model;
analyzing the equipment data by utilizing a rule matching template library of the cloud equipment object model to obtain the equipment attribute of the Internet of things equipment; the rule matching template library stores mapping relations between each data identifier of the cloud equipment model and equipment attribute identifiers of a plurality of pieces of internet-of-things equipment in the industry to which the cloud equipment model belongs; the cloud equipment model only has one data identifier for each equipment attribute, and the data identifier and the equipment attribute identifiers with the same equipment attribute of the similar equipment produced by different companies have mapping relations.
2. The method of claim 1, wherein obtaining device data of the internet of things device accessing the cloud comprises:
acquiring a data transmission protocol of the Internet of things equipment;
and analyzing the data packet sent by the Internet of things equipment based on the data transmission protocol to obtain the equipment data of the Internet of things equipment.
3. The method of claim 1, further comprising:
judging whether the parameter value of the target equipment attribute is in a preset value range or not; the target equipment attribute is any one of the equipment attributes of the equipment of the Internet of things;
if the parameter value of the target equipment attribute is not in the preset value range, judging whether the equipment attribute identification of the Internet of things equipment is completely matched with the data identification in the rule matching template library;
if the data are not matched completely, the equipment data are discarded and abnormal data reception is fed back;
and if the matching is complete, determining that the Internet of things equipment is in an abnormal state.
4. The method of claim 1, further comprising:
obtaining an individualized calculation model; wherein the personalized calculation model is a model for performing preset operations on parameter values of the device attributes;
and calculating the parameter values of the equipment attributes by using the personalized calculation model to obtain a personalized statistical result.
5. The method of claim 1, further comprising:
recording the calling times of each cloud equipment object model;
and determining the distribution of the Internet of things equipment accessed to the cloud based on the calling times.
6. The method of claim 1, further comprising:
acquiring a device attribute template of the Internet of things device accessed to the cloud; wherein, the device attribute template comprises: the corresponding relation between the equipment attribute and the equipment attribute identification;
establishing a mapping relation between each equipment attribute identification and a data identification in a cloud equipment model based on the equipment attribute template; the cloud equipment model is an equipment model which is stored in advance by a cloud and has the same industrial attribute as the Internet of things equipment;
and storing the mapping relation into a rule matching template library of the cloud equipment object model.
7. The utility model provides an analytical equipment of thing networking device data which characterized in that includes:
the first acquisition module is used for acquiring the equipment data of the Internet of things equipment accessed to the cloud; wherein the device data comprises: industry attribute and equipment attribute to be analyzed; the industry attribute represents industry information of the Internet of things equipment;
the first determining module is used for determining a corresponding cloud equipment model for the Internet of things equipment based on the industry attribute; the Internet of things devices with the same industry attribute correspond to the same cloud device model;
the analysis module is used for analyzing the equipment data by utilizing a rule matching template library of the cloud equipment object model to obtain the equipment attribute of the Internet of things equipment; the rule matching template library stores mapping relations between each data identifier of the cloud equipment model and equipment attribute identifiers of a plurality of pieces of internet-of-things equipment in the industry to which the cloud equipment model belongs; the cloud equipment model only has one data identifier for each equipment attribute, and the data identifier and the equipment attribute identifiers with the same equipment attribute of the similar equipment produced by different companies have mapping relations.
8. The apparatus of claim 7, wherein obtaining device data of the internet of things device accessing the cloud comprises:
the obtaining unit is used for obtaining a data transmission protocol of the Internet of things equipment;
and the analysis unit is used for analyzing the data packet sent by the Internet of things equipment based on the data transmission protocol to obtain the equipment data of the Internet of things equipment.
9. An electronic device comprising a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the steps of the method of any of claims 1 to 6 when executing the computer program.
10. A computer-readable medium having non-volatile program code executable by a processor, the program code causing the processor to perform the method of any of claims 1 to 6.
CN202011468561.6A 2020-12-15 2020-12-15 Internet of things equipment data analysis method and device and electronic equipment Active CN112235326B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011468561.6A CN112235326B (en) 2020-12-15 2020-12-15 Internet of things equipment data analysis method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011468561.6A CN112235326B (en) 2020-12-15 2020-12-15 Internet of things equipment data analysis method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN112235326A CN112235326A (en) 2021-01-15
CN112235326B true CN112235326B (en) 2021-03-16

Family

ID=74123583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011468561.6A Active CN112235326B (en) 2020-12-15 2020-12-15 Internet of things equipment data analysis method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112235326B (en)

Families Citing this family (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112818012A (en) * 2021-01-26 2021-05-18 深圳力维智联技术有限公司 Equipment data matching method, device, equipment and storage medium
CN112765416A (en) * 2021-01-26 2021-05-07 北京联创信安科技股份有限公司 Terminal equipment digitizing system and method
CN112988485B (en) * 2021-03-26 2024-01-26 国网冀北电力有限公司信息通信分公司 Simulation test method and device for electric power Internet of things equipment
CN113422693A (en) * 2021-05-28 2021-09-21 武汉云图智能科技有限公司 Model construction method and recognition method of Internet of things equipment and computer equipment
CN113220316B (en) * 2021-06-10 2024-09-20 京东科技控股股份有限公司 Information processing system, method and device
CN113535987B (en) * 2021-09-13 2022-01-21 杭州涂鸦信息技术有限公司 Linkage rule matching method and related device
CN114531462B (en) * 2021-12-31 2024-05-03 浪潮工业互联网股份有限公司 Data processing method and device for Internet of things device
CN114866575A (en) * 2022-03-31 2022-08-05 远景智能国际私人投资有限公司 Management method, device, equipment and storage medium of Internet of things equipment
CN114925255A (en) * 2022-05-07 2022-08-19 深圳市艾特智能科技有限公司 Dynamic display method and system of product functions, readable storage medium and computer
CN114979296B (en) * 2022-05-20 2024-05-10 深圳市晨北科技有限公司 Internet of things communication method, related terminal and storage medium
CN115118794A (en) * 2022-06-17 2022-09-27 北京亚华物联科技发展有限公司 Data standardization processing method and device and electronic equipment
CN115277421B (en) * 2022-07-21 2023-11-24 南京数睿数据科技有限公司 Configuration information pushing method, device, electronic equipment and computer readable medium
CN116170481A (en) * 2023-02-03 2023-05-26 武汉慧联无限科技有限公司 Access method, device, equipment and storage medium
CN116055530B (en) * 2023-03-15 2023-06-16 深圳普菲特信息科技股份有限公司 Object modeling method, system and readable storage medium based on industrial Internet of things
CN116226259A (en) * 2023-05-08 2023-06-06 江苏网进科技股份有限公司 Method for taking object model as unified standard output interface, electronic equipment and medium

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103500405A (en) * 2013-09-26 2014-01-08 北京奇虎科技有限公司 Method and device for identifying nominal model of target terminal
CN104038521A (en) * 2013-03-06 2014-09-10 江苏润和软件股份有限公司 Internet-of-Things architecture based on SaaS model
EP2902948A1 (en) * 2012-09-27 2015-08-05 Kabushiki Kaisha Toshiba Data analysis device and program
CN104980322A (en) * 2014-10-31 2015-10-14 腾讯科技(上海)有限公司 Method and device for linking network access equipment
CN107528888A (en) * 2017-07-27 2017-12-29 国网江西省电力公司检修分公司 A kind of intelligent electronic equipment of transformer substation and its data sending, receiving method and system
CN107948194A (en) * 2017-12-22 2018-04-20 北京农业信息技术研究中心 A kind of data cut-in method and system
CN108173874A (en) * 2018-01-29 2018-06-15 海尔优家智能科技(北京)有限公司 A kind of intelligent device management method, platform, system, medium and equipment
CN108255491A (en) * 2017-12-11 2018-07-06 南京埃斯顿自动化股份有限公司 A kind of unified modeling method of servo-driver data
CN109327551A (en) * 2018-12-04 2019-02-12 浩云科技股份有限公司 By the method and device of internet of things equipment access platform of internet of things, server
CN109510744A (en) * 2018-12-20 2019-03-22 树根互联技术有限公司 Internet of Things device intelligence cut-in method and device
CN111275453A (en) * 2018-12-03 2020-06-12 中国移动通信集团上海有限公司 Industry identification method and system of Internet of things equipment
CN111291103A (en) * 2020-01-19 2020-06-16 北京无限光场科技有限公司 Interface data analysis method and device, electronic equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101018150A (en) * 2006-02-09 2007-08-15 中兴通讯股份有限公司 A collection method and system of the telecom device performance data
US11496507B2 (en) * 2017-03-09 2022-11-08 Nec Corporation Abnormality detection device, abnormality detection method and abnormality detection program

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2902948A1 (en) * 2012-09-27 2015-08-05 Kabushiki Kaisha Toshiba Data analysis device and program
CN104038521A (en) * 2013-03-06 2014-09-10 江苏润和软件股份有限公司 Internet-of-Things architecture based on SaaS model
CN103500405A (en) * 2013-09-26 2014-01-08 北京奇虎科技有限公司 Method and device for identifying nominal model of target terminal
CN104980322A (en) * 2014-10-31 2015-10-14 腾讯科技(上海)有限公司 Method and device for linking network access equipment
CN107528888A (en) * 2017-07-27 2017-12-29 国网江西省电力公司检修分公司 A kind of intelligent electronic equipment of transformer substation and its data sending, receiving method and system
CN108255491A (en) * 2017-12-11 2018-07-06 南京埃斯顿自动化股份有限公司 A kind of unified modeling method of servo-driver data
CN107948194A (en) * 2017-12-22 2018-04-20 北京农业信息技术研究中心 A kind of data cut-in method and system
CN108173874A (en) * 2018-01-29 2018-06-15 海尔优家智能科技(北京)有限公司 A kind of intelligent device management method, platform, system, medium and equipment
CN111275453A (en) * 2018-12-03 2020-06-12 中国移动通信集团上海有限公司 Industry identification method and system of Internet of things equipment
CN109327551A (en) * 2018-12-04 2019-02-12 浩云科技股份有限公司 By the method and device of internet of things equipment access platform of internet of things, server
CN109510744A (en) * 2018-12-20 2019-03-22 树根互联技术有限公司 Internet of Things device intelligence cut-in method and device
CN111291103A (en) * 2020-01-19 2020-06-16 北京无限光场科技有限公司 Interface data analysis method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN112235326A (en) 2021-01-15

Similar Documents

Publication Publication Date Title
CN112235326B (en) Internet of things equipment data analysis method and device and electronic equipment
CN107888397B (en) Method and device for determining fault type
CN110532168B (en) Full-link interface pressure measurement method and device, computer equipment and storage medium
CN111866016B (en) Log analysis method and system
CN110868336A (en) Data management method, device and computer readable storage medium
CN109039819B (en) Time delay statistical method, device, system and storage medium
CN110808994B (en) Method and device for detecting brute force cracking operation and server
CN111130883B (en) Method and device for determining topological graph of industrial control equipment and electronic equipment
CN111190792A (en) Log storage method and device, electronic equipment and readable storage medium
US20170337208A1 (en) Collecting test results in different formats for storage
CN110932918A (en) Log data acquisition method and device and storage medium
CN111767262A (en) Log display method, device, equipment and storage medium
CN106648722B (en) Method and device for processing Flume receiving terminal data based on big data
CN111131325A (en) Data protocol anomaly identification system and method
CN109614382B (en) Log segmentation method and device for application
CN111767161A (en) Remote calling depth recognition method and device, computer equipment and readable storage medium
CN110989537A (en) Production data processing method, apparatus, medium, and system
CN112235358A (en) Data acquisition method and device, electronic equipment and computer readable storage medium
CN115002243B (en) Data processing method and device
CN112231194B (en) Index abnormity root analysis method and device and computer readable storage medium
CN113973111B (en) Data forwarding method, device, gateway equipment and computer readable storage medium
CN111131351B (en) Method and device for confirming model of Internet of things equipment
CN114115008A (en) 5G network-based power equipment operation data transmission method and system
CN116016241B (en) Equipment fingerprint information identification method and device, storage medium and electronic equipment
CN111339174A (en) Data exchange method and device, readable storage medium and data exchange system

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right

Effective date of registration: 20210430

Address after: No.1, 3rd floor, R & D building, Sany industrial city, No.1, Sany Road, Changsha Economic and Technological Development Zone, Changsha, Hunan 410000

Patentee after: CHANGSHA ROOTCLOUD TECHNOLOGY Co.,Ltd.

Patentee after: Shugen Internet Co.,Ltd.

Address before: No.1, 3rd floor, R & D building, Sany industrial city, No.1, Sany Road, Changsha Economic and Technological Development Zone, Changsha, Hunan 410000

Patentee before: CHANGSHA ROOTCLOUD TECHNOLOGY Co.,Ltd.

TR01 Transfer of patent right