CN109275090A - Information processing method, device, terminal and storage medium - Google Patents
- ️Fri Jan 25 2019
Specific embodiment
To keep the purposes, technical schemes and advantages of the application clearer, below in conjunction with attached drawing to the application embodiment party Formula is described in further detail.
In the following description when referring to the accompanying drawings, unless otherwise indicated, the same numbers in different attached drawings indicate same or similar Element.Embodiment described in following exemplary embodiment does not represent all embodiment party consistent with the application Formula.On the contrary, they are only the device and side consistent with some aspects as detailed in the attached claim, the application The example of method.
In the description of the present application, it is to be understood that term " first ", " second " etc. are used for description purposes only, without It can be interpreted as indication or suggestion relative importance.In the description of the present application, it should be noted that unless otherwise specific regulation And restriction, term " connected ", " connection " shall be understood in a broad sense, for example, it may be being fixedly connected, may be a detachable connection, Or it is integrally connected;It can be mechanical connection, be also possible to be electrically connected;It can be directly connected, intermediary can also be passed through It is indirectly connected.For the ordinary skill in the art, the tool of above-mentioned term in this application can be understood with concrete condition Body meaning.In addition, unless otherwise indicated, " multiple " refer to two or more in the description of the present application."and/or" is retouched The incidence relation of affiliated partner is stated, indicates may exist three kinds of relationships, for example, A and/or B, can indicate: individualism A, together When there are A and B, these three situations of individualism B.Character "/" typicallys represent the relationship that forward-backward correlation object is a kind of "or".
Firstly, to the invention relates to some nouns explain:
WiFi information: for distinguishing the information of different WiFi networks.Service set is generally comprised in WiFi information (Service Set Identifier, SSID), BSSID, encryption type and signal strength etc..Wherein, SSID is WiFi net The title of network, the title is not unique, can be for default value or by user's sets itself;BSSID is provide WiFi network wireless Address media access control (Media Access Control, MAC) of access point (Access Point, AP) equipment, the nothing Line AP equipment can be wireless routing device;Signal strength is used to characterize the signal quality of WiFi network.
WiFi environmental information: the WiFi information aggregate being made of at least one WiFi information, for describing designated place week The coverage condition of side WiFi network.For example, A corresponding WiFi environmental information in place is { WiFi information B, WiFi information C, WiFi Information D }, indicate that terminal can scan the signal of WiFi network A, B, C in place A.
The recommendation information of target place: also referred to as point of interest (Point of Interest, POI) information is and target place It is associated that there is the information for recommending value.The recommendation information of target place includes the product information and/or service letter of target place Breath,.For example, interest point information includes the commercial product recommending information of the retail shop, evaluation information, preferential letter when target place is retail shop At least one of breath, row number information.
The service of marching into the arena: the service of recommendation information is pushed to user based on target place.For example, terminal determines that target place is Retail shop, then pushed on the negative one screen of terminal the evaluation information of the retail shop, commercial product recommending information, favor information, in row number information At least one.
Negative one screen: for the quick display page in the display screen of terminal, negative one screen is for showing with suspended window or figure The form display alarm information of card, prompting message include Weather information, scheduling information, using recommendation information, prompting thing At least one of item information.In the embodiment of the present application, terminal shows the recommendation information of target place in negative one screen.
Before the embodiment of the present application is explained, first the application places of the embodiment of the present application are illustrated. Fig. 1 shows the structural schematic diagram of terminal provided by one exemplary embodiment of the application.
Terminal 100 is the electronic equipment with WiFi function.The terminal 100 can be smart phone, tablet computer or just Take formula personal computer etc..By WiFi function, when, there are when WiFi network, terminal 100 can in 100 local environment of terminal Get the WiFi information of each WiFi network, wherein the WiFi information includes SSID, BSSID and signal of WiFi network Intensity etc..According to the key information of typing, terminal 100 can access corresponding WiFi network and carry out internet access.
Terminal 100 can be connected between WiFi equipment by wireless network.WiFi equipment is to provide the net of WiFi network Equipment is closed, for example, WiFi equipment is wireless router or the electronic equipment for opening routing function.When terminal enters WiFi equipment WiFi network coverage area, and when the corresponding key information of typing WiFi equipment, terminal 100 wirelessly connects with WiFi equipment foundation It connects.
Optionally, attendant application of marching into the arena is installed in terminal, the attendant application of marching into the arena is for realizing identification mesh Whether mark object leaves the function of target place, is also used to provide the terminal with the service of marching into the arena.
It optionally, include: processor 120 and memory 140 in the terminal 100.
Processor 120 may include one or more processing core.Processor 120 utilizes various interfaces and connection Various pieces in entire terminal 100, by running or executing the instruction being stored in memory 140, program, code set or refer to Collection is enabled, and calls the data being stored in memory 140, executes the various functions and processing data of terminal 100.Optionally, Processor 120 can use Digital Signal Processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), programmable logic array (Programmable Logic Array, PLA) at least one of example, in hardware realize.Processor 120 can integrating central processor (Central Processing Unit, CPU), in image processor (Graphics Processing Unit, GPU) and modem etc. One or more of combinations.Wherein, the main processing operation system of CPU, user interface and application program etc.;GPU is for being responsible for The rendering and drafting of content to be shown needed for display screen;Modem is for handling wireless communication.On it is understood that Stating modem can not also be integrated into processor 120, be realized separately through chip piece.
Memory 140 may include random access memory (Random Access Memory, RAM), also may include read-only Memory (Read-Only Memory).Optionally, which includes non-transient computer-readable medium (non- transitory computer-readable storage medium).Memory 140 can be used for store instruction, program, generation Code, code set or instruction set.Memory 140 may include storing program area and storage data area, wherein storing program area can store Instruction for realizing operating system, the instruction at least one function (such as touch function, sound-playing function, image Playing function etc.), for realizing instruction of following each embodiments of the method etc.;It is real that storage data area can store following each method Apply the data etc. being related in example.
Referring to FIG. 2, the flow chart of the information processing method provided it illustrates one exemplary embodiment of the application.This Embodiment is applied to illustrate in terminal shown in figure 1 with the information processing method.The information processing method includes:
Step 201, target place locating for terminal is determined.
Optionally, terminal obtains the geographical location information of terminal, will be with geographical location information pair according to default corresponding relationship The place answered is determined as target place.Corresponding pass of the default corresponding relationship between pre-stored geographical location information and place System.
The geographical location information is used to indicate geographical location locating for terminal.For example, the geographical location information is terminal institute The longitude and latitude in the geographical location at place.
Step 202, obtain the corresponding BSSID file of target place, BSSID file include one of target place side or The BSSID of the multiple WiFi networks of person.
Terminal obtains the corresponding BSSID file of target place, and BSSID file includes one of target place side or more The BSSID of a WiFi network.
Step 203, it is strong that the multiple historical signals of the corresponding target WiFi network of target BSSID within a preset period of time are obtained Degree.
Terminal determines target BSSID in the BSSID of one or more WiFi network, determines that target BSSID is corresponding Target WiFi network obtains the multiple historical signal intensity of target WiFi network within a preset period of time.
It should be noted that terminal determines that the process of target BSSID can in the BSSID of one or more WiFi network With reference to the correlative detail in following example, do not introduce first herein.
The quantity of target WiFi network can be one, be also possible to multiple.Optionally, terminal obtains one or more The corresponding target WiFi network of target BSSID.The present embodiment is not limited this.
Optionally, target WiFi network is the WiFi net that terminal is determined when detecting that target object enters target place Network.
In a possible implementation, when terminal detects that target object enters target place, terminal obtains week The WiFi network that signal strength is greater than intensity threshold is determined as target WiFi network by the WiFi network that side is scanned, and to mesh The target BSSID of mark WiFi network is stored.
Optionally, target WiFi network is the highest WiFi of signal strength that target object is determined when entering target place Network.
In a possible implementation, when terminal detects that target object enters target place, terminal obtains week The signal strength that side is scanned is greater than at least two WiFi networks of intensity threshold, by signal strength at least two WiFi networks Highest WiFi network is determined as target WiFi network, and stores to the target BSSID of target WiFi network.
Optionally, target WiFi network is the WiFi network that terminal has been connected into target place.
Optionally, target object is the holder of terminal, also referred to as user.
Optionally, terminal is in real time or the signal strength of interval acquiring target WiFi network at predetermined time intervals.
Predetermined time interval can be terminal default setting or the customized setting of user.The present embodiment is to this It is not limited.
Multiple signal strengths that target WiFi network is acquired in preset time period are determined as multiple history and believed by terminal Number intensity.
Preset time period is greater than predetermined time interval.Preset time period can be terminal default setting or user Customized setting.The present embodiment is not limited this.
Step 204, when the variation tendency indicated by multiple historical signal intensity is downward trend, determine target object from Open target place.
It should be noted that the relationship between target object and target place includes: that target object enters target place, mesh Mark object is resident target place and target object leaves one of target place.In the embodiment of the present application, information processing side Method is to carry out knowledge method for distinguishing to whether target object leaves target place.
Terminal judges whether variation tendency indicated by multiple historical signal intensity is downward trend, then if downward trend Be used to indicate target object with the target WiFi network at a distance from corresponding target place with time negative correlation, i.e. target Object distance target place is more and more remoter, determines that target object leaves target place.
Optionally, target place is the place that regional scope is less than range threshold.Schematically, target place includes quotient At least one of paving, transport hub, No Tooting Area, tourist attraction.Wherein, transport hub includes bus station, subway station, train It stands and at least one of airport.No Tooting Area includes at least one of library, museum, hospital and law court.For example, Target place is indoor spaces.The present embodiment is not limited the location type of target place.
In conclusion the target place that the present embodiment is presently in by determining terminal, and determine that target place is corresponding One or more WiFi networks obtain the signal strength of target WiFi network, obtain the exercise data of target object, when signal is strong When degree and exercise data meet specified separate condition, determine that target object leaves target place;So that independent of additionally matching Under the premise of setting hardware device, terminal is capable of the signal strength of the target WiFi network in combining target place and the movement number of user According to effectively being judged whether user leaves target place, the certainty and flexibility of place identification are improved.
Referring to FIG. 3, the schematic diagram of the implementation environment provided it illustrates another embodiment of the application.The implementation environment Including above-mentioned terminal 100 and server 300.
It is connected between terminal 100 and server 300 by wired or wireless network.Server 300 to terminal 100 for mentioning For the service of marching into the arena.
Server 300 can be a server, be also possible to a server cluster, can also be a cloud computing clothes Business center.
Optionally, server 300 includes background server 301, profile server 302 and third-party server 303.
Background server 301 is the corresponding background server of attendant application of marching into the arena, for terminal 100 and third party Data between server 303 are forwarded.
Optionally, the target place that terminal 100 is sent is forwarded to third-party server 303 by background server 301.It is optional , the recommendation information for the target place that third-party server 303 is sent is forwarded to terminal 100 by background server 301.
Profile server 302 is for being stored with BSSID file.BSSID file includes WiFi network and field in multiple regions Between corresponding relationship.Optionally, be used for will be in region locating for terminal between WiFi network and place for profile server 302 Corresponding relationship be sent to terminal 100.Wherein, region can be administrative region, and region can be according to province, city, county, township and village One of divided.
Third-party server 303 is used to provide the service of marching into the arena to terminal 100.Optionally, third-party server 303 obtain with The recommendation information of target place, and to background server 301 send target place recommendation information, corresponding, background server 301 are sent to terminal 100 to the recommendation information of the target place received.
Background server 301, profile server 302 pass through wired or nothing between third-party server 303 this three two-by-two Line network connection.Optionally, above-mentioned background server 301 can integrate in a server with profile server 302, That is, the server had both been able to achieve the function that background server 301 is realized, it is also able to achieve the function that profile server 302 has Energy.
Referring to FIG. 4, the flow chart of the information processing method provided it illustrates another exemplary embodiment of the application. The present embodiment is applied to illustrate in terminal shown in figure 1 with the information processing method.The information processing method includes:
Step 401, target place locating for terminal is determined.
The realization process of this step can refer to the above-mentioned associated description to step 201, and details are not described herein.
Step 402, obtain the corresponding BSSID file of target place, BSSID file include one of target place side or The BSSID of the multiple WiFi networks of person.
The realization process of this step can refer to the above-mentioned associated description to step 202, and details are not described herein.
Step 403, the first WiFi environmental information, the first WiFi ring are acquired when detecting that target object enters target place The BSSID of multiple WiFi networks in the information of border including terminal side.
The first WiFi environmental information, the first WiFi environment letter are acquired when terminal detects that target object enters target place The BSSID of multiple WiFi networks in breath including terminal side.
It can also include signal strength, acquisition at least one of moment and encryption type in first WiFi environmental information. Signal strength is the network signal intensity of WiFi network.At the time of the acquisition moment is that terminal collects WiFi network.
Step 404, when sharing BSSID there are one or more in the first WiFi environmental information and BSSID file, Target BSSID is determined in one or more shared BSSID.
When there is one or more in the first WiFi environmental information and BSSID file and share BSSID, at one or Target BSSID, including but not limited to following several possible implementations are determined in multiple shared BSSID.
In one possible implementation, when shared there are one in the first WiFi environmental information and BSSID file When BSSID, this is shared into BSSID and is determined as target BSSID.
In alternatively possible implementation, when there are multiple shared in the first WiFi environmental information and BSSID file When BSSID, a shared BSSID is therefrom selected to be determined as target BSSID according to selection strategy.
Selection strategy includes the shared BSSID of selection signal maximum intensity, or selection first scan share BSSID, or receive the shared BSSID of user's selection.The present embodiment is not limited the setting of selection strategy.
Schematically, when the signal strength for the multiple WiFi networks in the first WiFi environmental information further including terminal side When, terminal one or more share in BSSID determine target BSSID, may include: when the first WiFi environmental information with There are when one or more shared BSSID in BSSID file, the maximum shared BSSID of signal strength is determined as target BSSID。
Schematically, when the acquisition moment for the multiple WiFi networks in the first WiFi environmental information further including terminal side When, terminal one or more share in BSSID determine target BSSID, may include: when the first WiFi environmental information with There are when one or more shared BSSID in BSSID file, the shared BSSID of moment earliest will be acquired and be determined as target BSSID。
In alternatively possible implementation, terminal is when detecting that target object enters target place, to server The place mark of target place is sent, corresponding, server receives place mark, according to the acquisition of default corresponding relationship and field Identify corresponding target BSSID.Server sends target BSSID to terminal, corresponding, and terminal receives and by target BSSID It is stored.
Wherein, default corresponding relationship includes the relationship between place mark and target BSSID.
For example, when sharing BSSID there are one or more in the first WiFi environmental information and BSSID file, terminal It is shared at one or more and determines that target BSSID is that " EC:26:CA:7E:38:38 " is stored in BSSID.
Step 405, the signal strength of the corresponding target WiFi network of interval acquiring target BSSID at predetermined time intervals.
Optionally, when detecting that target object enters target place, terminal is spaced acquisition terminal week at predetermined time intervals The WiFi information of multiple WiFi networks of side.Wherein, WiFi information includes BSSID and signal strength.
Optionally, when, there are when the target BSSID of target WiFi network, terminal obtains in the BSSID of multiple WiFi networks The corresponding signal strength of target BSSID.
Step 406, multiple signal strengths of the target WiFi network got within a preset period of time are determined as multiple Historical signal intensity.
When detecting that target object enters target place, terminal every preset time period will obtain within a preset period of time The multiple signal strengths for the target WiFi network got are determined as multiple historical signal intensity.
Wherein, preset time period is greater than predetermined time interval.
For example, predetermined time interval is 10 seconds, preset time period is 60 seconds, i.e. the target that will get in 60 seconds of terminal 6 signal strengths of WiFi network are determined as 6 historical signal intensity.
Step 407, judge whether variation tendency indicated by multiple historical signal intensity is downward trend.
Optionally, it is generally in downward trend that downward trend, which is multiple historical signal intensity, i.e., multiple historical signals are strong There is at most k mutation value in degree, but multiple historical signal intensity are generally in downward trend, and k is positive integer.
Optionally, downward trend is the trend that tapers off of multiple historical signal intensity, i.e., multiple historical signal intensity and when Between parameter negative correlation, multiple historical signal intensity reduce with the increase of time parameter.
Terminal judges whether variation tendency indicated by multiple historical signal intensity is downward trend, if multiple historical signals Variation tendency indicated by intensity is downward trend, thens follow the steps 408;If variation indicated by multiple historical signal intensity becomes Gesture is not downward trend, it is determined that target object still resides in target place.
Step 408, when the variation tendency indicated by multiple historical signal intensity is downward trend, determine target object from Open target place.
Optionally, before terminal judges whether variation tendency indicated by multiple historical signal intensity is downward trend, Terminal judges whether the similarity between the first WiFi finger print information and the 2nd WiFi finger print information is less than similar threshold value, if similar When degree is less than similar threshold value and executes the variation tendency indicated by multiple historical signal intensity then as downward trend, target pair is determined As the step of leaving target place.
When the variation tendency indicated by multiple historical signal intensity is downward trend, target object is used to indicate apart from mesh It is more and more remoter to mark place, determines that target object leaves target place.
In order to which the identification for whether leaving target place to target object is more accurate, indicated by multiple historical signal intensity Variation tendency be downward trend when, determining that target object leaves target place includes but is not limited to the possible realization of following two Mode.
In one possible implementation, the variation tendency indicated by multiple historical signal intensity be downward trend and When the signal strength for the target WiFi network that the last time gets is less than intensity threshold, determine that target object leaves target field Institute.
Optionally, when terminal judges whether variation tendency indicated by multiple historical signal intensity is the same of downward trend When, terminal judges whether the signal strength of the last target WiFi network got is less than intensity threshold.When multiple history Variation tendency indicated by signal strength is small for the signal strength of downward trend and the last target WiFi network got When intensity threshold, determine that target object leaves target place.
Optionally, target object is used to indicate when the signal strength of target WiFi network is more than or equal to intensity threshold It is less than first distance threshold value at a distance from corresponding target place with the target WiFi network.
Intensity threshold can be terminal default setting or the customized setting of user.This is not added in the present embodiment To limit.
In alternatively possible implementation, when detecting that target object enters target place, at predetermined time intervals The exercise data of interval acquiring target object, exercise data are used to indicate target object mobile speed interior at preset time intervals Degree.The variation tendency indicated by multiple historical signal intensity is downward trend and exercise data meet it is specified far from condition when, Determine that target object leaves target place.
It should be noted that above two possible implementation can be combined with implementing, when above two possible reality It includes: that the variation indicated by multiple historical signal intensity becomes that terminal, which determines that target object leaves target place, when existing mode combines Gesture is downward trend, the signal strength of the last target WiFi network got is less than intensity threshold and exercise data meets When specified separate condition, determine that target object leaves target place.
It should be noted that above-mentioned three kinds of conditions determine that target object leaves the process of target place and can join when meeting simultaneously The correlative detail of above two possible implementation is examined, details are not described herein.
Optionally, exercise data includes mobile step number, the movement speed, acceleration of interior target object at preset time intervals At least one of.Schematically, which is average speed, maximum speed or the minimum speed in predetermined time interval Degree, which is average acceleration, peak acceleration or minimum acceleration in predetermined time interval.
Optionally, include in terminal pedometer, gravity sensor, vibrating sensor, pressure sensor, in gyroscope extremely A kind of few sensor, terminal obtain the exercise data of target object by above-mentioned at least one sensor.
For example, terminal acquires target object mobile step number interior at preset time intervals by pedometer.
Optionally, specifying far from condition includes being used to indicate target object to be greater than second distance threshold at a distance from target place The condition of value.
In one possible implementation, when exercise data is the interior mobile step number counted at preset time intervals When, specifying far from condition is that mobile step number is greater than step threshold.
In alternatively possible implementation, when exercise data is the interior movement speed counted at preset time intervals When, specifying far from condition is that movement speed is greater than threshold speed.
In alternatively possible implementation, when exercise data is the interior acceleration counted at preset time intervals When, specifying far from condition is that acceleration is greater than acceleration rate threshold.
Above-mentioned step threshold, threshold speed and acceleration rate threshold can be terminal default setting, can be user certainly Definition setting, the present embodiment is not limited this.
It should be noted that the embodiment of the present application is not limited exercise data and specified separate condition, below only It take exercise data as the mobile step number of the target object obtained by pedometer, specifying far from condition is that mobile step number is greater than step number It is illustrated for threshold value.
Optionally, it while terminal is spaced the first WiFi environmental information of acquisition at predetermined time intervals, is obtained by pedometer The mobile step number of target object.
Schematically, terminal obtains user's by pedometer while 10 seconds the first WiFi environmental informations of acquisition Mobile step number.
Optionally, when detecting that target object enters target place, terminal is spaced at predetermined time intervals passes through pedometer Obtain the mobile step number of target object.When terminal judges whether variation tendency indicated by multiple historical signal intensity is that decline becomes While gesture, terminal judges whether the mobile step number of the last target object got by pedometer is greater than step number threshold Value.The variation tendency indicated by multiple historical signal intensity is downward trend and when mobile step number is greater than step threshold, terminal Determine that target object leaves target place.
Step threshold can be terminal default setting or the customized setting of user.This is not added in the present embodiment To limit.Schematically, when predetermined time interval is 10 seconds, step threshold is 15 steps.
In a schematical example, after terminal detects and enters retail shop using the user of the terminal, terminal every The signal strength of target WiFi network is obtained within 10 seconds, 6 historical signals that terminal obtains target WiFi network in certain 60 seconds are strong Degree, when 6 historical signal intensity according to chronological order be followed successively by " -35dbm ", " -38dbm ", " -45dbm ", " - 50dbm","-55dbm","-60dbm".When terminal judges that variation tendency indicated by 6 historical signal intensity becomes for decline When gesture, terminal determines that the user leaves the retail shop.
Optionally, before terminal judges whether variation tendency indicated by multiple historical signal intensity is downward trend, Terminal judges whether the similarity between the first WiFi finger print information and the 2nd WiFi finger print information is less than similar threshold value, if When similarity is less than similar threshold value and executes the variation tendency indicated by multiple historical signal intensity then as downward trend, mesh is determined The step of mark object leaves target place.
Optionally, when terminal detects that target object enters target place, the first WiFi finger print information of acquisition, first WiFi finger print information includes the WiFi information of multiple WiFi networks of terminal side;The of interval acquiring terminal at predetermined time intervals Two WiFi finger print informations;Calculate the similarity between the first WiFi finger print information and the 2nd WiFi finger print information;When similarity is small Execution works as variation tendency indicated by multiple historical signal intensity for downward trend when similar threshold value and exercise data satisfaction refers to When Dingyuan is from condition, the step of target object leaves target place is determined.
Wherein, the first WiFi finger print information is the terminal week acquired when terminal detects that target object enters target place The WiFi information of multiple WiFi networks of side.2nd WiFi finger print information is to detect that target object enters target place in terminal It is spaced the WiFi information of multiple WiFi networks of the terminal side of acquisition at predetermined time intervals afterwards.
In a possible implementation, terminal is obtained between the first WiFi finger print information and the 2nd WiFi finger print information Shared WiFi information the first quantity and WiFi information in the 2nd WiFi finger print information the second quantity, and by the first number The ratio of amount and the second quantity is determined as the similarity of the first WiFi finger print information and the 2nd WiFi finger print information.
When the ratio of the first quantity and the second quantity is less than similar threshold value, terminal determines the first WiFi finger print information and the The similarity of two WiFi finger print informations is lower, continues to execute subsequent the step of whether target object leaves target place judged; When the ratio of the first quantity and the second quantity is more than or equal to similar threshold value, terminal determines the first WiFi environmental information and the The similarity of two WiFi environmental informations is higher, determines that target object still resides in target place.
For example, including WiFi information in the first WiFi finger print information of acquisition when terminal detects that user enters retail shop A, WiFi information B and WiFi information C, terminal is every the WiFi finger print information of acquisition in 10 seconds, when collected WiFi fingerprint is believed When including WiFi information A, WiFi information D, WiFi information E in breath, due to sharing first quantity of WiFi information (WiFi information A) The ratio of the second quantity (as 3) of WiFi information is 1/3 in (as 1) and the 2nd WiFi finger print information, is less than similarity threshold Value 50%, therefore, terminal continue to execute subsequent the step of whether target object leaves target place judged.
Since the outlet of target place is usually located at fixed-direction, judge that multiple historical signal intensity are signified in terminal Before whether the variation tendency shown is downward trend, terminal can first judge whether the moving direction of target object belongs to designated parties To range, is executed if the moving direction of target object belongs to assigned direction range and work as change indicated by multiple historical signal intensity When change trend is downward trend, the step of target object leaves target place is determined.
Optionally, the moving direction of terminal interval acquiring target object at predetermined time intervals.When moving direction and designated parties To absolute difference be less than direction threshold value when then to execute the variation tendency indicated by multiple historical signal intensity be that decline becomes Gesture and exercise data meet it is specified far from condition when, determine the step of target object leaves target place.
Schematically, direction is indicated using deflection (including above-mentioned moving direction, assigned direction and direction threshold value).
Wherein, assigned direction is the corresponding direction in outlet of target place.It is pre-stored that assigned direction can be terminal The corresponding direction of target place, is also possible to terminal and leaves directional statistics according to corresponding at least two history of the target place to obtain The direction arrived.Wherein, at least two history leave direction when target place is left in direction at least two objects in history.
Optionally, terminal obtains direction when at least two objects in history leave target place from server, according to At least two directions determine assigned direction.Schematically, terminal is by the average value of the corresponding deflection of at least both direction It is determined as the deflection of assigned direction.
Direction threshold value is terminal default setting or the customized setting of user.For example, direction threshold value is 60 degree.
For example, terminal while 10 seconds the first WiFi environmental informations of acquisition, obtains user by direction locator and works as Preceding corresponding moving direction.For example, direction locator is magnetometer.
In a schematical example, the outlet of target place is located at due south direction, then the designated parties of the target place To be Due South to, direction threshold value be 60 degree.When the moving direction that terminal gets user is 45 degree of south by east, terminal is determined " 45 degree " of absolute difference of moving direction " 45 degree of south by east " and assigned direction " due south direction " less than direction threshold value " 60 degree ", It then continues to execute and subsequent the step of whether target object leaves target place is judged.
Optionally, when the variation tendency indicated by multiple historical signal intensity is downward trend, determine target object from Before opening target place, terminal obtains the recommendation information of target place, in the recommendation of the negative one screen display target place of terminal Information.
Terminal obtains the recommendation information of target place, the including but not limited to possible implementation of following two.
In one possible implementation, terminal obtains the corresponding recommendation of target place according to the first corresponding relationship Breath, which includes the corresponding relationship between target place and recommendation information.
Optionally, when terminal receives the exhalation idsplay order of negative one screen, target field is obtained according to the first corresponding relationship Corresponding recommendation information, first corresponding relationship include the corresponding relationship between target place and recommendation information.
Schematically, when target place is retail shop, determine that the recommendation information of target place includes the title of retail shop, commodity At least one of recommendation information, evaluation information, favor information, row number information.
Schematically, when target place is transport hub, determine that the recommendation information of target place is traffic information, traffic Hinge includes at least one of bus station, subway station, railway station and airport.
Schematically, when target place is No Tooting Area, determine that the recommendation information of target place is light music information, peace Skip zone includes at least one of library, museum, hospital and law court.
Schematically, when target place is tourist attraction, determine the recommendation information of target place for tourism strategy information.
In alternatively possible implementation, terminal to server sends looking into for the place mark for carrying target place Request is ask, which is used to indicate server and obtains the corresponding recommendation information of place mark according to the second corresponding relationship, and The recommendation information is fed back into terminal.Corresponding, terminal receives the recommendation information of server feedback.Second corresponding relationship includes Corresponding relationship between place mark and recommendation information.
Optionally, terminal sends inquiry request to background server, which carries the place mark of target place Know, corresponding, background server receives the place mark of target place, place mark is forwarded to third-party server, the Tripartite's server obtains place according to the second corresponding relationship and identifies corresponding recommendation information, and the recommendation information will be taken by the day after tomorrow Business device feeds back to terminal.Terminal receives the recommendation information of feedback.
In a schematical example, as shown in figure 5, including that data acquire in attendant application of marching into the arena in terminal Module and recommendation information management module.After terminal detects and enters retail shop using the user of the terminal, terminal is adopted by data Collect the signal strength that module obtained target WiFi network every 10 seconds, when 6 of the target WiFi network got in 60 seconds When historical signal intensity is not downward trend, determine that user still resides in target place.Inquiry is sent to background server to ask It asks, which carries retail shop's mark of the retail shop, and corresponding, background server receives the inquiry request, and should Inquiry request is pass-through to third-party server, and third-party server obtains recommendation information corresponding with retail shop's mark, third party's clothes Business device returns to the recommendation information to terminal by background server, corresponding, and terminal is received by recommendation information management module should The corresponding recommendation information of retail shop, recommendation information management module are used to push the recommendation information to negative one screen.When terminal receives pair Should be when the exhalation idsplay order of negative one screen, negative one screen activly request obtains the recommendation information.
Optionally, on the negative one screen of terminal in the form of suspended window or figure card displaying target place recommendation Breath.
Optionally, when target place is retail shop, the recommendation information of target place includes the title of retail shop, commercial product recommending letter At least one of breath, evaluation information, favor information, row number information.
Optionally, when the variation tendency indicated by multiple historical signal intensity is downward trend, determine target object from After opening target place, further includes: cancel the recommendation information in displaying target place on the negative one screen of terminal.
Terminal cancels the recommendation information to target place after determining that target object leaves target place on negative one screen Display.
In a schematical example, as shown in fig. 6, target place is retail shop " XX bullfrog ", detecting in terminal makes After entering retail shop with the user of the terminal, when terminal detects the exhalation idsplay order of negative one screen 61, pushing away for the retail shop is obtained Information is recommended, figure card 62 is shown on negative one screen 61, which is used to show the recommendation of the retail shop " XX bullfrog " Breath, the recommendation information include the title of retail shop " XX bullfrog ", row number information, popularity recommendation information and retail shop's detail information.Terminal The signal strength that target WiFi network was obtained every 10 seconds, when 6 history of the target WiFi network got in 60 seconds are believed Number intensity determines that target object leaves target place when being downward trend, cancels display figure card 62 on negative one screen 61.
In conclusion the embodiment of the present application is also that decline becomes by working as variation tendency indicated by multiple historical signal intensity When the signal strength for the target WiFi network that gesture and the last time get is less than intensity threshold, determine that target object leaves target Place;It enables the terminal to combine variation tendency indicated by multiple historical signal intensity and the last signal strength comprehensive Judge whether target object leaves target place, further improves the accuracy of information processing.
The embodiment of the present application is also by when detecting that target object enters target place, interval acquiring at predetermined time intervals The exercise data of target object, the variation tendency indicated by multiple historical signal intensity is downward trend and exercise data meets When specified separate condition, determine that target object leaves target place;It enables the terminal to combine multiple historical signal intensity signified Whether the exercise data comprehensive descision target object for the variation tendency and target object shown leaves target place, further improves The accuracy of information processing.
Following is the application Installation practice, can be used for executing the application embodiment of the method.It is real for the application device Undisclosed details in example is applied, the application embodiment of the method is please referred to.
Referring to FIG. 7, the structural schematic diagram of the information processing unit provided it illustrates the application one embodiment.The letter Ceasing processing unit can be by special hardware circuit, alternatively, the whole or one of software and hardware being implemented in combination with as the terminal in Fig. 1 Part, the information processing unit include: that the first determining module 710, first obtains the acquisition module 730 and second of module 720, second Determining module 740.
First determining module 710, for determining target place locating for terminal;
First obtains module 720, and for obtaining the corresponding BSSID file of target place, BSSID file includes target place The BSSID of one or more WiFi network of side;
Second obtains module 730, for obtaining the corresponding target WiFi network of target BSSID within a preset period of time more A historical signal intensity;
When second determining module 740 for the variation tendency indicated by multiple historical signal intensity is downward trend, really The object that sets the goal leaves target place.
Optionally, second module 730 is obtained, is also used to acquire first when detecting that target object enters target place WiFi environmental information includes the BSSID of multiple WiFi networks of terminal side in the first WiFi environmental information;When the first WiFi ring There are when one or more shared BSSID in border information and BSSID file, shares in BSSID and determine at one or more Target BSSID;The signal strength of the corresponding target WiFi network of interval acquiring target BSSID at predetermined time intervals;It will be default Multiple signal strengths of the target WiFi network got in period are determined as multiple historical signal intensity.
Optionally, further include in the first WiFi environmental information terminal side multiple WiFi networks signal strength;Second Module 730 is obtained, is also used to when sharing BSSID there are one or more in the first WiFi environmental information and BSSID file, The maximum shared BSSID of signal strength is determined as target BSSID.
Optionally, further include in the first WiFi environmental information terminal side multiple WiFi networks the acquisition moment;Second Module 730 is obtained, is also used to when sharing BSSID there are one or more in the first WiFi environmental information and BSSID file, The shared BSSID of moment earliest will be acquired and be determined as target BSSID.
Optionally, the second determining module 740 is also used to work as variation tendency indicated by multiple historical signal intensity as decline When the signal strength for the target WiFi network that trend and the last time get is less than intensity threshold, determine that target object leaves mesh Mark place.
Optionally, which further includes that third obtains module.The third obtain module, for when detect target object into When entering target place, the exercise data of interval acquiring target object, exercise data are used to indicate target object at predetermined time intervals Movement speed at preset time intervals;
Second determining module 740, be also used to the variation tendency indicated by multiple historical signal intensity be downward trend and When exercise data meets specified separate condition, determine that target object leaves target place.
Optionally, exercise data is the mobile step number of the target object obtained by pedometer;
Second determining module 740, be also used to the variation tendency indicated by multiple historical signal intensity be downward trend and When mobile step number is greater than step threshold, determine that target object leaves target place.
Optionally, which further includes computing module.The computing module detects that target object enters target field for working as When institute, the first WiFi finger print information is obtained, the first WiFi finger print information includes the WiFi letter of multiple WiFi networks of terminal side Breath;2nd WiFi finger print information of interval acquiring terminal at predetermined time intervals;Calculate the first WiFi finger print information and the 2nd WiFi Similarity between finger print information;
Second determining module 740 is also used to execute when similarity is less than similar threshold value when multiple historical signal intensity institutes The variation tendency of instruction determines that target object leaves target place for downward trend and when exercise data meets specified separate condition The step of.
Optionally, which further includes the 4th acquisition module.4th obtains module, obtains for being spaced at predetermined time intervals Take the moving direction of target object;
Second determining module 740 is also used to when the absolute difference of moving direction and assigned direction is less than direction threshold value Execute the variation tendency indicated by multiple historical signal intensity be downward trend and exercise data meet it is specified far from condition when, Determine the step of target object leaves target place, assigned direction is the corresponding direction in outlet of target place.
Optionally, device further include: display module and cancellation display module.
Display module, the recommendation information for the negative one screen display target place in terminal;
Cancel display module, when for the variation tendency indicated by multiple historical signal intensity being downward trend, determines After target object leaves target place, cancel the recommendation information in displaying target place on the negative one screen of terminal.
Correlative detail is in combination with referring to figs. 2 to embodiment of the method shown in fig. 6.Wherein, the first determining module 710 and second Determining module 740 is also used to realize any other implicit or disclosed function relevant to step is determined in above method embodiment Energy;First acquisition module 720 and the second acquisition module 730 are also used to realize any other implicit or public in above method embodiment The function relevant to obtaining step of opening.
It should be noted that device provided by the above embodiment, when realizing its function, only with above-mentioned each functional module It divides and carries out for example, can according to need in practical application and be completed by different functional modules above-mentioned function distribution, The internal structure of equipment is divided into different functional modules, to complete all or part of the functions described above.In addition, Apparatus and method embodiment provided by the above embodiment belongs to same design, and specific implementation process is detailed in embodiment of the method, this In repeat no more.
The application also provides a kind of computer-readable medium, is stored thereon with program instruction, and program instruction is held by processor The information processing method that above-mentioned each embodiment of the method provides is realized when row.
Present invention also provides a kind of computer program products comprising instruction, when run on a computer, so that Computer executes information processing method described in above-mentioned each embodiment.
Above-mentioned the embodiment of the present application serial number is for illustration only, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that completely or partially being walked in the information processing method of realization above-described embodiment Suddenly may be implemented by hardware, relevant hardware can also be instructed to complete by program, the program can store in In a kind of computer readable storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..More than Described is only that the preferred embodiment of the application within the spirit and principles of this application, is made not to limit the application Any modification, equivalent substitution, improvement and etc., should be included within the scope of protection of this application.