CN105099784B - Label setting method, apparatus and system - Google Patents

Label setting method, apparatus and system Download PDF

Info

Publication number
CN105099784B
CN105099784B CN201510527442.6A CN201510527442A CN105099784B CN 105099784 B CN105099784 B CN 105099784B CN 201510527442 A CN201510527442 A CN 201510527442A CN 105099784 B CN105099784 B CN 105099784B
Authority
CN
China
Prior art keywords
head portrait
account number
target account
portrait label
target
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.)
Active
Application number
CN201510527442.6A
Other languages
Chinese (zh)
Other versions
CN105099784A (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.)
Guangzhou Kugou Computer Technology Co Ltd
Original Assignee
Guangzhou Kugou Computer 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 Guangzhou Kugou Computer Technology Co Ltd filed Critical Guangzhou Kugou Computer Technology Co Ltd
Priority to CN201510527442.6A priority Critical patent/CN105099784B/en
Publication of CN105099784A publication Critical patent/CN105099784A/en
Application granted granted Critical
Publication of CN105099784B publication Critical patent/CN105099784B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a kind of label setting methods, apparatus and system, belong to field of communication technology.The described method includes: the acquisition request sent by receiving client, the acquisition request are used to obtain the head portrait label information of target account number;According to acquisition request, head portrait label information corresponding with target account number is inquired;To the head portrait label information of client feedback target account number, client is for according to head portrait label information, Overlapping display target head portrait label, target head portrait label to be word tag or picture tag on the head portrait of target account number;The problem of solving the Shipping Options Page of background server storage a large number of users, but the data of these Shipping Options Pages are seldom accessed, causing the wasting of resources of background server;Reach the Overlapping display target head portrait label on the head portrait of target account number, improved the rate of people logging in of head portrait label, reduces the effect of the wasting of resources of background server.

Description

