CN106412074A - Periodic collection and storage and non-real time transmission system of information of Internet of Things - Google Patents

Periodic collection and storage and non-real time transmission system of information of Internet of Things Download PDF

Info

Publication number
CN106412074A
CN106412074A CN201610889874.6A CN201610889874A CN106412074A CN 106412074 A CN106412074 A CN 106412074A CN 201610889874 A CN201610889874 A CN 201610889874A CN 106412074 A CN106412074 A CN 106412074A
Authority
CN
China
Prior art keywords
data
relay station
collection
storage
user side
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201610889874.6A
Other languages
Chinese (zh)
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.)
Qinghai Nationalities University
Original Assignee
Qinghai Nationalities University
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 Qinghai Nationalities University filed Critical Qinghai Nationalities University
Priority to CN201610889874.6A priority Critical patent/CN106412074A/en
Publication of CN106412074A publication Critical patent/CN106412074A/en
Pending legal-status Critical Current

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
    • GPHYSICS
    • G08SIGNALLING
    • G08CTRANSMISSION SYSTEMS FOR MEASURED VALUES, CONTROL OR SIMILAR SIGNALS
    • G08C17/00Arrangements for transmitting signals characterised by the use of a wireless electrical link
    • G08C17/02Arrangements for transmitting signals characterised by the use of a wireless electrical link using a radio link

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Computing Systems (AREA)
  • General Health & Medical Sciences (AREA)
  • Medical Informatics (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention belongs to the technical field of the Internet of Things, and specifically relates to a periodic collection and storage and non-real time transmission system of information of the Internet of Things. The invention provides a periodic collection and storage and non-real time transmission system of information of the Internet of Things. According to the periodic collection and storage and non-real time transmission system of the information of the Internet of Things provided by the invention, a computer is in interactive connection with a client, the client is in wireless transmission connection with a relay station, the relay station is in wireless transmission connection with an own corresponding collection terminal group, and the collection terminal group comprises a plurality of collection terminals. The system has the largest advantages that the transmission of the collected data is controlled by means of storage of the collected information and flexible control means, non-real time transmission is realized, and an effective method and means is provided for the application of the Internet of Things in special area (e.g., remote areas). The ability and the application range of the Internet of Things are expanded.

Description

A kind of Internet of Things data collection storage and non real-time transmission system
Technical field
The present invention is belonging to communication technical field, and the timing acquiring relating in particular to Internet of things node data stores and adopts The method and system of the non real-time transmission of collection data.
Background technology
Internet of Things is to be perceived as the integrated information system of the thing of core and thing interconnection, is continue computer, the Internet, movement After communication, a new tide of world information industry revolution is it is considered to be next TERA-SCALE industry.Its market prospect is expected will Considerably beyond computer, the Internet and mobile communication, the new growing point of World Economics will be become, be that Future Society economy is sent out Exhibition, social progress and scientific and technical innovation provide most important infrastructure guarantee, also will thoroughly change the life style of people.
The 3 coating systems knots that the system structure of Internet of Things is made up of perception interdynamic layer, transport network layer and application service layer Structure.Perception interdynamic layer is located at the orlop of whole system, and its Main Function is perception and identification object, collects environmental information;Should With the superiors of service layer's whole system, it is that technology of Internet of things is combined with industry professional technique, realize extensively intelligent answering Solution;Transport network layer is located at the centre position of whole system, the UNE being formed including various communication networks. Transport network layer is the infrastructure that Internet of Things provides ubiquitous service.
Communication network is the basis instrument of the transmission of supporter networked information and service.The communication technology of Internet of Things mainly covers The technology such as the access network of the tip network of sensing layer and public communication network.Tip network mainly with sensor network as representative, It is that one kind typically fixes sensor node ad hoc network, forms multihop self-organizing network using sensor;Internet of Things connects Enter technology include wired(Twisted-pair feeder, coaxial, optical fiber etc.)Access and wireless(2G, 3G, 4G, satellite communication and 802.11, 802.16th, 802.15, bluetooth etc.)Access two big types.
Limited by wired and wireless access way, in the case that satellite communication price is difficult to bear, the application of Internet of Things is subject to To greatly limiting.
For solving this problem, a kind of applicable Internet of Things data collection storage and non real-time transmission system need to be invented System.
Content of the invention
Present invention aim to address the information of existing internet of things sensors collection cannot lead in node storage Internet of Things application is limited, there is provided the system of a kind of information of Internet of things node timing storage collection and non real-time transmission.
The present invention provides a kind of Internet of Things information timing storage collection and non real-time transmission system, and computer is handed over user side Connect, described user side is connected by being wirelessly transferred with described relay station, described relay station collection terminal group corresponding with oneself By being wirelessly transferred connection, in described collection terminal group, comprise multiple collection terminals.
Further, described user side sends transmission instruction instruction by user, and by described transmission instruction by described Station of continuing is sent to described collection terminal.
Preferably, the described collection terminal receiving described transmission instruction stops data acquisition, and will collect and stored Gathered data in SD storage card is sent to described relay station, and described gathered data is sent to described user by described relay station End, described user side is by the described acquired data storage receiving in described computer.
A kind of Internet of Things information Timing Data Acquisition storage and non real-time transmission system and prior art that the present invention provides Compare and have the advantages that:Collection terminal of the present invention according to using needing timing acquiring data, adopting by the data storage of collection In the SD card at collection end;And when user needs(When i.e. user sends transmission instruction by user side)Will be stored in SD card Data user side is transferred to by relay station, be sent in the data base of computer by user side.Realize data timing collection And store, non real-time transmission.
Other features and advantages of the present invention will illustrate in the following description, and, partly become from description Obtain it is clear that or being understood by implementing the present invention.The purpose of the present invention and other advantages can be by the explanations write Book, claims and the structure specifically noted by figure are realizing and to obtain.
Brief description
Accompanying drawing described herein is used for providing a further understanding of the present invention, constitutes the part of the application, this Bright schematic description and description is used for explaining the present invention, does not constitute inappropriate limitation of the present invention.In the accompanying drawings:
Fig. 1 is the structure chart of a kind of Internet of Things data collection storage of the present invention and non real-time transmission system;
Fig. 2 is the user side square frame of a kind of Internet of Things data collection storage of the present invention and non real-time transmission system Figure;
Fig. 3 is the relay station square frame of a kind of Internet of Things data collection storage of the present invention and non real-time transmission system Figure;
Fig. 4 is the collection terminal square frame of a kind of Internet of Things data collection storage of the present invention and non real-time transmission system Figure;
Fig. 5 is the enforcement schematic diagram of a kind of Internet of Things data collection storage of the present invention and non real-time transmission system;
Fig. 6 is a kind of data non real-time transmission of Internet of Things data collection of the present invention to computer, storage collection number According to the surface chart to data base;
Fig. 7 is the computer inquiry collection of a kind of Internet of Things data collection storage of the present invention and non real-time transmission system The surface chart of data;
Fig. 8 is that a kind of Internet of Things data collection of the present invention stores and the computer of non real-time transmission system shows No. 02 No. 03 collection terminal one day data collection data averaged curve figure per hour of relay station.
Specific embodiment
Present invention aim to address existing Internet of Things information needs real-time Transmission, collection terminal cannot store gathered data Limitation the problems such as, there is provided a kind of storage of Internet of Things data collection and non real-time transmission system.
Below in conjunction with the accompanying drawings embodiments of the invention are illustrated.It should be noted that in the case of not conflicting, this Technical characteristic in inventive embodiment and embodiment can be combined with each other, all within protection scope of the present invention.
As Figure 1-Figure 8, the present invention proposes a kind of Internet of Things information timing storage collection storage and non real-time transmission System.
As shown in figure 1, the present invention proposes a kind of Internet of Things data collection storage and non real-time transmission system, including meter Calculation machine 1 is connected with user side 2, and described user side 2 is connected with described relay station 3, described relay station 3 collection terminal corresponding with oneself Group 4, comprises multiple collection terminals 5 in described collection terminal group 4.
Further, described user side 2 sends transmission data instruction by user, and institute is passed through in the instruction of described transmission data State relay station 3 and be sent to described collection terminal 5.
Further, the described collection terminal 5 receiving described transmission instruction can stop data acquisition, and will be acquired and deposit Gathered data in SD storage card for the storage is sent to described relay station 3, and described gathered data is sent to described by described relay station 3 User side 2, the described gathered data receiving is sent to computer by described user side 2, and described computer 1 is by acquired data storage To in the data base of computer.
It will be seen from figure 1 that computer 1(Typically adopt notebook computer)It is connected with user side 2, user side 2 has transmitting Reception antenna, transmitting reception antenna 2 can be with transmission signal it is also possible to receipt signal, and the signal of user side is by transmitting reception sky Line, sends the transmitting reception antenna of relay station 3 to, relay station 3 receive user side 2 user transmission data command, according in The numbering at station 3 of continuing is started working successively, and relay station 3 transmits commands to the collection terminal 5 of oneself numbering, and collection terminal 5 receives transmission Data command, is sequentially transmitted data to relay station 3 according to collection terminal numbering.
Because collection terminal group 4 is distributed, ratio is relatively decentralized, and each collection terminal group 4 is responsible for reception by a relay station 3 and is passed by collection terminal 5 The data sent, but some relay stations 3 and user side 2 be apart from distant, and user side 2 cannot receive the data of relay station 3 transmission, Therefore, each relay station 3 actually undertakes the effect of relay successively, that is, play the effect of force transfer, by remote distance relay station 3 Data is sequentially transmitted by each relay station 3, finally sends user side 2 to by the relay station 3 nearest away from user side 2.User side 2 receives To the data transmitting it is possible to transfer data to computer 1, and store in the data base of computer 1.
Fig. 2 is user side block diagram, and the interface 6 connecting computer is on the interface be inserted into computer, so that user side It is connected with computer;User side interface convertor 6X is so that computer and the microcontroller 8 of user side is matched;The use of user side Family controller 7 is the operation part of user's control collection terminal;The microcontroller 8 of user side is the core of user side, can adopt Micro Energy Lose, low-voltage, the microcontroller of low current.9 be user side transmitting and receiving portion, it can be used for launch user instruction, Receive the packet that relay station returns;Using long-distance transmission module, according to data, remote module is at most same with 65535 The module of frequency is interactive.10 is the power control part of transmitting plate module, and this part is made up of two manostat, and 11 is higher electricity Pressure manostat, 5 volts of very stable voltages of voltage stabilizing output, 12 is low voltage manostat, 3.3 volts of very stable electricity of voltage stabilizing output Pressure.13 is the on and off switch of user side, to control whether to open user side.14 is the battery of user side, and this battery employs Chargeable 6 volts of lithium batteries, because user side is that user oneself controls, therefore can be charged using charger.
Fig. 3 is program relay station block diagram, and 15 is the microcontroller of relay station, is the core of relay station, can adopt Micro Energy Lose, low-voltage, the microcontroller of low current.16 is the transmitting and receiving module of relay station, and it can be launched with receive user end User instruction, control the collection terminal group of this relay station it is also possible to receive adopting of the collection terminal in the collection terminal group of this relay station Collection data, and gathered data is sent to the relay station of next stage or sends user side to.18 is the battery of relay station, adopts The larger lithium battery of Capacity Ratio, 17 is the regulated power supply part of relay station, can export highly stable supply voltage, during 19 are Continue the solar battery charger part at station, and it can be charged for battery 18 using solar energy.12 are employed in embodiment The lithium battery of volt, is lithium cell charging using 15 volts of solar energys, this solar energy has protection circuit, that is, when lithium battery voltage is little When 9 volts, solar energy can give lithium cell charging, and cell voltage can stop when being more than 12.5 volts charging, the therefore battery of collection terminal Voltage remains at more than 9 volts, less than 12.5 volts it is ensured that circuit work stability(The running voltage of relay station is 8 Volt).
Fig. 4 is collection terminal block diagram, from accompanying drawing 4 as can be seen that 20 is the reception emitting portion of collection terminal, employs supporting The transport module of the same frequency of user side and relay station.21 is the microcontroller of collection terminal, is the core of collection terminal, can adopt Micro Energy Lose, low-voltage, the microcontroller of low current.22 is the part of data acquisition of collection terminal, this different setting as needed Different acquisition modules, such as temperature collect module, air quality acquisition module etc..23 is power supply output control part, by micro- Controller controls its open and close, to determine whether that log-on data acquisition module 22 works.24 is the power supply unit of collection terminal Point, actually this part is a mu balanced circuit, exports very stable voltage.25 is the battery of collection terminal, can be using lithium electricity Pond, because collection terminal is distributed across different places, some places are that user is difficult to reach, steady for a long time in order to ensure collection terminal Fixed work, is configured with solar energy 26 as the charge power supply of lithium battery.27 is SD storage card, the data of storage 22 collection, collection The data of module collection, through the process of microcontroller 21, data is temporarily stored in capture card 27, the data of this collection Form a data through microcontroller process, when data includes relay station numbering, the numbering of collection terminal, collection date, collection Between, gathered data type and the data gathering at that time, these data editions become a string data, store SD storage card In 27.28 is a second intervalometer, and this intervalometer can produce accurate second signal, be supplied to microcontroller 21, microcontroller Be provided with date (date), the self-clocking of time (Hour Minute Second) in 21, with determine acquisition module gathered data date and Time.In addition it is also provided with 10 minutes timer(In order to describe the problem it is assumed here that being 10 minutes, but make actual With in can need to set this time according to user, below describe in 10 minutes all as evidence), this timer is control Electrical switch 23 processed, reach when timer 10 minutes, open electrical switch, so that gathered data, the gathered data time Reach 1 second, close electrical switch, timer resets within 10 minutes, reclocking has thus reached and gathered one every 10 minutes The purpose of secondary data.Each collection terminal adopts lithium battery power supply, in order to ensure that collection terminal can work long hours, is provided with the sun Energy battery charging function, employs 4.3 volts of lithium battery, the use of 5 volts of solar energys is lithium cell charging, and this solar energy has guarantor Protection circuit, that is, when lithium battery voltage is less than 4 volts, solar energy can give lithium cell charging, and cell voltage can stop when more than 4.5 volts being Only charge, the cell voltage of therefore collection terminal remains at more than 4 volts, less than 4.5 volts it is ensured that the stability of circuit work (The running voltage of collection terminal is 3.3 volts).
Fig. 5 is a specific embodiment, and 1 is notebook computer, and 30 is the connecting line of computer and user side, so as computer with User side is interactive, and 2 is user side, is the module of user operation, and 32 is wireless two-way transmission mark, and user side and relay station are described It is two-way for being wirelessly transferred, and 3 is relay station, and 34 is wireless two-way transmission mark between relay station, and the transmission between them is described It is also two-way, 35 is the wireless two-way transmission mark between relay station and collection terminal group, illustrates that the transmission between them is also Two-way, 4 is collection terminal group, and each collection terminal group comprises multiple collection terminals, and each collection terminal group is a specific colony.
Allocation of computer and software
Computer employs ThinkPad, dual core processor I5-6200U 2.2GHz, internal memory 4GB DDR3L, hard disk 1000GB HDD, screen, 14 inches of HD LED, resolution 1366*768.
Operating system is 7 32 systems of Windows, and is mounted with SQL Server 2000 data base, and data base is " system acquisition " data base, installing DB, in " SQL data " catalogue in the root of E disk, there are also installed that " single-chip microcomputer is mutual Dynamic program " program, " single-chip microcomputer interactive process " program is arranged in " interactive process " catalogue in D disk.
User side hardware configuration and software
Microcontroller MSP430FG4618,3.3 volts of normal working voltage, maximum operating currenbt 400uA, standby current 1.3uA.
Transmitting and receiving module E3A-ITU-1W, 8 volts of optimum operating voltage, transmission center frequency 433MHZ (425MHZ- 430.5MHZ), output 1W, 6000 meters of theoretical transmission distance, emission current 510mA, receive electric current 15.5mA, running voltage 8 volts, maximum pressure 28 volts.
The passive crystal oscillator of crystal oscillator 32.768KHz, resistance capacitance is all encapsulated using paster, 9 volts of chargeable lithium cells of battery, electricity Tankage 2500mAh, other configure as needed.
User side software be programming in microcontroller MSP430FG4618, its description no longer describes.
Relay station hardware configuration and software
Microcontroller MSP430FG4618,3.3 volts of normal working voltage, maximum operating currenbt 400uA, standby current 1.3uA.
Transmitting and receiving module E3A-ITU-1W, 8 volts of optimum operating voltage, transmission center frequency 433MHZ (425MHZ- 430.5MHZ), output 1W, 6000 meters of theoretical transmission distance, emission current 510mA, receive electric current 15.5mA, running voltage 8 volts, maximum pressure 28 volts.
The passive crystal oscillator of crystal oscillator 32.768KHz, resistance capacitance is all encapsulated using paster, 9 volts of chargeable lithium cells of battery, electricity Tankage 2500mAh, other configure as needed.
User side software be programming in microcontroller MSP430FG4618, its description no longer describes.
Collection terminal hardware configuration and software
Microcontroller MSP430FG4618,3.3 volts of normal working voltage, maximum operating currenbt 400uA, standby current 1.3uA.
Transmitting and receiving module E09-M1110A(Match with E3A-ITU-1W long-distance transmission module), 5 volts of optimum operating voltage, Transmission center frequency 433MHZ (425MHZ-430.5MHZ), output 10mW, 400 meters of theoretical transmission distance, emission current 30mA, receives electric current 15mA, 3.3 volts of running voltage, pressure 3.8 volts of maximum.
The passive crystal oscillator of crystal oscillator 32KHz, resistance capacitance is all encapsulated using paster, 3.6 volts of chargeable lithium cells of battery, battery Capacity 1850mAh, other configure as needed.
Collection terminal software be programming in the microcontroller, its description no longer describes.
The realization of embodiment
It is provided with a computer, a user side, 5 relay stations are respectively:No. 01 station, No. 02 station, No. 03 station, No. 04 station, Stand for No. 05, the collection terminal group of 5 relay stations is respectively:5 collection terminals(No. 01 o'clock to No. 05 point), 8 collection terminals(No. 01 point To No. 08 point), 6 collection terminals(No. 01 o'clock to No. 06 point), 10 collection terminals(No. 01 o'clock to No. 10 point), 15 collections End(No. 01 o'clock to No. 15 point), 44 collection terminals altogether.Acquisition module in these collection terminals has:Illumination acquisition module, wind Power acquisition module, temperature collect module, humidity collection module, Pm2.5 acquisition module(Major pollutants are fine particle)、 Pm1.0 acquisition module(Pellet), sulfur dioxide acquisition module (SO2), nitrogen dioxide acquisition module (NO2), ozone adopts Collection module (O3), carbon monoxide acquisition module (CO), three axle acquisition modules, ground vibration module etc..5 relay stations and user side Distance be respectively:No. 01 station 3Km, No. 02 station 8Km, No. 03 station 13Km, No. 04 station 18Km, No. 05 station 23Km, Wo Men User side is provided with the transmission data that can receive No. 01 station it is also possible to send instruction to No. 01 station.
Fig. 6 is that the data of the collection terminal collection of No. 03 point of No. 05 station relay station is sent to user side by each relay station, It is sent to the number transmission interface of No. 03 point at No. 05 station in computer by user side.
Fig. 7 is the temperature gathering in computer inquery No. 02 station -03 point of on June 21st, 2016 upon completion of a data transfer Partial data display sectional drawing is it can be seen that data is every storage in 10 minutes once.
Fig. 8 is meansigma methodss per hour in No. 02 station -03 point collecting temperature of computer inquery on June 23rd, 2,016 one day Temperature profile, can be clearly seen that the fluctuating situation of this day temperature change.
Each relay station is placed sequentially in the more complicated area of topographic features, collection terminal is placed on and at a distance of relay station is The position of 1Km to 3.5Km, the station acquisition data about sent someone about a week away from No. 01 station about 2Km, notebook Next computer clearly illustrates that data is that the collection terminal of No. 01 point collection terminal of relay station at No. 01 station starts to transmit data, passes Send the data of No. 02 point collection terminal ... until the data of the collection terminal at No. 01 station has all passed;Then the data that notebook shows It is the information of No. 02 each collection terminal in station ... until the collection terminal of No. 15 points of relay station at No. 05 station of transmission starts to transmit data, Due to being about week transmission data once, computer is with about 10 minutes.
Still ratio is more complete for data in inquiry computer, and the size in these data Cun Chudao data base only has 300Kb about(44 collection terminals were in the data volume of 7 days)It is achieved that data timing acquiring storage and non real-time transmission, be The still unlapped area of wired and wireless signal lays Internet of Things and provides a kind of technical scheme.
User side, collection terminal etc. are described below realizes program.
Edit the program of operation in user side, relay station, the microcontroller of collection terminal, edit in a computer and adopt The program of collection data and video data, below we are briefly described these programs:
The program summary of user side microcontroller
The program of user side is roughly divided into two parts, the communication of the communication program, user side and computer of user side and relay station Program, sketches separately below:1)Communication with regard to user side and relay station:A computer, a use is comprised in system schema Family end, multiple relay station, each relay station have a collection terminal group, and a collection terminal group has multiple collection terminals, therefore user side The communication actually with multiple relay stations for the communication with relay station, in order to be unlikely to multiple relay station transmitting conflicts, Wo Men The numbering of relay station is set, being sequentially transmitted data for relay station provides foundation, due to each relay station and user side in program Apart from different, some relay station distance users ends are closer, within the scope of user side can access;Some relay stations away from Distant from user side, not within the scope of user side accesses, the signal user side of these relay stations does not receive.That We just define a relay station is the relay station that user side accesses, and determines that its numbering is " No. 01 station ", therefore actual What upper user side accessed is only the relay station at " No. 01 station ", and does not access other relay stations.Other relay stations are by connecing The mode of power is sent to the relay station at " No. 01 station ", and " No. 01 station " relay station transfers data to user side again.Other relayings Numbering of standing is " No. 02 station ", " No. 03 station ", " No. 04 station " etc..In user side program, if starting user side, and user Have been sent from the instruction of gathered data, user side sends startup " No. 01 station " relay station first, and allowed " No. 01 station " to relay The each collection terminal of collection terminal group stood sends data, and the data of the collection terminal that " No. 01 station " relay station is numbered with regard to this is sequentially transmitted meter Calculation machine.After the completion of the transmission of this data, " No. 01 station " relay station can send, to user side, the instruction that data transmission completes.User End receives after data transmission completes instruction, starts " No. 02 station " relay station(Notice that at this moment " No. 01 station " relay station is still in work State), then this instruction sends " No. 02 station " relay station to by " No. 01 station " relay station, and " No. 02 station " relay station starts, And the collection terminal group of affiliated " No. 02 station " relay station can be sequentially transmitted data to " No. 02 station " relay station, " No. 02 station " relay station Transfer data to " No. 01 station " relay station again, " No. 01 station " relay station receiving data sends computer to regard to data immediately.“02 The data instruction that completes of transmission equally can be sent, this instruction equally can be sent to use after the completion of the relay station data transmission of number station " Family end, user side sends instruction again and starts " No. 03 station " relay station, by that analogy, until the collection terminal group belonging to all relay stations Data all transmission completes, after the completion of the transmission of all data, user side can send the instruction closing all relay stations, all Relay station quits work, in a dormant state;2)With regard to the communication of user side and computer, user side has received each relay station After the data of transmission, transfer data to computer, then computer just can be stored calculating with logarithm according to processing one by one In the data base of machine, in data transmission procedure, the data transfer display lamp in user side is flicker(This display lamp is permissible It is set to digital display tube, with the numbering of the numbering of the relay station of digital form display transmission and collection terminal), remind user data Just in the transmission.When the data transfer display lamp in user side stops flicker, illustrate that the data of all collection terminals all passes It is totally lost into, user side can send the data instruction that completes of transmission, computer also will no longer receiving data and storage, processing data. And the instruction of user side makes all relay stations quit work, in a dormant state;3)Start, close with regard to password and user side Explanation:After user side turns on the power switch, microcontroller obtains voltage, starts working.In the data that user side sends, it is Encryption and prevent co-channel interference, we are also provided with password, because the password of each relay station, collection terminal is the same, therefore Ensure that all relay stations in the system, the transmission of all collection end datas require.
In sum, after user side work, all relay stations, collection terminal need to carry out password check, relay station numbering core Work to the numbering verification of, collection terminal, in the case of password, two numberings are all correct, just can transmit data, thus protect Accuracy and the reliability of data are demonstrate,proved.
After the completion of user's end data all transmits(All relay stations are already at resting state), user should close power-off Source switch, user side quits work, and waits the data acquisition of next time.
The program summary of relay station microcontroller
The power supply of relay station is always on, and relay station is in the state of intercepting, and therefore relay station can detect user at any time Whether end has instruction to be transferred to this relay station.
The program of the microcontroller of relay station is mainly:When receiving enabled instruction, first determine whether password and relay station Numbering(The program of relay station is numbered with relay station already provided with password in advance)If password is correct, relay station is compiled Number correct, relay station is started working, and time delay 1 second, and the instruction sending gathered data is to the collection belonging to this relay station system End, collection terminal sends data according to order successively.We are in advance in a program already provided with this relay station system acquisition end Quantity, and these collection terminals are equally provided with numbering, and being sequentially transmitted data is to be sequentially transmitted according to the numbering of collection terminal.
After the completion of the data transfer of this relay station, issue instructions to collection terminal first and complete data transmission, without connecing Receive the instruction closing relay station, relay station keeps working condition, and enters relay state(I.e. relay state), wait The data receiver of next stage relay station and transmission, we are provided with a time delay in this process, that is, after time delay 1 second, receive With the data sending next stage relay station.
Receive after closing the instruction of relay station in relay station, also can time delay 1 second, the microcontroller of relay station and transmitting connect Receive module in a dormant state.
The program summary of collection terminal microcontroller
Collection terminal micro-controller program is broadly divided into two parts, and one is the program of acquisition module gathered data, and two is that collection terminal passes Send the program of data, discuss separately below:1)The collection of acquisition module data:Acquisition module 22 gathered data is timing acquiring , because the power supply of collection terminal is always on, microcontroller is work all the time, and microcontroller is provided with second signal and occurs Device, produces accurate second signal, this second signal as a signal source of microcontroller, it can according to the needs of program, , it is also possible to generate the timer of a stipulated time, this timer requires to be set according to user for date of formation, time data Fixed, what such as we set is 10 minutes intervalometers, below our program be all analyzed with this 10 minutes intervalometers.Separately Outer second signal also can date of formation, the timing of time, the depositor of microcontroller stores this date, time data, root According to second signal, this data of modification per second, data so in a register should be just synchronous with Beijing time.If reached Intervalometer timings in 10 minutes in microcontroller, microcontroller turns on power supply o controller 23, so that acquisition module 22 obtain voltage, and acquisition module can be carried out the collection of data, typically set acquisition time as 1 second(Certainly according to collection Module this acquisition time of difference can also be changed), the data that acquisition module collects, it is sent to microcontroller, first micro-control Device processed is processed to this data(Gathered data can carry out A/D conversion in microcontroller it would be desirable to be collection number Digital data, such as temperature should be .** DEG C of * *, and atmospheric pressure is * * .**KP, and wind-force is * * .**M/S etc., certainly, digital number According in be not tape unit), the relay station being provided with this collection terminal in advance in collection terminal program is numbered, collection terminal is numbered, adopted Collection type, so we are just easy to take out " relay station numbering, collection terminal numbering, date, time, grab type ", add just The just gathered data of collection, be just readily generated one " the relay station numbering+collection terminal numbering+date+time+grab type+ One character string of data ", has a space between each data of this character string, like this " No. 04 point 2016- in No. 03 station 5-24 17:22:33 wind power collectings 0.33 " are in order to be stored in each word of data base in computer mask data later Section.After generating this character string, microcontroller stores in SD storage card with regard to this character string, and in storage, program can detect Whether with the presence of same date, same to hour, with minute data(Also detection date, hour, the number of minutes are received)If do not deposited Increasing record and stored, if it does, covering record storage, this ensures that thering in SD storage card same date with little When only have a record with minute, do not have repeat record exist.In addition the data of this storage be according to the date, the time big Little arrange from small to large.After timing in 10 minutes terminates, after time delay 1 second, microcontroller cuts out power supply o controller 23, Acquisition module 22 is made to lose voltage and quit work, microcontroller resets to 10 minutes intervalometers simultaneously, 10 minutes intervalometers Restart timing, wait next 10 minutes gathered datas again.We are stored due to the capacity of SD storage card this Much bigger for individual character string(The storage card of such as 8Mb), therefore in the data of SD storage card storage, the data volume of a day is also only Only it is less than 7Kb, this SD storage card can store the data of 20 years about at least, this just extracts data for user and provides Very big temporal flexibility.2)The transmission of acquisition module data:After collection terminal receives transmission data command, first determine whether close Whether code, relay station numbering, collection terminal numbering are correct, if correctly, collection terminal can transmit data to relay station.At this moment microcontroller Device stops the timing of 10 minutes intervalometers, then wakes up microcontroller and transmitting and receiving module, microcontroller is from SD storage card Read the first data to be transmitted, and then read the second data and transmitted, by that analogy, therefore transmission data is one Bar one is sequentially transmitted, and the speed due to data transmission is 512 bytes per second it is assumed that needing to transmit 1000 data, every Data is 45 bytes, and the time of needs is about 90 seconds.There is individual problem in the middle of this, between collection terminal group, whether can produce misinformation Send?Said before this we, relay station is to send an instruction in receiving data, not only wrapped in this instruction Containing the instruction sending data, also comprise the numbering needing the collection terminal sending data, therefore between collection terminal group, transmission data is Misfeed will not be produced.After the completion of data all transmits, the microcontroller of collection terminal can send a data transmission and complete Instruction, relay station receives this and instructs and be transferred to computer, can send next collection terminal again and pass after confirming through user Send the instruction of data.The SD storage card just having transmitted data resets(Delete all data of the original storage of SD storage card), and And the transmitting and receiving module of collection terminal, microcontroller can in a dormant state, 10 minutes intervalometers of this collection terminal can reset, weight Newly start timing, repeat above-mentioned storing process;3)Need the problem of explanation:Each relay station in collection terminal group is numbered, is respectively adopted Collection end numbering, each grab type differ, and this is embodied in the difference of programming program.
Computer program is sketched
Use computer configuration suggestion using more than double-core Duo 2.6G CPU, the minimum DDR2 internal memory for 2G of internal memory, firmly The hard disk of 1T advised by disk, and, it is proposed that C disk is set to 60G, subregion D disk can be installed for subregion C disk installation operation system and application program It is proposed that D disk is set to 100G, subregion E disk storage gathered data is it is proposed that E disk is set to 600G, subregion F to other application programs Disk can store user file, and the control that is left distributes to F disk (being probably 170G).
Computer(Suggestion uses notebook computer)Using Windows 7 operating system, install SQL Server 2000 or SQL Server 2005 data base, using softwares for editing such as VC or VC++ or VB, edits the interactive process (Windows of user side In visualization procedure).
This with user side interactive process we it be called " single-chip microcomputer interactive process ", be below generally called " program ".In user After the connection computer socket insertion computer at end, (if inserting for the first time, program can install the driving journey of user side automatically Sequence), program can automatic.
If user side conveying data is at this moment detected, the data of program meeting automatic reception transmission, and with regard to every data Processed, generated:Relay station numbering (character data), collection terminal numbering (character data), date (date data), time (time data), type (character data), six data of data (single-precision number evidence), by this six data Cun Chudao SQL data " gathered data " tables of data in storehouse:
Field name Data type Field size Default value
ID Int 4 Automatic numbering field
Relay station is numbered NvaRchar 20 ''
Collection terminal is numbered NvaRchar 20 ''
Date DateTime 8 '2000-01-01'
Time DateTime 8 '00:00:00'
Type NvaRchar 20 ''
Data Real 4 0
Table one:The data list structure of gathered data
The arrangement of gathered data is very simple for program, before we said, have between every data and data One space, program can be according to space mask data and different according to data, is converted into the corresponding data class of tables of data Type (data type as above), is then stored in the tables of data of " gathered data ".
Because data is to be sent to computer one by one by user side, the data being thus stored in tables of data is also one Bar one is processed, storage, and the data of such collection terminal collection will all store tables of data.Data in a collection terminal After being transmitted, program can wait the data of next collection terminal to transmit, process, store, until the data of all collection terminals passes Send end.After the completion of the data of all collection terminals transmits, computer can send, to user side, the instruction that data transmission terminates, this When, the data transfer display lamp of user side can stop flashing, and illustrates that the data of collection terminal has been completely transferred to computer and The tables of data of stored " gathered data " to computer suffers, and at this moment user can close the power supply of user side.
Program storage data, we can browse in a program, inquire about, check data and curves etc..Accompanying drawing six is to use The surface chart of data, computer data storage is transmitted to computer in family end.Accompanying drawing seven is in program inquiring No. 02 station of on June 21st, 2016 The data query partial results of No. 03 point collection terminal whole day in station that continues, it will be seen that data is to gather once for every 10 minutes, adopt Collection data is than in greater detail.Accompanying drawing eight is to check that No. 03 collection terminal whole day of No. 02 relay station of on May 23rd, 2016 is every The curve chart of the meansigma methodss of hour gathered data, we are it will be clear that the situation of change of same day temperature.Certainly in computer Program is only a simple application program, but the data in the tables of data of " gathered data " of storage in data base is very Accurately, comprehensively, complete, we can export to the data of this tables of data in other computers (as server), with Reach the purpose of data sharing.
Computer is sketched to the driver of user side
The driver of user side be computer connect the necessary hardware drive program of user side, this driver include with The driver to user side for the lower operating system:Windows XP、Windows 7、Windows 8、Windows 10、 Windows Server 2003, the driver of Windows Server 2008, we prefer that the operation using Windows 7 System.
After user side for the first time inserts computer (can be serial ports or UBS mouth it is proposed that using UBS mouth), behaviour Make system detectio to finding new hardware, then the driver of new hardware is installed, program can automatically detect this user side Driver, is then installed.
A kind of Internet of Things data collection storage and non real-time transmission system that the present invention provides, by collection information Storage, neatly control device the transmission of gathered data is controlled it is achieved that non real-time transmission, be Internet of Things special Area(As remote districts)Application provide a kind of effective ways and means.Ability and the range of application of Internet of Things are expanded
The foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, for those skilled in the art For member, the present invention can have various modifications and variations.All any modifications within the spirit and principles in the present invention, made, Equivalent, improvement etc., should be included within the scope of the present invention.

