The content of the invention
The main object of the present invention is to provide a kind of method, system and the computer of automatic programming wireless signal acquisition position
Readable storage medium storing program for executing, it is intended to which the collection position validity for solving to determine in the prior art is low, the technical problem of position inaccurate.
To achieve the above object, the present invention provides a kind of method of automatic programming wireless signal acquisition position, described automatic
The method of programming wireless signal acquisition position comprises the following steps:
Determine the starting point of pickup area, and based on the moving parameter in the real-time acquisition terminal moving process of the starting point
And radio signal parameter;
The moving parameter and radio signal parameter are uploaded onto the server, for server according to the moving parameter and
Radio signal parameter draws motion track figure;
When the current collection point for detecting terminal is overlapped with starting point, server be based on the motion track figure into
Trajectory diagram is closed, the corresponding moving area of the closing trajectory diagram is determined as to effective collection position of wireless signal.
Preferably, the moving parameter includes translational speed and deflection,
Moving parameter and radio signal parameter in the real-time acquisition terminal moving process based on the starting point
Step includes:
Since the starting point, at interval of default acquisition time to the current translational speed in terminal moving process, when
Front direction angle and current radio signal parameter are acquired.
Preferably, it is described when the current collection point for detecting terminal is overlapped with starting point the step of before include:
Judge whether the current collection point of terminal reaches starting point, when the current collection point of terminal reaches starting point, sentence
Whether disconnected residence time of the terminal in current collection point is more than preset time;
When terminal is being more than preset time at the residence time of current collection point, current collection point and the starting of terminal are judged
Point overlaps.
In addition, to achieve the above object, the present invention also proposes a kind of system, method of automatic programming wireless signal acquisition position,
The method of the automatic programming wireless signal acquisition position comprises the following steps:
Moving parameter in the moving process that starting point of the receiving terminal based on pickup area gather in real time, uploads and wireless
Signal parameter, and motion track figure is drawn according to the moving parameter and radio signal parameter;
Whether the current graphical pointv of detection motion track figure overlaps with the starting graphical pointv of motion track figure;
When the current graphical pointv of motion track figure is overlapped with the starting graphical pointv of motion track figure, motion track figure is judged
Closing trajectory diagram is formed, the corresponding moving area of the closing trajectory diagram is determined as to effective collection position of wireless signal.
Preferably, the moving parameter includes translational speed and deflection,
Described the step of drawing motion track figure according to the moving parameter and radio signal parameter, includes:
The time interval for receiving current moving parameter and last moment moving parameter is obtained, and according to the time interval
And the current translational speed in current moving parameter determines current displacement;
According to current radio signal parameter and last moment moving parameter, current displacement and current movement are judged
Whether the current deflection in parameter is effective;
If the current deflection in current displacement and current moving parameter is effective, according to current displacement with
And current deflection is updated motion track figure.
Preferably, the radio signal parameter includes MAC Address, SSID and RSSI,
It is described according to current radio signal parameter and last moment moving parameter, judge current displacement and current
The whether effective step of current deflection in moving parameter includes:
The RSSI current time sequence rules of MAC Address in current radio signal parameter are obtained, and by the current time
Sequence rule and last moment time series rule compare, and obtain comparison result;
According to the comparison result, SSID and last moment moving parameter, current displacement is judged and when reach
Whether the current deflection in dynamic parameter is effective.
Preferably, whether the current deflection judged in current displacement and current moving parameter effectively walks
Include after rapid:
If the current deflection in current displacement and current moving parameter is invalid, the movement currently gathered is generated
Parameter and the invalid prompt message of radio signal parameter, and the prompt message is issued to terminal.
Preferably, effective collection position that the corresponding moving area of the closing trajectory diagram is determined as to wireless signal
The step of after include:
Establish the radio signal parameter of pickup area and the correspondence effectively between collection position;
When receiving the Location Request to object to be positioned, the environmental signal ginseng of environment where obtaining object to be positioned
Number;
The environmental signal parameter is matched with the radio signal parameter corresponding to effectively collection position, according to matching result
Carry out the positioning of object to be positioned.
In addition, to achieve the above object, the present invention also proposes a kind of system of automatic programming wireless signal acquisition position, institute
Stating the system of automatic programming wireless signal acquisition position includes:Memory, processor, communication bus and it is stored in the storage
The program of automatic programming wireless signal acquisition position on device;
The communication bus is used for realization the connection communication between processor and memory;
The processor is used for the program for performing the automatic programming wireless signal acquisition position, to realize following steps:
Determine the starting point of pickup area, and based on the moving parameter in the real-time acquisition terminal moving process of the starting point
And radio signal parameter;
The moving parameter and radio signal parameter are uploaded onto the server, for server according to the moving parameter and
Radio signal parameter draws motion track figure;
When the current collection point for detecting terminal is overlapped with starting point, server be based on the motion track figure into
Trajectory diagram is closed, the corresponding moving area of the closing trajectory diagram is determined as to effective collection position of wireless signal.
In addition, to achieve the above object, the present invention also provides a kind of readable storage medium storing program for executing, the readable storage medium storing program for executing storage
Have one either more than one program the one or more programs can be held by one or more than one processor
Row for:
Determine the starting point of pickup area, and based on the moving parameter in the real-time acquisition terminal moving process of the starting point
And radio signal parameter;
The moving parameter and radio signal parameter are uploaded onto the server, for server according to the moving parameter and
Radio signal parameter draws motion track figure;
When the current collection point for detecting terminal is overlapped with starting point, server be based on the motion track figure into
Trajectory diagram is closed, the corresponding moving area of the closing trajectory diagram is determined as to effective collection position of wireless signal.
The method of automatic programming wireless signal acquisition position proposed by the present invention, by determining the starting point of pickup area,
With based on the moving parameter and radio signal parameter in the real-time acquisition terminal moving process of this starting point, and by the mobile ginseng of collection
Number and radio signal parameter are uploaded onto the server, and server draws moving rail according to the moving parameter and radio signal parameter of reception
Mark figure;And when the current collection point for detecting terminal movement is overlapped with starting point, then illustrate that terminal motion track is bent for closure
Line, the motion track figure of corresponding server maps is closing trajectory diagram, so that this corresponding terminal of closing trajectory diagram be moved
Region is determined as wireless signal and effectively gathers position.This programme is according to the moving parameter gathered from terminal moving process and wirelessly
Signal parameter determines effectively to gather position, does not depend on electronic pictures and get ready, and is moved by server detection terminal in pickup area
The validity of dynamic rail mark, to ensure the validity of collection point, makes effective collection position of planning more accurate.
Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, it is not intended to limit the present invention.
The present invention provides a kind of method of automatic programming wireless signal acquisition position, with reference to Fig. 1, in one embodiment, institute
Stating the method for automatic programming wireless signal acquisition position includes:
Step S10, determines the starting point of pickup area, and based in the real-time acquisition terminal moving process of the starting point
Moving parameter and radio signal parameter;
The method of the automatic programming wireless signal acquisition position of the present embodiment is suitable for existing by automatically controlling acquisition terminal
The validity of motion track in room area moving process, to gather the moving parameter of multiple and different positions and wireless signal ginseng
Number, to form closing trajectory diagram according to moving parameter and radio signal parameter, this corresponding moving area of closing trajectory diagram is
Effective collection position of wireless signal.Specifically, need to plan that the room area of collection position can be each in megastore
A shop or each resident family of cell, or the region covered with wireless signal such as community shop, wherein wireless communication
Number it is WIFI signal, and such indoor environment region is pickup area.Terminal is then that as shown in Figure 7 having is used to gather movement
The mobile message capture module of parameter, the wireless signal capture module for gathering radio signal parameter and it is used for and server
The mobile terminal of the communication module of communication, it can be smart mobile phone, can also be tablet computer etc., without limitation.Can
Understand ground, pickup area has the start position for proceeding by acquisition operations, what this start position moved for terminal in pickup area
Starting point, determines the starting point of pickup area, and terminal then starts to move in pickup area with this starting point, and along pickup area
Boundary Moving, such as wall or partition, formed terminal motion track.Based in the real-time acquisition terminal moving process of this starting point
Moving parameter and radio signal parameter.Terminal is moved in pickup area, its motion track changes with the time, so that real
When acquisition terminal moving process in moving parameter and radio signal parameter, so as to be given birth to according to moving parameter and radio signal parameter
Into motion track figure embody pickup area scope.
Step S20, the moving parameter and radio signal parameter are uploaded onto the server, so that server is according to the shifting
Dynamic parameter and radio signal parameter draw motion track figure;
Further, the moving parameter in real-time acquisition terminal moving process and the radio signal parameter of pickup area
Afterwards, moving parameter and radio signal parameter that this is gathered in real time are uploaded onto the server in a manner of fixed frequency, server is built
It is vertical to have received signals fingerprint storehouse, the moving parameter of reception and radio signal parameter are stored into received signals fingerprint storehouse, and according to this movement
Parameter and radio signal parameter draw motion track figure.Wherein moving parameter includes translational speed and deflection, the shifting in terminal
Dynamic information capturing module obtains translational speed and compass angle in terminal moving process, and compass angle is converted to direction
Angle.The speed of translational speed characterization terminal movement, deflection is N-E deflections, in N-E coordinate systems, using direct north as 0 arc
Degree, ray is from the angle turned over along clockwise direction to after 360 modulo operations as a result, being counterclockwise negative value.N-E coordinates
It is in the vertical coordinate system that due north-due east direction is established, N axis positive direction is direct north, and E axis positive direction is positive east
To.Radio signal parameter is MAC Address (media access control address, the matchmaker of WIFI signal in pickup area
Body access control, hardware address identity), SSID (Service Set Identifier, service set) and RSSI
(Received Signal Strength, the signal strength received).Server is drawn according to the moving parameter of real-time reception
Terminal motion track, by detection terminal pickup area motion track validity, to ensure the validity of collection point, improve
Validity of the terminal in the signal acquisition quality of pickup area, that is, realize by the validity of motion track to improve collection knot
The validity of fruit.
Step S30, when the current collection point for detecting terminal is overlapped with starting point, the moving rail is based in server
The corresponding moving area of the closing trajectory diagram is determined as the effective of wireless signal and gathers position by mark figure into closing trajectory diagram
Put.
Further, the present embodiment embodies the scope of pickup area by motion track figure, when motion track is closed,
This closed area can characterize the scope of pickup area.So as to when the current collection point of terminal is overlapped with starting point, then illustrate
Terminal motion track forms closed area, and current collection point is final position.Because of Boundary Moving of the terminal along pickup area, from
And initial position and final position are set as same entrance, terminal is moved since entrance along the border of pickup area
It is dynamic, around pickup area after a week, then go out from the same entrance of pickup area, terminal motion track forms pickup area
Close track.Correspondingly, when the current collection point for detecting terminal is overlapped with starting point, terminal motion track forms closed curve
When, server according to the motion track figure that the moving parameter uploaded in real time is drawn with wireless signal into closing trajectory diagram, by this
The corresponding terminal movement area domain of closing trajectory diagram is determined as effective collection position of wireless signal.
The method of the automatic programming wireless signal acquisition position of this implementation, by determining the starting point of pickup area, with base
Moving parameter and radio signal parameter in the real-time acquisition terminal moving process of this starting point, and by the moving parameter of collection and
Radio signal parameter is uploaded onto the server, and server draws motion track according to the moving parameter and radio signal parameter of reception
Figure;And when the current collection point for detecting terminal movement is overlapped with starting point, then illustrate that terminal motion track is closed curve,
The motion track figure of corresponding server maps is closing trajectory diagram, this corresponding terminal movement area domain of closing trajectory diagram is determined
Position is effectively gathered for wireless signal.This programme is according to the moving parameter and radio signal parameter gathered from terminal moving process
Determine effectively collection position, do not depend on electronic pictures and get ready, and by server detection terminal in pickup area motion track
Validity, to ensure the validity of collection point, makes effective collection position of planning more accurate.
Further, in another embodiment of method of automatic programming wireless signal acquisition position of the invention, the movement
Parameter includes translational speed and deflection,
Moving parameter and pickup area in the real-time acquisition terminal moving process based on the starting point it is wireless
The step of signal parameter, includes:
Since the starting point, at interval of default acquisition time to the current translational speed in terminal moving process, when
Front direction angle and current radio signal parameter are acquired.
Further, the present embodiment is preset with default acquisition time, and the numerical value of default acquisition time is arranged on conjunction
In the range of reason, avoid the too short overabundance of data for making collection, or it is too long make collection data it is very few, it is impossible to embody pickup area
Scope.Since starting point, when presetting acquisition time at interval of this, to the current moving parameter in terminal moving process and currently
Wireless signal is acquired, i.e. the current translational speed of acquisition terminal and current deflection, and current radio signal parameter.Will
This current moving parameter and current radio signal for being gathered by default acquisition time are uploaded onto the server, and corresponding server receives
To the time of current moving parameter and current radio signal twice, as default acquisition time.The current mobile speed that will be received
Spend as the average speed in default acquisition time, so as to preset acquisition time and current translational speed according to this, it may be determined that
Displacement of the terminal in default acquisition time, server can be painted by displacement and deflection on N-E coordinate systems
Make corresponding motion track figure.
Further, Fig. 2 is refer to, in the method first embodiment of programming wireless signal acquisition position automatically of the invention
On the basis of, propose the method second embodiment of the automatic programming wireless signal acquisition position of the present invention, it is in a second embodiment, described
Include before the step of when the current collection point for detecting terminal is overlapped with starting point:
Step S40, judges whether the current collection point of terminal reaches starting point, when the current collection point of terminal reaches starting
During point, judge whether residence time of the terminal in current collection point is more than preset time;
Step S50, when terminal is being more than preset time at the residence time of current collection point, judges the current collection of terminal
Point is overlapped with starting point.
Further, each pickup area has its corresponding motion track, and misaligned between each motion track.From
And work as the current collection point that will be overlapped with starting point as final position, when forming closing trajectory diagram, in order to ensure closing track
Figure it is corresponding with pickup area, it is necessary to read close trajectory diagram starting point and terminal be identified.Specifically, the residence time can be passed through
It is identified, when terminal is moved to starting point, stays for some time in this starting point, the corresponding current collection point when terminal is again
During secondary arrival starting point, equally current collection point stays for some time herein, ensures mobile terminal same by this residence time
One pickup area movement.The present embodiment is provided with preset time, when terminal is moved to initial position, judges it in start bit
Whether the residence time put is more than preset time, is more than preset time when the residence time, then using this initial position as acquisition zone
The starting point in domain.The current collection point of terminal is judged in terminal moving process accordingly, determines if to reach again
To starting point, when current collection point arrives again at starting point, determine whether that residence time of the terminal in current collection point is
It is no to be more than preset time, when more than preset time, then judge that the current collection point of terminal is overlapped with starting point, this current collection
Point is the terminal of pickup area.Moving area corresponding to closing trajectory diagram that this is formed from starting point to terminal is determined as adopting
Collect effective collection position of wireless signal in region, with effective collection position formation area with wireless signal in other pickup areas
Not.
In addition, the present invention also provides a kind of method of automatic programming wireless signal acquisition position, with reference to Fig. 3, in the present invention
Automatic programming wireless signal acquisition position method first embodiment in, the automatic programming wireless signal acquisition position
Method includes:
Step S60, starting point of the receiving terminal based on pickup area gather in real time, the mobile ginseng in the moving process that uploads
Number and radio signal parameter, and motion track figure is drawn according to the moving parameter and radio signal parameter;
Whether step S70, the current graphical pointv of detection motion track figure overlap with the starting graphical pointv of motion track figure;
Step S80, when the current graphical pointv of motion track figure is overlapped with the starting graphical pointv of motion track figure, judges to move
The corresponding moving area of the closing trajectory diagram is determined as effective collection of wireless signal by dynamic trace graphics into closing trajectory diagram
Position.
The method of the automatic programming wireless signal acquisition position of the present invention is suitable for server, and server receiving terminal is real-time
The moving parameter and radio signal parameter for gathering and uploading, and motion track is drawn according to this moving parameter and radio signal parameter
Figure.Mobile terminal moves in pickup area, formation motion track, different in the difference characterization pickup area on motion track
The moving parameter and radio signal parameter of position.The moving parameter and wireless signal of difference in real-time acquisition terminal moving process
Parameter, and the moving parameter of this collection and radio signal parameter are uploaded onto the server in real time, server is according to this moving parameter
The motion track figure of characterization pickup area is drawn with radio signal parameter.At the same time during motion track figure is drawn, detection
Whether the current graphical pointv of motion track figure overlaps with the starting graphical pointv of motion track figure, if current graphical pointv is drawn with starting
When point overlaps, then illustrate motion track figure into closing trajectory diagram, terminal motion track is the closed orbit enclosed around pickup area one
Mark, is determined as wireless signal by this corresponding terminal movement area domain of closing trajectory diagram and effectively gathers position.By server according to
The moving parameter and radio signal parameter of upload, draw motion track figure, effectively collection position are determined, without true in electronic pictures
Surely get ready and operation is got ready by collector scene behind position, save human cost, and by server detection terminal in acquisition zone
The validity of domain motion track, to ensure the validity of collection point, makes effective collection position of planning more accurate.
Further, in another embodiment of method of automatic programming wireless signal acquisition position of the invention, the movement
Parameter includes translational speed and deflection,
Described the step of drawing motion track figure according to the moving parameter and radio signal parameter, includes:
Step S61, obtains the time interval for receiving current moving parameter and last moment moving parameter, and according to described
Current translational speed in time interval and current moving parameter determines current displacement;
Step S62, according to current radio signal parameter and last moment moving parameter, judge current displacement and
Whether the current deflection in current moving parameter is effective;
Step S63, if the current deflection in current displacement and current moving parameter is effective, according to present bit
Move size and current deflection is updated motion track figure.
Further, the moving parameter in terminal moving process includes translational speed and deflection, translational speed characterization
The speed of terminal movement, deflection be N-E deflections, it is in N-E coordinate system, and using direct north as 0 radian, ray is from edge
The angle being turned clockwise to is to after 360 modulo operations as a result, being counterclockwise negative value.N-E coordinate systems be due north-
In the vertical coordinate system that due east direction is established, N axis positive direction is direct north, and E axis positive direction is due east direction.Receiving end
When holding the moving parameter uploaded in real time, the current time for receiving current moving parameter is obtained, while obtains and is receiving currently
Time last moment for receiving the moving parameter that last moment terminal uploads before moving parameter, determine current time and upper one
The time interval of time.This time interval for receiving current moving parameter and last moment moving parameter is obtained, and will
The current translational speed that current moving parameter includes is as the draw translational speed in this time interval, according to this time interval
And current translational speed determines current displacement.Understandably, it is different to be likely to occur motion track in moving process for terminal
Normal situation, when motion track is abnormal, the current deflection of definite current displacement and reception is invalid, it is impossible to will
Motion track figure is drawn according to it, so as to need to judge the validity of current displacement and current deflection.Specifically
Ground, obtains the last moment moving parameter that last moment terminal uploads, according to this last moment moving parameter and currently wireless
Signal parameter, judges whether current displacement and current deflection are effective.When judging current displacement and work as front direction
When angle is effective, then current displacement and current deflection are plotted on motion track figure, motion track figure is updated.
Wherein according to current radio signal parameter and last moment moving parameter, current displacement and current moving parameter are judged
In the whether effective step of current deflection include:
Step S621, obtains the RSSI current time sequence rules of MAC Address in current radio signal parameter, and by described in
Current time sequence rule and last moment time series rule compare, and obtain comparison result;
Step S622, according to the comparison result, SSID and last moment moving parameter, judge current displacement with
And whether the current deflection in current moving parameter is effective.
Further, radio signal parameter includes MAC Address, SSID and RSSI, and MAC Address is used to represent pickup area
The MAC Address of middle transmitting wireless signaling mechanisms, SSID are used for the title for representing wireless signal in pickup area, and RSSI is used to characterize
Launch the wireless signal strength that wireless signaling mechanisms are launched, its intensity size and space physics position and shifting in pickup area
Dynamic velocity correlation.In moving process, its space physics position and movement speed changes over time terminal, makes terminal moving rail
Different tracks point on mark has different signal strengths, its signal strength corresponding time series rule as time change has
Rule.When to the Effective judgement of current displacement and current deflection, MAC Address in current radio signal parameter is obtained
RSSI current time sequence rules, MAC Address characterize the physical address of terminal uniqueness, and the RSSI of MAC Address is used to represent same
The RSSI of one terminal.This current time sequence rule and the time series rule of last moment are compared, obtain comparison result.
Understandably, for same terminal and same pickup area, although terminal moves in pickup area, its model moved
Enclose without departing from this pickup area, signal strength difference is not too large caused by movement.If so as to current time sequence rule
Differ greatly with the time series rule of last moment, then illustrate that the motion track of terminal is wrong;Or both it is identical, then illustrate
Terminal does not move, and the current moving parameter of this collection is invalid.Same terminal moves in pickup area, its motion track
The moving parameter of middle current trace points and the moving parameter of last moment tracing point are not much different, and when occurring, current translational speed is remote
Much larger than the situation of last moment translational speed, then illustrate that the current moving parameter of collection is abnormal;Or current deflection and upper
When one moment deflection is opposite, then illustrating that terminal is moved to the opposite direction in track, the current moving parameter of this collection is also abnormal,
It is invalid current moving parameter.In addition wireless signal title possessed by different pickup areas, i.e. SSID are differed, so that
When SSID is identical always in the radio signal parameter of collection, or change is frequent, then illustrating the radio signal parameter of collection has
By mistake, it is invalid current moving parameter.So as to the comparison knot according to current time sequence rule and last moment time series rule
Fruit, SSID and last moment moving parameter, judge whether current displacement and current deflection are effective.
If current displacement and current deflection are effective, this current displacement and current deflection are plotted to shifting
On dynamic trajectory diagram.Fig. 6 is refer to, is the closing that server is determined according to current displacement and current deflection in an embodiment
Trajectory diagram, the length of side of each grid are the square of unit 1, and pickup area includes 1,2,3 three, and round dot is respectively three collections
The starting point in region, the direction of small arrow is terminal moving direction.N-E coordinate systems are set, terminal is justified from the coordinate of N-E coordinate systems
Point is mobile clockwise, the moving parameter uploaded according to default acquisition time, be respectively in the coordinate points that N-E coordinate systems obtain (0,
0), (- 1,1), (- 6,2), (- 7,4), (- 14,8), (- 7,4), (- 5,6), (- 4,7), (- 3,8), (0,13), (7,13), (0
9), (- 3,8), (- 1,6), (0,6), (2,6), (6,6), (2,2), (2,6), (1,3) and (0,0);The wherein position of pickup area 1
It is (- 7,4), (- 14,8), (- 7,4) to put changes in coordinates;The position coordinates of pickup area 2 become turn to (- 3,8), (0,13), (7,
13), (0,9), (- 3,8);The position coordinates of pickup area 3, which becomes, turns to (2,6), (6,6), (2,2), (2,6).That is mobile terminal
When reaching the starting point of pickup area 1, moved after this starting point stops the time more than preset duration since this starting point,
When being moved to by default acquisition time, obtain the first collection point of pickup area 1, obtained after conversion the first coordinate points (-
7th, 4) and corresponding first direction angle, this first coordinate points and first direction angle are depicted as motion track figure;Terminal continues to move
It is dynamic, second collection point of pickup area 1 is obtained when again moving into by presetting acquisition time, the is obtained after conversion
Two coordinate points (- 14,8) and corresponding second direction angle, this second coordinate points and second direction angle equally be depicted as moving
Dynamic trajectory diagram;Hereafter every acquisition time of once presetting just once is gathered, and when the moving parameter of collection is effective, will be moved
Dynamic parameter is depicted as motion track figure;Overlapped until the position of terminal is moved to starting point, closing trajectory diagram is formed, by this envelope
Close effective collection position that the corresponding moving area of trajectory diagram is determined as wireless signal.
Further, it is described in another embodiment of method of automatic programming wireless signal acquisition position of the invention
Judge to include after the whether effective step of the current deflection in current displacement and current moving parameter:
Step S64, if the current deflection in current displacement and current moving parameter is invalid, generation is currently adopted
The invalid prompt message of the moving parameter and radio signal parameter of collection, and the prompt message is issued to terminal.
Understandably, when server judges that the current deflection in current displacement and current moving parameter is invalid
When, the moving parameter that currently gathers and the invalid prompt message of radio signal parameter are generated, and the prompt message is issued
To terminal.Terminal receives this prompt message, replaces motion track, gathered from the new motion track after replacement moving parameter and
Radio signal parameter.In addition when the current collection point for detecting terminal is overlapped with the certain point in motion track, this puts non-starting
When the motion track of point, i.e. terminal in pickup area intersects, because the closed area intersected to form cannot embody acquisition zone
The scope in domain, judges that the moving parameter of the current collection point of terminal of this collection is invalid, also generates invalid prompt message accordingly,
To prompt changes terminal mobile route.By the judgement of this server, the motion track of terminal is constrained, makes the shifting of drafting
Dynamic trajectory diagram is more accurate.
Further, Fig. 4 is refer to, in the method first embodiment of programming wireless signal acquisition position automatically of the invention
On the basis of, propose the method second embodiment of the automatic programming wireless signal acquisition position of the present invention, it is in a second embodiment, described
Include after the step of corresponding moving area of the closing trajectory diagram is determined as effective collection position of wireless signal:
Step S90, establishes the radio signal parameter of pickup area and the correspondence effectively between collection position;
Step S100, when receiving the Location Request to object to be positioned, the ring of environment where obtaining object to be positioned
Border signal parameter;
Step S110, the environmental signal parameter is matched with the radio signal parameter corresponding to effectively collection position, root
The positioning of object to be positioned is carried out according to matching result.
Further, because at effective collection position of programming wireless signal, can gather terminal in pickup area
Radio signal parameter upload, effectively collection position is had the radio signal parameter of this pickup area, i.e., pickup area is wireless
MAC Address, SSID and RSSI absorption accordingly are belonged in effectively collection position in signal parameter, establish the nothing of pickup area
Correspondence between line signal parameter and effectively collection position.When receiving the Location Request of object to be positioned, acquisition is treated
The environmental signal parameter of environment where positioning object, environmental signal parameter are the WIFI signal of environment where object to be positioned
MAC Address, SSID and RSSI.This environmental signal parameter is matched with the radio signal parameter of each effectively collection position correspondence,
When the radio signal parameter with some effectively collection position correspondence matches, then it can determine that the position of object to be positioned matches for this
Effective collection position, complete the positioning of object to be positioned.Supplemented by assistant's solution be illustrated with a specific embodiment, refer to figure
8, effective collection position in three shops is respectively A, B, C in a certain market, its corresponding MAC Address is respectively a1, b1 and c1,
Corresponding SSID is respectively a2, b2 and c2, corresponding RSSI respectively in the section of a3~a4, b3~b4 and c3~c4, and
There may be overlapping part in RSSI sections.When receiving the Location Request of object K to be positioned, object place to be positioned is obtained
The environmental signal parameter of environment, the environmental signal parameter such as obtained show:The MAC Address of environment where K is c1, SSID c1,
RSSI is between c3~c4.The environmental signal parameter of environment where K and three the effective of shop are gathered into the wireless of position correspondence
Signal parameter matches, then understands that its environmental signal parameter radio signal parameter corresponding with effectively collection position C matches, according to this
Matching result judges object to be positioned in the shop corresponding to effectively collection position C, so as to fulfill determining for object to be positioned
Position.
With reference to Fig. 5, Fig. 5 is the device structure schematic diagram for the hardware running environment that present invention method is related to.
The system of the automatic programming wireless signal acquisition position of the embodiment of the present invention can be PC or smart mobile phone,
The mobile terminal devices such as tablet computer, pocket computer, E-book reader, the AR/VR equipment with network savvy, intelligent sound box
With the system of server composition.
As shown in figure 5, the system of the automatic programming wireless signal acquisition position can include:Processor 1001, such as
CPU, memory 1003, communication bus 1002.Wherein, communication bus 1002 be used for realization processor 1001 and memory 1003 it
Between connection communication.Memory 1003 can be high-speed RAM memory or the memory (non-volatile of stabilization
), such as magnetic disk storage memory.Memory 1003 optionally can also be the storage dress independently of aforementioned processor 1001
Put.
Alternatively, the system of the automatic programming wireless signal acquisition position can also include user interface, network interface, take the photograph
As head, RF (Radio Frequency, radio frequency) circuit, sensor, voicefrequency circuit, WiFi module etc..User interface can wrap
Display screen (Display), input unit such as keyboard (Keyboard), touch-screen, camera (including AR/VR equipment) etc. are included,
Optional user interface can also include standard wireline interface and wireless interface.Network interface can optionally include having for standard
Line interface, wave point (such as WI-FI interfaces, bluetooth, probe, 3G/4G/5G internet base stations equipment).
It will be understood by those skilled in the art that the system structure of the automatic programming wireless signal acquisition position shown in Fig. 5
The restriction of the system to automatic programming wireless signal acquisition position is not formed, can be included than illustrating more or fewer portions
Part, either combines some components or different components arrangement.
As shown in figure 5, it can lead to as in a kind of memory 1003 of computer-readable storage medium including operating system, network
Believe module and the program of automatic programming wireless signal acquisition position.Operating system is management and the automatic programming wireless signal of control
The system hardware of position and the program of software resource are gathered, supports the program of automatic programming wireless signal acquisition position and other
The operation of software and/or program.Network communication module is used for realization the communication between each component in the inside of memory 1003, Yi Jiyu
Communicate in the system of automatic programming wireless signal acquisition position between other hardware and softwares.
In the system of the automatic programming wireless signal acquisition position shown in Fig. 5, processor 1001 is located in terminal, is used for
The program of the automatic programming wireless signal acquisition position stored in memory 1003 is performed, realizes following steps:
Determine the starting point of pickup area, and based on the moving parameter in the real-time acquisition terminal moving process of the starting point
And radio signal parameter;
The moving parameter and radio signal parameter are uploaded onto the server, for server according to the moving parameter and
Radio signal parameter draws motion track figure;
When the current collection point for detecting terminal is overlapped with starting point, server be based on the motion track figure into
Trajectory diagram is closed, the corresponding moving area of the closing trajectory diagram is determined as to effective collection position of wireless signal.
Further, the moving parameter includes translational speed and deflection,
Moving parameter and radio signal parameter in the real-time acquisition terminal moving process based on the starting point
Step includes:
Since the starting point, at interval of default acquisition time to the current translational speed in terminal moving process, when
Front direction angle and current radio signal parameter are acquired.
Further, it is described when the current collection point for detecting terminal is overlapped with starting point the step of before, processor
1001 program for performing the automatic programming wireless signal acquisition position stored in memory 1003, realizes following steps:
Judge whether the current collection point of terminal reaches starting point, when the current collection point of terminal reaches starting point, sentence
Whether disconnected residence time of the terminal in current collection point is more than preset time;
When terminal is being more than preset time at the residence time of current collection point, current collection point and the starting of terminal are judged
Point overlaps.
Further, processor 1001 is located in server, for performing the automatic planning nothing stored in memory 1003
The program of line signal acquisition position, realizes following steps:
Moving parameter in the moving process that starting point of the receiving terminal based on pickup area gather in real time, uploads and wireless
Signal parameter, and motion track figure is drawn according to the moving parameter and radio signal parameter;
Whether the current graphical pointv of detection motion track figure overlaps with the starting graphical pointv of motion track figure;
When the current graphical pointv of motion track figure is overlapped with the starting graphical pointv of motion track figure, motion track figure is judged
Closing trajectory diagram is formed, the corresponding moving area of the closing trajectory diagram is determined as to effective collection position of wireless signal.
Further, the moving parameter includes translational speed and deflection,
Described the step of drawing motion track figure according to the moving parameter and radio signal parameter, includes:
The time interval for receiving current moving parameter and last moment moving parameter is obtained, and according to the time interval
And the current translational speed in current moving parameter determines current displacement;
According to current radio signal parameter and last moment moving parameter, current displacement and current movement are judged
Whether the current deflection in parameter is effective;
If the current deflection in current displacement and current moving parameter is effective, according to current displacement with
And current deflection is updated motion track figure.
Further, the radio signal parameter includes MAC Address, SSID and RSSI,
It is described according to current radio signal parameter and last moment moving parameter, judge current displacement and current
The whether effective step of current deflection in moving parameter includes:
The RSSI current time sequence rules of MAC Address in current radio signal parameter are obtained, and by the current time
Sequence rule and last moment time series rule compare, and obtain comparison result;
According to the comparison result, SSID and last moment moving parameter, current displacement is judged and when reach
Whether the current deflection in dynamic parameter is effective.
Further, whether the current deflection that judges in current displacement and current moving parameter is effective
After step, processor 1001 is used for the program for performing the automatic programming wireless signal acquisition position stored in memory 1003,
Realize following steps:
If the current deflection in current displacement and current moving parameter is invalid, the movement currently gathered is generated
Parameter and the invalid prompt message of radio signal parameter, and the prompt message is issued to terminal.
Further, effective collection position that the corresponding moving area of the closing trajectory diagram is determined as to wireless signal
After the step of putting, processor 1001 is used for the journey for performing the automatic programming wireless signal acquisition position stored in memory 1003
Sequence, realizes following steps:
Establish the radio signal parameter of pickup area and the correspondence effectively between collection position;
When receiving the Location Request to object to be positioned, the environmental signal ginseng of environment where obtaining object to be positioned
Number;
The environmental signal parameter is matched with the radio signal parameter corresponding to effectively collection position, according to matching result
Carry out the positioning of object to be positioned.
The device embodiment of automatic programming wireless signal acquisition position of the invention is believed with above-mentioned automatic programming wireless
Number collection position each embodiment of method it is essentially identical, details are not described herein.
The present invention provides a kind of computer-readable recording medium, the computer-readable recording medium storage have one or
More than one program of person, the one or more programs can also be performed by one or more than one processor with
In:
Determine the starting point of pickup area, and based on the moving parameter in the real-time acquisition terminal moving process of the starting point
And radio signal parameter;
The moving parameter and radio signal parameter are uploaded onto the server, for server according to the moving parameter and
Radio signal parameter draws motion track figure;
When the current collection point for detecting terminal is overlapped with starting point, server be based on the motion track figure into
Trajectory diagram is closed, the corresponding moving area of the closing trajectory diagram is determined as to effective collection position of wireless signal.
Further, the moving parameter includes translational speed and deflection,
Moving parameter and radio signal parameter in the real-time acquisition terminal moving process based on the starting point
Step includes:
Since the starting point, at interval of default acquisition time to the current translational speed in terminal moving process, when
Front direction angle and current radio signal parameter are acquired.
Further, it is described when the current collection point for detecting terminal is overlapped with starting point the step of before, described one
A either more than one program can also be performed by one or more than one processor for:
Judge whether the current collection point of terminal reaches starting point, when the current collection point of terminal reaches starting point, sentence
Whether disconnected residence time of the terminal in current collection point is more than preset time;
When terminal is being more than preset time at the residence time of current collection point, current collection point and the starting of terminal are judged
Point overlaps.
Further, the one or more programs can also be performed by one or more than one processor with
For:
Moving parameter in the moving process that starting point of the receiving terminal based on pickup area gather in real time, uploads and wireless
Signal parameter, and motion track figure is drawn according to the moving parameter and radio signal parameter;
Whether the current graphical pointv of detection motion track figure overlaps with the starting graphical pointv of motion track figure;
When the current graphical pointv of motion track figure is overlapped with the starting graphical pointv of motion track figure, motion track figure is judged
Closing trajectory diagram is formed, the corresponding moving area of the closing trajectory diagram is determined as to effective collection position of wireless signal.
Further, the moving parameter includes translational speed and deflection,
Described the step of drawing motion track figure according to the moving parameter and radio signal parameter, includes:
The time interval for receiving current moving parameter and last moment moving parameter is obtained, and according to the time interval
And the current translational speed in current moving parameter determines current displacement;
According to current radio signal parameter and last moment moving parameter, current displacement and current movement are judged
Whether the current deflection in parameter is effective;
If the current deflection in current displacement and current moving parameter is effective, according to current displacement with
And current deflection is updated motion track figure.
Further, the radio signal parameter includes MAC Address, SSID and RSSI,
It is described according to current radio signal parameter and last moment moving parameter, judge current displacement and current
The whether effective step of current deflection in moving parameter includes:
The RSSI current time sequence rules of MAC Address in current radio signal parameter are obtained, and by the current time
Sequence rule and last moment time series rule compare, and obtain comparison result;
According to the comparison result, SSID and last moment moving parameter, current displacement is judged and when reach
Whether the current deflection in dynamic parameter is effective.
Further, whether the current deflection that judges in current displacement and current moving parameter is effective
After step, the one or more programs can also be performed by one or more than one processor for:
If the current deflection in current displacement and current moving parameter is invalid, the movement currently gathered is generated
Parameter and the invalid prompt message of radio signal parameter, and the prompt message is issued to terminal.
Further, effective collection position that the corresponding moving area of the closing trajectory diagram is determined as to wireless signal
After the step of putting, the one or more programs can also be performed by one or more than one processor with
In:
Establish the radio signal parameter of pickup area and the correspondence effectively between collection position;
When receiving the Location Request to object to be positioned, the environmental signal ginseng of environment where obtaining object to be positioned
Number;
The environmental signal parameter is matched with the radio signal parameter corresponding to effectively collection position, according to matching result
Carry out the positioning of object to be positioned.
Computer-readable recording medium embodiment of the present invention and above-mentioned automatic programming wireless signal acquisition position
Each embodiment of method is essentially identical, and details are not described herein.
It should also be noted that, herein, term " comprising ", "comprising" or its any other variant are intended to non-
It is exclusive to include, so that process, method, article or device including a series of elements not only include those key elements,
But also including other elements that are not explicitly listed, or further include solid by this process, method, article or device
Some key elements.In the absence of more restrictions, the key element limited by sentence "including a ...", it is not excluded that including
Also there are other identical element in the process of the key element, method, article or device.
The embodiments of the present invention are for illustration only, do not represent the quality of embodiment.
Through the above description of the embodiments, those skilled in the art can be understood that above-described embodiment side
Method can add the mode of required general hardware platform to realize by software, naturally it is also possible to by hardware, but in many cases
The former is more preferably embodiment.Based on such understanding, technical scheme substantially in other words does the prior art
Going out the part of contribution can be embodied in the form of software product, which is stored in one as described above
In storage medium (such as ROM/RAM, magnetic disc, CD), including some instructions use so that a station terminal equipment (can be mobile phone,
Computer, server, AR/VR equipment, intelligent sound box or network equipment with network savvy etc.) perform each implementation of the present invention
Method described in example.
The foregoing is merely the preferred embodiment of the present invention, is not intended to limit the scope of the invention, every at this
Under the design of invention, the equivalent structure transformation made using description of the invention and accompanying drawing content, or directly/it is used in indirectly
His relevant technical field is included in the scope of patent protection of the present invention.