Expression processing method, device and medium

By determining the placement position in the display area based on the historical operation time and width of the Emoji expression, combining reverse order sorting and display content adjustment, the problems of low efficiency in searching Emoji expressions and untidy display are solved, and more efficient expression input and display area are achieved Cleanliness.

CN112306254BActive Publication Date: 2025-01-03BEIJING SOGOU TECHNOLOGY DEVELOPMENT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201910703693.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-07-31
Publication Date
2025-01-03
Estimated Expiration
2039-07-31

AI Technical Summary

Technical Problem

The existing Emoji expression display method causes users to be inefficient in finding the desired expression in the history, and the placement is not neat, affecting input efficiency.

Method used

Based on the historical operation time and width of the Emoji expression, as well as the width of the display area, determine its placement in the display area, and sort and adjust the display content in reverse order to improve the rationality and cleanliness of the display position.

Benefits of technology

Improves the efficiency of users to find the desired expressions from the display area, enhances input efficiency, and improves the cleanliness of the display area.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112306254B_ABST
    Figure CN112306254B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides an expression processing method, device and medium, wherein the method specifically includes: determining the display positions of the first expression and the second expression in the display area respectively according to the historical operation time respectively corresponding to the first expression and the second expression, the width respectively corresponding to the first expression and the second expression, and the width corresponding to the display area; the width of the second expression is equal to N times the width of the first expression; the row of the display area includes: multiple independent sub-display areas, the width of a sub-display area matches the width of the second expression, and the display content of a sub-display area includes: a second expression, or no more than N first expressions; according to the display positions respectively corresponding to the first expression and the second expression, the first expression and the second expression are displayed in the display area. The embodiment of the present invention can improve the efficiency of users finding the required expressions from the display area, and can improve the neatness of the displayed content in the display area.
Need to check novelty before this filing date? Find Prior Art

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.

[0003] For example, an application may support the function of inputting Emoji expressions. Emoji expressions are special characters that the operating system can automatically convert into emoticon images for display. Current Emoji expressions may include: a first Emoji expression and a second Emoji expression. Among them, the first Emoji expression may only include Emoji expressions, and the second Emoji expression may be obtained by combining Emoji expressions with other symbols, which can express the meaning of Emoji expressions more richly. The second Emoji expression usually takes up twice the space of the first Emoji expression.

[0004] Currently, the history records of Emoji expressions can be displayed. Specifically, the first Emoji expression and the second Emoji expression can be displayed in different areas, for example, the second Emoji expression is displayed in the first two lines of the history records, and the first Emoji expression is displayed from the third line of the history records. This will cause the first Emoji expression to be displayed at the back. When the user needs to input the first Emoji expression, it takes a long time to search for the required first Emoji expression from the history records, which easily affects the search efficiency of the first Emoji expression required by the user, thereby making the input efficiency of Emoji expressions low. 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 efficiency of users finding required expressions from a display area, thereby improving the efficiency of expression input and improving the neatness of the content displayed in the display area.

[0006] In order to solve the above problem, an embodiment of the present invention discloses an expression processing method, comprising:

[0007] Determine the display positions of the first expression and the second expression in the display area respectively according to the historical operation time respectively corresponding to the first expression and the second expression, the width respectively corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area includes: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas includes: one second expression, or no more than N first expressions;

[0008] The first expression and the second expression are displayed in the display area according to the display positions corresponding to the first expression and the second expression respectively.

[0009] On the other hand, an embodiment of the present invention discloses an expression processing device, including:

[0010] A display position determination module, used to determine the display positions of the first expression and the second expression in the display area respectively according to the historical operation time respectively corresponding to the first expression and the second expression, the width respectively corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area includes: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas includes: one second expression, or no more than N first expressions;

[0011] The display module is used to display the first expression and the second expression in the display area according to the display positions corresponding to the first expression and the second expression respectively.

[0012] 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:

[0013] Determine the display positions of the first expression and the second expression in the display area respectively according to the historical operation time respectively corresponding to the first expression and the second expression, the width respectively corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area includes: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas includes: one second expression, or no more than N first expressions;

[0014] The first expression and the second expression are displayed in the display area according to the display positions corresponding to the first expression and the second expression respectively.

[0015] 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.

[0016] The embodiments of the present invention include the following advantages:

[0017] In the process of determining the display positions corresponding to the first expression and the second expression in the display area, the embodiment of the present invention takes into account the historical operation times corresponding to the first expression and the second expression, so that the first expression and the second expression can be mixed and displayed based on the historical operation time; since the historical operation time can characterize the user's demand for the expression to a certain extent, for example, the later the historical operation time (that is, the closer to the current time), the higher the user's demand for the corresponding expression, so the embodiment of the present invention can improve the rationality of the display position, thereby improving the efficiency of the user in finding the required expression from the display area, and further improving the efficiency of expression input.

[0018] Furthermore, the row of the display area of ​​the embodiment of the present invention specifically includes: a plurality of independent sub-display areas, and a blank area is usually arranged between adjacent sub-display areas in a row; the display content of the above-mentioned sub-display areas of the embodiment of the present invention specifically includes: a second expression, or no more than N first expressions, in other words, the display content of the sub-display area of ​​the embodiment of the present invention either includes the second expression or the first expression, so that the alignment of the blank areas between the sub-display areas can be achieved, thereby improving the neatness of the display content in the display area. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] 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.

[0020] Figure 1 is a flowchart of steps of an embodiment of an expression processing method of the present invention;

[0021] Figure 2 It is a schematic diagram of an interface of the present invention;

[0022] Figure 3 is a structural block diagram of an embodiment of an expression processing device of the present invention;

[0023] Figure 4 is a block diagram of an apparatus 900 for expression processing of the present invention; and

[0024] Figure 5 It is a schematic diagram of the structure of the server in some embodiments of the present invention. DETAILED DESCRIPTION

[0025] 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.

[0026] An embodiment of the present invention provides an expression processing scheme, which may include: determining the display positions of the first expression and the second expression in a display area respectively corresponding to each other based on the historical operation time respectively corresponding to the first expression and the second expression, the width respectively corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area specifically includes: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas specifically includes: a second expression, or no more than N first expressions; and, based on the display positions respectively corresponding to the first expression and the second expression, displaying the first expression and the second expression in the display area.

[0027] In the process of determining the display positions corresponding to the first expression and the second expression in the display area, the embodiment of the present invention takes into account the historical operation times corresponding to the first expression and the second expression, so that the first expression and the second expression can be mixed and displayed based on the historical operation time; since the historical operation time can characterize the user's demand for the expression to a certain extent, for example, the later the historical operation time (that is, the closer to the current time), the higher the user's demand for the corresponding expression, so the embodiment of the present invention can improve the rationality of the display position, thereby improving the efficiency of the user in finding the required expression from the display area, and further improving the efficiency of expression input.

[0028] Furthermore, the row of the display area of ​​the embodiment of the present invention specifically includes: a plurality of independent sub-display areas, and a blank area is usually arranged between adjacent sub-display areas in a row; the display content of the above-mentioned sub-display areas of the embodiment of the present invention specifically includes: a second expression, or no more than N first expressions, in other words, the display content of the sub-display area of ​​the embodiment of the present invention either includes the second expression or the first expression, so that the alignment of the blank areas between the sub-display areas can be achieved, thereby improving the neatness of the display content in the display area.

[0029] The embodiment of the present invention can be applied to display at least two expressions in any application program. Examples of application programs may include: input method programs, instant messaging programs, etc.

[0030] The embodiment of the present invention can display the first expression and the second expression operated by the user through the historical record of the expression for the user to select. In practical application, the first expression or the second expression selected by the user can be output on the screen.

[0031] In the embodiment of the present invention, the type of the first expression or the second expression may be an Emoji type, a character expression, or a picture expression, etc. One purpose of the embodiment of the present invention is to improve the rationality of the display position based on the historical operation time, so as to improve the efficiency of the user finding the required expression from the display area, without limiting the specific expression.

[0032] In one embodiment of the present invention, the type of the first expression or the second expression may be an Emoji type, the first expression may be a first Emoji expression, the second expression may be a second Emoji expression, and the width of the second Emoji expression may be twice the width of the first Emoji expression.

[0033] 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.

[0034] Method Embodiment

[0035] Reference Figure 1 , shows a flowchart of steps of an embodiment of an expression processing method of the present invention, which may specifically include:

[0036] Step 101, determining display positions of the first expression and the second expression in the display area, respectively, according to the historical operation times respectively corresponding to the first expression and the second expression, the widths respectively corresponding to the first expression and the second expression, and the width corresponding to the display area;

[0037] The width of the second expression may be equal to N times the width of the first expression, and N may be a natural number greater than 1; the row of the display area specifically includes: a plurality of mutually independent sub-display areas, the width of one of the sub-display areas may match the width of the second expression, and the display content of one of the sub-display areas specifically includes: one second expression, or no more than N first expressions;

[0038] Step 102: Display the first expression and the second expression in the display area according to the display positions corresponding to the first expression and the second expression respectively.

[0039] In step 101, the historical operation time may represent the time when the expression was operated. The operation corresponding to the expression may include: input operation, sharing operation, like operation, etc.

[0040] In the embodiment of the present invention, optionally, expressions and their corresponding historical operation times may be recorded through operation logs.

[0041] The widths corresponding to the first expression and the second expression, respectively, can be used to represent the widths of the display areas occupied by the first expression and the second expression, respectively. The width of the second expression is equal to N times the width of the first expression, which can represent that the width of the display area occupied by the second expression is N times the width of the display area occupied by the first expression. N can be a natural number greater than 1, for example, N can be 2, 3, etc.

[0042] The display area may be a display area for expression history records, and the display area may be located on an expression history record interface.

[0043] In the display area, a blank area may be provided between any two adjacent expressions. In the case of mixed display of the first expression and the second expression, since the first expression and the second expression have different widths, the blank areas of different rows in the display area may be uneven.

[0044] For example, the first row of the display area includes, from left to right, the first expression, the second expression, and the first expression, etc., and the second row of the display area includes, from left to right, the second expression, the first expression, and the second expression, etc. Assuming that the width of the first expression is A, the position information of the blank areas in the first row may include, in turn, A, 3A, and 4A, and the position information of the blank areas in the second row may include, in turn, 2A, 3A, and 5A. It can be seen that in this case, the blank areas between different rows are not neat.

[0045] In order to solve the problem of uneven blank areas, an embodiment of the present invention divides the rows of the display area into a plurality of independent sub-display areas. The width of one of the sub-display areas can match the width of the second expression. The display content of one of the sub-display areas either includes one second expression or no more than N first expressions. Thus, the uniformity of the blank areas between the sub-display areas can be achieved.

[0046] In an optional embodiment of the present invention, if a sub-display area is located at the end of the first row, the display content of the sub-display area includes: (N-1) first expressions, and the (N-1) first expressions may not fill the sub-display area. For example, the (N-1) first expressions may be located on the left side of the sub-display area, and the right side area of ​​the sub-display area can be used to display function controls, such as a delete control, which is used to delete the content entered in the input box, for example, to delete the expressions or characters entered in the input box.

[0047] In an optional embodiment of the present invention, if a sub-display area is not located at the end of the first row, the display content of the sub-display area includes: N first expressions. In this case, the N first expressions can occupy the entire sub-display area.

[0048] In an optional embodiment of the present invention, the above-mentioned determining the display positions corresponding to the first expression and the second expression in the display area may specifically include:

[0049] According to the historical operation times corresponding to the first expression and the second expression respectively, the first expression and the second expression are sorted in reverse order to obtain a reverse order result;

[0050] The reverse sorting result is adjusted according to the widths corresponding to the first expression and the second expression, respectively, and the width corresponding to the display area, so as to obtain the display positions corresponding to the first expression and the second expression in the display area, respectively.

[0051] The first and second expressions are sorted in reverse order according to the historical operation time, that is, the first and second expressions are sorted in order from the latest to the earliest historical operation time. Generally, the later the historical operation time is, the earlier the position of the corresponding expression in the reverse order result is, and vice versa, the earlier the historical operation time is, the later the position of the corresponding expression in the reverse order result is.

[0052] Optionally, according to the capacity M of the display area, the first and second expressions that are closer to the front may be selected from the reverse sorting results and displayed in the display area.

[0053] Reference Figure 2 , shows a schematic diagram of a display area of ​​an embodiment of the present invention, wherein a row of a display area may include: 4 sub-display areas 201. The display content of a sub-display area 201 either includes 1 to 2 first expressions 202, or the display content of a sub-display area 201 either includes 1 second expression 203, thereby improving the neatness of the blank areas between sub-display areas 201 in different rows.

[0054] If the sub-display area 201 is located at the end of the first row, the display content of the sub-display area 201 includes: 1 first expression, and a delete control 204, thereby avoiding the deletion control 204 from blocking the first expression and improving the integrity of the first expression.

[0055] Figure 2 In the input box, the two first expressions that the user has just inputted are included. Then, the embodiment of the present invention can sort the first expression and the second expression in reverse order according to the historical operation time, that is, sort the first expression and the second expression in the order of the historical operation time from the last to the first, and put the two first expressions that the user has just inputted in front of the display area.

[0056] The embodiment of the present invention sorts the first expression and the second expression in reverse order according to the historical operation time, and can achieve mixed sorting of the first expression and the second expression, that is, the obtained reverse sorting result may include: mixed first expression and second expression.

[0057] The reverse sorting result may include: a sub-display area includes both the first expression and the second expression, which will affect the neatness of the blank area. To address this problem, the embodiment of the present invention can adjust the reverse sorting result to improve the neatness of the blank area.

[0058] According to one embodiment, the above-mentioned adjustment of the reverse sorting result may specifically include: if the display content of a sub-display area includes: a first expression, and a second expression thereafter, then adjusting the display content of the sub-display area so that the adjusted display content includes: a second expression, or no more than N first expressions.

[0059] Optionally, the above-mentioned adjustment of the display content of the one sub-display area includes: replacing the second expression in the display content of the one sub-display area with a first expression at a later position; the first expression at a later position may refer to a first expression Y that follows the second expression X in the display content of the sub-display area A in the reverse sorting result, and the first expression Y may be moved forward to the sub-display area A, thereby moving the second expression X backward to the next sub-display area B of the sub-display area A.

[0060] Optionally, the above adjustment of the display content of the one sub-display area includes: moving the first expression in the display content of the one sub-display area to the next sub-display area. The first expression Z in the display content of the sub-display area A can be moved back to the next sub-display area B of the sub-display area A, so that the first expression Z is combined with the next first expression.

[0061] According to another embodiment, the above-mentioned adjustment of the reverse sorting result may specifically include: if the number of first expressions between two adjacent second expressions in the reverse sorting result is not equal to N, then adding a first expression between two adjacent second expressions so that the number of first expressions between two adjacent second expressions is equal to N, thereby making the first expression between two adjacent second expressions fill the sub-display area.

[0062] In an optional embodiment of the present invention, the first expression between two adjacent second expressions is located at the end of the first row, and the number of first expressions between two adjacent second expressions is equal to (N-1). In this case, the position of the function control at the end of the first row can be taken into consideration.

[0063] In step 102, the first expression and the second expression may be displayed in the display area according to the display positions corresponding to the first expression and the second expression respectively.

[0064] In an optional embodiment of the present invention, if the first expression is not included in the historical operation data, and the second expression is not included in the historical operation data, the preset first expression is displayed in the display area. If the historical operation data corresponding to the first expression and the second expression are empty, the preset first expression can be displayed in the display area. The preset first expression and the number of preset first expressions can be determined by those skilled in the art according to actual application requirements. For example, the frequency of use of the preset first expression can exceed a frequency threshold, etc., and the frequency of use of the first expression can be obtained based on the historical usage records of multiple users for the first expression. Optionally, the number of preset first expressions can be 10, etc.

[0065] In an optional embodiment of the present invention, if the historical operation data does not include the first expression and the historical operation data does not include the second expression, a preset second expression is displayed in the display area.

[0066] Alternatively, if the historical operation data does not include the first expression, and the historical operation data does not include the second expression, then a preset first expression and a preset second expression are displayed in the display area.

[0067] In summary, the expression processing method of the embodiment of the present invention takes into account the historical operation times corresponding to the first expression and the second expression respectively in the process of determining the display positions corresponding to the first expression and the second expression in the display area, so that the first expression and the second expression can be mixed and displayed based on the historical operation time; since the historical operation time can characterize the user's demand for the expression to a certain extent, for example, the later the historical operation time (that is, the closer to the current time), the higher the user's demand for the corresponding expression, so the embodiment of the present invention can improve the rationality of the display position, thereby improving the efficiency of the user in finding the required expression from the display area, and further improving the efficiency of expression input.

