Input method effect display method and device, electronic equipment and storage medium

CN116521023BActive Publication Date: 2026-10-09TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210080696.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-24
Publication Date
2026-10-09
Estimated Expiration
2042-01-24

AI Technical Summary

Technical Problem

[0005]本申请实施例提供了一种输入法动效的显示方法、装置、电子设备及存储介质,可用于解决相关技术中因动效显示单一而导致的人机交互体验差、客户端使用频率不高的问题,所述技术方案包括如下内容

Benefits of technology

[0024] The technical solution provided in this application embodiment triggers a publishing operation for the first input information on the information input area of ​​the display interface, and displays dynamic effects related to the first input information and the first input information on the display interface. This enables different dynamic effects to be displayed for different input information, and the displayed dynamic effects are related to the input information, making the dynamic effect display more diverse, thereby improving the human-computer interaction experience and increasing the frequency of client use.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116521023B_ABST
    Figure CN116521023B_ABST
Patent Text Reader

Abstract

The application discloses an input method dynamic effect display method and device, electronic equipment and storage medium, and belongs to the technical field of Internet. The method comprises the following steps: displaying an information input area of an input method on a display interface of a client; in response to a publishing operation on the information input area for first input information, obtaining target dynamic effect data, the target dynamic effect data being related to the first input information; and displaying a dynamic special effect corresponding to the target dynamic effect data and the first input information on the display interface. The method triggers the publishing operation for the first input information on the information input area of the display interface, displays the dynamic special effect related to the first input information and the first input information on the display interface, realizes the display of different dynamic special effects for different input information, and makes the dynamic special effect related to the input information, so that the dynamic effect display is diversified, the human-computer interaction experience is improved, and the use frequency of the client is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of Internet technology, and in particular to a method, apparatus, electronic device, and storage medium for displaying input method animation effects. Background Technology

[0002] With the continuous development of internet technology, communication between people has gradually shifted from offline and telephone communication to online communication, and input methods are an important tool for realizing online communication. Current input methods, in addition to their information input function, also have animated display functions.

[0003] In related technologies, before users input information into the client using an input method, they can first select an animated font type. The client responds to the user's input by converting the input information into the animated font type, that is, changing the font of the input information to an animated font and displaying the corresponding animated font type. For example, if the user selects a rainbow animated font, the client will display the rainbow animated font "Goodnight" in response to the user's input of "Goodnight".

[0004] In the aforementioned technology, the client displays the input information corresponding to the animated font type selected by the user. Different input information corresponds to the same animated font type, resulting in monotonous animation display, poor human-computer interaction experience, and thus reducing the frequency of client usage. Summary of the Invention

[0005] This application provides a method, device, electronic device, and storage medium for displaying input method animation effects, which can be used to solve the problems of poor human-computer interaction experience and low client usage frequency caused by the single animation effect display in related technologies. The technical solution includes the following contents.

[0006] On one hand, embodiments of this application provide a method for displaying input method animation effects, the method comprising:

[0007] Display the input area of ​​the input method on the client's display interface;

[0008] In response to a publishing operation on the information input area for the first input information, target motion effect data is acquired, the target motion effect data being related to the first input information;

[0009] The display interface shows the dynamic effects corresponding to the target animation data and the first input information.

[0010] On the other hand, embodiments of this application provide a method for displaying input method animation effects, the method comprising:

[0011] Obtain a data request sent by the client in response to a publishing operation for first input information in the information input area, the data request carrying the first input information, the information input area being the information input area of ​​the input method displayed on the display interface;

[0012] Send motion effect acquisition information for the first input information to the client. The motion effect acquisition information is used to enable the client to acquire target motion effect data and display the dynamic effect corresponding to the target motion effect data and the first input information on the display interface. The target motion effect data is related to the first input information.

[0013] On the other hand, embodiments of this application provide a display device for input method animation effects, the device comprising:

[0014] The display module is used to display the input area of ​​the input method on the client's display interface;

[0015] The acquisition module is configured to acquire target motion effect data in response to a publishing operation on the information input area for the first input information, wherein the target motion effect data is related to the first input information;

[0016] The display module is also used to display the dynamic effects corresponding to the target motion effect data and the first input information on the display interface.

[0017] On the other hand, embodiments of this application provide a display device for input method animation effects, the device comprising:

[0018] The acquisition module is used to acquire a data request sent by the client in response to a publishing operation on the information input area for the first input information. The data request carries the first input information, and the information input area is the information input area of ​​the input method displayed on the display interface.

[0019] The sending module is used to send motion effect acquisition information for the first input information to the client. The motion effect acquisition information is used to enable the client to acquire target motion effect data and display the dynamic effect corresponding to the target motion effect data and the first input information on the display interface. The target motion effect data is related to the first input information.

[0020] On the other hand, embodiments of this application provide an electronic device, which includes a processor and a memory. The memory stores at least one piece of program code, which is loaded and executed by the processor to enable the electronic device to implement any of the above-described input method animation display methods.

[0021] On the other hand, a computer-readable storage medium is also provided, wherein at least one piece of program code is stored in the computer-readable storage medium, the at least one piece of program code being loaded and executed by a processor to enable a computer to implement the display method of input method animation as described above.

[0022] On the other hand, a computer program or computer program product is also provided, wherein the computer program or computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement any of the above-mentioned input method animation display methods.

[0023] The technical solution provided in this application has at least the following beneficial effects:

[0024] The technical solution provided in this application embodiment triggers a publishing operation for the first input information on the information input area of ​​the display interface, and displays dynamic effects related to the first input information and the first input information on the display interface. This enables different dynamic effects to be displayed for different input information, and the displayed dynamic effects are related to the input information, making the dynamic effect display more diverse, thereby improving the human-computer interaction experience and increasing the frequency of client use. Attached Figure Description

[0025] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only some embodiments of this application. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0026] Figure 1 This is a schematic diagram illustrating the implementation environment of an input method animation display method provided in this application embodiment;

[0027] Figure 2 This is a flowchart illustrating a method for displaying input method animations according to an embodiment of this application;

[0028] Figure 3 This is a schematic diagram of a display interface provided in an embodiment of this application;

[0029] Figure 4 This is a schematic diagram of another display interface provided in an embodiment of this application;

[0030] Figure 5 This is a schematic diagram of yet another display interface provided in an embodiment of this application;

[0031] Figure 6 This is a schematic diagram of yet another display interface provided in an embodiment of this application;

[0032] Figure 7 This is a schematic diagram of yet another display interface provided in an embodiment of this application;

[0033] Figure 8 This is a flowchart illustrating a method for displaying input method animations according to an embodiment of this application;

[0034] Figure 9 This is an interactive schematic diagram provided in an embodiment of this application;

[0035] Figure 10 This is a schematic diagram of a motion effect display provided in an embodiment of this application;

[0036] Figure 11 This is a schematic diagram of yet another display interface provided in an embodiment of this application;

[0037] Figure 12 This is a schematic diagram of the structure of an input method animation display device provided in an embodiment of this application;

[0038] Figure 13 This is a schematic diagram of the structure of an input method animation display device provided in an embodiment of this application;

[0039] Figure 14 This is a schematic diagram of the structure of a terminal device provided in an embodiment of this application;

[0040] Figure 15 This is a schematic diagram of the structure of a server provided in an embodiment of this application. Detailed Implementation

[0041] To make the purpose, technical solution and advantages of this application clearer, the terms involved in the embodiments of this application will be explained and described first.

[0042] Client: Also known as user terminal. A client is a program that provides local services to the user; it can be understood as an application (APP) on the terminal device. Clients can support various display pages to facilitate human-computer interaction.

[0043] Server: Provides services to clients, including providing resources and storing client data.

[0044] Backend equipment: Configures the data required by the server, which is available for the server to access at any time.

[0045] The embodiments of this application will now be described in further detail with reference to the accompanying drawings.

[0046] Figure 1 This is a schematic diagram illustrating the implementation environment of an input method animation display method provided in this application embodiment, such as... Figure 1The implementation environment shown includes a terminal device 101 and a server 102. The method for displaying input method animation effects in this embodiment can be executed by the terminal device 101 or by the server 102.

[0047] Terminal device 101 can be at least one of a smartphone, game console, desktop computer, tablet computer, laptop computer, intelligent voice interaction device, smart home appliance, vehicle terminal, or aircraft. Server 102 can be a single server, a server cluster consisting of multiple servers, or any of a cloud computing platform and virtualization center; this application embodiment does not limit this. Server 102 can communicate with terminal device 101 via a wired network or wireless network. Server 102 can have functions such as data processing, data storage, and data transmission and reception; this application embodiment does not limit this.

[0048] Based on the above implementation environment, this application provides a method for displaying input method animation effects. Figure 2 Taking the flowchart of an input method animation display method provided in this application embodiment as an example, the terminal device 101 has client software related to animation display installed, and this method can be executed by the client. Figure 2 As shown, the method includes steps 201 to 203.

[0049] Step 201: Display the input area of ​​the input method on the client's display interface.

[0050] In this embodiment, the information input area is an interface area on the display screen used to input media information into the client. This information input area is the interface area of ​​the input method. The client displays a display screen, which includes the information input area of ​​the input method, so that the user can input media information in the information input area. The media information includes, but is not limited to, at least one of text, images (such as emoticons), audio (such as voice), and video. This embodiment does not limit the text; for example, the text can be text, emojis, emoticons, etc.

[0051] In this application, the embodiments are not limited to a specific display interface. For example, the display interface may be an instant messaging interface, a product evaluation interface, or an information publishing interface.

[0052] Step 202: In response to the publishing operation on the information input area for the first input information, obtain the target animation data, which is related to the first input information.

[0053] The user has entered the first input information in the information input area, and when the user clicks to publish the first input information, the client can detect the user's publishing operation on the information input area for the first input information. Optionally, the first input information includes information targeted by at least one publishing operation. For example, if the first post is "I love you" and the second post is "Good night", then the first input information is "I love you and good night".

[0054] When the client detects a user's posting action on the information input area in response to the first input information, it acquires target animation data. This target animation data can be semantically related to the first input information. For example, if the client detects a user's posting action on the information input area in response to the first input information "drink water," it acquires target animation data semantically related to "drink water," meaning it reflects the action of "drinking water." Alternatively, the target animation data can be related to the emotion expressed by the first input information. For example, if the client detects a user's posting action on the information input area in response to the first input information "joyful," it acquires target animation data related to the emotion "happiness" expressed by "joyful," meaning it reflects the emotion of "happiness." Finally, it can be related to the atmosphere expressed by the first input information. For example, if the client detects a user's posting action on the information input area in response to the first input information "welcome the New Year, set off firecrackers," it acquires target animation data related to the festive atmosphere "Chinese New Year" expressed by "welcome the New Year, set off firecrackers," meaning it reflects the atmosphere of "Chinese New Year."

[0055] Optionally, acquiring target motion effect data includes: sending a data request to the server, the data request carrying first input information; acquiring motion effect acquisition information sent by the server in response to the first input information; and acquiring target motion effect data based on the motion effect acquisition information.

[0056] In this embodiment, the client may first send a data request carrying first input information to the server. After receiving the data request, the server determines the motion effect acquisition information based on the first input information and sends the motion effect acquisition information to the client.

[0057] It is understandable that the data request may carry other information besides the first input information. For example, the data request may carry the first input information and the first client identifier of the client, so that the server can determine the motion effect acquisition information for the first input information based on the first input information and the first client identifier.

[0058] In one possible implementation, the motion effect acquisition information includes a first motion effect identifier and a motion effect download address. Acquiring target motion effect data based on the motion effect acquisition information includes: acquiring at least one second motion effect identifier from local storage; if the first motion effect identifier is different from each of the second motion effect identifiers, then acquiring target motion effect data from the database based on the motion effect download address.

[0059] In this embodiment, at least one second animation identifier and corresponding animation data for each second animation identifier are stored in the local storage. The target animation data is the animation data corresponding to the first animation identifier and related to the first input information. The target animation data can be referred to as the first animation data, and the animation data corresponding to the second animation identifier can be referred to as the second animation data. The animation identifiers (including the first animation identifier, the second animation identifier, and the third and fourth animation identifiers mentioned below) have a one-to-one correspondence with the animation data. Optionally, the animation identifier is a digest of the animation data obtained by processing it using the MD5 Message-Digest Algorithm. In this case, the animation identifier can be referred to as the MD5 of the animation data, and the MD5 of the animation data is a hexadecimal string. After receiving the first animation identifier and the animation download address sent by the server, the client first retrieves each second animation identifier from the local storage and matches the first animation identifier with each second animation identifier.

[0060] In this embodiment, the client first matches the identifier segments of the first animation identifier with the identifier segments of each second animation identifier to determine at least one third animation identifier from the second animation identifiers. The identifier segments of the third animation identifier are consistent with the identifier segments of the first animation identifier. Next, each third animation identifier is matched with the first animation identifier to determine whether a first animation identifier exists within the third animation identifier. In this embodiment, "consistent" means identical, and "inconsistent" means different.

[0061] For example, the identifier segment of the first animation identifier is the first two characters of the first animation identifier, and the identifier segment of the third animation identifier is the first two characters of the third animation identifier, and the first two characters of the first animation identifier are the same as the first two characters of the third animation identifier. The client first matches the first two characters of the first animation identifier with the first two characters of each second animation identifier to determine at least one third animation identifier from each second animation identifier. Then, each third animation identifier is matched with the first animation identifier to determine whether the first animation identifier exists in the third animation identifier.

[0062] In the above approach, the client first uses a coarse matching strategy to determine the third animation identifier from each of the second animation identifiers, and then uses a precise matching strategy to determine whether the first animation identifier exists among the third animation identifiers. This coarse and precise matching strategy can speed up the matching process and reduce the consumption of computing resources.

[0063] If the first animation identifier does not match any of the second animation identifiers, it means that the first animation identifier is not stored in local storage, and that the target animation data corresponding to the first animation identifier is not stored in local storage. At this time, the client retrieves the target animation data from the database based on the animation download address, and stores the first animation identifier and the target animation data in local storage.

[0064] It should be noted that there is a one-to-one correspondence between motion effect identifiers (including but not limited to the first motion effect identifier, the second motion effect identifier, etc.) and motion effect data. That is to say, one motion effect identifier points to a unique piece of motion effect data, and one piece of motion effect data also corresponds to a unique motion effect identifier.

[0065] Optionally, before obtaining the target animation data from the database based on the animation download address, the method further includes: determining the sum of the data volume of the animation data corresponding to at least one second animation identifier from the local storage; in response to the sum of the data volume being greater than the data volume threshold, determining the animation identifier to be cleared from at least one second animation identifier, and clearing the animation data corresponding to the animation identifier to be cleared from the local storage.

[0066] As mentioned above, the local storage contains the motion effect data corresponding to each second motion effect identifier. Therefore, the client can determine the amount of motion effect data corresponding to each second motion effect identifier, and thus determine the sum of the amounts of motion effect data corresponding to each second motion effect identifier.

[0067] If the sum of the data volume is not greater than the data volume threshold, it means that the number of animation data corresponding to the second animation identifier in the local storage is small. In this case, the target animation data is directly obtained from the database based on the animation download address, and the first animation identifier and the target animation data are stored in the local storage.

[0068] When the sum of the data volume exceeds the data volume threshold, it indicates that the number of animation data corresponding to the second animation effect identifier in local storage is too large. To prevent excessive local storage usage and impact on client smoothness, we can first determine the animation effect identifiers to be cleared from the various second animation effect identifiers in local storage, and then clear the animation data corresponding to the animation effect identifiers to be cleared from local storage. Afterwards, based on the animation download address, we retrieve the target animation data from the database and store the first animation effect identifier and the target animation data in local storage.

[0069] Optionally, each second animation identifier corresponds to at least one animation display time, which indicates the time when the client displays the animation corresponding to the second animation identifier. The most recent display time can be determined from the various display times corresponding to the second animation identifier. If the most recent display time corresponding to the second animation identifier is earlier than the reference time, then the second animation identifier is designated as an animation identifier to be cleared. If the most recent display time corresponding to the second animation identifier is not earlier than the reference time, then the second animation identifier is not designated as an animation identifier to be cleared. This application embodiment does not limit the reference time.

[0070] For example, the most recent display time corresponding to the second animation identifier A is 9:00, the most recent display time corresponding to the second animation identifier B is 11:00, and the reference time is 10:00. Since the most recent display time corresponding to the second animation identifier A is earlier than the reference time, the second animation identifier A is designated as an animation identifier to be cleared. Since the most recent display time corresponding to the second animation identifier B is not earlier than the reference time, the second animation identifier B is not designated as an animation identifier to be cleared.

[0071] It should be noted that this application does not limit the data volume threshold. For example, the data volume threshold is 10 megabytes (MB).

[0072] In one possible implementation, the motion effect acquisition information includes a first motion effect identifier, and the acquisition of target motion effect data based on the motion effect acquisition information includes: acquiring at least one second motion effect identifier from local storage; if the first motion effect identifier is the same as any second motion effect identifier, then acquiring the target motion effect data corresponding to any second motion effect identifier from local storage.

[0073] The method of obtaining at least one second motion effect identifier from local storage and matching each second motion effect identifier with the first motion effect identifier has already been introduced above, and will not be repeated here.

[0074] When the first animation identifier matches any of the second animation identifiers, it indicates that the first animation identifier is stored in local storage, and also indicates that the target animation data corresponding to the first animation identifier is stored in local storage. At this time, the client retrieves the target animation data corresponding to any of the second animation identifiers from local storage, and the target animation data corresponding to any of the second animation identifiers is the same as the target animation data corresponding to the first animation identifier.

[0075] Step 203: Display the dynamic effects corresponding to the target animation data and the first input information on the display interface.

[0076] Optionally, the display interface includes an area for displaying dynamic effects, referred to as the animation display area. The client displays the dynamic effects corresponding to the target animation data on the animation display area. This embodiment does not limit the location of the animation display area; for example, the animation display area may be located within or outside the virtual keyboard area.

[0077] Optionally, after retrieving the target animation data from the database based on the animation download address, the client only stores the first animation identifier and the target animation data in local storage, without displaying the corresponding dynamic effect on the display interface. After retrieving the target animation data corresponding to any second animation identifier from local storage, the client displays the corresponding dynamic effect on the display interface.

[0078] Optionally, based on open-source code (such as Lottie), improvements can be made to the client's storage space, such as memory reclamation and cache release, so that the client does not occupy too much input process when displaying dynamic effects corresponding to the target animation data.

[0079] The animation display area is a user interface (UI) control. This UI control can be customized based on open-source code to prevent it from responding to any touch operations. All touch operations targeting this UI control will be passed to its parent control for processing to prevent the UI control from interfering with the touch operations.

[0080] Optionally, the display interface includes an area for displaying the first input information to be published. This area is called the published information display area. In response to a publishing operation on the first input information in the information input area, the client displays the first input information in the published information display area. This embodiment does not limit the location of the published information display area.

[0081] It should be noted that the client detects the user's actions on the information input area in real time. When the user enters the first piece of information in the information input area, the client can detect the user's input action on the first piece of information. The client can respond to the user's input action on the information input area and obtain the target animation data.

[0082] When the user has entered the first input information into the input area and selected it, the client can detect this selection. At this point, the client can respond to the selection by acquiring the target animation data.

[0083] In this embodiment of the application, the client can obtain the target animation data in response to any of the input, publishing, or selection operations on the information input area for the first input information, and display the dynamic effects corresponding to the target animation data and the first input information on the display interface.

[0084] Please see Figure 3 , Figure 3 This is a schematic diagram of a display interface provided in an embodiment of this application. The interface area indicated by reference numeral 301 is the area where the first input information is displayed after it has been published; this can be referred to as the published information display area. The interface area indicated by reference numeral 302 is the information input area, and the interface area indicated by reference numeral 303 is the first functional area.

[0085] The first functional area includes several function icons. For example, first functional area 303 shows one voice function icon and four other function icons. Users can input voice by triggering the voice function icon. The other function icons can be any of the following: image function icon, camera function icon, red envelope function icon, emoticon function icon, extended function icon, etc. Users can select locally stored images by triggering the image function icon, take pictures by triggering the camera function icon, send red envelopes by triggering the red envelope function icon, select emoticons by triggering the emoticon function icon, and select functions other than those corresponding to the function icons shown in the first functional area 303 by triggering the extended function icons.

[0086] The interface area indicated by label 304 is the second functional area. Please see the following section for a description of the second functional area. Figure 4 The description will not be repeated here.

[0087] The interface area indicated by reference numeral 305 is used to display candidate information; this area is called the candidate information display area. The candidate information can be the following information after the information entered into the information input area 302, or the following information after the information displayed in the published information display area 301 after the information in the published information input area 302 has been published. For example… Figure 3 In the candidate information display area 305, the candidate information "Cover yourself well," "May you dream of me," and "Sweet dreams" are all candidate information for the information "Good night" entered into the information input area 302. The candidate information display area 305 also displays a "∨" control, which is a drop-down control that allows users to view more candidate information.

[0088] The interface area shown by label 306 is the interface area used to display the virtual keyboard, and can be called the virtual keyboard area. Figure 3The virtual keyboard shown is merely illustrative; in an application, the virtual keyboard may contain more or fewer controls. Users can input information into the information input area 302 by triggering the virtual keyboard area.

[0089] exist Figure 3 In this example, when the user inputs "Goodnight" into the information input area 302 by triggering the virtual keyboard area, "Goodnight" is displayed in the information input area 302, and the corresponding animation effect for "Goodnight" is displayed on the interface. The animation effect for "Goodnight" is shown in the interface area indicated by label 307. In this example, "Goodnight" corresponds to the first input information mentioned above, and the animation effect for "Goodnight" corresponds to the animation effect related to the first input information mentioned above.

[0090] Please see Figure 4 , Figure 4 This is a schematic diagram of another display interface provided in an embodiment of this application. The interface area indicated by reference numeral 401 is the information display area. The interface area indicated by reference numeral 402 is the third functional area, which includes four function icons: a voice function icon, an information input function icon, an emoticon function icon, and an extended function icon, from left to right. Users can input voice by triggering the voice function icon, select emoticons by triggering the emoticon function icon, and access the information input area mentioned above by triggering the extended function icon. Users can select functions other than those corresponding to the voice function icon, information input function icon, and emoticon function icon by triggering the extended function icon.

[0091] The interface area indicated by label 403 corresponds to the functional area of ​​the second functional area 304 mentioned above, and can be referred to as the fourth functional area. The fourth functional area 403 includes functions such as "AI Assisted Writing," "XXX," "XXX," "XXX," and "XXX." The interface area indicated by label 404 is the display area corresponding to the fourth functional area 403, and can be referred to as the first display area.

[0092] Users can trigger "AI-assisted writing" to automatically input information into the first display area 404. For example... Figure 4 In the interface, users can trigger "AI Assisted Writing" to automatically input "Spring is here" into the first display area 404. Users can also trigger a "Change Sentence" control to modify the automatically entered information in the first display area 404. The thick line below "AI Assisted Writing" indicates that the user has triggered it.

[0093] Here, "XXX" can be at least one of "AI Image Addition," "Fun Chat," "Translation," or "Proofreading." Users can trigger "AI Image Addition" to automatically input an image into the first display area 404. Users can trigger "Fun Chat" to chat with an intelligent robot. Users can trigger "Translation" to translate information in the first display area 404 into the target language. Users can trigger "Proofreading" to automatically proofread information in the first display area 404. The fourth functional area 403 also includes an "×" control, which is a delete control; users can trigger the delete control to hide the fourth functional area 403.

[0094] The interface area indicated by label 405 is the second functional area, which is the second functional area indicated by label 304 mentioned above. The second functional area 405 includes a drop-down control “∨”, which the user can trigger to hide the fourth functional area 403 and the first display area 404. The second functional area 405 also includes a smart control 406; after the user triggers the smart control 406, the client displays the fourth functional area 403 and the first display area 404.

[0095] The interface area labeled 407 is the fifth functional area, which includes four function icons: from left to right, an emoji icon, a virtual keyboard switching icon, a voice function icon, and a search function icon. Users can select an emoji by triggering the emoji icon. Users can switch between different types of virtual keyboards by triggering the virtual keyboard switching icon, such as switching from a 9-key Pinyin keyboard to a 26-key Pinyin keyboard. Users can input voice by triggering the voice function icon, and users can search for information by triggering the search function icon. The fifth functional area 407 also includes a drop-down control “∨”, which users can trigger to display more functions within the fifth functional area 407. The interface area labeled 408 is the virtual keyboard area.

[0096] Next, please see Figure 5 , Figure 5 This is a schematic diagram of another display interface provided in an embodiment of this application. Among them, regarding... Figure 5 The display interface can be seen in the relevant Figure 3 The descriptions of the display interfaces are identical for both, except for the virtual keyboard area. In other words, Figure 3 The virtual keyboard area 306 shown corresponds to Figure 5 The virtual keyboard area 501 is shown.

[0097] The information display area 502 includes the user's identification image 503 and the message "Goodnight" posted by the user. That is, when the user triggers the virtual keyboard area to input "Goodnight" into the information input area and clicks publish, the information display area 502 displays the user's identification image 503 and the message "Goodnight", and the display interface displays the corresponding animation effect for "Goodnight".

[0098] In one possible implementation, the method further includes: in response to a publishing operation on the first input information, acquiring a plurality of candidate information related to the first input information; displaying at least one of the candidate information on a display interface; and acquiring target motion effect data, including: in response to any candidate information among the at least one candidate information being selected, acquiring target motion effect data related to the selected candidate information.

[0099] As mentioned above, the client can detect any of the user's input, posting, or selection actions in the information input area in real time. In response to any of these actions, the client sends a data request to the server, which carries the initial input information. The server can then identify multiple candidate information related to the initial input information and send these candidate information to the client.

[0100] After receiving multiple candidate messages from the server, the client displays at least one candidate message on the display interface. Optionally, the display interface has an area for displaying candidate messages, called the candidate message display area, where the client displays at least one candidate message.

[0101] The client can detect user actions on the display interface in real time. When a user selects any candidate information on the display interface, the client can detect this selection. In response to this selection, on the one hand, the candidate information is displayed in the information input area, enabling rapid information input and improving efficiency; on the other hand, the client sends a new data request to the server, carrying the selected candidate information. To distinguish this from a data request carrying the first input information, this request can be referred to as the first data request, and the request carrying the selected candidate information as the second data request. The server can send motion effect retrieval information to the client for the selected candidate information, enabling the client to retrieve target motion effect data related to that candidate information based on this information. The method for retrieving target motion effect data related to the selected candidate information is similar to that for retrieving target motion effect data related to the first input information, and will not be elaborated further here.

[0102] Please see Figure 6 , Figure 6 This is a schematic diagram of yet another display interface provided in an embodiment of this application. (Related information) Figure 6 For a description of the display interface, please refer to the above text. Figures 3 to 5 The description of the display interface will not be repeated here.

[0103] exist Figure 6 In the display interface, the information display area 601 includes the user's identification image and the user's published information "I will not bow down for five pecks of rice". That is to say, when the user triggers the virtual keyboard area to input "I will not bow down for five pecks of rice" into the information input area and clicks publish, the information display area 601 displays the user's identification image and the user's published information "I will not bow down for five pecks of rice". At this time, the candidate information display area 602 displays the candidate information "Give me six pecks if I want" corresponding to "I will not bow down for five pecks of rice".

[0104] In one possible implementation, after displaying at least one candidate piece of information among multiple candidate pieces of information on the display interface, the method further includes: when displaying the animation corresponding to the target animation data, in response to the page-turning operation for at least one candidate piece of information on the display interface, turning the page to display other candidate pieces of information among multiple candidate pieces of information on the display interface.

[0105] When a user clicks the pagination control for displayed candidate information on the display interface, the client can detect the user's pagination operation on the display interface. In response to the pagination operation for at least one candidate piece of information on the display interface, the client determines to display the other candidate information among multiple candidate information items, excluding the at least one candidate piece of information.

[0106] Specifically, when displaying the animation corresponding to the target animation data, when the user performs a page-turning operation on the displayed candidate information on the display interface, the client responds to the page-turning operation performed on at least one candidate information on the display interface, determines to display the other candidate information among multiple candidate information except for at least one candidate information, and the client continuously displays the animation corresponding to the target animation data on the display interface.

[0107] In this embodiment, in addition to page-turning operations for at least one candidate information, there may also be at least one target operation, including but not limited to, swiping operations, long-press operations, scrolling operations, clicking operations, and double-click operations for at least one candidate information. Different target operations correspond to different display methods. For example, a long-press operation corresponds to a floating display method for candidate information, while a clicking operation corresponds to a sinking display method for candidate information. The following explanation uses a swiping operation as an example of a target operation.

[0108] When a user swipes on displayed candidate information on the screen, the client can detect the user's swipe action on the displayed candidate information. In response to a swipe action on at least one candidate information on the screen, the client determines to swipe and display other candidate information from among multiple candidate information, excluding the at least one candidate information.

[0109] Specifically, when displaying the animation corresponding to the target animation data, when the user performs a sliding operation on the displayed candidate information on the display interface, the client responds to the sliding operation on the display interface on at least one candidate information, determines to slide and display other candidate information among multiple candidate information except for at least one candidate information, and the client continuously displays the animation corresponding to the target animation data on the display interface.

[0110] In one possible implementation, the display interface includes an animation display area and a candidate information display area. The animation display area is used to display the dynamic effects corresponding to the target animation data, and the candidate information display area is used to display at least one candidate information.

[0111] In this embodiment, the area on the display interface that displays the dynamic effects corresponding to the target motion effect data can be called the motion effect display area, and the area on the display interface that displays at least one candidate information can be called the candidate information display area. The motion effect display area can completely cover the candidate information display area, or it can cover a portion of the candidate information display area.

[0112] Optionally, the animation display area can completely cover the candidate information display area and other areas, or it can cover a portion of the candidate information display area and a portion of other areas. Other areas are the areas on the display interface excluding the candidate information display area.

[0113] Please see Figure 7 , Figure 7 This is a schematic diagram of yet another display interface provided in an embodiment of this application. (Related information) Figure 7 The display interface shown can be found in the text above. Figures 3 to 6 The description of the displayed interface is omitted here. Figure 7 In the display interface shown, the animation display area 703 covers a portion of the second functional area 701 and a portion of the candidate information display area 702.

[0114] In one possible implementation, displaying dynamic effects corresponding to the target animation data on the display interface includes: displaying dynamic effects corresponding to the target duration animation data on the display interface.

[0115] This application does not limit the target duration; for example, the target duration is 15 seconds. When the client displays the dynamic effects corresponding to the target animation data on the display interface, the duration from the start time to the end time of the dynamic effects is the target duration.

[0116] In one possible implementation, after displaying the dynamic effect corresponding to the target motion data on the display interface, the method further includes: stopping the display of the dynamic effect corresponding to the target motion data in response to an input operation on the second input information.

[0117] During the process of the client displaying the dynamic effects corresponding to the target animation data on the display interface, when the user performs any of the following operations on the information input area: input, publish, or select, the client responds to that operation and stops displaying the dynamic effects corresponding to the target animation data on the display interface. The client's response to the dynamic effect operation on the second input information in the information input area is based on the same principle as the client's response to the publish operation on the first input information in the information input area, as described in step 202, and will not be repeated here.

[0118] It should be noted that, for scenarios where the client stops displaying the dynamic effect corresponding to the target animation data in response to the input operation of the second input information in the information input area, the duration between the start and end display time of the dynamic effect is less than or equal to the target duration.

[0119] In one possible implementation, there are multiple motion effect data related to the first input information; obtaining target motion effect data includes: displaying dynamic effects corresponding to multiple motion effect data related to the first input information on the information input area of ​​the display interface; in response to any dynamic effect among the dynamic effects corresponding to the multiple motion effect data being selected, taking the motion effect data corresponding to any dynamic effect as the target motion effect data.

[0120] In this embodiment, after detecting a user's posting operation on the information input area for the first input information, the client retrieves multiple animation data related to the first input information from local storage or a database, and displays the dynamic effects corresponding to the multiple animation data related to the first input information on the information input area of ​​the display interface. The client can send a data request carrying the first input information to the server, so that the server responds to the data request by sending multiple animation acquisition information for the first input information to the client. Any one of the animation acquisition information is used to acquire any one of the animation data related to the first input information. The acquisition of any one of the animation data related to the first input information based on any one of the animation acquisition information is similar to the above description of "acquiring target animation data based on animation acquisition information," and will not be repeated here.

[0121] After the client displays multiple dynamic effects corresponding to the first input information in the information input area of ​​the display interface, the user can select any dynamic effect corresponding to the dynamic effect data. When the client detects that any dynamic effect among the multiple dynamic effects corresponding to the dynamic effects data has been selected, it uses the dynamic effect data corresponding to that dynamic effect as the target dynamic effect data and displays the dynamic effect corresponding to the target dynamic effect data and the first input information on the display interface.

[0122] The above method triggers a publishing operation for the first input information on the information input area of ​​the display interface. Dynamic effects related to the first input information and the first input information are displayed on the display interface. This enables different dynamic effects to be displayed for different input information, and the displayed dynamic effects are related to the input information, making the dynamic effect display more diverse, thereby improving the human-computer interaction experience and increasing the usage frequency of the terminal device.

[0123] Based on the above implementation environment, this application provides another method for displaying input method animation effects, in order to Figure 3 The flowchart shown in this embodiment of the application illustrates a method for displaying input method animations. This method can be executed by server 102. Figure 8 As shown, the method includes steps 801 to 802.

[0124] Step 801: Obtain the data request sent by the client in response to the publishing operation of the first input information in the information input area. The data request carries the first input information. The information input area is the information input area of ​​the input method displayed on the display interface.

[0125] In this embodiment, the client can detect any one of the user's input, posting, or selection operations on the information input area regarding the first input information. In response to any one of these operations, the client sends a data request carrying the first input information to the server, so that the server receives the data request. The description of step 801 can be found in the descriptions of steps 201 and 202 above, and will not be repeated here.

[0126] Step 802: Send motion effect acquisition information for the first input information to the client. The motion effect acquisition information is used to enable the client to acquire target motion effect data and display the dynamic effect corresponding to the target motion effect data and the first input information on the display interface. The target motion effect data is related to the first input information.

[0127] In this embodiment, after receiving a data request, the server determines motion effect acquisition information for the first input information based on the first input information carried in the data request, and sends the motion effect acquisition information to the client, so that the client can acquire target motion effect data semantically related to the first input information based on the motion effect acquisition information, and display the motion effect corresponding to the target motion effect data on the display interface. A description of step 802 can be found in the descriptions of steps 202 and 203 above, and will not be repeated here.

[0128] In one possible implementation, the motion effect acquisition information includes a first motion effect identifier and a motion effect download address; before sending the motion effect acquisition information for the first input information to the client, the method further includes: determining the first motion effect identifier and the motion effect download address based on the first input information, wherein the first motion effect identifier is used to match a second motion effect identifier stored locally on the client, and the motion effect download address is used to obtain target motion effect data from the database.

[0129] In this embodiment, the server can determine a first animation identifier and an animation download address based on the first input information, and send the first animation identifier and the animation download address to the client. The client can match the first animation identifier with second animation identifiers stored locally. If the first animation identifier does not match any of the second animation identifiers, the target animation data corresponding to the first animation identifier is retrieved from the database based on the animation download address. If the first animation identifier matches any of the second animation identifiers, the target animation data corresponding to any of the second animation identifiers is retrieved from local storage. A description of the first animation identifier and the animation download address can be found in the above description of "retrieving target animation data semantically related to the first input information based on animation acquisition information," and will not be repeated here.

[0130] In one possible implementation, the data request carries a first client identifier of the client, and the determination of the first animation identifier and animation download address based on the first input information includes: in response to the existence of the first client identifier in the second client identifier stored in the database, obtaining each keyword corresponding to the first client identifier; in response to any keyword corresponding to the first client identifier matching the first input information, obtaining the first animation identifier and animation download address based on any keyword.

[0131] In this embodiment, the database stores at least one second client identifier, and the server can obtain each second client identifier from the database. The data request carries the first client identifier of the client; upon receiving the data request, the server also obtains the first client identifier. Both the first client identifier and the second client identifier can be a Universally Unique Identifier (UUID).

[0132] In one possible implementation, in response to the presence of a first client identifier in the second client identifier stored in the database, before retrieving each keyword corresponding to the first client identifier from the database, the method further includes: retrieving motion effect configuration data at target durations; parsing the motion effect configuration data to obtain parsed motion effect configuration data, the parsed motion effect configuration data including the second client identifier, the keywords corresponding to the second client identifier, the motion effect identifier corresponding to the second client identifier, and the motion effect download address corresponding to the second client identifier; and storing the parsed motion effect configuration data in the database.

[0133] In this embodiment, the server can obtain animation configuration data from a background device at target intervals. The background device can be any terminal device.

[0134] Technicians can configure animation files in the backend device. Animation files consist of two main categories: animation configuration files and matching configuration files. The animation configuration file contains the animation data corresponding to the animation, including but not limited to the animation name (which can be manually configured by technicians), animation data (which can be uploaded by technicians), and animation identifiers. The matching configuration file contains information for matching with the first client identifier and the first input information. The matching configuration file includes, but is not limited to, the second client identifier (which can be manually configured by technicians or uploaded by technicians), keywords (which can be manually configured by technicians or uploaded by technicians), constraint information, and matching modes. The constraint information ensures that each first input information corresponds to only one animation data point and cannot correspond to at least two animation data points. Matching modes include exact matching and fuzzy matching. For example, exact matching requires the first input information to be exactly the same as the keyword, while fuzzy matching only requires the first input information to contain the keyword.

[0135] After the technicians configure the animation file in the backend device, the backend device generates animation configuration data based on the animation file. Optionally, the animation configuration data can be in JavaScript Object Notation (JSON) format.

[0136] The server can trigger a self-update mechanism every target duration. In this embodiment, the target duration is not limited; for example, it is 5 minutes. After triggering the self-update mechanism, the server retrieves animation configuration data from the backend device and parses it to obtain parsed animation configuration data. Each set of animation configuration data corresponds to one set of parsed animation configuration data. Each set of parsed animation configuration data includes at least one animation identifier, an animation download address corresponding to each animation identifier, at least one keyword corresponding to each animation identifier, animation data corresponding to each animation identifier, and at least one second client identifier corresponding to each animation identifier. In other words, each set of parsed animation configuration data includes multiple correspondences, one of which is the correspondence between the second client identifier and the animation information. The animation information includes, but is not limited to, the animation identifier, the animation download address, the keyword, and the animation data.

[0137] The animation identifier corresponding to the second client identifier can be called the fourth animation identifier, and the animation data corresponding to the second client identifier can be called the third animation data. The animation download address corresponding to the first animation identifier mentioned above can be called the first animation download address, and the animation download address corresponding to the second client identifier can be called the second animation download address.

[0138] After receiving the parsed animation configuration data, the server stores the animation configuration data in the database. Since one second client identifier can correspond to multiple animation information entries—for example, one second client identifier could correspond to tens of millions of animation information entries—the server can use a hash storage method to conserve storage space. The second client identifier is used as the key, and the animation information is used as the value. This avoids wasting storage space caused by different animation information entries corresponding to many identical second client identifiers, thus saving storage space.

[0139] The server uses a self-updating mechanism to obtain animation configuration data from the backend devices in real time, parses the data, and stores the parsed animation configuration data in the database. Upon receiving a data request, the server also obtains the first client identifier and the first input information carried in the request. Additionally, the server can retrieve various second client identifiers from the database. The server matches the first client identifier with each of the second client identifiers to obtain the identifier matching results.

[0140] If the identifier matching results show that none of the second client identifiers match the first client identifier, the server determines that there is no target animation data in the database that is semantically related to the first input information. In this case, the server can send an empty message to the client, indicating that no target animation data semantically related to the first input information exists in the database. Alternatively, the server can retrieve keywords from the database and match the first input information with these keywords to obtain keyword matching results.

[0141] If the identifier matching result shows that any of the second client identifiers matches the first client identifier, the server can retrieve the keywords corresponding to any of the second client identifiers from the database. In other words, the server can retrieve the keywords corresponding to the first client identifier from the database.

[0142] Optionally, in response to the presence of a first client identifier in the second client identifier stored in the database, obtaining each keyword corresponding to the first client identifier includes: determining at least one third client identifier from the second client identifier stored in the database, wherein the identifier segment of the third client identifier is consistent with the identifier segment of the first client identifier; and in response to the presence of a first client identifier in at least one third client identifier, obtaining each keyword corresponding to the first client identifier.

[0143] The server can first match the identifier segment of the first client identifier with the identifier segments of each second client identifier to determine at least one third client identifier from among the second client identifiers, wherein the identifier segment of the third client identifier is consistent with the identifier segment of the first client identifier. Next, each third client identifier is matched with the first client identifier to determine whether the first client identifier exists among the third client identifiers.

[0144] For example, the identifier segment of the first client identifier is the first two characters of the first client identifier, and the identifier segment of the third client identifier is the first two characters of the third client identifier, and the first two characters of the first client identifier are the same as the first two characters of the third client identifier. The server first matches the first two characters of the first client identifier with the first two characters of each second client identifier to determine at least one third client identifier from each second client identifier. Then, each third client identifier is matched with the first client identifier to determine whether the first client identifier exists in the third client identifier.

[0145] In the above method, the server first uses a coarse matching strategy to determine the third client identifier from the various second client identifiers, and then uses an exact matching strategy to determine whether the first client identifier exists among the third client identifiers. This coarse and exact matching strategy can speed up the matching process and reduce the consumption of computing resources.

[0146] To improve matching efficiency by employing a strategy of first coarse matching and then precise matching, the server can use a two-layer hash storage method. For any second client identifier, both the second client identifier and the animation information are stored in the database. The two-layer hash storage method corresponds to two key-value pairs: the key of the first key-value pair is the identifier segment of the second client identifier, and the value is the second key-value pair, where the key is the second client identifier and the value is the animation information. When matching the first client identifier with the second client identifier, the server first needs to match the identifier segment of the first client identifier with the key of the first key-value pair. Only after a successful match can the server match the first client identifier with the key of the second key-value pair, thus improving matching efficiency.

[0147] When the first client identifier is present in the third client identifier, the keywords corresponding to the first client identifier are retrieved. Next, the keywords corresponding to the first client identifier are matched with the first input information to obtain the keyword matching results.

[0148] The server matches the keywords corresponding to the first client identifier with the first input information, or matches the first input information with keywords in the database, to obtain keyword matching results. If the keyword matching results show that any keyword matches the first input information, the server retrieves the first animation identifier and the animation download address corresponding to that keyword from the database. If the keyword matching results show that no keyword matches the first input information, the server determines that there is no target animation data in the database that is semantically related to the first input information, and the server can return an empty message to the client.

[0149] Optionally, when matching the first input information with each keyword, the server can first determine the matching mode. When the matching mode is exact match, if any one of the keywords exactly matches the first input information, the server determines that any one of the keywords matches the first input information; if none of the keywords exactly matches the first input information, the server determines that none of the keywords match the first input information. When the matching mode is fuzzy match, if any one of the keywords is contained within the first input information, the server determines that any one of the keywords matches the first input information; if none of the keywords are contained within the first input information, the server determines that none of the keywords match the first input information.

[0150] For example, when the matching mode is fuzzy matching, the last N characters of the first input information are matched against each keyword, where N is a positive integer. If any keyword completely matches the last N characters, it means that any keyword is contained in the first input information, and the server determines that any keyword matches the first input information. If no keyword completely matches the last N characters, it means that none of the keywords are contained in the first input information, and the server determines that none of the keywords match the first input information. The last N characters can be at least one sentence.

[0151] When determining motion effect acquisition information, the server can also use a recommendation model to extract features from the first input information. Based on the extracted features, it determines the recommendation probability of each motion effect identifier stored in the database, identifies the motion effect identifier with the highest recommendation probability as the first motion effect identifier, and obtains the download address of the corresponding motion effect identifier to obtain the motion effect acquisition information. In this case, the motion effect file only needs to contain the motion effect configuration file. The backend device generates motion effect configuration data based on the motion effect configuration file so that the server can parse the motion effect configuration data.

[0152] The above method triggers a publishing operation for the first input information on the information input area of ​​the display interface. Dynamic effects related to the first input information and the first input information are displayed on the display interface. This enables different dynamic effects to be displayed for different input information, and the displayed dynamic effects are related to the input information, making the dynamic effect display more diverse, thereby improving the human-computer interaction experience and increasing the usage frequency of the terminal device.

[0153] The above describes the method for displaying input method animation effects in this application from the perspective of method steps. The following further describes the method for displaying input method animation effects in this application from the perspective of an instant messaging scenario. In an instant messaging scenario, after a user inputs first input information into the client using an input method and clicks to publish the first input information, the client can display animation effects semantically related to the first input information.

[0154] Please see Figure 9 , Figure 9 This is an interactive schematic diagram provided in an embodiment of this application. The interactive schematic diagram includes the interaction between the client and the server, and the interaction between the server and the backend device.

[0155] Regarding the interaction between the client and the server: The client receives the publish operation for the first input information and sends a data request to the server carrying the first input information and the first client identifier. The content of the data request sent by the client to the server can be found in the description of "sending a data request to the server" above, and will not be repeated here. The server first matches the first client identifier with the second client identifier, then matches the first input information with keywords. Based on the identifier matching results and keyword matching results, the server determines the animation acquisition information from the database and sends the animation acquisition information to the client. The content of the animation acquisition information sent by the server to the client can be found in the description of step 802 above, and will not be repeated here. After receiving the animation acquisition information, the client retrieves the target animation data based on the animation acquisition information and displays the animation corresponding to the target animation data. The content of the client retrieving the target animation data and displaying the animation corresponding to the target animation data can be found in the descriptions of steps 202 and 203 above, and will not be repeated here.

[0156] Regarding the interaction between the server and the backend devices: The backend devices can obtain animation files and generate animation configuration data. The server pulls the animation configuration data at target intervals, parses the data, and stores the parsed configuration data in the database. The interaction between the server and the backend devices is described above in the section on "obtaining animation configuration data at target intervals, parsing the data, obtaining the parsed animation configuration data, and storing the parsed configuration data in the database," and will not be repeated here.

[0157] Next, please see Figure 10 , Figure 10 This is a flowchart illustrating a motion effect display process provided in an embodiment of this application. The flowchart describes the process of displaying motion effects on a client side. First, the client obtains a publish operation for the first input information and determines whether to send a data request. If it is determined not to send a data request, the process ends; if it is determined to send a data request, a data request is sent to the server. After receiving the data request, the server determines the first motion effect identifier and the motion effect download address based on the first input information and the client's first client identifier carried in the data request, and then sends the first motion effect identifier and the motion effect download address to the client.

[0158] The client receives the first animation identifier and animation download address sent by the server, and determines whether the first animation identifier is stored in local storage. If the first animation identifier is stored in local storage, branch A1 is executed; otherwise, branch A2 is executed.

[0159] Branch A1: The client determines whether there is sufficient memory and whether the screen is in portrait mode. If there is sufficient memory and the screen is in portrait mode, the animation corresponding to the first animation indicator is displayed until the display time of the animation reaches the target duration or the client receives input for the second input information. At this point, the display of the animation corresponding to the first animation indicator stops, and the process ends. If there is sufficient memory but the screen is not in portrait mode, or insufficient memory but the screen is in portrait mode, or neither sufficient memory nor the screen is in portrait mode, the process ends.

[0160] In branch A2, the client determines whether the sum of the data volumes of the motion effect data in local storage exceeds a data volume threshold. If the sum exceeds the threshold, the client first clears the motion effect data corresponding to the motion effect identifier to be cleared from local storage, and then downloads the target motion effect data based on the motion effect download address. If the sum does not exceed the threshold, the client directly downloads the target motion effect data based on the motion effect download address. After downloading the target motion effect data, the client stores the target motion effect data and the first motion effect identifier in local storage and ends the process.

[0161] In this embodiment, the animation displayed on the client corresponds to the first input information, and the candidate information displayed on the client also corresponds to the first input information. That is, different first input information corresponds to different animations, and different first input information corresponds to different candidate information.

[0162] Please see Figure 11 , Figure 11 This is a schematic diagram of another display interface provided in an embodiment of this application. Among them, regarding... Figure 11 The display interface can be seen in the relevant Figures 3 to 7 The description of the display interface will not be repeated here. Figure 11 In the display interface, the information display area 1101 includes the user's identification image and the message "I love you" posted by the user. That is, when the user triggers the virtual keyboard area to input "I love you" into the information input area and clicks "post," the information display area 1101 displays the user's identification image and the message "I love you." Additionally, the display interface shows an animation corresponding to "I love you," as shown in label 1102, and the candidate information display area 1103 displays the candidate message "I love you too."

[0163] contrast Figure 5 and Figure 11 It can be seen that, Figure 5 The message posted by the user is "Good night". The display screen shows the corresponding animation for "Good night" and also shows the corresponding candidate messages for "Good night" such as "Cover yourself in the blanket", "May you dream of me" and "Sweet dreams". Figure 11 The user posted the message "I love you," and the display showed an animation corresponding to "I love you," along with the candidate message "I love you too." This demonstrates that different user-posted messages result in different animations and candidate messages on the display. Furthermore, the animation for "Goodnight" effectively conveys the meaning of "Goodnight," and the animation for "I love you" effectively conveys the meaning of "I love you," thus enhancing the diversity of animations.

[0164] against Figures 3 to 7 , Figure 11 The displayed interface was used in a survey of 25 users. 80% of the users indicated they liked the interface, and 72% said it increased their willingness to click on candidate information and improved their motivation to input information into the client. Therefore, the input method animation display method of this embodiment can improve the human-computer interaction experience and increase the frequency of use of terminal devices.

[0165] Figure 12 The diagram shown is a structural schematic of an input method animation display device provided in an embodiment of this application. Figure 12 As shown, the device includes:

[0166] Display module 1201 is used to display the information input area of ​​the input method on the display interface of the client;

[0167] The acquisition module 1202 is used to acquire target animation data in response to a publishing operation on the information input area for the first input information, wherein the target animation data is related to the first input information;

[0168] The display module 1201 is also used to display the dynamic effects corresponding to the target motion effect data and the first input information on the display interface.

[0169] In one possible implementation, the acquisition module 1202 is used to send a data request to the server, the data request carrying first input information; acquire motion effect acquisition information sent by the server for the first input information; and acquire target motion effect data based on the motion effect acquisition information.

[0170] In one possible implementation, the motion effect acquisition information includes a first motion effect identifier and a motion effect download address. The acquisition module 1202 is used to acquire at least one second motion effect identifier from local storage. If the first motion effect identifier is different from each of the second motion effect identifiers, the target motion effect data is acquired from the database based on the motion effect download address.

[0171] In one possible implementation, the motion effect acquisition information includes a first motion effect identifier, and the acquisition module 1202 is used to acquire at least one second motion effect identifier from local storage; if the first motion effect identifier is the same as any second motion effect identifier, then the target motion effect data corresponding to any second motion effect identifier is acquired from local storage.

[0172] In one possible implementation, the device further includes:

[0173] The determination module is used to determine the sum of data volumes of at least one second motion effect identifier corresponding to motion effect data from local storage;

[0174] The clearing module is used to determine the animation identifier to be cleared from at least one second animation identifier when the sum of the data volume is greater than the data volume threshold, and to clear the animation data corresponding to the animation identifier to be cleared from the local storage.

[0175] In one possible implementation, the acquisition module 1202 is further configured to acquire multiple candidate information related to the first input information in response to a publishing operation on the information input area for the first input information.

[0176] The display module 1201 is also used to display at least one of a plurality of candidate information on a display interface;

[0177] The acquisition module 1202 is further configured to acquire target motion effect data related to the selected candidate information in response to any candidate information being selected among at least one candidate information.

[0178] In one possible implementation, the display module 1201 is further configured to, in response to a page-turning operation for at least one candidate information on the display interface, display other candidate information among multiple candidate information on the display interface when displaying the animation corresponding to the target animation data.

[0179] In one possible implementation, the display interface includes an animation display area and a candidate information display area. The animation display area is used to display the animation corresponding to the target animation data, and the candidate information display area is used to display at least one candidate information.

[0180] In one possible implementation, the display module 1201 is used to display dynamic effects corresponding to the target duration animation data on the display interface.

[0181] In one possible implementation, the display module 1201 is further configured to stop displaying the dynamic effects corresponding to the target motion effect data in response to an input operation on the information input area for the second input information.

[0182] In one possible implementation, there are multiple animation data related to the first input information; the acquisition module 1202 is used to display the dynamic effects corresponding to the multiple animation data related to the first input information on the information input area of ​​the display interface; in response to any dynamic effect among the multiple animation data being selected, the animation data corresponding to any dynamic effect is taken as the target animation data.

[0183] The aforementioned device triggers a publishing operation for the first input information on the information input area of ​​the display interface. The display interface then displays dynamic effects related to the first input information and the first input information, enabling different dynamic effects to be displayed for different input information. Furthermore, the displayed dynamic effects are related to the input information, making the dynamic effects display diverse, thereby improving the human-computer interaction experience and increasing the usage frequency of the terminal device.

[0184] It should be understood that the above Figure 12 The provided device, in implementing its functions, is only illustrated by the division of the above-described functional modules. In practical applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, and will not be repeated here.

[0185] Figure 13 The diagram shown is a structural schematic of an input method animation display device provided in an embodiment of this application. Figure 13 As shown, the device includes:

[0186] The acquisition module 1301 is used to acquire a data request sent by the client in response to the publishing operation of the first input information in the information input area. The data request carries the first input information, and the information input area is the information input area of ​​the input method displayed on the display interface.

[0187] The sending module 1302 is used to send motion effect acquisition information for the first input information to the client. The motion effect acquisition information is used to enable the client to acquire target motion effect data and display the dynamic effect corresponding to the target motion effect data and the first input information on the display interface. The target motion effect data is related to the first input information.

[0188] In one possible implementation, the motion effect acquisition information includes a first motion effect identifier and a motion effect download address; the device also includes:

[0189] The determination module is used to determine the first animation identifier and the animation download address based on the first input information. The first animation identifier is used to match the second animation identifier stored locally on the client, and the animation download address is used to obtain the target animation data from the database.

[0190] In one possible implementation, the data request carries a first client identifier of the client. The determining module is used to retrieve each keyword corresponding to the first client identifier from the database in response to the existence of the first client identifier in the second client identifier stored in the database; and in response to any keyword corresponding to the first client identifier matching the first input information, it retrieves the first animation identifier corresponding to any keyword and the animation download address corresponding to any keyword from the database.

[0191] In one possible implementation, a determining module is configured to determine at least one third client identifier from a second client identifier stored in a database, wherein the identifier segment of the third client identifier is consistent with the identifier segment of the first client identifier; in response to the presence of a first client identifier among at least one third client identifier, the module retrieves each keyword corresponding to the first client identifier from the database.

[0192] In one possible implementation, the device further includes:

[0193] The acquisition module 1301 is also used to acquire motion effect configuration data at target durations;

[0194] The parsing module is used to parse the animation configuration data to obtain the parsed animation configuration data. The parsed animation configuration data includes the second client identifier, the keyword corresponding to the second client identifier, the animation identifier corresponding to the second client identifier, and the animation download address corresponding to the second client identifier.

[0195] The storage module is used to store the parsed animation configuration data in the database.

[0196] The aforementioned device triggers a publishing operation for the first input information on the information input area of ​​the display interface. The display interface then displays dynamic effects related to the first input information and the first input information, enabling different dynamic effects to be displayed for different input information. Furthermore, the displayed dynamic effects are related to the input information, making the dynamic effects display diverse, thereby improving the human-computer interaction experience and increasing the usage frequency of the terminal device.

[0197] It should be understood that the above Figure 13The provided device, in implementing its functions, is only illustrated by the division of the above-described functional modules. In practical applications, the functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above. Furthermore, the device and method embodiments provided in the above embodiments belong to the same concept, and their specific implementation processes are detailed in the method embodiments, and will not be repeated here.

[0198] Figure 14 This illustration shows a structural block diagram of a terminal device 1400 provided in an exemplary embodiment of this application. The terminal device 1400 may be a portable mobile terminal, such as a smartphone, tablet computer, laptop computer, or desktop computer. The terminal device 1400 may also be referred to as user equipment, portable terminal, laptop terminal, desktop terminal, or other names.

[0199] Typically, terminal device 1400 includes a processor 1401 and a memory 1402.

[0200] Processor 1401 may include one or more processing cores, such as a quad-core processor, an octa-core processor, etc. Processor 1401 may be implemented using at least one hardware form selected from DSP (Digital Signal Processing), FPGA (Field-Programmable Gate Array), and PLA (Programmable Logic Array). Processor 1401 may also include a main processor and a coprocessor. The main processor, also known as a CPU (Central Processing Unit), is used to process data in the wake-up state; the coprocessor is a low-power processor used to process data in the standby state. In some embodiments, processor 1401 may integrate a GPU (Graphics Processing Unit), which is responsible for rendering and drawing the content required to be displayed on the screen. In some embodiments, processor 1401 may also include an AI (Artificial Intelligence) processor, which is used to handle computational operations related to machine learning.

[0201] The memory 1402 may include one or more computer-readable storage media, which may be non-transitory. The memory 1402 may also include high-speed random access memory and non-volatile memory, such as one or more disk storage devices or flash memory devices. In some embodiments, the non-transitory computer-readable storage media in the memory 1402 are used to store at least one instruction, which is executed by the processor 1401 to implement the input method animation display method provided in the method embodiments of this application.

[0202] In some embodiments, the terminal device 1400 may also optionally include a peripheral device interface 1403 and at least one peripheral device. The processor 1401, memory 1402, and peripheral device interface 1403 can be connected via a bus or signal line. Each peripheral device can be connected to the peripheral device interface 1403 via a bus, signal line, or circuit board. Specifically, the peripheral device includes at least one of the following: a radio frequency circuit 1404, a display screen 1405, a camera assembly 1406, an audio circuit 1407, and a power supply 1408.

[0203] Peripheral device interface 1403 can be used to connect at least one I / O (Input / Output) related peripheral device to processor 1401 and memory 1402. In some embodiments, processor 1401, memory 1402 and peripheral device interface 1403 are integrated on the same chip or circuit board; in some other embodiments, any one or two of processor 1401, memory 1402 and peripheral device interface 1403 can be implemented on separate chips or circuit boards, which is not limited in this embodiment.

[0204] The radio frequency (RF) circuit 1404 is used to receive and transmit RF (Radio Frequency) signals, also known as electromagnetic signals. The RF circuit 1404 communicates with communication networks and other communication devices via electromagnetic signals. The RF circuit 1404 converts electrical signals into electromagnetic signals for transmission, or converts received electromagnetic signals back into electrical signals. Optionally, the RF circuit 1404 includes: an antenna system, an RF transceiver, one or more amplifiers, a tuner, an oscillator, a digital signal processor, a codec chipset, a user identity module card, etc. The RF circuit 1404 can communicate with other terminals through at least one wireless communication protocol. This wireless communication protocol includes, but is not limited to: the World Wide Web, metropolitan area networks, intranets, various generations of mobile communication networks (2G, 3G, 4G, and 5G), wireless local area networks, and / or WiFi (Wireless Fidelity) networks. In some embodiments, the RF circuit 1404 may also include circuitry related to NFC (Near Field Communication), which is not limited in this application.

[0205] Display screen 1405 is used to display a UI (User Interface). This UI may include graphics, text, icons, videos, and any combination thereof. When display screen 1405 is a touch display screen, it also has the ability to collect touch signals on or above its surface. These touch signals can be input as control signals to processor 1401 for processing. In this case, display screen 1405 can also be used to provide virtual buttons and / or a virtual keyboard, also known as soft buttons and / or a soft keyboard. In some embodiments, there may be one display screen 1405, disposed on the front panel of terminal device 1400; in other embodiments, there may be at least two display screens, disposed on different surfaces of terminal device 1400 or in a folded design; in still other embodiments, display screen 1405 may be a flexible display screen, disposed on a curved or folded surface of terminal device 1400. Furthermore, display screen 1405 may also be configured as a non-rectangular, irregular shape, i.e., a non-rectangular screen. The display screen 1405 can be made of materials such as LCD (Liquid Crystal Display) and OLED (Organic Light-Emitting Diode).

[0206] The camera assembly 1406 is used to acquire images or videos. Optionally, the camera assembly 1406 includes a front-facing camera and a rear-facing camera. Typically, the front-facing camera is located on the front panel of the terminal, and the rear-facing camera is located on the back of the terminal. In some embodiments, there are at least two rear-facing cameras, which are any one of a main camera, a depth-sensing camera, a wide-angle camera, and a telephoto camera, to achieve background blurring by fusion of the main camera and the depth-sensing camera, panoramic shooting by fusion of the main camera and the wide-angle camera, VR (Virtual Reality) shooting, or other fusion shooting functions. In some embodiments, the camera assembly 1406 may also include a flash. The flash can be a single-color temperature flash or a dual-color temperature flash. A dual-color temperature flash refers to a combination of a warm-light flash and a cool-light flash, which can be used for light compensation at different color temperatures.

[0207] The audio circuit 1407 may include a microphone and a speaker. The microphone is used to collect sound waves from the user and the environment, converting the sound waves into electrical signals that are input to the processor 1401 for processing, or input to the radio frequency circuit 1404 to achieve voice communication. For stereo sound acquisition or noise reduction purposes, there may be multiple microphones, each located at a different part of the terminal device 1400. The microphone may also be an array microphone or an omnidirectional microphone. The speaker is used to convert electrical signals from the processor 1401 or the radio frequency circuit 1404 into sound waves. The speaker may be a conventional diaphragm speaker or a piezoelectric ceramic speaker. When the speaker is a piezoelectric ceramic speaker, it can convert electrical signals not only into audible sound waves but also into inaudible sound waves for purposes such as distance measurement. In some embodiments, the audio circuit 1407 may also include a headphone jack.

[0208] Power supply 1408 is used to power the various components in terminal device 1400. Power supply 1408 can be AC ​​power, DC power, a disposable battery, or a rechargeable battery. When power supply 1408 includes a rechargeable battery, the rechargeable battery can be a wired rechargeable battery or a wireless rechargeable battery. A wired rechargeable battery is a battery that is charged via a wired line, and a wireless rechargeable battery is a battery that is charged via a wireless coil. The rechargeable battery can also be used to support fast charging technology.

[0209] In some embodiments, the terminal device 1400 further includes one or more sensors 1409. The one or more sensors 1409 include, but are not limited to: an accelerometer 1411, a gyroscope 1412, a pressure sensor 1413, an optical sensor 1414, and a proximity sensor 1415.

[0210] Accelerometer 1411 can detect the magnitude of acceleration along the three coordinate axes of a coordinate system established by terminal device 1400. For example, accelerometer 1411 can be used to detect the components of gravitational acceleration along the three coordinate axes. Processor 1401 can control display screen 1405 to display the user interface in either a landscape or portrait view based on the gravitational acceleration signal acquired by accelerometer 1411. Accelerometer 1411 can also be used for games or for acquiring user motion data.

[0211] The gyroscope sensor 1412 can detect the orientation and rotation angle of the terminal device 1400. The gyroscope sensor 1412 can work in conjunction with the accelerometer sensor 1411 to collect 3D motion data from the user on the terminal device 1400. Based on the data collected by the gyroscope sensor 1412, the processor 1401 can perform the following functions: motion sensing (e.g., changing the UI based on the user's tilt), image stabilization during shooting, game control, and inertial navigation.

[0212] The pressure sensor 1413 can be disposed on the side bezel of the terminal device 1400 and / or on the lower layer of the display screen 1405. When the pressure sensor 1413 is disposed on the side bezel of the terminal device 1400, it can detect the user's grip signal on the terminal device 1400, and the processor 1401 can perform left / right hand recognition or quick operation based on the grip signal collected by the pressure sensor 1413. When the pressure sensor 1413 is disposed on the lower layer of the display screen 1405, the processor 1401 can control the operable controls on the UI interface based on the user's pressure operation on the display screen 1405. The operable controls include at least one of button controls, scroll bar controls, icon controls, and menu controls.

[0213] Optical sensor 1414 is used to collect ambient light intensity. In one embodiment, processor 1401 can control the display brightness of display screen 1405 based on the ambient light intensity collected by optical sensor 1414. Specifically, when the ambient light intensity is high, the display brightness of display screen 1405 is increased; when the ambient light intensity is low, the display brightness of display screen 1405 is decreased. In another embodiment, processor 1401 can also dynamically adjust the shooting parameters of camera assembly 1406 based on the ambient light intensity collected by optical sensor 1414.

[0214] The proximity sensor 1415, also known as a distance sensor, is typically located on the front panel of the terminal device 1400. The proximity sensor 1415 is used to detect the distance between the user and the front of the terminal device 1400. In one embodiment, when the proximity sensor 1415 detects that the distance between the user and the front of the terminal device 1400 is gradually decreasing, the processor 1401 controls the display screen 1405 to switch from a screen-on state to a screen-off state; when the proximity sensor 1415 detects that the distance between the user and the front of the terminal device 1400 is gradually increasing, the processor 1401 controls the display screen 1405 to switch from a screen-off state to a screen-on state.

[0215] Those skilled in the art will understand that Figure 14 The structure shown does not constitute a limitation on the terminal device 1400, and may include more or fewer components than shown, or combine certain components, or use different component arrangements.

[0216] Figure 15 This is a schematic diagram of the server structure provided in the embodiments of this application. The server 1500 can vary considerably due to different configurations or performance. It may include one or more processors 1501 and one or more memories 1502. The one or more memories 1502 store at least one line of program code, which is loaded and executed by the one or more processors 1501 to implement the input method animation display method provided in the above-described method embodiments. For example, the processor 1501 is a CPU. Of course, the server 1500 may also have wired or wireless network interfaces, a keyboard, and input / output interfaces for input and output. The server 1500 may also include other components for implementing device functions, which will not be elaborated here.

[0217] In an exemplary embodiment, a computer-readable storage medium is also provided, which stores at least one piece of program code, which is loaded and executed by a processor to enable an electronic device to implement any of the above-described input method animation display methods.

[0218] Optionally, the aforementioned computer-readable storage medium may be a read-only memory (ROM), a random access memory (RAM), a compact disc read-only memory (CD-ROM), magnetic tape, floppy disk, and optical data storage device, etc.

[0219] In an exemplary embodiment, a computer program or computer program product is also provided, which stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement any of the above-described input method animation display methods.

[0220] It should be understood that "multiple" as used in this article refers to two or more. "And / or" describes the relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent: A alone, A and B simultaneously, or B alone. The character " / " generally indicates that the preceding and following related objects have an "or" relationship.

[0221] The sequence numbers of the embodiments in this application are for descriptive purposes only and do not represent the superiority or inferiority of the embodiments.

[0222] The above description is merely an exemplary embodiment of this application and is not intended to limit this application. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this application should be included within the protection scope of this application.

Claims

1. A method for displaying input method animation effects, characterized in that, The method includes: The information input area of ​​the input method is displayed on the client's display interface. The information input area is the interface area on the display interface used to input media information into the client. In response to a publishing operation on the information input area for the first input information, target motion effect data is acquired, the target motion effect data being related to the first input information; The animation display area on the display interface displays the dynamic effects corresponding to the target animation data, and the publishing information display area on the display interface displays the first input information. In response to an input operation for the second input information, the display of the dynamic effects corresponding to the target animation data is stopped.

2. The method according to claim 1, characterized in that, The acquisition of target motion effect data includes: Send a data request to the server, the data request carrying the first input information; Obtain the animation acquisition information sent by the server for the first input information; The target motion effect data is obtained based on the motion effect acquisition information.

3. The method according to claim 2, characterized in that, The motion effect acquisition information includes a first motion effect identifier and a motion effect download address. The step of acquiring the target motion effect data based on the motion effect acquisition information includes: Retrieve at least one second motion effect identifier from local storage; If the first animation identifier is different from each of the second animation identifiers, then the target animation data is obtained from the database based on the animation download address.

4. The method according to claim 3, characterized in that, Before retrieving the target animation data from the database based on the animation download address, the process also includes: The sum of the data amounts of the motion effect data corresponding to the at least one second motion effect identifier determined from the local storage; If the sum of the data amounts is greater than a data amount threshold, then a motion effect identifier to be cleared is determined from the at least one second motion effect identifier, and the motion effect data corresponding to the motion effect identifier to be cleared is cleared from the local storage.

5. The method according to claim 2, characterized in that, The motion effect acquisition information includes a first motion effect identifier, and the step of acquiring the target motion effect data based on the motion effect acquisition information includes: Retrieve at least one second motion effect identifier from local storage; If the first motion effect identifier is the same as any of the second motion effect identifiers, then the target motion effect data corresponding to any of the second motion effect identifiers is retrieved from the local storage.

6. The method according to claim 1, characterized in that, The method further includes: In response to a publishing operation on the first input information, multiple candidate information related to the first input information are obtained; At least one candidate piece of information from the plurality of candidate pieces of information is displayed on the display interface; The acquisition of target motion effect data includes: In response to the selection of any candidate information among the at least one candidate information, target motion effect data related to the selected candidate information is obtained.

7. The method according to claim 6, characterized in that, After displaying at least one of the plurality of candidate information on the display interface, the method further includes: When displaying the dynamic effects corresponding to the target animation data, in response to the page-turning operation for the at least one candidate information on the display interface, other candidate information among the plurality of candidate information is displayed on the display interface.

8. The method according to claim 6 or 7, characterized in that, The display interface also includes a candidate information display area, which is used to display the at least one candidate information.

9. The method according to claim 1, characterized in that, The number of motion effect data related to the first input information is multiple; obtaining the target motion effect data includes: On the information input area of ​​the display interface, dynamic effects corresponding to multiple motion effect data related to the first input information are displayed; In response to the selection of any dynamic effect among the multiple dynamic effects corresponding to the dynamic effects data, the dynamic effect data corresponding to the selected dynamic effect is taken as the target dynamic effect data.

10. A method for displaying input method animation effects, characterized in that, The method includes: The client responds to a data request sent in response to a publishing operation for first input information in an information input area. The data request carries the first input information. The information input area is the information input area of ​​the input method displayed on the client's display interface. The information input area is used to input media information into the interface area of ​​the client. The system sends motion effect acquisition information to the client for the first input information. The motion effect acquisition information is used to enable the client to acquire target motion effect data. The system displays the dynamic effect corresponding to the target motion effect data in the motion effect display area on the display interface and displays the first input information in the publishing information display area on the display interface. In response to the input operation for the second input information, the system stops displaying the dynamic effect corresponding to the target motion effect data. The target motion effect data is related to the first input information.

11. The method according to claim 10, characterized in that, The motion effect acquisition information includes a first motion effect identifier and a motion effect download address; Before sending the motion effect acquisition information for the first input information to the client, the method further includes: Based on the first input information, the first animation identifier and the animation download address are determined. The first animation identifier is used to match the second animation identifier stored locally on the client. The animation download address is used to obtain the target animation data from the database.

12. The method according to claim 11, characterized in that, The data request carries a first client identifier of the client, and the step of determining the first animation identifier and the animation download address based on the first input information includes: In response to the presence of the first client identifier in the second client identifier stored in the database, the keywords corresponding to the first client identifier are retrieved from the database. In response to any keyword corresponding to the first client identifier matching the first input information, the first animation identifier corresponding to the first keyword and the animation download address corresponding to the first keyword are obtained from the database.

13. The method according to claim 12, characterized in that, In response to the presence of the first client identifier in the second client identifier stored in the database, the keywords corresponding to the first client identifier are retrieved from the database, including: At least one third client identifier is determined from the second client identifiers stored in the database, wherein the identifier segment of the third client identifier is consistent with the identifier segment of the first client identifier; In response to the presence of the first client identifier among the at least one third client identifier, the keywords corresponding to the first client identifier are retrieved from the database.

14. The method according to claim 12, characterized in that, Before retrieving the keywords corresponding to the first client identifier from the database in response to the presence of the first client identifier in the second client identifier stored in the database, the method further includes: Get animation configuration data at target durations; The motion effect configuration data is parsed to obtain parsed motion effect configuration data, which includes the second client identifier, the keyword corresponding to the second client identifier, the motion effect identifier corresponding to the second client identifier, and the motion effect download address corresponding to the second client identifier. The parsed animation configuration data is stored in the database.

15. A display device for input method animation effects, characterized in that, The device includes: The display module is used to display the information input area of ​​the input method on the display interface of the client. The information input area is the interface area on the display interface used to input media information into the client. The acquisition module is configured to acquire target motion effect data in response to a publishing operation on the information input area for the first input information, wherein the target motion effect data is related to the first input information; The display module is further configured to display the dynamic effects corresponding to the target animation data in the animation display area on the display interface and to display the first input information in the release information display area on the display interface; and to stop displaying the dynamic effects corresponding to the target animation data in response to an input operation for the second input information.

16. The apparatus according to claim 15, characterized in that, The acquisition module is used to send a data request to the server, the data request carrying the first input information; Obtain the animation acquisition information sent by the server for the first input information; The target motion effect data is obtained based on the motion effect acquisition information.

17. The apparatus according to claim 16, characterized in that, The motion effect acquisition information includes a first motion effect identifier and a motion effect download address. The acquisition module is used to acquire at least one second motion effect identifier from local storage. If the first animation identifier is different from each of the second animation identifiers, then the target animation data is obtained from the database based on the animation download address.

18. The apparatus according to claim 17, characterized in that, The device further includes: The determining module is used to determine the sum of the data volume of the motion effect data corresponding to the at least one second motion effect identifier from the local storage; The clearing module is configured to, in response to the sum of the data volume being greater than a data volume threshold, determine the animation effect identifier to be cleared from the at least one second animation effect identifier, and clear the animation data corresponding to the animation effect identifier to be cleared from the local storage.

19. The apparatus according to claim 16, characterized in that, The motion effect acquisition information includes a first motion effect identifier, and the acquisition module is used to acquire at least one second motion effect identifier from local storage; If the first motion effect identifier is the same as any of the second motion effect identifiers, then the target motion effect data corresponding to any of the second motion effect identifiers is retrieved from the local storage.

20. The apparatus according to claim 15, characterized in that, The acquisition module is further configured to acquire multiple candidate information related to the first input information in response to a publishing operation on the first input information; The display module is also used to display at least one of the plurality of candidate information on the display interface; The acquisition module is configured to acquire target motion effect data related to the selected candidate information in response to any candidate information being selected among the at least one candidate information.

21. The apparatus according to claim 20, characterized in that, The display module is further configured to, when displaying the dynamic effects corresponding to the target animation data, respond to a page-turning operation on the display interface for the at least one candidate information, and page-turn to display other candidate information among the plurality of candidate information on the display interface.

22. The apparatus according to claim 20 or 21, characterized in that, The display interface also includes a candidate information display area, which is used to display the at least one candidate information.

23. The apparatus according to claim 15, characterized in that, The number of motion effect data related to the first input information is multiple; the acquisition module is used to display dynamic effects corresponding to the multiple motion effect data related to the first input information on the information input area of ​​the display interface. In response to the selection of any dynamic effect among the multiple dynamic effects corresponding to the dynamic effects data, the dynamic effect data corresponding to the selected dynamic effect is taken as the target dynamic effect data.

24. A display device for input method animation effects, characterized in that, The device includes: The acquisition module is used to acquire a data request sent by the client in response to a publishing operation for first input information in the information input area. The data request carries the first input information. The information input area is the information input area of ​​the input method displayed on the client's display interface. The information input area is used to input media information into the interface area of ​​the client. The sending module is used to send motion effect acquisition information for the first input information to the client. The motion effect acquisition information is used to enable the client to acquire target motion effect data, display the dynamic effect corresponding to the target motion effect data in the motion effect display area on the display interface, and display the first input information in the publishing information display area on the display interface. In response to the input operation for the second input information, the display of the dynamic effect corresponding to the target motion effect data is stopped. The target motion effect data is related to the first input information.

25. The apparatus according to claim 24, characterized in that, The motion effect acquisition information includes a first motion effect identifier and a motion effect download address; The device further includes: The determining module is used to determine the first animation identifier and the animation download address based on the first input information. The first animation identifier is used to match the second animation identifier stored locally on the client. The animation download address is used to obtain the target animation data from the database.

26. The apparatus according to claim 25, characterized in that, The data request carries a first client identifier of the client. The determining module is used to retrieve each keyword corresponding to the first client identifier from the database in response to the existence of the first client identifier in the second client identifier stored in the database; and to retrieve the first animation identifier corresponding to the first client identifier and the animation download address corresponding to the first keyword from the database in response to any keyword corresponding to the first client identifier matching the first input information.

27. The apparatus according to claim 26, characterized in that, The determining module is configured to determine at least one third client identifier from the second client identifiers stored in the database, wherein the identifier segment of the third client identifier is consistent with the identifier segment of the first client identifier; In response to the presence of the first client identifier among the at least one third client identifier, the keywords corresponding to the first client identifier are retrieved from the database.

28. The apparatus according to claim 26, characterized in that, The acquisition module is also used to acquire motion effect configuration data at target durations; The device further includes: The parsing module is used to parse the motion effect configuration data to obtain parsed motion effect configuration data, which includes the second client identifier, the keyword corresponding to the second client identifier, the motion effect identifier corresponding to the second client identifier, and the motion effect download address corresponding to the second client identifier. The storage module is used to store the parsed animation configuration data in the database.

29. An electronic device, characterized in that, The electronic device includes a processor and a memory, the memory storing at least one piece of program code, which is loaded and executed by the processor to enable the electronic device to implement the input method animation display method as described in any one of claims 1 to 14.

30. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one piece of program code, which is loaded and executed by a processor to enable the computer to implement the method for displaying input method animations as described in any one of claims 1 to 14.

31. A computer program product, characterized in that, The computer program product stores at least one computer instruction, which is loaded and executed by a processor to enable the computer to implement the display method of input method animation as described in any one of claims 1 to 14.

Citation Information

Patent Citations

  • Method and apparatus for displaying expression

    CN104125139A

  • Message reply method and device, terminal and storage medium

    CN112118169A