Claims (10)

1. a kind of Internet of Things data collection storage and non real-time transmission system, are to utilize RFID technique, including a user End, multiple relay station and multiple collection points it is characterised in that:Computer(1)With user side(2)Interactive connection, described user side (2)With described relay station(3)By being wirelessly transferred connection, described relay station(3)Collection terminal group corresponding with oneself(4)By no Line transmission connects, described collection terminal group(4)In comprise multiple collection terminals(5);
Described user side(2)Transmission instruction instruction is sent by user, and described relay station is passed through in described transmission instruction(3)Send To described collection terminal(5);
Receive the described collection terminal of described transmission instruction(5)Stop data acquisition, and will collect and be stored in SD storage Gathered data in card is sent to described relay station(3), described relay station(3)Described gathered data is sent to described user side (2), described user side(2)By the described acquired data storage receiving to described computer(1)In.
2. Internet of Things data collection according to claim 1 storage and non real-time transmission system it is characterised in that:Institute The system of stating employs RFID technique, described user side(2)Setting one is responsible for multiple relay stations(3)Transmit user instruction and connect Receive relay station(3)Send the data of returning, and transfer data to computer(1), and it is stored in computer(1)Data In storehouse;Described user side distributes the sequencing of relay station, the working condition of the sequential control relay station according to relay station.
3. Internet of Things data collection according to claim 1 storage and non real-time transmission system it is characterised in that:Institute State relay station(3)One collection terminal group of subordinate(4), a collection terminal group(4)Include multiple collection terminals(5), and this adopts Collection end group(4)In collection terminal(5)Only one's own relay station.
4. Internet of Things data collection according to claim 1 storage and non real-time transmission system it is characterised in that:Institute Password identification is comprised with relay station numbering identification instruction, each relay station has password identification in the data of user side transmitting stated Function and the numbering identification function of relay station oneself, to prevent each relay station from producing misoperation and other letters preventing same frequency Number interference.
5. Internet of Things data collection according to claim 1 storage and non real-time transmission system it is characterised in that:Institute The system of stating has multiple relay stations, and each relay station is independent, has respective relay station numbering, and each relay station is controlled by user side, Determine working method, each relay station can transmit data it is also possible to the instruction at receive user end to user side.
6. Internet of Things data collection according to claim 1 storage and non real-time transmission system it is characterised in that:Institute The system stated has multiple relay stations, and each relay station transmits data according to numbering to user side or a upper relay station, or according to volume Number to user side or the transmission instruction of next relay station, to determine that each relay station is data or the transmission between transmission relay station The data of oneself collection terminal.
7. Internet of Things data collection according to claim 1 storage and non real-time transmission system it is characterised in that:Institute Stating this system has multiple collection terminals, it is characterized in that collection terminal when being not received by relay station transmission signal instruction, every several points Clock automatic data collection, and by the data storage collecting in storage card;When receiving relay station transmission data command, Stop data collection, the data storing in storage card is sent to the relay station belonging to oneself, and this transmit process is root It is sequentially transmitted according to the numbering of collection terminal;After the transmission of this collection end data terminates, terminate the instruction of transmission data, be again introduced into The process of automatic data collection.
8. Internet of Things data collection according to claim 1 storage and non real-time transmission system it is characterised in that:Institute The system stated has multiple collection terminals, and the collection content of each collection terminal is different, and each collection point is the relay station by oneself Control, other relay stations do not have control authority to this collection point.
9. Internet of Things data collection storage according to claim 1 and non real-time transmission system it is characterised in that: Described system has multiple collection terminals, each collection terminal have oneself numbering with check relay station numbering, refer in reception First determine whether when making whether password is correct, then judges whether it is controlled relay station, and whether is the collection terminal of itself, if It is the instruction that could execute relay station, be otherwise not carried out instructing.
10. Internet of Things data collection storage according to claim 1 and non real-time transmission system, its feature exists In:The all collection terminals of described system employ storage card and the data timing of collection are stored in storage card, send out in relay station When going out to transmit data command, stop data collection, the data being stored in storage card sends relay station to, transmit after terminating certainly The dynamic process entering timing acquiring data.
CN201610889874.6A 2016-10-13 2016-10-13 Periodic collection and storage and non-real time transmission system of information of Internet of Things Pending CN106412074A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610889874.6A CN106412074A (en) 2016-10-13 2016-10-13 Periodic collection and storage and non-real time transmission system of information of Internet of Things

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610889874.6A CN106412074A (en) 2016-10-13 2016-10-13 Periodic collection and storage and non-real time transmission system of information of Internet of Things

Publications (1)

Publication Number Publication Date
CN106412074A true CN106412074A (en) 2017-02-15

Family

ID=59229262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610889874.6A Pending CN106412074A (en) 2016-10-13 2016-10-13 Periodic collection and storage and non-real time transmission system of information of Internet of Things

Country Status (1)

Country Link
CN (1) CN106412074A (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993953A (en) * 2018-01-02 2019-07-09 沈飞 A kind of low-power consumption power supply module
CN110329307A (en) * 2019-07-26 2019-10-15 上海工程技术大学 A kind of passive and wireless shaft temperature monitoring system

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006323A (en) * 2010-11-19 2011-04-06 上海波顿无线传感技术有限公司 Environmental monitoring Internet-of-things system
CN202385299U (en) * 2011-12-14 2012-08-15 北京时代凌宇科技有限公司 Mobile environment monitor system
CN102855743A (en) * 2011-06-30 2013-01-02 北京新媒传信科技有限公司 Meter reading system and method
CN103166919A (en) * 2011-12-13 2013-06-19 中国移动通信集团黑龙江有限公司 Method and system for internet of things information transmission
CN103200249A (en) * 2013-03-26 2013-07-10 大连理工大学 Method for achieving Internet of things intelligent data gateway system
CN104507134A (en) * 2014-12-02 2015-04-08 黄河科技学院 Wireless data information acquisition system based on Internet of things
CN105278469A (en) * 2014-05-27 2016-01-27 无锡韩光电器有限公司 2.4G technology based internet of things application system
CN105375584A (en) * 2015-12-15 2016-03-02 青海民族大学 Timing low-power consumption energy-saving apparatus
CN105654231A (en) * 2015-12-22 2016-06-08 天津大学 Monitoring method based on green campus ecological information platform
CN105865534A (en) * 2016-06-22 2016-08-17 长沙学院 Monitoring method based on agriculture internet of things

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102006323A (en) * 2010-11-19 2011-04-06 上海波顿无线传感技术有限公司 Environmental monitoring Internet-of-things system
CN102855743A (en) * 2011-06-30 2013-01-02 北京新媒传信科技有限公司 Meter reading system and method
CN103166919A (en) * 2011-12-13 2013-06-19 中国移动通信集团黑龙江有限公司 Method and system for internet of things information transmission
CN202385299U (en) * 2011-12-14 2012-08-15 北京时代凌宇科技有限公司 Mobile environment monitor system
CN103200249A (en) * 2013-03-26 2013-07-10 大连理工大学 Method for achieving Internet of things intelligent data gateway system
CN105278469A (en) * 2014-05-27 2016-01-27 无锡韩光电器有限公司 2.4G technology based internet of things application system
CN104507134A (en) * 2014-12-02 2015-04-08 黄河科技学院 Wireless data information acquisition system based on Internet of things
CN105375584A (en) * 2015-12-15 2016-03-02 青海民族大学 Timing low-power consumption energy-saving apparatus
CN105654231A (en) * 2015-12-22 2016-06-08 天津大学 Monitoring method based on green campus ecological information platform
CN105865534A (en) * 2016-06-22 2016-08-17 长沙学院 Monitoring method based on agriculture internet of things

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109993953A (en) * 2018-01-02 2019-07-09 沈飞 A kind of low-power consumption power supply module
CN109993953B (en) * 2018-01-02 2022-06-28 严如强 Low-power consumption power supply module
CN110329307A (en) * 2019-07-26 2019-10-15 上海工程技术大学 A kind of passive and wireless shaft temperature monitoring system

Similar Documents

Publication Publication Date Title
CN208850076U (en) NB-IoT-based indoor environment monitoring system
CN201716844U (en) Remote electric power metering system
CN206331578U (en) A kind of low-power consumption remote gauged rainfall system based on Technology of Wireless Spread Spectrum
CN101894448A (en) Remote centralized meter-reading system
CN201344961Y (en) Remote wireless security monitoring device for distributed lightening arresters
CN102905354B (en) Synchronization method for low-power-consumption wireless meter reading system
CN206332860U (en) LoRa gateways
CN204990657U (en) Remote meter reading system
CN106642573A (en) Controller based on three-phase air conditioner intelligent control and energy-saving management
CN101882356A (en) Wireless meter reading method
Zhang et al. A kind of design schema of wireless smart water meter reading system based on zigbee technology
CN102915018A (en) Distributed environment monitoring system based on WIFI
CN102721435B (en) Forest environment Benefit Monitoring system based on wireless sensor network
CN204350048U (en) A kind of wired home management of power use device towards cloud service
CN103077594A (en) ZigBee-based wind power plant wireless data acquisition system
CN106412074A (en) Periodic collection and storage and non-real time transmission system of information of Internet of Things
CN106227689A (en) A kind of based on Internet of Things and the data collection station of cloud
CN107592411B (en) Communication interface and communication method
CN204242391U (en) Intelligent mobile phone Bluetooth turns infrared writing-down device for meters
CN206331579U (en) LoRa universal nodes
CN211121608U (en) L oRa-based multichannel vibrating wire acquisition instrument
CN201229662Y (en) Remote solar automatic monitoring system for noise
CN112910833A (en) Detection system based on lora thing networking gateway
CN104680769A (en) Bluetooth-to-infrared meter reading system of intelligent mobile phone
CN102548032A (en) Wireless sensing network node capable of realizing simultaneous access of digital quantity and analog quantity

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20170215

RJ01 Rejection of invention patent application after publication