CN108307318A - A kind of user information acquiring method and device, electronic equipment - Google Patents

A kind of user information acquiring method and device, electronic equipment Download PDF

Info

Publication number
CN108307318A
CN108307318A CN201711396203.7A CN201711396203A CN108307318A CN 108307318 A CN108307318 A CN 108307318A CN 201711396203 A CN201711396203 A CN 201711396203A CN 108307318 A CN108307318 A CN 108307318A
Authority
CN
China
Prior art keywords
user
access point
wireless access
location attribute
user location
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201711396203.7A
Other languages
Chinese (zh)
Other versions
CN108307318B (en
Inventor
王松
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Sankuai Online Technology Co Ltd
Original Assignee
Beijing Sankuai Online Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Beijing Sankuai Online Technology Co Ltd filed Critical Beijing Sankuai Online Technology Co Ltd
Priority to CN201711396203.7A priority Critical patent/CN108307318B/en
Publication of CN108307318A publication Critical patent/CN108307318A/en
Application granted granted Critical
Publication of CN108307318B publication Critical patent/CN108307318B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/02Services making use of location information
    • H04W4/023Services making use of location information using mutual or relative location information between multiple location based services [LBS] targets or of distance thresholds

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)
  • Telephonic Communication Services (AREA)

Abstract

The application user information acquiring method, belongs to field of computer technology, solves the problems, such as that the information that user information acquiring method obtains in the prior art is inaccurate.User information acquiring method disclosed in the embodiment of the present application, including:According to the connection data of wireless access point, the corresponding at least one user location attribute of the wireless access point is determined;The user of the same wireless access point will be accessed, is determined as association user;Finally, according at least one association user user location attribute information corresponding with the same wireless access point, user location attribute information corresponding with the same wireless access point that target user is set.The application is by regarding the user for accessing same wireless access point in the same period as association user, and using partial association user improve user location attribute information supplement setting association user lack or mistake the position attribution information, can be promoted obtain user location attribute information accuracy.

Description

