CN106254437B - Internet of Things communication means - Google Patents

Internet of Things communication means Download PDF

Info

Publication number
CN106254437B
CN106254437B CN201610606264.0A CN201610606264A CN106254437B CN 106254437 B CN106254437 B CN 106254437B CN 201610606264 A CN201610606264 A CN 201610606264A CN 106254437 B CN106254437 B CN 106254437B
Authority
CN
China
Prior art keywords
data
monitor terminal
data packet
data item
rule
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
CN201610606264.0A
Other languages
Chinese (zh)
Other versions
CN106254437A (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.)
Proudsmart Cloud Information Technology (beijing) Co Ltd
Original Assignee
Proudsmart Cloud Information Technology (beijing) 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 Proudsmart Cloud Information Technology (beijing) Co Ltd filed Critical Proudsmart Cloud Information Technology (beijing) Co Ltd
Priority to CN201610606264.0A priority Critical patent/CN106254437B/en
Publication of CN106254437A publication Critical patent/CN106254437A/en
Application granted granted Critical
Publication of CN106254437B publication Critical patent/CN106254437B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/12Protocols specially adapted for proprietary or special-purpose networking environments, e.g. medical networks, sensor networks, networks in vehicles or remote metering networks
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Computer And Data Communications (AREA)

Abstract

Internet of Things communication means of the invention, realization allows monitor terminal to identify the device data that device end is sent, it include: device model establishment step, each device end is after access to communication networks, corresponding device metadata is sent to monitor terminal, so that monitor terminal generating device model corresponds to table;Rule settings step is sent, user is allowed to send rule based on the data between the network condition set device terminal and monitor terminal of communication network;Data packet generates sending step, and sender is based on data and sends rule generation data packet in device end or monitor terminal, and the data packet is sent to recipient based on predetermined rule of communication;And data packet receives dissection process step, recipient receives the data packet sent, and dissection process is carried out to obtain corresponding data information to the data packet, wherein, device metadata includes devices collect data item table, acquisition tasks table and device command table, and monitor terminal is stored with identifier resolution table.

Description