Label setting method, apparatus and system
Technical field
The present invention relates to field of communication technology, in particular to a kind of the method, apparatus and system of label setting.
Background technique
In the social categories clients such as various instant messaging programs, team's voice tool, studio, each user is usually It is corresponding with personal information page.
In the personal information page, the pet name, head portrait, phone, address, mail address and the idiograph of user are generally included Etc. information, for showing the personal image of user.It further include Shipping Options Page in personal information page in some social category clients, Certain label, such as goddess, Gao Fushuai and Bai Fumei etc. oneself artificially can be arranged by user's sheet in the Shipping Options Page.
In the implementation of the present invention, the inventor finds that the existing technology has at least the following problems:
Since Shipping Options Page is typically hidden within deeper level, when other users want to view the Shipping Options Page, need multiple Operating procedure causes the actual access rate of the Shipping Options Page lower.Background server stores the Shipping Options Page of a large number of users, but these The data of Shipping Options Page are seldom accessed, cause the wasting of resources of background server.
Summary of the invention
In order to solve to store the Shipping Options Page of a large number of users because of background server, but the data of these Shipping Options Pages are seldom interviewed The problem of asking, causing the wasting of resources of background server the embodiment of the invention provides a kind of label setting method, device and be System.Specific technical solution is as follows:
In a first aspect, providing a kind of label setting method, it is used in server, this method comprises:
The acquisition request that client is sent is received, which is used to obtain the head portrait label information of target account number;
According to acquisition request, head portrait label information corresponding with target account number is inquired;
To the head portrait label information of client feedback target account number, client is used for according to head portrait label information in target account Number head portrait on Overlapping display target head portrait label, which is word tag or picture tag.
In one possible implementation, before the acquisition request for receiving client transmission, further includes:
The setting request that client is sent is received, setting request is for being arranged target head portrait label for target account number;
Head portrait label information corresponding with target account number is generated according to setting request;
Store head portrait label information corresponding with target account number.
In one possible implementation, according to setting request generate corresponding with target account number head portrait label information it Before, further includes:
Whether detection client has label setting permission corresponding with target account number;
If there is client label corresponding with target account number permission is arranged, generated and target account number according to setting request Corresponding head portrait label information.
In one possible implementation, according to setting request generate corresponding with target account number head portrait label information it Before, further includes:
Whether detection target account number supports head portrait label setting function;
If target account number supports head portrait label that function is arranged, head portrait corresponding with target account number is generated according to setting request Label information.
In one possible implementation, head portrait label information corresponding with target account number is generated according to setting request, Include:
Obtain the tag identifier ID carried in setting request;
Inquire tag addresses corresponding with tag ID;
Head portrait label information corresponding with target account number is generated, which carries tag addresses.
In one possible implementation, head portrait label information corresponding with target account number is generated according to setting request, Include:
The target head portrait label carried in setting request is obtained, target head portrait label is that user sets for target account number is customized The head portrait label set;
Generate tag addresses corresponding with target head portrait label;
Head portrait label information corresponding with target account number is generated, head portrait label information carries tag addresses.
In one possible implementation, head portrait label information corresponding with target account number is stored, comprising:
Obtain the effective time of the corresponding head portrait label information of target account number;
Head portrait label information corresponding with target account number is stored according to effective time.
In one possible implementation, to the head portrait label information of client feedback target account number, comprising:
According to effective time, whether the head portrait label information for detecting target account number is effective at current time;
If the head portrait label information of target account number is effective at current time, to the head portrait mark of client feedback target account number Sign information.
Second aspect provides a kind of label setting method, is used in client, this method comprises:
Acquisition request is sent to server, which is used to obtain the head portrait label information of target account number;
Receive the head portrait label information of the target account number of server feedback;
According to head portrait label information on the head portrait of target account number Overlapping display target head portrait label, the target head portrait label It is word tag or picture tag.
In one possible implementation, according to head portrait label information on the head portrait of target account number Overlapping display target Head portrait label, comprising:
According to tag addresses corresponding to head portrait of the head portrait label information acquisition with target account number;
According to target head portrait label corresponding to head portrait of the tag addresses acquisition with target account number;
Target head portrait label is superimposed upon on the head portrait of target account number and is shown.
In one possible implementation, before sending acquisition request to server, further includes:
It obtains user to operate the setting of target account number, setting operation is for being arranged target head portrait label to target account number;
It is operated according to setting and generates setting request;
Setting request is sent to server.
In one possible implementation, it is operated according to setting and generates setting request, comprising:
If the operation that operation is the selection target head portrait label from preset head portrait label is arranged, generation carries label The setting of ID is requested;
Preset head portrait label refers to the head portrait label being pre-stored in server.
In one possible implementation, it is operated according to setting and generates setting request, comprising:
If it is the operation that customized head portrait label is arranged that operation, which is arranged, the setting that generation carries target head portrait label is asked It asks.
The third aspect provides a kind of label setting device, in server, which to include:
Request receiving module, for receiving the acquisition request of client transmission, acquisition request is for obtaining target account number Head portrait label information;
Information inquiry module, for inquiring head portrait label information corresponding with target account number according to acquisition request;
Information feedback module, for the head portrait label information to client feedback target account number, client is used for according to head As Overlapping display target head portrait label, target head portrait label are word tag or picture to label information on the head portrait of target account number Label.
In one possible implementation, the device, further includes:
Receiving module is set, and for receiving the setting request of client transmission, setting request for target account number for being arranged Target head portrait label;
Information generating module, for generating head portrait label information corresponding with target account number according to setting request;
Information storage module, for storing head portrait label information corresponding with target account number.
In one possible implementation, the device, further includes:
First detection module, for detecting whether client has label setting permission corresponding with target account number;
First generation module is used for when client has label corresponding with target account number setting permission, according to setting Request generates head portrait label information corresponding with target account number.
In one possible implementation, the device, further includes:
Second detection module, for detecting whether target account number supports head portrait label setting function;
Second generation module, for target account number support head portrait label setting function when, according to setting request generate with The corresponding head portrait label information of target account number.
In one possible implementation, information generating module, comprising:
Acquisition submodule is identified, for obtaining the tag identifier ID carried in setting request;
Address lookup submodule, for inquiring tag addresses corresponding with tag ID;
First information submodule, for generating head portrait label information corresponding with target account number, head portrait label information is carried There are tag addresses.
In one possible implementation, information generating module, comprising:
Head portrait acquisition submodule, for obtaining the target head portrait label carried in setting request, target head portrait label is to use Family is the head portrait label of the customized setting of target account number;
Address generates submodule, for generating tag addresses corresponding with target head portrait label;
Second message sub-module, for generating head portrait label information corresponding with target account number, head portrait label information is carried There are tag addresses.
In one possible implementation, information storage module, comprising:
Time acquisition submodule, for obtaining the effective time of the corresponding head portrait label information of target account number;
Label sub-module stored, for storing head portrait label information corresponding with target account number according to effective time.
In one possible implementation, information feedback module, comprising:
Time detection sub-module, for detecting the head portrait label information of target account number at current time according to effective time Whether effectively;
Tag feedback submodule, for the head portrait label information in target account number when current time is effective, to client The head portrait label information of feedback target account number.
Fourth aspect provides a kind of label setting device, in client, which to include:
Request sending module, for sending acquisition request to server, acquisition request is used to obtain the head portrait of target account number Label information;
Information receiving module, the head portrait label information of the target account number for receiving server feedback;
Label display module, for according to head portrait label information on the head portrait of target account number Overlapping display target head portrait mark Label, target head portrait label is word tag or picture tag.
In one possible implementation, label display module, comprising:
Address acquisition submodule, for the label according to corresponding to the head portrait of the acquisition of head portrait label information and target account number Location;
Label acquisition submodule, for the target head portrait mark according to corresponding to the head portrait of tag addresses acquisition and target account number Label;
Display sub-module is shown for target head portrait label to be superimposed upon on the head portrait of target account number.
In one possible implementation, the device, further includes:
Setting obtains module, operates for obtaining user to the setting of target account number, setting operation is for target account number Target head portrait label is set;
Generation module is set, generates setting request for operating according to setting;
Sending module is set, for sending setting request to server.
In one possible implementation, generation module is set, for being from preset head portrait label in setting operation When the operation of middle selection target head portrait label, the setting request for carrying tag ID is generated;
Preset head portrait label refers to the head portrait label being pre-stored in server.
In one possible implementation, generation module is set, for being the customized head portrait mark of setting in setting operation When the operation of label, the setting request for carrying target head portrait label is generated.
5th aspect provides a kind of label setting system, which includes: server and client side;
Server includes any in any one possible implementation that the third aspect or the third aspect as above provide Device is arranged in label;
Client includes any in any one possible implementation that fourth aspect or fourth aspect as above provide Device is arranged in label.
Technical solution provided in an embodiment of the present invention has the benefit that
The acquisition request sent by receiving client, the acquisition request are used to obtain the head portrait label letter of target account number Breath;According to acquisition request, head portrait label information corresponding with target account number is inquired;To the head portrait mark of client feedback target account number Sign information, client be used for according to head portrait label information on the head portrait of target account number Overlapping display target head portrait label, target Head portrait label is word tag or picture tag;Solve the Shipping Options Page of background server storage a large number of users, but these labels The problem of data of page are seldom accessed, cause the wasting of resources of background server;Reach and has been folded on the head portrait of target account number Add displaying target head portrait label, improve the rate of people logging in of head portrait label, reduces the effect of the wasting of resources of background server.
It should be understood that the above general description and the following detailed description are merely exemplary, this can not be limited It is open.
Detailed description of the invention
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for For those of ordinary skill in the art, without creative efforts, it can also be obtained according to these attached drawings other Attached drawing.
Fig. 1 is the method flow diagram of label setting method provided by one embodiment of the present invention;
Fig. 2A is the method flow diagram of label setting method provided by one embodiment of the present invention;
Fig. 2 B is the method flow diagram of the sub-step of step 204 in Fig. 2A embodiment;
Fig. 3 is setting operation chart of the user provided by one embodiment of the present invention to target account number;
Fig. 4 is that target head portrait label provided by one embodiment of the present invention is superimposed upon the interface shown on target account number head portrait Schematic diagram;
Fig. 5 is the method flow diagram of another sub-steps of step 204 in Fig. 2A embodiment;
The method flow diagram for the label setting method that Fig. 6 A another embodiment of the present invention provides;
Fig. 6 B is the method flow diagram of the sub-step of step 607 in Fig. 6 A embodiment;
Fig. 6 C is the method flow diagram of the sub-step of step 610 in Fig. 6 A embodiment;
Fig. 6 D is the method flow diagram of the sub-step of step 611 in Fig. 6 A embodiment;
Fig. 7 be in Fig. 6 A embodiment step 604 to step 606 another implementation flow chart;
Fig. 8 is the structural block diagram of label setting device provided by one embodiment of the present invention;
Fig. 9 is the structural block diagram for the label setting device that another embodiment of the present invention provides;
Figure 10 is the structural block diagram for the label setting device that another embodiment of the present invention provides;
Figure 11 is the structural block diagram of label setting device provided by one embodiment of the present invention;
Figure 12 is the structural block diagram for the label setting device that another embodiment of the present invention provides;
Figure 13 is the structural block diagram of label setting system provided by one embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
The label setting method that each embodiment of the present invention provides is applied to come in client in this way for example, should Client can be smart phone, tablet computer, wearable electronic equipment, E-book reader, MP4 (Moving Picture Experts Group Audio Layer IV, dynamic image expert's compression standard audio level 4) player, knee Mo(u)ld top half portable computer and desktop computer etc..
Fig. 1 is the method flow diagram of label setting method provided by one embodiment of the present invention.The present embodiment is with the label Setting method is applied to client to illustrate.This method comprises:
Step 101, user end to server sends acquisition request, which is used to obtain the head portrait mark of target account number Sign information;
Accordingly, server receives the acquisition request that client is sent.
Step 102, server inquires head portrait label information corresponding with target account number according to acquisition request;
Step 103, server is to the head portrait label information of client feedback target account number, and the client is for according to head portrait Label information Overlapping display target head portrait label on the head portrait of target account number, which is word tag or picture Label;
Accordingly, client receives the head portrait label information of the target account number of server feedback;
Step 104, client according to head portrait label information the Overlapping display target head portrait label on the head portrait of target account number, Target head portrait label is word tag or picture tag.
In conclusion label setting method provided in this embodiment, by sending acquisition request to server, which is asked Seek the head portrait label information for obtaining target account number;According to acquisition request, head portrait label letter corresponding with target account number is inquired Breath;To the head portrait label information of client feedback target account number, which is used for according to head portrait label information in target account number Head portrait on Overlapping display target head portrait label, which is word tag or picture tag;According to head portrait label Information Overlapping display target head portrait label on the head portrait of target account number, target head portrait label are word tag or picture tag; It solves the Shipping Options Page of background server storage a large number of users, but the data of these Shipping Options Pages are seldom accessed, backstage is caused to take The problem of wasting of resources of business device;Reach the Overlapping display target head portrait label on the head portrait of target account number, improves head portrait The rate of people logging in of label reduces the effect of the wasting of resources of background server.
The label setting method that Fig. 1 embodiment provides is that client directly sends acquisition request to server, obtains target The head portrait label information of account number, but in general scene, client will operate in advance according to the setting of user, send out to server Setting is sent to request, so that target head portrait label be arranged for itself or other users.Please refer to following examples.
Fig. 2A is the method flow diagram of label setting method provided by one embodiment of the present invention.The present embodiment is with the label Setting method is applied to client to illustrate.This method comprises:
Step 201, client obtains user and operates to the setting of target account number, which operates for setting to target account number Set target head portrait label;
User's selected target account number in the Accounts List of client.The target account number can be the account number of itself, can also To be the account number of other users.
User is configured operation to target account number by clicking the head portrait of target account number, and user clicks appearance pair after head portrait The multinomial selection operation of target account number setting selects the setting option to his (she) labelling that can carry out label to target account number and sets It sets.Specific setting operation is as shown in Figure 3.
Step 202, client is operated according to setting generates setting request;
Client operates the setting of target account number according to user, generates the setting request of corresponding setting operation.
If user is the operation of the selection target head portrait label from preset head portrait label to the setting operation of target account number, Then client generates the setting request for carrying tag ID (Identification is identified).
Preset head portrait label refers to the head portrait label being pre-stored in server, and tag ID refers to the mesh of user's selection Header is as the corresponding tag ID of label.
N number of head portrait label is previously stored in server, each head portrait label has unique corresponding tag ID, that is, There are corresponding relationships between head portrait label and tag ID, illustratively, the following table of the corresponding relationship of head portrait label and tag ID It is shown:
Head portrait label Tag ID
Goddess 1
Female man 2
Bai Fumei 3
Gao Fushuai 4
Table one
User after selected target account number, from server provide N number of head portrait label in select a head portrait label as Target head portrait label, for the head portrait of target account number to be arranged in.Client is generated according to the target head portrait label that user selectes Carry the setting request of corresponding label ID.
As shown in Table 1, if user is after selected target account number, " female is selected from N number of head portrait label that server provides Man " is used as target head portrait label, then " female man " head portrait label that client is selected according to user, and generation carries tag ID It is requested for 2 setting.
Step 203, user end to server sends setting request;
The setting for carrying tag ID request is sent to server by client.
Accordingly, server receives the setting request that client is sent, and setting request is for being arranged mesh for target account number Header is as label.
Step 204, server generates head portrait label information corresponding with target account number according to setting request;
Server requests to generate head portrait label information corresponding with target account number according to the setting for carrying tag ID.
This step may include steps of, as shown in Figure 2 B:
Step 204a, server obtain the tag ID carried in setting request;
Server is requested according to the setting received, obtains the tag ID carried in setting request, and the tag ID is corresponding Unique head portrait label.
Step 204b, server inquire tag addresses corresponding with tag ID;
N number of tag ID is previously stored in server, each tag ID there are unique corresponding tag addresses, that is, clothes The tag addresses of N number of corresponding label ID, illustratively, the corresponding relationship of tag ID and tag addresses such as following table are stored in business device Shown in lattice:
Tag ID Tag addresses
1 Address 1
2 Address 2
3 Address 3
4 Address 4
Table two
After the tag ID that server carries in getting setting request, inquired according to the tag ID corresponding to the label The tag addresses of ID.
As shown in Table 2, if the tag ID that server is got is 2, server according to 2, go to inquire by this tag ID Corresponding tag addresses, namely the tag addresses inquired are addresses 2.
In conjunction with table one and table two it is found that there are one-to-one relationship between head portrait label, tag ID and tag addresses, one The corresponding tag ID of a head portrait label and a tag addresses, a tag ID also correspond to a head portrait label and a label Address, a tag addresses also correspond to a head portrait label and a tag ID.
Step 204c, server generate head portrait label information corresponding with target account number, which carries Tag addresses.
Server generates corresponding head portrait label information according to the tag addresses inquired, since tag addresses are servers It is inquired according to tag ID, and tag ID is that client is generated according to the setting of user operation, so server inquires Tag addresses be that the target account number selected with user is one-to-one.
Step 205, server stores head portrait label information corresponding with target account number;
Server stores the head portrait label information corresponding with target account number of generation, takes in the head portrait label information With tag ID and tag addresses.Illustratively, the corresponding relationship such as following table between target account number, tag ID and head portrait label information Shown in lattice:
Target account number Tag ID Tag addresses Head portrait label information
a 1 Address 1 A
b 2 Address 2 B
c 3 Address 3 C
d 4 Address 4 D
Table three
As shown in Table 3, it is assumed that user's selection be target account number c and target head portrait label after, client generation carries The setting that tag ID is 3 is requested, and the setting request that server is 3 according to tag ID inquires corresponding tag addresses, Ye Jicha It askes to address 3, server is according to the corresponding head portrait label information C of the tag addresses of the address 3 inquired generation and is stored.
Step 206, user end to server sends acquisition request, which is used to obtain the head portrait mark of target account number Sign information;
Optionally, target account number may include: whole account numbers, or, account number shown in current display interface, or, with A selected account of family.
Operation of the client according to user to whole account numbers sends acquisition request to server, obtains user to target account Number setting head portrait label information.
Optionally, operation of the client according to user to account number shown in current display interface is sent to server Acquisition request obtains the head portrait label information that target account number is arranged in user.
Optionally, operation of the client according to user to account number shown in display interface after switching is sent out to server Acquisition request is sent, the head portrait label information that target account number is arranged in user is obtained.
Optionally, operation of the client according to user to a selected account number sends acquisition request to server, obtains The head portrait label information that target account number is arranged in user.
Accordingly, server receives the acquisition request that client is sent.
Step 207, server inquires head portrait label information corresponding with target account number according to acquisition request;
Server inquires head portrait label information corresponding with target account number according to the acquisition request received.Each obtain Take request that may correspond to a target account number, server inquires corresponding head portrait mark according to the corresponding target account number of acquisition request Sign information.
Optionally, an acquisition request corresponds to multiple target account numbers, and server is needed according to multiple mesh in acquisition request Mark account number inquires the corresponding head portrait label information of each target account number.
Step 208, server is to the head portrait label information of client feedback target account number, and the client is for according to head portrait Label information Overlapping display target head portrait label on the head portrait of target account number, which is word tag or picture Label;
The head portrait label information inquired is fed back to client by server, and client is believed according to the head portrait label received Breath, shows corresponding target head portrait label in head portrait label information on the head portrait of target account number.
The target head portrait label can be word tag, such as: " female man ", " stay and sprout " and " uncle " etc.;
The target head portrait label is also possible to picture tag, such as: the picture of beauty, lovely cartoon picture are schemed with baby is sprouted Piece etc..
It is as shown in Figure 4 that target head portrait label is superimposed upon the interface schematic diagram shown on the head portrait of target account number.
Accordingly, client receives the head portrait label information of the target account number of server feedback;
Step 209, client according to head portrait label information the Overlapping display target head portrait label on the head portrait of target account number, Target head portrait label is word tag or picture tag.
Client is shown on the head portrait of corresponding target account number according to the head portrait label information of the target account number received Target head portrait label.
Originally some head portrait labels, the head that client can will receive may be had existed on the head portrait of one target account number As label information on the head portrait of target account number Overlapping display, that is, have no effect on some head portrait labels that may be present originally, Multiple head portrait labels can be shown simultaneously in a target account number simultaneously.
In conclusion label setting method provided in this embodiment, operates the setting of target account number by obtaining user; It is operated according to setting and generates setting request;Setting request is sent to server;It is generated according to setting request corresponding with target account number Head portrait label information;Store head portrait label information corresponding with target account number;By sending acquisition request to server;According to Acquisition request inquires head portrait label information corresponding with target account number;To the head portrait label information of client feedback target account number; According to head portrait label information on the head portrait of target account number Overlapping display target head portrait label, target head portrait label is word tag Or picture tag;Solve the Shipping Options Page of background server storage a large number of users, but the data of these Shipping Options Pages are seldom accessed, The problem of causing the wasting of resources of background server;Selection target head portrait label is reached from server and in target account number Overlapping display target head portrait label on head portrait, improves the rate of people logging in of head portrait label, reduces the wasting of resources of background server Effect.
The label setting method that Fig. 2A embodiment provides is user's selection target from head portrait label preset in server Head portrait label, in general scene, user wishes to be the customized some head portrait labels of setting of target account number.It please refers to as follows Embodiment:
Step 201, client obtains user and operates to the setting of target account number, which operates for setting to target account number Set target head portrait label;
User's selected target account number in the Accounts List of client, user is by clicking the head portrait of target account number to target Account number is configured operation, and user the multinomial selection operation that target account number is arranged occurs after clicking head portrait, and selection gives him (she) The project for labeing title can carry out setting to target account number.
Step 202, client is operated according to setting generates setting request;
Client operates the setting of target account number according to user, generates the setting request of corresponding setting operation.
If user is the operation that customized head portrait label is arranged to the setting operation of target account number, client, which generates, to be carried There is the setting of target head portrait label to request.
User is after selected target account number, and user is according to oneself hobby or truth one head portrait mark of customized setting Label are used as target head portrait label, for the head portrait of target account number to be arranged in.Client is according to the target of the customized setting of user Head portrait label generates the setting request for carrying the target head portrait label.
Step 203, user end to server sends setting request;
The setting for carrying target head portrait label request is sent to server by client.
Accordingly, server receives the setting request that client is sent, and setting request is for being arranged mesh for target account number Header is as label.
Step 204, server generates head portrait label information corresponding with target account number according to setting request;
Server requests to generate head portrait label letter corresponding with target account number according to the setting for carrying target head portrait label Breath.
This step may include steps of, as shown in Figure 5:
Step 504a, server obtain the target head portrait label carried in setting request;
The target head portrait label is the head portrait label that user is the customized setting of target account number.
Server is requested according to the setting received, obtains the target head portrait label carried in setting request.
Step 504b, server generate tag addresses corresponding with target head portrait label;
Server generates tag addresses corresponding with target head portrait label according to the target head portrait label got;
Optionally, server also generates and target head portrait while generating tag addresses corresponding with target head portrait label The corresponding tag ID of label.
There are one-to-one relationship, each target heads between target head portrait label and the tag addresses and tag ID of generation As label can all generate unique corresponding tag addresses and tag ID.
Illustratively, shown in the following table of corresponding relationship of the target head portrait label with tag addresses and tag ID:
Target head portrait label Tag addresses Tag ID
Label 1 Address 1 1
Label 2 Address 2 2
Label 3 Address 3 3
Label 4 Address 4 4
Table four
After the target head portrait label that server carries in getting setting request, according to target head portrait label generation pair Should target head portrait label tag addresses and tag ID.
As shown in Table 4, if the target head portrait label that server is got is label 3, server is according to the mesh of label 3 Header is as label generates corresponding tag addresses and tag ID, as can be seen that the corresponding label generated from table four Location is address 3, tag ID 3.
Step 504c, server generate head portrait label information corresponding with target account number, which carries Tag addresses.
Optionally, server generates head portrait label information corresponding with target account number, which carries mark Sign address and tag ID.
Server generates corresponding head portrait label information according to tag addresses, since tag addresses are servers according to user What selected target head portrait label generated, so the target account that corresponding head portrait label information and user that server generates are selected Number correspond.
Step 205, server stores head portrait label information corresponding with target account number;
Server stores the head portrait label information corresponding with target account number of generation, takes in the head portrait label information With tag addresses;Optionally, tag addresses and tag ID are carried in the head portrait label information.
Step 206, user end to server sends acquisition request, which is used to obtain the head portrait mark of target account number Sign information;
Optionally, target account number may include: whole account numbers, or, account number shown in current display interface, or, with A selected account of family.
Operation of the client according to user to whole account numbers sends acquisition request to server, obtains user to target account Number setting head portrait label information.
Optionally, operation of the client according to user to account number shown in current display interface is sent to server Acquisition request obtains the head portrait label information that target account number is arranged in user.
Optionally, operation of the client according to user to account number shown in display interface after switching is sent out to server Acquisition request is sent, the head portrait label information that target account number is arranged in user is obtained.
Optionally, operation of the client according to user to a selected account number sends acquisition request to server, obtains The head portrait label information that target account number is arranged in user.
Accordingly, server receives the acquisition request that client is sent.
Step 207, server inquires head portrait label information corresponding with target account number according to acquisition request;
Server inquires head portrait label information corresponding with target account number according to the acquisition request received.Each obtain Take request that may correspond to a target account number, server inquires corresponding head portrait mark according to the corresponding target account number of acquisition request Sign information.
Optionally, an acquisition request corresponds to multiple target account numbers, and server is needed according to multiple mesh in acquisition request Mark account number inquires the corresponding head portrait label information of each target account number.
Step 208, server is to the head portrait label information of client feedback target account number, and the client is for according to head portrait Label information Overlapping display target head portrait label on the head portrait of target account number, which is word tag or picture Label;
The head portrait label information inquired is fed back to client by server, and client is believed according to the head portrait label received Breath, shows corresponding target head portrait label in head portrait label information on the head portrait of target account number.
The target head portrait label can be word tag, such as: " female man ", " stay and sprout " and " uncle " etc.;
The target head portrait label is also possible to picture tag, such as: the picture of beauty, lovely cartoon picture are schemed with baby is sprouted Piece etc..
Accordingly, client receives the head portrait label information of the target account number of server feedback;
Step 209, client according to head portrait label information the Overlapping display target head portrait label on the head portrait of target account number, Target head portrait label is word tag or picture tag.
Client is shown on the head portrait of corresponding target account number according to the head portrait label information of the target account number received Target head portrait label.
Originally some head portrait labels, the head that client can will receive may be had existed on the head portrait of one target account number As label information on the head portrait of target account number Overlapping display, that is, have no effect on some head portrait labels that may be present originally, Multiple head portrait labels can be shown simultaneously in a target account number simultaneously.
In conclusion label setting method provided in this embodiment, operates the setting of target account number by obtaining user; It is operated according to setting and generates setting request;Setting request is sent to server;It is generated according to setting request corresponding with target account number Head portrait label information;Store head portrait label information corresponding with target account number;By sending acquisition request to server;According to Acquisition request inquires head portrait label information corresponding with target account number;To the head portrait label information of client feedback target account number; According to head portrait label information on the head portrait of target account number Overlapping display target head portrait label, target head portrait label is word tag Or picture tag;Solve the Shipping Options Page of background server storage a large number of users, but the data of these Shipping Options Pages are seldom accessed, The problem of causing the wasting of resources of background server;Reach and has been superimposed on the head portrait of target account number by customized setting operation Displaying target head portrait label, improves the rate of people logging in of head portrait label, reduces the effect of the wasting of resources of background server.
It is the setting that user directly carries out head portrait label to target account number in Fig. 2A embodiment, in reality scene, some The head portrait label setting of account number is to need some specified permissions.Please refer to following examples.
The method flow diagram for the label setting method that Fig. 6 A another embodiment of the present invention provides.The present embodiment is with the label Setting method is applied to client to illustrate.This method comprises:
Step 601, client obtains user and operates to the setting of target account number, which operates for setting to target account number Set target head portrait label;
User's selected target account number in the Accounts List of client, user is by clicking the head portrait of target account number to target Account number is configured operation, and user the multinomial selection operation that target account number is arranged occurs after clicking head portrait, and selection gives him (she) The project for labeing title can carry out setting to target account number.
Step 602, client is operated according to setting generates setting request;
Client operates the setting of target account number according to user, generates the setting request of corresponding setting operation.
If user is the operation that customized head portrait label is arranged to the setting operation of target account number, client, which generates, to be carried There is the setting of target head portrait label to request.
User after selected target account number, selected from pre-existing some labels in client a label as Target head portrait label, for the head portrait of target account number to be arranged in.Client is generated according to the target head portrait label that user selectes Carry the setting request of the target head portrait label.
Step 603, user end to server sends setting request;
The setting for carrying target head portrait label request is sent to server by client.
Accordingly, server receives the setting request that client is sent, and setting request is for being arranged mesh for target account number Header is as label.
Step 604, whether server detection client has label setting permission corresponding with target account number;
When target account number supports head portrait label setting function, server is requested according to the setting received, and detection is sent Whether the client that request is arranged has the permission for target account number being arranged label.
Step 605, if there is client label corresponding with target account number permission is arranged, server is requested according to setting Generate head portrait label information corresponding with target account number.
Each client to setting permission of the same target account number on the same day only once;
Optionally, if there are friend relations between target account number and the user, the client is to the same target account number Setting permission on the same day can have M times, M >=1;
Optionally, each client is not limited in any way the setting permission number of the same target account number.
When client has the permission to target account number setting label, then server generates and target account according to setting request Number corresponding head portrait label information.
This step may include step shown in Fig. 2 B, with specific reference to Fig. 2A embodiment, or, this step may include Fig. 5 Shown step.
Step 606, if client does not have label corresponding with target account number and permission is arranged, server forbids the client The corresponding label of target account number is arranged in end.
When client does not have the permission to target account number setting label, then server forbids the client to target account number Corresponding label setting.
Step 607, server stores head portrait label information corresponding with target account number;
This step may include steps of, as shown in Figure 6B:
Step 607a, server obtain the effective time of the corresponding head portrait label information of target account number;
Each head portrait label information corresponds to an effective time, and server obtains corresponding head portrait according to target account number The effective time of label information.
Step 607b, server store head portrait label information corresponding with target account number according to effective time;
Server stores head corresponding with the target account number according to the head portrait label information corresponding effective time got As label information, that is, the head portrait label information only can just be stored in effective time.
Step 608, user end to server sends acquisition request, which is used to obtain the head portrait mark of target account number Sign information;
Accordingly, server receives the acquisition request that client is sent.
Step 609, server inquires head portrait label information corresponding with target account number according to acquisition request;
Step 608 is identical to step 207 as step 206 in Fig. 2A embodiment to step 609, specifically please refers to Fig. 2A implementation Example.
Step 610, server is to the head portrait label information of client feedback target account number, and the client is for according to head portrait Label information Overlapping display target head portrait label on the head portrait of target account number, which is word tag or picture Label;
The head portrait label information inquired is fed back to client by server, and client is believed according to the head portrait label received Breath, shows corresponding target head portrait label in head portrait label information on the head portrait of target account number.
The target head portrait label can be word tag, such as: " female man ", " stay and sprout " and " uncle " etc.;
The target head portrait label is also possible to picture tag, such as: the picture of beauty, lovely cartoon picture are schemed with baby is sprouted Piece etc..
This step may include steps of, as shown in Figure 6 C:
Step 610a, server according to effective time, detect the head portrait label information of target account number current time whether Effectively;
Server can detect all head portrait labels of storage every preset time, and whether detection head portrait label is in In corresponding effective time, if head portrait label belonged in corresponding effective time, continue to be stored in server;If the head portrait Label was not belonging in corresponding effective time, then was deleted the head portrait label from server.
Optionally, preset time can be 1 day, 3 days or 5 days etc., and the present embodiment is not construed as limiting the setting of preset time.
Server, first can be according to effective time when inquiring the corresponding head portrait label information of target account number, and detecting should Whether head portrait label information is in effective status at current time.
Step 610b, if the head portrait label information of target account number is effective at current time, server is to client feedback The head portrait label information of target account number;
When server determines the corresponding head portrait label information of target account number when being in effective status at current time, by the head As label information feeds back to client.
Step 610c, if the head portrait label information of target account number is invalid at current time, server is not anti-to client Present the head portrait label information of target account number;
When server determines that the corresponding head portrait label information of target account number, will not be to when being in invalid state at current time The head portrait label information of client feedback target account number.
Accordingly, client receives the head portrait label information of the target account number of server feedback;
Step 611, client according to head portrait label information the Overlapping display target head portrait label on the head portrait of target account number, Target head portrait label is word tag or picture tag.
This step may include steps of, as shown in Figure 6 D:
Step 611a, client tag addresses according to corresponding to the head portrait of the acquisition of head portrait label information and target account number;
Server feedback is to corresponding tag addresses are carried in the head portrait label information of client, and client is according to reception The head portrait label information arrived obtains tag addresses corresponding to the head portrait with target account number.The tag addresses and target account number There are corresponding relationships between head portrait.
Step 611b, client target head portrait label according to corresponding to the head portrait of tag addresses acquisition and target account number;
By Fig. 2A embodiment it is found that there are corresponding relationships between target head portrait label and tag addresses, that is, a mesh Header corresponds to only one tag addresses as label, and client is available to corresponding with the tag addresses according to tag addresses Target head portrait label, that is, the head portrait of the target head portrait label and target account number that get is also one-to-one.
Target head portrait label is superimposed upon on the head portrait of target account number and shows by step 611c, client.
After the target head portrait label that client is got according to tag addresses, which is shown in target account Number head portrait on.
Originally some head portrait labels, the head that client can will receive may be had existed on the head portrait of one target account number As label information on the head portrait of target account number Overlapping display, that is, have no effect on some head portrait labels that may be present originally, Multiple head portrait labels can be shown simultaneously in a target account number simultaneously.
In conclusion label setting method provided in this embodiment, operates the setting of target account number by obtaining user; It is operated according to setting and generates setting request;Setting request is sent to server;It is generated according to setting request corresponding with target account number Head portrait label information;Store head portrait label information corresponding with target account number;By sending acquisition request to server;According to Acquisition request inquires head portrait label information corresponding with target account number;To the head portrait label information of client feedback target account number; According to head portrait label information on the head portrait of target account number Overlapping display target head portrait label, target head portrait label is word tag Or picture tag;Solve the Shipping Options Page of background server storage a large number of users, but the data of these Shipping Options Pages are seldom accessed, The problem of causing the wasting of resources of background server;Reach the Overlapping display target head portrait label on the head portrait of target account number, The rate of people logging in for improving head portrait label reduces the effect of the wasting of resources of background server.
Step 604 only need to be carried out to step under the premise of target account number supports head portrait label setting function in Fig. 6 A embodiment Whether rapid 606 pairs of clients there is the corresponding setting permission of target account number to detect;Then the step 604 in Fig. 6 A embodiment to Step 606 is also implemented as following steps, as shown in Figure 7:
Step 701, whether server detection target account number supports head portrait label setting function;
When client has setting permission corresponding with target account number, server is requested according to the setting received, right Whether target account number supports that head portrait label setting function is detected.
Step 702, if target account number supports head portrait label that function is arranged, server is generated according to setting request and target The corresponding head portrait label information of account number.
If target account number supports head portrait label that function is arranged, server generates corresponding with target account number according to setting request Head portrait label information.
This step may include step shown in Fig. 2 B, with specific reference to Fig. 2A embodiment, or, this step may include Fig. 5 Shown step.
Step 703, if target account number does not support head portrait label setting function, server forbids the client to target account Number corresponding label setting.
When target account number does not support head portrait label setting function, then server forbids the client corresponding to target account number Label setting.
Client in Fig. 1 embodiment and Fig. 2A embodiment disclosed by the invention is weighed with setting corresponding with target account number Target account number also supports head portrait label setting function to limit simultaneously.
If whether uncertain client has whether setting permission corresponding with target account number or target account number support head portrait When function is arranged in label, for server after receiving the setting request of client transmission, server can detect transmission setting request Whether client has setting permission corresponding with target account number, while whether the target account number that can also detect client setting props up Hold head portrait label setting function.
Fig. 8 is the structural block diagram of label setting device provided by one embodiment of the present invention.The label is arranged device and uses In server, label setting device includes:
Request receiving module 820, for receiving the acquisition request of client transmission, the acquisition request is for obtaining target account Number head portrait label information;
Information inquiry module 840, for inquiring head portrait label information corresponding with target account number according to acquisition request;
Information feedback module 860, for the head portrait label information to client feedback target account number, client is used for basis Head portrait label information Overlapping display target head portrait label on the head portrait of target account number, target head portrait label are word tag or figure Piece label.
In conclusion device is arranged in label provided in this embodiment, the acquisition request sent by receiving client, this is obtained Take the head portrait label information requested for obtaining target account number;According to acquisition request, head portrait mark corresponding with target account number is inquired Sign information;To the head portrait label information of client feedback target account number, client is used for according to head portrait label information in target account Number head portrait on Overlapping display target head portrait label, target head portrait label is word tag or picture tag;It solves backstage to take The Shipping Options Page of business device storage a large number of users, but the data of these Shipping Options Pages are seldom accessed, cause the resource wave of background server The problem of taking;Reach the Overlapping display target head portrait label on the head portrait of target account number, improve the rate of people logging in of head portrait label, Reduce the effect of the wasting of resources of background server.
Fig. 9 is the structural block diagram for the label setting device that another embodiment of the present invention provides.Device is arranged in the label For in server, which to be arranged device and include:
Receiving module 910 is set, and for receiving the setting request of client transmission, setting request for target account number for setting Set target head portrait label;
Information generating module 920, for generating head portrait label information corresponding with target account number according to setting request;
Optionally, information generating module 920, comprising:
Acquisition submodule 921 is identified, for obtaining the tag identifier ID carried in setting request;
Address lookup submodule 922, for inquiring tag addresses corresponding with tag ID;
First information submodule 923, for generating head portrait label information corresponding with target account number, head portrait label information is taken With tag addresses.
Information storage module 930, for storing head portrait label information corresponding with target account number;
Optionally, information storage module 930, comprising:
Time acquisition submodule 931, for obtaining the effective time of the corresponding head portrait label information of target account number;
Label sub-module stored 932, for storing head portrait label information corresponding with target account number according to effective time.
Request receiving module 940, for receiving the acquisition request of client transmission, the acquisition request is for obtaining target account Number head portrait label information;
Information inquiry module 950, for inquiring head portrait label information corresponding with target account number according to acquisition request;
Information feedback module 960, for the head portrait label information to client feedback target account number, client is used for basis Head portrait label information Overlapping display target head portrait label on the head portrait of target account number, target head portrait label are word tag or figure Piece label.
Optionally, information feedback module 960, comprising:
Time detection sub-module 961, for detecting the head portrait label information of target account number when current according to effective time It whether effective carves;
Tag feedback submodule 962, for the head portrait label information in target account number when current time is effective, to client Hold the head portrait label information of feedback target account number.
In conclusion device is arranged in label provided in this embodiment, the setting of target account number is operated by obtaining user; It is operated according to setting and generates setting request;Setting request is sent to server;It is generated according to setting request corresponding with target account number Head portrait label information;Store head portrait label information corresponding with target account number;By sending acquisition request to server;According to Acquisition request inquires head portrait label information corresponding with target account number;To the head portrait label information of client feedback target account number; According to head portrait label information on the head portrait of target account number Overlapping display target head portrait label, target head portrait label is word tag Or picture tag;Solve the Shipping Options Page of background server storage a large number of users, but the data of these Shipping Options Pages are seldom accessed, The problem of causing the wasting of resources of background server;Selection target head portrait label is reached from server and in target account number Overlapping display target head portrait label on head portrait, improves the rate of people logging in of head portrait label, reduces the wasting of resources of background server Effect.
Figure 10 is the structural block diagram for the label setting device that another embodiment of the present invention provides.Device is arranged in the label For in server, which to be arranged device and include:
Receiving module 1010 is set, and for receiving the setting request of client transmission, setting request is for being target account number Target head portrait label is set;
First detection module 1020, for detecting whether client has label setting permission corresponding with target account number;
First generation module 1030 is used for when client has label corresponding with target account number setting permission, according to Setting request generates head portrait label information corresponding with target account number.
Second detection module 1040, for detecting whether target account number supports head portrait label setting function;
Second generation module 1050, for that please be seek survival according to setting when target account number supports head portrait label setting function At head portrait label information corresponding with target account number.
Information generating module 1060, for generating head portrait label information corresponding with target account number according to setting request;
Optionally, information generating module 1060, comprising:
Head portrait acquisition submodule 1061, for obtaining the target head portrait label carried in setting request, target head portrait label It is the head portrait label that user is the customized setting of target account number;
Address generates submodule 1062, for generating tag addresses corresponding with target head portrait label;
Second message sub-module 1063, for generating head portrait label information corresponding with target account number, head portrait label information Carry tag addresses.
Information storage module 1070, for storing head portrait label information corresponding with target account number;
Optionally, information storage module 1070, comprising:
Time acquisition submodule 1071, for obtaining the effective time of the corresponding head portrait label information of target account number;
Label sub-module stored 1072, for storing head portrait label information corresponding with target account number according to effective time.
Request receiving module 1080, for receiving the acquisition request of client transmission, the acquisition request is for obtaining target The head portrait label information of account number;
Information inquiry module 1090, for inquiring head portrait label information corresponding with target account number according to acquisition request;
Information feedback module 1100, for the head portrait label information to client feedback target account number, client is used for root According to head portrait label information on the head portrait of target account number Overlapping display target head portrait label, target head portrait label be word tag or Picture tag.
Optionally, information feedback module 1100, comprising:
Time detection sub-module 1101, for detecting the head portrait label information of target account number current according to effective time Whether the moment is effective;
Tag feedback submodule 1102, for the head portrait label information in target account number when current time is effective, to visitor The head portrait label information of family end feedback target account number.
In conclusion device is arranged in label provided in this embodiment, the setting of target account number is operated by obtaining user; It is operated according to setting and generates setting request;Setting request is sent to server;It is generated according to setting request corresponding with target account number Head portrait label information;Store head portrait label information corresponding with target account number;By sending acquisition request to server;According to Acquisition request inquires head portrait label information corresponding with target account number;To the head portrait label information of client feedback target account number; According to head portrait label information on the head portrait of target account number Overlapping display target head portrait label, target head portrait label is word tag Or picture tag;Solve the Shipping Options Page of background server storage a large number of users, but the data of these Shipping Options Pages are seldom accessed, The problem of causing the wasting of resources of background server;Reach and has been superimposed on the head portrait of target account number by customized setting operation Displaying target head portrait label, improves the rate of people logging in of head portrait label, reduces the effect of the wasting of resources of background server.
Figure 11 is the structural block diagram of label setting device provided by one embodiment of the present invention.The label is arranged device and uses In client, label setting device includes:
Request sending module 1120, for sending acquisition request to server, acquisition request is for obtaining target account number Head portrait label information;
Information receiving module 1140, the head portrait label information of the target account number for receiving server feedback;
Label display module 1160, for according to head portrait label information on the head portrait of target account number Overlapping display target head As label, target head portrait label is word tag or picture tag.
In conclusion device is arranged in label provided in this embodiment, by sending acquisition request, acquisition request to server For obtaining the head portrait label information of target account number;Receive the head portrait label information of the target account number of server feedback;According to head As Overlapping display target head portrait label, target head portrait label are word tag or picture to label information on the head portrait of target account number Label;Solves the Shipping Options Page of background server storage a large number of users, but the data of these Shipping Options Pages are seldom accessed, after causing The problem of wasting of resources of platform server;The Overlapping display target head portrait label on the head portrait of target account number is reached, has improved The rate of people logging in of head portrait label reduces the effect of the wasting of resources of background server.
Figure 12 is the structural block diagram for the label setting device that another embodiment of the present invention provides.Device is arranged in the label For in client, which to be arranged device and include:
Setting obtains module 1210, operates for obtaining user to the setting of target account number, setting operation is for target Target head portrait label is arranged in account number;
Generation module 1220 is set, generates setting request for operating according to setting;
Optionally, generation module 1220 is set, is also used in setting operation be the selection target from preset head portrait label When the operation of head portrait label, the setting request for carrying tag ID is generated;
Preset head portrait label refers to the head portrait label being pre-stored in server.
Optionally, generation module 1220 is set, is also used to when setting operation is that the operation of customized head portrait label is arranged, Generate the setting request for carrying target head portrait label.
Sending module 1230 is set, for sending setting request to server;
Request sending module 1240, for sending acquisition request to server, acquisition request is for obtaining target account number Head portrait label information;
Information receiving module 1250, the head portrait label information of the target account number for receiving server feedback;
Label display module 1260, for according to head portrait label information on the head portrait of target account number Overlapping display target head As label, target head portrait label is word tag or picture tag.
Optionally, label display module 1260, comprising:
Address acquisition submodule 1261, for the mark according to corresponding to the head portrait of the acquisition of head portrait label information and target account number Sign address;
Label acquisition submodule 1262, for the target head according to corresponding to the head portrait of tag addresses acquisition and target account number As label;
Display sub-module 1263 is shown for target head portrait label to be superimposed upon on the head portrait of target account number.
In conclusion device is arranged in label provided in this embodiment, the setting of target account number is operated by obtaining user, Setting operation is for being arranged target head portrait label to target account number;It is operated according to setting and generates setting request;It is sent to server Setting request;Acquisition request is sent to server, acquisition request is used to obtain the head portrait label information of target account number;Receive service The head portrait label information of the target account number of device feedback;According to head portrait label information on the head portrait of target account number Overlapping display target Head portrait label, target head portrait label are word tag or picture tag;Solves the label of background server storage a large number of users Page, but the data of these Shipping Options Pages are seldom accessed, the problem of causing the wasting of resources of background server;Reach in target account Number head portrait on Overlapping display target head portrait label, improve the rate of people logging in of head portrait label, reduce the resource of background server The effect of waste.
Figure 13 is the structural block diagram of label setting system provided by one embodiment of the present invention.System packet is arranged in the label It includes: server 1320 and client 1340;
Server 1320 includes embodiment as shown in Figure 8 or embodiment illustrated in fig. 9 or any description of embodiment illustrated in fig. 10 Label be arranged device;
Client 1340 includes the label setting device of embodiment as shown in figure 11 or any description of embodiment illustrated in fig. 12.
It should be understood that the device of label provided by the above embodiment setting is when being arranged head portrait label, only with above-mentioned The division progress of each functional module can according to need and for example, in practical application by above-mentioned function distribution by different Functional module is completed, i.e., the internal structure of electronic equipment is divided into different functional modules, to complete whole described above Or partial function.In addition, the device of label setting provided by the above embodiment and the embodiment of the method for label setting belong to together One design, specific implementation process are detailed in embodiment of the method, and which is not described herein again.
The serial number of the above embodiments of the invention is only for description, does not represent the advantages or disadvantages of the embodiments.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.

Claims (23)

1. a kind of label setting method, which is characterized in that in server, which comprises
The setting request that client is sent is received, the setting request is for being arranged target head portrait label for target account number;
Head portrait label information corresponding with the target account number is generated according to setting request;
Store head portrait label information corresponding with the target account number;
The acquisition request that client is sent is received, the acquisition request is used to obtain the head portrait label information of target account number;
According to the acquisition request, head portrait label information corresponding with the target account number is inquired;
To the head portrait label information of target account number described in the client feedback, the client is used for according to the head portrait label Information Overlapping display target head portrait label on the head portrait of the target account number, the target head portrait label are word tag or figure Piece label, the target head portrait label include the head portrait label that all users are target account setting.
2. the method according to claim 1, wherein described generate and the target account according to setting request Before number corresponding head portrait label information, further includes:
Detect whether the client has label setting permission corresponding with the target account number;
If the client have label corresponding with the target account number be arranged permission, according to the setting request generate and The corresponding head portrait label information of the target account number.
3. the method according to claim 1, wherein described generate and the target account according to setting request Before number corresponding head portrait label information, further includes:
Detect whether the target account number supports head portrait label setting function;
If the target account number supports the head portrait label that function is arranged, generated and the target account according to setting request Number corresponding head portrait label information.
4. method according to any one of claims 1 to 3, which is characterized in that described to request generation and institute according to the setting State the corresponding head portrait label information of target account number, comprising:
Obtain the tag identifier ID carried in the setting request;
Inquire tag addresses corresponding with the tag ID;
The head portrait label information corresponding with the target account number is generated, the head portrait label information is with carrying the label Location.
5. method according to any one of claims 1 to 3, which is characterized in that described to request generation and institute according to the setting State the corresponding head portrait label information of target account number, comprising:
The target head portrait label carried in the setting request is obtained, the target head portrait label is that user is the target The head portrait label of the customized setting of account number;
Generate tag addresses corresponding with the target head portrait label;
The head portrait label information corresponding with the target account number is generated, the head portrait label information is with carrying the label Location.
6. method according to any one of claims 1 to 3, which is characterized in that the storage is corresponding with the target account number Head portrait label information, comprising:
Obtain the effective time of the corresponding head portrait label information of the target account number;
Head portrait label information corresponding with the target account number is stored according to the effective time.
7. according to the method described in claim 6, it is characterized in that, the head to target account number described in the client feedback As label information, comprising:
According to the effective time, whether the head portrait label information for detecting the target account number is effective at current time;
If the head portrait label information of the target account number is effective at current time, to target account number described in the client feedback Head portrait label information.
8. a kind of label setting method, which is characterized in that in client, which comprises
It obtains user to operate the setting of target account number, the setting operation is for being arranged target head portrait mark to the target account number Label;
It is operated according to the setting and generates setting request;
The setting request is sent to server, the setting request is for making server target account number setting institute Target head portrait label is stated, and head portrait label information corresponding with the target account number is generated according to setting request, is then deposited Store up head portrait label information corresponding with the target account number;
Acquisition request is sent to server, the acquisition request is used to obtain the head portrait label information of target account number;
Receive the head portrait label information of the target account number of the server feedback;
According to the head portrait label information on the head portrait of the target account number Overlapping display target head portrait label, the target head As label is word tag or picture tag, the target head portrait label includes the head that all users are target account setting As label.
9. according to the method described in claim 8, it is characterized in that, it is described according to the head portrait label information in the target account Number head portrait on Overlapping display target head portrait label, comprising:
According to tag addresses corresponding to head portrait of the head portrait label information acquisition with the target account number;
According to target head portrait label corresponding to head portrait of the tag addresses acquisition with the target account number;
The target head portrait label is superimposed upon on the head portrait of the target account number and is shown.
10. according to the method described in claim 8, it is characterized in that, described operated according to the setting generates setting request, packet It includes:
If the setting operation is the operation for selecting the target head portrait label from preset head portrait label, generation is carried The setting of the tag ID is requested;
The preset head portrait label refers to the head portrait label being pre-stored in the server.
11. according to the method described in claim 8, it is characterized in that, described operated according to the setting generates setting request, packet It includes:
If the setting operation is the operation that customized head portrait label is arranged, the institute for carrying the target head portrait label is generated State setting request.
12. device is arranged in a kind of label, which is characterized in that in server, described device to include:
Receiving module is set, and for receiving the setting request of client transmission, the setting request for target account number for being arranged Target head portrait label;
Information generating module, for generating head portrait label information corresponding with the target account number according to setting request;
Information storage module, for storing head portrait label information corresponding with the target account number;
Request receiving module, for receiving the acquisition request of client transmission, the acquisition request is for obtaining target account number Head portrait label information;
Information inquiry module, for inquiring head portrait label information corresponding with the target account number according to the acquisition request;
Information feedback module, for the head portrait label information to target account number described in the client feedback, the client is used According to the head portrait label information on the head portrait of the target account number Overlapping display target head portrait label, the target head portrait Label is word tag or picture tag, and the target head portrait label includes the head portrait that all users are target account setting Label.
13. device according to claim 12, which is characterized in that described device, further includes:
First detection module, for detecting whether the client has label setting permission corresponding with the target account number;
First generation module is used for when the client has label corresponding with target account number setting permission, according to The setting request generates head portrait label information corresponding with the target account number.
14. device according to claim 12, which is characterized in that described device, further includes:
Second detection module, for detecting whether the target account number supports head portrait label setting function;
Second generation module, for being asked according to the setting when the target account number supports the head portrait label setting function Seek survival into head portrait label information corresponding with the target account number.
15. 2 to 14 any device according to claim 1, which is characterized in that the information generating module, comprising:
Acquisition submodule is identified, for obtaining the tag identifier ID carried in the setting request;
Address lookup submodule, for inquiring tag addresses corresponding with the tag ID;
First information submodule, for generating the head portrait label information corresponding with the target account number, the head portrait label Information carries the tag addresses.
16. 2 to 14 any device according to claim 1, which is characterized in that the information generating module, comprising:
Head portrait acquisition submodule, for obtaining the target head portrait label carried in the setting request, the target head portrait Label is the head portrait label that user is the customized setting of target account number;
Address generates submodule, for generating tag addresses corresponding with the target head portrait label;
Second message sub-module, for generating the head portrait label information corresponding with the target account number, the head portrait label Information carries the tag addresses.
17. 2 to 14 any device according to claim 1, which is characterized in that the information storage module, comprising:
Time acquisition submodule, for obtaining the effective time of the corresponding head portrait label information of the target account number;
Label sub-module stored, for storing head portrait label information corresponding with the target account number according to the effective time.
18. device according to claim 17, which is characterized in that the information feedback module, comprising:
Time detection sub-module, for detecting the head portrait label information of the target account number current according to the effective time Whether the moment is effective;
Tag feedback submodule, for the head portrait label information in the target account number when current time is effective, to the visitor Feed back the head portrait label information of the target account number in family end.
19. device is arranged in a kind of label, which is characterized in that in client, described device to include:
Setting obtains module, operates for obtaining user to the setting of target account number, and the setting operation is for the target Target head portrait label is arranged in account number;
Generation module is set, generates setting request for operating according to the setting;
Sending module is set, and for sending the setting request to server, the setting request is for making the server The target head portrait label is arranged in the target account number, and generates head corresponding with the target account number according to setting request As label information, head portrait label information corresponding with the target account number is then stored;
Request sending module, for sending acquisition request to server, the acquisition request is used to obtain the head portrait of target account number Label information;
Information receiving module, the head portrait label information of the target account number for receiving the server feedback;
Label display module, for according to the head portrait label information on the head portrait of the target account number Overlapping display target head As label, the target head portrait label is word tag or picture tag, and the target head portrait label includes all users for institute State the head portrait label of target account setting.
20. device according to claim 19, which is characterized in that the label display module, comprising:
Address acquisition submodule, for the mark according to corresponding to the head portrait of head portrait label information acquisition and the target account number Sign address;
Label acquisition submodule, for the target head according to corresponding to the head portrait of tag addresses acquisition and the target account number As label;
Display sub-module is shown for being superimposed upon the target head portrait label on the head portrait of the target account number.
21. device according to claim 19, which is characterized in that
The setting generation module, for being to select the target head portrait mark from preset head portrait label in setting operation When the operation of label, the setting request for carrying the tag ID is generated;
The preset head portrait label refers to the head portrait label being pre-stored in the server.
22. device according to claim 19, which is characterized in that
The setting generation module, for generating and carrying when setting operation is that the operation of customized head portrait label is arranged There is the target head to request as the setting of label.
23. system is arranged in a kind of label, which is characterized in that the system comprises: server and client side;
The server includes the label setting device as described in claim 12 to 18 is any;
The client includes the label setting device as described in claim 19 to 22 is any.
CN201510527442.6A 2015-08-25 2015-08-25 Label setting method, apparatus and system Active CN105099784B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510527442.6A CN105099784B (en) 2015-08-25 2015-08-25 Label setting method, apparatus and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510527442.6A CN105099784B (en) 2015-08-25 2015-08-25 Label setting method, apparatus and system

Publications (2)

Publication Number Publication Date
CN105099784A CN105099784A (en) 2015-11-25
CN105099784B true CN105099784B (en) 2018-12-21

Family

ID=54579400

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510527442.6A Active CN105099784B (en) 2015-08-25 2015-08-25 Label setting method, apparatus and system

Country Status (1)

Country Link
CN (1) CN105099784B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105488829B (en) * 2015-11-28 2019-02-12 小米科技有限责任公司 Generate the method and device of head portrait
CN106571933B (en) * 2016-11-03 2020-12-04 广州酷狗计算机科技有限公司 Service processing method and device
WO2018094725A1 (en) * 2016-11-28 2018-05-31 华为技术有限公司 Avatar display method and avatar display apparatus

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043346A (en) * 2006-03-22 2007-09-26 腾讯科技(深圳)有限公司 Method and system for adding label for contacts
CN101179519A (en) * 2006-12-22 2008-05-14 腾讯科技(深圳)有限公司 Method and system of self-defining cluster label
CN102215302A (en) * 2011-05-28 2011-10-12 华为技术有限公司 Contact photo providing method, management platform and user terminal
CN102510360A (en) * 2011-11-22 2012-06-20 中兴通讯股份有限公司 Method, device and system for setting head portrait of contact person
CN102611637A (en) * 2011-01-20 2012-07-25 腾讯科技(深圳)有限公司 Group realization method and system

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101043346A (en) * 2006-03-22 2007-09-26 腾讯科技(深圳)有限公司 Method and system for adding label for contacts
CN101179519A (en) * 2006-12-22 2008-05-14 腾讯科技(深圳)有限公司 Method and system of self-defining cluster label
CN102611637A (en) * 2011-01-20 2012-07-25 腾讯科技(深圳)有限公司 Group realization method and system
CN102215302A (en) * 2011-05-28 2011-10-12 华为技术有限公司 Contact photo providing method, management platform and user terminal
CN102510360A (en) * 2011-11-22 2012-06-20 中兴通讯股份有限公司 Method, device and system for setting head portrait of contact person

Also Published As

Publication number Publication date
CN105099784A (en) 2015-11-25

Similar Documents

Publication Publication Date Title
EP3061206B1 (en) Method and apparatus for pushing target information
US9450902B2 (en) Method and system for marking email threads
CN104335523B (en) A kind of authority control method, client and server
CN106156025A (en) The management method of a kind of data mark and device
CN107526581B (en) Data updating reminding method and device
CN105099784B (en) Label setting method, apparatus and system
CN103235718A (en) Method and device for generating remote procedure call (RPC) code
CN114124861A (en) Message group sending method and device, computer equipment and storage medium
CN109446442A (en) Method and apparatus for handling information
EP3331202A1 (en) Message presentation method, device, and system
US9906485B1 (en) Apparatus and method for coordinating live computer network events
CN107895007A (en) Configure the method and system of page elements
KR20160120905A (en) System and method for generating electronic document
CN103905661B (en) The method and Cloud Server of information forwarding
US8719294B2 (en) Network digital creation system and method thereof
JP6946404B2 (en) Recommended methods, devices, devices and readable storage media based on cloud search
CN106027303B (en) A kind of reference characteristic-acquisition method and its equipment
CN104572816A (en) Information processing method and electronic equipment
CN106156993A (en) A kind of information processing method and server
CN109271397A (en) Method and apparatus for handling information
CN105677362B (en) A kind of image drawing method and its system
CN106790616A (en) A kind of transmission method of electronic business card, apparatus and system, electronic card device
CN111385375B (en) Method and equipment for generating email address
CN105323293B (en) Data transmission service switching system and method
CN106886396A (en) expression management method and device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 510660 Guangzhou City, Guangzhou, Guangdong, Whampoa Avenue, No. 315, self - made 1-17

Applicant after: Guangzhou KuGou Networks Co., Ltd.

Address before: 510000 B1, building, No. 16, rhyme Road, Guangzhou, Guangdong, China 13F

Applicant before: Guangzhou KuGou Networks Co., Ltd.

GR01 Patent grant
GR01 Patent grant