Background technology
The notion of Internet of Things (The Internet of Things) is proposed in 1999 first by Massachusetts Institute Technology (MIT) the earliest, initial notion is meant all article by radio-frequency (RF) identification information sensing equipment and Internet connections such as (RFID), realizes the network of intelligent identification and management.International Telecommunication Union expanded the connotation of Internet of Things notion in 2005, point out in this report, the target of Information ﹠ Communication Technology connects anyone from any time, any place, develop into the stage that connects any article, and the connection of all things on earth has just formed Internet of Things.
In the Internet of Things that this part report is mentioned, except that the RFID technology, more new technology, for example: technology such as transducer, embedded chip, cellular mobile communication are widely used.Comprehensively perception, reliably transmit, Intelligent treatment is the feature of Internet of Things: " perception comprehensively " is meant that perception such as utilizing radio-frequency (RF) identification (RFID), two-dimension code, GPS, camera, transducer, sensor network, the technological means of catching, measuring carry out information gathering to article whenever and wherever possible and obtain; " the reliable transmission " is meant the fusion by various communication networks and the Internet, with article (Things) access information network, carries out reliable information interaction and shared whenever and wherever possible; " Intelligent treatment " is meant various intelligence computation technology such as utilizing cloud computing, fuzzy diagnosis, the cross-region of magnanimity, inter-trade, interdepartmental data and information are carried out analyzing and processing, lifting realizes intelligentized decision-making and control to the insight of physical world, economic society comings and goings and variation.Internet of Things is that variation and the influence that global economic and social development is brought will surmount the Internet far away.
Internet of Things by universally recognized definition is: it is a huge social information system that is made of jointly sensing layer, network layer, application layer.Sensing layer is responsible for the perception acquisition of information, and network layer is responsible for message transmission is arrived application layer, and application layer is analyzed and handled by perception and signal transmitted, realizes the perception between thing and thing, people and the thing.
Internet of Things is with various information sensing equipment, a huge network that combines formation as radio-frequency (RF) identification (RFID) device, infrared inductor, global positioning system, laser scanner, household electrical appliance, security protection equipment etc. and the Internet, allow all article and network link together, convenient identification, management and monitoring, realize the application of fusion on this basis, finally provide immanent all-around service for people.
The radio sensing network that is in sensing layer is made up of a large amount of microsensor nodes usually, adopt the short-distance wireless communication mode to form the wireless network of multi-hop automatically between each node in the local scope, the information of these sensing node collections at first is pooled to Centroid by radio sensing network, by gateway device information is forwarded to the management platform of far-end then.
Radio sensing network gateway device in the market adopts the data transmission equipment of separation or router that the information of radio sensing network is forwarded to the back-stage management platform mostly, wherein connects by serial ports usually between gateway device and the radio sensing network Centroid.But at present there is following shortcoming in things-internet gateway equipment: at first, lacks unified standard because the short range wireless transmission technology is very many, present usefulness RFID, ZigBee, bluetooth, Z-Wave etc. are arranged more widely.Both just for a kind of transmission technology, as ZigBee, the practical application standardization level was not high yet, and a lot of manufacturers are based on proprietary protocol oneself exploitation transport module or transmission chip, so the ZigBee chip chamber of different vendor can't intercommunication.Therefore wireless sense network isomery often; things-internet gateway equipment in the market often only customizes at specific cases; be unfavorable for the development of Internet of Things industrial scale; gateway device is the radio sensing network of adaptive these isomeries how; the otherness of shielding wireless sense network; making between the wireless sense network of isomery, can realize collaborative work between wireless sense network and the communication network, is the problem that presses for solution.
In addition, present gateway device is only done transparent forwarding to sensing network information, make at present a lot of industry Internet of Things application systems be in the state of local, separation, the various information sensing equipment accepted standards of front end are multifarious, much also adopt enterprise's proprietary protocol, the information of gathering also only limits to propagate, analyze and processing in the industry specialized application scene among a small circle in, and do not have really to realize that Internet of Things can be runed, can manage, the construction object of controlled, trusted and information sharing.
Chinese patent CN200810057221.7 proposes the extendible wireless sensor network gateway equipment of a kind of Internetworking Approaches, can carry out exchanges data with each node of radio sensing network and to other forwarded.How but the technical scheme that this patent proposes adapts to different communication networks so that be implemented under the various application scenarioss and can transmit radio sensing network information easily if only being confined to solve gateway device, do not relate to the radio sensing network that how to adapt to front end different technologies specification and then form unified interface standard.
Chinese patent CN200610169744.1 proposes a kind of wireless sensor network gateway equipment, adopt the GPRS radio-cell to realize communicating to connect between remote server and the radio sensing network, how its technical scheme does not relate to adaptive various radio sensing network yet.
In sum, a kind of gateway device that can adapt to the various radio sensing networks of front end, possess standard interface of the development need of Internet of Things, by this gateway device can be really with thousands upon thousands radio sensing networks insert one can run, can manage, the Internet of Things of controlled and information sharing.
Embodiment
Below by drawings and Examples, technical scheme of the present invention is described in further detail.
As shown in Figure 1, be a kind of networking schematic diagram of things-internet gateway embodiment of the present invention.The end node of a plurality of radio sensing networks and via node S101 and center aggregation node S102 have formed theradio sensing network 1 of front end in Fig. 1,radio sensing network 1 can be for adopting RFID, ZigBee, bluetooth, the radio sensing network of technology such as Z-Wave, this center aggregation node S102 is the wireless sensing unit that is applicable to this radio sensing network, can be plugged on the standard interface connector of things-internet gateway 2, things-internet gateway is by for example GSM network simultaneously, cdma network, the mobile network of 3G network etc. (being cdma network among Fig. 1) connects the Internet of Thingsmanagement platform 3 of network side, realizes the communication between each node of radio sensing network of Internet of Things management platform and front end by this networking structure.Adopt the AT command set that is carried on universal asynchronous serial interface to carry out the message transmission between things-internet gateway 2 and the wireless sensing unit.
In information exchanging process, the on-the-spot heat transfer agent thatradio sensing network 1 is gathered is pooled to Centroid S102 earlier, is sent to Internet of Thingsmanagement platform 3 by things-internet gateway 2 then.Otherwise the management information of 3 pairs of front end radio sensing networks of Internet of Things management platform also is forwarded to the node of eachradio sensing network 1 by things-internet gateway 2.
As shown in Figure 2, be the structural representation of an embodiment of things-internet gateway of the present invention.In the present embodiment, things-internet gateway specifically comprises:standard interface connector 21, informationreceiving module agreement 22,enquiry module agreement 23,deployment module agreement 24 andconversion adaptation module 25.
Standard interface connector 21 is responsible for pegging graft and is inserted the wireless sensing unit of radio sensing network as the center aggregation node by antenna.The holding wire definition ofstandard interface connector 21 can be referring to Fig. 7, and wherein VCC1 and VCC2 provide the working power 3.3V and the 5V DC power supply of wireless sensing module commonly used on the market; TXD, RXD, RTS, cts signal are used for the serial communication between main control unit and the wireless sensing unit; The Reset holding wire is the control signal of main control unit output, and low level is effective, is used to the wireless sensing unit that resets; The Sleep holding wire is the state indication of wireless sensing unit output, and low level is effective, is used to represent that wireless sensing unit is in resting state; The WakeUp holding wire is the control signal of main control unit output, is used for waking up the wireless sensing unit of dormancy; Reserve the usefulness of Pin12 in addition as expansion from now on.
Information receiving module 22 is responsible for receiving bystandard interface connector 21 information of wireless sensing units, and this information comprises at least a in frequency band range, software and hardware version number and the Equipment Serial Number of identification of the manufacturer, support.These information will be as the inquiry benchmark of the protocol stack of inquiring about corresponding wireless sensing unit in the Internet of Things management platform.
Agreement enquiry module 23 is set up by mobile communications network and Internet of Things management platform and is got in touch, and is responsible for inquiring about the protocol stack that described wireless sensing unit is suitable for according to the information of the wireless sensing unit that receives to the Internet of Things management platform of network side.After having obtained protocol stack, the protocol stack thatagreement deployment module 24 is suitable for the wireless sensing unit that inquires downloads to things-internet gateway and disposes.
The protocol stack of the wireless sensing unit of in things-internet gateway, pegging graft except deployment, usually when being linked into the Internet of Things management platform, things-internet gateway just carried out the deployment of the messaging protocol form of Internet of Things management platform definition, so that things-internet gateway and Internet of Things management platform are carried out interacting message.
When node in radio sensing network takes place and the interacting message between the Internet of Things management platform, the protocolconversion adaptation module 25 responsible messaging protocol forms that define according to the protocol stack and the Internet of Things management platform of deployment are to carrying out protocol conversion and adaptive between each node in the radio sensing network and the Internet of Things management platform.
This protocolconversion adaptation module 25 can comprise uplink and downlink two parts functional unit, ascender specifically comprises: up protocol analysis unit, be used for, the message that reports being resolved during via described things-internet gateway according to the protocol stack of disposing to described Internet of Things management platform reporting message when radio sensing network; Up heavy encapsulation unit encapsulates the messaging protocol form of the content after resolving according to the definition of Internet of Things management platform again, and sends to described Internet of Things management platform.Descender specifically comprises: descending resolution unit, be used for described Internet of Things management platform via described things-internet gateway when each node of radio sensing network sends message, according to the messaging protocol form of Internet of Things management platform definition described message is resolved; Descending heavy encapsulation unit is used for the content after resolving is encapsulated again according to the protocol stack of disposing, and sends to each node of radio sensing network then by described wireless sensing unit.
Just realize information interaction between different radio sensing networks and the Internet of Things management platform by protocolconversion adaptation module 25, also just different radio sensing networks has been included into the range of management of Internet of Things management platform.
As shown in Figure 3, be the structural representation of another embodiment of things-internet gateway of the present invention.Compare with a last embodiment, present embodiment also comprises: softwareversion enquiry module 26,version comparison module 27 and software upgrading module 28.Softwareversion enquiry module 26 is responsible for inquiring about to the Internet of Things management platform recent software version of described wireless sensing unit.Version comparison module 27 is responsible for the recent software version of the wireless sensing unit software version number with the wireless sensing unit that inquires is compared, and judges whether the current software version of described wireless sensing unit is the recent software version.Software upgrading module 28 is responsible for when the current software version of wireless sensing unit is not the recent software version, obtains the software upgrade package of recent software version correspondence and carry out updating operation from the upgrade server of described Internet of Things management platform.
The inspection and the renewal of the software version of wireless sensing unit have been realized by above-mentioned module, so that guarantee the normal operation of wireless sensing unit and the accuracy of information interaction.
Each module of things-internet gateway of the present invention can be realized the function of a plurality of modules by a hardware in particular hardware realizes, perhaps realize the function etc. of a module by a plurality of hardware, as shown in Figure 4, be a kind of hard-wired structural representation of things-internet gateway embodiment of the present invention.In this hardware is realized, mainly partly form by application processor, FLASH, RAM, power supply unit, mobile communication module (can adopt GSM, 3G, PON communication module etc., adopt the cdma communication module in this example), wireless sensing unit and standard interface connector etc.Wherein application processor is responsible for moving the firmware program of things-internet gateway, realize the every business and the management function of gateway, comprise functions such as message pick-up, agreement inquiry, agreement are disposed, protocol conversion is adaptive, can adopt flush bonding processors such as 32 ARM7 or ARM9 series on the specific implementation, disposal ability can adopt the processor more than 40MIPS.The data such as firmware program of FLASH storage gateway equipment, memory capacity can also be stored the protocol stack of deployment and the messaging protocol form of Internet of Things management platform definition greater than 2MB.Adopt SDRAM as random access storage (RAM) unit, provide the equipment firmware program running required spatial cache, each node in the radio sensing network and the adaptive spatial cache that provides of the conversion of the protocol of messages between the Internet of Things management platform can be provided.
Power supply unit is realized AC/DC or the DC/DC conversion of external power source to inner each operating voltage, is responsible for providing working power to each functional unit of things-internet gateway.The cdma communication module inserts cdma network by antenna S201, carries out alternately with this Internet of Things management platform with network side, and instructs and application processor communication interaction data by AT.Wireless sensing unit inserts radio sensing network as the center aggregation node by antenna S202, is connected as the asynchronous serial communication interface of external unit by standard interface connector and application processor simultaneously.
As shown in Figure 5, be the another kind of hard-wired structural representation of things-internet gateway embodiment of the present invention.Realize comparing with a last hardware, mobile communication module adopts the CDMA module in the present embodiment, comprise CDMA RF processing unit and CDMA Base-Band Processing and embedded microprocessor unit, be responsible for inserting cdma network, realize every business of gateway device and management function by antenna S301.Present embodiment has been simplified the development of gateway device greatly, but this scheme is applicable to that the operational capability requirement to gateway is not very high application scenario to power consumption, cost sensitivity.
Fig. 6 has further provided the particular hardware implementation of Fig. 5 scheme, this particular hardware implementation is that the CDMA terminal chip solution with QualCom company is an example, realize the function of main control unit and wireless communication unit, the Asynchronous Serial Interface UART by master chip connects a ZigBee module realization wireless sensing unit function simultaneously.The RFL6000 that the CDMA signal that antenna S401 receives is sent into CDMA master chip QSC6055 through duplexer carries out the low noise processing and amplifying, after Surface Acoustic Wave Filter RxSAW filtering, send into RF receiver module RFR6000 then, RFR6000 sends into the RxADC port with receiving signal demodulation to the Analog Baseband and carries out the AD conversion, carries out the CDMA signal processing again after converting analog baseband signal to digital baseband signal.The CDMA baseband signal that needs to send is sent into RF sending module RFT6100 by Tx DAC, carries out filtering TxSAW, power amplification PA and handle after Frequency-variable Modulation, by duplexer radio frequency transmit signal feed antenna S401 is sent at last.
Power management module PM6050 is responsible for the power supply and the Clock management of QSC6055 inside, comprises battery management, as power supply, charging, electric weight demonstration etc.; The conversion of supply voltage voltage raising and reducing; Each chip operation power supply is provided; RF reception, tranmitting data register management, system hibernates Clock management or the like.QSC6055 is embedded with the ARM7 microprocessor, and the main control unit that can be used as gateway device is that the application processor unit uses.Be connected SDRAM and FLASH memory cell by its parallel data bus line, address bus and storage management port as equipment.
Subscriber identification module UIM (User Identity Model) card circuit can be connected directly to the UART interface of QSC6055.Realize that the ZigBee module of wireless sensing function then is connected to the UART interface of MSM6050 by a standard interface connector S403, certain level adapted and driving force in order to improve this interface, the asynchronous communication interface chip can be increased, as the MAX3232 of MAXIM company between the UART of MSM6050 interface and S403.
The ZigBee module can select for use the CC2431 chip of American TI Company to realize, CC2431 is embedded, and C8051 microprocessor, 2.4GHz meet radio-frequency (RF) transceiver, 128KB FLASH, the 8KB RAM of IEEE802.15.4 standard, realize ZigBee FFD functions of the equipments by load the ZigBee protocol stack in C8051.
The CDMA20001x mobile network is supported in hardware configuration that Fig. 6 provides and the cdma communication unit in the design, based on same hardware configuration and design, as long as change CDMA master chip wherein into CDMA2000EVDO mobile network that QSC6085 can support the 3G standard.
In above-mentioned things-internet gateway embodiment, can be connected by universal asynchronous serial interface UART between things-internet gateway and the wireless sensing unit, and adopt one group of AT command set that is carried on this serial line interface finish setting to the wireless sensing unit running parameter, by wireless sensing unit so that to each node of radio sensing network of its access finish work state information, wireless sensing unit that parameter configuration, wireless sensing unit report self and affiliated radio sensing network report under the radio sensing network functions such as sensing data of gathering.
Based on aforesaid things-internet gateway, the present invention also provides things-internet gateway to communicate agreement several embodiment of adaptive method automatically, as shown in Figure 8, be the schematic flow sheet of an embodiment of the communication protocol automatic adaptation method that the present invention is based on things-internet gateway.In the present embodiment, the automatic adaptive flow process of communication protocol comprises:
Step 101, reception are plugged on the information of the wireless sensing unit on the described things-internet gateway;
Step 102, inquire about the protocol stack that described wireless sensing unit is suitable for to the Internet of Things management platform of network side according to the information that receives;
The protocol stack thatstep 103, the described wireless sensing unit that will inquire are suitable for downloads to described things-internet gateway and disposes;
Step 104, according to the messaging protocol form of protocol stack of disposing and the definition of Internet of Things management platform to carrying out protocol conversion and adaptive between each node in the radio sensing network and the Internet of Things management platform.
In the present embodiment, the different wireless sensing unit information of carrying out that things-internet gateway can insert the needs according to concrete radio sensing network is obtained, and download this wireless sensing unit corresponding protocols stack, thereby can realize the protocol conversion of the interactive information between radio sensing network and the Internet of Things management platform and adaptive fast from Internet of Things management platform inquiry.
In the present embodiment, can adopt the AT command set that is carried on universal asynchronous serial interface to carry out the message transmission between things-internet gateway and the wireless sensing unit.The information of the wireless sensing unit instep 101 can comprise at least a in frequency band range, software and hardware version number and the Equipment Serial Number of identification of the manufacturer, support.
Instep 104, all can carry out protocol conversion and adaptive to the information of uplink and downlink.When radio sensing network via described things-internet gateway during to described Internet of Things management platform reporting message, things-internet gateway is resolved the message that reports according to the protocol stack of disposing; Content after things-internet gateway will be resolved encapsulates again according to the messaging protocol form of Internet of Things management platform definition, and sends to described Internet of Things management platform; And when the Internet of Things management platform via described things-internet gateway when each node of radio sensing network sends message, described things-internet gateway is resolved described message according to the messaging protocol form of Internet of Things management platform definition; Content after described things-internet gateway will be resolved encapsulates again according to the protocol stack of disposing, and sends to each node of radio sensing network then by described wireless sensing unit.
Be the normal operation of guaranteeing wireless sensing unit and the accuracy of information interaction, can increase inspection and the operation of renewal ground to the software version of wireless sensing unit, in another embodiment, provided the flow process of software upgrading, as shown in Figure 9, be the schematic flow sheet of software upgrading flow process among the communication protocol automatic adaptation method embodiment that the present invention is based on things-internet gateway.This flow process comprises:
Step 201, described things-internet gateway are inquired about the recent software version of described wireless sensing unit;
Step 202, the recent software version of the described wireless sensing unit software version number with the wireless sensing unit that inquires is compared, whether the current software version of judging described wireless sensing unit is the recent software version, if the recent software version is then proceeded obtaining of protocol stack; If not the recent software version, then execution instep 203;
Step 203, the software upgrade package of obtaining recent software version correspondence from the upgrade server of Internet of Things management platform are carried out updating operation.
In sum, by explanation to the embodiment of things-internet gateway of the present invention and communication protocol automatic adaptation method, can understand things-internet gateway and solve the difficult problem that front end different size radio sensing network inserts in the prior art, make isolated originally various radio sensing networks can be included into the range of management of Internet of Things management platform smoothly, become can run, can manage, the part of the Internet of Things of controlled and information sharing.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment can be finished by the relevant hardware of program command, aforesaid program can be stored in the computer read/write memory medium, this program is carried out the step that comprises said method embodiment when carrying out; And aforesaid storage medium comprises: various media that can be program code stored such as ROM, RAM, magnetic disc or CD.
Should be noted that at last: above embodiment is only in order to illustrate that technical scheme of the present invention is not intended to limit; Although with reference to preferred embodiment the present invention is had been described in detail, those of ordinary skill in the field are to be understood that: still can make amendment or the part technical characterictic is equal to replacement the specific embodiment of the present invention; And not breaking away from the spirit of technical solution of the present invention, it all should be encompassed in the middle of the technical scheme scope that the present invention asks for protection.