Specific embodiment
In order to make those skilled in the art better understand the technical solutions in the application, below in conjunction with the application reality
The attached drawing in mode is applied, the technical solution in the application embodiment is clearly and completely described, it is clear that described
Embodiment is only a part of embodiment of the application, rather than whole embodiments.Based on the embodiment party in the application
Formula, every other embodiment obtained by those of ordinary skill in the art without making creative efforts, is all answered
When the range for belonging to the application protection.
The application provides a kind of methods of exhibiting of chat interface, and the method can be applied in client.The client
End can be the terminal device that user uses.For example, the client can be smart phone, desktop computer, laptop,
The electronic equipments such as tablet computer, smart television, intelligent wearable device.Certainly, the client can also be run on it is above-mentioned
Software in electronic equipment.For example, the software can be the instant communication softwares such as mobile phone QQ, wechat, footpath between fields footpath between fields.
It, in the present embodiment, can be with pre-loaded expression collection in instant communication software by taking instant communication software as an example
It closes.The quantity of the expression set can be one or more.It may include multiple expression figures in the expression set
Piece.These expression pictures can be static picture, be also possible to dynamic picture.For example, the expression picture can be gif
The dynamic picture of format.
In the present embodiment, the expression set may include in the installation kit of instant communication software, in Instant Messenger
After letter software installation finishes, expression set is just built in instant communication software.In addition, the expression set is also used as
The component for needing to download, when user initiates downloading request in instant communication software, just from the server of instant communication software
In be downloaded in instant communication software.
In the present embodiment, the expression picture in the expression set can be associated with expression label, the expression
Label can be the text that can characterize the expression picture meaning.For example, the expression picture that a characterization is laughed, associated
Expression label can be " heartily " or " laugh " as text.In practical applications, user is by inputting specific starting
The combination of symbol and expression label can trigger corresponding expression picture, so as to be made by way of inputting text
It include expression picture in chat message.Wherein, the specific starting, which meets, for example can be "/", then when for defeated in text
When entering input in frame "/laugh ", the expression picture that the character of "/laugh " in Text Entry can be characterized laugh is replaced
Generation.
Referring to Fig. 1, the methods of exhibiting of chat interface provided by the present application may comprise steps of.
S11: showing current chat message in chat interface and displaying deliver the chat message user head portrait.
It in the present embodiment, can in the chat interface of client when user and other users are chatted by client
To show current chat message, and it can show the head portrait for delivering the user of the chat message.Referring to Fig. 2, client
In illustrate the chat content of user and Zhang San.In the chat interface, the chat that user and Zhang San respectively deliver may include
Information, and also user and the respective head portrait of Zhang San shown together with chat message.
It should be noted that can be not limited to by delivering the quantity of the user of chat message in chat interface by two, may be used also
To be more.For example, the quantity for delivering the user of chat message can be with more than two in the chat interface of a group chat.
In addition, can not be friend relation between the user for delivering chat message in chat interface.For example, chatting in group chat
It is not necessarily all friend relation between each user in group in its interface, but as long as user is in the group, can views
The chat message that other users are delivered in this group.
In the present embodiment, the chat message between different clients can usually be sent by two ways.
One is the clients by sender, and chat message is directly sent to the client of recipient;Another kind is by sender
Client will need the chat message sent to be first sent to transfer server, then be chatted again by need to send by transfer server
Its information is sent to the client of recipient.Specifically, under the first communication mode, customer end A needs to send to customer end B
When chat message, customer end A first can submit an application to server, and after this application is passed through by server, server will
Communication connection is established between customer end A and customer end B, the chat message between subsequent client A and customer end B can lead to
The communication connection established is crossed directly to be transmitted.Under second of communication mode, each customer end A needs to send chat message
When to customer end B, all the application comprising chat message first can be submitted to server, after server agrees to this application, service
Chat message will be transmitted to customer end B by device.Similarly, when customer end B is if necessary to send chat message to customer end A,
It is also required to the transfer by server.In this way, the chat message that client receives, on the one hand can be using the client
What user directly inputted, it is also possible to what another client was sent, can also be what transfer server was sent.
S13: identifying the expression label for including in the chat message, and the institute with identification is determined in the expression set
State the associated target expression picture of expression label.
In the present embodiment, client is receiving current chat message, and illustrates this in chat interface and chat
After its information and corresponding user's head portrait, the content of the chat message can be identified.Specifically, client can
To match the expression label for including in expression set in the chat message, to identify in the chat message
The expression label for including.It certainly, can be by way of speech recognition, by voice if the chat message is voice messaging
After information is converted to text information, the expression label for including is being identified from text information.
It in the present embodiment, can be described after the expression label for including in identifying the chat message
Target expression picture associated with the expression label of identification is determined in expression set.In practical applications, the chat
Information can have unique mark in the client, which can be used for the chat message and other chat messages
It distinguishes.It for example may include delivering the information of the user of the chat message and for the chat message at this in the mark
Serial number in secondary chat.For example, the information for delivering the user of the chat message can be the account of the user: zhangsan001,
Serial number of the chat message in this chat can be 11, in this way, the mark of the chat message can be
zhangsan001-11。
In the present embodiment, the target expression picture got based on the expression label for including in the chat message
The mark of the chat message can be carried.In this way, according to the mark that target expression picture carries, client can know this
Target expression picture handles to obtain for which chat message.
S15: the head portrait of the user of the chat message is delivered using target expression picture replacement.
It in the present embodiment, can will be described after handling to obtain the target expression picture based on chat message
The head portrait of the user of the chat message is delivered in the replacement of target expression picture.In this way, the head portrait of the user will change into it is described
Target expression picture.By checking the head portrait of the user, it can know that the user is corresponding when delivering current chat message
Mood states.3 are please referred to, the chat interface of " I " Yu " Zhang San " are illustrated in Fig. 3, it will therefore be readily appreciated that first of Zhang San
Expression label " Embarrassing " and " embarrassment " are separately included in chat message and Article 3 chat message, then this two chat messages pair
The head portrait of the Zhang San answered can change into the target expression picture of characterization " Embarrassing " and " embarrassment " respectively.Subsequent Zhang San is delivering
Two and when Article 4 chat message, not comprising expression label in chat message, therefore, this two chat messages are corresponding
Head portrait is the head portrait of Zhang San's script.Similarly, expression label is not included in first chat message of " I ", and Article 2 is chatted
It include the expression label of " ha ha ha " in information, therefore this corresponding head portrait of two chat messages can show different displaying sides
Formula.That is, in the present embodiment, at least two chats letter delivered in the same chat interface comprising the same user
Breath, the expression label for including when two of them chat message is different or a chat message does not include expression label, and another
When chat message includes expression label, the bandwagon effect of this corresponding user's head portrait of two chat messages can be different.
In the present embodiment, for different users, if containing identical expression mark in their chat message
Label, then the head portrait of these different users could alternatively be the same target expression picture.For example, user A and user B are one
Delivered respectively in secondary chat " I encountered a joyful thing yesterday, can be interesting, heartily " and " be, I also yes,
Heartily, you first say ", include in this two chat messages expression label " heartily ", then corresponding for this two chat messages
Head portrait, can replace with the same expression picture of characterization " heartily ".
In the application another embodiment, for different users, even if containing phase in their chat message
Same expression label, but the expression picture of the identical expression label of characterization respectively presented can also be different.It is with above-mentioned example
Example, user A and user B have delivered " I encountered a joyful thing yesterday, can be interesting, heartily " in primary chat respectively
And " be, I also yes, heartily, you first say ", include expression label " heartily " in this two chat messages, but be directed to
User A, the expression picture A of available characterization " heartily ", and it is directed to user B, the expression picture of available characterization " heartily "
B.Even if the expression picture of replacement different user head portrait can also be different in this way, being directed to identical expression label.On realizing
The effect stated can be different users, different expression set is arranged in the present embodiment.In this way, when needing to replace certain
When the head portrait of a user, corresponding expression picture can be obtained from the expression set of the user, so that different user is used
It can also be different in the expression picture of replacement head portrait.Specifically, when user begins to use the client, the client can
To require user to upload a clearly face picture.The face picture, which can be, to be loaded from the photograph album of client, can also
Being uploaded after user's self-timer.In this way, recognition of face can be passed through after client receives the face picture of user's input
Technology identifies the face in the face picture.Since the expression of face is usually to be indicated by face, in this reality
Applying in mode can be adjusted the face in the face picture according to the expression that specified expression label characterizes, so that
The expression of face picture characterization after adjustment is consistent with the expression that specified expression label characterizes.For example, for specified expression mark
It signs " heartily ", mouth is adjusted to the state laughed in the face that can be will identify that, and eyes can be opened degree tune
It is low, the position of eyebrow is raised up, so that the expression that face adjusted are presented is happy pleasant expression, with the finger
Determine the expression that expression label " heartily " is characterized to be consistent.In this way, can using the face picture after the adjustment as with it is described
The specified associated expression picture of expression label, so that form expression label and expression picture is associated with body.By to identifying
Face repeatedly adjusted, so as to generate different expression pictures.Since the face picture that script uploads can be use
Family take pictures certainly or other photos of user's self-selection so that based on the face picture making go out expression picture
Also it is less susceptible to repeat with others' expression picture.In this case, it is based on the prepared expression collection of the face picture
Close the expression set that can be used as the user-specific.In the present embodiment, client can be by the expression set and input
The mark of the user of the face picture is mutually bound, and the expression set for being bundled with the mark is uploaded in server.This
Sample, server can receive the expression set uploaded from different clients, these expression set can be with respective use
Family mark is mutually bound.
In the present embodiment, for user when using client, client can issue the user with prompt information, the prompt
The expression set that information can be used for that user is guided to download its good friend production, so that later in the head portrait of Dynamic Display good friend
When, the expression picture of good friend's production can be selected.The prompt information, which for example can be, " detects that you have good friend to upload expression
Packet, if downloading? ", when user select download after, can jump to good friend expression set downloading the page, user to
The expression set that can choose one or more of which good friend is downloaded.Client is in the downloading for receiving user's input
After instruction, can send expression set load request to server may include the mark of at least one user in the request
Know.It is directed toward at least in this way, server can provide the expression set load request to the client for sending load request
One expression set.
It is subsequent, it, can be from described in downloading at least one when for the head portrait of the chat message Dynamic Display user of user
The target expression set of the mark binding for the user for delivering current chat message is determined in a expression set.For example, current hair
Table chat message is Zhang San, then the expression set of Zhang San's production can be determined from numerous expression set.Then
Target expression picture associated with the expression label of identification can be determined in the target expression set.In this way, needle
To different users, even if containing identical expression label in chat message, the target expression picture determined can not also
Together, to ensure that the otherness and personalization of the head portrait of Dynamic Display.
In one embodiment, replace user's head portrait target expression picture can after meeting some requirements,
It is reduced to the head portrait of user's script.Specifically, it is connect when the duration of the target expression picture presentation reaches specified duration or works as
When receiving the cancel an order for the target expression picture, client can be reduced to the target expression picture to deliver institute
State the head portrait of the user of chat message.For example, after the duration that target expression picture is shown at head portrait position reaches 10 seconds, just
It can be reduced to the head portrait of script.In another example the specified gesture of revocation target expression picture can be preset in the client,
In the case where target expression picture presentation, if detecting above-mentioned specified gesture at head portrait position, just it is considered as
User has initiated cancel an order for the target expression picture of current presentation.Above-mentioned specified gesture for example can be click,
The common gesture such as sustained touch, pressing, sliding.Client is after receiving the cancel an order for target expression picture, just
The target expression picture shown can be reduced to the head portrait of script.
In one embodiment, it is likely to multiple expression labels occur in the chat message that user delivers, in this way, working as
When the quantity of the expression label identified from the chat message is at least two, can the position for showing the head portrait according to
It is secondary to show expression picture associated with the expression label identified, and the expression picture of each displaying can persistently be preset
Duration.The expression picture of current presentation can switch to next expression figure to be presented after the persistently preset duration
Piece can be reduced to the head portrait of script after expression picture to be presented has been shown.For example, from the chat message of user
In identify " heartily " and " embarrassment " the two expression labels, then the two expression marks can be obtained respectively from expression set
Sign associated expression picture 1 and expression picture 2, wherein expression picture 1 can be shown at the position for showing head portrait first, when
After the duration that expression picture 1 is shown reaches 5 seconds, it can be switched to expression picture 2, when the duration that expression picture 2 is shown reaches 5 seconds
Afterwards, the head portrait of script can be reduced to.
In one embodiment, user may less want to watch the head portrait of Dynamic Display, then in the present embodiment
The function of shielding dynamic head portrait can be set.Specifically, referring to Fig. 4, it is pre- for that can be triggered at the position for showing head portrait
If instruction, specifically, trigger the preset instructions mode for example may include show head portrait position at sustained touch refer to
Timing is long or pressing dynamics reach specified dynamics etc..As shown in figure 4, client receives at the position for showing the head portrait
When to preset instructions, the shielding control for the user for delivering the chat message can be popped up in the chat interface.It should
Shielding control for example can be the choice box that can be clicked by user, and text information " screen can be shown in the choice box
Cover dynamic head portrait ".In this way, can will show the position of the head portrait always in the case where the shielding control is triggered
It keeps showing the head portrait, without dynamically replacing with corresponding expression mark according to the expression label for including in chat message
Label.In addition, client can be in chat circle when showing that the position of the head portrait receives the preset instructions again
Releasing shielding control of the pop-up for the user for delivering the chat message in face.Releasing shielding control equally can be one
The choice box that can be clicked by user can show text information " showing dynamic head portrait " in the choice box.In this way, described
Release shielding control be triggered in the case where, if in the chat message include expression label, can use with comprising institute
It states the associated expression picture of expression label and replaces the head portrait.
It in one embodiment, in the client may include multiple displayed pages, in addition between user and good friend
It can also include that main interface as described in Figure 5 can show that at least one is chatted in the main interface except chat interface
Its Show board.The chat Show board can be used as the entrance of detailed chat content, when the chat Show board is clicked, just
Detailed chat interface can be entered.In the present embodiment, can have the key for switching to main interface in chat interface,
For example, the key, which can be in Fig. 3, is shown as the key " chatted " above the page.When the key is clicked, client is in institute
Page switching instruction can be received by stating in chat interface, can switch to Fig. 5 institute from chat interface shown in Fig. 3 at this time
The main interface shown.
In the present embodiment, last chat letter delivered can be shown in the chat Show board of main interface
Breath, which, which can be, participates in what any user that this is chatted was delivered, if what the chat message was delivered
Time is at the latest.In the chat Show board, the head for delivering the user of last chat message can also be shown
Picture.Wherein, when in last described chat message including expression label, the user of last chat message is delivered
Head portrait can be replaced by a manner mentioned above with comprising the associated expression picture of the expression label.
Referring to Fig. 6, the application also provides a kind of client, the client includes memory and processor, described to deposit
Computer program and expression set are stored in reservoir, wherein the expression picture in the expression set is related to expression label
Connection;When the computer program is executed by the processor, following steps are realized.
S11: showing current chat message in chat interface and displaying deliver the chat message user head portrait.
S13: identifying the expression label for including in the chat message, and the institute with identification is determined in the expression set
State the associated target expression picture of expression label.
S15: the head portrait of the user of the chat message is delivered using target expression picture replacement.
In the present embodiment, the memory may include the physical unit for storing information, usually by information
It is stored again with the media using the methods of electricity, magnetic or optics after digitlization.Memory described in present embodiment again may be used
To include: to store the device of information, such as RAM, ROM in the way of electric energy;The device of information is stored in the way of magnetic energy, it is such as hard
Disk, floppy disk, tape, core memory, magnetic bubble memory, USB flash disk;Using the device of optical mode storage information, such as CD or DVD.
Certainly, there are also memories of other modes, such as quantum memory, graphene memory etc..
In the present embodiment, the processor can be implemented in any suitable manner.For example, the processor can be with
Take such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as
Software or firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.
The concrete function that the client that this specification embodiment provides, memory and processor are realized, can be with this
Aforementioned embodiments in specification contrast explanation, and can reach the technical effect of aforementioned embodiments, here just no longer
It repeats.
The application also provides a kind of methods of exhibiting of chat interface, and the method can be applied in above-mentioned client.
It similarly, can be with pre-loaded expression set in the client.The expression set can be built-in after software installation
In client.In addition, the expression set is also used as the component for needing to download, when user initiates to download in the client
When request, just it is downloaded in client from server.
Referring to Fig. 7, the methods of exhibiting of chat interface provided by the present application may comprise steps of.
S21: showing current chat message in chat interface and displaying deliver the chat message user head portrait;
Wherein, the chat message is sent by the user into server.
S23: the expression label identified from the chat message that the server is sent is received, and in the expression collection
Target expression picture associated with the expression label of identification is determined in conjunction.
S25: the head portrait of the user of the chat message is delivered using target expression picture replacement.
In the present embodiment, during the chat message sent mutually between different clients can be carried out by server
Turn.In this way, server can receive the chat message from different clients.It, can in order to reduce the operation pressure of client
It is completed so that the process for identifying expression label is transferred to server.Specifically, the expression that can will include in expression set in advance
Label is summarized in server, and constitutes inquiry database.The inquiry database can be considered as the word comprising each expression label
Allusion quotation.Server, can be by the expression label inquired in database and institute after receiving the chat message that client is sent
The content for stating chat message is matched, so as to identify the expression label for including in the chat message.It is identifying
After the expression label, which can be fed back to the client for sending the chat message by server, and also
It can be sent to the client for receiving the chat message together.As long as in this way, illustrating institute in current chat interface
The client of chat message is stated, can receive the expression label identified from the chat message that server is sent.
In the present embodiment, client is illustrating current chat message, and receives should chatting for server offer
After the expression label for including in its information, mesh associated with the expression label can be determined in the expression set
Mark expression picture.In practical applications, it may include unique mark by the chat message that server forwards, which can
For distinguishing different chat messages.Server, can be by the chat after identifying expression label in chat message
The mark of information is mutually bound with the expression label identified.In this way, client receive be bundled with mark expression label it
Afterwards, it can know that the expression label is issued for which chat message.In this way, determine it is associated with expression label
Target expression picture after, just target expression picture can also carry the expression label binding mark, client so as to
Know that the target expression picture handles to obtain for which chat message.
In the present embodiment, after obtaining the target expression picture, the target expression picture can be replaced
Deliver the head portrait of the user of the chat message.In this way, the head portrait of the user will change into the target expression picture.Pass through
It checks the head portrait of the user, can know the user corresponding mood states when delivering current chat message.
In the application another embodiment, for different users, even if containing phase in their chat message
Same expression label, but the expression picture of the identical expression label of characterization respectively presented can also be different.For example, user A and
User B delivered respectively in primary chat " I encountered a joyful thing yesterday, can be interesting, heartily " and " be,
I also yes, heartily, you first say ", include in this two chat messages expression label " heartily ", but be directed to user A, can be with
The expression picture A of characterization " heartily " is obtained, and is directed to user B, the expression picture B of available characterization " heartily ".Even if in this way,
For identical expression label, the expression picture for replacing different user head portrait be can also be different.In order to realize above-mentioned effect,
In present embodiment, it can be different users, different expression set is set.In this way, when the head for needing to replace some user
When picture, corresponding expression picture can be obtained from the expression set of the user, so that different user is for replacing head portrait
Expression picture can also be different.Specifically, when user begins to use the client, the client can require user
Upload a clearly face picture.The face picture, which can be, to be loaded from the photograph album of client, be also possible to user from
It is uploaded after bat.In this way, can be identified by face recognition technology after client receives the face picture of user's input
Face in the face picture.Since the expression of face is usually to be indicated by face, in the present embodiment may be used
To be adjusted the face in the face picture according to the expression that specified expression label characterizes, so that after adjustment
The expression of face picture characterization is consistent with the expression that specified expression label characterizes.For example, for specified expression label " heartily ", it can
It is adjusted to the state laughed with mouth in the face that will identify that, and the degree of opening of eyes can be turned down, by eyebrow
Position raises up, so that the expression that face adjusted are presented is happy pleasant expression, with the specified expression label
" heartily " expression characterized is consistent.In this way, can using the face picture after the adjustment as with the specified expression mark
Associated expression picture is signed, so that form expression label and expression picture is associated with body.By being carried out to the face identified
Repeatedly adjustment, so as to generate different expression pictures.Since the face picture that script uploads can be taking pictures certainly for user,
Or other photos of user's self-selection so that based on the face picture making go out expression picture be also less susceptible to
Others' expression picture repeats.In this case, this can be used as based on the prepared expression set of the face picture
The expression set of user-specific.In the present embodiment, client can be by the expression set and the input face picture
The mark of user mutually bind, and the expression set for being bundled with the mark is uploaded in server.In this way, server can be with
The expression set uploaded from different clients is received, these expression set can mutually be bound with respective user identifier.
In the present embodiment, for user when using client, client can issue the user with prompt information, the prompt
The expression set that information can be used for that user is guided to download its good friend production, so that later in the head portrait of Dynamic Display good friend
When, the expression picture of good friend's production can be selected.The prompt information, which for example can be, " detects that you have good friend to upload expression
Packet, if downloading? ", when user select download after, can jump to good friend expression set downloading the page, user to
The expression set that can choose one or more of which good friend is downloaded.Client is in the downloading for receiving user's input
After instruction, can send expression set load request to server may include the mark of at least one user in the request
Know.It is directed toward at least in this way, server can provide the expression set load request to the client for sending load request
One expression set.
It is subsequent, it, can be from described in downloading at least one when for the head portrait of the chat message Dynamic Display user of user
The target expression set of the mark binding for the user for delivering current chat message is determined in a expression set.For example, current hair
Table chat message is Zhang San, then the expression set of Zhang San's production can be determined from numerous expression set.Then
Target expression picture associated with the expression label of identification can be determined in the target expression set.In this way, needle
To different users, even if containing identical expression label in chat message, the target expression picture determined can not also
Together, to ensure that the otherness and personalization of the head portrait of Dynamic Display.
In one embodiment, replace user's head portrait target expression picture can after meeting some requirements,
It is reduced to the head portrait of user's script.Specifically, it is connect when the duration of the target expression picture presentation reaches specified duration or works as
When receiving the cancel an order for the target expression picture, client can be reduced to the target expression picture to deliver institute
State the head portrait of the user of chat message.For example, after the duration that target expression picture is shown at head portrait position reaches 10 seconds, just
It can be reduced to the head portrait of script.In another example the specified gesture of revocation target expression picture can be preset in the client,
In the case where target expression picture presentation, if detecting above-mentioned specified gesture at head portrait position, just it is considered as
User has initiated cancel an order for the target expression picture of current presentation.Above-mentioned specified gesture for example can be click,
The common gesture such as sustained touch, pressing, sliding.Client is after receiving the cancel an order for target expression picture, just
The target expression picture shown can be reduced to the head portrait of script.
In one embodiment, it is likely to multiple expression labels occur in the chat message that user delivers, in this way, working as
When the quantity of the expression label identified from the chat message is at least two, can the position for showing the head portrait according to
It is secondary to show expression picture associated with the expression label identified, and the expression picture of each displaying can persistently be preset
Duration.The expression picture of current presentation can switch to next expression figure to be presented after the persistently preset duration
Piece can be reduced to the head portrait of script after expression picture to be presented has been shown.For example, from the chat message of user
In identify " heartily " and " embarrassment " the two expression labels, then the two expression marks can be obtained respectively from expression set
Sign associated expression picture 1 and expression picture 2, wherein expression picture 1 can be shown at the position for showing head portrait first, when
After the duration that expression picture 1 is shown reaches 5 seconds, it can be switched to expression picture 2, when the duration that expression picture 2 is shown reaches 5 seconds
Afterwards, the head portrait of script can be reduced to.
In one embodiment, user may less want to watch the head portrait of Dynamic Display, then in the present embodiment
The function of shielding dynamic head portrait can be set.Specifically, referring to Fig. 4, it is pre- for that can be triggered at the position for showing head portrait
If instruction, specifically, trigger the preset instructions mode for example may include show head portrait position at sustained touch refer to
Timing is long or pressing dynamics reach specified dynamics etc..As shown in figure 4, client receives at the position for showing the head portrait
When to preset instructions, the shielding control for the user for delivering the chat message can be popped up in the chat interface.It should
Shielding control for example can be the choice box that can be clicked by user, and text information " screen can be shown in the choice box
Cover dynamic head portrait ".In this way, can will show the position of the head portrait always in the case where the shielding control is triggered
It keeps showing the head portrait, without dynamically replacing with corresponding expression mark according to the expression label for including in chat message
Label.In addition, client can be in chat circle when showing that the position of the head portrait receives the preset instructions again
Releasing shielding control of the pop-up for the user for delivering the chat message in face.Releasing shielding control equally can be one
The choice box that can be clicked by user can show text information " showing dynamic head portrait " in the choice box.In this way, described
Release shielding control be triggered in the case where, if in the chat message include expression label, can use with comprising institute
It states the associated expression picture of expression label and replaces the head portrait.
It in one embodiment, in the client may include multiple displayed pages, in addition between user and good friend
It can also include that main interface as described in Figure 5 can show that at least one is chatted in the main interface except chat interface
Its Show board.The chat Show board can be used as the entrance of detailed chat content, when the chat Show board is clicked, just
Detailed chat interface can be entered.In the present embodiment, can have the key for switching to main interface in chat interface,
For example, the key, which can be in Fig. 3, is shown as the key " chatted " above the page.When the key is clicked, client is in institute
Page switching instruction can be received by stating in chat interface, can switch to Fig. 5 institute from chat interface shown in Fig. 3 at this time
The main interface shown.
In the present embodiment, last chat letter delivered can be shown in the chat Show board of main interface
Breath, which, which can be, participates in what any user that this is chatted was delivered, if what the chat message was delivered
Time is at the latest.In the chat Show board, the head for delivering the user of last chat message can also be shown
Picture.Wherein, when in last described chat message including expression label, the user of last chat message is delivered
Head portrait can be replaced by a manner mentioned above with comprising the associated expression picture of the expression label.
The application also provides a kind of client, and the client includes memory and processor, stores in the memory
Computer program and expression set, wherein the expression picture in the expression set is associated with expression label;The calculating
When machine program is executed by the processor, following steps are realized.
S21: showing current chat message in chat interface and displaying deliver the chat message user head portrait;
Wherein, the chat message is sent by the user into server;
S23: the expression label identified from the chat message that the server is sent is received, and in the expression collection
Target expression picture associated with the expression label of identification is determined in conjunction;
S25: the head portrait of the user of the chat message is delivered using target expression picture replacement.
In the present embodiment, the memory may include the physical unit for storing information, usually by information
It is stored again with the media using the methods of electricity, magnetic or optics after digitlization.Memory described in present embodiment again may be used
To include: to store the device of information, such as RAM, ROM in the way of electric energy;The device of information is stored in the way of magnetic energy, it is such as hard
Disk, floppy disk, tape, core memory, magnetic bubble memory, USB flash disk;Using the device of optical mode storage information, such as CD or DVD.
Certainly, there are also memories of other modes, such as quantum memory, graphene memory etc..
In the present embodiment, the processor can be implemented in any suitable manner.For example, the processor can be with
Take such as microprocessor or processor and storage can by (micro-) processor execute computer readable program code (such as
Software or firmware) computer-readable medium, logic gate, switch, specific integrated circuit (Application Specific
Integrated Circuit, ASIC), programmable logic controller (PLC) and the form etc. for being embedded in microcontroller.
The concrete function that the client that this specification embodiment provides, memory and processor are realized, can be with this
Aforementioned embodiments in specification contrast explanation, and can reach the technical effect of aforementioned embodiments, here just no longer
It repeats.
Therefore technical solution provided by the present application, it can be with pre-loaded expression set in the client of user, this
Expression picture in a little expression set can be associated with expression label.When user is chatted by client and its good friend
When, chat interface can be shown in client, in the chat interface, be may include current chat message and delivered this and chat
The head portrait of the user of its information.In order to intuitively embody state of the user when delivering the chat message, client can be with
It identifies expression label included in the chat message, and the expression with identification can be inquired in above-mentioned expression set
The associated target expression picture of label, the target expression picture can express a part of text meaning in chat message.It connects
, it can use the head portrait that the user of the chat message is delivered in the target expression picture replacement, in this way, in chat interface
In, the head portrait of user can dynamically change according to the difference of chat message, and the head portrait after variation can characterize currently
A part of text meaning in chat message.In this way, the current head portrait by checking the user for delivering chat message, can obtain
Know the mood states of the user when delivering the chat message.Since expression set has been pre-loaded in client,
The calling of expression picture and displaying can't expend network flow, meanwhile, user need to only take less time browsing good friend's
Head portrait can easily know state when good friend delivers chat message, improve the speed of acquisition of information.
In the 1990s, the improvement of a technology can be distinguished clearly be on hardware improvement (for example,
Improvement to circuit structures such as diode, transistor, switches) or software on improvement (improvement for method flow).So
And with the development of technology, the improvement of current many method flows can be considered as directly improving for hardware circuit.
Designer nearly all obtains corresponding hardware circuit by the way that improved method flow to be programmed into hardware circuit.Cause
This, it cannot be said that the improvement of a method flow cannot be realized with hardware entities module.For example, programmable logic device
(Programmable Logic Device, PLD) (such as field programmable gate array (Field Programmable Gate
Array, FPGA)) it is exactly such a integrated circuit, logic function determines device programming by user.By designer
Voluntarily programming comes a digital display circuit " integrated " on a piece of PLD, designs and makes without asking chip maker
Dedicated IC chip.Moreover, nowadays, substitution manually makes IC chip, this programming is also used instead mostly " is patrolled
Volume compiler (logic compiler) " software realizes that software compiler used is similar when it writes with program development,
And the source code before compiling also write by handy specific programming language, this is referred to as hardware description language
(Hardware Description Language, HDL), and HDL is also not only a kind of, but there are many kind, such as ABEL
(Advanced Boolean Expression Language)、AHDL(Altera Hardware Description
Language)、Confluence、CUPL(Cornell University Programming Language)、HDCal、JHDL
(Java Hardware Description Language)、Lava、Lola、MyHDL、PALASM、RHDL(Ruby
Hardware Description Language) etc., VHDL (Very-High-Speed is most generally used at present
Integrated Circuit Hardware Description Language) and Verilog2.Those skilled in the art
It will be apparent to the skilled artisan that only needing method flow slightly programming in logic and being programmed into integrated circuit with above-mentioned several hardware description languages
In, so that it may it is readily available the hardware circuit for realizing the logical method process.
It is also known in the art that in addition to realizing client and server in a manner of pure computer readable program code
In addition, completely can by by method and step carry out programming in logic come so that client and server with logic gate, switch, dedicated
The form of integrated circuit, programmable logic controller (PLC) and insertion microcontroller etc. realizes identical function.Therefore this client
It is considered a kind of hardware component with server, and the device for realizing various functions for including in it can also be regarded
For the structure in hardware component.Or even, can will be considered as realizing the device of various functions either implementation method
Software module can be the structure in hardware component again.
As seen through the above description of the embodiments, those skilled in the art can be understood that the application can
It realizes by means of software and necessary general hardware platform.Based on this understanding, the technical solution essence of the application
On in other words the part that contributes to existing technology can be embodied in the form of software products, the computer software product
It can store in storage medium, such as ROM/RAM, magnetic disk, CD, including some instructions are used so that a computer equipment
(can be personal computer, server or the network equipment etc.) executes each embodiment of the application or embodiment
Method described in certain parts.
Each embodiment in this specification is described in a progressive manner, same and similar between each embodiment
Part may refer to each other, what each embodiment stressed is the difference with other embodiments.In particular, needle
For the embodiment of client, the introduction control for being referred to the embodiment of preceding method is explained.
The application can describe in the general context of computer-executable instructions executed by a computer, such as program
Module.Generally, program module includes routines performing specific tasks or implementing specific abstract data types, programs, objects, group
Part, data structure etc..The application can also be practiced in a distributed computing environment, in these distributed computing environments, by
Task is executed by the connected remote processing devices of communication network.In a distributed computing environment, program module can be with
In the local and remote computer storage media including storage equipment.
Although depicting the application by embodiment, it will be appreciated by the skilled addressee that there are many deformations by the application
With variation without departing from spirit herein, it is desirable to which the attached claims include these deformations and change without departing from the application
Spirit.