Internet of Things communication means
Technical field
The present invention relates to a kind of Internet of Things communication means, and in particular to one kind can allow monitor terminal whole to all equipment The Internet of Things communication means that the device data at end is identified.
Background technique
The concept of Internet of Things is developed on the basis of internet, extends and extend to any object for user terminal Between product and article, information exchange and communication are carried out.Internet of Things digitizes real world, and application range is very extensive, mainly Including the following aspects: transport and logistics field, health medical treatment field, intelligent environment (family, office, factory) field, a People and social field etc. have very wide market and application prospect.
Currently, mainly by the information sensings such as inductor Module-embedding or be installed to power grid, railway, bridge, building, In the field devices such as water system, oil-gas pipeline, industrial equipment, and network and cloud communication connection are made it through, thus shape At Internet of Things.Its major function is to acquire the data of the spot sensor of numerous types, and pass through various wireless and wired Means of communication transfers data to cloud, carries out intelligence computation, and the various execution equipment at scene are controlled according to calculated result, To reach connection and the intelligent function of object and object.
As it can be seen that most basic is that smart machine is accessed to network in internet of things field, i.e. realization equipment networks.However, by Numerous in the manufacturer of production equipment, each manufacturer is therefore the data content transmitted in the independent equipment for defining production causes Equipment requires to carry out individually parsing configuration beyond the clouds before networking, and can obtain the number that cloud is sent to after the equipment networks According to content, also result in the equipment networking period long;Also, when the type of log equipment is more and more, the configuration in cloud will more Add cumbersome, consuming vast resources.
In addition, being still to send mass data, then causing when the Internet resources of Internet of Things are insufficient or communication network is unstable Network utilization is low.
Summary of the invention
The present invention is to carry out to solve the above-mentioned problems, and it is an object of the present invention to provide one kind can allow monitor terminal to all Device end the Internet of Things communication means that is identified of device data.
The present invention provides a kind of Internet of Things communication means, based on whole including at least at least one equipment for communicating connection The Internet of things system at end and monitor terminal, realization allow monitor terminal to identify the device data that device end is sent, and have There is such feature, comprising: device model establishment step, device end is after access to communication networks, by its corresponding equipment member Data are sent to monitor terminal, so that monitor terminal generates the device model to match and corresponds to table;Rule settings step is sent, is allowed User sends rule based on the data between the network condition set device terminal and monitor terminal of communication network;Data packet generates Sender in sending step, device end or monitor terminal is based on corresponding data and sends rule generation data packet, and is based on Predetermined rule of communication sends data packets to the recipient in device end or monitor terminal;And data packet receives processing step Suddenly, recipient receives the data packet sent, and to data packet progress dissection process to obtain corresponding data information, Wherein, device metadata includes devices collect data item table, acquisition tasks table and device command table, devices collect data item table Include plurality of data item and data item call number corresponding with each data item and data item identifier, acquisition tasks table Include acquisition tasks number, at least one data item call number corresponding with the acquisition tasks number and sending time, equipment life Enabling table includes control task number, at least one data item call number corresponding with the control task number, and monitor terminal is stored with The identifier resolution table parsed for the data item identifier in the devices collect data item table to all device ends.
It in Internet of Things communication means provided by the invention, can also have the following features: wherein, device metadata is also Comprising equipment identification information, which includes at least manufacturer, model and production sequence number, builds in device model In vertical step, after monitor terminal receives device metadata, device end can be identified based on equipment identification information.
It in Internet of Things communication means provided by the invention, can also have the following features: wherein, the number of device end Amount is a plurality of, also includes things-internet gateway in Internet of things system, and each device end passes through things-internet gateway and monitor terminal Connection is communicated, the list of devices of all device ends is stored in things-internet gateway, in device model establishment step, object While device metadata is sent to monitor terminal by networking gateway, list of devices is also sent to monitor terminal, so that monitoring Terminal finds all device ends automatically.
It in Internet of Things communication means provided by the invention, can also have the following features: wherein, data send rule Upper count off comprising corresponding with acquisition tasks table form for limiting the reported data that device end is sent to monitor terminal It according to rule is sent, is generated in sending step in data packet, is based on reported data transmission rule as sender's device end and generates Reported data packet is sent to the monitor terminal as recipient as the reported data packet of data packet, and based on sending time, It is received in dissection process step in data packet, the reported data packet that monitor terminal receiving device terminal is sent, and is based on equipment Model corresponds to table and identifier resolution table and carries out dissection process to the reported data packet, to obtain reporting as data information Data.
It in Internet of Things communication means provided by the invention, can also have the following features: wherein, data send rule Number is issued comprising corresponding with device command table form for limiting the control command that monitor terminal is sent to device end It according to rule is sent, is generated in sending step in data packet, the monitor terminal as sender is raw based on data transmission rule is issued It is sent to data packet is issued as the opposite of recipient at the data packet that issues as data packet, and based on predetermined rule of communication The device end answered receives in dissection process step in data packet, and what device end reception monitor terminal was sent issues data Packet, and table is corresponded to based on device model, data packet progress dissection process is issued to this, to obtain the control as data information Order, device end are based on control command and execute corresponding operation.
It in Internet of Things communication means provided by the invention, can also have the following features: wherein, reported data is sent Rule be at least send data item to be reported report numerical value and data item identifier, issuing data and sending rule is at least to send out Send the control numerical value and data item identifier of data item to be controlled.
It in Internet of Things communication means provided by the invention, can also have the following features: wherein, reported data is sent Rule be at least send data item to be reported report numerical value and data entry index number, issuing data and sending rule is at least to send out Send the control numerical value and data entry index number of data item to be controlled.
It in Internet of Things communication means provided by the invention, can also have the following features: wherein, reported data is sent Rule be at least send data item to be reported report numerical value and acquisition tasks number, issuing data and sending rule is at least to send The control numerical value and control task number of data item to be controlled.
The action and effect of invention
Related Internet of Things communication means according to the present invention allows each device end to exist by device model establishment step After access to communication networks, its corresponding device metadata is sent to monitor terminal so that monitor terminal generate match set Standby model correspond to table, then, allows the data between user's set device terminal and monitor terminal by transmission rule settings step Rule is sent, further, the sender in device end or monitor terminal sends rule based on the data of setting and generates data packet, And the recipient in device end or monitor terminal is sent data packets to based on predetermined rule of communication, finally, recipient receives The data packet sent, and table or identifier resolution table are corresponded to based on device model, dissection process is carried out to obtain to the data packet To corresponding data information;In addition, in above process, device metadata here includes devices collect data item table, adopts Set task table and device command table, being stored in monitor terminal being capable of devices collect data item table to all device ends In the identifier resolution table that is parsed of identifier, enable monitor terminal to the equipment of any one access to communication networks The device data that terminal is sent is identified, and monitor terminal is not necessarily to carry out complicated networking for different device ends Configuration, that is to say, that monitor terminal, which realizes, allows device end quickly to network, in addition, setting data according to communication network situation It sends rule and to communicate more flexible, ensure that and quickly and stably communicated between device end and monitor terminal, it is logical to improve network Believe efficiency.
Detailed description of the invention
Fig. 1 is the schematic diagram of data item message store table in the embodiment of the present invention;
Fig. 2 is the schematic diagram of trade information storage table in the embodiment of the present invention;
Fig. 3 is the schematic diagram of data type information storage table in the embodiment of the present invention;
Fig. 4 is the schematic diagram of example information storage table in the embodiment of the present invention;
Fig. 5 is the schematic diagram of numerical value unit information storage table in the embodiment of the present invention;
Fig. 6 is the schematic diagram of devices collect data item table in the embodiment of the present invention;
Fig. 7 is the flow chart of Internet of Things communication means in the embodiment of the present invention;And
Fig. 8 is the schematic diagram that device model corresponds to table in the embodiment of the present invention.
Specific embodiment
It is real below in order to be easy to understand the technical means, the creative features, the aims and the efficiencies achieved by the present invention Example combination attached drawing is applied to be specifically addressed Internet of Things network communication system of the invention.
In the present embodiment, Internet of Things communication means is applied in Internet of things system, should include at least one in networked system A device end and a monitor terminal, can be realized by the Internet of Things communication means and allow monitor terminal to arbitrary equipment terminal The device data sent is identified.Here, device data is the arbitrary data information that device end is sent to monitor terminal.
Each device end includes the device metadata of its own.The device metadata include devices collect data item table, Acquisition tasks table, device command table and equipment identification information.Here, equipment identification information include at least manufacturer, model with And production sequence number.Also, in all device ends, at least there are two device ends to use different equipment communication protocols View, that is to say, that the format for the communication data that two different device ends of equipment communication protocol generate is different.In addition, Each device end has unique device numbering, in this way, can be found by device numbering convenient for monitor terminal to be communicated Device end.In the present embodiment, device end can be arbitrary smart machine.
Monitor terminal is stored with identifier resolution table, and the identifier resolution table is for allowing monitor terminal to device end Use when data item identifier in devices collect data item table is parsed, so that the device data to device end is known Not.In the present embodiment, monitor terminal can be Internet of Things cloud platform.
Identifier resolution table includes data item message store table, trade information storage table, data type information storage table, reality Example message store table, numerical value unit information storage table.Specifically,
Fig. 1 is the schematic diagram of data item message store table in the embodiment of the present invention.
As shown in Figure 1, data item message store table 11 is used to store the data item of whole data item 11a of all industries Title 11b, data item encode 11c and data item type 11d.For example, data item name is known as " presence " in Fig. 1 Data item, for indicating the presence of gateway or device end, data item is encoded to " 6 ", data type is " Bolean number ", Memonic symbol is " onlinestatus ".
Fig. 2 is the schematic diagram of trade information storage table in the embodiment of the present invention.
As shown in Fig. 2, trade information storage table 12 be used for store all category of employment 12a film name 12b and SIC code 12c.For example, by taking agricultural as an example, film name 12b is " agricultural ", SIC code 12c is " 1 " in Fig. 2.Separately Outside, since there are multiple data item to be widely used in various industries, universal, row is provided in category of employment Industry title 12b is " general ", SIC code 12c is " 0 ".
Fig. 3 is the schematic diagram of data type information storage table in the embodiment of the present invention.
As shown in figure 3, data type information storage table 13 is used to store the data type name of all types of data 13a 13b, data type coding 13c, byte number 13d and data classification 13e.For example, in Fig. 3, data type name 13b is The data of " int ", for indicating signed integer, data type encode 13c be " 6 ", byte number 13d for " 4 bytes " with And data classification 13e is " integer ".
Fig. 4 is the schematic diagram of example information storage table in the embodiment of the present invention.
As shown in figure 4, example information storage table 14 is used to store the example code 14b and instance name of each example 14a 14c.For example, example code 14b is first example for " 0 " expression, and example code 14b is for what " 1 " indicated in Fig. 4 Second example, and so on, in this way convenient for multiple identical data item progress areas simultaneous in a device end Point.As soon as example, four temperature can be acquired in device end simultaneously, at this point, can be to four temperature by example code It distinguishes.
Fig. 5 is the schematic diagram of numerical value unit information storage table in the embodiment of the present invention.
As shown in figure 5, numerical value unit information storage table 15 is used to store the organization 15b of all data unit 15a With unit encoding 15c.For example, in Fig. 5, by taking temperature unit as an example, for the meaning degree Celsius to indicate temperature value, list Position title 15b is " DEG C ", unit encoding 15c is " 3 ".
Based on above-mentioned data item message store table 11, trade information storage table 12, data type information storage table 13, example Message store table 14 and numerical value unit information storage table 15, in Internet of things system, each device end supports acquisition Data item all has corresponding data item coding 11c, SIC code 12c, data type coding 13c, instance name 14c, unit 15c is encoded, and these codings constitute unique identifier of each data item.Correspondingly, the information of all data item Then form devices collect data item table.
Fig. 6 is the schematic diagram of devices collect data item table in the embodiment of the present invention.
As shown in fig. 6, in the present embodiment, devices collect data item table 16 includes the data item rope of each data item 16a Quotation marks 16b, data item coding 11c, SIC code 12c, data type coding 13c, instance name 14c, unit encoding 15 and Read-write mark 16c.Data item call number 16b and data item 16a are uniquely corresponding, that is to say, that pass through data item call number 16b It can then determine unique data item 16a.In addition, read-write mark 16c is used to show that the corresponding executing agency of data item 16a is The write-in of no support data, i.e., user whether control command can be sent from monitor terminal to control the executing agency of the data item, tool Body, the read-write flag bit can be " read-write " or " read-only " etc..For example, data item call number 16b " 0 " indicates number in Fig. 6 According to item coding 11c is " 8 ", SIC code 12c is " 0 ", data type coding 13c is " 0 ", example code 14b is " 0 ", unit Coding 15c is " 0 " and read-write mark is the data item of " read-write ", is further able to access the data item to be that every profession and trade is general Parameter " switch ".
The acquisition tasks table of each device end is that all data item of acquisition is supported to preset according to device end Collection rule, it include acquisition tasks number, at least one data item call number corresponding with the acquisition tasks number and hair Send the time.
Here sending time be used for limit corresponding data item call number matched data item on call time, i.e., In device end the corresponding executing agency of each data item collect it is corresponding report numerical value after, device end is based on a data item Corresponding sending time carries out data to monitor terminal and reports;The sending time can be fixed as it is daily sometime, can also Think the periodical time.
As shown in table 1 below, specific acquisition tasks table can be with are as follows:
1 acquisition tasks table of table
As can be seen from Table 1: data item call number is that the sending time of the data item of " 0 " and " 1 " is all " daily 8 point report Once ", and two data item can be according to acquisition tasks number while reported data, can also be first according to respective identifier Reported data afterwards.
The device command table of each device end is that the read-write mark for all data item supported according to device end is The data item setting of " read-write ", it includes control task number, at least one data item rope corresponding with the control task number Quotation marks.
As shown in table 2 below, specific device command table can be with are as follows:
2 device command table of table
Control task number Data item number Data item call number
0 2 0,1
As can be seen from Table 2: device end support from monitor terminal issue control command be written data item be two and Data item call number is " 0 " and " 1 ", and two data item can be according to control task number while writing commands, can also basis Control command is successively written in the identifier of data item.
Fig. 7 is the flow chart of Internet of Things communication means in the embodiment of the present invention.
As shown in fig. 7, in the present embodiment, Internet of Things communication means includes the following steps:
Step S1 (device model establishment step), each device end respectively corresponding set its after access to communication networks Standby metadata is sent to monitor terminal, so that monitor terminal generates phase based on the devices collect data item table of all device ends Matched device model corresponds to table.
Fig. 8 is the schematic diagram that device model corresponds to table in the embodiment of the present invention.
As shown in figure 8, device model corresponds to the information that table 17 contains the devices collect data item table of three device ends And the device numbering 17a of device end.
In addition, can also be carried out to device end after monitor terminal receives device metadata based on equipment identification information Identification.I.e., the production informations such as manufacturer, model and the production sequence number of device end are identified.
The device model for then completing to establish all device ends above in monitor terminal corresponds to table, subsequently into step S2。
Step S2 (sends rule settings step), network condition set device terminal of the user based on communication network and monitoring Data between terminal send rule.Here, data send regular regular comprising reported data transmission and issue data transmission rule Then.
Reported data sends that rule is corresponding with acquisition tasks table, is sent to monitor terminal for limiting device end The form of count off evidence.
It issues data and sends the control that rule is corresponding with device command table, sends for limiting monitor terminal to device end Make the form of order.
According to devices collect data item table, it can be at least send data item to be reported upper that reported data, which sends rule, Count off value and data item identifier;Can also be at least send data item to be reported report numerical value and data entry index number.
According to acquisition tasks table, reported data send rule can be at least send data item to be reported report numerical value With acquisition tasks number.
Table is corresponded to according to device model, issuing data and sending rule can be the control at least sending data item to be controlled Numerical value and data item identifier;It can also be the control numerical value and data entry index number at least sending data item to be controlled.
According to device command table, issuing data and sending rule can be the control numerical value at least sending data item to be controlled With control task number.
After the above completion rule of communication setting procedure, subsequently into step S3.
Step S3 (data packet generation sending step), the sender in device end or monitor terminal are based on data and send rule Data packet is then generated, and the data packet is passed through by communication network based on the predetermined rule of communication between device end and monitor terminal The recipient being sent in device end and monitor terminal.
Here, predetermined rule of communication can be HTTP/websocket agreement, Modbus agreement, mqtt agreement or TCP/IP Agreement etc..In this way, being advised for two device ends with different equipment communication protocol according to identical predetermined communication Then, which can generate the identical two reported data packets of tunneling.
After the above completion data packet generates sending step, subsequently into step S4.
Step S4 (data packet receive dissection process step), recipient in monitor terminal or device end is to sending Data packet is received, and is corresponded to table and/or identifier resolution table based on device model and solved to the data packet being received Analysis processing, so that corresponding data information is obtained, subsequently into step S5.
Step S5, the corresponding operation of data information that recipient is obtained based on parsing, subsequently into end state.
Rule is sent to data below and step S3 and S4 are illustrated:
One, device end is to monitor terminal reported data
In step S3 (data packet generation sending step), reported data is based on as sender's device end and sends rule The reported data packet as data packet is generated, and is sent to reported data packet based on predetermined rule of communication and according to sending time Monitor terminal as recipient.
In step S4 (data packet receive dissection process step), upper count off that monitor terminal receiving device terminal is sent According to packet, and table and identifier resolution table are corresponded to based on device model, dissection process is carried out to the reported data packet, to be made For the reported data of data information.
The different situations of rule, reported data process are sent in conjunction with reported data specifically:
(1) at least send data item to be reported reports numerical value and data item identifier
At this point, the reported data packet that device end generates is as shown in table 3 below:
3 reported data packet one of table
As can be seen from Table 3: the data volume transmitted at this time is maximum, and therefore, the Internet resources for communicating occupancy are larger, and network is negative Lotus is heavier, and communication efficiency is lower.
After monitor terminal receives the reported data, dissection process process is as follows:
It is encoded by SIC code and data item, it is known that the data item reported is agricultural data item space encoder " soil PH " and " soil moisture ", data type coding is all 1, it is known that data value is a byte unsigned number, and example code is all 0, Expression is first example of " P in soil H " and " soil moisture ", and " P in soil H " unit encoding is 0, indicates no unit, " soil Humidity " unit encoding is 4, indicates percentage units, then explains from data item occurrence, " P in soil H " is 5, and " soil moisture " is 40%.
(2) at least send data item to be reported reports numerical value and data entry index number
At this point, the reported data packet that device end generates is as shown in table 4 below:
4 reported data packet two of table
As can be seen from Table 4: the data volume transmitted at this time is less, therefore, compared with overall format, communicates the network of occupancy Resource is smaller, and network load is smaller, and communication efficiency is higher.
After monitor terminal receives the reported data, dissection process process is as follows:
First by data item call number, is corresponded to from device model and find corresponding data item coding in table, industry is compiled Code, data type coding, example code and unit encoding, next process are identical as " overall format ".It finally obtains, number It is " P in soil H " according to the corresponding data item of entry index number " 5 ", the corresponding data item of data item call number " 6 " is " soil moisture ", Then it explains and obtains from data item occurrence, " P in soil H " is 5, and " soil moisture " is 40%.
(3) at least send data item to be reported reports numerical value and acquisition tasks number
At this point, the reported data packet that device end generates is as shown in table 5 below:
5 reported data packet three of table
As can be seen from Table 5: the data volume transmitted at this time is minimum, and therefore, compared with data item indexed format, communication is occupied Internet resources it is minimum, network load is minimum, communication efficiency highest.
After monitor terminal receives the reported data, dissection process process is as follows:
First by task number, is sent in rule from reported data and find the corresponding data item call number of task number " 2 " Are as follows: 5 and 6 are further corresponded to from device model based on data item call number and find corresponding data item coding, industry in table Coding, data type coding, example code and unit encoding, next process are identical as " overall format ".It finally obtains, The corresponding data item of data item call number " 5 " is " P in soil H ", and the corresponding data item of data item call number " 6 " is that " soil is wet Degree ", is then explained from data item occurrence, " P in soil H " is 5, and " soil moisture " is 40%.
Two, monitor terminal issues control command to device end transmission
In step S3 (data packet generation sending step), the monitor terminal as sender is based on issuing data transmission rule The data packet that issues as data packet is then generated, and is sent to data packet is issued as recipient's based on predetermined rule of communication Corresponding device end.
In step S4 (data packet receives dissection process step), what device end reception monitor terminal was sent issues number According to packet, and table is corresponded to based on device model, data packet progress dissection process is issued to this, to obtain the control as data information System order.
Regular different situations are sent in conjunction with data are issued, issue control command process specifically:
(1) the control numerical value and data item identifier of data item to be controlled are at least sent
At this point, monitor terminal generate to issue data packet as shown in table 6 below:
Table 6 issues data packet one
As can be seen from Table 6: the data volume transmitted at this time is maximum, and therefore, the Internet resources for communicating occupancy are larger, and network is negative Lotus is heavier, and communication efficiency is lower.
Device end receives after this issues data, and dissection process process is as follows:
It is encoded by SIC code and data item, it is known that the data item issued is that general data item space encoder " is opened Close ", data type coding is all 0, it is known that data value is a Bolean number, and example code is 0 and 1, is indicated there are two " switches " Example, unit encoding are 0, indicate no unit, then explain from data item occurrence, and " switch " 0 is to close, and " switch " 1 is out, if Standby terminal is based on corresponding data item occurrence and executes corresponding control operation, i.e., closes first example " switch ", open second Example " switch ".
(2) the control numerical value and data entry index number of data item to be controlled are at least sent
At this point, monitor terminal generate to issue data packet as shown in table 7 below:
Table 7 issues data packet two
As can be seen from Table 7: the data volume transmitted at this time is less, therefore, compared with overall format, communicates the network of occupancy Resource is smaller, and network load is smaller, and communication efficiency is higher.
Device end receives after this issues data, and dissection process process is as follows:
First by data item call number, is corresponded to from device model and find corresponding data item coding in table, industry is compiled Code, data type coding, example code and unit encoding, next process are identical as " overall format ".It finally obtains, number It is first example " switch " according to the corresponding data item of entry index number " 0 ", the corresponding data item of data item call number " 1 " is second A example " switch ", then explains from data item occurrence, and " switch " 0 is to close, and " switch " 1 is out, and device end is based on corresponding Data item occurrence executes corresponding control operation, i.e., closes first example " switch ", open second example " switch ".
(3) the control numerical value and control task number of data item to be controlled are at least sent
At this point, monitor terminal generate to issue data packet as shown in table 8 below:
Table 8 issues data three
As can be seen from Table 8: the data volume transmitted at this time is minimum, and therefore, compared with data item indexed format, communication is occupied Internet resources it is minimum, network load is minimum, communication efficiency highest.
Device end receives after this issues data, and dissection process process is as follows:
First by task number, is sent in rule from reported data and find the corresponding data item call number of task number " 0 " Are as follows: 0 and 1 further by data item call number, correspond to from device model and find corresponding data item coding, industry in table Coding, data type coding, example code and unit encoding, next process are identical as " overall format ".It finally obtains, The corresponding data item of data item call number " 0 " is first example " switch ", and the corresponding data item of data item call number " 1 " is the Two examples " switch ", then explain from data item occurrence, and " switch " 0 is to close, and " switch " 1 is out, and device end is based on corresponding to Data item occurrence execute corresponding control operation, i.e., close first example " switch ", open second example " switch ".
The action and effect of embodiment
The Internet of Things communication means according to involved in the present embodiment allows each device end by device model establishment step After access to communication networks, its corresponding device metadata is sent to monitor terminal, so that monitor terminal generation matched Device model corresponds to table, then, allows the number between user's set device terminal and monitor terminal by sending rule settings step According to rule is sent, further, the sender in device end or monitor terminal sends rule based on the data of setting and generates data Packet, and the recipient in device end or monitor terminal is sent data packets to based on predetermined rule of communication, finally, recipient connects Transmit and receive come data packet, and based on device model correspond to table or identifier resolution table to the data packet carry out dissection process thus Obtain corresponding data information;In addition, in above process, device metadata here include devices collect data item table, Acquisition tasks table and device command table, being stored in monitor terminal being capable of devices collect data item to all device ends The identifier resolution table that identifier in table is parsed, enables monitor terminal to set any one access to communication networks The device data that standby terminal is sent is identified, and monitor terminal is not necessarily to carry out entering for complexity for different device ends Net configuration, that is to say, that monitor terminal, which realizes, allows device end quickly to network, in addition, setting number according to communication network situation To communicate more flexible according to rule is sent, ensure that and quickly and stably communicated between device end and monitor terminal, improves network Communication efficiency.
In the present embodiment, by information such as the manufacturer that includes in device metadata, model and production sequence numbers, make Device end can be identified by obtaining monitor terminal.
In the present embodiment, multiple control commands are sent to device end simultaneously when monitor terminal is based on control task number When, it realizes device end and is performed simultaneously multiple operations.
Above embodiment is preferred case of the invention, the protection scope being not intended to limit the invention.
In the Internet of things system of the present embodiment, device end is connect by communication network with monitor terminal direct communication, And in the Internet of things system that the present invention applies, Internet of things system can also include things-internet gateway, at this point, each device end It is communicated and is connect with monitor terminal by things-internet gateway, correspondingly, in things-internet gateway be stored with all device ends List of devices.In this way, the device metadata of all device ends passes through things-internet gateway quilt in device model establishment step It is sent to monitor terminal, meanwhile, list of devices is also sent to monitor terminal by things-internet gateway, so that monitor terminal is found automatically All device ends.In addition, when device end itself not default device metadata, it can be in things-internet gateway based on real Border situation establishes the matched device metadata of device end, equally can be realized above-mentioned communication means and corresponding effect and effect Fruit.