A kind of user information acquiring method and device, electronic equipment
Technical field
This application involves field of computer technology, and more particularly to a kind of user information acquiring method and device, electronics is set It is standby.
Background technology
With becoming increasingly abundant for the Internet, applications, the attention degree of user experience is gradually increased, the portrait based on user Information carries out personalized recommendation to user or information presentation is widely used.The job information of user, residence in user's portrait information The location informations such as residence, it is huge on the precisely influence of user's portrait, therefore how to obtain accurate location information and compel as one Cut problem to be solved.There are mainly two types of the methods for obtaining customer position information in the prior art:The first, by user When registration, user is prompted to be actively entered user information to obtain;Second, according to user on platform or operation on APP Action trail is obtained by Algorithm Analysis.But all there is certain lack when obtaining customer position information in both the above method It falls into.When obtaining user property by user's registration information, the Limited information that user is actively entered, and user can input mistake sometimes False information, therefore, it is impossible to get accurate customer position information.By action trail on user's line excavate and obtains user When location information, on the line of user behavior usually with location informations are not inevitable residence, office ground etc. is associated with, so according to Behavior infers that its location information, accuracy can not also ensure on line.
As it can be seen that, at least there is the defect of the information inaccuracy obtained in user information acquiring method in the prior art.
Invention content
The application provides a kind of user information acquiring method, solves what user information acquiring method in the prior art obtained The problem of information inaccuracy.
To solve the above-mentioned problems, in a first aspect, the embodiment of the present application provides a kind of user information acquiring method includes:
According to the connection data of wireless access point, the corresponding at least one user location category of the wireless access point is determined Property;
The user of the same wireless access point will be accessed, is determined as association user;
According at least one association user user location category corresponding with the same wireless access point Property information, the user location attribute information corresponding with the same wireless access point that target user is set, wherein institute It is that user location attribute information corresponding with the same wireless access point is full in the association user to state target user The user of sufficient preset condition.
Second aspect, the embodiment of the present application provide a kind of user information acquisition device, including:
Wireless access point and position attribution respective modules determine the nothing for the connection data according to wireless access point The corresponding at least one user location attribute of line access point;
Association user determining module, the user for that will access the same wireless access point, is determined as association user;
Position attribution data obtaining module, for according at least one association user and the same nothing The corresponding with the same wireless access point of target user is arranged in the corresponding user location attribute information of line access point User location attribute information, wherein the target user be the association user in the same wireless access point Corresponding user location attribute information meets the user of preset condition.
The third aspect, the embodiment of the present application also disclose a kind of electronic equipment, including memory, processor and are stored in institute The computer program that can be run on memory and on a processor is stated, the processor realizes this when executing the computer program Apply for the user information acquiring method described in embodiment.
Fourth aspect, the embodiment of the present application provide a kind of computer readable storage medium, are stored thereon with computer journey Sequence, when which is executed by processor disclosed in the embodiment of the present application the step of user information acquiring method.
User information acquiring method disclosed in the embodiment of the present application is determined by the connection data according to wireless access point The corresponding at least one user location attribute of the wireless access point;Then, the use of the same wireless access point will be accessed Family is determined as association user;Finally, according at least one association user and the same wireless access point pair The user location attribute information answered, the user location category corresponding with the same wireless access point that target user is set Property information, wherein the target user is user corresponding with the same wireless access point in the association user Position attribution information meets the user of preset condition, and it is inaccurate to solve the information that user information acquiring method obtains in the prior art True problem.By regarding the user for accessing same wireless access point in the same period as association user, then, part is utilized The perfect user location attribute information supplement of association user is arranged that another part user in association user lacks or wrong The user location attribute information can promote the accuracy of the user location attribute information of acquisition.
Description of the drawings
It, below will be in embodiment or description of the prior art in order to illustrate more clearly of the technical solution of the embodiment of the present application Required attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some realities of the application Example is applied, it for those of ordinary skill in the art, without having to pay creative labor, can also be attached according to these Figure obtains other attached drawings.
Fig. 1 is the user information acquiring method flow chart described in the embodiment of the present application one;
Fig. 2 is one of the user information acquisition device structural schematic diagram described in the embodiment of the present application two;
Fig. 3 is the user information acquisition device second structural representation described in the embodiment of the present application two.
Specific implementation mode
Below in conjunction with the attached drawing in the embodiment of the present application, technical solutions in the embodiments of the present application carries out clear, complete Site preparation describes, it is clear that described embodiment is some embodiments of the present application, instead of all the embodiments.Based on this Shen Please in embodiment, the every other implementation that those of ordinary skill in the art are obtained without creative efforts Example, shall fall in the protection scope of this application.
Embodiment one
A kind of user information acquiring method disclosed in the present embodiment, as shown in Figure 1, this method includes:Step 110 is to step 130。
Step 110, according to the connection data of wireless access point, the corresponding at least one user of the wireless access point is determined Position attribution.
User location attribute described in the embodiment of the present application includes home address, business address and the school of user Location etc..During using mobile terminal, much the application with positioning function can be used user in acquisition in real time on mobile terminal The data such as the geographical location information at family, wireless access point (WiFi) information of connection and Connection Time.Meanwhile mobile terminal will It includes at least:Connect the connection of the Connection Time of wireless access point (WiFi), wireless access point including wireless access point identification Data are uploaded to predetermined server.Wherein, wireless access point identification can be the MAC Address of wireless access point.
When it is implemented, the predetermined server can be the server of some application, can also be that collection the whole network is wireless The data acquisition server of the connection data of access point.
Mobile terminal is uploading the Connection Time of connection wireless access point (WiFi), wireless access point identification to preset service When device, the user identifier of the mobile terminal user can be also uploaded.When it is implemented, the user identifier can be equipment mark Know, or the unique mark in the predetermined server.
The predetermined server collect and store be made of user identifier, Connection Time and wireless access point identification it is wireless The connection data of access point.Then, each use is determined according to the connection data of the wireless access point of (such as 1 month) in a period of time The wireless access point that family connected.Later, the connection data for wireless access point further being connected according to each user determine certain One user connects all connection data of a certain wireless access point.Finally, the institute of a certain wireless access point is connected according to the user There is the Connection Time in connection data, judges that the user connects connection number and the Connection Time point of a certain wireless access point Cloth meets the Rule of judgment which user location attribute is wireless access point correspond to, and the corresponding use of the Rule of judgment that will meet Family position attribution is as the corresponding user location attribute of the wireless access point.
Step 120, the user that will access the same wireless access point, is determined as association user.
Determine each user described one in the wireless access point data once accessed whithin a period of time according to user After the wireless access point and the corresponding user location attribute of the wireless access point that are accessed in the section time, same nothing will be accessed All users of line access point or certain customers are determined as a social groups.For example, the institute that same wireless access point will be accessed There is the user that average daily turn-on time meets preset time threshold (such as larger than 2 hours) in user to be determined as a social group Body.All users in social groups association user each other.User in each social groups is similarly accessing Identical wireless access point has been accessed in period.
Step 130, according at least one association user use corresponding with the same wireless access point Family position attribution information, the user location attribute corresponding with the same wireless access point for being arranged target user are believed Breath.
Wherein, the target user is user corresponding with the same wireless access point in the association user Position attribution information meets the user of preset condition.
For all users in each social groups, due to having the access in section of same turn-on time identical Wireless access point general character, hence, it can be determined that the value of a certain item user location attribute of all association users is identical.Phase Same user location attribute is the same wireless access point accessed in section of same turn-on time with all association users Corresponding user location attribute.Further, for lack the corresponding user location attribute of the wireless access point user or The not perfect or wrong user of the corresponding user location attribute of the wireless access point, can will be described in a certain association user User location attribute information is set as the user location attribute information of itself.For example, the association user of user A includes user B, the user location attribute of C and D, user A includes:Home address, business address;The user location attribute packet of user B, C and D It includes:Home address, business address.Assuming that wireless access point WiFi1 corresponds to the home address of user A, WiFi1 pairs of wireless access point Using the business address of family B, if user A lacks home address information, user B has detailed business address, then can basis The home address information of the business address supplement user A of user B.
User information acquiring method disclosed in the embodiment of the present application is determined by the connection data according to wireless access point The corresponding at least one user location attribute of the wireless access point;Then, the use of the same wireless access point will be accessed Family is determined as association user;Finally, according at least one association user and the same wireless access point pair The user location attribute information answered, the user location category corresponding with the same wireless access point that target user is set Property information, wherein the target user is position corresponding with the same wireless access point in the association user Attribute information meets the user of preset condition, solves the information inaccuracy that user information acquiring method obtains in the prior art Problem.By regarding the user for accessing same wireless access point in the same period as association user, then, partial association is utilized Another part user lacks in the perfect user location attribute information supplement setting association user of user or the position of mistake belongs to Property information, can promote the accuracy of the user location attribute information of acquisition.
When it is implemented, every connection data of the wireless access point include at least:User identifier, Connection Time and nothing Line access point identity, the connection data according to wireless access point determine the corresponding at least one use of the wireless access point Family position attribution, including:Determine that the corresponding user of each user identifier is connected corresponding with the wireless access point identification Wireless access point;For each user, the Connection Time of each wireless access point is connected according to the user, determines the use The corresponding at least one user location attribute of each wireless access point of family connection.
First, the wireless access point connected described in each user is determined according to the connection data of wireless access point.It is specific real Shi Shi, the access data that user can be connected to wireless access point are expressed as (Uj,WiFik, time), wherein UjIt indicates to use Family identifies, WiFikIt indicates wireless access point identification, indicates the Connection Time.It is then possible to according to user identifier to wireless access point Connection data be indexed grouping, the connection data identified comprising same subscriber are divided into one group, as the user identifier The connection data of corresponding user.For example, the user identifier that grouping is obtained is UjUser wireless access point connection number According to being expressed as DataU1={ (U1,WiFi1,201701010101),(U1,WiFi1,201701012001),…,(U1,WiFi2, 201701010801)}.Further, pass through the wireless access point in the connection data for the wireless access point for traversing each user Mark, determines the wireless access point that each user once connected.With above-mentioned user U1Connection data instance, it may be determined that use Family U1The wireless access point of connection includes WiFi1And WiFi2.When it is implemented, the wireless access point of each user's connection may be It is multiple, for example, connecting the wireless access point of family, the wireless access point of Connected Corp. in company when being in.
Then, for each user, the Connection Time of each wireless access point is connected according to the user, determine described in The corresponding at least one user location attribute of each wireless access point of user's connection.For example, for user U1, according to user U1Connect wireless access point WiFi1And WiFi2Connection Time, determine the wireless access point WiFi1And WiFi2Respectively to application The home address at family or business address or other positions attribute.
When it is implemented, connecting the Connection Time of each wireless access point according to the user, user's connection is determined The corresponding at least one user location attribute of each wireless access point, including sub-step S1 and sub-step S2.
Sub-step S1 connects the nothing according to the user one by one for multiple wireless access point of user connection The Connection Time of line access point, each user location attributes match turn-on time section, determine the wireless access point with it is each The correspondence confidence level of user location attribute.
When it is implemented, the position attribution of each user corresponds to a wireless access point, still, the wireless of user's connection connects Access point not necessarily corresponds to some position attribution of user.Work as example, user once connected wheat in designated time period excessively The wireless access point of labor, still, McDonald are not the position attributions of user.Therefore, it is necessary to according to each user location attribute The turn-on time section matched connects the data such as the Connection Time of each wireless access point with user and determines that each wireless access point corresponds to respectively The confidence level of user location attribute.
The access of the Connection Time, each user location attributes match of the wireless access point are connected according to the user Period determines the correspondence confidence level of the wireless access point and each user location attribute, including:Connected according to the user Connect the distribution number of days information of the Connection Time of the wireless access point, by the Connection Time and each user location attribute The connection number distributed intelligence that matched turn-on time section determines, determines pair of the wireless access point and each user location attribute It should be related to confidence level.When it is implemented, connecting the distribution number of days letter of the Connection Time of the wireless access point according to the user Breath, the connection number determined by the Connection Time and the turn-on time of each user location attributes match section are distributed letter Breath, determines the correspondence confidence level of the wireless access point and each user location attribute, Ke Yiwei:Pass through confidence calculations public affairs Formula determines that the correspondence confidence level of the wireless access point and each user location attribute, the confidence calculations formula include:
confidence(posi,Uj,WiFik)=a*posDays (posi,Uj,WiFik)/sumDays+b*pos Times (posi,Uj,WiFik)/sumTimes(Uj,WiFik);Wherein, posiIndicate pre-set user position attribution i, WiFikIndicate wireless Access point K, UjIndicate user j;confidence(posi,Uj,WiFik) indicate for user j, wireless access point k is corresponded to The confidence level of user location attribute i;posDays(posi,Uj,WiFik) indicate user j in the matched accesses of user location attribute i The connection data distribution number of days of connection wireless access point K in period;SumDays is the distribution number of days of the connection data; posTimes(posi,Uj,WiFik) indicate that user j connects wireless access in the matched turn-on time sections of user location attribute i The number of point K;sumTimes(Uj,WiFik) indicate that user j connects wireless access in the distribution time section of the connection data The number of point K;A and b is adjustment factor, a>b>0.
When it is implemented, needing to preset in the turn-on time section of each user location attributes match.In the present embodiment, with user Position attribution include CompanyAddress and home address for, it is assumed that user location attribute pos1--- CompanyAddress, it is matched Turn-on time section be:9 points of working day is to 12 points i.e. 13 point to 18 points;User location attribute pos2--- home address, it is matched Turn-on time section be:After workaday 20 points and before 6 points.In the present embodiment, it is assumed that the connection data of wireless access point Cover time is nearest 30 days, adjustment factor a=0.7, b=0.3, with according to user U1Access wireless access point WiFi1Connection Data determine the wireless access point WiFi1It is set with the correspondence of two position attributions of CompanyAddress and home address of user For reliability, it is specifically described the concrete scheme of wireless access point and the correspondence confidence level of user location attribute.
First, by taking sumDays=30 as an example, according to user U1To wireless access point WiFi1Nearest connection in 30 days note Record, it is assumed that in nearest 30 days, have in 28 days, user U19 points to 12 points i.e. 13 point to being connected to nothing altogether between 18 points on weekdays Line access point WiFi190 times, therefore, posDays (pos can be obtained1,U1,WiFi1)=28, posTimes (pos1,U1, WiFi1)=90.Simultaneously, it is assumed that also determine user U1In nearest 30 days, wireless access point WiFi is connected in other times110 It is secondary, then it represents that user U1The connection wireless access point WiFi in the distribution time section of the connection data1Number sumTimes (U1,WiFi1)=100.It can then be obtained for user U according to above-mentioned confidence calculations formula1, wireless access point WiFi1With with Family position attribution pos1--- the correspondence confidence level of CompanyAddress is:
0.7*28/30+0.3*90/100=0.923.
Equally by taking sumDays=30 as an example, according to user U1To wireless access point WiFi2Nearest 30 days linkage records, Have in 20 days, user U1It is connected to wireless access point WiFi altogether later and before 6 points at 20 points on weekdays2It 40 times, therefore, can be with Obtain posDays (pos2,U1,WiFi2)=20, posTimes (pos2,U1,WiFi2)=40.Simultaneously, it is assumed that also determine user U1In nearest 30 days, wireless access point WiFi is connected in other times220 times, then it represents that user U1In the connection data Distribution time section in connection wireless access point WiFi2Number sumTimes (U1,WiFi2)=60.Then according to above-mentioned confidence level Calculation formula can be obtained for user U1, wireless access point WiFi2With user location attribute pos2--- the correspondence of home address Relationship confidence level is:
0.7*20/30+0.3*40/60=0.677.
Optionally, in order to reduce operand, information acquisition efficiency is improved, first according to the connection number to wireless access point Number of days distribution filter out the wireless access point infrequently connected, do not obtained according to the connection data of wireless access point not connected accidentally Take the position attribution at family.When it is implemented, point of the Connection Time for connecting the wireless access point according to the user Cloth number of days information, the connection number determined by the Connection Time and the turn-on time of each user location attributes match section Distributed intelligence determines that the wireless access point with before the correspondence confidence level of each user location attribute, further includes:If described User's number of days of the connection wireless access point in the turn-on time section of a certain user location attributes match is more than default Number of days threshold value then determines the correspondence confidence of the wireless access point and the user location attribute according to confidence level formula Degree.If when it is implemented, user connection in the turn-on time section of a certain user location attributes match is described wireless The number of days of access point is less than or equal to preset number of days threshold value, the correspondence of the wireless access point and the user location attribute Confidence level is set as zero.The preset number of days threshold value can be arranged according to actual user location attribute, such as preset number of days threshold Value is equal to 5.
Again by taking sumDays=30 as an example, according to user U1To wireless access point WiFi2Nearest 30 days linkage records, such as Fruit only had in 3 days, user U1It is connected to wireless access point WiFi later and before 6 points at 20 points on weekdays2, then by wireless access Point WiFi2With user location attribute pos2--- the correspondence confidence level of home address is set as 0.
Sub-step S2 determines the corresponding user location attribute of the wireless access point according to the confidence level.
It is described that the corresponding user location attribute of the wireless access point is determined according to the confidence level, including: If only there are one the default confidence level conditions that the confidence level meets the affiliated correspondence of the confidence level, it is determined that meet described pre- It is arranged in the affiliated correspondence of the confidence level of reliability condition, the user location attribute is that the wireless access point is corresponding One user location attribute;If at least two confidence levels meet the respective default confidence level of the affiliated correspondence of the confidence level Condition, then by the affiliated correspondence of the confidence level for meeting the default confidence level condition, each user location attributes match Turn-on time section in the connection wireless access point the most user location attribute of connection data distribution number of days, it is determining For the corresponding user location attribute of the wireless access point.
When it is implemented, the confidence level of each user location attribute and the correspondence of wireless access point can be pre-set The confidence level condition of condition, the correspondence of different user position attribution can be the same or different, in the present embodiment, it is assumed that The correspondence confidence level condition of user location attribute --- home address and CompanyAddress and wireless access point is that confidence level is big In 0.5.According to above-mentioned data, for user U1, the wireless access point WiFi of connection2(i.e. position belongs to the home address of user Property pos2) correspondence and confidence level be 0.677, be more than 0.5, also it is thus determined that wireless access point WiFi2Corresponding user U1's Position attribution pos2.Similarly, it may be determined that wireless access point WiFi1Corresponding user U1Position attribution pos1.
If when it is implemented, user U1In having 18 days in nearest 30 days, user U19 points to 12 points i.e. 13 point on weekdays It is connected to wireless access point WiFi altogether between to 18 points220 times, therefore, posDays (pos can be obtained1,U1,WiFi2)=18, posTimes(pos1,U1,WiFi2)=20.Assuming that determining user U1In nearest 30 days, it is connected in other times and wirelessly connects Access point WiFi240 times, then it represents that user U1The connection wireless access point WiFi in the distribution time section of the connection data2Time Number sumTimes (U1,WiFi2)=60.It can then be obtained for user U according to above-mentioned confidence calculations formula1, wireless access point WiFi2With user location attribute pos1--- the correspondence confidence level of CompanyAddress is:
0.7*18/30+0.3*20/60=0.52.
That is, wireless access point WiFi2With the correspondence of the CompanyAddress of user, and, wireless access point WiFi2With with The correspondence of the home address at family meets preset confidence level condition, then is further lived according to the CompanyAddress and family The distribution number of days of the inscribed indegree of the matched turn-on time section in location determines final correspondence.In the present embodiment, user U1 Connection wireless access point WiFi in the matched turn-on time section of home address2Number be distributed in 20 days, be more than office ground Connection wireless access point WiFi in the matched turn-on time section in location2Number be distributed 18 days, therefore, finally determine wireless access point WiFi2Corresponding home address.
According to above-mentioned method, it may be determined that the position for uploading each user that wireless access point connects data to server belongs to The corresponding wireless access point of property.
When it is implemented, the corresponding wireless access point of position attribution of determining each user can be carried out with tables of data Record, such as it is expressed as RelationData={ (Uj,WiFik,posi)}.Then, by traversing the tables of data RelationData will connect all users of the same wireless access point as a social groups.With RelationData For { (U1,WiFi1,pos1), (U1,WiFi2,pos2), (U3,WiFi2,pos1), (U3,WiFi1,pos2), (U4,WiFi2, pos2) for, connect WiFi1All users include:U1And U3, connect WiFi2All users include:U1、U3And U4, then use Family U1And U3Constitute a social groups, user U1、U3And U4Constitute a social groups.Institute in the same social groups is useful All users of the same wireless access point are accessed, each other association user in family.
Finally, for one group of association user for accessing some wireless access point simultaneously, can will have and wirelessly be connect with this The user location attribute information of the user of the corresponding user location attribute information of access point, as corresponding with the wireless access point User location attribute information meet position attribution information lacking in the user of preset condition.When it is implemented, described default Condition can be:User location attribute information is that the number of characters that empty or user location attribute information includes is less than preset value or user Position attribution information does not include Chinese character etc..To connect wireless access point WiFi simultaneously2All users be that a social groups are , the association user in the social groups includes:User U1、U3And U4.If user U1Lack home address, that is, lacks user Position attribution pos2Specifying information, then according to user U3Or user U4With wireless access point WiFi2Corresponding user location category Property information supplement user U1Home address.Assuming that wireless access point WiFi2Corresponding user U3Home address, then by user U1Home address be set as user U3Home address (i.e. user location attribute pos2) specifying information.For another example the social activity Association user in group includes:User U1、U3And U4.If user U1Home address be:123456, i.e. user location category Property pos2Specifying information be it is wrong, then according to user U3Or user U4With wireless access point WiFi2Corresponding user location Attribute information improves user U1Home address.Assuming that wireless access point WiFi2Corresponding user U3Home address, then will use Family U1Home address be set as user U3Home address (i.e. user location attribute pos2) specifying information.
Preferably, in order to further rise acquisition user information accuracy, it is described to be used according at least one association The user location attribute information corresponding with the same wireless access point at family, target user is set with it is described same The corresponding user location attribute information of a wireless access point, including:Based on position coordinates to the association user and institute It states the corresponding user location attribute information of the same wireless access point to be filtered, determines that validated user position attribution is believed Breath;The ballot method to be decayed by the time determines the confidence weight of the validated user position attribution information;Pass through the confidence weighting The maximum validated user position attribution information of weight, is arranged the corresponding with the same wireless access point of target user User location attribute information.
When it is implemented, there may be user location attribute information corresponding with the same wireless access point Inconsistent situation, such as common connection wireless access point WiFi2User U3Or user U4Home address it is inconsistent, first, root According to WiFi2Position coordinates to connecting wireless access point WiFi jointly2The position attribution information of user screen, determination has The user location attribute information of effect.For example, working as the corresponding position coordinates of user location attribute information and WiFi2Position coordinates it Between distance be less than 1000 meters when, determine the user location attribute information be validated user position attribution information, conversely, determine For inactive users position attribution information.When it is implemented, the position coordinates of user location attribute information can be by calling third The interface for sending out map datum obtains, and details are not described herein again.Then, for validated user position attribution information, further obtaining should The registion time of user location attribute information, and when the user location attribute information to register in different time sections assigns different Between weight, the time weighting of the closer user location attribute information of registion time is bigger.For example, using a season as information registering Period is arranged corresponding time weighting, and the time weighting of the user location attribute information that most 1 season registers is 1, preceding 1 season The time weighting of user location attribute information registered is spent as 0.8, is often pushed ahead a season, and time weighting successively decreases 0.2, directly After being less than 0.2 to time weighting, the time of the user location attribute information of registration promotes further along, corresponding user location attribute The time weighting of information is all set to 0.1.Then, according to formula weight=Wt1*cnt1+…+Wtn*cntnIt calculates each The confidence weight weight of user location attribute information, wherein Wt1Indicate the time weighting of user location attribute information, cnt1Table Show Wt1The quantity of the registration user location attribute information in the corresponding information registering period.Finally, the confidence weighting is selected The maximum validated user position attribution information of weight, is arranged the corresponding with the same wireless access point of target user User location attribute information.
By being screened to inactive users position attribution information, and when according to according to the registration of user location attribute information Between and the distribution of registion time section select believable user location attribute information to be used for being arranged the user position of the user for waiting for supplemental information Attribute information is set, the accuracy of the user location attribute information of acquisition can be promoted.
User information acquiring method disclosed in the embodiment of the present application, the user by that will connect the same wireless access point make For association user, using the user location attribute information of partial association user improve other relevant users lack or mistake with The corresponding user location attribute information of the same wireless access point, further improves the user location attribute for obtaining user The accuracy of information.By according to the number and Annual distribution that connect wireless access point in a period of time and preset confidence Calculation formula is spent, determines the corresponding user location attribute of each wireless access point, the wireless access point information connected for a long time from user In set, the position attribution information of user is excavated, such as family WiFi or office WiFi information, and establish WiFi information and use The correspondence of the position attribution at family excavates user information based on real data, further improves the user information of acquisition Accuracy.
Embodiment two
A kind of user information acquisition device disclosed in the present embodiment, as shown in Fig. 2, described device includes:
Wireless access point and position attribution respective modules 210, for the connection data according to wireless access point, determine described in The corresponding at least one user location attribute of wireless access point;
Association user determining module 220, the user for that will access the same wireless access point are determined as association and use Family;
Position attribution data obtaining module 230, for according at least one association user and the same institute The corresponding user location attribute information of wireless access point is stated, it is that target user is set with the same wireless access point pair The user location attribute information answered, wherein the target user is same described wirelessly to be connect with described in the association user The corresponding user location attribute information of access point meets the user of preset condition.
Optionally, as shown in figure 3, every connection data of the wireless access point include at least:When user identifier, connection Between and wireless access point identification, the wireless access point further comprises with position attribution respective modules 210:
Wireless access point determination unit 2101, for determining that the corresponding user of each user identifier is being connected with the nothing The corresponding wireless access point of line access point identity;
Correspondence relationship establishing unit 2102, for for each user, each wireless access to be connected according to the user The Connection Time of point determines the corresponding at least one user location attribute of each wireless access point of user connection.
Optionally, the Connection Time that each wireless access point is connected according to the user determines user's connection The corresponding at least one user location attribute of each wireless access point, including:
For multiple wireless access point of user connection, the wireless access point is connected according to the user one by one Connection Time, each user location attributes match turn-on time section, determine the wireless access point and each user location category The correspondence confidence level of property;
According to the confidence level, the corresponding user location attribute of the wireless access point is determined.
Optionally, described that the Connection Time of the wireless access point, each user location category are connected according to the user Property matched turn-on time section, determine the correspondence confidence level of the wireless access point and each user location attribute, including:
The distribution number of days information of the Connection Time of the wireless access point is connected according to the user, by the connection when Between and each user location attributes match turn-on time section determine connection number distributed intelligence, determine the wireless access The correspondence confidence level of point and each user location attribute;
When it is implemented, connecting the distribution number of days information of the Connection Time of the wireless access point according to the user, leading to The connection number distributed intelligence for crossing the turn-on time section determination of the Connection Time and each user location attributes match, determines The correspondence confidence level of the wireless access point and each user location attribute, Ke Yiwei:It is determined by confidence calculations formula The correspondence confidence level of the wireless access point and each user location attribute, the confidence calculations formula include:
confidence(posi,Uj,WiFik)=a*posDays (posi,Uj,WiFik)/sumDays+b*pos Times (posi,Uj,WiFik)/sumTimes(Uj,WiFik);Wherein, posiIndicate pre-set user position attribution i, WiFikIndicate wireless Access point K, UjIndicate user j;confidence(posi,Uj,WiFik) indicate for user j, wireless access point k is corresponded to The confidence level of user location attribute i;posDays(posi,Uj,WiFik) indicate user j in the matched accesses of user location attribute i The connection data distribution number of days of connection wireless access point K in period;SumDays is the distribution number of days of the connection data; posTimes(posi,Uj,WiFik) indicate that user j connects wireless access in the matched turn-on time sections of user location attribute i The number of point K;sumTimes(Uj,WiFik) indicate that user j connects wireless access in the distribution time section of the connection data The number of point K;A and b is adjustment factor, a>b>0.
Optionally, the distribution number of days information of the Connection Time that the wireless access point is connected according to the user, logical The connection number distributed intelligence for crossing the turn-on time section determination of the Connection Time and each user location attributes match, determines Before the wireless access point and the correspondence confidence level of each user location attribute, further include:
If user connection wireless access point in the turn-on time section of a certain user location attributes match Number of days be more than preset number of days threshold value, then the wireless access point and the user location attribute are determined according to confidence level formula Correspondence confidence level.If when it is implemented, the user is in the turn-on time section of a certain user location attributes match The number of days for connecting the wireless access point is less than or equal to preset number of days threshold value, then is determined and described wirelessly connect according to confidence level formula The correspondence confidence level of access point and the user location attribute, then pair of the wireless access point and the user location attribute It should be related to that confidence level is set as zero.
By filtering out the wireless access point infrequently connected according to the number of days distribution of the connection number to wireless access point, Not according to the position attribution of the connection data acquisition user of the wireless access point accidentally connected, information accuracy is obtained improving Simultaneously, it is possible to reduce operand improves information acquisition efficiency.
Optionally, described according to the confidence level, determine the corresponding user location category of the wireless access point Property, including:
If only there are one the default confidence level conditions that the confidence level meets the affiliated correspondence of the confidence level, it is determined that symbol In the affiliated correspondence of the confidence level for closing the default confidence level condition, the user location attribute is the wireless access The corresponding user location attribute of point;
It, will if at least two confidence levels meet the respective default confidence level condition of the affiliated correspondence of the confidence level In the affiliated correspondence of the confidence level for meeting the default confidence level condition, the turn-on time of each user location attributes match The most user location attribute of the connection data distribution number of days of the connection wireless access point in section is determined as described wireless The corresponding user location attribute of access point.
Optionally, described corresponding with the same wireless access point according at least one association user User location attribute information, the user location attribute corresponding with the same wireless access point for being arranged target user are believed Breath, including:Based on position coordinates to association user user location corresponding with the same wireless access point Attribute information is filtered, and determines validated user position attribution information;The ballot method to be decayed by the time determines described effective The confidence weight of family position attribution information;Pass through the maximum validated user position attribution information of the confidence weight, setting The user location attribute information corresponding with the same wireless access point of target user.
By being screened to inactive users position attribution information, and when according to according to the registration of user location attribute information Between and the registion time section distribution position that selects believable user location attribute information to be used for being arranged the user for waiting for supplemental information belong to Property information, can promote the accuracy of the position attribution information of acquisition.
User information acquisition device disclosed in the embodiment of the present application is determined by the connection data according to wireless access point The corresponding at least one user location attribute of the wireless access point;Then, the use of the same wireless access point will be accessed Family is determined as association user;Finally, according at least one association user and the same wireless access point pair The user location attribute information answered, the user location category corresponding with the same wireless access point that target user is set Property information, wherein the target user is user corresponding with the same wireless access point in the association user Position attribution information meets the user of preset condition, and it is inaccurate to solve the information that user information acquiring method obtains in the prior art True problem.By regarding the user for accessing same wireless access point in the same period as association user, then, part is utilized In the perfect position attribution information supplement setting association user of association user another part user lack or it is wrong described Position attribution information can promote the accuracy of the user location attribute information of acquisition.
By according to the number and Annual distribution that connect wireless access point in a period of time and preset confidence calculations Formula, determines the corresponding user location attribute of each wireless access point, in the wireless access point information aggregate connected for a long time from user, The position attribution information of user is excavated, such as family WiFi or office WiFi information, and establishes WiFi information and the position of user The correspondence of attribute is set, user information is excavated based on real data, further improves the accuracy of the user information of acquisition.
Correspondingly, disclosed herein as well is a kind of electronic equipment, including memory, processor and it is stored in the memory Computer program that is upper and can running on a processor, the processor are realized when executing the computer program as the application is real Apply the user information acquiring method described in example one.The electronic equipment can be PC machine, mobile terminal, personal digital assistant, put down Plate computer etc..
Disclosed herein as well is a kind of computer readable storage mediums, are stored thereon with computer program, which is located Manage the step of realizing the user information acquiring method as described in the embodiment of the present application one when device executes.
Each embodiment in this specification is described in a progressive manner, the highlights of each of the examples are with The difference of other embodiment, the same or similar parts between the embodiments can be referred to each other.For device embodiment For, since it is basically similar to the method embodiment, so description is fairly simple, referring to the portion of embodiment of the method in place of correlation It defends oneself bright.
A kind of user information acquiring method provided by the present application and device are described in detail above, it is used herein The principle and implementation of this application are described for specific case, and the explanation of above example is only intended to help to understand The present processes and its core concept;Meanwhile for those of ordinary skill in the art, according to the thought of the application, having There will be changes in body embodiment and application range, in conclusion the content of the present specification should not be construed as to the application Limitation.
Through the above description of the embodiments, those skilled in the art can be understood that each embodiment can It is realized by the mode of software plus required general hardware platform, naturally it is also possible to pass through hardware realization.Based on such reason Solution, substantially the part that contributes to existing technology can embody above-mentioned technical proposal in the form of software products in other words Come, which can store in a computer-readable storage medium, such as ROM/RAM, magnetic disc, CD, including Some instructions are used so that a computer equipment (can be personal computer, server or the network equipment etc.) executes respectively Method described in certain parts of a embodiment or embodiment.

Claims (11)

1. a kind of user information acquiring method, which is characterized in that including:
According to the connection data of wireless access point, the corresponding at least one user location attribute of the wireless access point is determined;
The user of the same wireless access point will be accessed, is determined as association user;
Believed according at least one association user user location attribute corresponding with the same wireless access point Breath, the user location attribute information corresponding with the same wireless access point that target user is set, wherein the mesh Mark user be in the association user user location attribute information corresponding with the same wireless access point meet it is pre- If the user of condition.
2. according to the method described in claim 1, it is characterized in that, every connection data of the wireless access point are at least wrapped It includes:User identifier, Connection Time and wireless access point identification, the connection data according to wireless access point determine the nothing The step of line access point corresponding at least one user location attribute, including:
Determine the wireless access point corresponding with the wireless access point identification that the corresponding user of each user identifier is connected;
For each user, the Connection Time of each wireless access point is connected according to the user, determines user's connection The corresponding at least one user location attribute of each wireless access point.
3. according to the method described in claim 2, it is characterized in that, the company for connecting each wireless access point according to the user The step of connecing the time, determining each wireless access point of user connection corresponding at least one user location attribute, packet It includes:
For multiple wireless access point of user connection, the connection of the wireless access point is connected according to the user one by one Time, each user location attributes match turn-on time section, determine the wireless access point and each user location attribute Correspondence confidence level;
According to the confidence level, the corresponding user location attribute of the wireless access point is determined.
4. according to the method described in claim 3, it is characterized in that, described connect the wireless access point according to the user Connection Time, each user location attributes match turn-on time section, determine the wireless access point and each user location category The step of correspondence confidence level of property, including:
The distribution number of days information of the Connection Time of the wireless access point is connected according to the user, by the Connection Time and Each user location attributes match turn-on time section determine connection number distributed intelligence, determine the wireless access point with The correspondence confidence level of each user location attribute.
5. according to the method described in claim 4, it is characterized in that, described connect the wireless access point according to the user The distribution number of days information of Connection Time, by the Connection Time and the turn-on time of each user location attributes match section really Fixed connection number distributed intelligence, the step of determining the correspondence confidence level of the wireless access point and each user location attribute Before, further include:
If the day of user connection wireless access point in the turn-on time section of a certain user location attributes match Number is more than preset number of days threshold value, then determines that the wireless access point is corresponding with the user location attribute according to confidence level formula Relationship confidence level.
6. according to the method described in claim 3, it is characterized in that, described according to the confidence level, the wireless access is determined The step of point corresponding user location attribute, including:
If only there are one the default confidence level conditions that the confidence level meets the affiliated correspondence of the confidence level, it is determined that meet institute In the affiliated correspondence of the confidence level for stating default confidence level condition, the user location attribute is the wireless access point pair The user location attribute answered;
If at least two confidence levels meet the respective default confidence level condition of the affiliated correspondence of the confidence level, will meet In the affiliated correspondence of the confidence level of the default confidence level condition, in the turn-on time section of each user location attributes match The most user location attribute of the connection data distribution number of days of the wireless access point is connected, the wireless access is determined as The corresponding user location attribute of point.
7. according to the method described in claim 1, it is characterized in that, it is described according at least one association user with it is described The corresponding user location attribute information of the same wireless access point, target user is set with it is described same described wireless The step of access point corresponding user location attribute information, including:
Based on position coordinates to association user user location attribute corresponding with the same wireless access point Information is filtered, and determines validated user position attribution information;
The ballot method to be decayed by the time determines the confidence weight of the validated user position attribution information;
By the maximum validated user position attribution information of the confidence weight, target user is set with it is described same The corresponding user location attribute information of the wireless access point.
8. a kind of user information acquisition device, which is characterized in that including:
Wireless access point and position attribution respective modules are determined and described are wirelessly connect for the connection data according to wireless access point The corresponding at least one user location attribute of access point;
Association user determining module, the user for that will access the same wireless access point, is determined as association user;
Position attribution data obtaining module, for same described wirelessly being connect with described according at least one association user The corresponding user location attribute information of access point, the user corresponding with the same wireless access point that target user is set Position attribution information, wherein the target user is corresponding with the same wireless access point in the association user User location attribute information meet the user of preset condition.
9. device according to claim 8, which is characterized in that every connection data of the wireless access point are at least wrapped It includes:User identifier, Connection Time and wireless access point identification, the wireless access point are further wrapped with position attribution respective modules It includes:
Wireless access point determination unit, for determining that the corresponding user of each user identifier is being connected with the wireless access point Identify corresponding wireless access point;
Correspondence relationship establishing unit, for for each user, the connection of each wireless access point to be connected according to the user Time determines the corresponding at least one user location attribute of each wireless access point of user connection.
10. a kind of electronic equipment, including memory, processor and it is stored on the memory and can runs on a processor Computer program, which is characterized in that the processor realizes claim 1 to 7 any one when executing the computer program The user information acquiring method.
11. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the program is by processor The step of user information acquiring method described in claim 1 to 7 any one is realized when execution.
CN201711396203.7A 2017-12-21 2017-12-21 User information acquisition method and device and electronic equipment Active CN108307318B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711396203.7A CN108307318B (en) 2017-12-21 2017-12-21 User information acquisition method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711396203.7A CN108307318B (en) 2017-12-21 2017-12-21 User information acquisition method and device and electronic equipment

Publications (2)

Publication Number Publication Date
CN108307318A true CN108307318A (en) 2018-07-20
CN108307318B CN108307318B (en) 2021-03-12

Family

ID=62870390

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711396203.7A Active CN108307318B (en) 2017-12-21 2017-12-21 User information acquisition method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN108307318B (en)

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348541A (en) * 2018-11-27 2019-02-15 浙江每日互动网络科技股份有限公司 A method of the WIFI information of processing mobile terminal connection
CN110162692A (en) * 2018-12-10 2019-08-23 腾讯科技(深圳)有限公司 User tag determines method, apparatus, computer equipment and storage medium
CN110390057A (en) * 2019-06-18 2019-10-29 深圳壹账通智能科技有限公司 WIFI data processing method, device, computer equipment and storage medium
CN110659396A (en) * 2019-08-14 2020-01-07 平安科技(深圳)有限公司 Missing attribute information completion method and device, computer equipment and storage medium
CN111314102A (en) * 2018-12-11 2020-06-19 北京嘀嘀无限科技发展有限公司 Group identification method and device, electronic equipment and computer readable storage medium
CN111988738A (en) * 2020-07-31 2020-11-24 北京骑胜科技有限公司 Vehicle control method, device, vehicle and storage medium
CN112788539A (en) * 2020-12-31 2021-05-11 上海掌门科技有限公司 Method and equipment for tracking user

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103974410A (en) * 2013-01-31 2014-08-06 西门子公司 Method and device for positioning
CN104541556A (en) * 2012-09-17 2015-04-22 英特尔公司 Supplemental location-related information transmit in unassociated wireless states
CN105898835A (en) * 2015-08-03 2016-08-24 上海连尚网络科技有限公司 Wireless access point property information generation method and device
CN106060785A (en) * 2016-05-27 2016-10-26 浙江每日互动网络科技股份有限公司 Method for judging WiFi Mac properties and carrying out directional information push
CN106102164A (en) * 2016-06-12 2016-11-09 北京三快在线科技有限公司 A kind of method and apparatus determining access point position
CN107040886A (en) * 2017-01-03 2017-08-11 阿里巴巴集团控股有限公司 The method and device that a kind of information is determined
US20170257745A1 (en) * 2013-12-27 2017-09-07 Empire Technology Development Llc Location determining scheme

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104541556A (en) * 2012-09-17 2015-04-22 英特尔公司 Supplemental location-related information transmit in unassociated wireless states
CN103974410A (en) * 2013-01-31 2014-08-06 西门子公司 Method and device for positioning
US20170257745A1 (en) * 2013-12-27 2017-09-07 Empire Technology Development Llc Location determining scheme
CN105898835A (en) * 2015-08-03 2016-08-24 上海连尚网络科技有限公司 Wireless access point property information generation method and device
CN106060785A (en) * 2016-05-27 2016-10-26 浙江每日互动网络科技股份有限公司 Method for judging WiFi Mac properties and carrying out directional information push
CN106102164A (en) * 2016-06-12 2016-11-09 北京三快在线科技有限公司 A kind of method and apparatus determining access point position
CN107040886A (en) * 2017-01-03 2017-08-11 阿里巴巴集团控股有限公司 The method and device that a kind of information is determined

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109348541A (en) * 2018-11-27 2019-02-15 浙江每日互动网络科技股份有限公司 A method of the WIFI information of processing mobile terminal connection
CN110162692A (en) * 2018-12-10 2019-08-23 腾讯科技(深圳)有限公司 User tag determines method, apparatus, computer equipment and storage medium
CN110162692B (en) * 2018-12-10 2021-05-25 腾讯科技(深圳)有限公司 User label determination method and device, computer equipment and storage medium
CN111314102A (en) * 2018-12-11 2020-06-19 北京嘀嘀无限科技发展有限公司 Group identification method and device, electronic equipment and computer readable storage medium
CN110390057A (en) * 2019-06-18 2019-10-29 深圳壹账通智能科技有限公司 WIFI data processing method, device, computer equipment and storage medium
CN110659396A (en) * 2019-08-14 2020-01-07 平安科技(深圳)有限公司 Missing attribute information completion method and device, computer equipment and storage medium
CN111988738A (en) * 2020-07-31 2020-11-24 北京骑胜科技有限公司 Vehicle control method, device, vehicle and storage medium
CN112788539A (en) * 2020-12-31 2021-05-11 上海掌门科技有限公司 Method and equipment for tracking user

Also Published As

Publication number Publication date
CN108307318B (en) 2021-03-12

Similar Documents

Publication Publication Date Title
CN108307318A (en) A kind of user information acquiring method and device, electronic equipment
JP5965511B2 (en) Determining connections within a community
CN102104635B (en) Method and device for updating Internet protocol (IP) address base
US7454192B1 (en) Postal address validation using mobile telephone location information
US20130054698A1 (en) System and method for location-based recommendations
CN109658192A (en) A kind of source of houses recommended method and server
CN104965876B (en) A kind of method and device carrying out the excavation of user job unit based on location information
CA3085902C (en) Mapping entities to accounts
JP5065470B2 (en) Server, information management method, information management program, and computer-readable recording medium for recording the program
TWI545928B (en) A method and system for managing cellular phone calls
CN108471421A (en) Method, system and the relevant apparatus of multiple exclusive platforms are built under a kind of cloud environment
CN108574715A (en) Information recommendation method, apparatus and system
CN103186660B (en) Information source selection system, information source system of selection
CN111414410B (en) Data processing method, device, equipment and storage medium
CN108776587A (en) Data capture method, device, computer equipment and storage medium
CN112001786A (en) Client credit card limit configuration method and device based on knowledge graph
JP6028493B2 (en) Server apparatus, program, and communication system
CN107908676A (en) A kind of data display update method, terminal and computer-readable medium
KR20130064447A (en) Method and appratus for providing search results using similarity between inclinations of users and device
CN106358220A (en) Detection method of abnormal contact person information, device and system
CN105550250B (en) A kind of processing method and processing device of access log
CN104965878A (en) Method and device for carrying out user work unit digging based on grouped information
CN109618323A (en) Phone call method, device, computer equipment and computer storage medium
CN109219051A (en) It is a kind of falseness number determine method, apparatus, equipment and readable storage medium storing program for executing
CN106961670A (en) Geo-fencing system and method for work based on distributed structure/architecture

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant