Summary of the invention
It is a kind of applied to mobile gunz sensing network in view of the deficiencies of the prior art, the present invention intends to provide
The power-economizing method of node, can reduce the competition conflict of AP node, while reduce the energy consumption of mobile terminal.
To achieve the above object, the present invention provides the following technical scheme that a kind of be applied to mobile gunz sensing network section
The power-economizing method of point, including Cloud Server, mobile terminal, data relay station, sleep block, GPS positioning module;In the data
Turn station to communicate to connect with Cloud Server;The GPS positioning module is arranged on an AP node;The sleep block and AP node connect
It connects, whether controlling mobile terminal sleep;The mobile terminal acquires the node port information of each AP node of the terminal surrounding
And the GPS positioning information of the terminal, and feed back to data relay station, the data relay station by node port information and
GPS positioning information is transmitted to Cloud Server, and Cloud Server receives the node port information and GPS positioning information, passes through ratio
To GPS positioning information, the node port information of the nearest AP node of positional distance mobile terminal on AP node is sent to movement
Terminal, mobile terminal selection corresponding node port information AP node be attached, while Cloud Server send dormancy instruction to
Other AP nodes in 50 meters of the AP node, the corresponding AP node of each sleep block control enters suspend mode at this time.
As a further improvement of the present invention, the AP node of each sleep block control suspend mode is active in turn, simultaneously
Originally active AP node enters dormant state, in turn between be divided into 2 hours.
As a further improvement of the present invention, the first bluetooth module is provided in the AP node, in the mobile terminal
It is provided with corresponding second bluetooth module, AP node is communicated by the matching between the first bluetooth module, the second bluetooth mould by AP
The node port information and GPS positioning information of node are transferred to mobile terminal.
As a further improvement of the present invention, the mobile terminal to the node port information of each AP node of surrounding with
And the GPS positioning information of the terminal acquires when finishing, mobile terminal passes through between the first bluetooth module and the second bluetooth module
The GPS positioning information received and node port information are sent to one of AP node by matching communication, which will
The GPS positioning information and node port information received feeds back to data relay station by internet.
As a further improvement of the present invention, the mobile terminal has GPRS communication module, and the mobile terminal passes through
GPRS communication module feedback node port information and GPS positioning information give data relay station.
As a further improvement of the present invention, when the mobile terminal exceeds 50 meters of AP node linear distance, the movement
Terminal resurveys the node port information and GPS positioning information of AP node around, and is believed by internet feedback node port
Breath and GPS positioning information give data relay station;The data relay station transmits node port information and GPS positioning information
To Cloud Server, Cloud Server receives the node port information and GPS positioning information, and by comparing GPS positioning information, AP is saved
The node port information of the nearest AP node of positional distance mobile terminal is sent to mobile terminal on point, and mobile terminal reselects
The AP node of corresponding node port information is attached.
As a further improvement of the present invention, adaptive clamp assemblies are provided on the data relay station, it is described adaptive
Answering clamp assemblies includes pedestal, limitation component, clamp assemblies;The pedestal is fixedly connected with data relay station;The limitation group
Part is removably attachable to clamp assemblies, and matches with clamp assemblies, to limit clamp assemblies tightening;The clamp assemblies peace
On pedestal;After limitation component is disassembled, clamp assemblies tightening will be in pedestal clamping outside portion's object.
As a further improvement of the present invention, the clamp assemblies include clockwork spring, driving gear, transmission gear, ratchet, spine
Pawl, gag lever post, telescopic shaft, assembling stand, supporting rod;The clockwork spring, driving gear, coaxial ratchet are fixed, and are arranged at assembly
In seat, one end of the opposite exterior lateral sides of the clockwork spring is fixedly connected with the inner wall of assembling stand;The transmission gear is nibbled with driving gear
It closes, the transmission gear is also engaged with telescopic shaft, and one end of the telescopic shaft is engaged with supporting rod, the supporting rod also company of sliding
It connects in assembling stand;When transmission gear rotation, telescopic shaft is driven to take in assembling stand or stretch out assembling stand, and then drive clamping
Bar clamps or releases exterior object;The gag lever post is slidably connected in assembling stand, and dress is stretched out in one end of the gag lever post
With seat and it is fixedly connected with pull ring, the other end is hinged with pawl, and when gag lever post is inserted into assembling stand, pawl and ratchet match
It closes, to limit ratchet wheel.
As a further improvement of the present invention, deformable elastic slice, the assembling stand are fixedly connected on the gag lever post
The limiting slot for inside offering cooperation elastic slice, limits gag lever post when elastic slice is embedded into limiting slot.
The Cloud Server operation efficiency of beneficial effects of the present invention, setting is high, and memory space is big, and analysis can be improved
Rate, the location information that mobile phone also searches oneself at this time is sent to data relay station, and data relay station can administer one
The AP node of panel region, the data that Cloud Server can be allowed to receive have regionality, while reducing the workload of Cloud Server,
Cloud Server is facilitated directly to be sorted out;The sleep block of setting is convenient to control AP node, makes it into dormant state
Or active state;GPS positioning module can position the position of each AP node, and Cloud Server is facilitated efficiently to be compared, and lead to
It crosses and controls most AP node and enter dormant state, the power consumption of AP node can be reduced at this time, it can also be to avoid AP node
The excessive resource of frequency range excessively is occupied, while also reducing the collision for fighting for channel, user mobile phone can also be reduced and constantly searched for
The energy consumption of AP node, additionally it is possible to increase the fluency of user mobile phone access.
Specific embodiment
The present invention is described in further detail below in conjunction with embodiment given by attached drawing.
Referring to Fig.1 shown in -6, a kind of power-economizing method applied to mobile gunz sensing network node of the present embodiment, including
Cloud Server 1, mobile terminal 2, data relay station 3, sleep block 4, GPS positioning module 5;The data relay station 3 takes with cloud
Business device 1 communicates to connect;The GPS positioning module 5 is arranged on an AP node 6;The sleep block 4 is connect with AP node 6, control
Whether 2 suspend mode of mobile terminal processed;The mobile terminal 2 acquire the node port information of each AP node 6 of the terminal surrounding with
And the GPS positioning information of the terminal, and feed back to data relay station 3, the data relay station 3 by node port information and
GPS positioning information is transmitted to Cloud Server 1, and Cloud Server 1 receives the node port information and GPS positioning information, passes through
GPS positioning information is compared, the node port information of the nearest AP node 6 of positional distance mobile terminal 2 on AP node 6 is sent to
Mobile terminal 2, mobile terminal 2 select the AP node 6 of corresponding node port information to be attached, while the transmission of Cloud Server 1 is stopped
Instruction sleep to other AP nodes 6 in 650 meters of the AP node, at this time each sleep block 4 control corresponding AP node 6 into
Enter suspend mode.
Through the above technical solutions, for this programme is using mobile phone as mobile terminal 2, it is highly dense when there is user to enter for the first time
When spending under 6 environment of AP node, mobile terminal 2 acquires the node side message of 10 meters of radius or so of all AP nodes 6 around user
The GPS positioning information of breath and the terminal collects user after finishing and passes through the communication modes such as the bluetooth of mobile phone or data line
It is transferred to data relay station 3, for terminal by internet transmissions to Cloud Server 1, existing mobile phone all has GPS positioning function at this time
Can, the location information that mobile phone also searches oneself at this time is sent to data relay station 3, is sent together by data relay station 3
To Cloud Server 1, Cloud Server 1 compares the location information of user mobile phone and the GPS positioning information of AP node 6, will be with user hand
The node port information of the nearest AP node 6 of the location information of machine is sent to data relay station 3, and passing through data relay station 3 will
The node port information feeds back to the mobile phone of user, and the handset-selected connection of the user AP node 6 is attached at this time, while cloud
Server 1 sends dormancy instruction to remaining AP node 6, and the AP node 6 for receiving dormancy instruction can be under the control of sleep block 4
Into dormant state;Sleep block 4 can have control function using what STM32 Series of MCU and its peripheral circuit were constituted
And the circuit module of signal transfer functions, suspend mode shape is made it by sending sleep signal to the circuit board in AP node 6
State, stopping launch outward wireless signal;The power consumption of AP node 6 can be reduced at this time, it can also be to avoid occupying excessive frequency range
Resource, while the collision for fighting for channel is also reduced, the energy consumption that user mobile phone constantly searches for AP node 6 can also be reduced;This programme
In 50 meters be only preferred distance in this programme, with development in science and technology, which can increasingly grow.
As a kind of improved specific embodiment, the AP node 6 that each sleep block 4 controls suspend mode is lived in turn
Jump, while active AP node 6 enters dormant state originally, in turn between be divided into 2 hours.
Through the above technical solutions, each AP node 6 is active in turn, and it can be with mean allocation workload, it can be to avoid single
AP node 6 excessively running and lead to equipment job insecurity, by mode active in turn can increase AP node 6 operation
Stability, while being able to maintain the mean allocation of frequency range.Wherein 2 hours presently preferred durations for this programme, as science and technology is sent out
Exhibition, the duration can be varied, which can allow the AP node 6 of surrounding sufficiently to be enlivened and rested, if there is single
Node failure can also automatically switch other nodes after 2 hours, just be capable of providing time enough later for repairing people
Member repairs.
As a kind of improved specific embodiment, the first bluetooth module 61, the movement are provided in the AP node 6
It is provided with corresponding second bluetooth module 21 in terminal 2, third bluetooth module, AP node 6 are provided in the data relay station 3
It is communicated by the matching between the first bluetooth module 61, the second bluetooth mould by GPS positioning information and the node side of the AP node 6
Message breath is transferred to mobile terminal 2, and mobile terminal 2 is communicated by the matching between the second bluetooth module 21, third bluetooth module
The node port information for all AP nodes 6 being collected into and GPS positioning information are sent to data relay station 3.
Through the above technical solutions, being counted by matching between the first bluetooth module 61 and the second bluetooth module 21
According to transmission, the node port information and GPS positioning information of AP nodes 6 all around can be efficiently collected, and is not had
Additional communication cost is generated, avoids user that from cannot connecting in the case where no communication cost remaining sum into network, just can not
By mobile phone to the node port information of AP node 6 be sent to data relay station 3, and then lead to not allow.
As a kind of improved specific embodiment, the node port of each AP node 6 around 2 pairs of the mobile terminal
When the acquisition of the GPS positioning information of information and the terminal finishes, mobile terminal 2 passes through the first bluetooth module 61 and the second bluetooth mould
Matching between block 21, which is communicated, is sent to one of AP node 6 for the GPS positioning information received and node port information,
The AP node 6 passes through the GPS positioning information received and node port information logical between AP node 6 and data relay station 3
Letter feeds back to data relay station 3.
Through the above technical solutions, when the mobile phone of user has collected all GPS positioning information and node port information,
Mobile phone is attached by the first bluetooth module 61 and one of AP node 6 of surrounding, passes through the first bluetooth module 61 at this time
It is communicated with the matching of the second bluetooth module 21, the mobile phone of user can be by the GPS positioning information being collected into and node side message
Breath is transferred to the AP node 6 in connection, and the data are then passed through the Internet transmission to data relay station 3 by AP node 6, then
It is transmitted to Cloud Server 1 by data relay station 3, the AP node 6 of a panel region can be administered by data relay station 3, it can
The data for allowing Cloud Server 1 to receive have regionality, while reducing the workload of Cloud Server 1, facilitate Cloud Server 1 direct
Sorted out, and be transmitted to for data relay station 3 by the data that AP node 6 receives mobile phone, reduces the function of mobile phone
It can require, also need not communication module be additionally set in data relay station 3 and be attached with mobile phone, be saved into a certain extent
This.
As a kind of improved specific embodiment, the mobile terminal 2 has GPRS communication module, the mobile terminal
2 pass through GPRS communication module feedback node port information and GPS positioning information to data relay station 3.
Through the above technical solutions, can directly pass through GPRS communication module if the mobile phone charge remaining sum of user is sufficient,
Node port information and GPS positioning information that user mobile phone receives are sent to data relay station 3.Signal transmission is more straight
A possibility that connecing, reducing loss of data in signal repeating process.
As a kind of improved specific embodiment, when the mobile terminal 2 exceeds 50 meters of 6 linear distance of AP node, institute
Node port information and GPS positioning information that mobile terminal 2 resurveys AP node 6 around are stated, and is fed back and is saved by internet
Point port information and GPS positioning information are to data relay station 3;The data relay station 3 is believed by node port information and GPS positioning
Breath is transmitted to Cloud Server 1, and Cloud Server 1 receives the node port information and GPS positioning information, fixed by comparing GPS
Position information, is sent to mobile terminal for the node port information of the nearest AP node 6 of positional distance mobile terminal 2 on AP node 6
2, the AP node 6 that mobile terminal 2 reselects corresponding node port information is attached.
Through the above technical solutions, internet is accessed since mobile phone has passed through AP node 6, and outdoors, existing AP section
The radio frequency area coverage of point 6 can achieve 100 meters of radius, and the linear distance between user's carrying mobile phone and AP node 6 reaches at this time
It arrives or when more than 50 meters, mobile phone will re-search for surrounding AP node 6, can re-search for not entering suspend mode shape at this time
The AP node 6 of state, then gravity treatment feeds back to mobile phone, the new AP section of mobile phone reselection after comparing and selecting by Cloud Server 1
Point 6 is attached, and Cloud Server 1 retransmits dormancy instruction to remaining AP node 6 at this time, by sleep block 4 control its into
Enter dormant state, the AP node 6 of AP node 6 densely is most of after a wheel circulation enters dormant state and live in turn
Jump significantly reduces the collision that channel competition generates;The fluency that mobile terminal 2 accesses network is increased simultaneously, avoids moving
2 long-time of terminal is in the active state of search AP node 6, can save the power consumption of mobile terminal 2.
As a kind of improved specific embodiment, adaptive clamp assemblies 7, institute are provided on the data relay station 3
Stating adaptive clamp assemblies 7 includes pedestal 71, limitation component 72, clamp assemblies 73;The pedestal 71 and data relay station 3 are fixed
Connection;The limitation component 72 is removably attachable to clamp assemblies 73, and matches with clamp assemblies 73, to limit clamping group
Part 73 is tightened;The clamp assemblies 73 are mounted on pedestal 71;After limitation component 72 is disassembled, clamp assemblies 73 are tightened, with
Pedestal 71 is clamped on exterior object.
Through the above technical solutions, when user needs for be mounted on the railing in roadside at data relay station 3, on lamp stand, electricity
When in line bar or on some other cylindrical object, it can first pass through and clamp assemblies 73 are placed on exterior object, then will
Limitation component 72 is removed from clamp assemblies 73, limits restriction effect of the contact of component 72 to clamp assemblies 73, clamping group at this time
Part 73 can be tightened, and then pedestal 71 is firmly clamped on exterior object, and then Fast Installation data relay station 3, it is possible thereby to increase
Add the efficiency of installation, the difficulty of high-altitude assembly is reduced, it is possible thereby to reduce the degree of danger of high altitude operation.
As a kind of improved specific embodiment, the clamp assemblies 73 include clockwork spring 731, driving gear 732, transmission
Gear 733, ratchet 734, pawl 735, gag lever post 736, telescopic shaft 737, assembling stand 738, supporting rod 739;The clockwork spring 731,
It is coaxially fixed to drive gear 732, ratchet 734, and is arranged in assembling stand 738, one end of the opposite exterior lateral sides of the clockwork spring 731
It is fixedly connected with the inner wall of assembling stand 738;The transmission gear 733 is engaged with driving gear 732, and the transmission gear 733 is also
It is engaged with telescopic shaft 737, one end of the telescopic shaft 737 is engaged with supporting rod 739, and the supporting rod 739 is also slidably connected at
In assembling stand 738;When transmission gear 733 rotates, telescopic shaft 737 is driven to take in assembling stand 738 or stretch out assembling stand 738,
And then supporting rod 739 is driven to clamp or release exterior object;The gag lever post 736 is slidably connected in assembling stand 738, institute
The one end for stating gag lever post 736 stretches out assembling stand 738 and is fixedly connected with pull ring 8, and the other end and pawl 735 are hinged, works as gag lever post
736 when being inserted into assembling stand 738, and pawl 735 is matched with ratchet 734, to limit the rotation of ratchet 734.
Through the above technical solutions, clockwork spring 731 is the state that rolls tightly, while pawl 735 limits under the default conditions of factory
Ratchet 734 rotates, so that the shaft that they are connected simultaneously is not able to rotate, then clockwork spring 731 cannot discharge elastic potential energy, send out at this time
Item 731 stores elastic potential energy.When user pull pull ring 8 when, gag lever post 736 is skidded off from assembling stand 738, with pawl 735 from
It is detached from ratchet 734, ratchet 734 is not limited by pawl 735 at this time, and clockwork spring 731 discharges elastic potential energy at this time, and shaft is driven to turn
It is dynamic, and then rotated by driving gear 732 with nutating gear 733, the rotation of transmission gear 733 at this time drives what is engaged to stretch
Contracting axis 737 (side open up with teeth, engage with transmission gear 733) is taken in assembling stand 738, and telescopic shaft 737 pulls clamping at this time
Bar 739 cooperates clamping exterior object by supporting rod 739 and pedestal 71, and then data relay station 3 is mounted on exterior object
On.
As a kind of improved specific embodiment, deformable elastic slice 91, institute are fixedly connected on the gag lever post 736
The limiting slot 92 that cooperation elastic slice 91 is offered in assembling stand 738 is stated, when elastic slice 91 is embedded into limiting slot 92 to gag lever post 736
It is limited.
Through the above technical solutions, elastic slice 91 and limiting slot 92 cooperate when gag lever post 736 is in factory default state,
Elastic slice 91 is embedded in limiting slot 92, can be increased stability when ratchet 734 and the cooperation of pawl 735 at this time, be avoided gag lever post
736 surprisingly deviate from out of assembling stand 738, increase stability when using.
The above is only a preferred embodiment of the present invention, protection scope of the present invention is not limited merely to above-mentioned implementation
Example, all technical solutions belonged under thinking of the present invention all belong to the scope of protection of the present invention.It should be pointed out that for the art
Those of ordinary skill for, several improvements and modifications without departing from the principles of the present invention, these improvements and modifications
It should be regarded as protection scope of the present invention.