A kind of indoor occupant accurate positioning method and system
Technical field
The present invention relates to indoor positioning technologies field more particularly to a kind of indoor occupant accurate positioning methods and system.
Background technology
With the development of smart home technology, indoor positioning demand is increasing, traditional location technology such as global location
System (GPS), dipper system etc. are mainly used for outdoor void spaces, and the positioning system established using synchronous satellite is positioned,
When for interior, the signal due to receiving building stops that indoor reception satellite-signal is poor, can not complete to be accurately positioned.
Also occur some schemes that indoor positioning is carried out using wireless signal in the prior art regarding to the issue above, at this
In a little schemes, some requirement personnel carrying electronic labels, by electronic tag, actively transmitting signal (such as radio) is realized outward
Positioning, this positioning method needs to consume more energy, while needing more hardware supported;Some is strong using wireless signal
Degree increases with distance, the principle gradually to decay, in the indoor setting wireless signal transmitter that needs position, by mobile target
Signal receiving device obtain wireless signal, pass through signal intensity attenuation formula meter using the wireless signal strength of acquisition as parameter
The distance obtained apart from wireless signal transmitter is calculated, and further realizes positioning, but the measurement of signal strength is with the increasing of distance
Its measurement accuracy is added also to gradually decrease, it is more to be disturbed item, is affected;Some passes through TDOA (Time Difference of
Arrival) mode is positioned, and is needed to wear unknown node by locating personnel, unknown node is super to beaconing nodes transmitting simultaneously
Sound wave and radio signal, beaconing nodes are according to the measurement for reaching time difference realization distance of two kinds of signals, each beaconing nodes
The information of measurement is sent to base station, the estimation to unknown node position is realized by base station.In the positioning system, beaconing nodes are wanted
Realize that the measurement of distance needs higher hardware configuration, cost is big, and it is also larger to emit two kinds of signal energy consumptions.
The patent document of Publication No. CN104994576A also proposed a kind of " room based on infrared human body sensor array
Interior personnel location system and method ", the system include several probe nodes, a base-station node and host computer;The detection section
Different location, base-station node are connected by serial port connecting wire with host computer indoors for point deployment;Probe node and base-station node without
Line connects, and probe node is treated locating personnel by infrared human body sensor array and detected.Each infrared human body of the present invention passes
Sensor array includes 4 infrared human body sensors, and each infrared human body sensor is responsible for the range of 90 degree of detection, to realize
Result of detection is transferred to base-station node by ZigBee-network and calculates people by 360 degree of omnidirectional detection, each probe node
The position of member.It does not need personnel to be positioned and wears any label or signal source, receive entirely passive type positioning.Positioning accuracy compared with
Height can realize 1 meter since the radius of investigation of infrared human body sensor is at 6 meters or so using the information of 3 or more probe nodes
The positioning accuracy of left and right, the positioning accuracy are fully able to realize the demand of indoor occupant positioning.But it is only in personnel to be positioned
There can be higher precision when under stationary state, it cannot be guaranteed that by positioning people when real-time mobile status at personnel to be positioned
Member is accurately positioned in real time.
Invention content
The technical problem to be solved by the present invention is in view of the above shortcomings of the prior art, provide a kind of energy expenditure it is low, at
This saving, positioning accuracy is high and can accurately be determined according to the indoor occupant that the real-time mobile status of personnel to be positioned is positioned in real time
Position method and system.
To achieve the goals above, the technical solution adopted by the present invention is:
A kind of indoor occupant accurate positioning method, the described method comprises the following steps:
S10:It receives the nodal information that each reference mode is sent in monitoring region and records when receiving the nodal information
Time point;Wherein, the nodal information includes the identity information or location information of each reference mode;
S20:The position at personnel end to be positioned is calculated according to the nodal information and the time point.
Further, further include after the step S20:
S30:Time point when detection is using the last reception nodal information is in a preset time of sart point in time
Whether the nodal information is received again, if not receiving, check whether human inductor has sensed in monitoring region
Personnel exist;
S40:If checking, result is that human inductor is sensed with the presence of personnel in monitoring region, and institute is calculated with the last time
Obtain current location of the position at personnel end to be positioned as personnel end to be positioned.
Further, the step S20 includes:
S21:The position of each reference mode is obtained according to the nodal information;
S22:The time difference for receiving each reference mode and sending the nodal information is calculated according to the time point;
S23:The position at personnel end to be positioned is calculated according to the position of each reference mode and the time difference.
Further, the step S21 includes:
S211:Identify the nodal information, if the nodal information is the identity information of each reference mode, basis
Default identity information and the location information table of comparisons, extract the location information of each reference mode to obtain the position of each reference mode
It sets;If the nodal information is the location information of each reference mode, obtained according to the location information of the reference mode
The position of each reference mode.
A kind of indoor occupant Precise Position System, the system comprises:
Portable signal transmitter is used for broadcast transmission wireless signal;
Several reference modes are arranged in monitoring region, the wireless signal for receiving the transmission of portable signal transmitter
With to gateway sending node information, the nodal information includes the identity information or location information of each reference mode;
Node is handled, for receiving the nodal information that each reference mode is sent in monitoring region, is recorded described in receiving
Time point when nodal information, and calculate according to the nodal information and the time point position at personnel end to be positioned.
Further, the system also includes:
Several human inductors, be arranged in monitoring region in, in induction monitoring region whether with the presence of personnel.
Further, the processing node includes:
Receiving module, for receiving the nodal information that each reference mode is sent in monitoring region;
Time recording module receives the time point when nodal information for recording;
Computing module, the position for calculating personnel end to be positioned according to the nodal information and the time point.
Further, the processing node further includes:
Module is checked in detection, and time point when for detecting using the last reception nodal information is sart point in time
Whether the nodal information is received again, if not receiving, check human body sense described in monitoring region in one preset time
Answer whether device senses with the presence of personnel;If checking, result is that human inductor described in monitoring region has sensed that personnel deposit
Then using the last position for calculating gained personnel end to be positioned as the current location at personnel end to be positioned.
Further, the computing module includes:
Identification and acquiring unit, the nodal information for identification, if the nodal information is each reference mode
Identity information, then according to identity information and the location information table of comparisons is preset, it is each to obtain to extract the location information of each reference mode
The position of the reference mode;If the nodal information is the location information of each reference mode, according to each reference
The location information of node obtains the position of each reference mode;
Storage unit, for storing identity information and the location information table of comparisons;
Time difference calculating unit sends the nodal information for calculating each reference mode of reception according to the time point
Time difference;
Personnel positions computing unit, for calculating personnel end to be positioned according to the position of each reference mode and the time difference
Position.
Further, the portable signal transmitter includes shoe body and the passive and wireless transmitting in the shoe body
Device.
After adopting the above technical scheme, the beneficial effects of the invention are as follows:The present invention easily realizes, easy to use, and energy disappears
It consumes low;
By arranging several reference modes in monitoring region, setting reference mode can be after receiving a special wireless
Sending node information is arranged the relevant device and is responsible for acquiring the nodal information arrival that each reference mode is sent to a relevant device
Time point and the position of each reference mode is obtained according to nodal information, then established using multiple time points and position relationship
Mathematical model, you can accurately calculate the position of personnel to be positioned;To sum up, be arranged monitoring region in reference mode without
It needs excessive processing to analyze data, so there is no need to which higher configuration is arranged, advantageously reduces the total energy consumption in monitoring region, be also beneficial to
Save the cost of monitoring region internal reference node setting;When personnel to be positioned move, the reference mode for having different location exists
Sending node information after wireless signal is received, relevant device receives the nodal information that these reference modes are sent, according to new
Nodal information and time point can calculate the new position of personnel to be positioned again, it is seen then that the present invention can be moved according to personnel and be carried out
Positioning in real time, positioning is in time and precision is high;
Time point of the detection using the last reception nodal information when is set as in a preset time of sart point in time
Whether the nodal information is received again, if not receiving, check whether human inductor has sensed in monitoring region
Personnel exist;If checking, result is that human inductor is sensed with the presence of personnel in monitoring region, and gained is calculated with the last time
Current location of the position at personnel end to be positioned as personnel end to be positioned.Be conducive to improve intelligent, realize personnel to be positioned
Personnel positioning under remaining static;
It includes shoe body and the passive and wireless transmitter in the shoe body that portable signal transmitter, which is arranged,.Be conducive to solve
The both hands for putting personnel to be positioned trample the passive and wireless transmitter in shoe body to emit using the weight of human body with personnel's movement
Signal, you can the triggering for easily realizing reference mode goes data to relevant device hair;In addition, passive and wireless transmitter can incite somebody to action
The mechanical energy trampled is converted to electric energy, is conducive to further decrease energy consumption.
Description of the drawings
In order to illustrate the embodiments of the present invention more clearly or the technical solution of the prior art, attached drawing are as follows:
Fig. 1 is a kind of indoor occupant accurate positioning method flow chart that the embodiment of the present invention 1 provides;
Fig. 2 is a kind of indoor occupant accurate positioning method flow chart that the embodiment of the present invention 2 provides;
Fig. 3 is a kind of indoor occupant Precise Position System block diagram that the embodiment of the present invention 4 provides;
Fig. 4 is the block diagram that node is handled in the embodiment of the present invention 4.
Specific implementation mode
Following is a specific embodiment of the present invention in conjunction with the accompanying drawings, technical scheme of the present invention will be further described,
However, the present invention is not limited to these examples.
Existing indoor occupant location technology solution is more single, can not solve the real-time positioning of personnel's current intelligence,
It can not be in personnel from the survey crew position of intelligence when being dynamically changed into static state, in addition, being configured set on indoor relevant device
Demand is higher so that cost is also increasing while energy consumption increases, and later maintenance is also relatively difficult.
Currently, with the rapid development of existing smart home technology, existing indoor occupant positioning system cannot be satisfied
The demand that smart home product links with the mobile generation of personnel, cannot further provide the user with better home furnishings intelligent body
It tests.
Such as:Night, personnel walk in house, if it is possible to have a set of positioning system, the position of the real-time locating personnel of energy
Set, in order to control system provide the light in each room, aisle is controlled with the variation of personnel positions according to personnel position and
The precision data being turned on and off, so, so that it may to realize the reasonable utilization of the energy, reach energy conservation and environmental protection and enhancing user
The purpose intelligently experienced.
The present invention for the above technical problems, provide it is a kind of can be according to the real-time mobile status of personnel to be positioned
The indoor occupant accurate positioning method and system positioned in real time, specific implementation are as follows:
Embodiment 1
As shown in Figure 1, the present embodiment provides a kind of indoor occupant accurate positioning method, the described method comprises the following steps:
S10:It receives the nodal information that each reference mode is sent in monitoring region and records when receiving the nodal information
Time point;Wherein, the nodal information includes the identity information or location information of the reference mode;
Specifically, in this step, each reference mode monitored in region is configured to, when the nothing for receiving a specific frequency
After line signal (wireless signal can be emitted by personnel end to be positioned), to equipment sending node information, equipment receiving node information,
The time point that successfully can record when receiving the nodal information is received, the content for the nodal information that reference mode is sent can be
The identity information of reference mode can also be the position that reference mode is arranged in monitoring region;It should be noted that if setting
The content for the nodal information that reference mode is sent is the identity information (such as ID) of its own, then needs to preserve one in advance in a device
Identity information and the location parameter table of comparisons, to search the position for obtaining the corresponding reference mode of the identity information;If setting ginseng
It examines node and directly transmits its location information, then can save equipment and preserve the operation of related control table, but need to shift to an earlier date in reference node
Point has been set behind position is positioned oneself for calling or being arranged using GPS positioning technology acquisition for its save location parameter;With
Upper two kinds of nodal information contents are preferably set to the identity information of reference mode, and it is more square than sending location information to send identity information
Just more cost-effective, it sends location information and needs to refer to node with store function or position positioning and location information acquisition work(
The configuration of energy will certainly increase cost if above-mentioned configuration is arranged in each reference mode.
S20:The position at personnel end to be positioned is calculated according to the nodal information and the time point.
In this step, after time point of the equipment when receiving nodal information and having recorded receiving node information, section is utilized
The position of point acquisition of information reference mode, time point when using receiving node information obtains the time difference, according to position and time
Difference sets up mathematics computing model, and the range difference of the relatively each reference mode in personnel end to be positioned is calculated using the time difference, to
To specific coordinate of the personnel end more to be positioned in space, wherein send nodal information when there is more reference mode
When, calculated personnel positions to be positioned are more accurate.
In the present embodiment, with monitoring region in personnel to be positioned movement, have different reference modes timely to
Equipment sending node information updates the position for calculating personnel to be positioned successively, realizes the positioning under personnel's mobile status;
And specifically, it is preferable to execute the above method using gateway, on the one hand existing most gateways have higher processing
Data capability, another aspect gateway can be established with multiple terminal and be connected, behind the position for being conducive to calculate personnel end to be positioned
It is broadcasted according to customer demand, facilitates data sharing, improves data user rate.
To sum up, the present invention can realize the real-time positioning moved with personnel, can be that smart home product is moved with personnel
And intelligent linkage provides data and supports, and monitors in region that low energy consumption for the reference mode that is arranged, without excessive hardware configuration,
Be conducive to control the setup cost of reference mode;It should be noted that more accurately to obtain personnel positions to be positioned, need to close
Removing the work sets quantity and the spatial position of reference mode.
Embodiment 2
As shown in Fig. 2, the present embodiment is with embodiment 1, difference lies in method provided in this embodiment is in the step S20
Further include later:
S30:Time point when detection is using the last reception nodal information is in a preset time of sart point in time
Whether the nodal information is received again, if not receiving, check whether human inductor has sensed in monitoring region
Personnel exist;
This step is set, is not receiving the nodal information again, check monitoring region in human inductor whether
It senses with the presence of personnel, can avoid after being sent without nodal information, personnel positions can not be obtained, directly acquiescence is without existing for personnel
It happens, further increases the intelligent and accuracy that gateway calculates analysis personnel positions, ensure to be become from movement as personnel
Intelligent treatment after static.Because under conventional sense, personnel walk about in the room after a certain period of time can be in a certain position long-time
It stops (such as sit down or lie down and see TV), exists be triggered sending node information without reference to node at this time, can not utilize
The case where nodal information and time point calculating position, occurs, therefore also needs to setting gateway and can solve reality under personnel's stationary state
Shi Dingwei;
In view of in the moving process of personnel, there is the case where slightly stopping, i.e., ginseng can not be received in a bit of time
The nodal information for examining node transmission, in order to avoid gateway checks that human inductor causes the energy to disappear once not receiving nodal information
The case where consumption, occurs, and setting gateway is not all received again by node letter in the preset time after receiving a nodal information
When breath, just go to check human inductor;The preset time length of setting can be self-defined according to the progress of the self-demand of user, on
State the positioning for being designed with while saving energy consumption conducive to the intelligent of gateway processes information is improved and providing intelligence.
Human inductor can be arranged as required into is in sense state in real time, can also be arranged to look into gateway needs
It sees in the presence of whether human inductor has sensed personnel and is just actuated for incuding, and closed in time after obtaining induction result,
To save energy consumption.
S40:If checking, result is that human inductor is sensed with the presence of personnel in monitoring region, and institute is calculated with the last time
Obtain current location of the position at personnel end to be positioned as personnel end to be positioned.
Human inductor is sensed with the presence of personnel, then gives tacit consent to indoor personnel and be in static state, i.e., also rest on
On the position that last time gets.To sum up, the present embodiment is under mobile status in addition to can solve indoor occupant and positions, moreover it is possible to
It provides and is accurately positioned when personnel become stationary state from movement indoors, you can the real-time positioning of personnel's dynamic and static state is solved,
Further the intelligent linkage for smart home product provides more abundant accurately location data.
When have new nodal information be received can re-start it is to be positioned according to the nodal information and the time point
Personnel positions calculate.
Preferably, the step S20 includes:
S21:The position of each reference mode is obtained according to the nodal information;Reference mode position is obtained according to nodal information
Mode to depend on the circumstances, if including directly reference mode position in recognition node information, gateway can utilize directly, if knowing
Only include identity information in other nodal information, then needs to transfer identity information and the node location table of comparisons to obtain reference node point
Postpone, can just be utilized, under normal circumstances, setting reference mode send content be identity information nodal information, be in this way by
The nodal information of the multiple reference modes of processing is can receive in a gateway, gateway side is set to preserve identity information and node position
The configuration standard of reference mode can be reduced by setting the table of comparisons, save reference mode setup cost.
S22:The time difference for receiving each reference mode and sending the nodal information is calculated according to the time point;In this step
It is not to utilize time point, but utilize the time difference, the distance of personnel to be positioned and each reference mode is embodied in each
On the time speed that the nodal information of reference mode is received by gateway, such as when personnel to be positioned are closer with a distance from reference mode A,
With a distance from reference mode B farther out, then gateway receive the nodal information of reference mode B time point be more than receive reference node
The time point of the nodal information of point A.
S23:The position at personnel end to be positioned is calculated according to the position of each reference mode and the time difference.According to each reference
The position coordinates and time difference founding mathematical models of node, utilize related algorithm, you can the position of personnel to be positioned is estimated,
And when the corresponding reference mode quantity of the nodal information received is more than 3, it more could accurately calculate people to be positioned
The position of member, therefore the setting of the position of reference mode needs according to its reception distance there is rational deploy to ensure effective monitoring and control of illegal activities to check on.
Embodiment 3
The present embodiment the difference from example 2 is that, in method provided in this embodiment, the step S21 includes:
S211:Identify the nodal information, if the nodal information is the identity information of each reference mode, basis
Default identity information and the location information table of comparisons, extract the location information of each reference mode to obtain the position of each reference mode
It sets;If the nodal information is the location information of each reference mode, obtained according to the location information of the reference mode
The position of each reference mode.
Since the configuration of reference mode is different, it is understood that there may be the difference in nodal information content, therefore need gateway that can know
Other nodal information content improves data-handling efficiency, increases the suitability and reality of gateway according to the interior processing data for having differentiation
The property used.
Embodiment 4
As shown in Figure 3, Figure 4, the present invention also provides a kind of indoor occupant Precise Position System, the system is used to be above-mentioned
Method described in embodiment 1-3 provides physical support, the system comprises:
Portable signal transmitter 100 is used for broadcast transmission wireless signal;The nothing of one fixed frequency of transmission can specifically be passed through
Line signal receives so as to reference mode 200;
Several reference modes 200 are arranged in monitoring region, and the space for carrying out personnel positioning is needed to be referred to as monitoring region,
Reference mode 200 is used to receive the wireless signal of the transmission of portable signal transmitter 100 and believes to processing 300 sending node of node
Breath, the nodal information includes the identity information or location information of the reference mode 200;Reference mode 200 to processing node
The mode of 300 sending node information can be transmitted by WiFi communication or ZigBee communications protocol, and wherein ZigBee is base
In a low power consumption protocol of IEEE802.15.4 standards.It is provided, is mainly used for apart from short, low in energy consumption and biography according to international standard
Carry out data transmission between the not high various electronic equipments of defeated rate, is a kind of cheap, the near radio networking of low-power consumption
Mechanics of communication.
Node 300 is handled, for receiving the nodal information that each reference mode 200 is sent in monitoring region, record connects
It receives the time point when nodal information, and calculates the position at personnel end to be positioned according to the nodal information and the time point
It sets.
The specifically optional gateway of node 300 is handled, gateway both can be used for wide area network interconnection, it is mutual to can be used for LAN
Even.
The system also includes:
Several human inductors 400, be arranged in monitoring region in, in induction monitoring region whether with the presence of personnel.
Human inductor 400 can select human body infrared inductor, and human body has constant body temperature, generally in 36-37 degree, so can send out
Go out the infrared ray of specific wavelength, if will be sensed with the presence of personnel in monitoring region, human inductor 400 is configured to
Processing node 300 is opened when checking demand, is closed after obtaining induction result.Being provided with for several human inductors 400 is conducive to
To realize that the positioning under personnel's stationary state provides support.Human inductor 400 is generally arranged in four angles in a room
It falls, to realize that 360 degrees omnidirection incudes.
This system can be used for the light (corridor lamp, bedroom lamp, parlor lamp etc.) that room is controlled according to personnel positioning, i.e.,
Personnel have real-time location data when being in mobile status, and the lamp which position can be controlled according to real time positioning data is bright,
The lamp of which position is closed, in addition, when personnel remain static, the meeting controlled operation of human inductor 400, the control of light
The case where being incuded according to human inductor 400 in room there are whether personnel, close or light are kept to light always, to real
Existing home furnishings intelligent experience and energy conservation and environmental protection.
Preferably, the processing node 300 includes:
Receiving module 310, for receiving the nodal information that each reference mode 200 is sent in monitoring region;
Time recording module 320 receives the time when nodal information for recording after receiving nodal information
Point;
Computing module 330, the position for calculating personnel end to be positioned according to the nodal information and the time point.
Further, the processing node 300 further includes:
Module 340 is checked in detection, and time point when for detecting using the last reception nodal information is the time started
The nodal information whether is received again in one preset time of point, if not receiving, checks human body sense in monitoring region
Answer whether device senses with the presence of personnel.Be conducive to avoid to occur the case where frequently checking human inductor, reduce energy consumption.
If detection checks that module 340 checks that result is that human inductor is sensed with the presence of personnel in monitoring region, count
Calculate current location of the module 330 using the last position for calculating gained personnel end to be positioned as personnel end to be positioned.Be conducive to
The positioning being under mobile status in addition to indoor occupant can be solved, moreover it is possible to be carried when personnel become stationary state from movement indoors
For being accurately positioned.
The computing module 330 includes:
Identification and acquiring unit 331, the nodal information for identification, if the nodal information is each reference mode
Identity information extract the location information of each reference mode then according to identity information and the location information table of comparisons is preset to obtain
The position of each reference mode;If the nodal information is the location information of each reference mode, according to each ginseng
The location information for examining node obtains the position of each reference mode;
Storage unit 332, for storing identity information and the location information table of comparisons;Installation personnel is setting reference mode
After 200 installation site, it is saved into 200 identity information of reference mode and the location information table of comparisons.
Time difference calculating unit 333, the time point for being recorded according to time recording module 320, which calculates, receives each ginseng
Examine the time difference that node sends the nodal information;
Personnel positions computing unit 334, for calculating people to be positioned according to the position of each reference mode and the time difference
The position at member end.
The portable signal transmitter 100 includes shoe body and the passive and wireless transmitter in the shoe body.It is passive
Wireless transmitter uses passive and wireless switching technique, it is not necessary that battery is arranged when use, without connecting power cord, need to only push button
The mechanical energy of generation, so that it may be automatically converted to electric energy, send out wireless signal, setting passive and wireless transmitter comes to reference mode
200 send wireless signal, are conducive to energy saving consumption;Passive and wireless transmitter is set in shoe body (such as sole), favorably
In the both hands of liberation user of service, directly using the mobile trample action that will produce, control passive and wireless transmitter is carried out with people
The mobile signal transmitting of member, it is more convenient to use, closer to the actual conditions of personnel's movement.
The present invention is simple in structure on the whole, easy to operate, using in the region setting reference mode 200 for needing to monitor and people
Body inductor 400 is conducive to move with personnel for smart home product to carry out the static and dynamic positioning in real time of indoor occupant
It carries out intelligent linkage and data support is provided, realize device intelligence development and energy conservation and environmental protection sustainable development.
Specific embodiment described herein is only an example for the spirit of the invention.Technology belonging to the present invention is led
The technical staff in domain can make various modifications or additions to the described embodiments or replace by a similar method
In generation, however, it does not deviate from the spirit of the invention or beyond the scope of the appended claims.