CN114520796B - Head portrait display method and device and electronic equipment - Google Patents
Head portrait display method and device and electronic equipment Download PDFInfo
- Publication number
- CN114520796B CN114520796B CN202210111150.4A CN202210111150A CN114520796B CN 114520796 B CN114520796 B CN 114520796B CN 202210111150 A CN202210111150 A CN 202210111150A CN 114520796 B CN114520796 B CN 114520796B
- Authority
- CN
- China
- Prior art keywords
- target
- head portrait
- avatar
- input
- image
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 61
- 230000001960 triggered effect Effects 0.000 claims abstract description 11
- 230000004044 response Effects 0.000 claims description 23
- 238000010586 diagram Methods 0.000 description 8
- 230000008569 process Effects 0.000 description 7
- 230000006870 function Effects 0.000 description 5
- 230000000694 effects Effects 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 238000001514 detection method Methods 0.000 description 1
- 238000007599 discharging Methods 0.000 description 1
- 238000011038 discontinuous diafiltration by volume reduction Methods 0.000 description 1
- 210000001145 finger joint Anatomy 0.000 description 1
- 239000004973 liquid crystal related substance Substances 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/04—Real-time or near real-time messaging, e.g. instant messaging [IM]
- H04L51/046—Interoperability with other network applications or services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L12/00—Data switching networks
- H04L12/02—Details
- H04L12/16—Arrangements for providing special services to substations
- H04L12/18—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
- H04L12/1813—Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/07—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
- H04L51/18—Commands or executable codes
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Engineering & Computer Science (AREA)
- Multimedia (AREA)
- Information Transfer Between Computers (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The application discloses a head portrait display method, a head portrait display device and electronic equipment, and belongs to the field of image display. The head portrait display method comprises the following steps: receiving a head portrait update message, wherein the head portrait update message is used for indicating the head portrait of a target group member in a target session group to be updated from a first head portrait to a second head portrait; a first indication is displayed on the first header, the first indication indicating that the target group member has triggered updating the header.
Description
Technical Field
The application belongs to the field of image display, and particularly relates to a head portrait display method, a head portrait display device and electronic equipment.
Background
The conversation group in the chat application may include a plurality of users, and in general, the electronic device may display the avatars of the users in the conversation group in an interface corresponding to the conversation group (for example, a chat interface or a setting interface of the conversation group, hereinafter referred to as a conversation group interface for short), so that the users distinguish different users according to the avatars displayed in the conversation group interface.
However, since users in the conversation group may frequently change the head portrait, after some users change the head portrait, if the user wants to confirm the identity of the user who changes the head portrait, the user needs to trigger the electronic device to display an information interface of the user who changes the head portrait, and then confirm the identity of the user who changes the head portrait by looking at information such as nicknames, photo albums, chat records, and the like of the user who changes the head portrait in the information interface. As such, the step of confirming the identity of the user who replaces the head portrait in the electronic device is complicated.
Disclosure of Invention
The embodiment of the application aims to provide a head portrait display method, a head portrait display device and electronic equipment, which can solve the problem that the step of confirming the identity of a user for replacing head portrait in the electronic equipment is complicated.
In a first aspect, an embodiment of the present application provides a method for displaying an avatar, where the method includes: receiving a head portrait update message, wherein the head portrait update message is used for indicating the head portrait of a target group member in a target session group to be updated from a first head portrait to a second head portrait; a first indication is displayed on the first header, the first indication indicating that the target group member has triggered updating the header.
In a second aspect, an embodiment of the present application provides an avatar display device, including a first receiving module and a display module; a first receiving module, configured to receive an avatar update message, where the avatar update message is configured to instruct an avatar of a target group member in the target session group to update from a first avatar to a second avatar; and the display module is used for displaying a first mark on the first head portrait, wherein the first mark is used for indicating that the target group member has triggered to update the head portrait.
In a third aspect, an embodiment of the present application provides an electronic device, including a processor, a memory, and a program or instruction stored on the memory and executable on the processor, the program or instruction implementing the steps of the method according to the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the method according to the first aspect.
In a fifth aspect, an embodiment of the present application provides a chip, where the chip includes a processor and a communication interface, where the communication interface is coupled to the processor, and where the processor is configured to execute a program or instructions to implement a method according to the first aspect.
In the embodiment of the application, a head portrait update message is received, wherein the head portrait update message is used for indicating the head portrait of a target group member in a target session group to be updated from a first head portrait to a second head portrait; a first indication is displayed on the first header, the first indication indicating that the target group member has triggered updating the header. According to the scheme, after the electronic equipment receives the head portrait updating message indicating that the head portrait of the target group member is updated from the first head portrait to the second head portrait, the electronic equipment only displays the first identification on the first head portrait to remind the user of the electronic equipment, namely the electronic equipment does not actively update the head portrait of the group member in the target session group, so that the user of the electronic equipment can still directly determine the identity of the group member through the old head portrait of the group member displayed by the electronic equipment, and the user can avoid the need of determining the identity of the group member in a complicated mode after the head portrait of the group member is replaced.
Drawings
Fig. 1 is a flow chart of an avatar display method according to an embodiment of the present application;
FIG. 2 is a schematic diagram of an interface to which the avatar display method according to the embodiment of the present application is applied;
FIG. 3 is a second schematic diagram of an interface for applying the head portrait display method according to an embodiment of the present application;
FIG. 4 is a third exemplary diagram of an interface for an avatar display method according to an embodiment of the present application;
FIG. 5 is a diagram illustrating an interface for an avatar display method according to an embodiment of the present application;
Fig. 6 is a schematic structural diagram of an avatar display device according to an embodiment of the present application;
FIG. 7 is a schematic hardware diagram of an electronic device according to an embodiment of the present application;
fig. 8 is a schematic structural diagram of an electronic device according to an embodiment of the present application.
Detailed Description
The technical solutions of the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments, which are derived by a person skilled in the art based on the embodiments of the application, fall within the scope of protection of the application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type, and are not limited to the number of objects, such as the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The method for displaying the head portrait according to the embodiment of the present application is described in detail below with reference to the accompanying drawings through specific embodiments and application scenarios thereof.
As shown in fig. 1, an embodiment of the present application provides a method for displaying an avatar, which may include the following steps 201 and 202.
It should be noted that, the avatar display method provided by the embodiment of the present application may be executed by an electronic device, or may be executed by a control module in the electronic device, and may specifically be determined according to actual use requirements, which is not limited by the embodiment of the present application. The embodiment of the application will take an electronic device as an example, and the head portrait display method will be described in an exemplary manner.
Step 201, the electronic device receives the head portrait update message.
The header update message may be used to indicate that the header of the target group member in the target session group is updated from the first header to the second header.
It should be noted that, in the embodiment of the present application, after the target group member triggers to update its avatar, the avatar update message may be sent to the electronic device by the server of the application program where the target session group is located, so that the electronic device may determine that the avatar of the target group member has been updated according to the avatar update message. Alternatively, the message may be sent by the server to the electronic device, which may not be perceived by the user.
Step 202, the electronic device displays a first identifier on a first head portrait.
Wherein, the first identifier may be used to indicate that the target group member has triggered updating the avatar.
In the embodiment of the present application, after the target group member in the target session group triggers updating of its avatar, the server (for example, the server of the application program where the target session group is located) may send the avatar update message to the electronic device, so as to notify the electronic device that the avatar of the target group member is updated from the first avatar to the second avatar. After the electronic device receives the avatar update message, the electronic device may display the first identifier on the first avatar, thereby prompting a user of the electronic device that a target group member in the target session group has triggered updating its avatar.
It should be noted that the target session group may be any session group where a user of the electronic device is located in a target application program in the electronic device. The target application program may be any possible application program such as a chat application program, a game application program or a shopping application program, and may be specifically determined according to actual use requirements, which is not limited by the embodiment of the present application.
Optionally, in the embodiment of the present application, the target group member may be another group member except the user of the electronic device in the target session group; of course, in actual implementation, the target group member may also be a user of the electronic device, and may specifically be determined according to an actual use requirement, which is not limited by the embodiment of the present application.
Optionally, in the embodiment of the present application, the first identifier may be a prompt identifier, for example, a text identifier "update", or may be an image identifier, for example, a thumbnail of the second avatar. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
For example, assuming that the target session group is a "industry main group" and includes 7 group members, namely, a group member "aaaaaa", a group member "bbbbbb", a group member "cccccc", a group member "dddddd", a group member "eeeeee", a group member "ffffff" and a group member "gggg", as shown in fig. 2 (a), when the group member "aaaaaaaa" triggers updating of its head portrait, the electronic device receives the head portrait update message (indicating that the head portrait of the group member "aaaaaaaa" is updated from the first head portrait to the second head portrait), as shown in fig. 2 (b), and the electronic device may display the text identifier "update" 32 on the head portrait 31 (i.e., the first head portrait) of the group member "aaaaaa", thereby indicating to the user of the electronic device that the group member "aaaaaaaa" has triggered updating of its head portrait.
In the embodiment of the application, after the electronic equipment receives the head portrait update message indicating that the head portrait of the target group member is updated from the first head portrait to the second head portrait, the electronic equipment only displays the first mark on the first head portrait to remind the user of the electronic equipment, namely the electronic equipment does not actively update the head portrait of the group member in the target session group, so that the user of the electronic equipment can still directly determine the identity of the group member through the old head portrait of the group member displayed by the electronic equipment, thereby avoiding the need of determining the identity of the group member in a complicated mode after the head portrait of the group member is replaced.
Optionally, in the embodiment of the present application, after the electronic device displays the first identifier on the first avatar, if the user triggers the electronic device to screen the interface (for example, the target interface in the embodiment of the present application) including the first avatar in the target session group, the electronic device may update the first avatar in the interface to the second avatar, so that the intercepted screen capture image (for example, the target screen capture image in the embodiment of the present application) includes the latest avatar of the target group member, that is, the intercepted screen capture image has instantaneity.
Based on this, after the above step 202, the avatar display method provided in the embodiment of the present application may further include the following steps 203 and 204.
Step 203, the electronic device receives a first input of a user.
And 204, the electronic equipment responds to the first input, and intercepts an image of the target interface to obtain a target screen capturing image.
Wherein, the target interface may include a first avatar and a first identifier; the head portrait of the target group member in the target screenshot image may be a second head portrait.
It can be understood that the target interface may be an interface corresponding to the target session group, for example, a chat interface of the target session group, an information display interface of the target session group, a setting interface of the target session group, or a group member display interface of the target session group. Of course, the target interface may also be a private chat interface between a user of the electronic device and a member of the target group, which may be specifically determined according to actual use requirements, and the embodiment of the present application is not limited.
In the embodiment of the application, after the electronic device displays the first identifier on the first head portrait, if the electronic device receives the first input, the electronic device responds to the first input and can replace the first head portrait and the first identifier in the target interface with the second head portrait, and then screen capturing is performed on the target interface, so that the target screen capturing image can be obtained. Therefore, when the user triggers the electronic device to send the target screen capturing image to other users or session groups, the head portraits of the group members in the target screen capturing image can be ensured to be the latest head portraits, so that the target screen capturing image has instantaneity.
It can be appreciated that the first input is an input that the user triggers the electronic device to screen capture the target interface. In an exemplary embodiment, when the electronic device displays the target interface, the first input may be an input that the finger joint of the user taps twice on the display screen of the electronic device, an input that the user inputs a screen capture control in the electronic device, or an input that the user presses a power button and a volume reduction button of the electronic device at the same time. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
In the embodiment of the application, after the electronic device receives the first input, the electronic device may first determine whether the target interface includes a combination of the first head portrait and the first identifier, and if the target interface includes the combination of the first head portrait and the first identifier, the electronic device may update the first head portrait and the first identifier to the second head portrait, and then screen capture the target interface.
It should be noted that, after the electronic device intercepts the image of the target interface to obtain the target screen capturing image, the content displayed in the target interface is not changed. That is, the avatar of the target group member displayed in the target interface is still the combination of the first avatar+the first identifier.
Optionally, after obtaining the target screenshot image, the terminal may update the second head portrait in the target interface to the first head portrait+the first identifier, so that the head portrait of the target group member is restored to the head portrait before the screenshot.
Illustratively, as shown in fig. 3 (a), assuming that the head portrait of the group member "aaaaaa" displayed in the target interface is the head portrait 31 (i.e., the first head portrait), and the text label "update" 32 (i.e., the first label) is displayed on the head portrait 31, when the user triggers the electronic device to perform screenshot on the target interface, the electronic device may update the head portrait 31 and the text label "update" 32 to be the head portrait 33 (i.e., the second head portrait), and perform screenshot on the target interface, so that the target screenshot image 34 as shown in fig. 3 (b) may be obtained, and the head portrait of the group member "aaaaaa" in the target screenshot image 34 is the head portrait 33. In the embodiment of the application, when the electronic equipment performs screenshot on the target interface, the electronic equipment can replace the first head portrait and the first mark with the second head portrait, so that the head portrait of the group member in the target screenshot image can be obtained by the electronic equipment as the latest head portrait, and the instantaneity of the target screenshot image can be ensured.
Optionally, in the embodiment of the present application, after the electronic device intercepts the image of the target interface to obtain the target screenshot image, if the user triggers the electronic device to display the target screenshot image, the electronic device may correspondingly display the thumbnail of the first head portrait on the target screenshot image, so that the user may determine the identity of the target group member according to the correspondence between the first head portrait and the second head portrait, that is, the electronic device may clearly indicate the identity of the target group member to the user.
Based on this, after the above step 204, the avatar display method provided in the embodiment of the present application may further include the following steps 205 and 206.
Step 205, the electronic device receives a second input from the user.
Step 206, the electronic device responds to the second input, displays the target screen capturing image, and displays the thumbnail of the first head image in the target area corresponding to the second head image in the target screen capturing image.
In the embodiment of the application, after the electronic device intercepts the image of the target interface to obtain the target screen capturing image, the electronic device can display the thumbnail of the first head image in the target area corresponding to the second head image in the target screen capturing image under the condition that the electronic device receives the input (namely the second input) of triggering the target screen capturing image of the electronic device by the user, so that the user of the electronic device can determine that the group member corresponding to the second head image is the target group member according to the first head image.
Optionally, in an embodiment of the present application, the target area may be a left area of the second head portrait in the target screenshot head portrait, a right area of the second head portrait in the target screenshot head portrait, a lower right corner area of the second head portrait in the target screenshot head portrait, an upper left corner area of the second head portrait in the target screenshot head portrait, or a lower left corner area of the second head portrait in the target screenshot head portrait. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
Illustratively, after the electronic device receives a second input that the user triggers the electronic device to display the target screenshot image, the electronic device may display a thumbnail of the first avatar 31 in a right region of the avatar 33 (i.e., the second avatar) corresponding to the group member "aaaaaa" in the target screenshot avatar in response to the second input, as shown in fig. 4.
In the embodiment of the application, when the electronic equipment displays the target screen capturing image, the thumbnail of the first head portrait can be displayed in the target area corresponding to the second head portrait in the target screen capturing image, so that the group member corresponding to the second head portrait can be indicated to the user as the target group member through the first head portrait, thereby avoiding the situation that the user cannot confirm the identity of the group member due to inconsistent head portrait in the screen capturing and the head portrait displayed in the target interface.
Optionally, in the embodiment of the present application, after the electronic device intercepts the image of the target interface to obtain the target screenshot image, if the user wants to trigger the electronic device to update the head portrait of the target group member in the target screenshot image, for example, update the second head portrait in the target screenshot image to the first head portrait, the user may trigger the electronic device to update the second head portrait in the target screenshot image to the first head portrait through the input of the first head portrait and the target screenshot image, so that the manner of displaying the target screenshot image by the electronic device is more flexible.
Based on this, after the above step 204, the method for displaying an avatar according to the embodiment of the present application may further include the following steps 207 to 210.
Step 207, the electronic device receives a third input from the user.
Step 208, the electronic device displays the target screenshot image and the first avatar in response to the third input.
Step 209, the electronic device receives a fourth input from the user of the first avatar and the target screenshot image.
Step 210, the electronic device updates the second head portrait in the target screenshot image to the first head portrait in response to the fourth input.
Optionally, in an embodiment of the present application, before the electronic device receives the third input, the electronic device may extract the first avatar from the target interface and cache the first avatar in the target storage space. After the electronic device receives this third input, the electronic device may display the target screenshot image and the first avatar (e.g., the first avatar is displayed in the lower right corner of the target screenshot image), thereby prompting the user that the second avatar in the target screenshot image may be replaced in order for the user to confirm the identity of the group member.
In the embodiment of the present application, after the electronic device receives the third input, the electronic device may determine the first head portrait according to the second head portrait in the target screenshot image, so that the target screenshot image and the first head portrait may be displayed.
In the embodiment of the application, after the electronic device displays the target screen capturing image, if the user of the electronic device considers that the user cannot confirm the identity of the group member corresponding to the second head portrait, the user of the electronic device can trigger the electronic device to update the second head portrait in the target screen capturing image to the first head portrait through the fourth input of the first head portrait and the target screen capturing image, so that the user can confirm the identity of the group member according to the first head portrait.
Alternatively, in the embodiment of the present application, the fourth input may be an input that the user drags the first avatar to the second avatar, or the fourth input may be an input that the user clicks the first avatar and the second avatar within the target period. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
Illustratively, as shown in fig. 5 (a), when the user drags the avatar 31 (i.e., the first avatar) onto the second avatar, the electronic device may update the avatar 33 (i.e., the second avatar) corresponding to the group member "aaaaaa" in the target screenshot image to the avatar 31 as shown in fig. 5 (b) in response to the input.
Optionally, the electronic device may acquire a position of the second head portrait in the target screenshot image according to an association relationship between the first head portrait and the second head portrait, so as to replace the second head portrait in the target screenshot image with the first head portrait.
Optionally, in the embodiment of the present application, after the electronic device receives the first input, the electronic device may further associate a display position of the first avatar with a second avatar in the target screenshot image in response to the first input, so that after the electronic device receives the fourth input, the electronic device may replace the second avatar displayed at the display position in the target screenshot image with the first avatar, and thus the electronic device may update the second avatar in the target screenshot image to the first avatar.
Optionally, in the embodiment of the present application, after the electronic device displays the first identifier on the first avatar, if the user wants to trigger the electronic device to update the first avatar to the second avatar, the user may input the first avatar or the first identifier, so as to trigger the electronic device to display a prompt message (e.g. the target prompt message in the embodiment of the present application) to determine whether the user wants to update the first avatar. After the electronic device determines that the user wants to update the first avatar, the electronic device may update the first avatar to a second avatar. In this way, the electronic device may display the second avatar in the interface corresponding to the target session group (e.g., the target interface in the embodiment of the present application).
Based on this, after the step 202, the method for displaying an avatar according to the embodiment of the present application may further include the following steps 211 to 214.
Step 211, the electronic device receives a fifth input of the user to the first avatar or the first identifier.
Step 212, the electronic device displays a target hint message in response to the fifth input.
The target prompt message may be used to confirm whether to update the head portraits of the target group members.
Step 213, the electronic device receives a sixth input of the target prompt message from the user.
Step 214, the electronic device updates the first avatar to a second avatar display in response to the sixth input.
In the embodiment of the present application, after the electronic device displays the first identifier on the first avatar, if the electronic device receives a fifth input from the user on the first avatar or the first identifier, the electronic device may display the target prompt message in response to the fifth input, so as to confirm whether the user wants to update the avatar of the target group member. If the electronic device determines that the user wants to update the avatar of the target group member, the electronic device may update the first avatar to a second avatar, i.e., update the avatar of the target group member to its latest avatar display.
Alternatively, in the embodiment of the present application, the fifth input may be a single click input, a double click input, a long press input, a heavy press input, or the like, on the first avatar or the first identifier. The method can be specifically determined according to actual use requirements, and the embodiment of the application is not limited.
In the embodiment of the present application, the content of the target prompt message may be "whether to update the avatar", and the target prompt message includes an option "yes" and an option "no", if the user selects the option "yes", the electronic device may update the first avatar to the second avatar, that is, the sixth input is an input to the option "yes"; if the user selects option "no," the electronic device may remain displayed with the first avatar and the first identification.
It will be appreciated that if the user chooses not to update the avatar of the target group member, the electronic device still displays the avatar of the target group member in the first avatar + first identifier manner.
It should be noted that, in the avatar display method provided in the embodiment of the present application, the execution body may be an avatar display device, or a control module in the avatar display device for executing the avatar display method. In the embodiment of the application, an example of a method for displaying an avatar by using an avatar display device is described.
As shown in fig. 6, an embodiment of the present application provides an avatar display device 400, and the avatar display device 400 includes a first receiving module 401 and a display module 402. A first receiving module 401, configured to receive an avatar update message, where the avatar update message is used to instruct an avatar of a target group member in the target session group to update from a first avatar to a second avatar; a display module 402, configured to display a first identifier on the first header, where the first identifier is used to indicate that the target group member has triggered updating the header.
Optionally, the head portrait display device further comprises a second receiving module and an intercepting module; the second receiving module is used for receiving a first input of a user after the first mark is displayed on the first head portrait of the target interface; the intercepting module is used for intercepting an image of a target interface in response to first input to obtain a target screen capturing image, and the target interface comprises a first head portrait and a first identifier; and the head portrait of the target group member in the target screen capturing image is a second head portrait.
Optionally, the second receiving module is further configured to receive a second input of the user after capturing the image of the target interface to obtain the target screenshot image; and the display module is also used for responding to the second input, displaying a target screen capturing image and displaying a thumbnail of the first head image in a target area corresponding to the second head image in the target screen capturing image.
Optionally, the head portrait display device further comprises an update module; the second receiving module is also used for receiving a third input of a user after intercepting the image of the target interface to obtain a target screen capturing image; the display module is also used for responding to the third input and displaying a target screen capturing image and a first head portrait; the second receiving module is also used for receiving fourth input of the user on the first head portrait and the target screen capturing image; and the updating module is used for responding to the fourth input and updating the second head portrait in the target screen capturing image to the first head portrait.
Optionally, the head portrait display device further comprises an association module; and an association module for associating a display position of the first avatar with a second avatar in the target screenshot image in response to the first input.
Optionally, the head portrait display device further comprises a second receiving module and an updating module; the second receiving module is used for receiving a fifth input of a user to the first head portrait or the first mark after the first mark is displayed on the first head portrait of the target interface; the display module is used for responding to the fifth input and displaying a target prompt message, wherein the target prompt message is used for confirming whether to update the head portraits of the target group members; the second receiving module is also used for receiving a sixth input of the target prompt message from the user; and the updating module is used for responding to the sixth input and updating the first head portrait to the second head portrait for display.
According to the head portrait display device provided by the embodiment of the application, after the electronic equipment receives the head portrait update message indicating that the head portrait of the target group member is updated from the first head portrait to the second head portrait, the head portrait display device only displays the first identification on the first head portrait to remind the user, and the target group member triggers to update the head portrait of the target group member, namely does not actively update the head portrait of the group member in the target session group, so that the user can still directly determine the identity of the group member through the old head portrait of the group member displayed by the head portrait display device, and the user can avoid the need of determining the identity of the group member in a complicated mode after the head portrait of the group member is replaced.
The head portrait display device in the embodiment of the application can be a device, and can also be a component, an integrated circuit or a chip in a terminal. The device may be a mobile electronic device or a non-mobile electronic device. By way of example, the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a palm computer, a vehicle-mounted electronic device, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a Personal Digital Assistant (PDA), etc., and the non-mobile electronic device may be a personal computer (personal computer, PC), a Television (TV), a teller machine, a self-service machine, etc., and the embodiments of the present application are not limited in particular.
The head portrait display device in the embodiment of the application may be a device with an operating system. The operating system may be an Android operating system, an ios operating system, or other possible operating systems, and the embodiment of the present application is not limited specifically.
The avatar display device provided by the embodiment of the application can realize each process realized by the embodiment of the method, and in order to avoid repetition, the description is omitted.
Optionally, as shown in fig. 7, the embodiment of the present application further provides an electronic device 500, including a processor 501, a memory 502, and a program or an instruction stored in the memory 502 and capable of running on the processor 501, where the program or the instruction implements each process of the above-mentioned avatar display method embodiment when executed by the processor 501, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
The electronic device in the embodiment of the application includes the mobile electronic device and the non-mobile electronic device.
Fig. 8 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 100 includes, but is not limited to: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.
Those skilled in the art will appreciate that the electronic device 100 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 110 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 8 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
The radio frequency unit 101 is configured to receive a header update message, where the header update message is configured to instruct a header of a target group member in the target session group to update from a first header to a second header; a display unit 106, configured to display a first identifier on the first header, where the first identifier is used to indicate that the target group member has triggered updating the header.
Optionally, the user input unit 107 is configured to receive a first input of a user after displaying the first identifier on the first avatar of the target interface; a processor 110, configured to intercept an image of a target interface in response to a first input, to obtain a target screenshot image, where the target interface includes a first avatar and a first identifier; and the head portrait of the target group member in the target screen capturing image is a second head portrait.
Optionally, the user input unit 107 is further configured to receive a second input of the user after capturing an image of the target interface to obtain a target screenshot image; the display unit 106 is further configured to display a target screenshot image in response to the second input, and display a thumbnail of the first head image in a target area corresponding to the second head image in the target screenshot image.
Optionally, the user input unit 107 is further configured to receive a third input of the user after capturing an image of the target interface to obtain a target screenshot image; a display unit 106 further configured to display a target screenshot image and a first avatar in response to a third input; a user input unit 107 for receiving a fourth input of the first avatar and the target screenshot image by the user; the processor 110 is configured to update the second head portrait in the target screenshot image to the first head portrait in response to the fourth input.
Optionally, the processor 110 is further configured to associate a display position of the first avatar with a second avatar in the target screenshot image in response to the first input.
Optionally, the user input unit 107 is configured to receive a fifth input of the first avatar or the first identifier by the user after the first identifier is displayed on the first avatar of the target interface; a display unit 106 for displaying a target prompt message for confirming whether to update the avatar of the target group member in response to the fifth input; a user input unit 107, configured to receive a sixth input of a target prompt message from a user; the processor 110 is configured to update the first avatar to the second avatar display in response to the sixth input.
According to the electronic device provided by the embodiment of the application, after the electronic device receives the head portrait update message indicating that the head portrait of the target group member is updated from the first head portrait to the second head portrait, the electronic device only displays the first identification on the first head portrait to remind the user of the electronic device, namely the electronic device does not actively update the head portrait of the group member in the target session group, so that the user of the electronic device can still directly determine the identity of the group member through the old head portrait of the group member displayed by the electronic device, and the user can avoid the need of determining the identity of the group member in a complicated mode after the head portrait of the group member is replaced.
It should be appreciated that in embodiments of the present application, the input unit 104 may include a graphics processor (Graphics Processing Unit, GPU) 1041 and a microphone 1042, the graphics processor 1041 processing image data of still pictures or video obtained by an image capturing device (e.g. a camera) in a video capturing mode or an image capturing mode. The display unit 106 may include a display panel 1061, and the display panel 1061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 107 includes a touch panel 1071 and other input devices 1072. The touch panel 1071 is also referred to as a touch screen. The touch panel 1071 may include two parts of a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein. Memory 109 may be used to store software programs as well as various data including, but not limited to, application programs and an operating system. The processor 110 may integrate an application processor that primarily handles operating systems, user interfaces, applications, etc., with a modem processor that primarily handles wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 110.
The embodiment of the application also provides a readable storage medium, and the readable storage medium stores a program or an instruction, which when executed by a processor, implements each process of the above embodiment of the avatar display method, and can achieve the same technical effects, so that repetition is avoided, and no further description is given here.
The processor is a processor in the electronic device in the above embodiment. Readable storage media include computer readable storage media such as Read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic or optical disks, and the like.
The embodiment of the application further provides a chip, the chip comprises a processor and a communication interface, the communication interface is coupled with the processor, the processor is used for running programs or instructions, the processes of the embodiment of the head portrait display method can be realized, the same technical effects can be achieved, and the repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., the described methods may be performed in an order different from that described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in part in the form of a computer software product stored on a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method of the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those having ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are to be protected by the present application.
Claims (8)
1. A head portrait display method, the method comprising:
Receiving a head portrait update message, wherein the head portrait update message is used for indicating that the head portrait of a target group member in a target session group is updated from a first head portrait to a second head portrait;
Displaying a first identifier on the first head portrait, wherein the first identifier is used for indicating that the target group member has triggered updating the head portrait;
after the first logo is displayed on the first header, the method further includes:
receiving a first input of a user;
Responding to the first input, and intercepting an image of a target interface to obtain a target screen capturing image under the condition that the target interface comprises the first head portrait and the first mark;
Wherein the head portrait of the target group member in the target screen capturing image is the second head portrait.
2. The method of claim 1, wherein the capturing the image of the target interface, after obtaining the target screenshot image, further comprises:
Receiving a second input from the user;
And responding to the second input, displaying the target screen capturing image, and displaying the thumbnail of the first head portrait in a target area corresponding to the second head portrait in the target screen capturing image.
3. The method of claim 1, wherein the capturing the image of the target interface, after obtaining the target screenshot image, further comprises:
Receiving a third input from the user;
displaying the target screenshot image and the first avatar in response to the third input;
receiving a fourth input of a user to the first avatar and the target screenshot image;
And in response to the fourth input, updating a second head portrait in the target screen capture image to the first head portrait.
4. A method according to claim 3, characterized in that the method further comprises:
In response to the first input, a display position of a second avatar in the target screenshot image and the first avatar are associated.
5. The method of claim 1, wherein after displaying the first logo on the first header of the target interface, the method further comprises:
Receiving a fifth input of a user to the first avatar or the first identifier;
in response to the fifth input, displaying a target prompt message for confirming whether to update the avatar of the target group member;
Receiving a sixth input of the target prompt message from a user;
and in response to the sixth input, updating the first avatar to the second avatar display.
6. The head portrait display device is characterized by comprising a first receiving module, a display module, a second receiving module and an intercepting module;
The first receiving module is used for receiving an avatar update message, and the avatar update message is used for indicating that the avatar of the target group member in the target session group is updated from a first avatar to a second avatar;
The display module is used for displaying a first mark on the first head portrait, and the first mark is used for indicating that the target group member has triggered updating the head portrait;
the second receiving module is used for receiving a first input of a user after the first identification is displayed on the first head portrait;
The intercepting module is used for intercepting an image of the target interface to obtain a target screen capturing image under the condition that the target interface comprises the first head portrait and the first mark in response to the first input;
Wherein the head portrait of the target group member in the target screen capturing image is the second head portrait.
7. An electronic device comprising a processor, a memory and a program or instruction stored on the memory and executable on the processor, the program or instruction when executed by the processor implementing the steps of the avatar display method of any one of claims 1-5.
8. A readable storage medium having stored thereon a program or instructions which when executed by a processor perform the steps of the avatar display method as claimed in any one of claims 1-5.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210111150.4A CN114520796B (en) | 2022-01-27 | 2022-01-27 | Head portrait display method and device and electronic equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210111150.4A CN114520796B (en) | 2022-01-27 | 2022-01-27 | Head portrait display method and device and electronic equipment |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114520796A CN114520796A (en) | 2022-05-20 |
CN114520796B true CN114520796B (en) | 2024-05-24 |
Family
ID=81597518
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210111150.4A Active CN114520796B (en) | 2022-01-27 | 2022-01-27 | Head portrait display method and device and electronic equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114520796B (en) |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011032429A1 (en) * | 2009-09-18 | 2011-03-24 | 中兴通讯股份有限公司 | Method and device for realizing personalized interface identifiers in mobile terminal |
CN103810294A (en) * | 2014-02-28 | 2014-05-21 | 华为技术有限公司 | Management method and intelligent terminal for multi-media data files |
CN106055998A (en) * | 2016-06-08 | 2016-10-26 | 青岛海信移动通信技术股份有限公司 | Method and device for carrying out screen capturing at mobile terminal |
CN107203306A (en) * | 2017-05-03 | 2017-09-26 | 北京小米移动软件有限公司 | Head portrait processing method and processing device |
CN107707453A (en) * | 2017-09-18 | 2018-02-16 | 北京小米移动软件有限公司 | Based reminding method and device |
CN108494664A (en) * | 2018-03-26 | 2018-09-04 | 网易(杭州)网络有限公司 | Information processing method and device, medium and computing device |
-
2022
- 2022-01-27 CN CN202210111150.4A patent/CN114520796B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2011032429A1 (en) * | 2009-09-18 | 2011-03-24 | 中兴通讯股份有限公司 | Method and device for realizing personalized interface identifiers in mobile terminal |
CN103810294A (en) * | 2014-02-28 | 2014-05-21 | 华为技术有限公司 | Management method and intelligent terminal for multi-media data files |
CN106055998A (en) * | 2016-06-08 | 2016-10-26 | 青岛海信移动通信技术股份有限公司 | Method and device for carrying out screen capturing at mobile terminal |
CN107203306A (en) * | 2017-05-03 | 2017-09-26 | 北京小米移动软件有限公司 | Head portrait processing method and processing device |
CN107707453A (en) * | 2017-09-18 | 2018-02-16 | 北京小米移动软件有限公司 | Based reminding method and device |
CN108494664A (en) * | 2018-03-26 | 2018-09-04 | 网易(杭州)网络有限公司 | Information processing method and device, medium and computing device |
Also Published As
Publication number | Publication date |
---|---|
CN114520796A (en) | 2022-05-20 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN113220178B (en) | Application program control method and device | |
CN113794795B (en) | Information sharing method and device, electronic equipment and readable storage medium | |
CN112433693B (en) | Split screen display method and device and electronic equipment | |
CN113179205A (en) | Image sharing method and device and electronic equipment | |
CN107729098B (en) | User interface display method and device | |
CN112533072A (en) | Image sending method and device and electronic equipment | |
CN112699363A (en) | Graphic code identification method and device and electronic equipment | |
CN113709306B (en) | Session processing method and device and electronic equipment | |
CN112286615A (en) | Information display method and device of application program | |
CN116366635A (en) | File sending method and device, electronic equipment and medium | |
CN114928761B (en) | Video sharing method and device and electronic equipment | |
CN114520796B (en) | Head portrait display method and device and electronic equipment | |
CN113824841B (en) | Notification message processing method and device, electronic equipment and readable storage medium | |
CN116016756A (en) | Information processing method, apparatus, electronic device, and readable storage medium | |
CN113852540B (en) | Information transmission method, information transmission device and electronic equipment | |
CN113805756A (en) | Interface display method and device, electronic equipment and storage medium | |
CN113868269A (en) | Screenshot method and device, electronic equipment and readable storage medium | |
CN113342241A (en) | Target character selection method and device, electronic equipment and storage medium | |
CN112181565A (en) | Screen display method and device | |
CN112764625A (en) | Notification message display method and device | |
CN112269511A (en) | Page display method and device and electronic equipment | |
CN113141296A (en) | Message display method and device and electronic equipment | |
CN112162810A (en) | Message display method and device and electronic equipment | |
CN114706638B (en) | Interface display method and device, electronic equipment and medium | |
CN113778237B (en) | Text display method, text display device, electronic equipment and medium |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |