Based on two net monitor systems of ZigBee and GPRSTechnical field
The present invention relates to monitoring, earthquake relief work and positioning searching, be specifically related to a kind of two net monitor systems based on ZigBee protocol (ZigBee) and general packet radio service technology (GPRS).
Background technology
Along with the development of the Internet and electronic communication technology, the space orientation technique based on GPRS network obtains and develops rapidly and apply.Nearly all automobile has all carried satellite navigation system, some bus has also carried hygienic trace system, geographical location information is passed to Control Room by GPRS network by the global positioning system (GPS) on car or Beidou navigation module, to facilitate scheduling and the monitoring in real time of vehicle.Global position system based on GPRS and GPS have also been obtained vigorous growth in personal monitoring field, old man or child wear miniaturized GPS module with it, at a certain time interval geographical location information is passed to server by GPRS network, relatives are undertaken searching or guarding by access services device.
These existing monitor systems, are all based on GPRS network communication, are also widely used in positioning searching.Although do not having the place of GPRS signal to position search in theory, GPRS network is all generally being covered at present, is therefore applicable to most of situation completely.But in face of natural calamity, when GPRS network and equipment are suffered to think strike and destruction, the client location searched or guard just cannot be known by monitored end, makes target be difficult to location, and search is difficult to launch.Although at this moment can GPRS network be rebuild, because the equipment of GPRS network is complicated, rebuilds and need a large amount of manpower of cost and time, and search monitoring can not delay.
Summary of the invention
The technical issues that need to address of the present invention are, how to provide a kind of two net monitor systems based on ZigBee and GPRS, can meet the positioning searching under the various complex situations such as earthquake relief work, thus realize guarding without blind spot.
Above-mentioned technical problem of the present invention solves like this, builds a kind of two net monitor systems based on ZigBee and GPRS, it is characterized in that, comprising:
One class client, comprises the locating module of client's main control module and electrical connection thereof, client's ZigBee module and client's bluetooth module;
Monitoring side, comprises monitoring bluetooth module and the monitoring ZigBee module of monitoring main control module and electrical connection thereof;
This pair of two like this net work of net monitor system: a class client/monitoring side utilizes the GPRS gateway apparatus of respective bluetooth module first search band bluetooth to transfer into GPRS network, and client's ZigBee module is searched for and accessed ZigBee-network when not searching GPRS network; One class client is not when accessing GPRS network, and time recording also stores current self-position data, when accessing GPRS network, and the position data that timing outwards sends current self-position data and was not sent out in the past.
This cover system can complete ZigBee MANET, need not directly realize the search at earthquake relief work scene by external network.
According to provided by the invention pair of net monitor system, also comprise the mobile phone be connected with described client and monitoring side bluetooth.
According to provided by the invention pair of net monitor system, also comprise the GPRS network be connected with described mobile phone wireless.
This cover system can also realize searching on a large scale by outside GPRS network and transmission position or other information, to monitoring client, are convenient to obtain more help whenever and wherever possible.
According to provided by the invention pair of net monitor system, described pair of net monitor system also comprises the locating module of built-in client's main control module and electrical connection thereof and two class clients of client's ZigBee module.Meet the temporary needs of the on-the-spot rescue worker of earthquake relief work itself like this.
According to provided by the invention pair of net monitor system, client is multiple, their such collaborative works: the client not accessing GPRS network forwards by other clients of common composition ZigBee-network the position data outwards being sent current location data by the client of the access GPRS network in this ZigBee-network and be not sent out in the past.
According to provided by the invention pair of net monitor system, every class client all also comprises the detection module for detecting client environment or situation of the built-in sensors be electrically connected with client's main control module, and client also records, store or outwards send detection data/alarm.
According to provided by the invention pair of net monitor system, this system also comprises and receives and store the background server of each client geographic position data.This cover system can also allow more people pay close attention to and help to search.
According to provided by the invention pair of net monitor system, the locating module in client includes, but are not limited to be GPS module, Beidou navigation module or GLONASS (GLONASS) module.
According to provided by the invention pair of net monitor system, described monitoring side also comprises the display module of monitoring main control module and electrical connection thereof.
According to provided by the invention pair of net monitor system, described pair of net monitor system also comprises the exterior display device that be connected wired or wireless with monitoring side.
According to provided by the invention pair of net monitor system, described client also comprises the button and power module that are electrically connected with client's main control module.Such client can initiatively send the signals such as emergency.
According to provided by the invention pair of net monitor system, in this system, GPRS gateway apparatus is mobile phone.
According to provided by the invention pair of net monitor system, described transducer comprises pressure sensor, gas sensor or temperature sensor.
Two net monitor systems based on ZigBee and GPRS provided by the invention, compared with prior art, have following advantage:
1, adopt ZigBee and GPRS dual network framework to guarantee the information that can monitor client anywhere, realize guarding without blind spot;
2, each client can with mobile phone Direct Communication, simultaneously uploading data;
3, the data passing to server can by mobile client real time inspections such as mobile phones, and network is opening more, easy to use;
4, not only there is display module monitoring side, and carries bluetooth module, data can be passed to mobile phone simultaneously and better to check on mobile phone or by mobile phone upload server;
5, record, store or send position/detection/alarm data, make monitoring without time ubiquitous, and positioning searching after greatly having helped calamity.
Accompanying drawing explanation
Below in conjunction with the drawings and specific embodiments, the present invention is described in detail further.
Fig. 1 is the overall architecture schematic diagram of the two net monitor systems based on ZigBee and GPRS of the present invention;
Fig. 2 is the internal circuit configuration schematic diagram of client in Fig. 1;
Fig. 3 is the internal circuit configuration schematic diagram of monitoring side in Fig. 1;
Fig. 4 is that schematic diagram of mechanism selected by two nets that two net monitor system shown in Fig. 1 is taked;
Fig. 5 is the synergistic mechanism schematic diagram of two net monitor system shown in Fig. 1.
Embodiment
First, the two net monitor systems based on ZigBee and GPRS of the brief description specific embodiment of the invention: this system is made up of some clients and a monitoring side.Each client has a satellite positioning module, a ZigBee communication module and a bluetooth module, the geographical location information that satellite positioning module obtains by single-chip microcomputer and the user profile detected divide two-way to spread out of simultaneously: ZigBee module of leading up to passes to ZigBee-network, bluetooth module of separately leading up to passes to mobile phone, and the GPRS module intrinsic by mobile phone passes to GPRS network.Monitoring side forms primarily of a ZigBee communication module, a bluetooth module and display, it is responsible for the data received from ZigBee-network or GPRS network, the real-time geographical location information demonstrating client, the data that simultaneously client can be transmitted pass to server, for backstage by the GPRS module that mobile phone is intrinsic.
Secondly, the two net monitor systems based on ZigBee and GPRS of the specific embodiment of the invention, basic framework as shown in Figure 1, primarily of four part compositions, is respectively: client, monitoring side, mobile phone and server.Native system has the client of or more, is not having the place of GPRS network signal, and geographical location information and the user profile that detects are passed to monitoring side by ZigBee MANET by client, thus inform position and the state of human observer oneself.There iing the place of GPRS network signal, geographical location information and the user profile detected are passed to mobile phone by bluetooth module by client simultaneously, mobile phone upload the data to server by GPRS network after receiving information, monitoring side now can by GPRS net connection server display client information, the information that human observer also can be spread out of by mobile phone connection server viewing client-side.Wherein:
(i) client, particular circuit configurations as shown in Figure 2, mainly contains 6 part compositions, comprising: client's main control module, power module, client's ZigBee module, client's bluetooth module, satellite positioning module, detection module.Client's main control module contains single-chip microcomputer and governor circuit, is responsible for the communication of other modules and controls other module coordination work; Satellite positioning module is responsible for obtaining geographic position data with satellite communication; Client's bluetooth module is responsible for client and geographical location information and the user profile detected are passed to server by mobile phone by mobile communication, and this module is not essential within the system; Client's ZigBee module be responsible for geographical location information and the user profile that detects to pass to monitoring side and simultaneously the signal of other module of route relaying to improve transmission range; Detection module is responsible for use information monitoring and the signal conversion of user, as button, and the collection of the information such as pressure or body temperature and voltage signal conversion; Power module is responsible for voltage transitions and is powered to client.
(ii) monitoring side, particular circuit configurations as shown in Figure 3, mainly contains 5 part compositions, comprising: monitoring main control module, power module, monitoring ZigBee module, monitoring bluetooth module, display module.Monitoring main control module contains single-chip microcomputer and governor circuit, is responsible for the communication of other modules and controls other module coordination work; Power module is responsible for voltage transitions and is powered to monitoring side; Monitoring ZigBee module is responsible for the data that reception client is transmitted by ZigBee-network; Monitoring bluetooth module is responsible for monitoring side and geographical location information and the user profile detected are passed to mobile phone by mobile communication, and display module is responsible for the client-side information received directly to show.
Two net monitor systems based on ZigBee and GPRS of the specific embodiment of the invention, adopt gprs and ZigBee dual network framework to guarantee the information that can monitor client anywhere; ZigBee module is carried satellite positioning module and is positioned and information transmission; Bluetooth module carries satellite positioning module and positions and information transmission; Each client can with mobile phone Direct Communication, simultaneously uploading data; The data passing to server can by mobile client real time inspections such as mobile phones, and network is opening more, easy to use; Client uses ZigBee and bluetooth module to carry out wireless telecommunications; Not only there is display module monitoring side, and carries bluetooth module, data can be passed to mobile phone simultaneously and better to check on mobile phone or by mobile phone upload server.
Two net monitor systems based on ZigBee and GPRS of the specific embodiment of the invention also can be optimized further: client not with bluetooth module (directly use SIM card and GPRS network), monitoring side not with display screen (using the screen of mobile phone), do not use mobile phone or do not use server.
Finally, core work of the present invention mechanism is described:
(i) mechanism selected by two net
As shown in Figure 4, in GPRS signaling zone, client can select GPRS network automatically, and in ZigBee signaling zone, client can select ZigBee-network automatically, and in the region of GPRS signal and ZigBee signal overlap, client first selects GPRS network.
(ii) synergistic mechanism
Its positional information can be sent every several seconds clients and send remote server to.When there is no GPRS signal, geographical location information can be stored in the holder of self by client a, send to other client within around 1KM or monitoring side b simultaneously, there is the effect of relaying each client or monitoring side, b relaying passes to c, c is that client or the monitoring side that have GPRS signal, and the information of a can be passed to server by the lump, specifically as shown in Figure 5.If around do not have other client, so the information of this client can be stored in the holder of self always, and when there being GPRS signal, all data can pass to server together, the movement track of user in that time still seeing disappearance.
The foregoing is only preferred embodiment of the present invention, all equalizations done according to the claims in the present invention scope change and modify, and all should belong to the covering scope of the claims in the present invention.