Image processing method, apparatus, and computer program
The image processing method improves user engagement in mobile instant communication by displaying dynamic stamp interaction animations based on trigger conditions, addressing the lack of diversity and emotional expression in existing methods.
Patent Information
- Application Number
- JP2023546509
- Authority / Receiving Office
- JP · JP
- Patent Type
- Patents
- Current Assignee / Owner
- Priority Date
- 2021-05-21
- Filing Date
- 2022-04-28
- Publication Date
- 2025-07-23
- Estimated Expiration
- 2042-04-28
AI Technical Summary
Existing image processing methods for mobile instant communication lack diversity and emotional expression, making user interactions less engaging and interactive.
Implementing an image processing method that displays first and second stamp interaction animations between multiple session members when specific trigger conditions are met, enhancing interaction and emotional expression through dynamic animations without requiring client-side storage.
Enhances the fun and diversity of communication interactions by playing interactive animations in real-time, saving client storage and improving interaction efficiency.
Smart Images

Figure 0007712025000001 
Figure 0007712025000002 
Figure 0007712025000003
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technologies, and specifically, to an image processing method, apparatus, and computer-readable storage medium.
[0002] This application claims the priority of a Chinese patent application filed with the China National Intellectual Property Administration on May 21, 2021, with an application number of 202110558940.2 and an invention title of "Image Processing Method, Apparatus, and Computer-Readable Storage Medium", the entire content of which is incorporated herein by reference.
Background Art
[0003] With the development of the Internet, communication technologies, especially instant communication, have already become an indispensable network communication method in people's lives. On the other hand, in recent years, mobile instant communication technology has emerged, and this technology performs instant communication based on various mobile communication devices (such as mobile phones).
[0004] In the prior art, when chatting, a user can send a stamp (including stamps, emojis, etc., hereinafter simply referred to as "stamp") to increase the fun of chatting and enrich the user experience. And in order to enrich the dimension of the stamp's expression, after sending the stamp, a simple effect can be triggered and further shown based on the style of the stamp.
[0005] In the research on and practice process of the prior art, the inventor of this application has found that the way of showing stamps in the prior art is relatively cumbersome, the user's emotional expression ability is relatively low, and the diversity of image processing is relatively poor.
Summary of the Invention
Problems to be Solved by the Invention
[0006] Embodiments of this application provide an image processing method, apparatus, and computer-readable storage medium, which can enhance the diversity of image processing.
Means for Solving the Problem
[0007] To solve the above technical problem, the embodiments of the present application provide the following technical means.
[0008] An image processing method executed by a computer device, comprising: displaying a session page of a target session on a client, where the target session includes at least two session members; when stamps sent by the at least two session members meet the trigger condition of a first stamp interaction animation, displaying the first stamp interaction animation on the session page, where the first stamp interaction animation includes an interaction animation between the stamps sent by the at least two session members.
[0009] An image processing apparatus, comprising a display unit and a first display unit, where the display unit is used to display a session page of a target session on a client, and the target session includes at least two session members; when stamps sent by the at least two session members meet the trigger condition of a first stamp interaction animation, the first display unit is used to display the first stamp interaction animation on the session page, and the first stamp interaction animation includes an interaction animation between the stamps sent by the at least two session members.
[0010] A computer-readable storage medium having a plurality of instructions stored thereon, the instructions being adapted to be uploaded by a processor to thereby execute the steps in the above-described image processing method.
[0011] A computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor realizes the steps in the above-provided image processing method when executing the computer program.
[0012] A computer program product or a computer program, the computer program product or the computer program including computer instructions stored in a storage medium. A processor of a computer device reads the computer instructions from the storage medium, and the processor executes the computer instructions to cause the computer device to execute the steps in the above-provided image processing method. [[Effect of the Invention]]
[0013] The embodiments of the present application display the session page of the target session on the client. The target session includes at least two session members. When the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation, the first stamp interaction animation is displayed on the session page. The first stamp interaction animation includes the interaction animation between the stamps sent by at least two session members. Thereby, when the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation, the first stamp interaction animation based on the interaction performed between the stamps sent by at least two session members can be played in real time, enhancing the interestingness and diversity of communication interactions, and further greatly enhancing the diversity of image processing. And, based on the system settings, the interactive animation between the stamps will be presented. The client does not need to store the corresponding animation, and omits the step of the user selecting the corresponding animation, thus saving the storage space of the client (for example, the terminal) and improving the efficiency of the interaction.
[0014] To more clearly explain the technical means in the embodiments of the present application, the drawings necessary for describing the embodiments will be briefly introduced below. Obviously, the drawings described below are merely some embodiments of the present application, and those skilled in the art can also obtain other drawings based on these drawings on the premise of not performing creative labor.
Brief Description of the Drawings
[0015]
Figure 1
Figure 2
Figure 3
Figure 4a
Figure 4b
Figure 4c
Figure 4d
Figure 5
Figure 6
Embodiments for Carrying Out the Invention
[0016] Hereinafter, in conjunction with the drawings in the embodiments of the present application, a clear and complete description will be given of the technical means in the embodiments of the present application. However, as is obvious, the described embodiments are merely some of the embodiments of the present application, not all of them. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor fall within the protection scope of the present application.
[0017] The embodiments of the present application provide an image processing method, apparatus, and computer-readable storage medium.
[0018] As shown in FIG. 1, FIG. 1 is a schematic diagram of a scene of an image processing system provided by an embodiment of the present application, including a terminal 11 and a server 20, and the terminal 11 and the server 20 can be connected via a communication network. The communication network includes a wireless network and a wired network. Here, the wireless network includes one or a combination of a wireless wide area network, a wireless local area network, a wireless metropolitan area network, and a wireless personal network. Network entities such as routers and gateways are included in the network but are not shown in the figure. The terminal 11 can perform information interaction with the server 20 via the communication network. For example, the terminal 11 synchronizes the stamps sent by the user to the server 20, and the server 20 distributes them on the terminal 11 in the same chat environment to realize communication between different terminals 11. In the embodiment shown in FIG. 1, instant communication can be realized between different terminals 11.
[0019] The image processing system may include an image processing device. Specifically, the image processing device may be integrated into a terminal equipped with a storage unit and having computing power with a microprocessor installed therein, such as a tablet computer, a mobile phone, a notebook computer, a desktop computer, etc. In FIG. 1, the terminal is the terminal 11 in FIG. 1. In the terminal 11, various clients required by different users, such as an instant communication client, etc., may be installed. The terminal 11 can be used to display the session page of the target session in the client. In one example, for instance, instant communication of the session page of the target session in the client. The target session includes at least two session members. When the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation, the first stamp interaction animation is displayed on the session page. The first stamp interaction animation includes the interaction animation between the stamps sent by at least two session members. It should be noted that there may be multiple terminals 11.
[0020] The image processing system may further include a server 20, which can be used to receive the stamps sent by the terminal 11 and synchronize the stamps to the terminal 11 in the same chat environment.
[0021] It should be noted that the scene schematic diagram of the image processing system shown in FIG. 1 is merely an example. The image processing system and the scene described in the embodiments of the present application are for more clearly explaining the technical means of the embodiments of the present application and do not constitute a limitation to the technical means provided by the embodiments of the present application. As known to those skilled in the art, with the development of the image processing system and the emergence of new business scenes, the technical means provided by the embodiments of the present application can be similarly applied to similar technical problems.
[0022] The following will be described in detail.
[0023] Embodiments of the present application provide an image processing method, which may be executed by a terminal or a server, or may be executed by both the terminal and the server. Embodiments of the present application will be described by taking the example that the image processing method is executed by a terminal.
[0024] As shown in FIG. 2, FIG. 2 is a process schematic diagram of an image processing method provided by an embodiment of the present application. The image processing method may be executed by the computer device shown in FIG. 6, and includes step 101 and step 102.
[0025] In step 101, display a session page of a target session on the client.
[0026] Here, in FIG. 2 and the following examples, the client may be an instant messaging client, for example, software that realizes online chat and communication by instant messaging technology. However, it should be noted that the client is not limited to an instant messaging client. The target session can be understood as a chat room, a one-on-one session, or a multi-person session group. The one-on-one session is a session that realizes a session between a single session member and a single session member in an instant messaging client, and the multi-person session group is a session group in which a plurality of session members conduct sessions simultaneously, and specifically, it can be created in real time based on user needs. The target session includes at least two session members, and each session member may include a unique session identifier. The session page is a chat interface of the target session and may be composed of a common chat window unit. A user can realize a session function with other session users through the session page, for example, send contents such as text, voice, image, stamp, or video.
[0027] In an embodiment of the present application, it is possible to display a session page of a target session on a client. On the session page, it is possible to display information sent by a local client and information sent by other session members in the target session. The information may be a stamp, and the stamp may be an emoji stamp image or a stamp image customized by a user, without specific limitation here.
[0028] In step 102, when stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, the first stamp interaction animation is displayed on the session page.
[0029] In related technologies, session members can increase the fun of chatting and enrich the user experience by sending stamps, but the stamps can only achieve simple motions. For example, a smiley face stamp can only be realized by a simple smile, and the expression and interactive effects are very poor.
[0030] In an embodiment of the present application, it is possible to add a stamp to trigger an interactive effect logic. That is, when stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, the interactive effect logic can be triggered, and the trigger conditions include that the stamps sent by at least two members are the same stamp and the relationship between at least two sent stamps is a preset relationship.
[0031] For example, when the stamps sent by at least two session members are the same heart mark, the trigger conditions can be met, and the first stamp interaction animation between the same heart marks is displayed on the session page.
[0032] In an embodiment of the present application, the first stamp interaction animation includes interaction animations sent by at least two session members. That is, the first stamp interaction animation may be a first stamp interaction animation that performs interaction among heart mark stamps. In one embodiment, it is a first stamp interaction animation that dynamically moves the heart mark stamps together, performs impacts and expansions, and then explodes and scatters into a plurality of small heart marks.
[0033] Also, for example, when the stamps sent by at least two session members are the same beer, the trigger condition can be satisfied, and on the session page, the first stamp interaction animation between the same beer stamps is displayed. The first stamp interaction animation in this scene may be a first stamp interaction animation that toasts between the beer stamps.
[0034] The preset related relationship may be a relationship table between stamps having a related relationship. For example, it can record the related relationship between a dog poop stamp and a bomb stamp, or the related relationship between a smiley stamp and a slap stamp. When a dog poop stamp and a bomb stamp appear in at least two sent stamps respectively, it is determined that the related relationship between the at least two sent stamps is the preset related relationship. In this scene, a first stamp interaction animation can be generated in which a bomb flies onto the dog poop stamp and explodes, scattering into a plurality of dog poop stamps.
[0035] In some embodiments, the type of stamp can be identified by a Convolutional Neural Network (CNN), which can be constructed by mimicking the visual perception mechanism of organisms, so that the CNN can identify the type of stamp sent by a session member.
[0036] In one embodiment, the first stamp interaction animation may be stored on the terminal or on the server. When the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, the first stamp interaction animation stored on the terminal can be directly read and played, or the server can also request in real time to issue the first stamp interaction animation for playback.
[0037] In one embodiment, displaying the first stamp interaction animation on the session page means simultaneously displaying the first stamp interaction animation on the session pages of each session member of the target session, and the server can issue the first stamp interaction animation playback commands in a batch. That is, the first stamp interaction animation is simultaneously played on the session pages of the target sessions of each client of the target session.
[0038] It should be noted that there are a very large number of types of the first stamp interaction animations based on stamp combinations, and the examples listed above are not specific limitations. In addition, since the first stamp interaction animation can include interaction animations between stamps, it can better enhance the interaction and emotional expression capabilities between users and greatly enhance the diversity of image processing. Also, based on system settings, interactive animations between stamps will be presented, so the client does not need to remember corresponding animations, and the step of the user selecting corresponding animations is omitted, which not only saves the storage space of the client (such as a terminal), but also improves the efficiency of interaction.
[0039] In some embodiments, the trigger condition may further include that the interval between stamp sending times is within a preset time. When the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation, the step of displaying the first stamp interaction animation on the session page may include the stamps sent by at least two session members and the step of displaying the first stamp interaction animation on the session page when the stamp sending time meets the trigger condition of the first stamp interaction animation.
[0040] Taking instant communication as an example, since instant communication has real-time properties, it can be stipulated that the interval during the stamp sending time shall not exceed a preset time. The preset time may be set by the system, for example, 60 seconds, 90 seconds, etc. Thus, the stamps sent by at least two members are the same stamp, and the relationship between at least two sent stamps is a preset relationship. When the interval of the stamp sending time does not exceed the preset time, the first stamp interaction animation is displayed on the session page.
[0041] In some embodiments, before the step of displaying the first stamp interaction animation on the session page, further, (1) When it is detected that the relationship between each pair of session members among at least two session members is a friendship relationship, performing the step of displaying the first stamp interaction animation on the session page; (2) When it is detected that the relationship of one pair of session members among at least two session members does not belong to the friendship relationship, displaying friend addition prompt information on the session page.
[0042] Here, the friendship relationship means that two session members on the client add each other as contacts and become friends in communication. To increase the fun of communication, when the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, it continues to detect whether the relationship between each pair of session members among at least two session members is a friendship relationship.
[0043] When it is detected that the relationship between each pair of at least two session members is a friendship relationship, it indicates that they are friends with each other, and real-time interesting interactivity can be performed. When it is detected that the relationship of one pair of at least two session members does not belong to the friendship relationship, it indicates that there is an unknown person among them. At this time, it is not necessary to execute the step of displaying the first stamp interaction animation on the session page, and friend addition prompt information is displayed on the session page, so that session users who have not added each other as friends can be prompted to add the other party as a friend.
[0044] In some embodiments, the step of displaying the first stamp interaction animation on the session page is (1.1) obtaining a relevance value of the at least two session members; (1.2) determining a target display level of the first stamp interaction animation based on the relevance value; (1.3) displaying, on the session page, a first stamp interaction animation corresponding to the target display level.
[0045] Here, the relevance value of the at least two session members can be obtained, and the relevance value may be an intimacy value. The intimacy value can be determined by the number of chats, additional relationships, and interactive times between session members. The larger the relevance value, the closer the relationship between the two indicates, and the smaller the relevance value, the less close the relationship between the two indicates.
[0046] Furthermore, it is possible to set a plurality of display levels for the first stamp interaction animation, for example, three display levels. Assume that the priority of the first display level is higher than that of the second display level, and the priority of the second display level is higher than that of the third display level. The display effect of the first stamp interaction animation corresponding to the display level with a higher priority is better, and the display effect of the first stamp interaction animation corresponding to the display level with a lower priority is worse. For each display level, the relevance of the corresponding section can be set, and the section corresponding to the display level with a higher priority is higher than the section corresponding to the display level with a lower priority.
[0047] Thereby, the target display level of the first stamp interaction animation is determined based on the section corresponding to the display level where the relevance value is located. Further, the first stamp interaction animation corresponding to the target display level is displayed on the session page.
[0048] In some embodiments, the step of displaying the first stamp interaction animation on the session page includes: (2.1) obtaining the relevance values of at least two session members; (2.2) determining the playback time of the first stamp interaction animation based on the relevance values; and (2.3) displaying the first stamp interaction animation on the session page based on the playback time.
[0049] Here, the relevance value of at least two session members can be obtained. The relevance value may be an intimacy value, and the intimacy value can be determined by the number of chats, appended relationships, and interactive times between session members. The greater the relevance value, the closer the relationship between the two; the smaller the relevance value, the less close the relationship between the two indicates.
[0050] Furthermore, the playback time of the first stamp interaction animation can be set to a plurality of time periods, for example, three playback times. Assume that the first playback time is greater than the second playback time, and the second playback time is greater than the third playback time. The display effect of the first stamp interaction animation with a longer playback time is better, and the display effect of the first stamp interaction animation with a shorter playback time is inferior. Thereby, for each playback time, the relevance of the corresponding section can be set, and the corresponding section with a longer playback time has a higher relevance than the corresponding section with a shorter playback time.
[0051] Thereby, the playback time of the first stamp interaction animation is determined based on the section where the relevance value is located. Further, based on the playback time, a first stamp interaction animation with a corresponding duration is displayed on the session page.
[0052] In some embodiments, the method further includes a step of displaying the second stamp interaction animation on the session page when the target stamp sent by the new session member and the stamp satisfy the trigger condition of the second stamp interaction animation, where the second stamp interaction animation includes an interaction animation between the stamp sent by at least two session members and the target stamp.
[0053] Here, the new session member is a session member who is not among the at least two session members of the target session, that is, the new session member may be a session member newly added to the target session and a session member who has not sent a message yet. The trigger condition for the second stamp interaction animation may be an interactive effect logic in which multiple people interact, and at least includes that the stamps sent by at least three members are the same stamp, and the relationship between at least three sent stamps is a target relationship.
[0054] For example, when the stamps sent by at least three session members are the same beer, the trigger condition can be satisfied, and on the session page, the first stamp interaction animation among three glasses of beer can be displayed.
[0055] In the embodiment of the present application, the second stamp interaction animation includes the interaction animations sent by at least three session members, and on the session page, the first stamp interaction animation among at least three beer stamps can be displayed. The second stamp interaction animation in this scene may be a second stamp interaction animation in which a toast is made among at least three beer stamps.
[0056] In some embodiments, when the target stamp sent by a new session member satisfies the trigger condition of the second stamp interaction animation with the stamp, the step of displaying the second stamp interaction animation on the session page includes that when the target stamp sent by the new session member, the stamp, and the target stamp sending time and the stamp sending time satisfy the trigger condition of the second stamp interaction animation, the second stamp interaction animation is displayed on the session page.
[0057] Here, taking instant communication as an example, since instant communication has real-time performance, accordingly, it can be stipulated that the interval between the target stamp and the stamp sending time cannot exceed a preset time. The preset time may be set by the system, for example, 60 seconds, 90 seconds, etc. It should be noted that since there are at least two stamps, in the embodiments of the present application, the time interval between the target stamp and the last sent stamp among at least two stamps is calculated.
[0058] Accordingly, when the target stamp sent by the new session member, the stamp, and the target stamp sending time and the stamp sending time simultaneously satisfy the trigger condition of the second stamp interaction animation, the second stamp interaction animation is displayed on the session page.
[0059] In one embodiment, the step of displaying the second stamp interaction animation on the session page is (3.1) When it is detected that the playback of the first stamp interaction animation has ended, the step of displaying the second stamp interaction animation on the session page; and When it is detected that the reproduction of the first stamp interaction animation in (3.2) has not ended, the step of overlapping and displaying the second stamp interaction animation on the session page is included.
[0060] Here, when the second stamp interaction animation is being displayed, since there is a possibility that the reproduction of the previous first stamp interaction animation has not ended, it is possible to detect whether the reproduction of the first stamp interaction animation has ended before displaying the second stamp interaction animation on the session page.
[0061] When it is detected that the reproduction of the first stamp interaction animation has ended, the second stamp interaction animation is directly displayed on the session page. When it is detected that the reproduction of the first stamp interaction animation has not ended, without waiting for the reproduction of the first stamp interaction animation, the second stamp interaction animation can be directly overlapped and displayed on the session page, realizing the overlapping effect of simultaneous reproduction and enriching the effect of the stamp interaction.
[0062] As is apparent from the above, the embodiment of the present application displays the session page of the target session on the client. The target session includes at least two session members. When the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation, the first stamp interaction animation is displayed on the session page. The first stamp interaction animation includes the interaction animation between the stamps sent by at least two session members. Thereby, when the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation, the first stamp interaction animation based on the interaction performed between the stamps sent by at least two session members can be played in real time, enhancing the fun and diversity of communication interactions and greatly enhancing the diversity of image processing.
[0063] In combination with the method described in the above embodiment, the following will be further described in detail with examples.
[0064] In this embodiment, the case where the image processing device is specifically integrated in the server will be described as an example. Specifically, refer to the following description.
[0065] As shown in FIG. 3, FIG. 3 is another process schematic diagram of the image processing method provided by the embodiment of the present application. The method process may include steps 201 to 209.
[0066] In step 201, the terminal displays the session page of the target session on the client.
[0067] Here, also referring to FIG. 4a, in FIG. 3 and the examples shown below, the client may be an instant communication client, but is not limited to an instant communication client. The terminal 11 displays a session page of a target session in the client, and in this session page, session members can realize session functions with other session users through this session page. For example, they can send contents such as text, voice, images, stamps, or videos.
[0068] For example, FIG. 4a includes a first session user 11 and a second session user 12, and the first session user may be a session user in the client on the terminal. In this session page, a stamp input panel can be displayed, and the stamp input panel includes a plurality of stamps, such as a heart mark stamp. In response to a touch control operation of touching and selecting the heart mark stamp from the plurality of stamps by the user, the heart mark stamp can be displayed in the message editing frame.
[0069] As used in the embodiments of the present application, "in response to" is used to indicate a condition or state on which the executed operation depends. When the dependent condition or state is satisfied, one or more operations to be executed may be in real time or may have a predetermined delay. Unless otherwise specified, there is no limitation on the order before and after the execution of the plurality of operations to be executed.
[0070] In step 202, when the terminal detects that the stamps sent by at least two session members and the stamp sending times meet the trigger conditions of the first stamp interaction animation, step 203 is executed.
[0071] Here, referring also to FIG. 4b, the first session user 11 can touch-control the transmission control member 12, and in response to the touch-control operation of the transmission control member 12, the terminal 10 displays the heart mark stamp displayed in the message editing frame on the session page. At this time, the terminal 10 detects that the stamps sent by two session members are the same heart mark and that the time interval between the transmissions of the two stamps is within 10 seconds, and when the terminal determines that it has detected that the stamps sent by at least two session members and the stamp transmission times meet the trigger conditions for the first stamp interaction animation, it executes step 203.
[0072] Also, for example, referring also to FIGS. 4c and 4d, a stamp input panel can be displayed on the session page, and the stamp input panel includes a plurality of stamps, such as a bomb stamp. When the user touch-controls the stamp of dog poop, in response to the touch-control operation of selecting the bomb stamp from the plurality of stamps, the bomb stamp can be displayed in the message editing frame. The first session user 11 can touch-control the transmission control member 12, and in response to the touch-control operation of the transmission control member 12, the terminal 10 displays the bomb stamp displayed in the message editing frame on the session page. At this time, the terminal 10 detects that the stamps sent by two session members are the stamp of dog poop and the bomb stamp respectively and that the time interval between the transmissions of the two stamps is within 8 seconds, and when the terminal determines that it has detected that the stamps sent by at least two session members and the stamp transmission times meet the trigger conditions for the first stamp interaction animation, it executes step 203.
[0073] In step 203, the terminal detects whether the relationship between each pair of session members among at least two session members is a friendship relationship.
[0074] Here, the friend relationship means that in the client, two session members add each other as communication friends. To increase the fun of communication, when the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, the terminal continuously detects whether the relationship between each pair of session members among at least two session members is a friend relationship.
[0075] When the terminal detects that the relationship between each pair of session members among at least two session members is not a friend relationship, it executes step 204. When the terminal detects that the relationship between each pair of session members among at least two session members is a friend relationship, it executes step 205.
[0076] In step 204, the terminal displays friend addition prompt information on the session page.
[0077] Here, when it is detected that the relationship between one pair of session members among at least two session members does not belong to the friend relationship, it indicates that there is an unknown person among them. At this time, the step of displaying the first stamp interaction animation on the session page may not be executed. Instead, the friend addition prompt information is displayed on the session page. For example, it is displayed as "Since the second session member is not your friend, please add them", so as to prompt the session user who has not added as a friend to add the other party as a friend.
[0078] In step 205, the terminal plays the full-screen playback of the first stamp interaction animation on the session page.
[0079] When it is detected that the relationship between each pair of session members among at least two session members is a friendship relationship, it indicates that they are friends with each other, and real-time interesting interactions can be carried out. The terminal can directly play the full-screen playback of the first stamp interaction animation on the session page, that is, the first stamp interaction animation can be displayed in the areas on the full screen such as the chat interface, the information input frame, and the message balloon.
[0080] Here, the first stamp interaction animation includes the interaction animation between the stamps sent by the at least two session members, and there are multiple types of the first stamp interaction animation. For example, continuing to refer to FIG. 4b, when the stamps of the first session member 11 and the second session member 12 are both heart mark stamps, the heart mark stamp can be dynamically moved together, impacted, enlarged, and then exploded and dispersed into a plurality of small heart marks to play the first stamp interaction animation 13. For example, continuing to refer to FIG. 4d, when what the second session member 12 sent is a dog poop stamp and what the first session member 11 sent is a bomb stamp, the bomb flies onto the dog poop stamp and explodes, dispersing into a plurality of dog poop stamps to generate and play the second stamp interaction animation 14.
[0081] It should be noted that based on the relationship between the stamps, the first stamp interaction animation that further performs interaction animations between other stamps may also be used, and the examples given here are not specifically limited.
[0082] In step 206, when the terminal detects that the target stamp and the stamp sent by the new session member, and the target stamp sending time and the stamp sending time meet the trigger conditions of the second stamp interaction animation, step 207 is executed.
[0083] Here, the new session member is a session member who is not one of the at least two session members in the target session. That is, the new session member may be a session member newly added to the target session and a session member who has not sent a message currently, that is, a member who is not the first session member 11 or the second session member 12 in the target session. The trigger conditions of the second stamp interaction animation may be an interactive effect logic where multiple people interact, and at least include that the stamps sent by at least three members are the same stamp, and the relationship between at least three sent stamps is the target relationship.
[0084] For example, when the stamp sent between the first session member 11 and the second session member 12 is a beer stamp, the target stamp sent by the new session member is also a beer stamp, and the time interval between the time when the first session member 11 and the second session member 12 sent the beer stamp last and the time when the new session member sent the target stamp is 11 seconds, which is smaller than the preset time of 90 seconds, the terminal determines that the target stamp and the stamp sent by the new session member, and the target stamp sending time and the stamp sending time meet the trigger conditions of the second stamp interaction animation, and executes step 207.
[0085] In step 207, the terminal detects whether the playback of the first stamp interaction animation has ended.
[0086] Here, when the second stamp interaction animation is being displayed, since the playback of the previous first stamp interaction animation may not have ended, it is possible to detect whether the playback of the first stamp interaction animation has ended before displaying the second stamp interaction animation on the session page.
[0087] When the terminal detects that the playback of the first stamp interaction animation has ended, step 208 is executed. When it is detected that the playback of the first stamp interaction animation has not ended, step 209 is executed.
[0088] In step 208, the terminal displays the second stamp interaction animation on the session page.
[0089] Here, when it is detected that the playback of the first stamp interaction animation has ended, the second stamp interaction animation is directly displayed on the session page. For example, the second stamp interaction animation may be a second stamp interaction animation in which three beer stamps clink glasses.
[0090] In step 209, the terminal displays the second stamp interaction animation on top of the session page.
[0091] Here, when it is detected that the playback of the first stamp interaction animation has not ended, the second stamp interaction animation can be directly overlaid and displayed on the session page without waiting for the end of the playback of the first stamp interaction animation, realizing an overlay effect of simultaneous playback and enriching the effect of the stamp interaction.
[0092] For example, the first stamp interaction animation is a first stamp interaction animation in which toasts are made between two beer stamps, and the second stamp interaction animation is a second stamp interaction animation in which toasts are made between three beer stamps. By superimposing the second stamp interaction animation in which toasts are made between three beer stamps on the first stamp interaction animation in which toasts are made between two beer stamps, the atmosphere of the interaction can be enhanced, and the diversity of image processing can be further increased.
[0093] As is clear from the above, the embodiments of the present application display a session page of a target session on a client, and the target session includes at least two session members. When the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation, the first stamp interaction animation is displayed on the session page, and the first stamp interaction animation includes an interaction animation between the stamps sent by at least two session members. Thereby, when the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation, the first stamp interaction animation based on the interaction performed between the stamps sent by at least two session members can be played in real time, enhancing the fun and diversity of communication interactions and greatly enhancing the diversity of image processing.
[0094] Furthermore, the embodiments of the present application can detect the relationship between the target stamp of a new session member and the stamp under the premise that the first stamp interaction animation is played, and trigger the playback of the second interaction animation, enhancing the interactive effect better and further enhancing the diversity of information processing.
[0095] To facilitate better implementation of the image processing method provided by the embodiments of this application, the embodiments of this application further provide an apparatus based on the above image processing method. Here, since the meaning of the nouns is the same as that in the above image processing method, for specific implementation details, reference can be made to the description in the method embodiments.
[0096] As shown in FIG. 5, FIG. 5 is a structural schematic diagram of an image processing apparatus provided by the embodiments of this application. Here, the image processing apparatus may include a display unit 301, a first display unit 302, etc.
[0097] The display unit 301 is used to display the session page of the target session in the client, and the target session includes at least two session members.
[0098] The first display unit 302 is used to display the first stamp interaction animation on the session page when the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation. The first stamp interaction animation includes the interaction animation between the stamps sent by the at least two session members.
[0099] In some embodiments, the first display unit 302 is used to display the first stamp interaction animation on the session page when the stamps sent by at least two session members and the stamp sending time meet the trigger condition of the first stamp interaction animation.
[0100] In some embodiments, the first display unit 302 When stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, it is used to perform a full-screen playback of the first stamp interaction animation on the session page.
[0101] In some embodiments, the first display unit 302 When stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, obtain the relevance values of the at least two session members, Determine the target display level of the first stamp interaction animation based on the relevance values, It is used to display the first stamp interaction animation corresponding to the target display level on the session page.
[0102] In some embodiments, the first display unit 302 When stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, obtain the relevance values of the at least two session members, Determine the playback time of the first stamp interaction animation based on the relevance values, It is used to display the first stamp interaction animation on the session page based on the playback time.
[0103] In some embodiments, the image processing apparatus further includes a second display unit, The second display unit is used to display the second stamp interaction animation on the session page when the target stamp sent by a new session member meets the trigger condition of the stamp and the second stamp interaction animation, the second stamp interaction animation includes the interaction animation between the stamps sent by at least two session members and the target stamp, and the new session member is a session member who is not one of the at least two session members in the target session.
[0104] In some embodiments, the second display unit is used to display the second stamp interaction animation on the session page when the target stamp sent by a new session member, the stamp, and the target stamp sending time and the stamp sending time meet the trigger condition of the second stamp interaction animation.
[0105] In some embodiments, the second display unit further is used to display the second stamp interaction animation on the session page when the target stamp sent by a new session member and the stamp meet the trigger condition of the second stamp interaction animation, and when it is detected that the playback of the first stamp interaction animation has ended, and when it is detected that the playback of the first stamp interaction animation has not ended, to overlay and display the second stamp interaction animation on the session page.
[0106] In some embodiments, the device further includes a first display unit 302 and a prompt unit. The first display unit 302 is further used to execute the step of displaying the first stamp interaction animation on the session page when the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation and when it is detected that the relationship between the session members of each pair among at least two session members is a friendship relationship. The prompt unit is used to display friend addition prompt information on the session page when the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation and when it is detected that the relationship between one pair of session members among at least two session members does not belong to a friendship relationship.
[0107] For the specific implementation of each of the above units, reference can be made to the previous embodiments, and the description will not be repeated here.
[0108] As is clear from the above, in the embodiment of the present application, the display unit 301 displays the session page of the target session in the client, the target session includes at least two session members, and the first display unit 302 displays the first stamp interaction animation on the session page when the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation. The first stamp interaction animation includes the interaction animation between the stamps sent by at least two session members. Thereby, when the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, the first stamp interaction animation based on the interaction performed between the stamps sent by at least two session members can be played in real time, enhancing the interestingness and diversity of the communication interaction and extremely greatly enhancing the diversity of the image processing.
[0109] Embodiments of the present application further provide a computer device, which may be a server or a terminal. As shown in FIG. 6, it shows a structural schematic diagram of a terminal related to the embodiments of the present application. Specifically, it is as follows.
[0110] The computer device may include components such as a radio frequency (RF) circuit 401, a memory 402 including one or more computer-readable storage media, an input unit 403, a display unit 404, a sensor 405, an audio circuit 406, a wireless fidelity (WiFi) module 407, a processor 408 including one or more processing cores, and a power supply 409. As can be understood by those skilled in the art, the terminal structure shown in FIG. 6 does not constitute a limitation on the terminal and may include more or fewer components than those shown, or some components may be combined or the arrangement of different components may be changed. Here,
[0111] Although not shown, the terminal may further include a camera, a Bluetooth (registered trademark) module, etc., which will not be repeatedly described here. Specifically, in this embodiment, the processor 408 in the terminal uploads an executable file corresponding to the process of one or more application programs to the memory 402 according to the following instructions, and executes the application programs stored in the memory 402 by the processor 408, thereby realizing various functions.
[0112] Display the session page of the target session on the client, where the target session includes at least two session members, and when the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, display the first stamp interaction animation on the session page. The first stamp interaction animation includes the interaction animation between the stamps sent by at least two session members.
[0113] In the above embodiments, the description of each embodiment has its own focus. For the parts not detailed in a certain embodiment, reference can be made to the detailed description of the above image processing method, so it will not be repeated here.
[0114] As is clear from the above, the computer device of the embodiment of the present application can display the session page of the target session on the client. The target session includes at least two session members, and when the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, display the first stamp interaction animation on the session page. The first stamp interaction animation includes the interaction animation between the stamps sent by at least two session members. Thereby, when the stamps sent by at least two session members meet the trigger conditions of the first stamp interaction animation, the first stamp interaction animation based on the interaction performed between the stamps sent by at least two session members can be played in real time, enhancing the fun and diversity of communication interactions and greatly enhancing the diversity of image processing.
[0115] As those skilled in the art can understand, all or part of the steps in the various methods of the above embodiments can be completed by a command or by controlling the related hardware by a command. The command may be stored in a computer-readable storage medium and uploaded and executed by a processor.
[0116] Therefore, the embodiments of the present application provide a computer-readable storage medium, in which a plurality of commands are stored, and the commands can be uploaded by a processor, so as to execute the steps in any one of the image processing methods provided by the embodiments of the present application. For example, the command can execute the following steps. Display the session page of the target session on the client, where the target session includes at least two session members, and when the stamps sent by at least two session members meet the trigger condition of the first stamp interaction animation, display the first stamp interaction animation on the session page, and the first stamp interaction animation includes the interaction animation between the stamps sent by the at least two session members.
[0117] According to one aspect of the present application, a computer program product or a computer program is provided. The computer program product or the computer program includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions to cause the computer device to execute the methods provided in the various implementation manners provided by the above embodiments.
[0118] For the specific implementation of each of the above operations, reference may be made to the previous embodiments, and details will not be repeated here.
[0119] Here, the computer-readable storage medium may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk, an optical disk, or the like.
[0120] The instructions stored in the computer-readable storage medium can execute the steps in any one of the image processing methods provided by the embodiments of the present application. Therefore, the beneficial effects that can be realized by any one of the image processing methods provided by the embodiments of the present application can be realized. For details, reference can be made to the previous embodiments, so they will not be repeated here.
[0121] As described above, a detailed introduction has been made to the image processing method, apparatus, and computer-readable storage medium provided by the embodiments of the present application. In this specification, specific examples are used to describe the principle and embodiments of the present application. The description of the above embodiments is only for helping to understand the method and its core idea of the present application. At the same time, for those skilled in the art, based on the idea of the present application, changes can be made in any specific embodiments and application scopes. As described above, it should be understood that the content of this specification does not limit the present application.
Description of Reference Signs
[0122] 10 Terminal 11 First Session Member 12 Second Session Member 13 First Stamp Interaction Animation 14 Second Stamp Interaction Animation 20 Server 301 Display Unit 302 First Display Unit 402 Memory 403 Input Unit 404 Display Unit 405 Sensor 406 Audio Circuit 408 Processor 409 Power Supply
Claims
1. An image processing method executed by a computer device, the method comprising: displaying a session page of a target session on a client, the target session including a plurality of session members; when at least two stamps respectively sent by at least two of the plurality of session members satisfy the trigger condition of a first stamp interaction animation, displaying the first stamp interaction animation on the session page, the first stamp interaction animation including an interaction animation between the at least two stamps respectively sent by the at least two session members; when at least two stamps respectively sent by at least two of the plurality of session members satisfy the trigger condition of a first stamp interaction animation, the step of displaying the first stamp interaction animation on the session page: including performing full-screen playback of the first stamp interaction animation on the session page.
2. The method further comprises: when a target stamp sent by a new session member and the at least two stamps satisfy the trigger condition of a second stamp interaction animation, displaying the second stamp interaction animation on the session page, the second stamp interaction animation including an interaction animation between the at least two stamps respectively sent by the at least two session members and the target stamp, the new session member being a session member other than the at least two session members in the target session.
3. When at least two stamp messages sent by at least two of the plurality of session members satisfy the trigger conditions for the first stamp interaction animation, the step of displaying the first stamp interaction animation on the session page is The method for image processing according to claim 1, comprising the step of displaying the first stamp interaction animation on the session page when at least two stamp messages sent by at least two of the plurality of session members and the sending times of the at least two stamp messages satisfy the trigger conditions for the first stamp interaction animation. **Claim 4** When the target stamp message sent by the new session member and the at least two stamp messages satisfy the trigger conditions for the second stamp interaction animation, the step of displaying the second stamp interaction animation on the session page is The method for image processing according to claim 2, comprising the step of displaying the second stamp interaction animation on the session page when the target stamp message sent by the new session member, the at least two stamp messages, the sending time of the target stamp message, and the sending times of the at least two stamp messages satisfy the trigger conditions for the second stamp interaction animation. **Claim 5** When the target stamp message sent by the new session member and the at least two stamp messages satisfy the trigger conditions for the second stamp interaction animation, the step of displaying the second stamp interaction animation on the session page is including the step of displaying the second stamp interaction animation on the session page when it is detected that the playback of the first stamp interaction animation has ended; and including the step of overlapping and displaying the second stamp interaction animation on the session page when it is detected that the playback of the first stamp interaction animation has not ended. The method for image processing according to claim 2. **Claim 6** Before the step of displaying the first stamp interaction animation on the session page when at least two stamps respectively sent by at least two session members among the plurality of session members satisfy the trigger condition of the first stamp interaction animation, further, when it is detected that the relationship between two session members among the plurality of session members is a friendship relationship, the step of executing to display the first stamp interaction animation on the session page; when it is detected that the relationship between two session members among the plurality of session members does not belong to the friendship relationship, the step of displaying friend addition prompt information on the session page, and the image processing method according to claim 1, characterized in that it includes this.
7. When at least two stamps respectively sent by at least two session members among the plurality of session members satisfy the trigger condition of the first stamp interaction animation, the step of displaying the first stamp interaction animation on the session page is the step of obtaining the relevance value of the at least two session members; the step of determining the target display level of the first stamp interaction animation based on the relevance value; the step of displaying the first stamp interaction animation corresponding to the target display level on the session page, and the image processing method according to claim 1, characterized in that it includes this.
8. When at least two stamps respectively sent by at least two session members among the plurality of session members satisfy the trigger condition of the first stamp interaction animation, the step of displaying the first stamp interaction animation on the session page is the step of obtaining the relevance value of the at least two session members; the step of determining the playback time of the first stamp interaction animation based on the relevance value; A step of displaying the first stamp interaction animation on the session page based on the playback time, and an image processing method according to claim 1, characterized in that it includes this.
9. The trigger condition includes that the at least two stamps sent by the at least two session members are the same stamp, that the relationship between the at least two stamps is a preset relationship, or that the time interval between the transmission times of the at least two stamps is within a preset time. An image processing method according to claim 1, characterized in that it includes this.
10. When the trigger condition is that the at least two stamps sent by the at least two session members are the same stamp, The first stamp interaction animation includes that at least two symbols of the same design as the at least two stamps move dynamically on the session page and come together. An image processing method according to claim 9, characterized in that it includes this.
11. An image processing apparatus, including a display unit and a first display unit, The display unit is used to display the session page of a target session in a client. The target session includes a plurality of session members. The first display unit is used to display the first stamp interaction animation on the session page when at least two stamps sent by at least two session members among the plurality of session members satisfy the trigger condition of the first stamp interaction animation. The first stamp interaction animation includes the interaction animation between the at least two stamps sent by the at least two session members respectively. The first display unit is further used to perform full-screen playback of the first stamp interaction animation on the session page when at least two stamps sent by at least two session members among the at least two session members satisfy the trigger condition of the first stamp interaction animation. An image processing apparatus, characterized in that it includes this.
12. The device further includes a second display unit, The second display unit is used to display the second stamp interaction animation on the session page when the target stamp sent by the new session member and the at least two stamps satisfy the trigger condition of the second stamp interaction animation. The second stamp interaction animation includes the interaction animation between the at least two stamps sent by the at least two session members respectively and the target stamp. The new session member is a session member who is not one of the at least two session members in the target session. The image processing apparatus according to claim 11, characterized in that.
13. The first display unit, When the at least two stamps sent by the at least two session members respectively and the transmission times of the at least two stamps satisfy the trigger condition of the first stamp interaction animation, it is used to display the first stamp interaction animation on the session page. The image processing apparatus according to claim 11 or 12, characterized in that.
14. The second display unit, When the target stamp sent by the new session member, the at least two stamps, and the transmission time of the target stamp and the transmission times of the at least two stamps satisfy the trigger condition of the second stamp interaction animation, it is used to display the second stamp interaction animation on the session page. The image processing apparatus according to claim 12, characterized in that.
15. The second display unit further, When the target stamp sent by the new session member satisfies the trigger condition of the second stamp interaction animation with the at least two stamps, and When it is detected that the playback of the first stamp interaction animation has ended, the second stamp interaction animation is displayed on the session page. When it is detected that the playback of the first stamp interaction animation has not ended, it is used to display the second stamp interaction animation overlapping on the session page. The image processing apparatus according to claim 12, characterized in that.
16. The apparatus further includes a prompt unit, When at least two stamps respectively sent by the at least two session members satisfy the trigger condition of the first stamp interaction animation, and when it is detected that the relationship between two of the plurality of session members is a friendship relationship, the first display unit is used to execute displaying the first stamp interaction animation on the session page. When at least two stamps respectively sent by the at least two session members satisfy the trigger condition of the first stamp interaction animation, and when it is detected that the relationship between two of the plurality of session members does not belong to a friendship relationship, the prompt unit is used to display friend addition prompt information on the session page. The image processing apparatus according to claim 11, characterized in that.
17. The first display unit further When at least two stamps respectively sent by the at least two session members satisfy the trigger condition of the first stamp interaction animation, obtaining the relevance value of the at least two session members; Determining the target display level of the first stamp interaction animation based on the relevance value; And displaying the first stamp interaction animation corresponding to the target display level on the session page. The image processing apparatus according to claim 11, characterized in that.
18. The first display unit further When at least two stamps respectively sent by the at least two session members satisfy the trigger condition of the first stamp interaction animation, obtaining the relevance value of the at least two session members; Determining the playback time of the first stamp interaction animation based on the relevance value; Used for displaying the first stamp interaction animation on the session page based on the playback time, the image processing apparatus according to claim 11, characterized in that.
19. The first display unit further When the trigger condition is that the at least two stamps sent by the at least two session members are the same stamp The first stamp interaction animation includes that at least two symbols of the same design as the at least two stamps move dynamically on the session page and come together, the image processing apparatus according to claim 11, characterized in that.
20. A computer program configured to cause a processor to execute the image processing method according to any one of claims 1 to 10.
21. A computer device including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the image processing method according to any one of claims 1 to 10 when executing the computer program, the computer device characterized in that.
Citation Information
Patent Citations
Providing Extended Message Elements in Electronic Communication Threads
JP2018524679A
Information processing method of IM application device and system, IM application device, terminal, and storage medium
US20140344726A1
Server, control method for server, and program
WO2014133191A1