[summary of the invention]
Based on this, be necessary to provide a kind of different user of being convenient to search conveniently resource classification display packing of resource.
A kind of resource classification display packing may further comprise the 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, show the attribute information of the resource of described resource type and correspondence in interfaces windows.
Preferably, the described step of obtaining the user type of login user 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 the user is browsed record;
Judge that described resource browses the corresponding relation of the type of the resource in the record and user's user type and whether exist;
If exist, then the attribute information of resource corresponding to the resource type that shows upgraded;
If do not exist, then newly-built described resource is browsed the corresponding relation of the type of the resource in the record and user's user type, and shows the attribute information of described newly-built resource type and corresponding resource in interfaces windows.
Preferably, the described step that the attribute information of resource corresponding to the resource type that shows is upgraded is:
Whether judgement has shown that on interfaces windows described resource browses the attribute information of the resource in the record, if then do not process, otherwise the attribute information of described resource being browsed the resource in the record is updated on the described interfaces windows.
Preferably, described method comprises that also use habit according to the user shows the attribute information of maximally related resource.
In addition, also be necessary to provide a kind of different user of being convenient to search conveniently resource classification display system of resource.
A kind of resource classification display system is characterized in that, comprises with lower module:
Module is set, is used for user type is set, set up the corresponding relation of described user type and resource type;
The acquisition of information module is for the user type of obtaining login user;
Described acquisition of information module also is used for obtaining the resource type corresponding with the user type of described login user;
Display module is used for obtaining corresponding resource according to described resource type, shows the attribute information of the resource of described resource type and correspondence in interfaces windows.
Preferably, described acquisition of information module also is used for obtaining the log-on message of login user, extracts the user type of login user from described log-on message.
Preferably, described system also comprises judge module, and described judge module is used for obtaining user's resource and browses record, and judges that described resource browses the corresponding relation of the type of the resource in the record and user's user type and whether exist;
Described display module also is used for then the attribute information of resource corresponding to the resource type of demonstration being upgraded when corresponding relation that resource is browsed the type of resource of record and user's user type exists;
The described module that arranges also is used for when corresponding relation that resource is browsed the type of resource of record and user's user type does not exist, then newly-built described resource is browsed the corresponding relation of the type of the resource in the record and user's user type, and described display module shows the attribute information of described newly-built resource type and corresponding resource in interfaces windows.
Preferably, described judge module also is used for when the corresponding relation of type and user's user type that resource is browsed the resource of record exists, and whether further judgement has shown that on interfaces windows described resource browses the attribute information of the resource in the record; Described display module also is used for when having shown that on interfaces windows described resource is browsed the attribute information of resource of record, and the attribute information of described resource being browsed the resource in the record is updated on the described interfaces windows.
Preferably, described judge module also is used for showing according to user's use habit the attribute information of maximally related resource.
Above-mentioned resource classification display packing and system by user type is set, set 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; Show described obtain resource type; Obtain corresponding resource according to described resource type, show the attribute information of the resource of described resource type and correspondence in interfaces windows.Owing to being provided with a plurality of user types, classified resource according to the pre-stored described user type of user type, when the user logins, show the described resource type corresponding with user type in interfaces windows, thereby the user can find oneself needs and interested resource fast when opening interfaces windows.
[embodiment]
As shown in Figure 1, be among the embodiment, a kind of resource classification display packing may further comprise the steps:
Step S102 arranges user type, the corresponding relation of user type shown in the foundation and resource type.
In one embodiment, user type is mutually corresponding with resource type, and for example, user type specifically can be divided into amusement class, healthy class, fashion class, family's class, finance and economic, cuisines class, and therefore corresponding resource type is the type that user type stresses.Cuisines class for example, corresponding resource mainly are that food is relevant, the place of production of food, 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, such as user type 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, extract the user type of login user from described log-on message.
In the present embodiment, login user needed registration before login, can fill in relevant information in registration process, thereby can determine the user type of login user according to log-on message.For example the user fills in the information of liking cuisines, finance and economics, amusement class in registration process, can comprise the resource type of cuisines, finance and economics, amusement class in user's user type.
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 the attribute information of the resource of described resource type and correspondence in interfaces windows.
In one embodiment, obtain corresponding resource according to resource type, every kind of resource difference that resource type is corresponding.The attribute information that can show in interfaces windows the resource of resource type and correspondence behind the Gains resources.As shown in Figure 3, show a plurality of resource types arranged side by side 30 on the interfaces windows, in resource type 30, listed in detail the attribute information 40 of the resource relevant with resource type 30.These attribute informations 40 comprise title, introduction, picture, link network address of resource etc.For example resource type is finance and economic, and the resource of obtaining so is news, video, forum of finance and economic etc.To information such as the news that shows finance and economic in should the window of finance and economic, video, forums.
In one embodiment, resource type also can be determined according to time and frequency of utilization.For example, the resource of using in the set time in the week, the perhaps high resource of frequency of utilization.Particularly, for example, the user every night all can see in 20:00~22:00 the amusement class resource and listen to the music simultaneously, therefore, can amusement class and music class be returned in a resource type according to service time.Again or, the resource that the user often browses is the resources such as physical culture, finance and economics, music, these resources can range in the resource type according to frequency of utilization.
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, can according to user's use habit with physical culture, finance and economics, health, fashion etc. sort out with a resource type in.
As shown in Figure 4, in one embodiment, further comprising the steps of after execution in step S108:
Step S110 obtains user's resource and browses record.
The user produces resource in meetings such as browsing video, audio frequency, webpages and browses record, wherein recorded the relevant information of the resource that the user browsed, such as title, summary info, chained address etc.
The attribute information that can show according to user's use habit in one embodiment, maximally related resource.
In one embodiment, the user can browse according to user's resource the attribute information of record demonstration and the maximally related resource of described resource in navigation process.
In the present embodiment, the user can be according to keyword or the maximally related resource information of hot word automatic search of the information of this finance and economic when browsing the information of finance and economic, and is presented in the resource type under the information of this finance and economic.Particularly, for example, the user understands other resource informations relevant according to the keyword automatic search of this news when seeing the some news of finance and economic.Perhaps, the user when listening to the music, other music that the chanteur of can be according to the style of the style of this music, composer, chanteur's information search and this music close music, other music that the composer of this music wrirtes music or this music sings.
Step S112 judges that described resource browses the corresponding relation of the type of resource in the record and user's user type and whether exist, if then enter step S114, otherwise enter step S116.
Step S114 upgrades the attribute information of resource corresponding to the resource type that shows.
In the present embodiment, if resource is browsed resource type in the record and the corresponding relation between the user type exists, then set up before the explanation resource type that should user type, as shown in Figure 3, in interfaces windows, had resource corresponding to this resource type to show.
In one embodiment, the process of step S114 is: judge whether to have shown that on interfaces windows resource browses the attribute information of the resource in the record, if then do not process, otherwise the attribute information of resource being browsed the resource in the record is updated on the interfaces windows.
In the present embodiment, browse the attribute information of the resource in the record if shown resource on the interfaces windows, illustrate that then this resource of browsing in the record shows, therefore do not need to process again.Otherwise the attribute information of resource being browsed the resource in the record adds on the interfaces windows, so that the resource type corresponding with this user that shows upgraded.
Step S116, newly-built described resource is browsed the corresponding relation of type and the user type of resource in the record, and shows the attribute information of described newly-built resource type and corresponding resource in interfaces windows.
In the present embodiment, if resource is browsed resource type in the record and the corresponding relation of user type does not exist, then this resource type corresponding with this user also do not set up in explanation, therefore need newly-built this corresponding relation, and add the attribute information of the resource of this resource type and correspondence in interfaces windows.For example, user's resource is browsed and is comprised some cartoons in the record, before and set up the corresponding relation of this user and animated type resource, then adds the animated type resource in interfaces windows, and the attribute information of this cartoon is shown under the animated type resource.
As shown in Figure 5, in one embodiment, a kind of resource classification display system comprises with lower module:
Module 102 is set, is used for user type is set, set up the corresponding relation of described user type and resource type.
As shown in Figure 2, module 102 is set user type 11 is set, and set up the corresponding relation of user type 11 and resource type 21.
Acquisition of information module 104 is for the user type of obtaining login user.
Acquisition of information module 104 also is used for obtaining the resource type corresponding with the user type of described login user.
In one embodiment, acquisition of information module 104 also is used for obtaining the log-on message of login user, extracts the user type of login user from log-on message.
Display module 108 is used for obtaining corresponding resource according to described resource type, shows the attribute information of the resource of described resource type and correspondence in interfaces windows.
As shown in Figure 6, on the basis of above-described embodiment, a kind of resource classification display system also comprises judge module 110, and the resource that is used for obtaining the user is browsed record and judged that described resource browses the corresponding relation of the type of resource of record and user's user type and whether exist.
In the present embodiment, display module 108 also is used for then the attribute information of resource corresponding to the resource type of demonstration being upgraded when corresponding relation that resource is browsed the type of resource of record and user's user type exists.
In one embodiment, judge module 110 also is used for when the corresponding relation of type and user's user type that resource is browsed the resource of record exists, and whether further judgement has shown that on interfaces windows resource browses the attribute information of the resource in the record; Display module 108 also is used for when having shown that on interfaces windows described resource is browsed the attribute information of resource of record, and the attribute information of described resource being browsed the resource in the record is updated on the described interfaces windows.
In the present embodiment, judge module 110 also is used for showing according to user's use habit the attribute information of maximally related resource.
Display module 108 also is used for when corresponding relation that resource is browsed the type of resource of record and user's user type does not exist, then newly-built described resource is browsed the corresponding relation of the type of the resource in the record and user's user type, and shows the attribute information of described newly-built resource type and corresponding resource in interfaces windows.
Above-mentioned resource record sorting technique and system by user type is set, set 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; Show described obtain resource type; Obtain corresponding resource according to described resource type, show the attribute information of the resource of described resource type and correspondence in interfaces windows.Owing to being provided with a plurality of user types, classified resource according to the pre-stored described user type of user type, when the user logins, show the described resource type corresponding with user type in interfaces windows, thereby the user can find oneself needs and interested resource fast when opening interfaces windows.
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 claim of the present invention.Should be pointed out that for the person of ordinary skill of the art, without departing from the inventive concept of the premise, can also make some distortion and improvement, these all belong to protection scope of the present invention.Therefore, the protection domain of patent of the present invention should be as the criterion with claims.