Expression processing method, device and medium
By introducing a synthesis interface into the expression processing method, users can quickly select and adjust expressions, solving the problem of low efficiency in Emoji expression synthesis and improving the accuracy and efficiency of synthesis results.
Patent Information
- Application Number
- CN201910810776.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2019-08-29
- Publication Date
- 2024-10-29
- Estimated Expiration
- 2040-04-23
AI Technical Summary
The efficiency of the user's synthesis of multiple Emoji expressions in the input box is low, and if the synthesis result is not satisfactory, the user needs to reselect the expression, which affects efficiency.
Provides an expression processing method, including displaying a synthesis interface, including a preview area, a category switching area and a category expression display area. Users can quickly select and adjust expressions on this interface, display the synthesis results and re-select when they are not satisfied, saving editing operations. .
It improves the efficiency and accuracy of expression synthesis, reduces the user's editing operations in the input control, and enhances the accuracy of the synthesis results.
Smart Images

Figure CN112445348B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of computer technology, and in particular to an expression processing method, an expression processing device, an expression processing device and a machine-readable medium. Background Art
[0002] With the popularization and development of computer technology and Internet technology, applications can meet the needs of users to express themselves through emoticons. For example, applications can support the function of inputting Emoji (emoji) emoticons. Emoji emoticons are special characters that the operating system can automatically convert into emoticon images for display. The categories of Emoji emoticons can be diverse. For example, the categories of Emoji emoticons can include: avatars, tops, pants, and skirts.
[0003] Currently, it is possible to support the synthesis of multiple Emoji expressions. Taking the synthesis of human images as an example, you can first find the corresponding Emoji expressions in different category interfaces and select them to output the corresponding multiple Emoji expressions into the input box; then edit the multiple Emoji expressions in the input box to arrange the multiple Emoji expressions into human images.
[0004] The inventors found in the process of implementing the embodiments of the present invention that it takes a lot of time for users to edit multiple Emoji expressions in the input box, resulting in low synthesis efficiency of Emoji expressions. Moreover, after the editing is completed, that is, multiple Emoji expressions are arranged into character images, if the user is not satisfied with the arranged character images, he needs to re-select a satisfactory Emoji expression in the category interface, which further affects the synthesis efficiency of Emoji expressions. Summary of the invention
[0005] The embodiments of the present invention provide an expression processing method, an expression processing device, an apparatus for expression processing, and a machine-readable medium, which can improve the synthesis efficiency of expressions and improve the accuracy of synthesis results.
[0006] In order to solve the above problem, an embodiment of the present invention discloses an expression processing method, comprising:
[0007] Displaying a synthesis interface; the synthesis interface includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display the expression corresponding to the switched expression category; the preview area is used to display the synthesis results corresponding to the expressions of different expression categories;
[0008] Determine the corresponding positions of multiple expressions included in the synthesis result in the input control; the synthesis result includes: the synthesis result obtained through the synthesis interface;
[0009] The synthesis result is displayed in the input control according to the position.
[0010] On the other hand, an embodiment of the present invention discloses an expression processing device, including:
[0011] The synthesis interface display module is used to display the synthesis interface; the synthesis interface includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display the expression corresponding to the switched expression category; the preview area is used to display the synthesis results corresponding to the expressions of different expression categories;
[0012] A position determination module, used to determine the positions of the multiple expressions included in the synthesis result in the input control; the synthesis result includes: the synthesis result obtained through the synthesis interface;
[0013] A synthesis result display module is used to display the synthesis result in the input control according to the position.
[0014] In another aspect, an embodiment of the present invention discloses a device for expression processing, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations:
[0015] Displaying a synthesis interface; the synthesis interface includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display the expression corresponding to the switched expression category; the preview area is used to display the synthesis results corresponding to the expressions of different expression categories;
[0016] Determine the corresponding positions of multiple expressions included in the synthesis result in the input control; the synthesis result includes: the synthesis result obtained through the synthesis interface;
[0017] The synthesis result is displayed in the input control according to the position.
[0018] On the other hand, an embodiment of the present invention discloses one or more machine-readable media having instructions stored thereon, which, when executed by one or more processors, enable a device to execute one or more of the aforementioned expression processing methods.
[0019] The embodiments of the present invention include the following advantages:
[0020] The synthesis interface of the embodiment of the present invention specifically includes: a preview area, a category switching area and a category expression display area; the above-mentioned category switching area is used to switch between different expression categories, and the above-mentioned category expression display area is used to display the expression corresponding to the switched expression category. The above-mentioned category switching area can trigger the rapid display of different category expression display areas, thereby realizing the rapid selection of expressions of different expression categories in the synthesis result.
[0021] The above-mentioned preview area is used to display the synthesis results corresponding to expressions of different expression categories. After the user selects expressions of different expression categories, the above-mentioned preview area can display the synthesis results corresponding to the selected expressions of different expression categories. The synthesis results can be presented to the user before outputting the synthesis results to the input control. If the user is not satisfied with the synthesis results, the corresponding expression can be reselected in the category expression display area, thereby improving the accuracy of the synthesis results.
[0022] Furthermore, before displaying the synthesis result in the input control, the embodiment of the present invention predetermines the corresponding positions of the multiple expressions included in the synthesis result in the input control, which can save the user's editing operations in the input control and thus improve the synthesis efficiency of the expression. BRIEF DESCRIPTION OF THE DRAWINGS
[0023] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the accompanying drawings required for use in the description of the embodiments of the present invention will be briefly introduced below. Obviously, the accompanying drawings in the following description are only some embodiments of the present invention. For ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without paying creative labor.
[0024] Figure 1 is a flowchart of steps of an embodiment of an expression processing method of the present invention;
[0025] Figure 2 is a structural block diagram of an embodiment of an expression processing device of the present invention;
[0026] Figure 3 is a block diagram of an apparatus 900 for expression processing of the present invention; and
[0027] Figure 4 It is a schematic diagram of the structure of the server in some embodiments of the present invention. DETAILED DESCRIPTION
[0028] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0029] An embodiment of the present invention provides an expression processing solution, which may include: displaying a synthesis interface; the synthesis interface specifically includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display expressions corresponding to the switched expression categories; the preview area is used to display synthesis results corresponding to expressions of different expression categories; determining the corresponding positions of multiple expressions included in the synthesis result in an input control; the synthesis result specifically includes: the synthesis result obtained through the synthesis interface; and, based on the above position, displaying the above synthesis result in the above input control.
[0030] The synthesis interface of the embodiment of the present invention is used to synthesize expressions of different expression categories to obtain a desired synthesis result.
[0031] The synthesis interface of the embodiment of the present invention specifically includes: a preview area, a category switching area and a category expression display area; the above-mentioned category switching area is used to switch between different expression categories, and the above-mentioned category expression display area is used to display the expression corresponding to the switched expression category. The above-mentioned category switching area can trigger the rapid display of different category expression display areas, thereby realizing the rapid selection of expressions of different expression categories in the synthesis result.
[0032] The above-mentioned preview area is used to display the synthesis results corresponding to expressions of different expression categories. After the user selects expressions of different expression categories, the above-mentioned preview area can display the synthesis results corresponding to the selected expressions of different expression categories. The synthesis results can be presented to the user before outputting the synthesis results to the input control. If the user is not satisfied with the synthesis results, the corresponding expression can be reselected in the category expression display area, thereby improving the accuracy of the synthesis results.
[0033] Furthermore, before displaying the synthesis result in the input control, the embodiment of the present invention predetermines the corresponding positions of the multiple expressions included in the synthesis result in the input control, which can save the user's editing operations in the input control and thus improve the synthesis efficiency of the expression.
[0034] In the embodiment of the present invention, the type of expression can be Emoji type, character expression or picture expression, etc. One purpose of the embodiment of the present invention is to improve the synthesis efficiency of expressions and improve the accuracy of synthesis results. Any expression that supports synthesis is within the protection scope of the embodiment of the present invention, that is, the embodiment of the present invention does not limit the specific expression.
[0035] In the embodiment of the present invention, the types of synthesis results may include: human images, animal images, cartoon images, etc. It can be understood that the embodiment of the present invention does not limit the specific types of synthesis results.
[0036] In the embodiment of the present invention, the input method program can be run on an intelligent terminal, which specifically includes but is not limited to: a smart phone, a tablet computer, an e-book reader, an MP3 (Moving Picture Experts Group Audio Layer III) player, an MP4 (Moving Picture Experts Group Audio Layer IV) player, a laptop computer, a car computer, a desktop computer, a set-top box, a smart TV, a wearable device, etc. The operating system installed in the above-mentioned intelligent terminal may include: IOS, Android, Windows, Linux, etc. It can be understood that the embodiment of the present invention does not limit the specific operating system installed in the intelligent terminal.
[0037] Method Embodiment
[0038] Reference Figure 1 , shows a flowchart of steps of an embodiment of an expression processing method of the present invention, which may specifically include:
[0039] Step 101, displaying a synthesis interface; the synthesis interface may include: a preview area, a category switching area, and a category expression display area;
[0040] The above-mentioned category switching area is used to switch between different expression categories; the above-mentioned category expression display area is used to display the expression corresponding to the switched expression category; the above-mentioned preview area is used to display the synthesis results corresponding to the expressions of different expression categories;
[0041] Step 102, determining the corresponding positions of the multiple expressions included in the synthesis result in the input control; the above synthesis result specifically includes: the synthesis result obtained through the above synthesis interface;
[0042] Step 103: Display the synthesis result in the input control according to the position.
[0043] In step 101, the embodiment of the present invention does not limit the specific positions of the preview area, the category switching area, and the category expression display area in the synthesis interface.
[0044] According to an embodiment, the preview area and the category switching area are located on the left side of the synthesis interface, and the category expression display area is located on the right side of the synthesis interface. Optionally, the category switching area is located on the lower left side, and the preview area is located on the upper part of the category switching area.
[0045] According to another embodiment, the preview area is located on the left side of the synthesis interface, and the category expression display area and the category switching area are located on the right side of the synthesis interface. Optionally, the category switching area is located on the lower right side, and the category expression display area is located on the upper part of the category switching area.
[0046] In the embodiment of the present invention, the category switching area may optionally include: options corresponding to the expression categories, and different expression categories may correspond to different options. In this way, the expressions in the category expression display area may be updated as the options are updated.
[0047] In an optional embodiment of the present invention, the above expression categories include: head categories and body categories. The head categories and body categories can be used for the combination of human images or animal images. The head category can include: avatars, headwear, etc. The body category can include: tops, bottoms, shoes, etc. It can be understood that a category can be set for the body category, or the body category can be further divided into categories such as tops, bottoms, shoes, etc.
[0048] The embodiment of the present invention can display a synthetic interface in response to a trigger operation. The type of the trigger operation may include: a touch type, a voice type, a gesture type, etc. The touch type may include: a sliding operation, a single click operation, a double click operation, etc.
[0049] Optionally, the displaying of the synthesis interface specifically includes: displaying the synthesis interface in response to a triggering operation on a synthesis entry; the synthesis entry is located in a synthesis result interface, and the synthesis result interface includes: a plurality of synthesis results.
[0050] The embodiment of the present invention can display several synthesis results for the user to choose through the synthesis result interface. If the user is not satisfied with the synthesis result in the synthesis result interface, or if the user has a need for other synthesis results in addition to the synthesis result in the synthesis result interface, the synthesis entrance in the synthesis result interface can be triggered to trigger the display of the synthesis interface. Optionally, the synthesis entrance may include: adding controls, etc. It can be understood that the embodiment of the present invention does not limit the synthesis entrance of the spinous process.
[0051] In the embodiment of the present invention, optionally, if a selection operation for a synthesis result in the synthesis result interface is received, the selection order of the synthesis results can be determined according to the selection operation. The selection operation can be a click operation, etc., and the selection order of the synthesis results can be determined according to the order of the click operations for the synthesis results in the synthesis result interface.
[0052] The selection order can be applied to the situation where multiple synthesis results are selected in one input process, and is used to determine the order in which multiple synthesis results are displayed in the input control. For example, if the selection order of the synthesis results is: synthesis result 1 and synthesis result 2, then synthesis result 1 and synthesis result 2 can be displayed in the input control in sequence.
[0053] In an optional embodiment of the present invention, the selection order of the synthesis results can be determined according to the synthesis order of the synthesis results. The synthesis order of the synthesis results can be determined according to the synthesis time of obtaining the synthesis results through the synthesis interface.
[0054] In an optional embodiment of the present invention, the synthesis result may include: a first synthesis result and a second synthesis result, wherein the first synthesis result may refer to an existing synthesis result, and the second synthesis result may refer to a newly synthesized synthesis result.
[0055] In the synthesis result interface, the selected synthesis result may include: a first synthesis result, or a first synthesis result and a second synthesis result. In the synthesis result interface, the selected synthesis results may be marked and displayed according to the selection order. The above-mentioned marking display may include: displaying the number corresponding to the selection order at the superscript position of the selected synthesis result, etc. It can be understood that the embodiment of the present invention does not limit the specific marking display method.
[0056] According to an embodiment, a selection operation for a first synthesis result in the synthesis result interface is first received, and then a second synthesis result is obtained through the synthesis interface, and the selection order of the first synthesis result is before the selection order of the second synthesis result.
[0057] According to another embodiment, the second synthesis result is first obtained through the synthesis interface, and then a selection operation for the first synthesis result in the synthesis result interface is received, and the selection order of the second synthesis result is before the selection order of the first synthesis result.
[0058] Of course, the selection operation for the first synthesis result in the synthesis result interface may be received first, and then the second synthesis result may be obtained through the synthesis interface, and then the selection operation for the first synthesis result in the synthesis result interface may be received. It can be understood that the embodiment of the present invention does not limit the specific selection order of the first synthesis result and the second synthesis result.
[0059] In the embodiment of the present invention, optionally, after the synthesis interface is displayed in response to a trigger operation, a default synthesis result may be displayed in the preview area. For example, the default synthesis result may be obtained by combining the expressions ranked first in each expression category. If the user is not satisfied with the default synthesis result, the synthesis result in the preview area may be updated by updating the expressions under the expression category.
[0060] It is understandable that if the user is not satisfied with the updated synthesis result, the user can continue to update the expressions under the expression category to update the synthesis result in the preview area until the updated synthesis result meets the user's needs.
[0061] In the embodiment of the present invention, optionally, the synthesis result may include: a completion control. If a trigger operation for the completion control is received, it can be considered that the synthesis of the synthesis result is completed, that is, the synthesis of the synthesis result is completed through the synthesis interface.
[0062] In step 102, the corresponding positions of the multiple expressions included in the synthesis result in the input control are determined. The above positions can be used as a basis for displaying the synthesis result in the input control, thereby saving the user's editing operations in the input control, thereby improving the synthesis efficiency of the expression.
[0063] In step 102, the synthesis results involved in determining the position may include, in addition to the synthesis results obtained through the synthesis interface, the synthesis results selected through the synthesis result interface. The embodiment of the present invention does not limit the specific selection order of the two synthesis results.
[0064] In the embodiment of the present invention, the synthesis result can be used as the final display form, and then the corresponding positions of the multiple expressions included in the synthesis result in the input control are determined.
[0065] In the embodiment of the present invention, it is optional that the above position specifically includes: a horizontal position and a vertical position, and different expressions included in the same synthesis result can correspond to the same horizontal position. The horizontal position and the vertical position can be recorded as x and y respectively, and the different expressions included in the same synthesis result can correspond to the same x. It can be understood that the different expressions included in the same synthesis result can correspond to different y, thereby realizing the arrangement of different expressions included in the same synthesis result in the y direction, that is, the vertical arrangement.
[0066] The vertical arrangement of different expressions included in the same synthesis result can be applied to the arrangement of character images. It can be understood that for other types of synthesis results, different expressions included in the same synthesis result can be sorted horizontally. In this case, different expressions included in the same synthesis result can correspond to the same vertical position.
[0067] In the embodiment of the present invention, optionally, the above-mentioned determination method for determining the corresponding positions of the multiple expressions included in the synthesis result in the input control specifically includes:
[0068] Determination method 1: determining the corresponding positions of the multiple expressions included in the synthesis result in the input control according to the vertical arrangement order of the multiple expressions included in the synthesis result; and / or
[0069] Determination method 2: determining corresponding positions of the multiple expressions included in the synthesis result in the input control according to the selection order of the synthesis result.
[0070] Optionally, the horizontal positions corresponding to the multiple expressions included in the synthesis result are the same. The above horizontal position can be determined according to the selection order of the synthesis result. For example, the selection order of a synthesis result corresponds to the number i (i is a natural number greater than 0), assuming that the number of the first synthesis result is 1, then the horizontal position of the synthesis result can be the i-th position. It can be understood that the horizontal position of the (i+1)th synthesis result can be the (i+1)th position.
[0071] The longitudinal positions corresponding to the multiple expressions included in the synthesis result can be obtained according to the longitudinal arrangement order corresponding to the multiple expressions included in the synthesis result. For example, the longitudinal positions include: y1, y2 and y3, then the longitudinal position corresponding to the head expression is y1, and the longitudinal positions corresponding to the body expression are y2 and y3.
[0072] In another optional embodiment of the present invention, the above-mentioned determining the corresponding positions of the multiple expressions included in the synthesis result in the input control specifically includes:
[0073] If the sum of the heights of the multiple expressions included in the synthesis result is less than a threshold, adding a preset symbol or a preset expression to the upper part or the lower part of the synthesis result;
[0074] According to the position of the preset symbol or the preset expression, the corresponding positions of the multiple expressions included in the synthesis result in the input control are determined.
[0075] In practical applications, the threshold value may be determined based on the maximum value of the sum of the heights corresponding to the multiple synthesis results. For example, the threshold value may be the maximum value of the sum of the heights corresponding to the multiple synthesis results. In the case of human figures, the threshold value may be the threshold value corresponding to trousers. If the sum of the heights corresponding to some skirts is less than the threshold value, the multiple synthesis results may be aligned by supplementing with preset symbols or preset expressions, thereby improving the uniformity of the multiple synthesis results.
[0076] Optionally, if the sum of the heights of the multiple expressions included in the synthesis result is less than a threshold, a preset symbol or preset expression may be added to the upper part of the synthesis result to achieve alignment of the ground plane where the character portrait is located.
[0077] The preset symbol may be a space or other symbol. The preset expression may be a relatively gentle expression such as "ripples". It can be understood that the embodiment of the present invention realizes the alignment of multiple synthesis results by supplementing the preset symbol or the preset expression, and does not limit the specific preset symbol or the preset expression.
[0078] The embodiment of the present invention can determine the corresponding longitudinal positions of the multiple expressions included in the synthesis result in the input control according to the longitudinal position of the preset symbol or the preset expression. For example, if the preset symbol or the preset expression is located at the top of the synthesis result, the longitudinal position of the preset symbol or the preset expression can be y1, and the longitudinal positions corresponding to the multiple expressions included in the synthesis result can be y2 and y3.
[0079] In step 103, the synthesis result is displayed in the input control according to the position. The input control may include an input box or an input window. The input box may be an input box of a communication program.
[0080] The embodiment of the present invention outputs at least one synthesis result selected by the user from the interface to the input control to achieve a display effect of the synthesis result.
[0081] In summary, the expression processing method of the embodiment of the present invention, the synthesis interface specifically includes: a preview area, a category switching area and a category expression display area; the above-mentioned category switching area is used to switch between different expression categories, and the above-mentioned category expression display area is used to display the expression corresponding to the switched expression category. The above-mentioned category switching area can trigger the rapid display of different category expression display areas, thereby realizing the rapid selection of expressions of different expression categories in the synthesis result.
[0082] The above-mentioned preview area is used to display the synthesis results corresponding to expressions of different expression categories. After the user selects expressions of different expression categories, the above-mentioned preview area can display the synthesis results corresponding to the selected expressions of different expression categories. The synthesis results can be presented to the user before outputting the synthesis results to the input control. If the user is not satisfied with the synthesis results, the corresponding expression can be reselected in the category expression display area, thereby improving the accuracy of the synthesis results.
[0083] Furthermore, before displaying the synthesis result in the input control, the embodiment of the present invention predetermines the corresponding positions of the multiple expressions included in the synthesis result in the input control, which can save the user's editing operations in the input control and thus improve the synthesis efficiency of the expression.
[0084] In an application example of the present invention, a selection operation is first received for a synthesis result A in a synthesis result interface, and a number 1 corresponding to the corresponding selection order is displayed in the superscript of the synthesis result A; then a selection operation is received for a synthesis result B in the synthesis result interface, and a number 2 corresponding to the corresponding selection order is displayed in the superscript of the synthesis result B; then, a synthesis result C is obtained through the synthesis interface, and a number 3 corresponding to the corresponding selection order can be displayed in the superscript of the synthesis result C.
[0085] Assuming that the sum of the heights of the multiple expressions included in the synthesis results A and C is equal to the threshold, and the sum of the heights of the multiple expressions included in the synthesis result B is less than the threshold, then the horizontal positions of the three can be determined as horizontal position 1, horizontal position 2, and horizontal position 3 according to the arrangement order of the synthesis results A-synthesis results C.
[0086] Furthermore, the longitudinal positions of the multiple expressions included in the synthesis result A and the synthesis result C can be determined to be y1, y2, and y3, respectively. Furthermore, a preset symbol or preset expression can be added to the upper part of the synthesis result B (i.e., at position y1), and the longitudinal positions of the multiple expressions included in the synthesis result B can be determined to be y2 and y3, respectively.
[0087] It should be noted that, for the method embodiments, for the sake of simplicity of description, they are all described as a series of motion action combinations, but those skilled in the art should know that the embodiments of the present invention are not limited by the order of the described motion actions, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification are all preferred embodiments, and the motion actions involved are not necessarily required by the embodiments of the present invention.
[0088] Device Embodiment
[0089] Reference Figure 2 , shows a structural block diagram of an embodiment of an expression processing device of the present invention, which may specifically include:
[0090] The synthesis interface display module 201 is used to display the synthesis interface; the synthesis interface may include: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display the expression corresponding to the switched expression category; the preview area is used to display the synthesis results corresponding to the expressions of different expression categories;
[0091] A position determination module 202 is used to determine the positions of the multiple expressions that may be included in the synthesis result in the input control; the synthesis result may include: the synthesis result obtained through the synthesis interface;
[0092] The synthesis result display module 203 is used to display the synthesis result in the input control according to the position.
[0093] Optionally, the preview area and the category switching area are located on the left side of the synthesis interface, and the category expression display area is located on the right side of the synthesis interface.
[0094] Optionally, the location determination module 202 may include:
[0095] A first position determination module is used to determine the positions of the multiple expressions that can be included in the synthesis result in the input control according to the longitudinal arrangement order of the multiple expressions that can be included in the synthesis result; and / or
[0096] The second position determination module is used to determine the corresponding positions of multiple expressions that can be included in the synthesis result in the input control according to the selection order of the synthesis result.
[0097] Optionally, the location determination module 202 may include:
[0098] A supplementing module, configured to supplement a preset symbol or a preset expression at the upper part or the lower part of the synthesis result if the sum of the heights of the multiple expressions that the synthesis result may include is less than a threshold value;
[0099] The third position determination module is used to determine the corresponding positions of multiple expressions that can be included in the synthesis result in the input control according to the position of the preset symbol or the preset expression.
[0100] Optionally, the position may include: a horizontal position and a vertical position, and the same synthesis result may include different expressions corresponding to the same horizontal position.
[0101] Optionally, the expression categories may include: head category and body category.
[0102] Optionally, the synthesis interface display module 201 may include:
[0103] The trigger display module is used to display a synthesis interface in response to a trigger operation on a synthesis entry; the synthesis entry is located on a synthesis result interface, and the synthesis result interface may include: a plurality of synthesis results.
[0104] As for the device embodiment, since it is basically similar to the method embodiment, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.
[0105] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.
[0106] Regarding the device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.
[0107] An embodiment of the present invention also provides a device for expression processing, including a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations: displaying a synthesis interface; the synthesis interface includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display expressions corresponding to the switched expression categories; the preview area is used to display synthesis results corresponding to expressions of different expression categories; determining the corresponding positions of multiple expressions included in the synthesis result in the input control; the synthesis result includes: the synthesis result obtained through the synthesis interface; based on the position, displaying the synthesis result in the input control.
[0108] Figure 3 1 is a structural block diagram of an apparatus 900 for expression processing as an intelligent terminal according to an exemplary embodiment. For example, the apparatus 900 may be a mobile phone, a computer, a digital broadcast terminal, a message transceiver device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.
[0109] Reference Figure 3 , the device 900 may include one or more of the following components: a processing component 902 , a memory 904 , a power component 906 , a multimedia component 908 , an audio component 910 , an input / output (I / O) interface 912 , a sensor component 914 , and a communication component 916 .
[0110] The processing component 902 generally controls the overall operation of the device 900, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 902 may include one or more processors 920 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 902 may include one or more modules to facilitate the interaction between the processing component 902 and other components. For example, the processing component 902 may include a multimedia module to facilitate the interaction between the multimedia component 908 and the processing component 902.
[0111] The memory 904 is configured to store various types of data to support operations on the device 900. Examples of such data include instructions for any application or method operating on the device 900, contact data, phone book data, messages, pictures, videos, etc. The memory 904 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.
[0112] The power supply component 906 provides power to the various components of the device 900. The power supply component 906 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 900.
[0113] The multimedia component 908 includes a screen that provides an output interface between the device 900 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 908 includes a front camera and / or a rear camera. When the device 900 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.
[0114] The audio component 910 is configured to output and / or input audio signals. For example, the audio component 910 includes a microphone (MIC), and when the device 900 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 904 or sent via the communication component 916. In some embodiments, the audio component 910 also includes a speaker for outputting audio signals.
[0115] I / O interface 912 provides an interface between processing component 902 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.
[0116] The sensor assembly 914 includes one or more sensors for providing various aspects of status assessment for the device 900. For example, the sensor assembly 914 can detect the open / closed state of the device 900, the relative positioning of components, such as the display and keypad of the device 900, and the sensor assembly 914 can also detect the position change of the device 900 or a component of the device 900, the presence or absence of user contact with the device 900, the orientation or acceleration / deceleration of the device 900, and the temperature change of the device 900. The sensor assembly 914 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. The sensor assembly 914 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 914 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
[0117] The communication component 916 is configured to facilitate wired or wireless communication between the device 900 and other devices. The device 900 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 916 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 916 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
[0118] In an exemplary embodiment, the apparatus 900 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors, or other electronic components to perform the above method.
[0119] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 904 including instructions, and the instructions can be executed by the processor 920 of the device 900 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.
[0120] Figure 41 is a schematic diagram of the structure of the server in some embodiments of the present invention. The server 1900 may have relatively large differences due to different configurations or performances, and may include one or more central processing units (CPU) 1922 (for example, one or more processors) and memory 1932, and one or more storage media 1930 (for example, one or more mass storage devices) storing application programs 1942 or data 1944. Among them, the memory 1932 and the storage medium 1930 can be short-term storage or permanent storage. The program stored in the storage medium 1930 may include one or more modules (not shown in the figure), and each module may include a series of instruction operations in the server. Furthermore, the central processing unit 1922 can be configured to communicate with the storage medium 1930 and execute a series of instruction operations in the storage medium 1930 on the server 1900.
[0121] The server 1900 may also include one or more power supplies 1926, one or more wired or wireless network interfaces 1950, one or more input and output interfaces 1958, one or more keyboards 1956, and / or, one or more operating systems 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM, etc.
[0122] A non-temporary computer-readable storage medium, when the instructions in the storage medium are executed by a processor of a device (smart terminal or server), enables the device to execute an expression processing method, the method comprising: displaying a synthesis interface; the synthesis interface comprising: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display expressions corresponding to the switched expression category; the preview area is used to display synthesis results corresponding to expressions of different expression categories; determining the corresponding positions of multiple expressions included in the synthesis result in an input control; the synthesis result comprises: the synthesis result obtained through the synthesis interface; and displaying the synthesis result in the input control according to the position.
[0123] The embodiment of the present invention discloses A1, a method for processing facial expressions, comprising:
[0124] Displaying a synthesis interface; the synthesis interface includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display the expression corresponding to the switched expression category; the preview area is used to display the synthesis results corresponding to the expressions of different expression categories;
[0125] Determine the corresponding positions of multiple expressions included in the synthesis result in the input control; the synthesis result includes: the synthesis result obtained through the synthesis interface;
[0126] The synthesis result is displayed in the input control according to the position.
[0127] A2. According to the method described in A1, the preview area and the category switching area are located on the left side of the synthesis interface, and the category expression display area is located on the right side of the synthesis interface.
[0128] A3. According to the method described in A1, the step of determining the positions of the multiple expressions included in the synthesis result in the input control respectively comprises:
[0129] Determining the positions of the multiple expressions included in the synthesis result in the input control according to the longitudinal arrangement order of the multiple expressions included in the synthesis result; and / or
[0130] According to the selection order of the synthesis result, the corresponding positions of the multiple expressions included in the synthesis result in the input control are determined.
[0131] A4. According to the method described in A1, the step of determining corresponding positions of the plurality of expressions included in the synthesis result in the input control comprises:
[0132] If the sum of the heights of the multiple expressions included in the synthesis result is less than a threshold, adding a preset symbol or a preset expression to the upper part or the lower part of the synthesis result;
[0133] According to the position of the preset symbol or the preset expression, the corresponding positions of the multiple expressions included in the synthesis result in the input control are determined.
[0134] A5. According to the method described in A1, the position includes: a horizontal position and a vertical position, and different expressions included in the same synthesis result correspond to the same horizontal position.
[0135] A6. According to any one of the methods described in A1 to A5, the expression categories include: head category and body category.
[0136] A7. According to any one of the methods described in A1 to A5, the display synthesis interface comprises:
[0137] In response to a trigger operation on a synthesis entry, a synthesis interface is displayed; the synthesis entry is located on a synthesis result interface, and the synthesis result interface includes: a plurality of synthesis results.
[0138] The embodiment of the present invention discloses B8, an expression processing device, the device comprising:
[0139] The synthesis interface display module is used to display the synthesis interface; the synthesis interface includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display the expression corresponding to the switched expression category; the preview area is used to display the synthesis results corresponding to the expressions of different expression categories;
[0140] A position determination module, used to determine the positions of the multiple expressions included in the synthesis result in the input control; the synthesis result includes: the synthesis result obtained through the synthesis interface;
[0141] A synthesis result display module is used to display the synthesis result in the input control according to the position.
[0142] B9. According to the device described in B8, the preview area and the category switching area are located on the left side of the synthesis interface, and the category expression display area is located on the right side of the synthesis interface.
[0143] B10. According to the device described in B8, the location determination module includes:
[0144] A first position determination module, used to determine the positions of the multiple expressions included in the synthesis result in the input control according to the longitudinal arrangement order of the multiple expressions included in the synthesis result; and / or
[0145] The second position determination module is used to determine the corresponding positions of the multiple expressions included in the synthesis result in the input control according to the selection order of the synthesis result.
[0146] B11. According to the device described in B8, the location determination module includes:
[0147] A supplementing module, configured to supplement a preset symbol or a preset expression at the upper part or the lower part of the synthesis result if the sum of the heights of the multiple expressions included in the synthesis result is less than a threshold value;
[0148] The third position determination module is used to determine the corresponding positions of the multiple expressions included in the synthesis result in the input control according to the position of the preset symbol or the preset expression.
[0149] B12. According to the device described in B8, the position includes: a horizontal position and a vertical position, and different expressions included in the same synthesis result correspond to the same horizontal position.
[0150] B13. According to any one of the devices described in B8 to B12, the expression categories include: head category and body category.
[0151] B14. According to any one of B8 to B12, the synthesis interface display module comprises:
[0152] The trigger display module is used to display a synthesis interface in response to a trigger operation on a synthesis entry; the synthesis entry is located on a synthesis result interface, and the synthesis result interface includes: a plurality of synthesis results.
[0153] The embodiment of the present invention discloses C15, a device for expression processing, comprising a memory and one or more programs, wherein the one or more programs are stored in the memory and are configured to be executed by one or more processors. The one or more programs include instructions for performing the following operations:
[0154] Displaying a synthesis interface; the synthesis interface includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display the expression corresponding to the switched expression category; the preview area is used to display the synthesis results corresponding to the expressions of different expression categories;
[0155] Determine the corresponding positions of multiple expressions included in the synthesis result in the input control; the synthesis result includes: the synthesis result obtained through the synthesis interface;
[0156] The synthesis result is displayed in the input control according to the position.
[0157] C16. According to the device described in C15, the preview area and the category switching area are located on the left side of the synthesis interface, and the category expression display area is located on the right side of the synthesis interface.
[0158] C17. According to the device described in C15, the step of determining corresponding positions of the multiple expressions included in the synthesis result in the input control comprises:
[0159] Determining the positions of the multiple expressions included in the synthesis result in the input control according to the longitudinal arrangement order of the multiple expressions included in the synthesis result; and / or
[0160] According to the selection order of the synthesis result, the corresponding positions of the multiple expressions included in the synthesis result in the input control are determined.
[0161] C18. According to the device described in C15, the step of determining corresponding positions of the multiple expressions included in the synthesis result in the input control comprises:
[0162] If the sum of the heights of the multiple expressions included in the synthesis result is less than a threshold, adding a preset symbol or a preset expression to the upper part or the lower part of the synthesis result;
[0163] According to the position of the preset symbol or the preset expression, the corresponding positions of the multiple expressions included in the synthesis result in the input control are determined.
[0164] C19. According to the device described in C15, the position includes: a horizontal position and a vertical position, and different expressions included in the same synthesis result correspond to the same horizontal position.
[0165] C20. According to any one of the devices described in C15 to C19, the expression categories include: head category and body category.
[0166] C21. According to any one of C15 to C19, the display synthesis interface comprises:
[0167] In response to a trigger operation on a synthesis entry, a synthesis interface is displayed; the synthesis entry is located on a synthesis result interface, and the synthesis result interface includes: a plurality of synthesis results.
[0168] The embodiment of the present invention discloses D22, one or more machine-readable media, on which instructions are stored, which, when executed by one or more processors, enable the device to perform the expression processing method as described in one or more of A1 to A7.
[0169] Those skilled in the art will readily appreciate other embodiments of the invention after considering the specification and practicing the invention disclosed herein. The present invention is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in this disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.
[0170] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.
[0171] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
[0172] The above is a detailed introduction to an expression processing method, an expression processing device, an expression processing device, and a machine-readable medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea. At the same time, for a person skilled in the art, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A method for processing facial expressions, It is characterized in that The method comprises: Displaying a synthesis interface; the synthesis interface includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display the expression corresponding to the switched expression category; the preview area is used to display the synthesis results corresponding to the expressions of different expression categories; the synthesis results include: the synthesis results obtained through the synthesis interface; Determine the corresponding positions of the multiple expressions included in the synthesis result in the input control; the positions include: horizontal position and vertical position; Displaying the synthesis result in the input control according to the position; Wherein, the display synthesis interface includes: In response to a trigger operation on a synthesis entry, a synthesis interface is displayed; the synthesis entry is located on a synthesis result interface, and the synthesis result interface includes: a plurality of synthesis results; The step of determining the positions of the multiple expressions included in the synthesis result in the input control respectively includes: Determining the longitudinal positions of the plurality of expressions included in the synthesis result in the input control according to the longitudinal arrangement order of the plurality of expressions included in the synthesis result, wherein the transverse positions of the plurality of expressions included in the synthesis result are the same; and / or Obtaining the synthesis time of the synthesis result through the synthesis interface, determining the synthesis order of the synthesis result, determining the selection order of the synthesis result according to the synthesis order of the synthesis result, and determining the horizontal positions corresponding to the multiple expressions included in the synthesis result in the input control according to the selection order of the synthesis result; If the sum of the heights of the multiple expressions included in the synthesis result is less than a threshold, adding a preset symbol or a preset expression to the upper part or the lower part of the synthesis result; According to the position of the preset symbol or the preset expression, the corresponding positions of the multiple expressions included in the synthesis result in the input control are determined.
2. The method according to claim 1, It is characterized in that The preview area and the category switching area are located on the left side of the synthesis interface, and the category expression display area is located on the right side of the synthesis interface.
3. The method according to claim 1, It is characterized in that The same synthesis result includes different expressions corresponding to the same horizontal position.
4. The method according to any one of claims 1 to 3, It is characterized in that The expression categories include: head category and body category.
5. An expression processing device, It is characterized in that The device comprises: A synthesis interface display module, used to display a synthesis interface; the synthesis interface includes: a preview area, a category switching area and a category expression display area; the category switching area is used to switch between different expression categories; the category expression display area is used to display the expression corresponding to the switched expression category; the preview area is used to display the synthesis results corresponding to the expressions of different expression categories; the synthesis results include: the synthesis results obtained through the synthesis interface; A position determination module, used to determine the positions of the multiple expressions included in the synthesis result in the input control; the positions include: horizontal position and vertical position; A synthesis result display module, used for displaying the synthesis result in the input control according to the position; Wherein, the synthetic interface display module includes: A trigger display module, for displaying a synthesis interface in response to a trigger operation on a synthesis entry; the synthesis entry is located on a synthesis result interface, and the synthesis result interface includes: a plurality of synthesis results; Wherein, the location determination module includes: A first position determination module is used to determine the longitudinal positions of the multiple expressions included in the synthesis result in the input control according to the longitudinal arrangement order of the multiple expressions included in the synthesis result, and the transverse positions of the multiple expressions included in the synthesis result are the same; and / or A second position determination module is used to obtain the synthesis time of the synthesis result through the synthesis interface, determine the synthesis order of the synthesis results, determine the selection order of the synthesis results according to the synthesis order of the synthesis results, and determine the horizontal positions corresponding to the multiple expressions included in the synthesis result in the input control according to the selection order of the synthesis results; A supplementing module, configured to supplement a preset symbol or a preset expression at the upper part or the lower part of the synthesis result if the sum of the heights of the multiple expressions included in the synthesis result is less than a threshold value; The third position determination module is used to determine the corresponding positions of the multiple expressions included in the synthesis result in the input control according to the position of the preset symbol or the preset expression.
6. The device according to claim 5, It is characterized in that The preview area and the category switching area are located on the left side of the synthesis interface, and the category expression display area is located on the right side of the synthesis interface.
7. The device according to claim 5, It is characterized in that The same synthesis result includes different expressions corresponding to the same horizontal position.
8. The device according to any one of claims 5 to 7, It is characterized in that The expression categories include: head category and body category.
9. A device for expression processing, It is characterized in that The invention comprises a memory and one or more programs, wherein the one or more programs are stored in the memory, and when the programs are executed by one or more processors, the steps of the method described in any one of claims 1 to 4 are implemented.
10. One or more machine-readable media having instructions stored thereon, which, when executed by one or more processors, cause an apparatus to perform the expression processing method as claimed in one or more of claims 1 to 4.
Citation Information
Patent Citations
Method and device for generating image
CN107093164A