Claims (8)

1. a kind of Internet of Things communication means, based on including at least at least one device end and monitor terminal for communicating connection Internet of things system realizes that the device data for allowing the monitor terminal to send the device end identifies that feature exists In, comprising the following steps:
Its corresponding device metadata is sent to by device model establishment step, the device end after access to communication networks The monitor terminal, so that the monitor terminal generates the device model to match and corresponds to table;
Rule settings step is sent, user is allowed to set the device end and the prison based on the network condition of the communication network Data between control terminal send rule;
Data packet generates sending step, and the sender in the device end or the monitor terminal is based on the corresponding data It sends rule and generates data packet, and the data packet is sent to by the device end or the monitoring based on predetermined rule of communication Recipient in terminal;And
Data packet receives processing step, and the recipient receives the data packet sent, and parses to the data packet It handles to obtain corresponding data information,
Wherein, the device metadata includes devices collect data item table, acquisition tasks table and device command table,
The devices collect data item table includes that plurality of data item and data item corresponding with each data item are known Alias and data entry index number,
The acquisition tasks table includes acquisition tasks number, at least one described data entry index corresponding with the acquisition tasks number Number and sending time,
The device command table includes control task number, at least one described data entry index corresponding with the control task number Number,
The monitor terminal is stored with for described in the devices collect data item table to all device ends The identifier resolution table that data item identifier is parsed.
2. Internet of Things communication means according to claim 1, it is characterised in that:
Wherein, the device metadata also includes equipment identification information, the equipment identification information include at least manufacturer, model with And production sequence number,
In the device model establishment step, after the monitor terminal receives the device metadata, it is based on the equipment Identification information can identify the device end.
3. Internet of Things communication means according to claim 2, it is characterised in that:
Wherein, the quantity of the device end is a plurality of,
It also include things-internet gateway in the Internet of things system,
Each device end, which is communicated by the things-internet gateway with the monitor terminal, to be connect, the things-internet gateway In be stored with the list of devices of all device ends,
In the device model establishment step, the device metadata is sent to the monitor terminal by the things-internet gateway While, the list of devices is also sent to the monitor terminal so that the monitor terminal find automatically it is all described Device end.
4. Internet of Things communication means according to claim 3, it is characterised in that:
Wherein, the data send rule comprising it is corresponding with the acquisition tasks table, for limiting the device end to institute The reported data for stating the form of the reported data of monitor terminal transmission sends rule,
It generates in sending step in the data packet, is sent as device end described in described sender based on the reported data Rule generates the reported data packet as the data packet, and the reported data packet is sent to work based on the sending time For the monitor terminal of the recipient,
Received in dissection process step in the data packet, the monitor terminal receive that the device end sends it is described on Data packet is reported, and table is corresponded to and the identifier resolution table carries out at parsing the reported data packet based on the device model Reason, to obtain the reported data as the data information.
5. Internet of Things communication means according to claim 1, it is characterised in that:
Wherein, the data send rule also comprising it is corresponding with the device command table, for limit the monitor terminal to The data that issue of the form for the control command that the device end is sent send rule,
It is generated in sending step in the data packet, the monitor terminal as described sender is based on the data that issue and sends out It send rule to generate the data packet that issues as the data packet, and data packet hair is issued for described based on the predetermined rule of communication It send to the corresponding device end as recipient,
Received in dissection process step in the data packet, the device end receive that the monitor terminal sends it is described under Data packet is sent out, and table is corresponded to based on the device model, data packet progress dissection process is issued to this, to obtain as described The control command of data information,
The device end is based on the control command and executes corresponding operation.
6. Internet of Things communication means according to claim 4 or 5, it is characterised in that:
Wherein, the reported data send rule be at least send the data item to be reported report numerical value and the data Item identifier,
The data transmission rule that issues is that the control numerical value at least sending the data item to be controlled and the data item are known Alias.
7. Internet of Things communication means according to claim 4 or 5, it is characterised in that:
Wherein, the reported data send rule be at least send the data item to be reported report numerical value and the data Entry index number,
The data transmission rule that issues is the control numerical value and the data item rope at least sending the data item to be controlled Quotation marks.
8. Internet of Things communication means according to claim 4 or 5, it is characterised in that:
Wherein, the reported data send rule be at least send the data item to be reported report numerical value and the acquisition Task number,
The data transmission rule that issues is the control numerical value at least sending the data item to be controlled and the control task Number.
CN201610606264.0A 2016-07-28 2016-07-28 Internet of Things communication means Active CN106254437B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610606264.0A CN106254437B (en) 2016-07-28 2016-07-28 Internet of Things communication means

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610606264.0A CN106254437B (en) 2016-07-28 2016-07-28 Internet of Things communication means

Publications (2)

Publication Number Publication Date
CN106254437A CN106254437A (en) 2016-12-21
CN106254437B true CN106254437B (en) 2019-09-03

Family

ID=57604950

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610606264.0A Active CN106254437B (en) 2016-07-28 2016-07-28 Internet of Things communication means

Country Status (1)

Country Link
CN (1) CN106254437B (en)

Families Citing this family (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106982246A (en) * 2017-02-21 2017-07-25 普奥云信息科技(北京)有限公司 Smart machine
CN106878429B (en) * 2017-02-24 2020-01-07 上海海事大学 Remotely-controlled ship information returning device and control method thereof
EP3376731B1 (en) * 2017-03-15 2019-12-25 ABB Schweiz AG Rule-based information exchange in internet of things
CN107317852A (en) * 2017-06-20 2017-11-03 普奥云信息科技(北京)有限公司 Smart machine, communication system and the method extended based on MODBUS
CN107317726A (en) * 2017-06-21 2017-11-03 深圳市盛路物联通讯技术有限公司 The method for controlling reporting and equipment of a kind of Internet of Things data
CN107294864B (en) * 2017-06-23 2020-07-03 深圳市盛路物联通讯技术有限公司 Method for reducing network congestion of Internet of things and router
CN109688053A (en) * 2019-02-27 2019-04-26 山东普奥智能软件科技有限公司 General-purpose gateway devices and Internet of things system
CN110149369B (en) * 2019-04-19 2021-11-16 欧普照明股份有限公司 Rotary reporting method and remote control system of terminal equipment based on Internet of things
CN111404870B (en) * 2019-11-13 2022-05-31 浙江中控技术股份有限公司 Safe and reliable public network communication method applied to Modbus
TWI740380B (en) * 2020-02-17 2021-09-21 中華電信股份有限公司 Monitoring equipment system and method thereof
CN112651367A (en) * 2020-12-30 2021-04-13 深圳市计通智能技术有限公司 Method for intelligently monitoring multi-dimensional aviation display screen
CN112948373B (en) * 2021-01-26 2022-05-10 浙江吉利控股集团有限公司 Data processing method, device and equipment for Internet of things equipment and storage medium
CN113014548A (en) * 2021-01-30 2021-06-22 福建辉和智能科技有限公司 Data transmission communication method and system based on Internet of things
CN113110233B (en) * 2021-05-10 2022-07-12 深圳时空数字科技有限公司 Multi-device data acquisition and management system
CN113407541B (en) * 2021-06-23 2022-10-18 中移(杭州)信息技术有限公司 Data acquisition method, data acquisition equipment, storage medium and device
CN113873002A (en) * 2021-08-04 2021-12-31 山东商务职业学院 Internet of things communication system

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102231760A (en) * 2011-08-01 2011-11-02 重庆和航科技股份有限公司 Interface protocol-based remote elevator monitoring system and method of internet of things
CN102567611A (en) * 2010-12-23 2012-07-11 中国移动通信集团江苏有限公司 Telemedicine system and telemedicine equipment
CN102692897A (en) * 2012-05-07 2012-09-26 西安中创物联科技有限公司 Internet of Things based industrial equipment monitoring system and method thereof
CN103095747A (en) * 2011-10-28 2013-05-08 北京市配天智慧云技术有限公司 Transmission system and method of internet of things
CN103139943A (en) * 2011-11-23 2013-06-05 常州普适信息科技有限公司 Access gateway of internet of things
CN103383649A (en) * 2013-04-20 2013-11-06 中国海洋大学 Design model of complex virtual instrument system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567611A (en) * 2010-12-23 2012-07-11 中国移动通信集团江苏有限公司 Telemedicine system and telemedicine equipment
CN102231760A (en) * 2011-08-01 2011-11-02 重庆和航科技股份有限公司 Interface protocol-based remote elevator monitoring system and method of internet of things
CN103095747A (en) * 2011-10-28 2013-05-08 北京市配天智慧云技术有限公司 Transmission system and method of internet of things
CN103139943A (en) * 2011-11-23 2013-06-05 常州普适信息科技有限公司 Access gateway of internet of things
CN102692897A (en) * 2012-05-07 2012-09-26 西安中创物联科技有限公司 Internet of Things based industrial equipment monitoring system and method thereof
CN103383649A (en) * 2013-04-20 2013-11-06 中国海洋大学 Design model of complex virtual instrument system

Also Published As

Publication number Publication date
CN106254437A (en) 2016-12-21

Similar Documents

Publication Publication Date Title
CN106254437B (en) Internet of Things communication means
CN110933146B (en) Data conversion method and device and server
CN102202093B (en) A kind of method and system realizing transducer adaptation
CN104937896A (en) Method for processing address resolution protocol message, forwarder and controller
CN103237085A (en) Internet-of-things gateway and medical monitoring system comprising same
CN106850362A (en) Wireless transmitting system and method based on technology of Internet of things
CN104407599B (en) Portable intelligent home controller and intelligent home control system
CN103442048B (en) Downloading method of digital menu of cooking utensil
CN111242807A (en) Method for accessing data of transformer substation into ubiquitous power Internet of things
CN111600792A (en) Gateway device, device control system, device control method and device
CN106130855B (en) Data processing method and device
CN102215267A (en) Data communication transmission method of network layer of the Internet of things
CN104869161B (en) A kind of general internet of things data processing platform system
US11388631B2 (en) Data reduction in a system
CN103248638A (en) Internet of Things system based on power transmission line
CN106209968A (en) A kind of Internet of Things data intelligence integration middleware
CN107046509A (en) A kind of intelligent industrial-control network data integration method parsed based on mirror port
CN106790282A (en) Protocol conversion method and device and air conditioning system
CN106453666A (en) Gateway communication system based on dongle agent
CN103731344A (en) 6LOWPAN Internet-of-things gateway based on linux application layer and achieving method
CN111176242B (en) Monitoring data transmission method and device of distributed control system
CN109217986A (en) A kind of data transmission method and system based on Internet of Things
CN110417875B (en) Method, system, equipment and storage medium for docking between cloud servers
CN106020090B (en) Data packet generating device and Internet of things system
CN108958095A (en) A kind of intelligent socket, integrated sensor terminal and control system

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant