Group avatar updating method, device, equipment and storage medium

By adjusting the display style of the group avatar to respond to group member changes, the problem that users cannot intuitively perceive group member changes is solved, and the user experience of instant messaging software is improved.

CN115080168BActive Publication Date: 2025-05-06DOUYIN VISION CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210762948.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-06-30
Publication Date
2025-05-06
Estimated Expiration
2042-06-30

AI Technical Summary

Technical Problem

In groups of instant messaging software, users cannot intuitively perceive changes in group members, which affects the user experience.

Method used

By detecting the trigger event of group member changes, adjust the display style of the modified part of the group avatar, and display the adjusted group avatar so that users can perceive member changes without entering the group chat interface.

Benefits of technology

It enables users to intuitively perceive changes in group members without entering the group chat interface, improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115080168B_ABST
    Figure CN115080168B_ABST
Patent Text Reader

Abstract

The present disclosure provides a method, device, electronic device and storage medium for updating a group avatar, the method comprising: in the case of detecting a triggering event for a change in group members of a target group, adjusting the display style of the current group avatar of the target group to obtain an adjusted group avatar; wherein the current group avatar comprises an avatar main body and a modified part; the adjusting the display style of the current group avatar of the target group comprises adjusting the display style of the modified part; and displaying the adjusted group avatar. In an embodiment of the present disclosure, in the case of detecting a triggering event for a change in group members of a target group, by adjusting the display style of the modified part of the group avatar, changes in group members can be intuitively observed according to the adjusted display style, which is conducive to improving the user experience.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the field of computer technology, and in particular to a method, device, electronic device, and computer-readable storage medium for updating a group avatar. Background Art

[0002] Instant messaging software is a software that uses instant messaging technology to achieve online chatting and communication. In instant messaging software, users can create groups with other users, so that multiple people can communicate instantly. However, when a member joins or leaves the group, the members in the group usually cannot intuitively perceive the change in group members, which in turn affects the user experience. Summary of the invention

[0003] The embodiments of the present disclosure at least provide a method for updating a group avatar, an apparatus for updating a group avatar, an electronic device, and a computer-readable storage medium, which can intuitively perceive changes in group members and help improve the user experience.

[0004] The present disclosure provides a method for updating a group avatar, including:

[0005] When a triggering event for a change in a group member of a target group is detected, the display style of the current group avatar of the target group is adjusted to obtain an adjusted group avatar; wherein the current group avatar includes an avatar main body and a modified part; the adjusting the display style of the current group avatar of the target group includes adjusting the display style of the modified part;

[0006] The adjusted group portrait is displayed.

[0007] In the disclosed embodiment, when a trigger event of a change in group members of a target group is detected, the display style of the modified portion of the group avatar is adjusted, and the adjusted group avatar is displayed. That is, if the group members are changed, the display style of the group avatar will change. In this way, the user can intuitively perceive the changes in group members without entering the group chat interface, which is conducive to improving the user experience.

[0008] In an optional implementation manner, the adjusting the display style of the modified portion includes:

[0009] Determining the type of triggering event for the group member change;

[0010] Based on the type of the triggering event of the group member change, the display style of the modified part is adjusted.

[0011] In the disclosed embodiment, the display style of the modified part is adjusted according to the type of triggering event of the group member change. That is, different types of triggering events of the group member change correspond to different display styles of the modified part. In this way, the user can judge the type of triggering event by the change of the display style, which provides the user with a different user experience.

[0012] In an optional implementation manner, the triggering event of the group member change includes a group member increase event or a group member decrease event; and adjusting the display style of the modified part based on the type of the triggering event of the group member change includes:

[0013] When the triggering event of the group member change is the group member addition event, adjusting the display style of the modified part to the first display style;

[0014] When the triggering event of the group member change is the group member reduction event, the display style of the modified part is adjusted to a second display style, wherein the second display style is different from the first display style.

[0015] In the embodiment of the present disclosure, if the triggering event of the group member change is the group member addition event, the display style of the modified part is adjusted to the first display style; if the triggering event of the group member change is the group member reduction event, the display style of the modified part is adjusted to the second display style. In this way, the user can intuitively perceive what type of group member change has occurred in the group.

[0016] In an optional implementation manner, the method further includes:

[0017] When the display time of the display style of the modified part after adjustment reaches the preset display time, the display style of the modified part after adjustment is restored to the display style of the modified part before adjustment.

[0018] In the disclosed embodiment, if the display time of the display style of the modified part after adjustment reaches the preset display time, it is restored to the display style of the modified part before adjustment. In this way, the user can intuitively judge whether there is any change in group members in real time based on the display style of the current group avatar.

[0019] In an optional implementation manner, adjusting the display style of the current group avatar of the target group further includes: adjusting the content of a main part of the avatar.

[0020] In the disclosed embodiment, by adjusting the content of the main part of the avatar, it is helpful to enhance the richness of the display style of the group avatar.

[0021] In an optional implementation manner, the main part of the avatar includes an avatar of at least one group member, and adjusting the content of the main part of the avatar includes:

[0022] Determining at least one group member portrait to be replaced from the portrait of at least one group member in the current group portrait;

[0023] The at least one to-be-replaced group member avatar is replaced based on avatars corresponding to other group members in the target group except the at least one group member.

[0024] In the disclosed embodiment, since the main part of the avatar includes the avatar of at least one group member, the at least one group member avatar to be replaced is replaced based on the avatars corresponding to other group members in the target group except the at least one group member. In this way, the rotation of the main part of the group avatar can be achieved, thereby enhancing the sense of participation of users in the group and further enhancing the user experience.

[0025] In an optional implementation manner, after obtaining the adjusted group portrait, the method further includes:

[0026] Obtaining the number of group members in the target group;

[0027] The scale level to which the number of group members belongs is determined, and the background color of the avatar main body of the adjusted group avatar is adjusted to a color corresponding to the scale level.

[0028] In the disclosed embodiment, the scale level to which the number of group members belongs is determined, and the background color of the main part of the adjusted group avatar is adjusted to a color corresponding to the scale level. In this way, the user can intuitively perceive the scale of the group based on the background color of the main part of the group avatar.

[0029] In an optional implementation manner, the method further includes:

[0030] Obtaining group profile information of the target group and determining the type of the target group;

[0031] Based on the type of the target group, prompt information is generated, where the prompt information is used to prompt the user whether to change the group avatar, wherein the prompt information includes an image that matches the type of the target group.

[0032] In the disclosed embodiment, prompt information can be generated according to the type of the target group to prompt the user whether the group avatar needs to be changed. In this way, the user can choose whether to change the group avatar to an avatar that matches the group type, which provides convenience for the user.

[0033] The present disclosure also provides a device for updating a group portrait, the device comprising:

[0034] An adjustment module, configured to adjust the display style of the current group avatar of the target group when a triggering event of a group member change of the target group is detected, so as to obtain an adjusted group avatar; wherein the current group avatar includes an avatar main body and a modified part; and the adjusting the display style of the current group avatar of the target group includes adjusting the display style of the modified part;

[0035] A display module is used to display the adjusted group avatar.

[0036] In an optional implementation manner, the adjustment module is specifically used to:

[0037] Determining the type of triggering event for the group member change;

[0038] Based on the type of the triggering event of the group member change, the display style of the modified part is adjusted.

[0039] In an optional implementation manner, the triggering event of the group member change includes a group member increase event or a group member decrease event; and the adjustment module is specifically configured to:

[0040] When the triggering event of the group member change is the group member addition event, adjusting the display style of the modified part to the first display style;

[0041] When the triggering event of the group member change is the group member reduction event, the display style of the modified part is adjusted to a second display style, wherein the second display style is different from the first display style.

[0042] In an optional implementation manner, the adjustment module is further used to:

[0043] When the display time of the display style of the modified part after adjustment reaches the preset display time, the display style of the modified part after adjustment is restored to the display style of the modified part before adjustment.

[0044] In an optional implementation, the adjustment module is further used to adjust the content of the main body of the avatar.

[0045] In an optional implementation manner, the main part of the avatar includes an avatar of at least one group member, and the adjustment module is specifically used to:

[0046] Determining at least one group member portrait to be replaced from the portrait of at least one group member in the current group portrait;

[0047] The at least one to-be-replaced group member avatar is replaced based on avatars corresponding to other group members in the target group except the at least one group member.

[0048] In an optional implementation manner, the adjustment module is further used to:

[0049] Obtaining the number of group members in the target group;

[0050] The scale level to which the number of group members belongs is determined, and the background color of the adjusted group avatar is adjusted to a color corresponding to the scale level.

[0051] In an optional implementation manner, the device further includes a generating module, wherein the generating module is configured to:

[0052] Obtaining group profile information of the target group and determining the type of the target group;

[0053] Based on the type of the target group, prompt information is generated, where the prompt information is used to prompt the user whether to change the group avatar, wherein the prompt information includes an image that matches the type of the target group.

[0054] The present disclosure also provides an electronic device, including: a processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the method for updating the group avatar described in any of the above embodiments is executed.

[0055] The embodiment of the present disclosure further provides a computer-readable storage medium, on which a computer program is stored. When the computer program is executed by a processor, the method for updating the group avatar described in any of the above embodiments is executed.

[0056] For a description of the effects of the above-mentioned group avatar updating device, electronic device, and computer-readable storage medium, please refer to the description of the above-mentioned group avatar updating method, which will not be repeated here.

[0057] In order to make the above-mentioned objectives, features and advantages of the present disclosure more obvious and easy to understand, preferred embodiments are specifically cited below and described in detail with reference to the attached drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0058] In order to more clearly illustrate the technical solutions of the embodiments of the present disclosure, the following is a brief introduction to the drawings required for use in the embodiments. The drawings herein are incorporated into the specification and constitute a part of the specification. These drawings illustrate embodiments consistent with the present disclosure and are used together with the specification to illustrate the technical solutions of the present disclosure. It should be understood that the following drawings only illustrate certain embodiments of the present disclosure and should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can also be obtained based on these drawings without creative work.

[0059] Figure 1 A flowchart of a method for updating a group avatar provided by an embodiment of the present disclosure;

[0060] Figure 2 A schematic diagram of a group avatar provided by an embodiment of the present disclosure;

[0061] Figure 3 A schematic diagram of an adjusted group avatar provided by an embodiment of the present disclosure;

[0062] Figure 4 A schematic diagram of another adjusted group avatar provided by an embodiment of the present disclosure;

[0063] Figure 5 A flowchart of a method for adjusting the content of the main part of an avatar provided by an embodiment of the present disclosure;

[0064] Figure 6 A flowchart of a method for generating prompt information provided by an embodiment of the present disclosure;

[0065] Figure 7 A schematic diagram of the structure of a device for updating a group avatar provided by an embodiment of the present disclosure;

[0066] Figure 8 A schematic diagram of the structure of another device for updating a group avatar provided by an embodiment of the present disclosure;

[0067] Fig. 9 A schematic diagram of an electronic device provided by an embodiment of the present disclosure. DETAILED DESCRIPTION

[0068] In order to make the purpose, technical scheme and advantages of the embodiments of the present disclosure clearer, the technical scheme in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are only part of the embodiments of the present disclosure, rather than all of the embodiments. The components of the embodiments of the present disclosure generally described and shown in the drawings here can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present disclosure provided in the drawings is not intended to limit the scope of the present disclosure for protection, but merely represents the selected embodiments of the present disclosure. Based on the embodiments of the present disclosure, all other embodiments obtained by those skilled in the art without making creative work belong to the scope of protection of the present disclosure.

[0069] It should be noted that similar reference numerals and letters denote similar items in the following drawings, and therefore, once an item is defined in one drawing, further definition and explanation thereof is not required in subsequent drawings.

[0070] The term "and / or" herein only describes an association relationship, indicating that three relationships may exist. For example, A and / or B may represent the following three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "at least one" herein represents any combination of at least two of any one or more of a plurality of. For example, including at least one of A, B, and C may represent including any one or more elements selected from the set consisting of A, B, and C.

[0071] In the related art, when a new member joins a group or a group member leaves the group, the group avatar usually does not change. As a result, the user cannot intuitively perceive the changes in the group members of the current group in a timely manner, affecting the user's usage experience.

[0072] Based on the above research, the disclosed embodiment provides a method for updating a group avatar, which can adjust the display style of the current group avatar of the target group when a triggering event of a change in the group members of the target group is detected, obtain the adjusted group avatar, and display the adjusted group avatar; wherein the current group avatar includes the main part of the avatar and the modified part; the display style of the current group avatar of the target group is adjusted, including adjusting the display style of the modified part. That is, if there is a change in the group members, the display style of the group avatar will change. In this way, the user can intuitively perceive the changes in the group members without entering the group chat interface, which is conducive to improving the user experience.

[0073] To facilitate understanding of this embodiment, a method for updating a group avatar disclosed in the embodiment of the present disclosure is first introduced in detail. The execution subject of the method for updating a group avatar provided in the embodiment of the present disclosure is generally an electronic device with certain computing capabilities, and the electronic device includes a terminal, wherein the terminal can be a smart phone, a desktop computer or a laptop computer, etc., and can also be a tablet computer, a smart speaker, a smart watch, etc., without limitation. In some implementations, the method can also be applied to an implementation environment consisting of a terminal and a server.

[0074] Optionally, the method for updating the group avatar may be implemented by a processor calling computer-readable instructions stored in a memory.

[0075] See also Figure 1 , Figure 1 This is a flow chart of a method for updating a group avatar provided by an embodiment of the present disclosure. Figure 1 As shown, a method for updating a group avatar provided by an embodiment of the present disclosure includes the following steps S101 to S102:

[0076] S101, when a triggering event for a change in group members of a target group is detected, adjusting the display style of a current group avatar of the target group to obtain an adjusted group avatar; wherein the current group avatar includes an avatar main body portion and a modified portion; the adjusting the display style of the current group avatar of the target group includes adjusting the display style of the modified portion.

[0077] The triggering event of the group member change includes a group member addition event (group joining event) or a group member reduction event (group leaving event).

[0078] Exemplarily, the main part of the avatar refers to the part that can reflect the attribute information of the target group, wherein the attribute information of the target group includes at least one of the number of group members, group member avatars, and group category of the target group. The decorative part refers to the part used to decorate the main part of the avatar in a display style, and the decorative part may include various decorative elements, such as line elements and / or pattern elements, wherein the line elements may be straight lines or curves; the pattern elements may be patterns of various categories, such as animal patterns, plant patterns, or geometric patterns, etc., which are not limited here.

[0079] Optionally, the main part and the modified part of the group portrait can be divided based on the position, for example, the pattern located at the center of the group portrait is determined as the main part of the portrait, and the pattern located at the edge of the group portrait is determined as the modified part. The central position refers to a preset position including the center point of the group portrait.

[0080] In some optional embodiments, the positional relationship between the modified part and the main part of the avatar can also be that the modified part surrounds the main part of the avatar. The surrounding of the main part of the avatar by the modified part can refer to the closed surrounding of the main part of the avatar by the modified part. For example, if the modified part is a line frame, the line frame is closed and surrounds the main part of the avatar. It can also refer to the open surrounding of the main part of the avatar by the modified part, that is, the modified part can be at any position around the main part of the avatar. For example, if the modified part is at least one geometric pattern, the at least one pattern can be set at any position on the periphery of the main part of the avatar (for example, located at the upper left corner, lower right corner and other corners of the main part of the avatar), which is not limited here.

[0081] Specifically, adjusting the display style of the modified part may be adjusting the display properties of some of the modified elements of the modified part, and the display properties include display color, display size, thickness of displayed content, etc. For example, if the modified part originally has a line element with a line frame, adjusting the modified part may be adjusting the line color of the line frame; it may also be adding or reducing modifying elements. For example, if the modified part originally has a line element, adjusting the modified part may be adding one or more additional geometric shape patterns.

[0082] For example, see Figure 2 , is a schematic diagram of a group avatar provided by an embodiment of the present disclosure, such as Figure 2 As shown in , the group avatar includes an avatar main part 21 and a decorative part 22 surrounding the avatar main part. The avatar main part 21 includes an avatar of at least one group member, and the decorative part 22 may include a line frame or a pattern element, etc., which is not limited here. When a trigger event (such as a group member increase event or a group member decrease event) for a group member change of a target group is detected, the group avatar can be Figure 2 The modified part 22 shown in FIG. 1 is adjusted, for example, the color of the line frame is changed or pattern elements (eg, horizontal lines, circles, etc.) are added.

[0083] Optionally, when adjusting the display style of the modified part, the type of triggering event of the group member change (for example, a group member increase event or a group member decrease event) can be determined, and the display style of the modified part can be adjusted based on the type of triggering event of the group member change.

[0084] Specifically, when the triggering event of the group member change is the group member addition event, the display style of the modified part is adjusted to the first display style; when the triggering event of the group member change is the group member reduction event, the display style of the modified part is adjusted to the second display style, wherein the first display style is different from the second display style, that is, different types of group member change triggering events correspond to different display styles of the modified part. In this way, the user can judge the type of the triggering event by the change of the display style, providing a different user experience for the user.

[0085] The following is a detailed description of the adjustment of the display style of the modified part under different types of group member change trigger events. Figure 3 and Figure 4 , Figure 3 A schematic diagram of an adjusted group avatar provided by an embodiment of the present disclosure, Figure 4 is a schematic diagram of another adjusted group avatar. Figure 3 As shown, in the case where the triggering event for the change of group members is a group member addition event, the group avatar can be adjusted by adding a circle in the modified part 22, thus forming a new modified part 22. That is, if the user finds that the modified part 22 of the group avatar contains a circle, it can be confirmed that a new group member has joined the group; similarly, in the case where the triggering event for the change of group members is a group reduction event, the group avatar can be adjusted by adding a triangle in the modified part 22, thus forming a new modified part 22. That is, if the user finds that the modified part 22 of the group avatar contains a triangle, it can be confirmed that a group member has left the group. In this way, the user can intuitively perceive whether there are group members added or left in the group through the change in the display style of the group avatar.

[0086] For another example, when no trigger event of group member change is detected, the color of the line frame included in the modification part 22 is gray. When a trigger event of group member change is detected and the trigger event of group member change is a group member addition event, the color of the line frame included in the modification part 22 can be adjusted to a first color (such as a warm color), such as red, yellow, or pink, etc.; when the trigger event of group member change is a group member reduction event, the color of the line frame included in the modification part 22 can also be adjusted to a second color (such as a cold color), such as blue, green, etc., which is not limited here. In this way, each group member in the group can determine the changes in the group members in the current group according to the changes in the display color of the line frame in the modification part 22, thereby improving the user experience.

[0087] In some optional implementations, a preset display duration of the display style of the modified part after adjustment can be preset, and when the display duration of the display style of the modified part after adjustment reaches the preset display duration, the display style of the modified part after adjustment is restored to the display style of the modified part before adjustment. For example, the preset display duration of the display style of the modified part after adjustment can be preset to 10 minutes, and when an event of adding a group member is detected, the color of the line frame included in the modified part is red and lasts for 10 minutes, and after 10 minutes, the color of the line frame will return to the color before adjustment (e.g., gray).

[0088] Optionally, if a new member joins the group before the preset display time is reached, the color of the line frame can be kept red and the preset display time can be maintained based on the entry time of the new member who has recently joined the group. In other embodiments, if the display time of the display style of the adjusted modified part does not reach the preset display time, if a group member exits, the color of the line frame can be directly adjusted from red to blue, which is not limited here.

[0089] In other embodiments, the adjustment of the display style of the modified part can also be determined according to the number of members who join or leave the group within a preset time period. Specifically, if multiple new members join the group within the preset time period, the total number of people in the period can be counted, and then the specific adjustment method can be determined according to the total number of people.

[0090] Optionally, the number of modifying elements to be added can be determined based on the total number of people; the degree of color change can also be determined based on the total number of people. For example, with respect to the implementation method of determining the number of modifying elements to be added based on the total number of people: if a new member joins the group within a preset time period (such as 3 minutes), a circular pattern is added; if 5 new members join the group successively within the preset time period, two circular patterns are added; similarly, if 10 new members join the group within the preset time period (such as 3 minutes), three circular patterns can be added, and so on, that is, the number of modifying elements added can be positively correlated with the total number of people joining the group within the preset time period. In addition, the specific implementation method of the implementation method for the total number of people leaving the group can refer to the implementation method for joining the group, which will not be repeated here.

[0091] For another example, for an embodiment in which the degree of color change (e.g., color gradient deepening) is determined based on the total number of people entering the group: if the total number of people in the preset time period is 1, the color of the line frame can be adjusted to pink; if the total number of people in the preset time period is 10, the color of the line frame can be adjusted to red; similarly, if the total number of people in the preset time period is more than 10, the color of the line frame can be adjusted to dark red. Similarly, for the specific implementation of the total number of people leaving the group, reference can be made to the above implementation of the total number of people entering the group, which will not be repeated here.

[0092] S202, displaying the adjusted group avatar.

[0093] It can be understood that after obtaining the adjusted group avatar, the adjusted group avatar can be displayed. In this way, the user can intuitively perceive the changes in group members without entering the group chat interface, which is conducive to improving the user experience.

[0094] According to the above content, since the group avatar also includes the main part of the avatar, when adjusting the display style of the current group avatar of the target group, in addition to the aforementioned adjustment of the modified part, the content of the main part of the avatar can also be adjusted. In this way, the richness of the display style of the group avatar can be improved.

[0095] In some embodiments, the main part of the avatar includes at least one group member avatar. When adjusting the content of the main part of the avatar, please refer to Figure 5 , may include the following S501 to S502:

[0096] S501: Determine at least one group member portrait to be replaced from the portrait of at least one group member in the current group portrait.

[0097] S502: Replace the at least one to-be-replaced group member avatar based on avatars corresponding to other group members in the target group except the at least one group member.

[0098] It can be understood that since the main part of the avatar includes the avatar of at least one group member, in order to enhance the user's sense of participation, the avatar of at least one group member in the current group avatar can be rotated, that is, at least one group member avatar to be replaced can be determined from the avatar of at least one group member in the current group avatar, and the at least one group member avatar to be replaced can be replaced based on other group member avatars in the target group except the at least one group member avatar.

[0099] For example, please refer again to Figure 2 The current group avatar includes 9 group member avatars, and at least one group member avatar to be replaced (for example, 3 group member avatars A, B, and C) can be determined from the 9 group member avatars. If the target group includes 29 group members, there are 29 corresponding group member avatars. In this way, 3 group member avatars can be determined from the other 20 group member avatars among the 29 group member avatars except the above 9 group member avatars to replace the 3 group member avatars to be replaced.

[0100] In some implementations, when determining at least one group member portrait to be replaced from the portraits of at least one group member in the current group portrait, the determination may be made based on first attribute information, wherein the first attribute information may be the display duration or display frequency of each group member portrait. Figure 2 , the display frequency of group member avatar A is 10 times, while the display frequency of group member avatar B is 2 times. Then, when determining the group member avatar to be replaced, group member avatar A can be preferentially determined as the group member avatar to be replaced; similarly, when determining the avatars corresponding to other group members other than the at least one group member in the target group, the determination can be made based on the second attribute information, wherein the second attribute information may include the time of joining the group, the degree of activity (for example, the frequency and duration of group members' speeches in the group), the cumulative display duration, and the display frequency, etc., which are not limited here. For example, for the other group member avatars except the 9 group member avatars included in the current group avatar among the 29 group member avatars in the target group, if the group members corresponding to group member avatars D, E, and F in the other group member avatars have higher activity in the target group than the remaining other group members in the target group, the group member avatars A, B, and C to be replaced will be preferentially replaced based on group member avatars D, E, and F.

[0101] Optionally, when the triggering event of the group member change is the group member reduction event, it can be determined whether the currently exiting group member is a person corresponding to an avatar included in the current group avatar, and if the currently exiting group member is a person corresponding to an avatar included in the current group avatar, the avatar of the currently exiting group member is determined as the at least one group member avatar to be replaced. In this way, it can be ensured that the avatar of the exiting group member no longer appears in the current group avatar.

[0102] In some implementations, after obtaining the adjusted group avatar, the number of group members in the target group may be obtained, the scale level to which the number of group members belongs may be determined, and the background color of the main part of the avatar of the adjusted group avatar may be adjusted to a color corresponding to the scale level.

[0103] Exemplarily, the scale levels corresponding to different numbers of group members can be pre-divided. For example, the number of group members ranging from 1 to 10 corresponds to the first scale level; the number of group members ranging from 11 to 50 corresponds to the second scale level; the number of group members ranging from 50 to 100 corresponds to the third scale level; and the number of group members exceeding 100 corresponds to the fourth scale level.

[0104] Optionally, as the size level of the target group increases, the background color of the main part of the avatar in the group avatar of the group will gradually darken, specifically, the color in the same color system may be gradually darkened. For example, the color corresponding to the first size level may be pink, the color corresponding to the second size level may be light red, the color corresponding to the third size level may be red, and the color corresponding to the fourth size level may be dark red.

[0105] In other embodiments, the color may be gradually deepened from colors of different color systems. For example, the color may be deepened from a cool color system to a warm color system. For example, the color corresponding to the first scale level may be white, the color corresponding to the second scale level may be blue, the color corresponding to the third scale level may be green, and the color corresponding to the fourth scale level may be red.

[0106] In other embodiments, a correspondence between scale level and color may be established in advance, and after determining the scale level of the target group, the color corresponding to the scale level may be determined according to the correspondence between scale level and color. In this way, the scale level of the number of people corresponding to the target group may be intuitively determined by the color corresponding to the main part of the avatar.

[0107] See also Figure 6 , is a flow chart of a method for generating prompt information provided by an embodiment of the present disclosure, the method comprising S601 to S602:

[0108] S601: Acquire group profile information of the target group and determine the type of the target group.

[0109] The group profile information may include a group name, group announcement, group tag, etc., which are not limited here. The type of the target group may be a sports group, a shopping group, a learning exchange group, etc.

[0110] For example, if the content of the group announcement is "special dishes are provided every day", it can be determined that the type of the target group is a shopping group; if the group name is "marathon group", it can be determined that the type of the target group is a sports group.

[0111] S602: Generate prompt information based on the type of the target group, where the prompt information is used to prompt the user whether to change the group avatar, wherein the prompt information includes an image matching the type of the target group.

[0112] For example, if the type of the target group is determined to be a sports group, prompt information corresponding to the sports group may be generated, and the prompt information may include an image that matches the sports group, for example, the image may be a sports image (e.g., a running image, a ball image, etc.). In this way, the user may determine whether to change the group avatar based on the content of the image in the prompt information. In this way, the user may choose whether to change the group avatar to an avatar that matches the group type, which provides convenience for the user.

[0113] Those skilled in the art will appreciate that, in the above method of specific implementation, the order in which the steps are written does not imply a strict execution order and does not constitute any limitation on the implementation process. The specific execution order of the steps should be determined by their functions and possible internal logic.

[0114] Based on the same inventive concept, the embodiment of the present disclosure also provides a device for updating group portraits corresponding to the method for updating group portraits. Since the principle of solving the problem by the device in the embodiment of the present disclosure is similar to the method for updating group portraits in the embodiment of the present disclosure, the implementation of the device can refer to the implementation of the method, and the repeated parts will not be repeated.

[0115] See also Figure 7 , is a structural diagram of a group avatar updating device provided by an embodiment of the present disclosure, the device comprises: an adjustment module 710 and a display module 720; wherein,

[0116] The adjustment module 710 is used to adjust the display style of the current group avatar of the target group when a trigger event of a group member change of the target group is detected to obtain an adjusted group avatar; wherein the current group avatar includes an avatar main body and a modified part; the adjusting the display style of the current group avatar of the target group includes adjusting the display style of the modified part;

[0117] The display module 720 is used to display the adjusted group portrait.

[0118] In an optional implementation manner, the adjustment module 710 is specifically configured to:

[0119] Determining the type of triggering event for the group member change;

[0120] Based on the type of the triggering event of the group member change, the display style of the modified part is adjusted.

[0121] In an optional implementation manner, the triggering event of the group member change includes a group member increase event or a group member decrease event; the adjustment module 710 is specifically used to:

[0122] When the triggering event of the group member change is the group member addition event, adjusting the display style of the modified part to the first display style;

[0123] When the triggering event of the group member change is the group member reduction event, the display style of the modified part is adjusted to a second display style, wherein the second display style is different from the first display style.

[0124] In an optional implementation manner, the adjustment module 710 is further configured to:

[0125] When the display time of the display style of the modified part after adjustment reaches the preset display time, the display style of the modified part after adjustment is restored to the display style of the modified part before adjustment.

[0126] In an optional implementation manner, the adjustment module 710 is further configured to:

[0127] Adjust the main content of the avatar.

[0128] In an optional implementation manner, the main part of the avatar includes an avatar of at least one group member, and the adjustment module is specifically used to:

[0129] Determining at least one group member portrait to be replaced from the portrait of at least one group member in the current group portrait;

[0130] The at least one to-be-replaced group member avatar is replaced based on avatars corresponding to other group members in the target group except the at least one group member.

[0131] In an optional implementation manner, the adjustment module 710 is further configured to:

[0132] Obtaining the number of group members in the target group;

[0133] The scale level to which the number of group members belongs is determined, and the background color of the avatar main body of the adjusted group avatar is adjusted to a color corresponding to the scale level.

[0134] See also Figure 8 , Figure 8 A schematic diagram of the structure of another device for updating a group avatar provided by an embodiment of the present disclosure, wherein the device further includes: a generating module 730;

[0135] The generating module 730 is used for:

[0136] Obtaining group profile information of the target group and determining the type of the target group;

[0137] Based on the type of the target group, prompt information is generated, where the prompt information is used to prompt the user whether to change the group avatar, wherein the prompt information includes an image that matches the type of the target group.

[0138] For descriptions of the processing flow of each module in the device and the interaction flow between each module, reference may be made to the relevant descriptions in the above method embodiment, which will not be described in detail here.

[0139] Based on the same technical concept, the embodiment of the present disclosure also provides an electronic device. Fig. 9 , which is a schematic diagram of the structure of an electronic device 900 provided in an embodiment of the present disclosure, including a processor 901, a memory 902, and a bus 903. The memory 902 is used to store execution instructions, including a memory 9021 and an external memory 9022; the memory 9021 is also called an internal memory, which is used to temporarily store the operation data in the processor 901 and the data exchanged with the external memory 9022 such as a hard disk. The processor 901 exchanges data with the external memory 9022 through the memory 9021.

[0140] In the embodiment of the present application, the memory 902 is specifically used to store the application code for executing the solution of the present application, and the execution is controlled by the processor 901. That is, when the electronic device 900 is running, the processor 901 communicates with the memory 902 through the bus 903, so that the processor 901 executes the application code stored in the memory 902, and then executes the method in any of the aforementioned embodiments.

[0141] The processor 901 may be an integrated circuit chip with signal processing capabilities. The above-mentioned processor may be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it may also be a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The disclosed methods, steps and logic block diagrams in the embodiments of the present disclosure may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.

[0142] Among them, the memory 902 can be, but is not limited to, random access memory (Random Access Memory, RAM), read only memory (Read Only Memory, ROM), programmable read-only memory (Programmable Read-Only Memory, PROM), erasable programmable read-only memory (Erasable Programmable Read-Only Memory, EPROM), electrically erasable read-only memory (Electric Erasable Programmable Read-Only Memory, EEPROM), etc.

[0143] It is to be understood that the structure illustrated in the embodiment of the present application does not constitute a specific limitation on the electronic device 900. In other embodiments of the present application, the electronic device 900 may include more or fewer components than shown in the figure, or combine some components, or split some components, or arrange the components differently. The components shown in the figure may be implemented in hardware, software, or a combination of software and hardware.

[0144] The embodiment of the present disclosure also provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the method for updating the group avatar described in the above method embodiment is executed. The storage medium can be a volatile or non-volatile computer-readable storage medium.

[0145] The disclosed embodiments further provide a computer program product, which carries a program code. The program code includes instructions that can be used to execute the group avatar updating method described in the above method embodiment. For details, please refer to the above method embodiment, which will not be repeated here.

[0146] The computer program product may be implemented in hardware, software or a combination thereof. In one optional embodiment, the computer program product is implemented as a computer storage medium. In another optional embodiment, the computer program product is implemented as a software product, such as a software development kit (SDK).

[0147] Those skilled in the art can clearly understand that, for the convenience and simplicity of description, the specific working process of the system and terminal described above can refer to the corresponding process in the aforementioned method embodiment, and will not be repeated here. In the several embodiments provided in the present disclosure, it should be understood that the disclosed system, terminal and method can be implemented in other ways. The terminal embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some communication interfaces, or the indirect coupling or communication connection of the units can be electrical, mechanical or other forms.

[0148] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0149] In addition, each functional unit in each embodiment of the present disclosure may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit.

[0150] If the functions are implemented in the form of software functional units and sold or used as independent products, they can be stored in a non-volatile computer-readable storage medium that is executable by a processor. Based on this understanding, the technical solution of the present disclosure, or the part that contributes to the prior art or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling an electronic device (which can be a personal computer, a server, or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present disclosure. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.

[0151] Finally, it should be noted that the above-described embodiments are only specific implementation methods of the present disclosure, which are used to illustrate the technical solutions of the present disclosure, rather than to limit them. The protection scope of the present disclosure is not limited thereto. Although the present disclosure is described in detail with reference to the above-described embodiments, ordinary technicians in the field should understand that any technician familiar with the technical field can still modify the technical solutions recorded in the above-described embodiments within the technical scope disclosed in the present disclosure, or can easily think of changes, or make equivalent replacements for some of the technical features therein; and these modifications, changes or replacements do not make the essence of the corresponding technical solutions deviate from the spirit and scope of the technical solutions of the embodiments of the present disclosure, and should be included in the protection scope of the present disclosure. Therefore, the protection scope of the present disclosure should be based on the protection scope of the claims.

Claims

1. A method for updating a group avatar, characterized in that: include: When a triggering event for a change in a group member of a target group is detected, the display style of the current group avatar of the target group is adjusted to obtain an adjusted group avatar; wherein the current group avatar includes an avatar main body and a modified part; the adjusting the display style of the current group avatar of the target group includes adjusting the display style of the modified part; Displaying the adjusted group avatar; Wherein, adjusting the display style of the modified part includes adding a modification element to the modified part or changing the color of the modified part. The number of added modifying elements or the degree of color change is determined according to the number of members who join or leave the group within a preset time period, and the number of added modifying elements or the degree of color change is positively correlated with the total number of members who join or leave the group within the preset time period.

2. The method according to claim 1, characterized in that The adjusting of the display style of the modified part includes: Determining the type of triggering event for the group member change; Based on the type of the triggering event of the group member change, the display style of the modified part is adjusted.

3. The method according to claim 2, characterized in that The triggering event of the group member change includes a group member increase event or a group member decrease event; The adjusting the display style of the modified part based on the type of the triggering event of the group member change includes: When the triggering event of the group member change is the group member addition event, adjusting the display style of the modified part to the first display style; When the triggering event of the group member change is the group member reduction event, the display style of the modified part is adjusted to a second display style, wherein the second display style is different from the first display style.

4. The method according to claim 1, characterized in that: The method further comprises: When the display time of the display style of the modified part after adjustment reaches the preset display time, the display style of the modified part after adjustment is restored to the display style of the modified part before adjustment.

5. The method according to any one of claims 1 to 4, characterized in that: The adjusting the display style of the current group avatar of the target group further includes: adjusting the content of the main part of the avatar.

6. The method according to claim 5, characterized in that The main part of the avatar includes an avatar of at least one group member, and adjusting the content of the main part of the avatar includes: Determining at least one group member portrait to be replaced from the portrait of at least one group member in the current group portrait; The at least one to-be-replaced group member avatar is replaced based on avatars corresponding to other group members in the target group except the at least one group member.

7. The method according to any one of claims 1 to 6, characterized in that: After obtaining the adjusted group portrait, the method further includes: Obtaining the number of group members in the target group; The scale level to which the number of group members belongs is determined, and the background color of the avatar main body of the adjusted group avatar is adjusted to a color corresponding to the scale level.

8. The method according to any one of claims 1 to 7, characterized in that: The method further comprises: Obtaining group profile information of the target group and determining the type of the target group; Based on the type of the target group, prompt information is generated, where the prompt information is used to prompt the user whether to change the group avatar, wherein the prompt information includes an image that matches the type of the target group.

9. A device for updating a group avatar, characterized in that: include: An adjustment module, configured to adjust the display style of the current group avatar of the target group to obtain an adjusted group avatar when a triggering event for a group member change of the target group is detected; wherein the current group avatar includes an avatar main body and a modified part; the adjustment of the display style of the current group avatar of the target group includes adjusting the display style of the modified part, wherein the adjustment of the display style of the modified part includes adding a modifying element to the modified part or changing the color of the modified part, determining the number of added modifying elements or the degree of color change according to the number of members who join or leave the group within a preset time period, and the number of added modifying elements or the degree of color change is positively correlated with the total number of members who join or leave the group within the preset time period; A display module is used to display the adjusted group avatar.

10. An electronic device, characterized in that: include: A processor, a memory and a bus, wherein the memory stores machine-readable instructions executable by the processor, and when the electronic device is running, the processor and the memory communicate via the bus, and when the machine-readable instructions are executed by the processor, the method for updating the group avatar as described in any one of claims 1 to 8 is executed.

11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the method for updating a group avatar as described in any one of claims 1 to 8 is executed.

Citation Information

Patent Citations

  • Group chat profile picture updating method, terminal and computer readable storage medium

    CN108196751A

  • Method and equipment for generating a group chat head portrait

    CN109656656A