Summary of the invention
The invention provides a kind of method, Apparatus and system based on WiFi location, in order to solve prior artThere is non-standardization, non-management, non intelligentization in middle commercial circle system, cannot accomplish commercial circle manager, businessmanAnd client's tripartite is mutual, the service level of commercial circle and the problem of development are limited.
The embodiment of the present invention provides a kind of processing method of locating information, comprising:
According at least one the wireless access points AP arranging in application scenarios, obtain in application scenariosAccess the positional information of the terminal of described AP;
According to the positional information of terminal described in described application scenarios, determine that each described terminal is in described applicationPosition in scene;
Position according to each described terminal in described application scenarios, processes.
Optionally, the position according to each described terminal in described application scenarios, process comprise followingIn processing mode partly or entirely:
Processing mode one, position according to each described terminal in described application scenarios, statistics Preset TimeIn the flow of the people of described application scenarios, and generate the stream of people position of described application scenarios according to described flow of the peopleThermal map and/or generation management and control early warning information;
Processing mode two, position according to each described terminal in described application scenarios, generate described terminalHistorical track;
Processing mode three, position according to each described terminal in described application scenarios, generate described terminalReal-time monitor message;
Processing mode four, position according to each described terminal in described application scenarios, generate described terminalVisiting frequency;
Processing mode five, by the application software of installing in described terminal, by described terminal in described applied fieldPosition in scape is sent to described terminal;
Working as of processing mode six, position according to described terminal in described application scenarios and described application scenariosFront marketing model, determines marketing message, by the application software of installing in described terminal, by described marketing letterBreath is sent to the described application software of described terminal.
Optionally, described in obtain the positional information of the terminal of the described AP of access in application scenarios, comprising:
For a terminal, receive the Wireless Fidelity WiFi number that enters the described terminal transmission in application scenariosAccording to message, determine the primary importance information of described terminal according to described WiFi data message;
Described according to the positional information of terminal described in application scenarios, determine that each described terminal is in described applicationPosition in scene, comprising:
The related information of the reference position in described primary importance information and reference position information database is enteredRow coupling, is greater than matching degree reference position that the related information of described reference position of predetermined threshold value is correspondingPositional information and described primary importance information are weighted, and obtain the second place information of described terminal;
According to the electronic map information of described second place information and described application scenarios, determine that described terminal existsPosition in described electronic chart.
Optionally, described WiFi data message comprises Location Request message or probe requests thereby message, described fixedPosition request message is the message that described terminal sends after the described AP of association, and described probe requests thereby message is instituteState the message that terminal sends after not associated described AP;
The primary importance information of determining described terminal according to described WiFi data message, comprising:
If described WiFi data message comprises Location Request message, determine according to described Location Request messageDescribed primary importance information;
If described WiFi data message comprises probe requests thereby message, determine according to described probe requests thereby messageDescribed primary importance information.
Optionally, described WiFi data message comprises Location Request message and probe requests thereby message, described fixedPosition request message is the message that described terminal sends after the described AP of association, and described probe requests thereby message is instituteState the message that terminal sends after not associated described AP;
The primary importance information of determining described terminal according to described WiFi data message, comprising:
Determine described primary importance information according to described Location Request message;
Described after obtaining the second place information of described terminal, also comprise:
According to the electronic map information of described application scenarios, determine the benchmark threshold associated with the described second placeValue;
If described second place information is greater than described baseline threshold, determine institute according to described probe requests thereby messageState primary importance information.
Optionally, determine in the following manner reference position information database:
Determine the signal strength signal intensity of the descending reception of all AP of each reference position association in described application scenariosInstruction RSSI information and Media Access Control address MAC information;
Related information using described RSSI information, described MAC information as described reference position;
Generate reflecting of the related information of described each reference position and the positional information of described each reference positionPenetrate relation, and be stored in the information database of described reference position.
The embodiment of the present invention also provides a kind for the treatment of apparatus of locating information, comprising:
Locating module: at least one the wireless access points AP arranging according to application scenarios, obtainGet the positional information of the terminal of the described AP of access in application scenarios, and
According to the positional information of terminal described in described application scenarios, determine that each described terminal is in described applicationPosition in scene;
Processing module: for according to described locating module determine each described terminal at described application scenariosPosition, process.
Optionally, described processing module, specifically for the each described end determining according to described locating moduleThe position of end in described application scenarios, while processing, according in following processing mode partly or entirelyProcess:
Processing mode one, position according to each described terminal in described application scenarios, statistics Preset TimeIn the flow of the people of described application scenarios, and generate the stream of people position of described application scenarios according to described flow of the peopleThermal map and/or generation management and control early warning information;
Processing mode two, position according to each described terminal in described application scenarios, generate described terminalHistorical track;
Processing mode three, position according to each described terminal in described application scenarios, generate described terminalReal-time monitor message;
Processing mode four, position according to each described terminal in described application scenarios, generate described terminalVisiting frequency;
Processing mode five, by the application software of installing in described terminal, by described terminal in described applied fieldPosition in scape is sent to described terminal;
Working as of processing mode six, position according to described terminal in described application scenarios and described application scenariosFront marketing model, determines marketing message, by the application software of installing in described terminal, by described marketing letterBreath is sent to the described application software of described terminal.
Optionally, described locating module, specifically for:
For a terminal, receive the WiFi data message that enters the described terminal transmission in application scenarios,Determine the primary importance information of described terminal according to described WiFi data message;
The related information of the reference position in described primary importance information and reference position information database is enteredRow coupling, is greater than matching degree reference position that the related information of described reference position of predetermined threshold value is correspondingPositional information and described primary importance information are weighted, and obtain the second place information of described terminal;
According to the electronic map information of described second place information and described application scenarios, determine that described terminal existsPosition in described electronic chart.
Optionally, described WiFi data message comprises Location Request message or probe requests thereby message, described fixedPosition request message is the message that described terminal sends after the described AP of association, and described probe requests thereby message is instituteState the message that terminal sends after not associated described AP;
Described locating module, also for:
If described WiFi data message comprises Location Request message, determine according to described Location Request messageDescribed primary importance information;
If described WiFi data message comprises probe requests thereby message, determine according to described probe requests thereby messageDescribed primary importance information.
Optionally, described WiFi data message comprises Location Request message and probe requests thereby message, described fixedPosition request message is the message that described terminal sends after the described AP of association, and described probe requests thereby message is instituteState the message that terminal sends after not associated described AP;
Described locating module, also for:
Determine described primary importance information according to described Location Request message;
According to the electronic map information of described application scenarios, determine the benchmark threshold associated with the described second placeValue;
If described second place information is greater than described baseline threshold, determine institute according to described probe requests thereby messageState primary importance information.
Optionally, described locating module, also for:
Determine the signal strength signal intensity of the descending reception of all AP of each reference position association in described application scenariosInstruction RSSI information and Media Access Control address MAC information;
Related information using described RSSI information, described MAC information as described reference position;
Generate reflecting of the related information of described each reference position and the positional information of described each reference positionPenetrate relation, and be stored in the information database of described reference position.
The embodiment of the present invention also provides a kind for the treatment of system of locating information, comprises wireless device, application apparatusAnd the treating apparatus of locating information, described wireless device is for coverage radio network network in application scenarios, instituteState application apparatus and carry out management and control for the terminal in described application scenarios, the treating apparatus of described locating informationFor the treating apparatus of aforementioned any one locating information.
The embodiment of the present invention provides a kind of processing method, Apparatus and system of locating information, according to application scenariosAt least one wireless access points AP of middle setting, obtains the terminal of the described AP of access in application scenariosPositional information; According to the positional information of terminal described in described application scenarios, determine that each described terminal existsPosition in described application scenarios; Position according to each described terminal in described application scenarios, locatesReason. The processing method of the locating information that the embodiment of the present invention provides, Apparatus and system, for application scenarios providesStandardization, managementization, intelligentized service, realized the real-time management of commercial circle manager to terminal useAnd monitoring.
Detailed description of the invention
In order to make the object, technical solutions and advantages of the present invention clearer, below in conjunction with accompanying drawing to thisBright being described in further detail, obviously, described embodiment is only a part of embodiment of the present invention,Instead of whole embodiment. Based on the embodiment in the present invention, those of ordinary skill in the art are not doingGo out all other embodiment that obtain under creative work prerequisite, all belong to the scope of protection of the invention.
The processing method of the locating information of the embodiment of the present invention and system are intended to enter for the terminal in application scenariosRow location and navigation, be convenient to user and search required article or destination locations information, and be convenient to manager coupleUser in application scenarios carries out management and control and the user terminal that gives out information in time.
Wisdom commercial circle and wisdom city are general, and rely on perception, the network interconnection, large data storage and calculate,Be intended to build and be more conducive to the business environment of commercial circle prosperity, allow businessman's fast accurate client perception in commercial circleConsumption demand, and make in time response and service; Meanwhile, consumer also can give birth to by this commercial circle platformThe various aspects of the demand of living obtain material benefit and convenient.
Below taking application scenarios as wisdom commercial circle as example, to the processing system of the locating information in the embodiment of the present inventionSystem describes. It should be noted that, the application scenarios of the embodiment of the present invention is not limited to wisdom commercial circle, also canComprising greatly to tourist attractions, airport, large-scale meeting-place etc., little to supermarket, community, subway station etc.
The navigation system of a kind of wisdom commercial circle that the embodiment of the present invention provides as shown in Figure 1, is the present invention's realityThe positioning system structure schematic diagram of executing a kind of wisdom commercial circle that example provides, comprises three subsystems: application subsystemSystem 101, wireless subsystem 102 and service subsystem 103.
Application subsystem 101 comprises terminal application software 1011, and terminal application software 1011 can be commercial circleThe commercial circle management software that is applied to intelligent terminal of manager's exploitation, as " wisdom commercial circle " APP(Application, application program). In addition, terminal application software can be also micro-letter common platform of commercial circleClient software, or the Web of commercial circle (WorldWideWeb, webpage) platform. Terminal use can be led toCrossing terminal application software 1011 navigates, inquires about the position of required purchase commodity or businessman and obtain businessThe sales promotion information of circle etc.
Wireless subsystem 102 comprises the focus AP (WirelessAccess being distributed in wisdom commercial circle everywherePoint, wireless access points), locating module 1021, switch 1022 and wireless controller 1023,Wherein wireless controller 1023 is controlled each focus AP, locating module 1021 for managing concentratedly. Wireless sonSystem 102 is used to wisdom commercial circle to provide large-scale wireless control network to cover, and terminal can be passed through application software1011 realize wireless networking capabilities by accessing each focus AP.
Service subsystem 103 comprises locating module 1031 and service module 1032. Locating module 1031 comprisesEngine of positioning 10311, location database 10312 and engine map 10313; Service module 1032 comprisesPassenger flow analysing submodule 10321 and operation submodule 10322.
Particularly, the terminal data receiving is sent to locating module 1031 by wireless controller 1023, fixedPosition module 1031 is resolved by engine of positioning 10311, location database 10312 and engine map 10313With processing terminal data, and determine the positional information of terminal in wisdom commercial circle, be sent to service modulePassenger flow analysing submodule 10321 in 1032 and operation submodule 10322.
Particularly, engine of positioning 10311 gets the data message of terminal and resolves, with locator dataPositional information in storehouse 10312 is mated, and obtains terminal three-dimensional coordinate position information accurately after calibration;Then engine 10313 according to the map, demarcates terminal three-dimensional coordinate position information in the map of wisdom commercial circle,Obtain the positional information of terminal in wisdom commercial circle.
Further, after the positional information of passenger flow analysing submodule 10321 receiving terminals, in wisdom commercial circleAll terminal locations carry out analyzing and processing, the flow of the people in the wisdom commercial circle of statistics in Preset Time, and rootGenerate wisdom commercial circle stream of people position thermal map and/or generate management and control early warning information according to flow of the people, and generating each terminalHistorical track, visiting frequency etc., thereby make commercial circle manager to carry out passenger flow guiding to whole commercial circleAnd commercial circle planning.
For example, for all terminals in morning October 1 in 2010 WanDa Plaza of 10, supposeHave totally 2 ten thousand terminals, passenger flow analysing submodule 10321 is added up according to these 20,000 terminal positional informationsAnalyze, the stream of people who the obtains market south entrance degree of blocking up is very serious, and passenger flow analysing submodule 10321 canGenerate management and control information, as " in view of south, market entrance flow of the people is larger, start at present management and control decision-making, please be preferentialSelect market north entrance to enter market ", and be sent to the terminal of southern entrance periphery by APP.
Operation submodule 10322 is for mutual with terminal application software 1011, when application subsystem 101 is led toCross micro-letter or APP and send after location or navigation requests, operation submodule 10322 is according to locating module 1031The terminal positional information of determining, feeds back to the micro-of application subsystem 101 by the location of terminal or navigation dataOn letter or APP. In addition, commercial circle manager also can initiatively send marketing letter by operation submodule 10322Cease to terminal, reach the intelligence operation of wisdom commercial circle.
For example, terminal use A wants to be obtained from the positional information in commercial circle, and it is fixed to send by APPPosition request, the position letter of the terminal use A that operation submodule 10322 is determined according to locating module 1031Breath, the second floor clothes sales promotion entrance that the positional information that for example obtains terminal use A is commercial circle, by this positionInformation feeds back on the APP of this terminal use A, can also push clothes sales promotion information simultaneously to this terminalOn the APP of user A.
The navigation system of a kind of wisdom commercial circle that the embodiment of the present invention provides, terminal use can access wisdom businessThe focus of circle carries out Free Internet Access, obtains location and navigation Service in free commercial circle, and obtains commercial circleInterior businessman or commercial activities and discount information, provide large data marketing clothes accurately to businessman and commercial circle managerBusiness, has promoted businessman's brand recognition and business coverage. Meanwhile, commercial circle manager can learn commercial circleInterior flow of the people, carries out risk management and control and early warning, and the propelling movement of promotional messages, improves and promoted commercial circleService level and development. The navigation system of the wisdom commercial circle that the embodiment of the present invention provides is commercial circle manager, businessFamily and client's the mutual intelligent commercial circle system of tripartite, realized wisdom commercial circle standardization, managementization andIntelligent.
The embodiment of the present invention also provides a kind of processing method of locating information, and executive agent is server, concreteCan be the service subsystem in the system of wisdom commercial circle, as shown in Figure 2, for the embodiment of the present invention provide oneThe process flow schematic diagram of planting locating information, comprising:
Step 201: according at least one the wireless access points AP arranging in application scenarios, obtain applicationThe positional information of the terminal of the access AP in scene;
Step 202: according to the positional information of terminal in application scenarios, determine that each terminal is in application scenariosPosition;
Step 203: the position according to each terminal in application scenarios, process.
It should be noted that, multiple focus AP that distributed in the application scenarios in the embodiment of the present invention, andMultiple switches and wireless controller, wherein, wireless controller is used for managing concentratedly each focus of control AP,Multiple focus AP, switch and wireless controller have formed the wireless network nerve of a covering in application scenarios, eventuallyEnd can be realized wireless networking capabilities by accessing each focus AP. In addition the application of the embodiment of the present invention,Scene is not limited to wisdom commercial circle, also can comprise greatly to tourist attractions, airport, large-scale meeting-place etc., little of superCity, community, subway station etc.
In addition,, before terminal positioning, first need to determine in the following manner reference position information database:
Step 1, determine all reference positions in application scenarios. Particularly, reference position sets in advanceIn application scenarios, and the configuration that is directly proportional to positioning precision of the quantity of reference position and distribution density.
For example,, if arrange and be more than or equal to 10 reference positions, positioning precisions in the area of 10 square metresFor higher; Be less than 10 and be more than or equal to 1 reference position if arrange in the area of 10 square metres,Positioning precision is medium; If arrange and be less than 1 reference position, positioning precision in the area of 10 square metresFor lower.
Step 2, the test of AP downstream signal is carried out in each reference position, determine in application scenarios each(ReceivedSignalStrengthIndication connects the descending RSSI of all AP of reference position associationThe signal strength signal intensity instruction of receiving) information and MAC (MediaAccessControl, Media Access Control address)Information, using RSSI information, MAC information as the related information with reference to position.
Step 3, generate the mapping of the related information of each reference position and the positional information of each reference positionRelation, and be stored in the information database of reference position.
In step 201, for any terminal, receive the WiFi of the terminal transmission entering in application scenariosData message, wherein, WiFi data message comprises Location Request message and/or probe requests thereby message. SurveyRequest message is the message that terminal sends after not associated AP, and terminal has been opened WiFi function, but does not connectMeet AP, now terminal can periodically send request broadcast, i.e. probe requests thereby message (ProbeRequest).Location Request message is the message that terminal sends after associated AP, and terminal has been opened WiFi function, and becomesMerit has connected AP, and now WiFi mobile terminal and network service, can send Frame, control frame, fixedJustice is Location Request message; In addition, terminal has been opened WiFi function, and has successfully connected AP, and underCarry the associated AP P of application scenarios or pay close attention to micro-letter public number of application scenarios, holding or micro-by associated AP PLetter end starts engine of positioning and sends Location Request, is also defined as Location Request message.
Further, in step 201, obtain the positional information of the terminal of the access AP in application scenarios,Specifically can determine according to the WiFi data message of terminal the primary importance information of terminal, if WiFi datagramLiterary composition comprises Location Request message, determines primary importance information according to Location Request message; If WiFi dataMessage comprises probe requests thereby message, determines primary importance information according to probe requests thereby message; If WiFi numberComprise Location Request message and probe requests thereby message according to message simultaneously, first determine according to Location Request messagePrimary importance information.
Particularly, all to have comprised signal strong for the Location Request message in WiFi data message and probe requests thereby messageDegree vector, can obtain primary importance information by the signal strength signal intensity vector of resolving in WiFi data message,Wherein primary importance information comprises preliminary coordinate information, RSSI information and the MAC information of terminal.
In step 202, according to the positional information of terminal in application scenarios, determine that each terminal is at application scenariosIn position, specifically can be by the pass of the reference position in primary importance information and reference position information databaseConnection information is mated, and matching degree is greater than to the reference bit corresponding to related information of the reference position of predetermined threshold valueThe positional information of putting and primary importance information are weighted, and obtain the second place information of terminal.
Particularly, can be by the related information of the RSSI information in primary importance information and reference positionRSSI information is mated, and matching degree is greater than to the position of reference position corresponding to the RSSI information of predetermined threshold valueThe preliminary coordinate information of putting in information and primary importance information is weighted, and obtains the accurate coordinate of terminalInformation, i.e. second place information.
If WiFi data message only includes a kind of data message, directly according to second place information and applicationThe electronic map information of scene, determines the position of terminal in electronic chart. Particularly, second place informationFor the three-dimensional coordinate information of terminal, electronic map information is each position in the application scenarios generating in advanceThree-dimensional coordinate set, demarcates the electronic chart at application scenarios by terminal three-dimensional coordinate position information, obtainsThe position of terminal in electronic chart.
If WiFi data message comprises Location Request message and probe requests thereby message simultaneously, first according to instituteState Location Request message and determine described primary importance information, obtaining after the second place information of terminal, according toThe electronic map information of application scenarios, determines the baseline threshold associated with the second place.
If second place information is less than or equal to baseline threshold, directly obtain according to Location Request message theThe electronic map information of two positional informations and application scenarios, determines the position of terminal in electronic chart.
If second place information is greater than baseline threshold, delete obtain according to described Location Request message secondPositional information, and again determine primary importance information according to probe requests thereby message, and according to primary importance informationObtain second place information, the second place information obtaining according to probe requests thereby message and the electronics of application scenariosCartographic information, determines the position of terminal in electronic chart;
Further, the processing mode in step 203 comprise in following processing mode partly or entirely:
Processing mode one, position according to each terminal in application scenarios, the application in statistics Preset TimeThe flow of the people of scene, and generate the stream of people position thermal map of application scenarios and/or generate management and control early warning according to flow of the peopleInformation, so that administrative staff control in real time stream of people's positional information of application scenarios and carry out risk management and control early warning.
For example, for all terminals in morning October 1 in 2010 WanDa Plaza of 10, supposeThere are totally 2 ten thousand terminals, carry out statistical analysis according to these 20,000 terminal positional informations, obtain south, market entranceStream of people's degree of blocking up very serious, now can generate management and control information, as " in view of south, the market entrance stream of peopleMeasure greatlyr, start at present management and control decision-making, please preferentially select north, market entrance to enter market ", and pass through APPBe sent to the terminal of southern entrance periphery.
Processing mode two, position according to each terminal in application scenarios, generate the historical track of terminal,So that terminal use checks historical track.
For example, terminal use A disappeared in WanDa Plaza in 10 o'clock to the 12 o'clock morning of on October 1st, 2010Take, when each according to terminal use A, be engraved in the positional information in WanDa Plaza, generate terminal use AHistorical track, and be sent to the APP of terminal use A, so that terminal use A checked in this time periodIn which businessman stop and how long stopped.
Processing mode three, position according to each terminal in application scenarios, generate the real-time monitoring letter of terminalBreath, so that terminal Real-time Obtaining positional information.
For example, terminal use A disappeared in WanDa Plaza in 10 o'clock to the 12 o'clock morning of on October 1st, 2010Take, when each according to terminal use A, be engraved in the positional information in WanDa Plaza, generate terminal use AReal-time position information, and be sent to the APP of terminal use A, so as terminal use A search fromPosition in WanDa Plaza.
Processing mode four, position according to each terminal in application scenarios, generate the visiting frequency of terminal,So that terminal use obtain pay close attention to or the information of interested position, or make manager pass through each positionTotal visiting frequency is determined the information of the position that concerned degree is higher.
For example, terminal use A disappeared in WanDa Plaza in 10 o'clock to the 12 o'clock morning of on October 1st, 2010Take, when each according to terminal use A, be engraved in the positional information in WanDa Plaza, generate terminal use AThe visiting frequency in each stop businessman, as obtain the terminal use A mother and baby business that visits within these two timesSpread 5 times, visiting leatherware retail shop 2 times, visiting Startbuck once, can analysis user row by visiting frequencyFor and interest.
Processing mode five, by the application software of installing in terminal, the position by terminal in application scenarios is sent outDeliver to terminal, so that terminal use locates in real time and navigates.
For example, terminal use A is by the focus of access WanDa Plaza, download and install be applied to intelligence eventuallyThe WanDa Plaza management software of end equipment, as " wisdom Wanda " APP, can be every according to terminal use AWhen individual, be engraved in the positional information in WanDa Plaza, generate the real-time position information of terminal use A, and be sent to" wisdom Wanda " APP of terminal use A, so that terminal use A searches from the position in WanDa PlazaPut and carry out the navigation in market.
Processing mode six, position according to terminal in application scenarios and the current marketing model of application scenarios,Determine marketing message, by the application software of installing in terminal, the application that marketing message is sent to terminal is softPart, so that manager carries out the propelling movement of promotional messages, and terminal Real-time Obtaining promotional messages.
For example, terminal use A disappeared in WanDa Plaza in 10 o'clock to the 12 o'clock morning of on October 1st, 2010Take, if terminal use A send Location Request in 10 thirty, obtain terminal use A in 10 thirtyPositional information in WanDa Plaza, for example, be second floor clothes sales promotion entrance, this positional information fed back to" wisdom Wanda " APP of terminal use A is upper, can also push clothes sales promotion details simultaneously and use to this terminalOn " wisdom Wanda " APP of family A.
The embodiment of the present invention provides a kind of processing method of locating information, according to arranging extremely in application scenariosA few wireless access points AP, obtains the position of the terminal of the described AP of access in application scenarios and believesBreath; According to the positional information of terminal described in described application scenarios, determine that each described terminal is in described applicationPosition in scene; Position according to each described terminal in described application scenarios, processes. ThisThe processing method of the locating information that bright embodiment provides, for application scenarios provides standardization, managementization, intelligenceThe service of energyization, improves and has promoted service level and the development of application scenarios.
The localization method embodiment of the present invention being provided below by concrete flow process is elaborated, as figureShown in 3, for the present invention is a kind of localization method flow chart that embodiment provides.
Step 301: receive WiFi data message.
Wherein, WiFi data message is that the arbitrary terminal in application scenarios sends, WiFi data message bagDraw together Location Request message and/or probe requests thereby message.
Step 302: determine coordinate figure.
Particularly, determine the coordinate figure of terminal according to the WiFi data message of terminal, coordinate figure can beOne positional information.
Step 303: coordinate figure is mated with reference position information database. Particularly, reference position informationDatabase is pre-stored.
Step 304: take out reference value S. Particularly, can take out the reference value S that matching degree is greater than predetermined threshold value.
Step 305: coordinate figure pretreatment. Comprise that the coordinate figure to determining carries out Data Analysis and calibration.
Step 306: calculate and treat measured value R. Pretreated coordinate figure is normalized and is calculatedTo treating measured value R, treat that measured value R is for mating with reference value S.
It should be noted that, step 303,304 can be synchronizeed and carry out with step 305,306, also can sequentially holdOK, do not limit at this.
Step 307: judge whether R, S mate, and if so, perform step 308, otherwise execution step303。
Step 308: output T, particularly, T comprises T0 and/or T1, for probe requests thereby message, defeatedGo out T0; For Location Request message, output T1.
T is second place information, can be weighted according to the positional information of reference position and primary importance informationCalculate.
Step 309: judge whether to receive T0 and T1 simultaneously, if not, perform step 310, if so,Perform step 311.
Step 310: determine terminal location according to T0 or T1.
Particularly, if the value receiving is T0, determine terminal location according to T0; If the value receiving isT1, determines terminal location according to T1. Particularly, can be according to second place information T0 or T1 and applicationThe electronic map information of scene, determines the position of terminal in electronic chart.
Step 311: judge whether T1 is less than K, if so, performs step 312, otherwise execution step 313.
Wherein, system sets in advance a reference value, and K is threshold value corresponding to a reference value associated with the second place,Can arrange according to positional precision grade.
Step 312: determine terminal location according to T1.
Step 313: judge whether T0 is less than K, if so, performs step 314, otherwise execution step315。
Step 314: determine terminal location according to T0.
Step 315: judge value more approaching with a reference value in T0 and T1, determine eventually according to more approaching valueEnd position.
In embodiments of the present invention, primary importance information can adopt three limit positioning modes to determine. As shown in Figure 4,The three limit positioning mode method schematic diagrames that provide for the embodiment of the present invention.
The position coordinates D (x, y) that terminal device is current, and terminal device can be searched for A, B, the C of peripheryThree focus AP, its coordinate is respectively (x1, y1), (x2, y2), (x3, y3), the distance of they and terminalSeparate is not d1, d2, d3.
The intensity of wireless signal is along with increase and the decay of propagation distance, and radio-frequency power attenuation model is as formula(1) shown in:
In formula, Gr and Gt represent respectively the gain of reception antenna and transmitting antenna, and Gr and Gt can be according to equipmentModel parameter acquiring; R represents the distance between transceiver; λ represents incident wavelength, according to the work of WiFiWorking frequency can obtain λ; PL is the power receiving, and is the signal strength signal intensity instruction RSSI of reception.
According to radio-frequency power attenuation model can computing terminal position (x, y) point to the distance of AP, terminalPosition can solve by any two formulas in formula (2):
In the time positioning calculating, because AP coordinate information is known, according to formula (1) and formula (2)Obtain the path loss of terminal to AP. Based on up path loss, by more than three or three APMeasure the signal strength signal intensity of a terminal simultaneously and carry out calculating path loss, hold at the main sweep phase of terminalOK, and can broadcast probe request message when active scan, all AP measure the reception of this probe requests thereby messageSignal strength signal intensity is also sent to server, and server is determined the position of terminal by computational analysis.
In order to ensure accurate positioning, should guarantee that the signal strength information of any terminal that multiple AP report isAt synchronization, therefore AP measure signal strength information can be preferentially by this information reporting to server,Make server carry out terminal positioning analysis according to the measurement data of receiving in short time as far as possible.
In embodiments of the present invention, terminal periodic scanning also obtains the signal strength characteristics of AP around, and toServer is submitted signal strength characteristics information to, obtains upgrading APP interface display after locating information. Correspondingly,The embodiment of the present invention provides a kind of terminal positioning program circuit, as shown in Figure 5, and for the embodiment of the present invention is carriedThe terminal positioning program flow diagram of confession, comprising:
Step 501: initialize. Specifically comprise and initialize APP interface information.
Step 502: set up and upgrade interface call back function.
Step 503: obtain service handle.
Step 504: registered callbacks function. First obtain scanning result, and scanning result is formatted as to wordSymbol string, is sent to server by request, after acquisition positioning result, upgrades display interface.
Step 505: intermittent scanning. Specifically carry out intermittent scanning by starting scan procedure.
Step 506: finish. Process ends after scanning imaging system completes.
Based on same inventive concept, the embodiment of the present invention also provides a kind for the treatment of apparatus of locating information, asShown in Fig. 6, the treating apparatus structural representation of a kind of locating information providing for the embodiment of the present invention, comprising:
Locating module 601: at least one the wireless access points AP arranging according to application scenarios,Obtain the positional information of the terminal of the described AP of access in application scenarios, and
According to the positional information of terminal described in described application scenarios, determine that each described terminal is in described applicationPosition in scene;
Processing module 602: answer described for the each described terminal of determining according to described locating module 601With the position in scene, process.
Optionally, described processing module 602, specifically for every what determine according to described locating module 601The position of individual described terminal in described application scenarios, when processing, according to the portion in following processing modeDivide or all process:
Processing mode one, position according to each described terminal in described application scenarios, statistics Preset TimeIn the flow of the people of described application scenarios, and generate the stream of people position of described application scenarios according to described flow of the peopleThermal map and/or generation management and control early warning information;
Processing mode two, position according to each described terminal in described application scenarios, generate described terminalHistorical track;
Processing mode three, position according to each described terminal in described application scenarios, generate described terminalReal-time monitor message;
Processing mode four, position according to each described terminal in described application scenarios, generate described terminalVisiting frequency;
Processing mode five, by the application software of installing in described terminal, by described terminal in described applied fieldPosition in scape is sent to described terminal;
Working as of processing mode six, position according to described terminal in described application scenarios and described application scenariosFront marketing model, determines marketing message, by the application software of installing in described terminal, by described marketing letterBreath is sent to the described application software of described terminal.
Optionally, described locating module 601, specifically for:
For a terminal, receive the WiFi data message that enters the described terminal transmission in application scenarios,Determine the primary importance information of described terminal according to described WiFi data message;
The related information of the reference position in described primary importance information and reference position information database is enteredRow coupling, is greater than matching degree reference position that the related information of described reference position of predetermined threshold value is correspondingPositional information and described primary importance information are weighted, and obtain the second place information of described terminal;
According to the electronic map information of described second place information and described application scenarios, determine that described terminal existsPosition in described electronic chart.
Optionally, described WiFi data message comprises Location Request message or probe requests thereby message, described fixedPosition request message is the message that described terminal sends after the described AP of association, and described probe requests thereby message is instituteState the message that terminal sends after not associated described AP;
Described locating module 601, also for:
If described WiFi data message comprises Location Request message, determine according to described Location Request messageDescribed primary importance information;
If described WiFi data message comprises probe requests thereby message, determine according to described probe requests thereby messageDescribed primary importance information.
Optionally, described WiFi data message comprises Location Request message and probe requests thereby message, described fixedPosition request message is the message that described terminal sends after the described AP of association, and described probe requests thereby message is instituteState the message that terminal sends after not associated described AP;
Described locating module 601, also for:
Determine described primary importance information according to described Location Request message;
According to the electronic map information of described application scenarios, determine the benchmark threshold associated with the described second placeValue;
If described second place information is greater than described baseline threshold, determine institute according to described probe requests thereby messageState primary importance information.
Optionally, determine in the following manner reference position information database:
Determine the signal strength signal intensity of the descending reception of all AP of each reference position association in described application scenariosInstruction RSSI information and Media Access Control address MAC information;
Related information using described RSSI information, described MAC information as described reference position;
Generate reflecting of the related information of described each reference position and the positional information of described each reference positionPenetrate relation, and be stored in the information database of described reference position.
Based on same inventive concept, the embodiment of the present invention also provides a kind for the treatment of system of locating information, asShown in Fig. 7, the treatment system structural representation of a kind of locating information providing for the embodiment of the present invention, comprisesThe treating apparatus 703 of wireless device 701, application apparatus 702 and above-mentioned locating information. Wherein, wirelessDevice is 701 for coverage radio network network in application scenarios, and application apparatus 702 is for to described application scenariosInterior terminal is carried out management and control.
The structural representation of the above-mentioned wireless device 701 providing for the embodiment of the present invention as shown in Figure 8. NothingLine apparatus 701 is made up of focus AP801, switch 802, wireless controller 803. Institute in application scenariosSome focus AP, manager can pass through wireless controller unified management centralized Control. Pass through wireless device701 provide wireless coverage network for application scenarios.
Wireless device 701 is as locator data and business data transmission passage, and terminal use can pass through without traditional thread bindingPut 701 service data transmissions, thereby can in application scenarios, get online without being tethered to a cable, terminal use also can pass through nothingLine apparatus 701 transmits locator data to obtain the positional information of terminal.
Further, the application apparatus 702 that the embodiment of the present invention provides comprises terminal application software, and terminal shouldWith software can be the management software of the application scenarios that is applied to intelligent terminal of manager exploitation. ThisOutward, terminal application software can be also the public flat client software of micro-letter of application scenarios, or application scenariosWeb platform. Terminal use can navigate by terminal application software, searches required article or destinationPositional information, and be convenient to manager the user in application scenarios is carried out to management and control and the use that gives out information in timeFamily terminal.
The embodiment of the present invention provides a kind for the treatment of apparatus and system of locating information, according to establishing in application scenariosAt least one the wireless access points AP putting, the position that obtains the terminal of the described AP of access in application scenariosPut information; According to the positional information of terminal described in described application scenarios, determine that each described terminal is describedPosition in application scenarios; Position according to each described terminal in described application scenarios, processes.The treatment system of the locating information that the embodiment of the present invention provides, for application scenarios provide standardization, managementization,Intelligentized service, improves and has promoted service level and the development of application scenarios.
The present invention is that reference is according to the method for the embodiment of the present invention, equipment (system) and computer program productThe flow chart of product and/or block diagram are described. Should understand can be by computer program instructions realization flow figure and/ or block diagram in each flow process and/or flow process in square frame and flow chart and/or block diagram and/Or the combination of square frame. Can provide these computer program instructions to all-purpose computer, special-purpose computer, embeddingThe processor of formula processor or other programmable data processing device, to produce a machine, makes by calculatingThe instruction that the processor of machine or other programmable data processing device is carried out produces for realizing at flow chart oneThe device of the function of specifying in square frame of individual flow process or multiple flow process and/or block diagram or multiple square frame.
These computer program instructions also can be stored in energy vectoring computer or other programmable data processing are establishedIn the standby computer-readable memory with ad hoc fashion work, make to be stored in this computer-readable memoryInstruction produce and comprise the manufacture of command device, this command device is realized in flow process or multiple of flow chartThe function of specifying in square frame of flow process and/or block diagram or multiple square frame.
These computer program instructions also can be loaded in computer or other programmable data processing device, makeMust on computer or other programmable devices, carry out sequence of operations step to produce computer implemented placeReason, thus the instruction of carrying out on computer or other programmable devices is provided for realizing one of flow chartThe step of the function of specifying in square frame of flow process or multiple flow process and/or block diagram or multiple square frame.
Although described the preferred embodiments of the present invention, once those skilled in the art obtain cicada baseThis creative concept, can make other change and amendment to these embodiment. So appended right is wantedAsk and be intended to be interpreted as comprising preferred embodiment and fall into all changes and the amendment of the scope of the invention.
Obviously, those skilled in the art can carry out various changes and modification and not depart from this present inventionBright spirit and scope. Like this, if of the present invention these amendment and modification belong to the claims in the present invention andWithin the scope of its equivalent technologies, the present invention be also intended to comprise these change and modification interior.