[summary of the invention]
Based on this, be necessary to provide one to be convenient to different user and search conveniently resource classification demonstration of resourceMethod.
A kind of resource classification display methods, comprises the following steps:
User type is set, sets up the corresponding relation of described user type and resource type;
Obtain the user type of login user;
Obtain the resource type corresponding with the user type of described login user;
Obtain corresponding resource according to described resource type, in interfaces windows, show described resource type and rightThe attribute information of the resource of answering.
Preferably, the step of obtaining the user type of login user described in is:
Obtain the log-on message of login user, from described log-on message, extract the user type of login user.
Preferably, described method also comprises: the resource of obtaining user is browsed record;
Judge that corresponding relation that described resource browses the type of the resource in record and user's user type whetherExist;
If exist, the attribute information of resource corresponding to the resource type showing is upgraded;
If do not exist, newly-built described resource is browsed the type of the resource in record and user's user typeCorresponding relation, and in interfaces windows, show the attribute information of described newly-built resource type and corresponding resource.
Preferably, the described step that the attribute information of resource corresponding to the resource type showing is upgraded is:
Judge and in interfaces windows, whether shown that described resource browses the attribute information of the resource in record, ifBe, do not process, otherwise, described in the attribute information that described resource is browsed to the resource in record is updated toIn interfaces windows.
Preferably, described method also comprises the attribute letter that shows maximally related resource according to user's use habitBreath.
In addition, be also necessary to provide one to be convenient to different user and search conveniently resource classification demonstration of resourceSystem.
A kind of resource classification display system, is characterized in that, comprises with lower module:
Module is set, for user type is set, sets up the corresponding relation of described user type and resource type;
Acquisition of information module, for obtaining the user type of login user;
Described acquisition of information module is also corresponding with the user type of described login user resources-type for obtainingType;
Display module for obtaining corresponding resource according to described resource type, shows institute in interfaces windowsState the attribute information of the resource of resource type and correspondence.
Preferably, described acquisition of information module is also for obtaining the log-on message of login user, from described registrationIn information, extract the user type of login user.
Preferably, described system also comprises judge module, and described judge module is clear for obtaining user's resourceLook at record, and judge that described resource browses the corresponding pass of the type of the resource in record and user's user typeWhether system exists;
Described display module is also for browsing the type of resource of record and user's user type when resourceWhen corresponding relation exists, the attribute information of resource corresponding to the resource type showing is upgraded;
The described module that arranges is also for browsing the type of resource of record and user's user type when resourceWhen corresponding relation does not exist, newly-built described resource is browsed the type of the resource in record and user's user classThe corresponding relation of type, described display module shows described newly-built resource type and corresponding in interfaces windowsThe attribute information of resource.
Preferably, described judge module is also for browsing the type of resource and user's the use of record when resourceWhen the corresponding relation of family type exists, further judge and in interfaces windows, whether shown that described resource browsesThe attribute information of the resource in record; Described display module has also shown described money for working as in interfaces windowsWhen the attribute information of the resource in record is browsed in source, described resource is browsed to the attribute information of the resource in recordBe updated in described interfaces windows.
Preferably, described judge module is also for showing the genus of maximally related resource according to user's use habitProperty information.
Above-mentioned resource classification display methods and system, by user type is set, set up described user type withThe corresponding relation of resource type; Obtain the user type of login user; Obtain the user with described login userThe resource type that type is corresponding; Described in demonstration, obtain resource type; It is right to obtain according to described resource typeThe resource of answering shows the attribute information of described resource type and corresponding resource in interfaces windows. Owing to establishingMultiple user types are put, according to the classified resource of the pre-stored described user type of user type, userWhen login, in interfaces windows, show the described resource type corresponding with user type, thereby user is openingWhen interfaces windows, can find fast and oneself need and interested resource.
[detailed description of the invention]
As shown in Figure 1, be in an embodiment, a kind of resource classification display methods, comprises the following steps:
Step S102, arranges user type, the corresponding relation of user type shown in foundation and resource type.
In one embodiment, user type is mutually corresponding with resource type, and for example, user type specifically canBe divided into amusement class, healthy class, fashion class, family's class, finance and economic, cuisines class, therefore correspondence is resources-typeThe type that type stresses for user type. For example cuisines class, corresponding resource is mainly that food is relevant, foodThe place of production, historical allusion, selection method, eating method etc. The form of expression of resource can be webpage,Video, audio frequency etc. As shown in Figure 2, user type is set corresponding one by one with resource type, as user classType 1 correspondence resource type 1 '.
Step S104, obtains the user type of login user.
In one embodiment, the process of step S104 is: obtain the log-on message of login user, from describedIn log-on message, extract the user type of login user.
In the present embodiment, login user needed registration before login, can fill in relevant letter in registration processCease, thereby can determine the user type of login user according to log-on message. For example user is in registration process,Fill in the information of liking cuisines, finance and economics, amusement class, in user's user type, can comprise cuisines, finance and economics,The resource type of amusement class.
Step S106, obtains the resource type corresponding with the user type of described login user.
In the present embodiment, according to the user type search resource type corresponding with user type of login user.
Step S108, obtains corresponding resource according to described resource type, shows described money in interfaces windowsThe attribute information of the resource of Source Type and correspondence.
In one embodiment, obtain corresponding resource according to resource type, every kind of money that resource type is correspondingSource difference. After Gains resources, can in interfaces windows, show the attribute information of the resource of resource type and correspondence.As shown in Figure 3, in interfaces windows, show multiple resource types 30 arranged side by side, detailed in resource type 30List the attribute information 40 of the resource relevant to resource type 30. These attribute informations 40 comprise the name of resourceTitle, introduction, picture, link network address etc. For example resource type is finance and economic, and the resource of obtaining is so wealthThrough the news of class, video, forum etc. To the news that shows finance and economic in should the window of finance and economic,The information such as video, forum.
In one embodiment, resource type also can be determined according to time and frequency of utilization. For example,The resource using in set time in one week, or the high resource of frequency of utilization. Particularly, for example, userIn 20:00~22:00, all can see the resource of amusement class in every night and listen to the music simultaneously, therefore, canWith according to service time amusement class and music class being returned in a resource type. Again or, user is often clearThe resource of looking at is the resources such as physical culture, finance and economics, music, and these resources can range one according to frequency of utilizationIn resource type.
In one embodiment, resource type can also be determined according to user's use habit. For example,User habit is browsed the resource of physical culture, finance and economics, health, fashion class, therefore, and can making according to userWith being accustomed in the classification such as physical culture, finance and economics, health, fashion and a resource type.
As shown in Figure 4, in one embodiment, further comprising the steps of after execution step S108:
Step S110, obtains user's resource and browses record.
User produces resource in meetings such as browsing video, audio frequency, webpages and browses record, has wherein recorded user clearThe relevant information of the resource of looking at, as title, summary info, chained address etc.
In one embodiment, can show according to user's use habit the attribute information of maximally related resource.
In one embodiment, user can browse record demonstration and institute according to user's resource in navigation processState the attribute information of the maximally related resource of resource.
In the present embodiment, user, can be according to the information of this finance and economic in the time browsing the information of finance and economicKeyword or the maximally related resource information of hot word automatic search, and be presented under the information of this finance and economicIn resource type. Particularly, for example, user, can be according to this news in the time seeing the some news of finance and economicOther relevant resource informations of keyword automatic search. Or user, can be according to this sound in the time listening to the musicHappy style, composer, chanteur's the information search music close with the style of this music, this musicOther music that other music that composer wrirtes music or the chanteur of this music sing.
Step S112, judges that described resource browses the corresponding of the type of resource and user's user type in recordWhether relation exists, if so, enters step S114, otherwise enters step S116.
Step S114, upgrades the attribute information of resource corresponding to the resource type showing.
In the present embodiment, if resource has been browsed corresponding relation between resource type and the user type in recordExist, before explanation, set up resource type that should user type, as shown in Figure 3, at interfaceIn window, there is resource corresponding to this resource type to show.
In one embodiment, the process of step S114 is: judge in interfaces windows, whether to have shown resourceThe attribute information of browsing the resource in record, does not if so, process, otherwise, resource is browsed in recordThe attribute information of resource be updated in interfaces windows.
In the present embodiment, if shown in interfaces windows, resource browses the attribute information of the resource in record,Illustrate that this resource of browsing in record shows, does not therefore need to process again. Otherwise, resource is browsed to noteThe attribute information of the resource in record adds in interfaces windows, with corresponding with this user resources-type to what showType upgrades.
Step S116, newly-built described resource is browsed the type of resource and the corresponding relation of user type in record,And in interfaces windows, show the attribute information of described newly-built resource type and corresponding resource.
In the present embodiment, if resource is browsed resource type in record and the corresponding relation of user type is not deposited, this resource type corresponding with this user also do not set up in explanation, therefore needs newly-built this corresponding relation,And in interfaces windows, add the attribute information of this resource type and corresponding resource. For example, user's resourceBrowse and in record, comprise some cartoons, before and set up the corresponding relation of this user and animated type resource,In interfaces windows, add animated type resource, and the attribute information of this cartoon is shown to animated type resourceUnder.
As shown in Figure 5, in one embodiment, a kind of resource classification display system, comprises with lower module:
Module 102 is set, for user type is set, sets up the corresponding pass of described user type and resource typeSystem.
As shown in Figure 2, module 102 is set user type 11 is set, and set up user type 11 with resources-typeThe corresponding relation of type 21.
Acquisition of information module 104, for obtaining the user type of login user.
Acquisition of information module 104 is also for obtaining the resource type corresponding with the user type of described login user.
In one embodiment, acquisition of information module 104 is also for obtaining the log-on message of login user, fromIn log-on message, extract the user type of login user.
Display module 108 for obtaining corresponding resource according to described resource type, shows in interfaces windowsThe attribute information of the resource of described resource type and correspondence.
As shown in Figure 6, on the basis of above-described embodiment, a kind of resource classification display system, also comprises and sentencingDisconnected module 110, browses and records and judge that described resource browses the resource of record for obtaining user's resourceWhether the corresponding relation of type and user's user type exists.
In the present embodiment, display module 108 is type and the user for browsing the resource of record when resource alsoThe corresponding relation of user type while existing, the attribute information of resource corresponding to the resource type showing is enteredRow upgrades.
In one embodiment, judge module 110 also for when resource browse record resource type withWhen the corresponding relation of user's user type exists, further judge in interfaces windows, whether to have shown resourceBrowse the attribute information of the resource in record; Display module 108 has also shown institute for working as in interfaces windowsWhen stating resource and browsing the attribute information of the resource in record, described resource is browsed to the attribute of the resource in recordInformation updating is on described interfaces windows.
In the present embodiment, judge module 110 is also for showing maximally related money according to user's use habitThe attribute information in source.
Display module 108 is also for browsing the type of resource of record and user's user type when resourceWhen corresponding relation does not exist, newly-built described resource is browsed the type of the resource in record and user's user classThe corresponding relation of type, and in interfaces windows, show the attribute of described newly-built resource type and corresponding resourceInformation.
Above-mentioned resource record sorting technique and system, by user type is set, set up described user type withThe corresponding relation of resource type; Obtain the user type of login user; Obtain the user with described login userThe resource type that type is corresponding; Described in demonstration, obtain resource type; It is right to obtain according to described resource typeThe resource of answering shows the attribute information of described resource type and corresponding resource in interfaces windows. Owing to establishingMultiple user types are put, according to the classified resource of the pre-stored described user type of user type, userWhen login, in interfaces windows, show the described resource type corresponding with user type, thereby user is openingWhen interfaces windows, can find fast and oneself need and interested resource.
The above embodiment has only expressed several embodiment of the present invention, and it describes comparatively concrete and detailed,But can not therefore be interpreted as the restriction to the scope of the claims of the present invention. It should be pointed out that for this areaThose of ordinary skill, without departing from the inventive concept of the premise, can also make some distortion andImprove, these all belong to protection scope of the present invention. Therefore, the protection domain of patent of the present invention should be with appendedClaim is as the criterion.