CN114006945A - Intelligent grouping distribution method of Internet of things data and Internet of things platform - Google Patents
Intelligent grouping distribution method of Internet of things data and Internet of things platform Download PDFInfo
- Publication number
- CN114006945A CN114006945A CN202111205936.4A CN202111205936A CN114006945A CN 114006945 A CN114006945 A CN 114006945A CN 202111205936 A CN202111205936 A CN 202111205936A CN 114006945 A CN114006945 A CN 114006945A
- Authority
- CN
- China
- Prior art keywords
- data
- internet
- things
- equipment
- communication protocol
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 19
- 230000000007 visual effect Effects 0.000 claims description 8
- 238000007405 data analysis Methods 0.000 claims description 4
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004364 calculation method Methods 0.000 description 1
- 238000010586 diagram Methods 0.000 description 1
- 238000005315 distribution function Methods 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L69/00—Network arrangements, protocols or services independent of the application payload and not provided for in the other groups of this subclass
- H04L69/22—Parsing or analysis of headers
Abstract
The invention belongs to the field of communication, and discloses an intelligent grouping and distributing method of Internet of things data, which comprises the following steps: step 1: receiving equipment data uploaded by the Internet of things equipment; step 2: acquiring a corresponding communication protocol according to the SN code of the equipment of the Internet of things, and analyzing equipment data by adopting the communication protocol to obtain equipment parameters and grouping information; and step 3: classifying the equipment parameters into preset groups according to the group information; the group is matched with a preset outlet in advance; and 4, step 4: the method can analyze and group the equipment data, and distribute the data by adopting the preset outlet for the data in the group, thereby realizing the difficult problem that the equipment data can not be split and classified and forwarded.
Description
Technical Field
The invention relates to the field of communication, in particular to a method, an internet of things platform and a system for intelligently grouping and distributing internet of things data.
Background
At present, the internet of things platform of a mainstream manufacturer basically forwards equipment data in an original mode. I.e. the device data is not processed by parsing, grouping, etc.
When the device needs to upload more field data, the field data are generally grouped according to a certain rule, and after the device uploads the whole data, the data need to be distributed according to the grouping. At present, the internet of things platform of mainstream manufacturers does not provide a grouping distribution function. Forwarding the entire data uploaded by the device is unacceptable to the customer using the IOT platform, who needs the IOT platform to be able to perform packet splitting of the device data before forwarding to the customer's system.
Therefore, the technical problem that the present scheme was solved is: how to realize intelligent data classification and forwarding of the Internet of things equipment.
Disclosure of Invention
The invention aims to provide an intelligent grouping and distributing method of data of the Internet of things, which can analyze and group equipment data, and realize the difficult problem that the equipment data cannot be split and classified and forwarded by distributing the data in the grouping through a preset outlet.
In order to achieve the purpose, the invention provides the following technical scheme: a method for intelligently grouping and distributing data of the Internet of things comprises the following steps:
step 1: receiving equipment data uploaded by the Internet of things equipment, wherein the equipment data contains SN (service number) codes, equipment parameters and grouping information of the Internet of things equipment;
step 2: acquiring a corresponding communication protocol according to the SN code of the equipment of the Internet of things, and analyzing equipment data by adopting the communication protocol to obtain equipment parameters and grouping information; the communication protocol is matched with an SN (service number) code of the Internet of things equipment in advance;
and step 3: classifying the equipment parameters into preset groups according to the group information; the group is matched with a preset outlet in advance;
and 4, step 4: and sending out the equipment parameters in the packet through the corresponding outlet.
In the above method for intelligently distributing data of the internet of things, one piece of device data contains one or more groups of device parameters and grouping information.
In the method for intelligently distributing the data of the internet of things in a grouping manner, the outlet means that the equipment parameters in the grouping manner are sent to a preset receiver in a set communication manner;
the set communication mode is to send the data to a corresponding interface through a message queue and an http protocol, and to send the data to a client through a mail or store the data in a database.
Meanwhile, the invention also discloses an Internet of things platform, which comprises the following modules:
a data receiving module: the device data receiving device is used for receiving device data uploaded by the Internet of things device, and the device data contains SN codes, device parameters and grouping information of the Internet of things device;
a data analysis module: the device comprises a network interface device, a network interface device and a communication protocol module, wherein the network interface device is used for acquiring a corresponding communication protocol according to an SN (service number) code of the Internet of things device and analyzing device data by adopting the communication protocol to acquire device parameters and grouping information; the communication protocol is matched with an SN (service number) code of the Internet of things equipment in advance;
a data classification module: the device parameter is classified into a preset group according to the group information; the group is matched with a preset outlet in advance;
applying an orchestration scheduling engine: the device parameter receiving module is used for receiving the device parameters in the packets sent by the data packet module and sending the device parameters in the packets out through the corresponding outlet.
The platform of the internet of things further comprises a database, wherein the communication protocol, the association relation between the communication protocol and the SN code of the equipment of the internet of things and the configuration list of the outlet are stored in the database;
the configuration list of the outlet records the label of the outlet and the information of the outlet corresponding to the label;
the preset packet is marked with a label of an egress.
In the above-mentioned platform of internet of things, the communication protocol includes a protocol for analyzing status data of the internet of things device, a protocol for analyzing control data of the internet of things device, a protocol for analyzing time data of the internet of things device, and a protocol for analyzing parameter data of the internet of things device.
The internet of things platform further comprises a visual interface, wherein the visual interface is used for configuring the association relation between the grouping, the configuration list of the outlet, the communication protocol and the SN code of the internet of things equipment;
the visual interface is also used for visually displaying the data receiving module, the data analyzing module, the data classifying module and the application scheduling engine.
Compared with the prior art, the invention has the beneficial effects that:
according to the scheme, the data of the Internet of things is analyzed on the IOT platform, finer-grained (for example, grouped) disassembly is carried out according to the communication protocol, the work of the third-party service system is completed on the IOT platform, and some processing work is shared for the third-party service system.
Specifically, protocol acquisition is carried out on an IOT platform according to equipment numbers, equipment data are analyzed according to the protocol, whether one group or a plurality of groups of equipment parameters aiming at one group or a plurality of groups exist in the equipment data are known, the equipment parameters are classified into corresponding groups, an outlet is pre-distributed to each group, the equipment parameters can be sent to a set destination in a set mode through an application scheduling engine.
Drawings
FIG. 1 is a flow chart of example 1 of the present invention;
fig. 2 is a block diagram of embodiment 2 of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Example 1
As shown in fig. 1, a method for intelligently grouping and distributing data of an internet of things includes the following steps:
step 1: receiving equipment data uploaded by the Internet of things equipment, wherein the equipment data contains SN (service number) codes, equipment parameters and grouping information of the Internet of things equipment;
in addition, the device data may include a device model.
The following is an example of a piece of device data.
The model and SN code of the device;
after which the protocol is required to resolve as follows:
step 2: acquiring a corresponding communication protocol according to the SN code of the equipment of the Internet of things, and analyzing equipment data by adopting the communication protocol to obtain equipment parameters and grouping information; the communication protocol is matched with an SN (service number) code of the Internet of things equipment in advance;
the communication protocol comprises a protocol for analyzing state data of the equipment of the Internet of things, a protocol for analyzing control data of the equipment of the Internet of things, a protocol for analyzing time data of the equipment of the Internet of things and a protocol for analyzing parameter data of the equipment of the Internet of things.
As in the above case, the protocol to be adopted is a protocol for resolving status data (status) of the internet of things device;
by the parsing, packet data of two packets, i.e., "elevator": can be obtained
Wherein, the elevator and the sensor represent different grouping information;
floor is-1; "mileage" 5255.42 represents the device parameters of the eleventer group;
"husimity": 26, "enumeration": 92.95 represents the equipment parameters of the sensor group;
and step 3: classifying the equipment parameters into preset groups according to the group information; the group is matched with a preset outlet in advance;
grouping is an example as follows:
elevator groups { "templetCode": elevator "," codePath ": S6000. states. elevator" }
sensor grouping { "templetCode": sensor "," codePath ": s6000. states. sensor" }
As can be seen, the above "floor": 1; "mileage" 5255.42 and "humility" 26, "enumeration" 92.95 are imported into different groupings.
The relationship between packets and egress may be referred to as follows:
"output":[{"key":"S6000.status.elevator","type":"status","tag":1},{"key":"S6000.status.
sensor","type":"upload","tag":2}]
the label of the egress represented by the elevator packet is 1, and the label of the egress represented by the sensor packet is 2;
an export configuration information list is prestored in a database of the IOT platform, and export information corresponding to different tags is recorded in the list, and the export information includes but is not limited to: the device parameters in the packet are sent to a preset receiver in a set communication mode, such as a message queue, an http protocol, a client through a mail or a database stored in an external device.
That is, as long as the device parameter is classified into packets, the output mode and the output destination thereof are determined.
In the practical application process, the information determination of the grouping, the configuration of the configuration list of the outlet and the association relationship between the communication protocol and the SN code of the Internet of things equipment can be manually configured, a user can add the outlet in the configuration list of the outlet at any time according to needs, establish the grouping, determine the relationship between the grouping and the outlet, introduce a new communication protocol and perform batched association with the SN code of the Internet of things equipment.
And 4, step 4: and sending out the equipment parameters in the packet through the corresponding outlet.
According to the embodiment of the invention, the protocol is acquired on the IOT platform according to the equipment number, the equipment data is analyzed according to the protocol, whether one group or a plurality of groups of equipment parameters aiming at one group or a plurality of groups exist in the equipment data is known, the equipment parameters are classified into the corresponding groups, an outlet is pre-distributed to each group, the equipment parameters can be sent to a set destination in a set mode through an application scheduling engine, the method is completed on the IOT platform, the whole equipment data does not need to be forwarded, the granularity of the target parameters is refined by one level, meanwhile, the data can be disassembled on the IOT platform by a simple method, and the inconvenience that a user needs to receive all the data and consumes the calculation to analyze all the data is avoided.
Example 2
Referring to fig. 2, an internet of things platform for implementing the method of embodiment 1 includes the following modules:
data receiving module 1: the device data receiving device is used for receiving device data uploaded by the Internet of things device, and the device data contains SN codes, device parameters and grouping information of the Internet of things device;
the data analysis module 2: the device comprises a network interface device, a network interface device and a communication protocol module, wherein the network interface device is used for acquiring a corresponding communication protocol according to an SN (service number) code of the Internet of things device and analyzing device data by adopting the communication protocol to acquire device parameters and grouping information; the communication protocol is matched with an SN (service number) code of the Internet of things equipment in advance;
the data classification module 3: the device parameter is classified into a preset group according to the group information; the group is matched with a preset outlet in advance;
the application orchestration scheduling engine 4: the device parameter receiving module is used for receiving the device parameters in the packets sent by the data packet module and sending the device parameters in the packets out through the corresponding outlet.
The database 5 is used for storing the communication protocol, the incidence relation between the communication protocol and the SN code of the Internet of things equipment and the configuration list of the outlet;
the configuration list of the outlet records the label of the outlet and the information of the outlet corresponding to the label;
the preset packet is marked with a label of an egress.
The visual interface 6 is used for configuring grouping, an export configuration list, and an association relation between a communication protocol and an SN (service number) code of the Internet of things equipment;
the visual interface is also used for visually displaying the data receiving module, the data analyzing module, the data classifying module and the application scheduling engine.
The normal working process is as follows:
the data receiving module receives the equipment data, and the SN code of the equipment of the Internet of things can be obtained by analyzing the equipment data in advance under the condition of not introducing a communication protocol; acquiring a corresponding communication protocol according to the SN code of the Internet of things equipment through a data analysis module, and analyzing equipment data by adopting the communication protocol to obtain equipment parameters and grouping information; the data classification module classifies the equipment parameters into preset groups according to the group information; the application scheduling engine receives the device parameters in the packets sent by the data packet module and sends the device parameters in the packets through the corresponding outlets, because the packets and the outlets have a correlation relationship, the information of the outlets is directly found from the configuration list of the outlets, and the application scheduling engine sends the data through the outlets by the device parameters.
Under the conditions of adding equipment, adding a protocol, adding an export object and the like, a user needs to perform related operations on the database through a visual interface, and updates the communication protocol in the database, the association relationship between the communication protocol and the SN code of the equipment of the Internet of things and the configuration list of the export, so that the method can be suitable for different application environments.
According to the scheme, the data of the Internet of things is analyzed on the IOT platform, finer-grained (for example, grouped) disassembly is carried out according to the communication protocol, the work of the third-party service system is completed on the IOT platform, and some processing work is shared for the third-party service system.
It will be evident to those skilled in the art that the invention is not limited to the details of the foregoing illustrative embodiments, and that the present invention may be embodied in other specific forms without departing from the spirit or essential attributes thereof. The present embodiments are therefore to be considered in all respects as illustrative and not restrictive, the scope of the invention being indicated by the appended claims rather than by the foregoing description, and all changes which come within the meaning and range of equivalency of the claims are therefore intended to be embraced therein. Any reference sign in a claim should not be construed as limiting the claim concerned.
Claims (7)
1. A method for intelligently grouping and distributing data of the Internet of things is characterized by comprising the following steps:
step 1: receiving equipment data uploaded by the Internet of things equipment, wherein the equipment data contains SN (service number) codes, equipment parameters and grouping information of the Internet of things equipment;
step 2: acquiring a corresponding communication protocol according to the SN code of the equipment of the Internet of things, and analyzing equipment data by adopting the communication protocol to obtain equipment parameters and grouping information; the communication protocol is matched with an SN (service number) code of the Internet of things equipment in advance;
and step 3: classifying the equipment parameters into preset groups according to the group information; the group is matched with a preset outlet in advance;
and 4, step 4: and sending out the equipment parameters in the packet through the corresponding outlet.
2. The method for intelligent grouping and distribution of data of the internet of things according to claim 1, wherein one piece of equipment data contains one or more groups of equipment parameters and grouping information.
3. The method for intelligently grouping and distributing the data of the internet of things according to claim 1, wherein the outlet refers to that the equipment parameters in the group are sent to a preset receiver in a set communication mode;
the set communication mode is to send the data to a corresponding interface through a message queue and an http protocol, and to send the data to a client through a mail or store the data in a database.
4. The Internet of things platform is characterized by comprising the following modules:
a data receiving module: the device data receiving device is used for receiving device data uploaded by the Internet of things device, and the device data contains SN codes, device parameters and grouping information of the Internet of things device;
a data analysis module: the device comprises a network interface device, a network interface device and a communication protocol module, wherein the network interface device is used for acquiring a corresponding communication protocol according to an SN (service number) code of the Internet of things device and analyzing device data by adopting the communication protocol to acquire device parameters and grouping information; the communication protocol is matched with an SN (service number) code of the Internet of things equipment in advance;
a data classification module: the device parameter is classified into a preset group according to the group information; the group is matched with a preset outlet in advance;
applying an orchestration scheduling engine: the device parameter receiving module is used for receiving the device parameters in the packets sent by the data packet module and sending the device parameters in the packets out through the corresponding outlet.
5. The Internet of things platform of claim 4, further comprising a database, wherein the communication protocol, the association relationship between the communication protocol and the SN code of the Internet of things device, and the configuration list of the outlet are stored in the database;
the configuration list of the outlet records the label of the outlet and the information of the outlet corresponding to the label;
the preset packet is marked with a label of an egress.
6. The Internet of things platform of claim 4, wherein the communication protocol comprises a protocol for parsing status data of the Internet of things device, a protocol for parsing control data of the Internet of things device, a protocol for parsing time data of the Internet of things device, and a protocol for parsing parameter data of the Internet of things device.
7. The Internet of things platform of claim 4, further comprising a visual interface for configuring the association of the grouping, the configuration list of the outlets, the communication protocol and the SN code of the Internet of things device;
the visual interface is also used for visually displaying the data receiving module, the data analyzing module, the data classifying module and the application scheduling engine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111205936.4A CN114006945A (en) | 2021-10-15 | 2021-10-15 | Intelligent grouping distribution method of Internet of things data and Internet of things platform |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202111205936.4A CN114006945A (en) | 2021-10-15 | 2021-10-15 | Intelligent grouping distribution method of Internet of things data and Internet of things platform |
Publications (1)
Publication Number | Publication Date |
---|---|
CN114006945A true CN114006945A (en) | 2022-02-01 |
Family
ID=79923112
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202111205936.4A Pending CN114006945A (en) | 2021-10-15 | 2021-10-15 | Intelligent grouping distribution method of Internet of things data and Internet of things platform |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114006945A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157546A (en) * | 2022-02-09 | 2022-03-08 | 深圳市爱云信息科技有限公司 | Digital factory solution method based on artificial intelligence Internet of things platform |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105830071A (en) * | 2013-11-28 | 2016-08-03 | 爱克发医疗保健公司 | A method and computer program product for management of the distribution of medical reports in clinical applications |
CN106412023A (en) * | 2016-09-05 | 2017-02-15 | 南京臻融软件科技有限公司 | Multi-source data distribution method based on distribution subscription mechanism |
CN110008241A (en) * | 2019-03-01 | 2019-07-12 | 北京招通致晟科技有限公司 | Fine granularity exchange system and method based on data |
CN111651281A (en) * | 2020-04-27 | 2020-09-11 | 北京中交兴路信息科技有限公司 | Message publishing and subscribing method and system |
CN111885197A (en) * | 2020-07-31 | 2020-11-03 | 平安国际融资租赁有限公司 | Data transmission method and device based on Internet of things, cloud platform and computer equipment |
CN112422519A (en) * | 2020-10-27 | 2021-02-26 | 黑龙江省电工仪器仪表工程技术研究中心有限公司 | Electric power Internet of things IP fusion terminal and communication method thereof |
CN112967142A (en) * | 2021-03-31 | 2021-06-15 | 上海英方软件股份有限公司 | Method and device for forwarding market information stream |
-
2021
- 2021-10-15 CN CN202111205936.4A patent/CN114006945A/en active Pending
Patent Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105830071A (en) * | 2013-11-28 | 2016-08-03 | 爱克发医疗保健公司 | A method and computer program product for management of the distribution of medical reports in clinical applications |
CN106412023A (en) * | 2016-09-05 | 2017-02-15 | 南京臻融软件科技有限公司 | Multi-source data distribution method based on distribution subscription mechanism |
CN110008241A (en) * | 2019-03-01 | 2019-07-12 | 北京招通致晟科技有限公司 | Fine granularity exchange system and method based on data |
CN111651281A (en) * | 2020-04-27 | 2020-09-11 | 北京中交兴路信息科技有限公司 | Message publishing and subscribing method and system |
CN111885197A (en) * | 2020-07-31 | 2020-11-03 | 平安国际融资租赁有限公司 | Data transmission method and device based on Internet of things, cloud platform and computer equipment |
CN112422519A (en) * | 2020-10-27 | 2021-02-26 | 黑龙江省电工仪器仪表工程技术研究中心有限公司 | Electric power Internet of things IP fusion terminal and communication method thereof |
CN112967142A (en) * | 2021-03-31 | 2021-06-15 | 上海英方软件股份有限公司 | Method and device for forwarding market information stream |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114157546A (en) * | 2022-02-09 | 2022-03-08 | 深圳市爱云信息科技有限公司 | Digital factory solution method based on artificial intelligence Internet of things platform |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105760449B (en) | A kind of cloud method for pushing towards multi-source heterogeneous data | |
CN107957940B (en) | Test log processing method, system and terminal | |
CN110569298B (en) | Data docking and visualization method and system | |
US11042525B2 (en) | Extracting and labeling custom information from log messages | |
CN107040608A (en) | A kind of data processing method and system | |
CN110061931B (en) | Industrial control protocol clustering method, device and system and computer storage medium | |
CN116668380B (en) | Message processing method and device of convergence diverter equipment | |
CN107704357B (en) | Log generation method and device | |
CN110968479B (en) | Service level full-link monitoring method and server for application program | |
CN114006945A (en) | Intelligent grouping distribution method of Internet of things data and Internet of things platform | |
CN115695541A (en) | Method, device and equipment for monitoring dot polling based on edge calculation and storage medium | |
CN110035393A (en) | The recognition methods of mobile terminal relationship | |
CN115062676B (en) | Data processing method, device and computer readable storage medium | |
CN110989537A (en) | Production data processing method, apparatus, medium, and system | |
CN110502538A (en) | Label of drawing a portrait generates method, system, equipment and the storage medium of logical mappings | |
CN113242254B (en) | Communication message processing method, device, terminal equipment and storage medium | |
CN112785276B (en) | Engineering consultation management system and method | |
CN112769620B (en) | Network deployment method, equipment and computer readable storage medium | |
CN115086180A (en) | Network networking method, network networking device and electronic equipment | |
CN116151601A (en) | Stream service modeling method, device, platform, electronic equipment and storage medium | |
CN110544182B (en) | Power distribution communication network fusion control method and system based on machine learning technology | |
CN106612241A (en) | Service control method and service control device | |
CN109583842A (en) | A kind of management monthly magazine generation method, device, electronic equipment and computer storage medium | |
CN110704425A (en) | Data customization system | |
CN109784052A (en) | The management method and server-side, terminal, system of software action detection |
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 |