[0068] Furthermore, the row of the display area of ​​the embodiment of the present invention specifically includes: a plurality of independent sub-display areas, and a blank area is usually arranged between adjacent sub-display areas in a row; the display content of the above-mentioned sub-display areas of the embodiment of the present invention specifically includes: a second expression, or no more than N first expressions, in other words, the display content of the sub-display area of ​​the embodiment of the present invention either includes the second expression or the first expression, so that the alignment of the blank areas between the sub-display areas can be achieved, thereby improving the neatness of the display content in the display area.

[0069] The method of the embodiment of the present invention can be used to display at least two expressions in a mixed manner. The first expression and the second expression of the embodiment of the present invention can generally refer to expressions of different widths. Among them, the first expression can include: at least one expression with the same width, and the second expression can include: at least one expression with the same width. In other words, the embodiment of the present invention can collectively refer to at least one expression with the same width as the first expression or the second expression.

[0070] 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.

[0071] Device Embodiment

[0072] Reference Figure 3 , shows a structural block diagram of an embodiment of an expression processing device of the present invention, which may specifically include:

[0073] A display position determination module 301, for determining the display positions of the first expression and the second expression in the display area, respectively, according to the historical operation times respectively corresponding to the first expression and the second expression, the widths respectively corresponding to the first expression and the second expression, and the width corresponding to the display area;

[0074] The width of the second expression is equal to N times the width of the first expression, where N is a natural number greater than 1; the row of the display area specifically includes: a plurality of mutually independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas specifically includes: one second expression, or no more than N first expressions;

[0075] The display module 302 is used to display the first expression and the second expression in the display area according to the display positions corresponding to the first expression and the second expression respectively.

[0076] Optionally, the placement determination module 301 may include:

[0077] A reverse order sorting module, used to sort the first expression and the second expression in reverse order according to the historical operation time corresponding to the first expression and the second expression respectively, so as to obtain a reverse order sorting result;

[0078] The adjustment module is used to adjust the reverse sorting result according to the widths corresponding to the first expression and the second expression respectively, and the width corresponding to the display area, so as to obtain the display positions corresponding to the first expression and the second expression respectively in the display area.

[0079] Optionally, the adjustment module may include:

[0080] The display content adjustment module is used to adjust the display content of a sub-display area if the display content of the sub-display area can include: a first expression and a second expression thereafter, so that the adjusted display content can include: a second expression, or no more than N first expressions.

[0081] Optionally, the display content adjustment module may include:

[0082] A first display content adjustment module is used to replace the second expression in the display content of the one sub-display area with the first expression at a later position; or

[0083] The second display content adjustment module is used to move the first expression in the display content of the one sub-display area to the next sub-display area.

[0084] Optionally, the adjustment module may include:

[0085] The supplementing module is used to supplement the first expression between two adjacent second expressions if the number of the first expressions between two adjacent second expressions in the reverse sorting result is not equal to N.

[0086] Optionally, if a sub-display area is located at the end of the first row, the display content of the sub-display area may include: (N-1) first expressions; or

[0087] If a sub-display area is not located at the end of the first row, the display content of the sub-display area may include: N first expressions.

[0088] Optionally, if the historical operation data cannot include the first expression, and the historical operation data cannot include the second expression, the preset first expression is displayed in the display area.

[0089] Optionally, the device is used to display at least two expressions in a mixed manner.

[0090] 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.

[0091] 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.

[0092] 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.

[0093] 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: determining the display positions of the first expression and the second expression in the display area respectively corresponding to each other based on the historical operation time corresponding to the first expression and the second expression, the width corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area includes: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas includes: a second expression, or no more than N first expressions; according to the display positions corresponding to the first expression and the second expression, the first expression and the second expression are displayed in the display area.

[0094] Figure 4 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.

[0095] Reference Figure 4 , 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 .

[0096] 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.

[0097] 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.

[0098] 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.

[0099] 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.

[0100] 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.

[0101] 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.

[0102] 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.

[0103] 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.

[0104] 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.

[0105] 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.

[0106] Figure 5 1 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.

[0107] 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.

[0108] 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), the device is able to execute an expression processing method, the method comprising: determining the display positions of the first expression and the second expression in a display area respectively corresponding to the historical operation time corresponding to the first expression and the second expression, the width corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area comprises: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas comprises: a second expression, or no more than N first expressions; according to the display positions corresponding to the first expression and the second expression, the first expression and the second expression are displayed in the display area.

[0109] The embodiment of the present invention discloses A1, a method for processing facial expressions, comprising:

[0110] Determine the display positions of the first expression and the second expression in the display area respectively according to the historical operation time respectively corresponding to the first expression and the second expression, the width respectively corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area includes: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas includes: one second expression, or no more than N first expressions;

[0111] The first expression and the second expression are displayed in the display area according to the display positions corresponding to the first expression and the second expression respectively.

[0112] A2. The method according to A1, wherein determining the display positions of the first expression and the second expression in the display area respectively includes:

[0113] According to the historical operation times corresponding to the first expression and the second expression respectively, the first expression and the second expression are sorted in reverse order to obtain a reverse order result;

[0114] The reverse sorting result is adjusted according to the widths corresponding to the first expression and the second expression, respectively, and the width corresponding to the display area, so as to obtain the display positions corresponding to the first expression and the second expression in the display area, respectively.

[0115] A3. According to the method described in A2, the adjusting of the reverse sorting result comprises:

[0116] If the display content of a sub-display area includes: a first expression and a second expression thereafter, the display content of the sub-display area is adjusted so that the adjusted display content includes: a second expression, or no more than N first expressions.

[0117] A4. The method according to A3, wherein adjusting the display content of the one sub-display area comprises:

[0118] Replace the second expression in the display content of the one sub-display area with the first expression at a later position; or

[0119] The first expression in the display content of the one sub-display area is moved to the next sub-display area.

[0120] A5. The method according to A2, wherein the adjusting the reverse sorting result comprises:

[0121] If the number of first expressions between two adjacent second expressions in the reverse sorting result is not equal to N, a first expression is added between two adjacent second expressions.

[0122] A6. According to any of the methods described in A1 to A5, if a sub-display area is located at the end of the first row, the display content of the sub-display area includes: (N-1) first expressions; or

[0123] If a sub-display area is not located at the end of the first row, the display content of the sub-display area includes: N first expressions.

[0124] A7. According to any method described in A1 to A5, if the historical operation data does not include the first expression and the historical operation data does not include the second expression, then displaying the preset first expression in the display area.

[0125] A8. A method according to any one of A1 to A5, wherein the method is used to display at least two expressions in a mixed manner.

[0126] The embodiment of the present invention discloses B9, an expression processing device, the device comprising:

[0127] A display position determination module, used to determine the display positions of the first expression and the second expression in the display area respectively according to the historical operation time respectively corresponding to the first expression and the second expression, the width respectively corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area includes: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas includes: one second expression, or no more than N first expressions;

[0128] The display module is used to display the first expression and the second expression in the display area according to the display positions corresponding to the first expression and the second expression respectively.

[0129] B10. According to the device described in B9, the display position determination module includes:

[0130] A reverse order sorting module, used to sort the first expression and the second expression in reverse order according to the historical operation time corresponding to the first expression and the second expression respectively, so as to obtain a reverse order sorting result;

[0131] The adjustment module is used to adjust the reverse sorting result according to the widths corresponding to the first expression and the second expression respectively, and the width corresponding to the display area, so as to obtain the display positions corresponding to the first expression and the second expression respectively in the display area.

[0132] B11. According to the device described in B10, the adjustment module includes:

[0133] The display content adjustment module is used to adjust the display content of a sub-display area if the display content of the sub-display area includes: a first expression and a second expression thereafter, so that the adjusted display content includes: a second expression, or no more than N first expressions.

[0134] B12. According to the device described in B11, the display content adjustment module includes:

[0135] A first display content adjustment module is used to replace the second expression in the display content of the one sub-display area with the first expression at a later position; or

[0136] The second display content adjustment module is used to move the first expression in the display content of the one sub-display area to the next sub-display area.

[0137] B13. According to the device described in B10, the adjustment module includes:

[0138] The supplementing module is used to supplement the first expression between two adjacent second expressions if the number of the first expressions between two adjacent second expressions in the reverse sorting result is not equal to N.

[0139] B14. According to any one of B9 to B13, if a sub-display area is located at the end of the first row, the display content of the sub-display area includes: (N-1) first expressions; or

[0140] If a sub-display area is not located at the end of the first row, the display content of the sub-display area includes: N first expressions.

[0141] B15. According to any one of the devices described in B9 to B13, if the historical operation data does not include the first expression and the historical operation data does not include the second expression, then displaying the preset first expression in the display area.

[0142] B16. A device according to any one of B9 to B13, wherein the device is used to display at least two expressions in a mixed manner.

[0143] The embodiment of the present invention discloses C17, 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:

[0144] Determine the display positions of the first expression and the second expression in the display area respectively according to the historical operation time respectively corresponding to the first expression and the second expression, the width respectively corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area includes: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas includes: one second expression, or no more than N first expressions;

[0145] The first expression and the second expression are displayed in the display area according to the display positions corresponding to the first expression and the second expression respectively.

[0146] C18. According to the apparatus of C17, the determining of the display positions of the first expression and the second expression respectively corresponding to each other in the display area comprises:

[0147] According to the historical operation times corresponding to the first expression and the second expression respectively, the first expression and the second expression are sorted in reverse order to obtain a reverse order result;

[0148] The reverse sorting result is adjusted according to the widths corresponding to the first expression and the second expression, respectively, and the width corresponding to the display area, so as to obtain the display positions corresponding to the first expression and the second expression in the display area, respectively.

[0149] C19. According to the device described in C18, the adjusting the reverse sorting result comprises:

[0150] If the display content of a sub-display area includes: a first expression and a second expression thereafter, the display content of the sub-display area is adjusted so that the adjusted display content includes: a second expression, or no more than N first expressions.

[0151] C20. According to the apparatus of C19, the adjusting the display content of the one sub-display area comprises:

[0152] Replace the second expression in the display content of the one sub-display area with the first expression at a later position; or

[0153] The first expression in the display content of the one sub-display area is moved to the next sub-display area.

[0154] C21. According to the device described in C18, the adjusting the reverse sorting result comprises:

[0155] If the number of first expressions between two adjacent second expressions in the reverse sorting result is not equal to N, a first expression is added between two adjacent second expressions.

[0156] C22. According to any one of C17 to C21, if a sub-display area is located at the end of the first row, the display content of the sub-display area includes: (N-1) first expressions; or

[0157] If a sub-display area is not located at the end of the first row, the display content of the sub-display area includes: N first expressions.

[0158] C23. According to any one of the devices described in C17 to C21, if the historical operation data does not include the first expression and the historical operation data does not include the second expression, then displaying a preset first expression in the display area.

[0159] C24. A device according to any one of C17 to C21, wherein the device is used to display at least two expressions in a mixed manner.

[0160] The embodiment of the present invention discloses D25, 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 A9.

[0161] 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.

[0162] 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.

[0163] 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.

[0164] 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, characterized in that: The method comprises: Determine the display positions of the first expression and the second expression in the display area respectively according to the historical operation time respectively corresponding to the first expression and the second expression, the width respectively corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area includes: a plurality of independent sub-display areas, the width of one sub-display area matches the width of the second expression, and the display content of one sub-display area includes: a second expression, or no more than N first expressions; blank areas are set between adjacent sub-display areas in a row, and the blank areas between the sub-display areas are aligned and displayed; The first expression and the second expression are displayed in the display area according to their respective corresponding display positions; wherein, if a sub-display area is located at the end of the first row, the display content of the sub-display area includes: (N-1) first expressions and display function controls; the (N-1) first expressions are located on the left side of the sub-display area, and the display function controls are located on the right side of the sub-display area.

2. The method according to claim 1, characterized in that The determining of the display positions of the first expression and the second expression respectively corresponding to each other in the display area includes: According to the historical operation times corresponding to the first expression and the second expression respectively, the first expression and the second expression are sorted in reverse order to obtain a reverse order result; The reverse sorting result is adjusted according to the widths corresponding to the first expression and the second expression, respectively, and the width corresponding to the display area, so as to obtain the display positions corresponding to the first expression and the second expression in the display area, respectively.

3. The method according to claim 2, characterized in that The adjusting the reverse sorting result includes: If the display content of a sub-display area includes: a first expression and a second expression thereafter, the display content of the sub-display area is adjusted so that the adjusted display content includes: a second expression, or no more than N first expressions.

4. The method according to claim 3, characterized in that The adjusting the display content of the one sub-display area includes: Replace the second expression in the display content of the one sub-display area with the first expression at a later position; or The first expression in the display content of the one sub-display area is moved to the next sub-display area.

5. The method according to claim 2, characterized in that: The adjusting the reverse sorting result includes: If the number of first expressions between two adjacent second expressions in the reverse sorting result is not equal to N, a first expression is added between two adjacent second expressions.

6. The method according to any one of claims 1 to 5, characterized in that: If a sub-display area is not located at the end of the first row, the display content of the sub-display area includes: N first expressions.

7. The method according to any one of claims 1 to 5, characterized in that: If the historical operation data does not include the first expression, and the historical operation data does not include the second expression, the preset first expression is displayed in the display area.

8. The method according to any one of claims 1 to 5, characterized in that: The method is used to display at least two expressions in a mixed manner.

9. An expression processing device, characterized in that: The device comprises: A display position determination module, used to determine the display positions of the first expression and the second expression in the display area, respectively, according to the historical operation time corresponding to the first expression and the second expression, respectively, the width corresponding to the first expression and the second expression, and the width corresponding to the display area; wherein the width of the second expression is equal to N times the width of the first expression, and N is a natural number greater than 1; the row of the display area includes: a plurality of independent sub-display areas, the width of one of the sub-display areas matches the width of the second expression, and the display content of one of the sub-display areas includes: a second expression, or no more than N first expressions; blank areas are set between adjacent sub-display areas in a row, and the blank areas between the sub-display areas are aligned for display; A display module, used for displaying the first expression and the second expression in the display area according to the display positions corresponding to the first expression and the second expression respectively; wherein, if a sub-display area is located at the end of the first row, the display content of the sub-display area includes: (N-1) first expressions and display function controls; the (N-1) first expressions are located on the left side of the sub-display area, and the display function controls are located on the right side of the sub-display area.

10. The device according to claim 9, characterized in that The placement location determination module includes: A reverse order sorting module, used to sort the first expression and the second expression in reverse order according to the historical operation time corresponding to the first expression and the second expression respectively, so as to obtain a reverse order sorting result; The adjustment module is used to adjust the reverse sorting result according to the widths corresponding to the first expression and the second expression respectively, and the width corresponding to the display area, so as to obtain the display positions corresponding to the first expression and the second expression respectively in the display area.

11. The device according to claim 10, characterized in that The adjustment module comprises: The display content adjustment module is used to adjust the display content of a sub-display area if the display content of the sub-display area includes: a first expression and a second expression thereafter, so that the adjusted display content includes: a second expression, or no more than N first expressions.

12. The device according to claim 11, characterized in that The display content adjustment module includes: A first display content adjustment module is used to replace the second expression in the display content of the one sub-display area with the first expression at a later position; or The second display content adjustment module is used to move the first expression in the display content of the one sub-display area to the next sub-display area.

13. The device according to claim 10, characterized in that The adjustment module comprises: The supplementing module is used to supplement the first expression between two adjacent second expressions if the number of the first expressions between two adjacent second expressions in the reverse sorting result is not equal to N.

14. The device according to any one of claims 9 to 13, characterized in that If a sub-display area is not located at the end of the first row, the display content of the sub-display area includes: N first expressions.

15. The device according to any one of claims 9 to 13, characterized in that If the historical operation data does not include the first expression, and the historical operation data does not include the second expression, the preset first expression is displayed in the display area.

16. The device according to any one of claims 9 to 13, characterized in that The device is used for mixed display of at least two expressions.

17. A device for expression processing, 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 according to any one of claims 1 to 8 are implemented.

18. One or more machine-readable media having instructions stored thereon, which, when executed by one or more processors, cause a device to perform the expression processing method as claimed in one or more of claims 1 to 8.