Content of the invention
Embodiments provide a kind of wireless Internet of Things access network Transmission system with tcp/ip network docking it is achieved thatThe demand that many collecting devices are inexpensive, remote in working site, flexibly move, wirelessly extensively cover;And achieve many collectionsEquipment by wireless Internet of Things access network and be deployed in tcp/ip network cloud server between to equipment full duplex (simultaneously bi-directionally)The demand of communication.
To achieve these goals, this invention takes following technical scheme.
A kind of wireless Internet of Things access network Transmission system with tcp/ip network docking, comprising: sensing acquisition equipment, wireless biographyDefeated unit, wireless transmission gateway server;
Described sensing acquisition equipment, for by sensor acquisition working site real time data, by the data collectingDescribed wireless transmission unit is transferred to by equipment existing interface;
Described wireless transmission unit, for adapting to described sensing acquisition equipment existing interface, receives the number of its collectionSend data to described wireless transmission gateway according to by wireless Internet of Things;And receive by described wireless transmission gateway passbackData, be finally back to the described sensing acquisition equipment being connected;
Described wireless transmission gateway, after receiving the data that described wireless transmission unit sends over, sets up and describedWireless transfer channel between wireless transmission unit, and the set set up between described server is connected, and sets up described nothing simultaneouslyLine transmission channel covers the association between being connected with described server, will be received from described wireless transmission unit by the connection of described setData is activation give described server;And the described server return data of reception is connected by set, then by corresponding wireless biographyDefeated passage returns to described wireless transmission unit, finally returns to described sensing acquisition equipment;
Described server, is received described wireless transmission gateway and is adopted by sensing acquisition equipment by what set connection transmittedThe data of collection, after data processing, is connected by set and returns confirmation or control instruction to described wireless transmission gateway.
Further, described wireless transmission gateway, for setting up simultaneously managerial fit table, intelligent association in described matching listAnd store identification information, wireless transfer channel number and the set hyphen of wireless transmission unit;Receive and described be wirelessly transferred listThe data that unit is sent by radio channel, the set identifying that radio channel is associated by inquiring about described matching list connects, andConnected by this set and send data to corresponding server;For receiving described server by covering what linkup transmit cameAfter data, identify that described set connects the wireless transfer channel of association by inquiring about described matching list, be wirelessly transferred by describedPassage sends the data to wireless transmission unit.
Further, using industrial interface (rs232/ between described sensing acquisition equipment and described wireless transmission unitRs485/uart) or ethernet interface connect, allow existing sensing acquisition equipment in the case of not changing existing software and hardware,Realize carrying out being communicated with the server being deployed in far-end or the Internet end by wireless Internet of Things.
Further, one-to-one, one-to-many, relaying are adopted between described wireless transmission unit and described wireless transmission gatewayOr the networking mode of multi-to-multi.
Further, described wireless transmission unit includes power management module, master processor module, Control on Communication mouldBlock, wireless transmission interface module and collecting device communication interface modules.
Communication control module in described wireless transmission unit includes: is wirelessly transferred control submodule and collecting device communicationControl submodule;
Further, described wireless transmission gateway includes:
Power management module, master processor module, communication are plugged into control module, wireless transmission interface module and tcp/Ip Network Interface Module;
Communication in described wireless transmission gateway control module of plugging into includes: intelligent Matching table management submodule, wireless passesDefeated control submodule server Control on Communication submodule;
Described intelligent Matching table management submodule, carries in the data that wireless transmission unit transmits for extractingThe identification information of wireless transmission unit, sets up the wireless transmission unit in Internet of Things corresponding to described identification information and is wirelessly transferredWireless transfer channel between gateway;Set up between described wireless transfer channel corresponding wireless transmission gateway serverSet in tcp/ip network connects;Set up and managerial fit table, intelligent association and storage in described matching list is wirelessly transferred listThe identification information of unit, wireless transfer channel number and set hyphen;
Described is wirelessly transferred control submodule, for receiving the number being derived from wireless transmission unit in wireless transfer channelAccording to rear, extract the identification information of the wireless transmission unit carrying in data, according to this identification information-enquiry matching list, judge describedWhether identification information has stored in matching list, if it is, obtaining the described identification information association of storage in matching listSet hyphen, this set hyphen data is transferred to server communication control submodule;Otherwise, notify matching table management moduleSet up the wireless transfer channel of association to described identification information and set connects, and this identification information is logical with being wirelessly transferred of associatingTaoist monastic name and set hyphen are stored in matching list, newly-built set hyphen data is transferred to server communication and controls submoduleBlock;After receiving the wireless transfer channel data that server communication control submodule transmits, by corresponding wirelessDescribed data is transferred to wireless transmission unit by transmission channel;
Described server communication control submodule, is connected by set and enters row data communication between server, receiveAfter being wirelessly transferred the set hyphen data that control submodule sends over, sent the data to described by the connection of corresponding setServer;Receive described server after covering the data that linkup transmit comes, described coupling is inquired about according to this set hyphenTable obtains the wireless transfer channel number of the described set hyphen association of storage in matching list, by this wireless transfer channel dataIt is transferred to and be wirelessly transferred control submodule.
Can be seen that the wireless transmitting system of the embodiment of the present invention by the technical scheme that embodiments of the invention described above provideBe a kind of have with the low cost of tcp/ip network intelligence docking function, low-power consumption, remote, extensively cover wireless Internet of Things access networkTransmission system, comprising: sensing acquisition equipment, wireless transmission unit, wireless transmission gateway server.This invention achieves adopt moreThe demand that collection equipment is inexpensive, remote in working site, flexibly moves, wirelessly extensively cover;And achieve many collecting devicesBy wireless Internet of Things access network and be deployed in tcp/ip network cloud server between simultaneous bi-directional communication demand.The present invention'sWireless transmitting system in the case of not changing existing equipment software and hardware, wireless shifting that is quick, conveniently realizing many sensing acquisitions equipmentDynamic wide covering, reduces live cost of access;According to site contour geographical features flexible networking, and can have necessarily around barrier ability,Low in energy consumption, easily dispose;There is damping, waterproof and dustproof, can be widely applied to environment monitoring networking and each large-scale workJourney digitized is constructed, such as dam construction, construction of the highway, mining, offshore production etc..
The aspect that the present invention adds and advantage will be set forth in part in the description, and these will become from the following descriptionObtain substantially, or recognized by the practice of the present invention.
Specific embodiment
Embodiments of the present invention are described below in detail, the example of described embodiment is shown in the drawings, wherein ad initioTo the element that same or similar label represents same or similar element or has same or like function eventually.Below by ginsengThe embodiment examining Description of Drawings is exemplary, is only used for explaining the present invention, and is not construed as limiting the claims.
Those skilled in the art of the present technique are appreciated that unless expressly stated, singulative " " used herein, "Individual ", " described " and " being somebody's turn to do " may also comprise plural form.It is to be further understood that arranging used in the description of the present inventionDiction " inclusion " refers to there is described feature, integer, step, operation, element and/or assembly, but it is not excluded that existing or addingOther features one or more, integer, step, operation, element, assembly and/or their group.It should be understood that when we claim unitPart is " connected " or during " coupled " to another element, and it can be directly connected or coupled to other elements, or can also existIntermediary element.Additionally, " connection " used herein or " coupling " can include wirelessly connecting or coupling.Wording used herein"and/or" includes one or more associated any cell and all combinations of listing item.
Those skilled in the art of the present technique are appreciated that unless otherwise defined, and all terms used herein (include technology artLanguage and scientific terminology) there is general understanding identical meaning with the those of ordinary skill in art of the present invention.Also shouldIt is understood by, those terms defined in such as general dictionary should be understood that the meaning having with the context of prior artThe consistent meaning of justice, and unless defined as here, will not be explained with idealization or excessively formal implication.
For ease of the understanding to the embodiment of the present invention, do further below in conjunction with accompanying drawing taking several specific embodiments as a exampleExplanation, and each embodiment does not constitute the restriction to the embodiment of the present invention.
The invention provides a kind of have and the low cost of tcp/ip network intelligence docking function, low-power consumption, remote, wideCover wireless Internet of Things access network Transmission system, the structure of this system is as shown in figure 1, including sensing acquisition equipment, being wirelessly transferred listUnit, wireless transmission gateway, router server.Remote, low work(is adopted between wireless transmission unit and wireless transmission gatewayConsume wireless Internet of Things and carry out radio communication, above-mentioned wireless Internet of Things access network can reach according to networking mode different communication distance rangeTo 1 to 100 kilometers.Tcp/ip (transmission is adopted between above-mentioned wireless transmission gateway and router, serverControl protocol, transmission control protocol) network communicated.
In actual applications, typically using the remote, thing of low-power consumption between wireless transmission unit and wireless transmission gatewayConnected network communication technology, following two technology any one have all been supported:
Xtend 900 (sighting distance is up to 64 km transmission distances)
Lora sx1272/sx1276/sx1278 (sighting distance is up to 10-22 kilometer)
Sensing acquisition equipment, for obtaining gathered data by sensor, and is connect by industrial interface or ethernetMouth output gathered data is to wireless transmission unit.Sensing acquisition equipment is not required to any software and hardware and changes.
Wireless transmission unit, for by microcontroller according to above-mentioned Internet of Things host-host protocol to the collection number receivingObtain data according to carrying out data conversion treatment, using antenna, data is sent to wireless transmission gateway by wave point, wirelesslyThe identification information of wireless transmission unit is carried, this identification information can be wireless transmission unit in the data of transmission unit outputAddress or device number etc..The standard interface data such as serial ports (rs485, rs232), ethernet can be pressed by wireless transmission unitCarry out transmitting according to data after the transport protocol conversion of above-mentioned Internet of Things.
Wireless transmission gateway, for receiving after the data that wireless transmission unit sends over, extracts the nothing carrying in dataThe identification information of line transmission unit, the identification information for wireless transmission unit sets up wireless transmission unit and nothing in Internet of ThingsWireless transfer channel between transmission network pass, is wirelessly transferred by this between subsequent radio transmissions gateway and wireless transmission unitPassage enters row data communication.Then, wireless transmission gateway is set up between the corresponding server of above-mentioned wireless transfer channelSet in tcp/ip network connects, and is connected by set and sends the data to described server using the transfer of router.AndConnected by set and receive described server return data, then be wirelessly transferred list described in corresponding wireless transfer channel returns toUnit, finally returns to described sensing acquisition equipment;Realize supporting that many sensing acquisitions equipment accesses and described cloud via wireless Internet of ThingsTwo-way communication while between the server of end;
Server, passes through set by remote monitoring processing unit to described wireless transmission gateway and connects the data transmittingCarry out visualizing datagraphic process, provide the described access interface visualizing datagraphic to the browser of client.Pass throughSet connects to described wireless transmission gateway passback confirmation or control instruction.
The wireless transmitting system of the present invention can adopt multiple networking deployment way, flexible configuration, and Fig. 2 is four kinds of systemNetworking mode, can adopt between wireless transmission unit and wireless transmission gateway: one-to-one, one-to-many, relaying and multi-to-multiFour kinds of networking modes.The interface that this system, scheme are connected with sensing acquisition equipment has multiple, flexible configuration.When being wirelessly transferred listUsing the networking mode of multi-to-multi between unit and wireless transmission gateway, that is, there are multiple wireless transmission unit and multiple be wirelessly transferred netGuan Shi, each wireless transmission unit sends data to each wireless transmission gateway respectively, thus realizing remote-wireless around barrierCover, solve the problems, such as many equipment simultaneous bi-directional communication correct addressing.
The structure chart of wireless transmission unit is as shown in figure 3, include power management module, master processor module, communication controlMolding block, wireless transmission interface module and collecting device communication interface modules (can support ethernet/rs232/rs485/uart).External dc is powered or using solar powered.Communication control module in described wireless transmission unit includes: noLine transmission control submodule and collecting device Control on Communication submodule.
The structure chart of wireless transmission gateway is as shown in figure 4, include power management module, master processor module, communication connectRefute control module, wireless transmission interface module and common interface module (ethernet/wifi can be supported).External dc suppliesElectricity or using solar powered.
Communication in described wireless transmission gateway control module of plugging into includes: intelligent Matching table management submodule, wireless passesDefeated control submodule server Control on Communication submodule;
Described intelligent Matching table management submodule, this module realize principle schematic as shown in figure 5, for extracting noThe identification information of the wireless transmission unit carrying in the data that line transmission unit transmits, for the mark of wireless transmission unitInformation sets up the wireless transfer channel between the wireless transmission unit in Internet of Things and wireless transmission gateway, subsequent radio transmissions netClose, and wireless transmission unit between, row data communication is entered by this wireless transfer channel.This module returns wireless transfer channel distributionOne thread number.The set that this module also sets up in the tcp/ip network between the corresponding server of above-mentioned wireless transfer channel connectsConnect.This module also sets up and managerial fit table, the identification information of associated storage wireless transmission unit, wireless in described matching listTransmission channel number and set hyphen.
Described is wirelessly transferred control submodule, for by entering line number between wireless transfer channel and wireless transmission unitAccording to communication, it is derived from wireless transfer channel after the data of wireless transmission unit using the thread monitor receiving of distribution, extracts numberAccording in the identification information of wireless transmission unit that carries, looked in intelligent Matching table management submodule according to above-mentioned identification informationAsk, judge whether described identification information has stored in matching list, if it is, obtaining the described mark of storage in matching listThe set hyphen of information association, this set hyphen data is transferred to server communication control submodule server communication and controlsSubmodule;Otherwise, submodule sets up the wireless transfer channel of association to this identification information and set connects to notify intelligent Matching table to manageConnect, intelligent Matching table management submodule can by this identification information and the wireless transfer channel number associate with cover hyphen and be stored inJoin in table.It is wirelessly transferred control submodule and newly-built set hyphen data is transferred to the service of server communication control submoduleDevice Control on Communication submodule.Conversely, being wirelessly transferred control submodule to receive what server communication control submodule transmittedAfter wireless transfer channel data, described data is transferred to by wireless transmission unit by corresponding wireless transfer channel.
Described server communication control submodule, enters row data communication for connecting by set between server.ConnectReceive after being wirelessly transferred the set hyphen data that control submodule sends over, the transfer being connected using router by set willDescribed data is activation gives described server.Receive server after covering the data that linkup transmit comes, extract in data and takeThe set hyphen of band, inquires about above-mentioned matching list according to above-mentioned set hyphen, judges described to cover whether hyphen has stored inJoin in table, if it is, obtaining the wireless transfer channel number of the described set hyphen association of storage in matching list, by this wireless biographyDefeated channel number data is transferred to and is wirelessly transferred control submodule.Otherwise, returning to server does not have receive to be wirelessly transferred listThe notification message of unit.
In actual applications, when network transmission interruption, the data storage of collection can be got up by sensing acquisition equipment,After network transmission is recovered, then the historical data of storage is reported to server.In this case, if historical data is a lot,It is possible to the just equipment in normal work in current network can be affected.Gateway needs to have intelligence in dockingProcess the ability of this situation.Specific strategy and algorithm are described such as to multiple wireless transmission unit with a wireless transmission gatewayUnder.
Therefore, in this wireless-transmission network, defining uplink is from wireless transmission unit to server side to descendingIt is transmitted as server to wireless transmission unit, and it is as follows to define systematic parameter:
Wireless transmission bandwidth: up bu, descending bd
The number of the wireless transmission unit of a wireless transmission gateway service: n in network
In network, each equipment uplink transmission data amount is au1,au2…aun
The real-time higher uplink bit rate of each equipment: r in networku1,ru2…run
In network, each equipment downlink transmission data amount is ad1,ad2…adn
The real-time downlink transmission data rate of each equipment: r in networkd1,rd2…rdn
For wireless transmission gateway, within the t time, network uplink occupancy transmission bandwidth is:
For wireless transmission gateway, within the t time, network downstream occupancy transmission bandwidth is:
If butClose to buOr bdtClose to bd, when qos is close to minimum restriction, then can determine that bandwidth have impact onNormal transmission, is likely to result in communication blocking or time delay, the real-time report of impact device data.In order to reduce this impact,During intelligent docking, use scene definition following tactful according to Practical Project:
First it is ensured that real time data has precedence over historical data;
Secondly it is ensured that downlink data has precedence over upstream data.
Therefore, wireless transmission gateway first has to determine whether historical data, and specific algorithm is as follows:
Maximum data packet mtu that the definition of this system allows is l, and statistics continuously reaches number m of the bag of l.It is continuous for defining mReceive the threshold value that packet reaches the number of bag of greatest length l.Work as m > m, then judge that this equipment has historical data to upload.
On the basis of determining whether there is historical data, in order to realize above-mentioned two strategies, specific algorithm is as follows,
1st, in the case of bandwidth anxiety, if there being historical data, it is used for data buffer storage, Zan Bufa in local opening spaceSend, the allocated set Connection Release is distributed to other real-time devices and uses;Until when bandwidth occupancy takes it easy, phase of reallocatingThe set answered connects, and the data is activation by buffer area.
2nd, in the case of bandwidth anxiety, if not having historical data, it is used for the big data of time delay in local opening spaceCaching, wouldn't send, and the allocated set Connection Release is distributed to other real-time devices and uses, to ensure the passage having communicatedPrioritised transmission;Until when bandwidth occupancy takes it easy, the corresponding set of reallocation connects, and the data is activation by buffer area.
If 3 above-mentioned two situations all exist, delay for the big data of data buffer storage and time delay in local opening spaceDeposit, wouldn't send, the allocated set Connection Release is distributed to other real-time devices and uses, until bandwidth occupancy takes it easyWhen, the corresponding set of reallocation connects, and the data is activation by buffer area.
4th, no matter when, when receiving downlink data, system all priority treatment downlink datas, then reprocessUpstream data.
Wherein, m is relevant with wireless transmission unit quantity n of real network environment and active service with t, in real workIn, (this algorithm specifically describes during here is not civilian) is realized by adaptive learning algorithm.Qos is defined as the just data bag receivingQuantity and the quantity of the total bag receiving ratio, the correctness of packet is to be judged by calculating check field.
The schematic diagram that Fig. 6 is connected with sensing acquisition equipment using etherenet interface for wireless transmission unit, sensing acquisitionThe mode being connected between equipment and wireless transmission unit supports etherenet interface, supports tcp/ip agreement.
Fig. 7 is for wireless transmission unit using the schematic diagram being connected with sensing acquisition equipment with standard industry interface, above-mentioned workIndustry interface can be serial ports rs232, rs485, supports modbus agreement, custom protocol.
Disappearing between a kind of Fig. 8 wireless transmission unit provided in an embodiment of the present invention, wireless transmission gateway and serverBreath process chart, including following processing procedure:
Wireless transmission gateway supports the networking model of one-to-many, relaying and multi-to-multi, under these three patterns, is wirelessly transferredNeed Intelligent Recognition and automatically route when gateway and wireless transmission unit, server two-way communication.Wireless transmission gateway is createdBuild and safeguard matching list, the associated storage identification information of wireless transmission unit, wireless transfer channel number and set in this matching listHyphen.
Wireless transmission gateway passes through to enter row data communication between wireless transfer channel and wireless transmission unit, is received by threadTo after the data of wireless transmission unit, extract the identification information of the wireless transmission unit carrying in data, according to above-mentioned markKnow the above-mentioned matching list of information inquiry, judge whether described identification information has stored in matching list, if it is, obtaining couplingIn table, the set hyphen of the described identification information association of storage, is connected by corresponding set and for above-mentioned data to be transferred to server;Otherwise, the wireless transfer channel of association is set up according to this identification information and set connects, and this identification information is wireless with associateTransmission channel number and set hyphen are stored in matching list, are connected by the set set up and for above-mentioned data to be transferred to server.
Wireless transmission gateway passes through to enter row data communication between set connection server, receives server and is connected by setAfter the data sending over, extract the set hyphen carrying in data, above-mentioned matching list is inquired about according to above-mentioned set hyphen, judgeWhether described set hyphen has stored in matching list, if it is, the described set hyphen obtaining storage in matching list closesAbove-mentioned data is transferred to wireless transfer channel by corresponding wireless transfer channel by the wireless transfer channel number of connection;Otherwise, toServer returns the notification message of the wireless transmission unit not having to receive.
Adopt the networking mode of multi-to-multi between wireless transmission unit and wireless transmission gateway, server will receive notThe data from same wireless transfer channel sending over wireless transmission gateway, these data are repetition, redundancy,Server retains a data in the data repeating, and remaining data is abandoned.When wireless transmission unit and be wirelessly transferred netAdopt between pass multi-to-multi networking mode when, can more reliably transmission data, when part wireless transmission gateway fault, noThe transmission of impact data, other normal wireless transmission gateway can be with transmission data.
Present invention achieves many sensing acquisitions equipment server remote-wireless on the basis of original agreement is simultaneously doubleSeamless docking to communication.Existing sensing acquisition equipment server is allowed not change any software and hardware it is possible to realize existing settingCover and finally report cloud server and receive the back information from cloud server for by radio remote distance.
In sum, the wireless transmitting system of the embodiment of the present invention pass through arrange sensing acquisition equipment, wireless transmission unit,Wireless transmission gateway server, low cost, cover wide, it is possible to achieve effectively utilize Internet of Things and tcp real-time performance farther outDistance Transmission data.Can flexibly be covered according to site contour geographical features, and coverage distance far has necessarily around barrier ability;Power consumptionLow, easily dispose;There is damping, waterproof and dustproof.Can be widely applied to each heavy construction, such as mining, offshore productionDeng.
The wireless transmitting system of the embodiment of the present invention does not need existing tcp/ip network is improved, can with existingTcp/ip network be connected well.
The wireless transmitting system of the embodiment of the present invention can adopt multiple groups of one-to-one, one-to-many, relaying and multi-to-multi etc.Net deployment way, flexible configuration, the interface that wireless transmission unit is connected with sensing acquisition equipment has multiple, flexible configuration.
One of ordinary skill in the art will appreciate that: accompanying drawing is the schematic diagram of an embodiment, the module in accompanying drawing orFlow process is not necessarily implemented necessary to the present invention.
Each embodiment in this specification is all described by the way of going forward one by one, identical similar portion between each embodimentDivide mutually referring to what each embodiment stressed is the difference with other embodiment.Especially for device orFor system embodiment, because it is substantially similar to embodiment of the method, so describing fairly simple, referring to method in place of correlationThe part of embodiment illustrates.Apparatus and system embodiment described above is only schematically wherein said conductSeparating component explanation unit can be or may not be physically separate, as the part that unit shows can be orPerson may not be physical location, you can with positioned at a place, or can also be distributed on multiple NEs.Can rootFactually border need select the purpose to realize this embodiment scheme for some or all of module therein.Ordinary skillPersonnel are not in the case of paying creative work, you can to understand and to implement.
The above, the only present invention preferably specific embodiment, but protection scope of the present invention is not limited thereto,Any those familiar with the art the invention discloses technical scope in, the change or replacement that can readily occur in,All should be included within the scope of the present invention.Therefore, protection scope of the present invention should be with scope of the claimsIt is defined.