Summary of the invention
The object of the present invention is to provide a kind of method and device that data are provided in background server, to required user profile is provided more efficiently.
According to an aspect of the present invention, a kind of method that data are provided in server is provided, and described method comprises: each subscriber equipment obtaining in WLAN (wireless local area network) by connection Radio Access Controller AC adopts described Radio Access Controller to carry out the interaction data that user authenticates; From user profile corresponding to each subscriber equipment of extracting data of obtaining; When receiving the inquiry request of client, user profile corresponding with described inquiry request in the user profile of extraction is offered to described client.
Preferably, described method also comprises: when receiving the authentication request of client, the information to be certified of carrying in described authentication request is authenticated, to determine whether described client is validated user.
Preferably, the described concrete steps that user profile corresponding with described inquiry request in the user profile of extraction is offered to described client are: if whether described client is validated user, user profile corresponding with described inquiry request in the user profile of extraction is offered to described client.
Preferably, described method also comprises: by after offering described client with the corresponding user profile of described inquiry request in the user profile of extraction, record described client information and for described inquiry request offer described client user profile, to the query note of described client is supervised.
Preferably, the user profile of described extraction at least comprises one of following information: user name, user account, user's log-on message, user's facility information, user's positional information.
According to a further aspect in the invention, a kind of device that data are provided in server is provided, described device comprises: AC data capture unit, adopts described Radio Access Controller to carry out the interaction data that user authenticates for obtain each subscriber equipment of WLAN (wireless local area network) by connecting Radio Access Controller AC; User profile extraction unit, for user profile corresponding to each subscriber equipment of the extracting data from obtaining; Information inquiry provides unit, for when receiving the inquiry request of client, user profile corresponding with described inquiry request in the user profile of extraction is offered to described client.
Preferably, described device also comprises: authentication ' unit, for when receiving the authentication request of client, authenticates the information to be certified of carrying in described authentication request, to determine whether described client is validated user.
Preferably, if described information inquiry provides whether the described client in unit is validated user, user profile corresponding with described inquiry request in the user profile of extraction is offered to described client.
Preferably, described device also comprises: query note unit, for after the user profile of extraction and the corresponding user profile of described inquiry request are offered to described client, record described client information and for described inquiry request offer described client user profile, to the query note of described client is supervised.
Preferably, the user profile of described extraction at least comprises one of following information: user name, user account, user's log-on message, user's facility information, user's positional information.
Beneficial effect
Compared with prior art, the present invention not only can provide required user profile efficiently, and the user profile providing is worth in higher, content also abundantlyer, meanwhile, also effectively avoided prior art in data mining process, to drop into too much human and material resources.
Embodiment
Below, describe with reference to the accompanying drawings embodiments of the invention in detail.
Fig. 1 shows the flow chart of the preferred embodiment of a kind of method that data are provided in server of the present invention.A kind of device of data that provides in server shown in Fig. 2 can be used for realizing the method described in Fig. 1.
With reference to Fig. 1, in 110, each subscriber equipment that described device obtains in WLAN (wireless local area network) by connection Radio Access Controller AC adopts described Radio Access Controller to carry out the interaction data that user authenticates.
In large-scale WLAN (wireless local area network), a Radio Access Controller AC often needs to manage several thousand wireless access point AP, in this network, Radio Access Controller AC need to authenticate and set up session to each subscriber equipment STA associated with each wireless access point AP.Thereby can in Radio Access Controller AC, can stay and carry out in a large number the interaction data that user authenticates, because containing, these interaction datas have a large amount of user profile, described device can be connected to by network the IP of Radio Access Controller AC, to get the interaction data that these users authenticate, and then get the user profile of each subscriber equipment.
In 120, user profile corresponding to extracting data each subscriber equipment of described device from obtaining.
Wherein, the user profile of extraction at least comprises one of following information: user name, user account, user's log-on message, user's facility information, user's positional information.
Although include the user profile of each subscriber equipment in these interaction datas, but, these data do not have concrete form, data more chaotic yet, in addition, in these interaction datas, also may include the repeatedly authentication information of each subscriber equipment, and user needs the information of login authentication may be slightly different at every turn, therefore, the user profile comprising in these interaction datas cannot directly be utilized, described device can according to pre-defined rule and/form extracts the user profile needing from these authentication informations.
The interaction data authenticating by arranging and extract these users, described device can get the user profile of following field:
UserName user name
UserIP user's IP
UserMac user's Mac
LoginTime user's login time
LogoutTime user's logout time
UserStatus user's state
DeviceBrand consumer equipment makers (as: apple, Samsung, Huawei, in emerging etc.)
DeviceType user's type (as: mobile phone, flat board, notebook, PC etc.)
The operating system of DeviceOS subscriber equipment (as: IOS, Android, Windows Phone etc.)
…
Can find out, adopt above-mentioned implementation process, described device, without carrying out data mining, just can obtain required user profile, and the user profile getting value is higher, also abundanter in content.
In 130, when described device receives the inquiry request of client, user profile corresponding with described inquiry request in the user profile of extraction is offered to described client.
For guaranteeing the safety of user profile, avoid the random leakage of user profile, according to an optional embodiment of the present invention, in the embodiment shown in fig. 1, described method also comprises: when described device receives the authentication request of client, the information to be certified of carrying in described authentication request is authenticated, to determine whether described client is validated user.Wherein, information to be certified can be username and password, can be also other authentication information, to not restriction of this present invention, as long as can carry out effectively authentication to client.
According to foregoing optional embodiment, the concrete steps that described device offers described client by user profile corresponding with described inquiry request in the user profile of extraction are: if whether described client is validated user, described device offers described client by user profile corresponding with described inquiry request in the user profile of extraction.
According to another optional embodiment of the present invention, in the embodiment shown in fig. 1, described method also comprises: described device is by after offering described client with the corresponding user profile of described inquiry request in the user profile of extraction, record described client information and for described inquiry request offer described client user profile, to the query note of described client is supervised.
With reference to Fig. 2, described device at least comprises that AC data capture unit 201, user profile extraction unit 202 and information inquiry provide unit 203.
Wherein, AC data capture unit 201, adopts described Radio Access Controller to carry out the interaction data that user authenticates for obtain each subscriber equipment of WLAN (wireless local area network) by connecting Radio Access Controller AC.
User profile extraction unit 202, for user profile corresponding to each subscriber equipment of the extracting data from obtaining.
Information inquiry provides unit 203, for when receiving the inquiry request of client, user profile corresponding with described inquiry request in the user profile of extraction is offered to described client.
Wherein, the user profile of extraction at least comprises one of following information: user name, user account, user's log-on message, user's facility information, user's positional information.
For guaranteeing the safety of user profile, avoid the random leakage of user profile, according to an optional embodiment of the present invention, in the embodiment shown in Figure 2, described device also comprises: authentication ' unit (not shown), for when receiving the authentication request of client, the information to be certified of carrying in described authentication request is authenticated, to determine whether described client is validated user.
According to foregoing optional embodiment, if described information inquiry provides whether the described client in unit 203 is validated user, user profile corresponding with described inquiry request in the user profile of extraction is offered to described client.
According to another optional embodiment of the present invention, in the embodiment shown in Figure 2, described device also comprises: query note unit (not shown), for after the user profile of extraction and the corresponding user profile of described inquiry request are offered to described client, record described client information and for described inquiry request offer described client user profile, to the query note of described client is supervised.
As can be seen here, the present invention not only can provide required user profile efficiently, and the user profile providing is worth in higher, content also abundantlyer, meanwhile, has also effectively avoided prior art in data mining process, to drop into too much human and material resources.
It may be noted that according to the needs of implementing, each step of describing can be split as to more multi-step in the application, also the part operation of two or more steps or step can be combined into new step, to realize object of the present invention.
Above-mentioned the method according to this invention can be at hardware, in firmware, realize, or be implemented as and can be stored in recording medium (such as CD ROM, RAM, floppy disk, hard disk or magneto optical disk) in software or computer code, or be implemented the original storage downloaded by network in remote logging medium or nonvolatile machine readable media and by the computer code being stored in local record medium, thereby method described here can be stored in use all-purpose computer, such software on the recording medium of application specific processor or able to programme or specialized hardware (such as ASIC or FPGA) is processed.Be appreciated that, computer, processor, microprocessor controller or programmable hardware comprise can store or receive software or computer code memory module (for example, RAM, ROM, flash memory etc.), when described software or computer code are by computer, processor or hardware access and while carrying out, realize processing method described here.In addition,, when all-purpose computer access is used for realizing the code in the processing shown in this, the execution of code is converted to all-purpose computer for carrying out the special-purpose computer in the processing shown in this.
Although with reference to preferred embodiment for and the present invention has been described, it should be appreciated by those skilled in the art that in the situation that do not depart from the spirit and scope of the present invention that are defined by the claims, can carry out various modifications and conversion to these embodiment.