The content of the invention
The embodiment of the present invention provides a kind of radio-frequency fingerprint storehouse update method, apparatus and system, for solving in the prior art
The wireless location method accuracy rate based on radio-frequency fingerprint it is relatively low the problem of.
The one side of the embodiment of the present invention is to provide a kind of radio-frequency fingerprint storehouse update method, including:
According at least one positioning record corresponding with anchor node in predetermined time period, described at least one is obtained respectively
The positioning frequency for each access point that positioning record includes;Wherein, every positioning record includes the information of at least one access point,
The positioning frequency of each access point includes the quantity of the positioning record of described access point for described at least one positioning record, with
The total ratio of at least one positioning record;
If the positioning frequency of described access point is more than or equal to up-regulation threshold value, and described access point does not exist in the anchor
In the radio-frequency fingerprint of node, then the information of described access point is stored into the radio-frequency fingerprint of the anchor node.
With reference to the radio-frequency fingerprint storehouse update method of one side, in the first possible implementation, the anchor section
Also be stored with node liveness corresponding with included access point in the radio-frequency fingerprint of point;
Correspondingly, methods described also includes:
If the positioning frequency of described access point is more than or equal to the up-regulation threshold value, and described access point be present in it is described
In the radio-frequency fingerprint of anchor node, then increase the corresponding node liveness of described access point.
With reference to the first possible implementation of one side, in second of possible implementation, the side
Method also includes:
If the positioning frequency of described access point is less than the up-regulation threshold value, or less than or equal to downward threshold value, and
Described access point is present in the radio-frequency fingerprint of the anchor node, then reduces the corresponding node liveness of described access point, wherein,
The downward threshold value is less than the up-regulation threshold value.
With reference to the first or second of possible implementation of one side, in the third possible implementation
In, methods described also includes:
, will be described from the radio-frequency fingerprint of the anchor node if the node liveness of described access point is less than or equal to zero
The corresponding node liveness of information and described access point of access point is deleted.
Second aspect of the embodiment of the present invention is to provide a kind of radio-frequency fingerprint storehouse updating device, including:
Acquiring unit, for being recorded according at least one positioning corresponding with anchor node in predetermined time period, is obtained respectively
Obtain the positioning frequency for each access point that at least one positioning record includes;Wherein, every positioning record includes at least one
The information of individual access point, the positioning frequency of each access point includes determining for described access point for described at least one positioning record
The quantity of position record, the total ratio with described at least one positioning record;
Processing unit, for being more than or equal to up-regulation threshold value, and described access point in the positioning frequency of described access point
When not existing in the radio-frequency fingerprint of the anchor node, the information of described access point is stored to the radio-frequency fingerprint of the anchor node
In.
With reference to the radio-frequency fingerprint storehouse updating device of second aspect, in the first possible implementation, the anchor section
Also be stored with node liveness corresponding with included access point in the radio-frequency fingerprint of point;
Correspondingly, the processing unit is additionally operable to:
Be more than or equal to the up-regulation threshold value in the positioning frequency of described access point, and described access point be present in it is described
When in the radio-frequency fingerprint of anchor node, the corresponding node liveness of increase described access point.
With reference to the first possible implementation of second aspect, in second of possible implementation, the place
Reason unit is additionally operable to:
It is less than the up-regulation threshold value in the positioning frequency of described access point, or less than or equal to downward threshold value, and
When described access point is present in the radio-frequency fingerprint of the anchor node, reduce the corresponding node liveness of described access point, wherein,
The downward threshold value is less than the up-regulation threshold value.
With reference to the first or second of possible implementation of second aspect, in the third possible implementation
In, the processing unit is additionally operable to:
, will be described from the radio-frequency fingerprint of the anchor node when the node liveness of described access point is less than or equal to zero
The corresponding node liveness of information and described access point of access point is deleted.
3rd aspect of the embodiment of the present invention is to provide a kind of location-server, including above-mentioned radio-frequency fingerprint storehouse more new clothes
Put.
4th aspect of the embodiment of the present invention is to provide a kind of radio-frequency fingerprint storehouse more new system, including above-mentioned radio-frequency fingerprint
Storehouse updating device, mobile terminal and at least one access point;Radio-frequency fingerprint storehouse updating device leads to the mobile terminal
Letter connection, the mobile terminal is connected with least one described access point communication;
The information of access point of the mobile terminal at least one the described access point detected, composition positioning note
Record, and the positioning record is sent to radio-frequency fingerprint storehouse updating device.
5th aspect of the embodiment of the present invention is to provide a kind of radio-frequency fingerprint storehouse more new system, including above-mentioned positioning service
Device, mobile terminal and at least one access point;The location-server is connected with the communication of mobile terminal, described mobile whole
End is connected with least one described access point communication;
The information of access point of the mobile terminal at least one the described access point detected, composition positioning note
Record, and the positioning record is sent to the location-server.
Radio-frequency fingerprint storehouse provided in an embodiment of the present invention update method, apparatus and system, in predetermined time period and anchor
The corresponding at least one positioning record of node is counted, respectively according to each access occurred in described at least one positioning record
Point, the total ratio of the number of times occurred in described at least one positioning record and described at least one positioning record, is calculated
Go out the positioning frequency of each access point, be more than or equal to up-regulation threshold value for positioning frequency therein, but do not exist in the anchor
Access point in the radio-frequency fingerprint of node, by the newly-increased storage of its information into the radio-frequency fingerprint of the anchor node so that in region
When there is newly-increased or access point that is newly opening, it can be recorded, be realized to radio-frequency fingerprint storehouse by the positioning of mobile terminal reporting
Automatically update, due to can be updated in time to rf data storehouse, effectively according to the situation of change of access point in region
The accuracy rate of the wireless location method based on radio-frequency fingerprint is improved, False Rate is reduced.
Embodiment
In the region for having deployed at least one access point, the access point in normal operating conditions can periodically be sent out
Penetrate signal.When mobile terminal is moved in the region, if user needs to position the position that mobile terminal is presently in,
The information of the access point of signal can be then received by acquisition for mobile terminal.Wherein, the information of access point can include access
The identification information of point, and the signal received from corresponding access point RSSI, the identification information of access point can be access
The medium access control of point(Media Access Control, MAC)Address or other identification informations.
The information of the one or more access points got is configured to radio-frequency fingerprint matching technique and can recognize that by mobile terminal
Data format, as detection data be sent to location-server.The detection that location-server is sent according to mobile terminal
Data, using the location algorithm based on radio-frequency fingerprint, calculate and are presently in the immediate radio frequency in position with the mobile terminal and refer to
Line, using the corresponding anchor node of the radio-frequency fingerprint as the mobile terminal positional information.The specific positioning based on radio-frequency fingerprint
Algorithm can use with similar implementation in the prior art, such as nearest adjacent method or Bayesian probability method.
Radio-frequency fingerprint storehouse provided in an embodiment of the present invention updating device can be the functional module in location-server, also may be used
Think the independent equipment for being updated to radio-frequency fingerprint storehouse.
When radio-frequency fingerprint storehouse updating device is the functional module in location-server, location-server is calculating movement
After the positional information of terminal, the information of the detection data of mobile terminal reporting and the anchor node calculated is sent to radio frequency and referred to
Line storehouse updating device, by radio-frequency fingerprint storehouse updating device using the implementation described in various embodiments of the present invention, refers to radio frequency
Line storehouse is updated.
When radio-frequency fingerprint storehouse updating device for it is independent for radio-frequency fingerprint storehouse is updated equipment when, radio-frequency fingerprint
Detection data and the information of the anchor node calculated that storehouse updating device can obtain mobile terminal reporting from location-server, or
Person receives its detection data and the information of the anchor node as positioning result received by it for being reported from mobile terminal, and
After the renewal to radio-frequency fingerprint storehouse is completed, the radio-frequency fingerprint of renewal is sent to location-server, for location-server
The radio-frequency fingerprint storehouse stored is updated.
The location-server and/or radio-frequency fingerprint storehouse updating device can be located in above-mentioned zone, can also be located at long-range
Other positions.According to location-server and/or the difference of radio-frequency fingerprint storehouse updating device position, mobile terminal can lead to
Cross mobile Internet or use short-distance wireless communication technology, realize and location-server and/or radio-frequency fingerprint storehouse more new clothes
The communication connection put.Access point described in various embodiments of the present invention can be indoor access point apparatus or the base of outdoor
Stand.
Fig. 1 is the flow chart of radio-frequency fingerprint storehouse provided in an embodiment of the present invention update method, as shown in figure 1, this method bag
Include:
101st, recorded according at least one positioning corresponding with anchor node in predetermined time period, respectively described in acquisition at least
The positioning frequency for each access point that one positioning record includes.
Wherein, every positioning record includes the information of at least one access point, and the positioning frequency of each access point is described
At least one positioning record includes the quantity of the positioning record of described access point, the sum with described at least one positioning record
Ratio.
Specifically, a time span is preset with the updating device of radio-frequency fingerprint storehouse, and after the time span terminates, radio frequency
Fingerprint base updating device obtains one or more positioning record within the time span.
Positioning record includes detection data of the mobile terminal reporting to location-server, in addition to location-server is calculated
The information with the corresponding anchor node of detection data.
Wherein, detection data include the mark for the access point that mobile terminal is detected on current location, and respectively
The RSSI of the signal received from these access points.
Information with the anchor node corresponding to the immediate radio-frequency fingerprint of detection data is calculated according to detection data
, include the radio-frequency fingerprint of the mark of anchor node and the anchor node.Radio-frequency fingerprint includes the mark of one or more access points,
And with the corresponding RSSI of each access point difference.
Radio-frequency fingerprint storehouse updating device is after a plurality of positioning record is got, the mark of the anchor node in positioning record
Know, the one or more positioning record for belonging to each anchor node is subjected to statistical calculation respectively.
It is to count positioning record corresponding with anchor node first to the method that the positioning record of each anchor node is counted
Sum, next counts the number of times that each access point occurs in each bar positioning record of the anchor node.By access point in the anchor node
Positioning record in the number of times that occurs and the positioning record of the anchor node total ratio, be used as the positioning frequency of the access point
Degree.
Thus, it is possible to the positioning frequency for each access point that the positioning for calculating each anchor node occurs in recording.
If the 102, the positioning frequency of described access point is more than or equal to up-regulation threshold value, and described access point does not exist in institute
In the radio-frequency fingerprint for stating anchor node, then the information of described access point is stored into the radio-frequency fingerprint of the anchor node.
Specifically, being previously provided with up-regulation threshold value in the updating device of radio-frequency fingerprint storehouse.According to the anchor node calculated
The positioning frequency of each access point occurred in positioning record, judges whether each positioning frequency is more than or equal to the up-regulation thresholding
Value.
It is more than or equal to the access point of the up-regulation threshold value for positioning frequency, whether determine whether the access point is this
Access point in the radio-frequency fingerprint of anchor node, if not already present access point in the radio-frequency fingerprint of the anchor node, then should
The information of access point is stored into the radio-frequency fingerprint of the anchor node.
Wherein, increasing the information of the access point added in radio-frequency fingerprint newly includes the mark of the access point, and the access point
RSSI.The RSSI of the newly-increased access point added in radio-frequency fingerprint can be that in each bar positioning record of the anchor node, this connects
The RSSI of access point average value.
Step 101-102 be for anchor node included in each bar positioning record for getting in predetermined time period and
What access point was carried out.Anchor node therein and access point are carried out respectively after above-mentioned statistics calculating, can realized to this
The renewal of the radio-frequency fingerprint of a little anchor nodes.
Radio-frequency fingerprint storehouse provided in an embodiment of the present invention update method, in predetermined time period it is corresponding with anchor node extremely
Few positioning record is counted, respectively according to each access point occurred in described at least one positioning record, it is described extremely
The total ratio of the number of times occurred in few positioning record and described at least one positioning record, calculates each access point
Frequency is positioned, is more than or equal to up-regulation threshold value for positioning frequency therein, but the radio frequency for not existing in the anchor node refers to
Access point in line, by the newly-increased storage of its information into the radio-frequency fingerprint of the anchor node so that occur in region newly-increased or new
During the access point of unlatching, it can be recorded by the positioning of mobile terminal reporting, realization is automatically updated to radio-frequency fingerprint storehouse, due to
Rf data storehouse can be updated in time according to the situation of change of access point in region, be effectively improved based on penetrating
The accuracy rate of the wireless location method of frequency fingerprint, reduces False Rate.
Fig. 2 is the flow chart of another radio-frequency fingerprint storehouse update method provided in an embodiment of the present invention, as shown in Fig. 2 the party
Method includes:
201st, recorded according at least one positioning corresponding with anchor node in predetermined time period, respectively described in acquisition at least
The positioning frequency for each access point that one positioning record includes.After execution of step 201, can perform step 202,
203 or 204.
Specifically, may refer to the implementation in step 101.
If the 202, the positioning frequency of described access point is more than or equal to up-regulation threshold value, and described access point does not exist in institute
In the radio-frequency fingerprint for stating anchor node, then the information of described access point is stored into the radio-frequency fingerprint of the anchor node.
Specifically, may refer to the implementation in step 102.
If the 203, the positioning frequency of described access point is more than or equal to the up-regulation threshold value, and described access point is present in
In the radio-frequency fingerprint of the anchor node, then increase the corresponding node liveness of described access point.
Specifically, not only including the mark of access point in the radio-frequency fingerprint of anchor node, the RSSI of access point can also include
The node liveness of access point.
Radio-frequency fingerprint storehouse updating device judges that positioning frequency is more than or equal in the access point of the up-regulation threshold value, including
During the access point being present in the radio-frequency fingerprint of the anchor node, the node liveness for the access point for meeting this condition can be entered
Row up-regulation.That is, the node liveness for the access point for meeting this condition by preset rules, can be increased.
So as to be updated to the radio-frequency fingerprint of the anchor node in radio-frequency fingerprint storehouse.
The 204th, if the positioning frequency of described access point is less than the up-regulation threshold value, or less than or equal to downward thresholding
It is worth, and described access point is present in the radio-frequency fingerprint of the anchor node, then reduces the corresponding node liveness of described access point.
Wherein, the downward threshold value is less than the up-regulation threshold value.
Specifically, radio-frequency fingerprint storehouse updating device judges that positioning frequency is less than after the access point of the up-regulation threshold value,
There is the following two kinds processing mode.
One kind is to be less than the access point of the up-regulation threshold value for positioning frequency, and the node for directly reducing the access point is lived
Jerk.So as to be updated to the radio-frequency fingerprint of the anchor node in radio-frequency fingerprint storehouse.
It is another to be, the access point of the up-regulation threshold value is less than for positioning frequency, determining for the access point is determined whether
Whether position frequency, which is less than or equal to, is lowered threshold value.Wherein, downward threshold value is default another in the updating device of radio-frequency fingerprint storehouse
One threshold value, the downward threshold value is less than the up-regulation threshold value.
If the positioning frequency of the access point is less than the up-regulation threshold value, but is greater than the downward threshold value, then can not be right
The node liveness of the access point is adjusted.
If the positioning frequency of the access point is less than or equal to the downward threshold value, the node for reducing the access point is enlivened
Degree.So as to be updated to the radio-frequency fingerprint of the anchor node in radio-frequency fingerprint storehouse.
Due to the unstability of wireless network, and the otherness between mobile terminal, for being stored in radio-frequency fingerprint
In access point when being updated, only the node liveness of access point is updated, and the RSSI of access point is not carried out
Update, to ensure the accuracy and reliability of the wireless location method based on radio-frequency fingerprint.
Further, if the node liveness of described access point is less than or equal to zero, refer to from the radio frequency of the anchor node
The corresponding node liveness of the information and described access point of described access point is deleted in line.
Specifically, after radio-frequency fingerprint storehouse updating device is lowered to the node liveness of access point, judging what is reduced
Whether node liveness is less than or equal to zero.
It is less than or equal to zero access point for node liveness, from the radio-frequency fingerprint of the anchor node, deletion connects with this
The relevant information of access point.The information relevant with access point includes mark, the RSSI of the access point and access of the access point
The node liveness of point.So as to be updated to the radio-frequency fingerprint of the anchor node in radio-frequency fingerprint storehouse.
Radio-frequency fingerprint storehouse provided in an embodiment of the present invention update method, in predetermined time period it is corresponding with anchor node extremely
Few positioning record is counted, respectively according to each access point occurred in described at least one positioning record, it is described extremely
The total ratio of the number of times occurred in few positioning record and described at least one positioning record, calculates each access point
Position frequency.It is more than or equal to up-regulation threshold value for positioning frequency therein, but the radio frequency for not existing in the anchor node refers to
Access point in line, by the newly-increased storage of its information into the radio-frequency fingerprint of the anchor node;It is more than or waits for wherein positions frequency
In up-regulation threshold value, and it is present in the access point in the radio-frequency fingerprint of the anchor node, increases its node liveness;For wherein fixed
Position frequency is less than up-regulation threshold value, or less than or equal to downward threshold value, and be present in the radio-frequency fingerprint of the anchor node
Access point, reduces its node liveness;It is less than or equal to zero access point for node liveness, from the radio-frequency fingerprint of anchor node
It is middle to delete the information of the access point and node liveness.So that occur in region newly-increased or newly open access point, or
When person is broken down or closes access point, can be recorded by the positioning of mobile terminal reporting, realize to radio-frequency fingerprint storehouse from
It is dynamic to update, due to can be updated, effectively being carried to rf data storehouse in time according to the situation of change of access point in region
The high accuracy rate of the wireless location method based on radio-frequency fingerprint, reduces False Rate.
Fig. 3 is the flow chart of another radio-frequency fingerprint storehouse update method provided in an embodiment of the present invention, as shown in figure 3, the party
Method includes:
301st, initial radio-frequency fingerprint storehouse is set up in off-line training step.
Specifically, off-line training step use with similar implementation in the prior art, built in location-server
Vertical initial radio-frequency fingerprint storehouse.Each anchor node that is stored with radio-frequency fingerprint storehouse can receive the access point of signal MAC Address,
The information such as the node liveness of the RSSI of the access point and the access point.Wherein, in initial radio-frequency fingerprint storehouse, Mei Gejie
The initial value of the node liveness of access point is 1.
302nd, radio-frequency fingerprint storehouse updating device is initialized.
Specifically, radio-frequency fingerprint storehouse updating device is configured or initialized to related parameter.Set a time
Length is used as the long T of time slip-window;Setting is minimum to differentiate that frequency threshold value N, N are the positioning note that the long T of time slip-window needs to meet
The quantity of record;Setting up-regulation threshold T h1With downward threshold T h2, Th1More than 0 and less than 1, Th2More than 0 and less than 1;Setting
Adjusting step value △ when being adjusted to node liveness;By the quantity of the positioning record of each anchor node(Num_Record)Clearly
Zero;By the quantity of the access point occurred in the positioning record of each anchor node(Num_Detection)Reset;Start timer
(Timer), and its initial value is set to 0.
Wherein, in actual applications, above-mentioned each parameter can be set as needed.
It should be noted that the radio-frequency fingerprint storehouse updating device described in the embodiment of the present invention is the work(in location-server
Energy module, correspondingly, location-server refers to other modules in addition to the updating device of radio-frequency fingerprint storehouse in location-server
Function.
303rd, mobile terminal is established as data set S according to the RSSI of the access point collected on current location, and sends
To location-server.
Specifically, when some position that mobile terminal is moved in region needs positioning, can on this position
The access point of signal is received, the RSSI that signal is received from these access points is calculated respectively.Mobile terminal is by institute on current location
The RSSI for the access point that can be collected, is established as data set S.Data set S have with radio-frequency fingerprint identical data structure,
In order to which location-server carries out matching primitives according to the data set S received with radio-frequency fingerprint storehouse.
304th, the data set S of the mobile terminal reporting to be received such as location-server, is receiving the number of mobile terminal reporting
After collection S, using the location algorithm based on radio-frequency fingerprint, the current positional information L of mobile terminal is obtained, and positioning is recorded
(S, L)It is sent to radio-frequency fingerprint storehouse updating device.
Specifically, location-server is after mobile terminal receives data set S, calculated using the positioning based on radio-frequency fingerprint
Method, carries out matching primitives, so as to be moved to the radio-frequency fingerprint of each anchor node in data set S and radio-frequency fingerprint database
The current positional information L of terminal.Positional information L is that correspond to anchor node L, is specifically as follows the identification information of anchor node, or
Description information of position etc. corresponding to the anchor node.
Location-server is according to data set S and positional information L, tectonic location record(S, L), and positioning is recorded(S, L)
Transmit to radio-frequency fingerprint storehouse updating device.
305th, judge whether radio-frequency fingerprint storehouse updating device receives new positioning record(S, L).If so, then performing step
306;Step 304 is performed if it is not, then returning;
306th, by the quantity Num_Record of the corresponding positioning records of anchor node L(L)Plus 1.
If the 307, data set S includes access point i BSSIDi, then the access that will occur in anchor node L positioning record
Point i quantity Num_Detection(L, BSSIDi)Plus 1.
308th, judge whether timer Timer is more than the long T of time slip-window.If so, then performing step 309;If it is not, then returning
Receipt row step 304.
309th, Num_Record is judged(L)Whether N is more than or equal to.If so, then performing step 310;Held if it is not, then returning
Row step 302.
310th, access point i positioning frequency Freq is calculated(L, BSSIDi).Wherein, Freq(L, BSSIDi)=Num_
Detection(L, BSSIDi)/Num_Record(L).
311st, Freq is judged(L, BSSIDi)Whether Th is more than or equal to1.If so, then performing step 312;If it is not, then performing
Step 315;
312nd, access point i BSSID is judgediWhether in the existing radio-frequency fingerprint with anchor node L.If so, then performing step
Rapid 313;If it is not, then performing step 314;
313rd, by access point i node liveness AciIncrease △.And then, continue to return to execution step 302.
Specifically, it is possible to use formula Aci=Min(1, Aci+△), by AciMaximum constraint for 1.
314th, access point i information is increased newly in anchor node L radio-frequency fingerprint, and by access point i node liveness
Initial value is set as Ac_min.And then, continue to return to execution step 302.
Specifically, the Ac_min set during being updated to radio-frequency fingerprint storehouse, can be the numerical value less than 1.
Access point i information includes access point i BSSIDiRecord is positioned with its each bar in the anchor node(S, L)Middle RSSI's is averaged
Value.
315th, Freq is judged(L, BSSIDi)Whether Th is less than or equal to2.If so, then performing step 316;Held if it is not, returning
Row step 302.
316th, by access point i node liveness AciReduce △.
Specifically, it is possible to use formula Aci=Min(0, Aci-△), by AciMinimum value be limited to as 0.
317th, access point i node liveness Ac is judgediWhether 0 is equal to.If so, then performing step 318;If it is not, then returning
Receipt row step 302.
318th, access point i information is deleted from anchor node L radio-frequency fingerprint.And then, continue to return to execution step
302。
The renewal process in above-mentioned radio-frequency fingerprint storehouse is illustrated below by way of citing.
Assuming that including being deployed with m access point in some region, and it is provided with l anchor node { L1, L2... Ll, Mei Gemao
The radio-frequency fingerprint of node includes the basic service set identification of access point(Basic Service Set Identification,
BSSID)And the RSSI and node liveness Ac of access point.
Wherein, for example, it is assumed that anchor node L in radio-frequency fingerprint storehouse2Radio-frequency fingerprint be
If the long T of time slip-window is 1 hour, minimum differentiates that frequency threshold value N is 4, up-regulation threshold T h1For 0.7, adjustment step
Long △ is the positioning record totally 5 that 0.2, Ac_min is anchor node L2 in 0.3,1 hour, is respectively:
In above-mentioned 5 positioning records, have in 4 positioning records and occur in that the access point not having in former radio-frequency fingerprint
BSSID4.Calculating is recorded according to above-mentioned 5 positioning to obtain:
Num_Record(L2)=5, Num_Detection(L2, BSSID4)=4, Freq(L2, BSSID4)=Num_
Detection(L2, BSSID4)/Num_Record(L2)=4/5=0.8, Num_Record(L2)More than N, and Freq(L2,
BSSID4)More than Th1, then the anchor node L after updating2Radio-frequency fingerprint be:
Fig. 4 a are the structural representation of radio-frequency fingerprint storehouse provided in an embodiment of the present invention updating device, as shown in fig. 4 a, should
Radio-frequency fingerprint storehouse updating device includes acquiring unit 11 and processing unit 12.
Acquiring unit 11, for being recorded according at least one positioning corresponding with anchor node in predetermined time period, respectively
Obtain the positioning frequency for each access point that at least one positioning record includes;Wherein, every positioning record is included at least
The information of one access point, the positioning frequency of each access point includes described access point for described at least one positioning record
The quantity of record is positioned, the total ratio with described at least one positioning record;
Processing unit 12, for being more than or equal to up-regulation threshold value, and the access in the positioning frequency of described access point
When point is not existed in the radio-frequency fingerprint of the anchor node, the radio frequency that the information of described access point is stored to the anchor node is referred to
In line.
Radio-frequency fingerprint storehouse provided in an embodiment of the present invention updating device, in predetermined time period it is corresponding with anchor node extremely
Few positioning record is counted, respectively according to each access point occurred in described at least one positioning record, it is described extremely
The total ratio of the number of times occurred in few positioning record and described at least one positioning record, calculates each access point
Frequency is positioned, is more than or equal to up-regulation threshold value for positioning frequency therein, but the radio frequency for not existing in the anchor node refers to
Access point in line, by the newly-increased storage of its information into the radio-frequency fingerprint of the anchor node so that occur in region newly-increased or new
During the access point of unlatching, it can be recorded by the positioning of mobile terminal reporting, realization is automatically updated to radio-frequency fingerprint storehouse, due to
Rf data storehouse can be updated in time according to the situation of change of access point in region, be effectively improved based on penetrating
The accuracy rate of the wireless location method of frequency fingerprint, reduces False Rate.
Further, the node corresponding with included access point that is also stored with the radio-frequency fingerprint of the anchor node is enlivened
Degree;
Correspondingly, the processing unit 12 is additionally operable to:
Be more than or equal to the up-regulation threshold value in the positioning frequency of described access point, and described access point be present in it is described
When in the radio-frequency fingerprint of anchor node, the corresponding node liveness of increase described access point.
Further, the processing unit 12 is additionally operable to:
It is less than the up-regulation threshold value in the positioning frequency of described access point, or less than or equal to downward threshold value, and
When described access point is present in the radio-frequency fingerprint of the anchor node, reduce the corresponding node liveness of described access point, wherein,
The downward threshold value is less than the up-regulation threshold value.
Further, the processing unit 12 is additionally operable to:
, will be described from the radio-frequency fingerprint of the anchor node when the node liveness of described access point is less than or equal to zero
The corresponding node liveness of information and described access point of access point is deleted.
Specifically, the radio-frequency fingerprint storehouse updating device provided in the embodiment of the present invention carries out the side of radio-frequency fingerprint storehouse renewal
Method, may refer to the operating procedure described in above-mentioned corresponding embodiment of the method, this is repeated no more.
Radio-frequency fingerprint storehouse provided in an embodiment of the present invention updating device, in predetermined time period it is corresponding with anchor node extremely
Few positioning record is counted, respectively according to each access point occurred in described at least one positioning record, it is described extremely
The total ratio of the number of times occurred in few positioning record and described at least one positioning record, calculates each access point
Position frequency.It is more than or equal to up-regulation threshold value for positioning frequency therein, but the radio frequency for not existing in the anchor node refers to
Access point in line, by the newly-increased storage of its information into the radio-frequency fingerprint of the anchor node;It is more than or waits for wherein positions frequency
In up-regulation threshold value, and it is present in the access point in the radio-frequency fingerprint of the anchor node, increases its node liveness;For wherein fixed
Position frequency is less than up-regulation threshold value, or less than or equal to downward threshold value, and be present in the radio-frequency fingerprint of the anchor node
Access point, reduces its node liveness;It is less than or equal to zero access point for node liveness, from the radio-frequency fingerprint of anchor node
It is middle to delete the information of the access point and node liveness.So that occur in region newly-increased or newly open access point, or
When person is broken down or closes access point, can be recorded by the positioning of mobile terminal reporting, realize to radio-frequency fingerprint storehouse from
It is dynamic to update, due to can be updated, effectively being carried to rf data storehouse in time according to the situation of change of access point in region
The high accuracy rate of the wireless location method based on radio-frequency fingerprint, reduces False Rate.
Fig. 4 b are the structural representation of another radio-frequency fingerprint storehouse updating device provided in an embodiment of the present invention, such as Fig. 4 b institutes
Show, the radio-frequency fingerprint storehouse updating device includes:
Processor 21, memory 22, bus 23 and communication interface 24.Processor 21, memory 22 and communication interface 24 it
Between connected by bus 23 and complete mutual communication.
Processor 21 may be monokaryon or multinuclear CPU(Central Processing Unit, CPU), or
Person is specific integrated circuit(Application Specific Integrated Circuit, ASIC), or to be configured to
Implement one or more integrated circuits of the embodiment of the present invention.
Memory 22 can be high-speed RAM memory, or nonvolatile memory(non-volatile
memory), for example, at least one magnetic disk storage.
Memory 22 is used to deposit program 221.Specifically, program code, described program code can be included in program 221
Including computer-managed instruction.
The operation program 221 of processor 21, to perform:
According at least one positioning record corresponding with anchor node in predetermined time period, described at least one is obtained respectively
The positioning frequency for each access point that positioning record includes;Wherein, every positioning record includes the information of at least one access point,
The positioning frequency of each access point includes the quantity of the positioning record of described access point for described at least one positioning record, with
The total ratio of at least one positioning record;
If the positioning frequency of described access point is more than or equal to up-regulation threshold value, and described access point does not exist in the anchor
In the radio-frequency fingerprint of node, then the information of described access point is stored into the radio-frequency fingerprint of the anchor node.
Specifically, the radio-frequency fingerprint storehouse updating device provided in the embodiment of the present invention carries out the side of radio-frequency fingerprint storehouse renewal
Method, may refer to the operating procedure described in above-mentioned corresponding embodiment of the method, this is repeated no more.
Fig. 5 a are the structural representation of location-server provided in an embodiment of the present invention, as shown in Figure 5 a, the positioning service
Device 2 includes radio-frequency fingerprint storehouse updating device 1.
Specifically, the method that the location-server provided in the embodiment of the present invention carries out radio-frequency fingerprint storehouse renewal, Ke Yican
See the operating procedure described in above-mentioned corresponding embodiment of the method, this is repeated no more.
Fig. 5 b are the structural representation of another location-server provided in an embodiment of the present invention, as shown in Figure 5 b, the positioning
Server includes:
Processor 31, memory 32, bus 33 and communication interface 34.Processor 31, memory 32 and communication interface 34 it
Between connected by bus 33 and complete mutual communication.
Processor 31 may be monokaryon or multinuclear CPU(Central Processing Unit, CPU), or
Person is specific integrated circuit(Application Specific Integrated Circuit, ASIC), or to be configured to
Implement one or more integrated circuits of the embodiment of the present invention.
Memory 32 can be high-speed RAM memory, or nonvolatile memory(non-volatile
memory), for example, at least one magnetic disk storage.
Memory 32 is used to deposit program 321.Specifically, program code, described program code can be included in program 321
Including computer-managed instruction.
The operation program 321 of processor 31, to perform:
According at least one positioning record corresponding with anchor node in predetermined time period, described at least one is obtained respectively
The positioning frequency for each access point that positioning record includes;Wherein, every positioning record includes the information of at least one access point,
The positioning frequency of each access point includes the quantity of the positioning record of described access point for described at least one positioning record, with
The total ratio of at least one positioning record;
If the positioning frequency of described access point is more than or equal to up-regulation threshold value, and described access point does not exist in the anchor
In the radio-frequency fingerprint of node, then the information of described access point is stored into the radio-frequency fingerprint of the anchor node.
Specifically, the method that the location-server provided in the embodiment of the present invention carries out radio-frequency fingerprint storehouse renewal, Ke Yican
See the operating procedure described in above-mentioned corresponding embodiment of the method, this is repeated no more.
Fig. 6 a are the structural representation of radio-frequency fingerprint storehouse more new system provided in an embodiment of the present invention, as shown in Figure 6 a, should
System includes radio-frequency fingerprint storehouse updating device 1, mobile terminal 3 and at least one access point 4 as shown in Fig. 4 a or Fig. 4 b;Institute
State radio-frequency fingerprint storehouse updating device 1 to communicate to connect with the mobile terminal 3, the mobile terminal 3 and at least one described access
Point 4 is communicated to connect;
The information of access point in the mobile terminal 3 at least one access point 4 according to detecting, composition positioning
Record, and the positioning record is sent to radio-frequency fingerprint storehouse updating device 1.
Specifically, the radio-frequency fingerprint storehouse more new system provided in the embodiment of the present invention carries out the side of radio-frequency fingerprint storehouse renewal
Method, may refer to the operating procedure described in above-mentioned corresponding embodiment of the method, this is repeated no more.
Fig. 6 b are the structural representation of another radio-frequency fingerprint storehouse more new system provided in an embodiment of the present invention, such as Fig. 6 b institutes
Show, the system includes location-server 2, mobile terminal 3 and at least one access point 4 as shown in Fig. 5 a or Fig. 5 b;It is described
Location-server 2 is communicated to connect with the mobile terminal 3, the mobile terminal 3 and at least one described communication link of access point 4
Connect;
The information of access point in the mobile terminal 3 at least one access point 4 according to detecting, composition positioning
Record, and the positioning record is sent to the location-server 2.
Specifically, the radio-frequency fingerprint storehouse more new system provided in the embodiment of the present invention carries out the side of radio-frequency fingerprint storehouse renewal
Method, may refer to the operating procedure described in above-mentioned corresponding embodiment of the method, this is repeated no more.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above-mentioned each method embodiment can lead to
The related hardware of programmed instruction is crossed to complete.Foregoing program can be stored in a computer read/write memory medium.The journey
Sequence upon execution, performs the step of including above-mentioned each method embodiment;And foregoing storage medium includes:ROM, RAM, magnetic disc or
Person's CD etc. is various can be with the medium of store program codes.
Finally it should be noted that:Various embodiments above is merely illustrative of the technical solution of the present invention, rather than its limitations;To the greatest extent
The present invention is described in detail with reference to foregoing embodiments for pipe, it will be understood by those within the art that:Its according to
The technical scheme described in foregoing embodiments can so be modified, or which part or all technical characteristic are entered
Row equivalent substitution;And these modifications or replacement, the essence of appropriate technical solution is departed from various embodiments of the present invention technology
The scope of scheme.